summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-20 20:58:22 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-20 21:36:14 +0100
commit055dae1e52a49ace8c145c7bca85a963619df06c (patch)
tree4277faf48c2928686299a56943bbd91b348a777b /sci-libs/indilib
parentsci-libs/libnova: 0.16.0 version bump (diff)
downloadgentoo-055dae1e52a49ace8c145c7bca85a963619df06c.tar.gz
gentoo-055dae1e52a49ace8c145c7bca85a963619df06c.tar.bz2
gentoo-055dae1e52a49ace8c145c7bca85a963619df06c.zip
sci-libs/indilib: 1.8.2 version bump
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/indilib')
-rw-r--r--sci-libs/indilib/Manifest1
-rw-r--r--sci-libs/indilib/indilib-1.8.2.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest
index 9fcefbeb95c6..0c4a26a81d2e 100644
--- a/sci-libs/indilib/Manifest
+++ b/sci-libs/indilib/Manifest
@@ -1 +1,2 @@
DIST indilib-1.7.5.tar.xz 1380436 BLAKE2B 092f4100894218bf749ee0d7c910c4ee20026cf471f4f65686b67dd37a924b448b6de3733e70d7047dca6a77fd8ae26b9a568f8249336be78d052984838a2ccf SHA512 57205ed9ea9d8e8215886b17d9f0307755bca571d599967dc607320fad5ec62096f31526280f3b184ffeb0434d9adb71e65a7d6f89d29edaa643d729765f47a8
+DIST indilib-1.8.2.tar.gz 2049051 BLAKE2B 66f85d84bf4e1eae003cb13d8b400055590763d807e880f2375f33064bbeebdd7a47a3c6f1f8dc154e7d82d3424b71883b9ffe2d7853a2feb9b498107387f6ae SHA512 066a7a7b7ffba33fba1435e6a9bd7be5e26f07023438b7c196a6fd865e6d3efe76ec32329962c16fc52e42ecc96dd9e7b9feb77858139faa1d7c32716f4a1a23
diff --git a/sci-libs/indilib/indilib-1.8.2.ebuild b/sci-libs/indilib/indilib-1.8.2.ebuild
new file mode 100644
index 000000000000..ca217dacc3d4
--- /dev/null
+++ b/sci-libs/indilib/indilib-1.8.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils 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"
+
+RDEPEND="
+ net-misc/curl
+ sci-libs/cfitsio:=
+ sci-libs/gsl:=
+ sci-libs/libnova:=
+ sys-libs/zlib
+ virtual/jpeg:0
+ virtual/libusb:0
+ ogg? (
+ media-libs/libogg
+ media-libs/libtheora
+ )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? ( sys-kernel/linux-headers )
+ test? ( >=dev-cpp/gtest-1.8.0 )
+"
+
+S="${WORKDIR}/${P/lib/}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DINDI_BUILD_QT5_CLIENT=OFF
+ -DINDI_BUILD_UNITTESTS=$(usex test)
+ -DUDEVRULES_INSTALL_DIR="$(get_udevdir)"
+ $(cmake-utils_use_find_package ogg OggTheora)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_test() {
+ BUILD_DIR="${BUILD_DIR}"/test cmake-utils_src_test
+}