1 |
commit: 70e54e5cb41aa1e47a661350b9590802d6f88525 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 20:56:48 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 20:56:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e54e5c |
7 |
|
8 |
sci-libs/xylib: Version bump to 1.6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/723326 |
11 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
sci-libs/xylib/Manifest | 1 + |
15 |
sci-libs/xylib/xylib-1.6.ebuild | 42 +++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/xylib/Manifest b/sci-libs/xylib/Manifest |
19 |
index 63c79c4b23a..6e87010ef9c 100644 |
20 |
--- a/sci-libs/xylib/Manifest |
21 |
+++ b/sci-libs/xylib/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST xylib-1.2.tar.bz2 297167 BLAKE2B f30a397aea282626b2e5ea93053571ed6d617b4fdeff468751fed9c9f538595854c948d0f50656ce22dbadfe4ff99a59dc4a5fb70686e78c084bbe1db1c9c11a SHA512 16eaa4b37014914c75ca3d0188aaf236c342887c03e233a9bb770412b3bb16da6779ab82c8acd66677d98ada75537c77d1abad723defd33dbe6eda78c6c88b91 |
24 |
+DIST xylib-1.6.tar.bz2 370765 BLAKE2B 76eb968f06a6a015ed7a29a493d888642767cda103733498b8706c973498aa4ac8576716b06f6eae8d95a1f625e9cd91ab02cfd53146d976e32fc9295f3c502f SHA512 9861cbf03f8b921a93a2d32a529ff94d77723e2510cd61096b4b85f91af4be6330ed82e8da94bc45dbca7f9814077360d1dae204315b28c2b6d85e3d2c7f6696 |
25 |
|
26 |
diff --git a/sci-libs/xylib/xylib-1.6.ebuild b/sci-libs/xylib/xylib-1.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..49e226d2694 |
29 |
--- /dev/null |
30 |
+++ b/sci-libs/xylib/xylib-1.6.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+WX_GTK_VER=3.0-gtk3 |
38 |
+ |
39 |
+inherit wxwidgets |
40 |
+ |
41 |
+DESCRIPTION="Experimental x-y data reading library" |
42 |
+HOMEPAGE="https://github.com/wojdyr/xylib" |
43 |
+SRC_URI="https://github.com/wojdyr/xylib/releases/download/v${PV}/${P}.tar.bz2" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
48 |
+IUSE="bzip2 gui zlib" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ bzip2? ( app-arch/bzip2 ) |
52 |
+ gui? ( x11-libs/wxGTK:${WX_GTK_VER} ) |
53 |
+ zlib? ( sys-libs/zlib )" |
54 |
+DEPEND=" |
55 |
+ ${RDEPEND} |
56 |
+ dev-libs/boost" |
57 |
+ |
58 |
+src_configure() { |
59 |
+ use gui && setup-wxwidgets |
60 |
+ |
61 |
+ econf \ |
62 |
+ --disable-static \ |
63 |
+ $(use_with bzip2 bzlib) \ |
64 |
+ $(use_with gui) \ |
65 |
+ $(use_with zlib) |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ default |
70 |
+ |
71 |
+ # no static archives |
72 |
+ find "${ED}" -name '*.la' -delete || die |
73 |
+} |