summaryrefslogtreecommitdiff
path: root/sci-libs/indilib
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-14 12:27:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-14 12:27:14 +0100
commitf7adcd4ee556b2c3a420239c13fb74113d791f6a (patch)
tree1cc566bbd03612996262177e95152bdda507cca9 /sci-libs/indilib
parent482a48c0e1675b1e92663b8b5222bb7261aa7956 (diff)
gentoo auto-resync : 14:07:2024 - 12:27:13
Diffstat (limited to 'sci-libs/indilib')
-rw-r--r--sci-libs/indilib/Manifest3
-rw-r--r--sci-libs/indilib/files/indilib-2.0.7-fix-system-httplib.patch32
-rw-r--r--sci-libs/indilib/indilib-2.0.7.ebuild87
3 files changed, 0 insertions, 122 deletions
diff --git a/sci-libs/indilib/Manifest b/sci-libs/indilib/Manifest
index a2e81699ffe5..ae55bd52ae20 100644
--- a/sci-libs/indilib/Manifest
+++ b/sci-libs/indilib/Manifest
@@ -1,6 +1,3 @@
-AUX indilib-2.0.7-fix-system-httplib.patch 1359 BLAKE2B d2a8000039bedef796d7e751000320bb3aaa69563fc5ef878d0b4c8b2a274087d30230388cc5b05a9fcb25f4b5369ce501d9b13d7f88dbf213096b9f893b3c62 SHA512 81ed02c6a92a4e2143551f4e2abdaacf44d747bb4c4cb06b18807fc005c4c97b87a4d0830dea6d6f8a473162d5863eee6d0aceab6396c2a3a35b9e951c2b7dc3
-DIST indilib-2.0.7.tar.gz 2843758 BLAKE2B dee94a40d4b3c5c4d994d945a3608a41765af14c4937d475bdf80dca5d5847b814e0d9a1060f39b15b109916dee45f1876ce8edd29588e209276e3b1bf6f3dd7 SHA512 292c0a5b8f07b24c42ea9424be19012c97317206b837d8601ec4d771fa35c314bf00712509f8199ee3da193ea12f0c3e90036a49deece304dc256cdeba60810d
DIST indilib-2.0.8.tar.gz 2851129 BLAKE2B 061ed06bbb122e5579d881ff76d84e6629045eb9972da68fb0c66554f453e7a0660c0017858b8626af70a114bf099c3f7397c6789f41ed99335bde0de767fb95 SHA512 a9b4c5efe9841c024a7ccc271b2de6626ee442d3543f621822522950cc7549def9de111e66e6d183e0a63bead6d1e211fa6025463f9ca4bad30b7a457c5f66b9
-EBUILD indilib-2.0.7.ebuild 1954 BLAKE2B 83c4595530644a5211c6dfb415d60ead126b567fbbd42033a79ddecfe54f5ac7876de20a9064b9bba304a2c6dd1ad8d851024e437c81f9c4d59ae55129f741ae SHA512 96373f4b5e6070aa0785eb6a4e53c73c27cb6ccb98f8e2475995a385e56cd4cfe88ee77c6f5ecb43dc0efb170a545768bff3921c71961483fc475a2ba211dd00
EBUILD indilib-2.0.8.ebuild 1897 BLAKE2B 8a544c9f323b97ebe1d615c585ab38fb832299b0dccbe2b1c1e72b9486328840add58ba72c7efe098e2c62c82441e9c376e47ccce3d33adbb8a73d3b91dfaaef SHA512 7a2ad54c7624ec6dd798d3b54e092b289365b5719d77577362f92801f9a059de00f1360c49b215853321b4c846947a23da879142c596f5f68a2aabb5da28dc21
MISC metadata.xml 562 BLAKE2B 675fbd88b6ea5004a89e4d86f397e924317f56ad98743d1d8cd9758f92b516cf70386f4eb59c8869451acd6b312c50a05b37a9ca3cedac87599bd90cd46d6ddd SHA512 ebef1f64112d45534b6ea13ce54b2ee57349d11486b881be277d669e984891fe9d8ca3839aadbbece908f55bd027060739460929bd7e0400cd04e639c7d2186f
diff --git a/sci-libs/indilib/files/indilib-2.0.7-fix-system-httplib.patch b/sci-libs/indilib/files/indilib-2.0.7-fix-system-httplib.patch
deleted file mode 100644
index 81876a468fa2..000000000000
--- a/sci-libs/indilib/files/indilib-2.0.7-fix-system-httplib.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 1d9e7a4645aa9d1c8534a0e69c3fb212382ac1ed Mon Sep 17 00:00:00 2001
-From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
-Date: Fri, 12 Apr 2024 11:31:01 +0200
-Subject: [PATCH] Link against httplib if using system libraries (#2039)
-
----
- drivers/auxiliary/CMakeLists.txt | 2 +-
- drivers/dome/CMakeLists.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/auxiliary/CMakeLists.txt b/drivers/auxiliary/CMakeLists.txt
-index 66f7e3a615..41279d0a9d 100644
---- a/drivers/auxiliary/CMakeLists.txt
-+++ b/drivers/auxiliary/CMakeLists.txt
-@@ -313,5 +313,5 @@ SET(dragonlight_SRC
- dragonlight.cpp)
-
- add_executable(indi_dragon_light ${dragonlight_SRC})
--target_link_libraries(indi_dragon_light indidriver)
-+target_link_libraries(indi_dragon_light indidriver ${HTTPLIB_LIBRARY})
- install(TARGETS indi_dragon_light RUNTIME DESTINATION bin)
-diff --git a/drivers/dome/CMakeLists.txt b/drivers/dome/CMakeLists.txt
-index 9dfdc812b8..377af11d2f 100644
---- a/drivers/dome/CMakeLists.txt
-+++ b/drivers/dome/CMakeLists.txt
-@@ -80,5 +80,5 @@ SET(dragonlair_SRC
- dragonlair.cpp)
-
- add_executable(indi_dragonlair_dome ${dragonlair_SRC})
--target_link_libraries(indi_dragonlair_dome indidriver)
-+target_link_libraries(indi_dragonlair_dome indidriver ${HTTPLIB_LIBRARY})
- install(TARGETS indi_dragonlair_dome RUNTIME DESTINATION bin)
diff --git a/sci-libs/indilib/indilib-2.0.7.ebuild b/sci-libs/indilib/indilib-2.0.7.ebuild
deleted file mode 100644
index 982a14057620..000000000000
--- a/sci-libs/indilib/indilib-2.0.7.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic 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 websocket"
-
-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 )
- websocket? ( dev-libs/boost:= )
-"
-DEPEND="${RDEPEND}
- kernel_linux? ( sys-kernel/linux-headers )
- test? ( >=dev-cpp/gtest-1.8.0 )
- websocket? ( dev-cpp/websocketpp )
-"
-
-PATCHES=( "${FILESDIR}/${P}-fix-system-httplib.patch" )
-
-src_configure() {
- # -Werror=odr
- # https://bugs.gentoo.org/878525
- # https://github.com/indilib/indi/issues/2023
- filter-lto
-
- 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
- $(cmake_use_find_package ogg OggTheora)
- $(cmake_use_find_package rtlsdr RTLSDR)
- -DINDI_BUILD_UNITTESTS=$(usex test)
- -DINDI_BUILD_INTEGTESTS=$(usex test)
- -DINDI_BUILD_WEBSOCKET=$(usex websocket)
- )
-
- 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
-}