From owner-svn-ports-all@freebsd.org Sun Jun 24 20:28:21 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE0DD100E249; Sun, 24 Jun 2018 20:28:20 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8945F79187; Sun, 24 Jun 2018 20:28:20 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 50F2023822; Sun, 24 Jun 2018 20:28:20 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5OKSKMR063474; Sun, 24 Jun 2018 20:28:20 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5OKSJs8063468; Sun, 24 Jun 2018 20:28:19 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806242028.w5OKSJs8063468@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 24 Jun 2018 20:28:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473274 - in head/comms: . airspy airspy/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/comms: . airspy airspy/files X-SVN-Commit-Revision: 473274 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jun 2018 20:28:21 -0000 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@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 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