mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
app-text/cb2bib: Drop 1.9.8
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST cb2bib-1.9.8.tar.gz 1180660 BLAKE2B 86a826a9285ecd5ecd266b3935ddfa330153cba4b28f378519b464719d5a2bcaa6043470d36ba5c443202a07a18bbaeb28c3371db07063f0d682b54d2a8fe373 SHA512 717f9b4de3e261e6d22a7e514e2ec5891723572f1624280edc8a980171f4dada6e177a3e95748fc39ff0ba1c137406e38dd14f43a0f1e0995c1f39992842f38a
|
||||
DIST cb2bib-2.0.0.tar.gz 1337422 BLAKE2B 6b1137c162f69f6d875aa3ae73b5995a067b332b3a7c0a5e69b787f352810768559c227c793204ca40ec594667624d329b5202c28056bca2e13110afebe57f63 SHA512 de1f3a36b98e016c5fa7317ba3fa8c5b767bd4b37bad1318298a57999bead4cc70d18ac49bb87fde57c4379f3347988846a7aa9b88e23a381d6c193bb1354cc2
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Tool for extracting unformatted bibliographic references"
|
||||
HOMEPAGE="https://www.molspaces.com/cb2bib/"
|
||||
SRC_URI="https://www.molspaces.com/dl/progs/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+lzo webengine +webkit"
|
||||
|
||||
REQUIRED_USE="?? ( webkit webengine )"
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
lzo? ( dev-libs/lzo:2 )
|
||||
webengine? ( dev-qt/qtwebengine:5[widgets] )
|
||||
webkit? ( dev-qt/qtwebkit:5 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS CHANGELOG COPYRIGHT )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e "s|../AUTHORS ../COPYRIGHT ../LICENSE ../CHANGELOG||" src/src.pro || die
|
||||
|
||||
use webengine || sed -i -e "s/qtHaveModule(webenginewidgets)/false/g" src/src.pro || die
|
||||
use webkit || sed -i -e "s/qtHaveModule(webkitwidgets)/false/g" src/src.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
$(use !lzo && echo -config disable_lzo)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For best functionality, emerge the following packages:"
|
||||
elog " app-text/poppler[utils] - for data import from PDF files"
|
||||
elog " app-text/dvipdfm - for data import from DVI files"
|
||||
elog " app-text/bibutils - for data import from ISI, endnote format"
|
||||
elog " media-fonts/jsmath - for displaying mathematical notation"
|
||||
elog " media-libs/exiftool - for proper UTF-8 metadata writing in PDF"
|
||||
elog " text strings"
|
||||
elog " virtual/latex-base - to check for BibTeX file correctness and to get"
|
||||
elog " nice printing through the shell script bib2pdf"
|
||||
}
|
||||
Reference in New Issue
Block a user