1 |
commit: 06f859cbe85c7d020af20631e4da8d6a6750acda |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 31 22:27:37 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 1 07:55:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f859cb |
7 |
|
8 |
sci-libs/indilib: Fix udev rules install path |
9 |
|
10 |
Thanks-to: James Bates <james.h.bates <AT> gmail.com> |
11 |
Closes: https://bugs.gentoo.org/703952 |
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
sci-libs/indilib/indilib-1.8.2-r2.ebuild | 56 ++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 56 insertions(+) |
17 |
|
18 |
diff --git a/sci-libs/indilib/indilib-1.8.2-r2.ebuild b/sci-libs/indilib/indilib-1.8.2-r2.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..f8b0dd3086f |
21 |
--- /dev/null |
22 |
+++ b/sci-libs/indilib/indilib-1.8.2-r2.ebuild |
23 |
@@ -0,0 +1,56 @@ |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+inherit cmake udev |
30 |
+ |
31 |
+DESCRIPTION="INDI Astronomical Control Protocol library" |
32 |
+HOMEPAGE="https://www.indilib.org/" |
33 |
+SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" |
36 |
+SLOT="0/1" |
37 |
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86" |
38 |
+IUSE="ogg test websocket" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ net-misc/curl |
42 |
+ sci-libs/cfitsio:= |
43 |
+ sci-libs/fftw:3.0= |
44 |
+ sci-libs/gsl:= |
45 |
+ sci-libs/libnova:= |
46 |
+ sys-libs/zlib |
47 |
+ virtual/jpeg:0 |
48 |
+ virtual/libusb:0 |
49 |
+ ogg? ( |
50 |
+ media-libs/libogg |
51 |
+ media-libs/libtheora |
52 |
+ ) |
53 |
+ websocket? ( dev-libs/boost:= ) |
54 |
+" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ kernel_linux? ( sys-kernel/linux-headers ) |
57 |
+ test? ( >=dev-cpp/gtest-1.8.0 ) |
58 |
+ websocket? ( dev-cpp/websocketpp ) |
59 |
+" |
60 |
+ |
61 |
+RESTRICT="!test? ( test )" |
62 |
+ |
63 |
+S="${WORKDIR}/${P/lib/}" |
64 |
+ |
65 |
+src_configure() { |
66 |
+ local mycmakeargs=( |
67 |
+ -DINDI_BUILD_QT5_CLIENT=OFF |
68 |
+ -DINDI_BUILD_UNITTESTS=$(usex test) |
69 |
+ -DUDEVRULES_INSTALL_DIR="$(get_udevdir)"/rules.d |
70 |
+ $(cmake_use_find_package ogg OggTheora) |
71 |
+ -DINDI_BUILD_WEBSOCKET=$(usex websocket) |
72 |
+ ) |
73 |
+ |
74 |
+ cmake_src_configure |
75 |
+} |
76 |
+ |
77 |
+src_test() { |
78 |
+ BUILD_DIR="${BUILD_DIR}"/test cmake_src_test |
79 |
+} |