mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
sci-libs/indilib: drop 2.2.4.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST indilib-2.2.4.2.tar.gz 3864061 BLAKE2B 3991f9a4411deb2c9dbe02fb1e9d84c6013f31f3196fa772f8e3f7fa5d02a766f16758a2b973bb2c8fb1f83d18a980b471e890d4530a3e4073c9050491777846 SHA512 9f4ab646802ec248ebbfe279344d01a2f0655260bb996cc02414c1f2816b935c752cd4677e15ea1d4ebc317ffb0f7d0739dc4e66c9ce807bc711fce9beb63cf2
|
||||
DIST indilib-2.2.5.tar.gz 3887393 BLAKE2B 16f5e28d9e88cf367c61858140cd12364f0858efbe6cdbc965bf7551ecd3dbe594f2318e43bf0e0c9a08ca7ccf9fe3af635dea1868d50abe98a29fd0fc3e9e39 SHA512 8cad7e1a957746575ea4ab788f5088ed920bfa180c41314feabdb5412268c5de346505d8b3227e507cfaf7f27e87489c049f0b36a47ace8cec3d291ea94ac1c3
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
From 8d4e7daddaa52d71a9c7e196b6d30e9483c07026 Mon Sep 17 00:00:00 2001
|
||||
From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
|
||||
Date: Tue, 11 Aug 2026 07:48:52 +0200
|
||||
Subject: [PATCH] Link planewave rotate against httplib (#2467)
|
||||
|
||||
---
|
||||
drivers/rotator/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/rotator/CMakeLists.txt b/drivers/rotator/CMakeLists.txt
|
||||
index be9689324c..820df13b1a 100644
|
||||
--- a/drivers/rotator/CMakeLists.txt
|
||||
+++ b/drivers/rotator/CMakeLists.txt
|
||||
@@ -130,5 +130,5 @@ SET(planewave_rotator_SRC
|
||||
planewave_rotator.cpp)
|
||||
|
||||
add_executable(indi_planewave_rotator ${planewave_rotator_SRC})
|
||||
-target_link_libraries(indi_planewave_rotator indidriver)
|
||||
+target_link_libraries(indi_planewave_rotator indidriver ${HTTPLIB_LIBRARY})
|
||||
install(TARGETS indi_planewave_rotator RUNTIME DESTINATION bin)
|
||||
@@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake dot-a 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 ppc64 ~riscv"
|
||||
IUSE="ogg rtlsdr test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-cpp/cpp-httplib:=
|
||||
dev-cpp/nlohmann_json
|
||||
dev-libs/hidapi
|
||||
dev-libs/libev
|
||||
media-libs/libjpeg-turbo:=
|
||||
net-misc/curl
|
||||
sci-libs/cfitsio:=
|
||||
sci-libs/fftw:3.0=
|
||||
sci-libs/gsl:=
|
||||
sci-libs/libnova:=
|
||||
virtual/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 )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-httplib-underlinking.patch" ) # bug #980283
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
|
||||
local mycmakeargs=(
|
||||
-DFIX_WARNINGS=OFF # bug #977487
|
||||
-DINDI_SYSTEM_HIDAPILIB=ON
|
||||
-DINDI_SYSTEM_HTTPLIB=ON
|
||||
-DINDI_SYSTEM_JSONLIB=ON
|
||||
-DINDI_BUILD_QT_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
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
strip-lto-bytecode
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
udev_reload
|
||||
}
|
||||
Reference in New Issue
Block a user