diff options
author | Eli Burch <eli.burch@burchbytes.com> | 2024-06-17 09:48:04 -0700 |
---|---|---|
committer | Eli Burch <eli.burch@burchbytes.com> | 2024-06-17 09:50:30 -0700 |
commit | 7250f70183c255309d52e5a6ac902c36f32ce2e8 (patch) | |
tree | 45cd2e0d93e1bdb090bd6fd7c16d85b62b9cffb6 /net-wireless | |
parent | media-libs/wivrn: update upstream git branch (diff) | |
download | guru-7250f70183c255309d52e5a6ac902c36f32ce2e8.tar.gz guru-7250f70183c255309d52e5a6ac902c36f32ce2e8.tar.bz2 guru-7250f70183c255309d52e5a6ac902c36f32ce2e8.zip |
net-wireless/airspyhf: Always remove static lib
Signed-off-by: Eli Burch <eli.burch@burchbytes.com>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 4 | ||||
-rw-r--r-- | net-wireless/airspyhf/files/airspyhf-1.6.8-remove-static.patch (renamed from net-wireless/airspyhf/files/static.patch) | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild index df9f0b082..d4a3ffb6f 100644 --- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild +++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild @@ -13,7 +13,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" -IUSE="udev static-libs" +IUSE="udev" DEPEND="dev-libs/libusb" @@ -26,7 +26,7 @@ BDEPEND="virtual/pkgconfig" src_prepare(){ sed -i "s@DESTINATION \"/etc/udev/rules.d\"@DESTINATION \"$(get_udevdir)/rules.d\"@" "tools/CMakeLists.txt" || die - use static-libs || eapply "${FILESDIR}/static.patch" || die + eapply "${FILESDIR}/static.patch" cmake_src_prepare } diff --git a/net-wireless/airspyhf/files/static.patch b/net-wireless/airspyhf/files/airspyhf-1.6.8-remove-static.patch index 393e529fc..518fe8a04 100644 --- a/net-wireless/airspyhf/files/static.patch +++ b/net-wireless/airspyhf/files/airspyhf-1.6.8-remove-static.patch @@ -1,5 +1,6 @@ -diff --git a/libairspyhf/src/CMakeLists.txt b/libairspyhf/src/CMakeLists.txt -index 9d8d483..38d1b24 100644 +# Remove build steps related to static libs. +# Bug: https://bugs.gentoo.org/934412 + --- a/libairspyhf/src/CMakeLists.txt +++ b/libairspyhf/src/CMakeLists.txt @@ -46,16 +46,7 @@ add_library(airspyhf SHARED ${c_sources} ${AIRSPYHF_DLL_SRCS}) |