1 |
commit: 2c17ddee95f39dff9c66522803e2dc566d978515 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 26 20:55:26 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 26 21:01:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c17ddee |
7 |
|
8 |
sci-libs/indilib: add 1.9.2 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sci-libs/indilib/Manifest | 1 + |
13 |
sci-libs/indilib/indilib-1.9.2.ebuild | 57 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest |
17 |
index bcdca55e19c..7ba7dfd7f4c 100644 |
18 |
--- a/sci-libs/indilib/Manifest |
19 |
+++ b/sci-libs/indilib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST indilib-1.9.1.tar.gz 2322783 BLAKE2B 801071bf9190e4c27b4f3bf9fa2d9a44c4e297f7ee879061636f041d138a02db23525ee411782f3303a0d82bb2fc4d9d6489e2bda18f8e011bfa0d1b33595343 SHA512 d87c341efdaa8109059741738c69b9d6fb4b5dc68c774453eab378aa3784af29e8ed8469dba968a41c584fec1556fdbf0bd65cbb8aa65c2d9e1784d82e7bcc67 |
22 |
+DIST indilib-1.9.2.tar.gz 2335834 BLAKE2B 47d8bde8e3c783cefb23c8a8f865fa46bb9a6ed4ee08618d198680f3036e9ca9a16178b1ec4dab070d0cb3ec8d638847cedb752a2a5a1d5e2dc5ddbd362c0a86 SHA512 0a1ada5b5880553ddbcf794bac952ddce76d3aa46652c48621e284a04a7d3d9ba7492d8874bf30f7e3f614a904a829109eaee9dae53dd5854d72bb1c98740f44 |
23 |
|
24 |
diff --git a/sci-libs/indilib/indilib-1.9.2.ebuild b/sci-libs/indilib/indilib-1.9.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..7bc78575bc2 |
27 |
--- /dev/null |
28 |
+++ b/sci-libs/indilib/indilib-1.9.2.ebuild |
29 |
@@ -0,0 +1,57 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit cmake udev |
36 |
+ |
37 |
+DESCRIPTION="INDI Astronomical Control Protocol library" |
38 |
+HOMEPAGE="https://www.indilib.org/" |
39 |
+SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+S="${WORKDIR}/${P/lib/}" |
41 |
+ |
42 |
+LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" |
43 |
+SLOT="0/1" |
44 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
45 |
+IUSE="ogg rtlsdr test websocket" |
46 |
+ |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ net-misc/curl |
51 |
+ sci-libs/cfitsio:= |
52 |
+ sci-libs/fftw:3.0= |
53 |
+ sci-libs/gsl:= |
54 |
+ sci-libs/libnova:= |
55 |
+ sys-libs/zlib |
56 |
+ virtual/jpeg:0 |
57 |
+ virtual/libusb:0 |
58 |
+ ogg? ( |
59 |
+ media-libs/libogg |
60 |
+ media-libs/libtheora |
61 |
+ ) |
62 |
+ rtlsdr? ( net-wireless/rtl-sdr ) |
63 |
+ websocket? ( dev-libs/boost:= ) |
64 |
+" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ kernel_linux? ( sys-kernel/linux-headers ) |
67 |
+ test? ( >=dev-cpp/gtest-1.8.0 ) |
68 |
+ websocket? ( dev-cpp/websocketpp ) |
69 |
+" |
70 |
+ |
71 |
+src_configure() { |
72 |
+ local mycmakeargs=( |
73 |
+ -DINDI_BUILD_QT5_CLIENT=OFF |
74 |
+ -DUDEVRULES_INSTALL_DIR="${EPREFIX}$(get_udevdir)"/rules.d |
75 |
+ $(cmake_use_find_package ogg OggTheora) |
76 |
+ $(cmake_use_find_package rtlsdr RTLSDR) |
77 |
+ -DINDI_BUILD_UNITTESTS=$(usex test) |
78 |
+ -DINDI_BUILD_WEBSOCKET=$(usex websocket) |
79 |
+ ) |
80 |
+ |
81 |
+ cmake_src_configure |
82 |
+} |
83 |
+ |
84 |
+src_test() { |
85 |
+ BUILD_DIR="${BUILD_DIR}"/test cmake_src_test |
86 |
+} |