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