sci-libs/indilib: 1.8.5 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 27 May 2020 22:06:06 +0000 (00:06 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 27 May 2020 22:10:04 +0000 (00:10 +0200)
Closes: https://bugs.gentoo.org/725258
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sci-libs/indilib/Manifest
sci-libs/indilib/indilib-1.8.5.ebuild [new file with mode: 0644]

index 5a9329547696b7f71e074d0d347c467cc827ef68..a808fdf99a4b39e9a04e244583043a581d8442cd 100644 (file)
@@ -1,3 +1,4 @@
 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
+DIST indilib-1.8.5.tar.gz 2122866 BLAKE2B 203b6c78664aaf3f87b7f697b76544e6ed0fa6db8ac0fe43e6ebcf00de404e96a49b8cd7f8b0be2e4ff5c7f902b3e34177a244a4a49069887f11d28aea073620 SHA512 4c583f7ff0d96d787c7d035e23074f42db3f836ec74a0a7a1595574ae2d32d56234b16abddabacaf9bd5a10cb88c6c37994aafcef86d65a665b2bceae87446f9
diff --git a/sci-libs/indilib/indilib-1.8.5.ebuild b/sci-libs/indilib/indilib-1.8.5.ebuild
new file mode 100644 (file)
index 0000000..c0ffca0
--- /dev/null
@@ -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
+}