diff options
Diffstat (limited to 'sci-libs/indilib')
-rw-r--r-- | sci-libs/indilib/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/indilib/indilib-1.7.5.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest index f032e4dbca33..5cd1ecfb7d97 100644 --- a/sci-libs/indilib/Manifest +++ b/sci-libs/indilib/Manifest @@ -1,3 +1,5 @@ DIST indilib-1.6.0.tar.gz 1726681 BLAKE2B fc746fe74b41467930f50f4aabe63d485372dc3f7e551bf8b91ec92694efc5a73a29495ee4931f84215a90afdd1deb3c12f87aaedc32d33e408114674e6d79ad SHA512 a086a63e15f5f6fb05a0d1569578f5fbd4d6ba6ff5a0aaff7bd475925d3858840753f1aa04e7429a22576f52432a19e93b781e821ea908db6b7352af85f30422 +DIST indilib-1.7.5.tar.xz 1380436 BLAKE2B 092f4100894218bf749ee0d7c910c4ee20026cf471f4f65686b67dd37a924b448b6de3733e70d7047dca6a77fd8ae26b9a568f8249336be78d052984838a2ccf SHA512 57205ed9ea9d8e8215886b17d9f0307755bca571d599967dc607320fad5ec62096f31526280f3b184ffeb0434d9adb71e65a7d6f89d29edaa643d729765f47a8 EBUILD indilib-1.6.0.ebuild 1105 BLAKE2B 8f5e21b13aea5f88309ea355abf526255c200a78b545e2992c774aefd28383bb5a14c07137f1370f820577c257e6304feed0e6be0912e69fe39fd7f2cf76b963 SHA512 42ca02a83d01913d99a786365166088a13bc0a41f49a99077f9d0acb58592f990124d753eaa21ff860deae33d438cacd591d7f6533cda7370b75f395e3e4750b +EBUILD indilib-1.7.5.ebuild 1095 BLAKE2B 58bb77a65f538027bf2f045a0e994085e83e253a655471efbd7fcc7e6e0ec1fe8106844596d80924625ee2897e35e9bf4a35b5c9f545a64879c3dbcc0aa734a0 SHA512 36bf75020736571a57df25c7871c6ac9f207b8dee10045d4ed59d39e1ee41751db549c772e87fff118e75d984ad629959db9a42146b75bfe776b15e1a8c69bcd MISC metadata.xml 375 BLAKE2B 68a9fc46a21fd5e530412d36468b96bbf409de646206ec8e36bf35fd39ec9193464100f5cc3398c1bfac01a947a70970ecf2d505a1932070ff6ca12dc3a9db1e SHA512 b5dc385e3823484e4fdc5974ace09edb4c19272c159e086cdc6968cafda528b27623c3696dbe42e5a869c3b9b9060dcf99466d5ac9961363de2f05fdcc523448 diff --git a/sci-libs/indilib/indilib-1.7.5.ebuild b/sci-libs/indilib/indilib-1.7.5.ebuild new file mode 100644 index 000000000000..ef516b5138a5 --- /dev/null +++ b/sci-libs/indilib/indilib-1.7.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 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" +SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz" + +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}/lib${PN/lib/}" + +src_test() { + BUILD_DIR="${BUILD_DIR}"/test cmake-utils_src_test +} + +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 +} |