From f020e03ad9910f9e3419666aa5c7d58ab205fa9d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 29 Oct 2022 14:09:37 +0200 Subject: [PATCH] package/hackrf: bump to version 2022.09.1 - Update site - Drop patch (already in version) https://github.com/greatscottgadgets/hackrf/releases/tag/v2022.09.1 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- ...ndFFTW.cmake-fix-build-without-fftw3.patch | 34 ------------------- package/hackrf/Config.in | 2 +- package/hackrf/hackrf.hash | 2 +- package/hackrf/hackrf.mk | 4 +-- 4 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 package/hackrf/0001-cmake-modules-FindFFTW.cmake-fix-build-without-fftw3.patch diff --git a/package/hackrf/0001-cmake-modules-FindFFTW.cmake-fix-build-without-fftw3.patch b/package/hackrf/0001-cmake-modules-FindFFTW.cmake-fix-build-without-fftw3.patch deleted file mode 100644 index 2b1f34879b..0000000000 --- a/package/hackrf/0001-cmake-modules-FindFFTW.cmake-fix-build-without-fftw3.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 3e32f46c7948f6b26476558905995ebec9b01760 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 15 Oct 2021 23:36:54 +0200 -Subject: [PATCH] cmake/modules/FindFFTW.cmake: fix build without fftw3 - -Build on Linux fails if libfftw3 is not available since commit -https://github.com/greatscottgadgets/hackrf/commit/a8c1fc92e9fa10843cb4aafd68c52f9903ebd05d -which replaced -pkg_check_modules(FFTW REQUIRED fftw3f) -by -find_package(FFTW REQUIRED) - -Fix this build failure by updating FindFFTW.cmake to check for fftw3f - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/greatscottgadgets/hackrf/commit/3e32f46c7948f6b26476558905995ebec9b01760] ---- - host/cmake/modules/FindFFTW.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/host/cmake/modules/FindFFTW.cmake b/host/cmake/modules/FindFFTW.cmake -index b9f3bfb81..802db4f5b 100644 ---- a/host/cmake/modules/FindFFTW.cmake -+++ b/host/cmake/modules/FindFFTW.cmake -@@ -16,7 +16,7 @@ IF (WIN32) - include_directories(${FFTW_INCLUDES}) - find_library (FFTW_LIBRARIES NAMES ${FFTW_LIBRARIES}) - ELSE(WIN32) --find_library (FFTW_LIBRARIES NAMES fftw3) -+find_library (FFTW_LIBRARIES NAMES fftw3f) - ENDIF(WIN32) - - diff --git a/package/hackrf/Config.in b/package/hackrf/Config.in index 05d01adc96..d5df328dfa 100644 --- a/package/hackrf/Config.in +++ b/package/hackrf/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_HACKRF help Library and tools for accessing HackRF SDR boards. - https://github.com/mossmann/hackrf/tree/master/host + https://hackrf.readthedocs.io comment "hackrf needs a toolchain w/ threads, dynamic library, gcc >= 4.9" depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ diff --git a/package/hackrf/hackrf.hash b/package/hackrf/hackrf.hash index 9053858f76..16ccb9dcfb 100644 --- a/package/hackrf/hackrf.hash +++ b/package/hackrf/hackrf.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a43e5080c11efdfe69ddebcc35a02b018e30e820de0e0ebdc7948cf7b0cd93a3 hackrf-2021.03.1.tar.xz +sha256 bacd4e7937467ffa14654624444c8b5c716ab470d8c1ee8d220d2094ae2adb3e hackrf-2022.09.1.tar.xz sha256 49b60a6288f90f49074228cc1fae0fb16871ba36b756013abdf7c2fc92f01fad COPYING diff --git a/package/hackrf/hackrf.mk b/package/hackrf/hackrf.mk index c224afc332..4317da60bc 100644 --- a/package/hackrf/hackrf.mk +++ b/package/hackrf/hackrf.mk @@ -4,8 +4,8 @@ # ################################################################################ -HACKRF_VERSION = 2021.03.1 -HACKRF_SITE = https://github.com/mossmann/hackrf/releases/download/v$(HACKRF_VERSION) +HACKRF_VERSION = 2022.09.1 +HACKRF_SITE = https://github.com/greatscottgadgets/hackrf/releases/download/v$(HACKRF_VERSION) HACKRF_SOURCE = hackrf-$(HACKRF_VERSION).tar.xz HACKRF_LICENSE = GPL-2.0+, BSD-3-Clause HACKRF_LICENSE_FILES = COPYING