svn commit: r473274 - in head/comms: . airspy airspy/files
Yuri Victorovich
yuri at FreeBSD.org
Sun Jun 24 20:28:21 UTC 2018
Author: yuri
Date: Sun Jun 24 20:28:18 2018
New Revision: 473274
URL: https://svnweb.freebsd.org/changeset/ports/473274
Log:
New port: comms/airspy: AirSpy's usemode driver and associated tools
Added:
head/comms/airspy/
head/comms/airspy/Makefile (contents, props changed)
head/comms/airspy/distinfo (contents, props changed)
head/comms/airspy/files/
head/comms/airspy/files/patch-libairspy_src_CMakeLists.txt (contents, props changed)
head/comms/airspy/pkg-descr (contents, props changed)
head/comms/airspy/pkg-plist (contents, props changed)
Modified:
head/comms/Makefile
Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile Sun Jun 24 20:28:09 2018 (r473273)
+++ head/comms/Makefile Sun Jun 24 20:28:18 2018 (r473274)
@@ -4,6 +4,7 @@
COMMENT = Communication utilities
SUBDIR += acfax
+ SUBDIR += airspy
SUBDIR += aldo
SUBDIR += amtterm
SUBDIR += anyremote
Added: head/comms/airspy/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/airspy/Makefile Sun Jun 24 20:28:18 2018 (r473274)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= airspy
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.0.9-18
+DISTVERSIONSUFFIX= -gbfb6670
+CATEGORIES= comms hamradio
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= AirSpy's usemode driver and associated tools
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/airspy-tools/LICENSE.md
+
+BROKEN_FreeBSD_10= error: use of undeclared identifier '__m128'
+
+USES= cmake:outsource pkgconfig
+USE_GITHUB= yes
+GH_PROJECT= airspyone_host
+USE_LDCONFIG= yes
+
+CMAKE_OFF= INSTALL_UDEV_RULES
+CMAKE_ARGS= -DLIBUSB_LIBRARIES="/usr/lib/libusb.so"
+
+.include <bsd.port.mk>
Added: head/comms/airspy/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/airspy/distinfo Sun Jun 24 20:28:18 2018 (r473274)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1529870725
+SHA256 (airspy-airspyone_host-v1.0.9-18-gbfb6670_GH0.tar.gz) = 67c02690a3304eb461c1e0c2a045c24eacf114bdd7c82dbc921d6e7d13235311
+SIZE (airspy-airspyone_host-v1.0.9-18-gbfb6670_GH0.tar.gz) = 238210
Added: head/comms/airspy/files/patch-libairspy_src_CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/airspy/files/patch-libairspy_src_CMakeLists.txt Sun Jun 24 20:28:18 2018 (r473274)
@@ -0,0 +1,50 @@
+--- libairspy/src/CMakeLists.txt.orig 2018-06-24 20:11:21 UTC
++++ libairspy/src/CMakeLists.txt
+@@ -58,15 +58,14 @@ set_target_properties(airspy PROPERTIES
+ endif( ${WIN32} )
+
+ # Static library
+-add_library(airspy-static STATIC ${c_sources})
+ if(MSVC)
+ set_target_properties(airspy-static PROPERTIES OUTPUT_NAME "airspy_static")
+ else()
+- set_target_properties(airspy-static PROPERTIES OUTPUT_NAME "airspy")
++ set_target_properties(airspy PROPERTIES OUTPUT_NAME "airspy")
+ endif()
+
+ set_target_properties(airspy PROPERTIES CLEAN_DIRECT_OUTPUT 1)
+-set_target_properties(airspy-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
++set_target_properties(airspy PROPERTIES CLEAN_DIRECT_OUTPUT 1)
+
+ # Dependencies
+ target_link_libraries(airspy ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
+@@ -82,10 +81,10 @@ if( ${UNIX} )
+ LIBRARY DESTINATION lib${LIB_SUFFIX}
+ COMPONENT sharedlibs
+ )
+- install(TARGETS airspy-static
+- ARCHIVE DESTINATION lib${LIB_SUFFIX}
+- COMPONENT staticlibs
+- )
++ #install(TARGETS airspy-static
++ # ARCHIVE DESTINATION lib${LIB_SUFFIX}
++ # COMPONENT staticlibs
++ # )
+ install(FILES ${c_headers}
+ DESTINATION include/${PROJECT_NAME}
+ COMPONENT headers
+@@ -97,10 +96,10 @@ if( ${WIN32} )
+ DESTINATION bin
+ COMPONENT sharedlibs
+ )
+- install(TARGETS airspy-static
+- DESTINATION bin
+- COMPONENT staticlibs
+- )
++ #install(TARGETS airspy-static
++ # DESTINATION bin
++ # COMPONENT staticlibs
++ # )
+ install(FILES ${c_headers}
+ DESTINATION include/${PROJECT_NAME}
+ COMPONENT headers
Added: head/comms/airspy/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/airspy/pkg-descr Sun Jun 24 20:28:18 2018 (r473274)
@@ -0,0 +1,4 @@
+Host software for AirSpy, a project to produce a low cost, open source software
+radio platform.
+
+WWW: https://airspy.com/
Added: head/comms/airspy/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/comms/airspy/pkg-plist Sun Jun 24 20:28:18 2018 (r473274)
@@ -0,0 +1,17 @@
+bin/airspy_gpio
+bin/airspy_gpiodir
+bin/airspy_info
+bin/airspy_lib_version
+bin/airspy_r820t
+bin/airspy_rx
+bin/airspy_si5351c
+bin/airspy_spiflash
+include/libairspy/airspy.h
+include/libairspy/airspy_commands.h
+include/libairspy/filters.h
+include/libairspy/iqconverter_float.h
+include/libairspy/iqconverter_int16.h
+lib/libairspy.so
+lib/libairspy.so.0
+lib/libairspy.so.1.0.9
+libdata/pkgconfig/libairspy.pc
More information about the svn-ports-all
mailing list