From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F7551581FD for ; Tue, 09 Sep 2025 18:01:28 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7473B341071 for ; Tue, 09 Sep 2025 18:01:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E5523110575; Tue, 09 Sep 2025 18:01:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D9A42110574 for ; Tue, 09 Sep 2025 18:01:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9003D340FDC for ; Tue, 09 Sep 2025 18:01:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFC853960 for ; Tue, 09 Sep 2025 18:01:15 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1757440827.0d0ce98e93d27cdde6510a43a0080634ef33f841.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/indilib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/indilib/Manifest sci-libs/indilib/indilib-2.1.5.1.ebuild X-VCS-Directories: sci-libs/indilib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 0d0ce98e93d27cdde6510a43a0080634ef33f841 X-VCS-Branch: master Date: Tue, 09 Sep 2025 18:01:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 078a6613-d1e8-449d-a1cb-6eeda90169e9 X-Archives-Hash: c77790e6d2413a61b165f1f8caf7b04d commit: 0d0ce98e93d27cdde6510a43a0080634ef33f841 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Sep 9 15:59:14 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Sep 9 18:00:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d0ce98e sci-libs/indilib: add 2.1.5.1 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/indilib/Manifest | 1 + sci-libs/indilib/indilib-2.1.5.1.ebuild | 78 +++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest index 2c4f591e5a52..b21fe6ca5fef 100644 --- a/sci-libs/indilib/Manifest +++ b/sci-libs/indilib/Manifest @@ -1,2 +1,3 @@ DIST indilib-2.1.2.1.tar.gz 2941118 BLAKE2B 43928220243867a2c648855a38de3c3e49c754b135694215b24ddda6b71eb8a421a1d11dd199b5df9adcedb8c63de46288a8fe246f4ba27adfd6e98c38d825a2 SHA512 b59b23a26509922fae33d6080510a7fdce170baa59d86f5abbb955313e0a62d45f489b08021144a44cc0ca1d172825a6b524c778bb2bb24148b246e574fc0918 DIST indilib-2.1.4.tar.gz 2980502 BLAKE2B 6722c012fcb212a5f228bfe8ee46d6f71a228840041d059dee4520bf1d1a69e4ab0b5256b51b8dc79fe1b01dfab1c4c970f111b56305556297b677395fd336b6 SHA512 df6df30d5451431394d719930546a8bd4fd398bdf30e2afd5e1c5b5b73aa9ecbca629f555d1dc7d8d53c8211b22ca242ec7e9846f01d1ed2bf9bac151190cb99 +DIST indilib-2.1.5.1.tar.gz 3156066 BLAKE2B 6d193133b40d2e6ebe66410f6b7c927ede8ab763d92f963c97a59cc6625518ce8a16e085d395c45b457b32802a6bc2091e4cd2bd5cfb85713cf72bfc6d9b9de5 SHA512 c95e01bc0356826efc17f5dd76d07b16bb0912819c34bdd711e0189744b6aa333b3e4d9f6009fd8687992bbfbb76b83d76aa1beb94d8b8868b72bb757292912e diff --git a/sci-libs/indilib/indilib-2.1.5.1.ebuild b/sci-libs/indilib/indilib-2.1.5.1.ebuild new file mode 100644 index 000000000000..e9b3dff04c6e --- /dev/null +++ b/sci-libs/indilib/indilib-2.1.5.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" +S="${WORKDIR}/${P/lib/}" + +LICENSE="BSD GPL-2+ LGPL-2+ LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="ogg rtlsdr test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-cpp/cpp-httplib:= + dev-cpp/nlohmann_json + dev-libs/libev + media-libs/libjpeg-turbo:= + net-misc/curl + sci-libs/cfitsio:= + sci-libs/fftw:3.0= + sci-libs/gsl:= + sci-libs/libnova:= + sys-libs/zlib + virtual/libusb:1 + ogg? ( + media-libs/libogg + media-libs/libtheora:= + ) + rtlsdr? ( net-wireless/rtl-sdr:= ) +" +DEPEND="${RDEPEND} + kernel_linux? ( sys-kernel/linux-headers ) + test? ( >=dev-cpp/gtest-1.8.0 ) +" + +src_configure() { + local mycmakeargs=( + -DINDI_SYSTEM_HTTPLIB=ON + -DINDI_SYSTEM_JSONLIB=ON + -DINDI_BUILD_QT5_CLIENT=OFF + -DINDI_BUILD_SHARED=ON + -DINDI_BUILD_STATIC=OFF + -DINDI_BUILD_XISF=OFF # not packaged + -DUDEVRULES_INSTALL_DIR="${EPREFIX}$(get_udevdir)"/rules.d + -DINDI_BUILD_EXAMPLES=OFF # nothing is installed + $(cmake_use_find_package ogg OggTheora) + $(cmake_use_find_package rtlsdr RTLSDR) + -DINDI_BUILD_UNITTESTS=$(usex test) + -DINDI_BUILD_INTEGTESTS=$(usex test) + ) + + cmake_src_configure +} + +src_test() { + # Unit tests + BUILD_DIR="${BUILD_DIR}"/test cmake_src_test + + # Integration tests + # They fail in parallel because they try to bind to the same port more + # than once. + BUILD_DIR="${BUILD_DIR}"/integs cmake_src_test -j1 +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}