1 |
commit: 96b378c5bacc2fb61b647a18f65b73bd3d313d2d |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 30 19:09:50 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 30 19:11:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96b378c5 |
7 |
|
8 |
dev-libs/liborcus: 0.15.4 version bump |
9 |
|
10 |
Thanks-to: andy <hedmoo <AT> yahoo.com> |
11 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
dev-libs/liborcus/Manifest | 1 + |
15 |
dev-libs/liborcus/liborcus-0.15.4.ebuild | 59 ++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 60 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/liborcus/Manifest b/dev-libs/liborcus/Manifest |
19 |
index a5b0fbb5526..cf22a53a4ed 100644 |
20 |
--- a/dev-libs/liborcus/Manifest |
21 |
+++ b/dev-libs/liborcus/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST liborcus-0.14.1.tar.xz 1894680 BLAKE2B 0070baf319bf35275f36f3082141f154404ad43d8143588b35c00b8b536f0c1cf5bf38fd9e997c4be45a454f16de1cc1a25186da40e3ed0606a87e9a6a968053 SHA512 a32dc5a652ce99cff37273c38fb9460e13e7bfb562f40c8d0c79b65c33e340daaeeb2c796308ca700b85bfc13cc8215641563b9e9f6d44b7d61adb8e8a3c950f |
24 |
DIST liborcus-0.15.3.tar.xz 1988748 BLAKE2B c011b7dabd1743e0f47518dbc900cd00fba046c7ad178d60116103307565bfe5ea6759752706715fe0ece4d31575b3453c193c1a5e92f8f9a4475e252d4564ae SHA512 bb5495a64ac5f984e107feb36dfe5c801d2ce7e2fcbee8f8bc779d87001e1fcb1d1f70ee2695eb976f1553c59908a15f887ceeb7ccfc556d4476ea846c5036f2 |
25 |
+DIST liborcus-0.15.4.tar.xz 1590048 BLAKE2B b2edff8a00439154c2850e49fff151f59c0c5a43163cebe5cac84b627fcf87c89a0a522797d8a5bc39eaca9205d74ff3f0bdf9ba77561c5cc7aefe98f35a4c8b SHA512 edbe1d6f86a249e43915e7fb960e6b269fa8703e3f571a023e811dd3f9b5d9c9a36edff491faa7ed7ea3490bf5afe1999e26d05c658a0a393b3ffd08b311b76f |
26 |
|
27 |
diff --git a/dev-libs/liborcus/liborcus-0.15.4.ebuild b/dev-libs/liborcus/liborcus-0.15.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..91bbf3019d2 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/liborcus/liborcus-0.15.4.ebuild |
32 |
@@ -0,0 +1,59 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
39 |
+inherit python-single-r1 |
40 |
+ |
41 |
+DESCRIPTION="Standalone file import filter library for spreadsheet documents" |
42 |
+HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md" |
43 |
+ |
44 |
+if [[ ${PV} == *9999* ]]; then |
45 |
+ EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git" |
46 |
+ inherit git-r3 autotools |
47 |
+else |
48 |
+ SRC_URI="https://kohei.us/files/orcus/src/${P}.tar.xz" |
49 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0/0.15" # based on SONAME of liborcus.so |
54 |
+IUSE="python +spreadsheet-model static-libs tools" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ dev-libs/boost:=[zlib(+)] |
58 |
+ sys-libs/zlib |
59 |
+ python? ( ${PYTHON_DEPS} ) |
60 |
+ spreadsheet-model? ( >=dev-libs/libixion-0.15.0:= ) |
61 |
+" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ >=dev-util/mdds-1.5.0:1 |
64 |
+" |
65 |
+ |
66 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
67 |
+ |
68 |
+pkg_setup() { |
69 |
+ use python && python-single-r1_pkg_setup |
70 |
+} |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ default |
74 |
+ [[ ${PV} == *9999 ]] && eautoreconf |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ local myeconfargs=( |
79 |
+ --disable-werror |
80 |
+ $(use_enable python) |
81 |
+ $(use_enable spreadsheet-model) |
82 |
+ $(use_enable static-libs static) |
83 |
+ $(use_with tools) |
84 |
+ ) |
85 |
+ econf "${myeconfargs[@]}" |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ default |
90 |
+ find "${D}" -name '*.la' -type f -delete || die |
91 |
+} |