sci-libs/indilib: 1.8.2 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 20 Nov 2019 19:58:22 +0000 (20:58 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 20 Nov 2019 20:36:14 +0000 (21:36 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sci-libs/indilib/Manifest
sci-libs/indilib/indilib-1.8.2.ebuild [new file with mode: 0644]

index 9fcefbeb95c6c3547ea5eddc4c16082601fc9e37..0c4a26a81d2ec7dbbc4b191b995cb04ff0399796 100644 (file)
@@ -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 (file)
index 0000000..ca217da
--- /dev/null
@@ -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
+}