1 |
commit: faf8c980546aa2e09a6ab65da79cd06b1cd1df8f |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 31 12:02:22 2019 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 31 12:02:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf8c980 |
7 |
|
8 |
app-text/cb2bib: version bump 2.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
12 |
|
13 |
app-text/cb2bib/Manifest | 1 + |
14 |
app-text/cb2bib/cb2bib-2.0.0.ebuild | 69 +++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 70 insertions(+) |
16 |
|
17 |
diff --git a/app-text/cb2bib/Manifest b/app-text/cb2bib/Manifest |
18 |
index 87c0323c3ee..026a0095126 100644 |
19 |
--- a/app-text/cb2bib/Manifest |
20 |
+++ b/app-text/cb2bib/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST cb2bib-1.9.8.tar.gz 1180660 BLAKE2B 86a826a9285ecd5ecd266b3935ddfa330153cba4b28f378519b464719d5a2bcaa6043470d36ba5c443202a07a18bbaeb28c3371db07063f0d682b54d2a8fe373 SHA512 717f9b4de3e261e6d22a7e514e2ec5891723572f1624280edc8a980171f4dada6e177a3e95748fc39ff0ba1c137406e38dd14f43a0f1e0995c1f39992842f38a |
23 |
DIST cb2bib-1.9.9.tar.gz 1292720 BLAKE2B 7263d09ab077d1029129b81abbf7a745405d476776ab91d4b73dc9799b3d945e46283fe565fee32b08df7a8734c027cbeacf0e7a44c4e15efaa6c992c69f9b7a SHA512 66e81ea8d86cdf374c9e1109d26e02c0b3101608e751ab6bbded76cca42eb8c2c1d43f6a993b9003b6013d815683f644bff7513ce63dc750ffa8d608cccb49b3 |
24 |
+DIST cb2bib-2.0.0.tar.gz 1337422 BLAKE2B 6b1137c162f69f6d875aa3ae73b5995a067b332b3a7c0a5e69b787f352810768559c227c793204ca40ec594667624d329b5202c28056bca2e13110afebe57f63 SHA512 de1f3a36b98e016c5fa7317ba3fa8c5b767bd4b37bad1318298a57999bead4cc70d18ac49bb87fde57c4379f3347988846a7aa9b88e23a381d6c193bb1354cc2 |
25 |
|
26 |
diff --git a/app-text/cb2bib/cb2bib-2.0.0.ebuild b/app-text/cb2bib/cb2bib-2.0.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..966c0a15b77 |
29 |
--- /dev/null |
30 |
+++ b/app-text/cb2bib/cb2bib-2.0.0.ebuild |
31 |
@@ -0,0 +1,69 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit qmake-utils xdg-utils |
38 |
+ |
39 |
+DESCRIPTION="Tool for extracting unformatted bibliographic references" |
40 |
+HOMEPAGE="https://www.molspaces.com/cb2bib/" |
41 |
+SRC_URI="https://www.molspaces.com/dl/progs/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="+lzo webengine +webkit" |
47 |
+ |
48 |
+REQUIRED_USE="?? ( webkit webengine )" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ dev-qt/qtcore:5 |
52 |
+ dev-qt/qtgui:5 |
53 |
+ dev-qt/qtnetwork:5 |
54 |
+ dev-qt/qtwidgets:5 |
55 |
+ lzo? ( dev-libs/lzo:2 ) |
56 |
+ webengine? ( dev-qt/qtwebengine:5[widgets] ) |
57 |
+ webkit? ( dev-qt/qtwebkit:5 ) |
58 |
+" |
59 |
+RDEPEND="${DEPEND}" |
60 |
+ |
61 |
+DOCS=( AUTHORS CHANGELOG COPYRIGHT ) |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ |
66 |
+ sed -i -e "s|../AUTHORS ../COPYRIGHT ../LICENSE ../CHANGELOG||" src/src.pro || die |
67 |
+ |
68 |
+ use webengine || sed -i -e "s/qtHaveModule(webenginewidgets)/false/g" src/src.pro || die |
69 |
+ use webkit || sed -i -e "s/qtHaveModule(webkitwidgets)/false/g" src/src.pro || die |
70 |
+} |
71 |
+ |
72 |
+src_configure() { |
73 |
+ eqmake5 \ |
74 |
+ $(use !lzo && echo -config disable_lzo) |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ emake INSTALL_ROOT="${D}" install |
79 |
+ einstalldocs |
80 |
+} |
81 |
+ |
82 |
+pkg_postinst() { |
83 |
+ elog "For best functionality, emerge the following packages:" |
84 |
+ elog " app-text/poppler[utils] - for data import from PDF files" |
85 |
+ elog " app-text/dvipdfm - for data import from DVI files" |
86 |
+ elog " app-text/bibutils - for data import from ISI, endnote format" |
87 |
+ elog " media-fonts/jsmath - for displaying mathematical notation" |
88 |
+ elog " media-libs/exiftool - for proper UTF-8 metadata writing in PDF" |
89 |
+ elog " text strings" |
90 |
+ elog " virtual/latex-base - to check for BibTeX file correctness and to get" |
91 |
+ elog " nice printing through the shell script bib2pdf" |
92 |
+} |
93 |
+ |
94 |
+pkg_postinst() { |
95 |
+ xdg_desktop_database_update |
96 |
+} |
97 |
+ |
98 |
+pkg_postrm() { |
99 |
+ xdg_desktop_database_update |
100 |
+} |