1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

comms/hackrf: update 2017.02.1 -> 2021.03.1

See
  https://github.com/greatscottgadgets/hackrf/releases/tag/v2021.03.1
  https://github.com/greatscottgadgets/hackrf/releases/tag/v2018.01.1

for changes since 2017.02.1.

The latest release 2022.09.1 needs some libusb fixes before
it can be build, this is ongoing work.
This commit is contained in:
Tomek CEDRO 2022-10-02 22:53:25 +02:00 committed by Kurt Jaeger
parent 210bc406da
commit b3d5add222
5 changed files with 17 additions and 36 deletions

View File

@ -1,20 +1,22 @@
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
USE_GITHUB= YES
GH_ACCOUNT= mossmann
GH_TAGNAME= 31a37bd
LIB_DEPENDS= libfftw3.so:math/fftw3
USES= cmake
USE_GITHUB= YES
GH_ACCOUNT= mossmann
GH_TAGNAME= e6eb4ba
CONFLICTS= hackrf-devel
CMAKE_SOURCE_PATH= ${WRKSRC}/host
CMAKE_ARGS= -DLIBUSB_LIBRARIES=/usr/lib/libusb.so

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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