diff --git a/comms/hackrf/Makefile b/comms/hackrf/Makefile index 896d1dfdbc4e..51a319c7b093 100644 --- a/comms/hackrf/Makefile +++ b/comms/hackrf/Makefile @@ -1,23 +1,25 @@ PORTNAME= hackrf -PORTVERSION= 2017.02.1 +PORTVERSION= 2021.03.1 CATEGORIES= comms devel hamradio science security -MAINTAINER= cederom@tlen.pl +MAINTAINER= tomek@cedro.info COMMENT= Low cost open source hardware software radio platform WWW= https://greatscottgadgets.com/hackrf/ LICENSE= GPLv2 -CONFLICTS= hackrf-devel +LIB_DEPENDS= libfftw3.so:math/fftw3 +USES= cmake USE_GITHUB= YES GH_ACCOUNT= mossmann -GH_TAGNAME= 31a37bd +GH_TAGNAME= e6eb4ba + +CONFLICTS= hackrf-devel -USES= cmake CMAKE_SOURCE_PATH= ${WRKSRC}/host CMAKE_ARGS= -DLIBUSB_LIBRARIES=/usr/lib/libusb.so USE_LDCONFIG= yes .include diff --git a/comms/hackrf/distinfo b/comms/hackrf/distinfo index 55f8f14b156a..13977bf65442 100644 --- a/comms/hackrf/distinfo +++ b/comms/hackrf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1515609346 -SHA256 (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = df00fd6d4fa7aa6fbd07ffc513c664aeac1824c1e4c2a2616ea167579dd1f797 -SIZE (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = 16939945 +TIMESTAMP = 1664724612 +SHA256 (mossmann-hackrf-2021.03.1-e6eb4ba_GH0.tar.gz) = ebb626db99d442a90e9306bf79ff2fc9e03063997eb3d993b981633668179cc2 +SIZE (mossmann-hackrf-2021.03.1-e6eb4ba_GH0.tar.gz) = 13064632 diff --git a/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt b/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt deleted file mode 100644 index 039c51a9e5f1..000000000000 --- a/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- host/hackrf-tools/CMakeLists.txt.orig 2015-08-30 19:34:41 UTC -+++ host/hackrf-tools/CMakeLists.txt -@@ -35,7 +35,7 @@ include_directories(getopt) - add_definitions(/D _CRT_SECURE_NO_WARNINGS) - else() - add_definitions(-Wall) --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") -+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - endif() - - if(NOT libhackrf_SOURCE_DIR) diff --git a/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt b/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt deleted file mode 100644 index b9f65553b607..000000000000 --- a/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- host/libhackrf/CMakeLists.txt.orig 2014-08-28 17:34:30 UTC -+++ host/libhackrf/CMakeLists.txt -@@ -34,7 +34,7 @@ if(MSVC) - set(THREADS_USE_PTHREADS_WIN32 true) - else() - add_definitions(-Wall) -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - - INCLUDE(TestBigEndian) - TEST_BIG_ENDIAN(BIGENDIAN) diff --git a/comms/hackrf/pkg-plist b/comms/hackrf/pkg-plist index 1a0f10ef4a16..6acfc4524be9 100644 --- a/comms/hackrf/pkg-plist +++ b/comms/hackrf/pkg-plist @@ -1,13 +1,14 @@ +bin/hackrf_clock bin/hackrf_cpldjtag +bin/hackrf_debug bin/hackrf_info -bin/hackrf_max2837 -bin/hackrf_rffc5071 -bin/hackrf_si5351c +bin/hackrf_operacake bin/hackrf_spiflash +bin/hackrf_sweep bin/hackrf_transfer include/libhackrf/hackrf.h lib/libhackrf.a lib/libhackrf.so lib/libhackrf.so.0 -lib/libhackrf.so.0.4.0 +lib/libhackrf.so.0.6.0 libdata/pkgconfig/libhackrf.pc