summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 16:22:09 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-19 16:42:46 +0100
commit55ed4ef2d4a976711b3422c1909a78047791e9a8 (patch)
treea147b8b632cbeba32e32fe543afe900ab38b230c /sci-libs
parentdev-libs/flatbuffers: 1.12.0 version bump (diff)
downloadgentoo-55ed4ef2d4a976711b3422c1909a78047791e9a8.tar.gz
gentoo-55ed4ef2d4a976711b3422c1909a78047791e9a8.tar.bz2
gentoo-55ed4ef2d4a976711b3422c1909a78047791e9a8.zip
sci-libs/indilib: 1.8.4 version bump
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/indilib/Manifest1
-rw-r--r--sci-libs/indilib/indilib-1.8.4.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest
index 3bfe07e7dd1b..5a9329547696 100644
--- a/sci-libs/indilib/Manifest
+++ b/sci-libs/indilib/Manifest
@@ -1,2 +1,3 @@
DIST indilib-1.7.5.tar.xz 1380436 BLAKE2B 092f4100894218bf749ee0d7c910c4ee20026cf471f4f65686b67dd37a924b448b6de3733e70d7047dca6a77fd8ae26b9a568f8249336be78d052984838a2ccf SHA512 57205ed9ea9d8e8215886b17d9f0307755bca571d599967dc607320fad5ec62096f31526280f3b184ffeb0434d9adb71e65a7d6f89d29edaa643d729765f47a8
DIST indilib-1.8.3.tar.gz 2062250 BLAKE2B f46b557dfbbe16070605ad638111505577b801ac6abc2cf42df3a322eaec35a25e6f8efe3ea740b5758b3aeadd656efb4b98e284d531621ab34ca00f28e39a2e SHA512 09c23299659efea795ec430566a5b51181878c382c72f1e530ef3abe3b996b670506f6f5f1bca4eb88fbdc756854c3a36d8bd646a2cf13e397e09ace1f1af044
+DIST indilib-1.8.4.tar.gz 2097437 BLAKE2B d5c6d14032c073c24bc4357dad5bb88fe08b76554878cabc5afaae41ff58165e7f2b57cf972207b47b2003e53eafb73f15925548912e72f590c0647b4a960a9a SHA512 32b5b21e3a5e797fd203abccaca4ca259fb74dcc6b7695e67c55b1d614b562aa2ec735afeb9bfb0e159099def6fb8160023e0dbef45fa61a1a04bab86c99998d
diff --git a/sci-libs/indilib/indilib-1.8.4.ebuild b/sci-libs/indilib/indilib-1.8.4.ebuild
new file mode 100644
index 000000000000..c0ffca05006a
--- /dev/null
+++ b/sci-libs/indilib/indilib-1.8.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake udev
+
+DESCRIPTION="INDI Astronomical Control Protocol library"
+HOMEPAGE="https://www.indilib.org/"
+SRC_URI="https://github.com/${PN}/${PN/lib/}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+"
+SLOT="0/1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="ogg test websocket"
+
+RDEPEND="
+ net-misc/curl
+ sci-libs/cfitsio:=
+ sci-libs/fftw:3.0=
+ sci-libs/gsl:=
+ sci-libs/libnova:=
+ sys-libs/zlib
+ virtual/jpeg:0
+ virtual/libusb:0
+ ogg? (
+ media-libs/libogg
+ media-libs/libtheora
+ )
+ websocket? ( dev-libs/boost:= )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? ( sys-kernel/linux-headers )
+ test? ( >=dev-cpp/gtest-1.8.0 )
+ websocket? ( dev-cpp/websocketpp )
+"
+
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/${P/lib/}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DINDI_BUILD_QT5_CLIENT=OFF
+ -DINDI_BUILD_UNITTESTS=$(usex test)
+ -DUDEVRULES_INSTALL_DIR="$(get_udevdir)"/rules.d
+ $(cmake_use_find_package ogg OggTheora)
+ -DINDI_BUILD_WEBSOCKET=$(usex websocket)
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ BUILD_DIR="${BUILD_DIR}"/test cmake_src_test
+}