diff options
author | Michael Palimaka <kensington@gentoo.org> | 2018-11-09 00:45:00 +1100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2018-11-09 00:45:10 +1100 |
commit | d17671591526bde83b7bf955928125289d480606 (patch) | |
tree | b5f28d38949d215531faa932a2f4776eecef0d4e | |
parent | media-gfx/phototonic: remove 2.0 (diff) | |
download | gentoo-d17671591526bde83b7bf955928125289d480606.tar.gz gentoo-d17671591526bde83b7bf955928125289d480606.tar.bz2 gentoo-d17671591526bde83b7bf955928125289d480606.zip |
app-text/cb2bib: version bump 1.9.9
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
-rw-r--r-- | app-text/cb2bib/Manifest | 1 | ||||
-rw-r--r-- | app-text/cb2bib/cb2bib-1.9.9.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-text/cb2bib/Manifest b/app-text/cb2bib/Manifest index 38be98b53e92..87c0323c3ee6 100644 --- a/app-text/cb2bib/Manifest +++ b/app-text/cb2bib/Manifest @@ -1 +1,2 @@ DIST cb2bib-1.9.8.tar.gz 1180660 BLAKE2B 86a826a9285ecd5ecd266b3935ddfa330153cba4b28f378519b464719d5a2bcaa6043470d36ba5c443202a07a18bbaeb28c3371db07063f0d682b54d2a8fe373 SHA512 717f9b4de3e261e6d22a7e514e2ec5891723572f1624280edc8a980171f4dada6e177a3e95748fc39ff0ba1c137406e38dd14f43a0f1e0995c1f39992842f38a +DIST cb2bib-1.9.9.tar.gz 1292720 BLAKE2B 7263d09ab077d1029129b81abbf7a745405d476776ab91d4b73dc9799b3d945e46283fe565fee32b08df7a8734c027cbeacf0e7a44c4e15efaa6c992c69f9b7a SHA512 66e81ea8d86cdf374c9e1109d26e02c0b3101608e751ab6bbded76cca42eb8c2c1d43f6a993b9003b6013d815683f644bff7513ce63dc750ffa8d608cccb49b3 diff --git a/app-text/cb2bib/cb2bib-1.9.9.ebuild b/app-text/cb2bib/cb2bib-1.9.9.ebuild new file mode 100644 index 000000000000..1a3068c56e88 --- /dev/null +++ b/app-text/cb2bib/cb2bib-1.9.9.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Authors +# 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" +} |