diff options
author | db <db@FreeBSD.org> | 2017-05-19 23:01:07 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2017-05-19 23:01:07 +0800 |
commit | d311b5fbdbbf4f25934e9c95b1c98a3ad4e1c803 (patch) | |
tree | 008ed29f8f2ec40fdd6b2a0af7971a1b6397b07e /comms | |
parent | c73a1974866140418d76fc2370bb01ae32e1d94c (diff) | |
download | freebsd-ports-gnome-d311b5fbdbbf4f25934e9c95b1c98a3ad4e1c803.tar.gz freebsd-ports-gnome-d311b5fbdbbf4f25934e9c95b1c98a3ad4e1c803.tar.zst freebsd-ports-gnome-d311b5fbdbbf4f25934e9c95b1c98a3ad4e1c803.zip |
Update to 1.2
Under heavy development see http://freedv.org/tiki-index.php
Fix distinfo (needed TIMESTAMP)
Fix missing dependancy audio/speex
PR: ports/219349
Submitted by: takefu@airport.fm
Diffstat (limited to 'comms')
-rw-r--r-- | comms/freedv/Makefile | 8 | ||||
-rw-r--r-- | comms/freedv/distinfo | 5 | ||||
-rw-r--r-- | comms/freedv/files/patch-CMakeLists.txt | 38 |
3 files changed, 24 insertions, 27 deletions
diff --git a/comms/freedv/Makefile b/comms/freedv/Makefile index bcdb24ea5fb5..1ce6a20b637e 100644 --- a/comms/freedv/Makefile +++ b/comms/freedv/Makefile @@ -1,21 +1,23 @@ # $FreeBSD$ PORTNAME= freedv -PORTVERSION= 1.1 -PORTREVISION= 1 +PORTVERSION= 1.2 CATEGORIES= comms hamradio MASTER_SITES= http://files.freedv.org/freedv/ \ - LOCAL/shurd + LOCAL/db MAINTAINER= hamradio@FreeBSD.org COMMENT= Narrow band digital voice +LICENSE= LGPL21 + LIB_DEPENDS= libcodec2.so:audio/codec2 \ libportaudio.so:audio/portaudio \ libhamlib.so:comms/hamlib \ libsamplerate.so:audio/libsamplerate \ libsox.so:audio/sox \ libsndfile.so:audio/libsndfile \ + libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp USE_WX= 3.0+ diff --git a/comms/freedv/distinfo b/comms/freedv/distinfo index 3fff80a39c1c..bd34b96e1c50 100644 --- a/comms/freedv/distinfo +++ b/comms/freedv/distinfo @@ -1,2 +1,3 @@ -SHA256 (freedv-1.1.tar.xz) = 3439930d73ebc9f58d39f4dff45356c3ee0e338a984e98ef8eb839eccaa44703 -SIZE (freedv-1.1.tar.xz) = 424420 +TIMESTAMP = 1495204498 +SHA256 (freedv-1.2.tar.xz) = 304f4d4febb3b6c74e6781c40535782c102df57b28383b35c2040bec11a97111 +SIZE (freedv-1.2.tar.xz) = 527124 diff --git a/comms/freedv/files/patch-CMakeLists.txt b/comms/freedv/files/patch-CMakeLists.txt index 8d6a7ed981ee..33d506610447 100644 --- a/comms/freedv/files/patch-CMakeLists.txt +++ b/comms/freedv/files/patch-CMakeLists.txt @@ -1,24 +1,18 @@ ---- CMakeLists.txt.orig 2015-09-24 19:30:57 UTC +--- CMakeLists.txt.orig 2017-02-15 02:12:19 UTC +++ CMakeLists.txt -@@ -72,7 +72,7 @@ endif() - - - # Set default build flags. --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") -+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11") - +@@ -386,6 +387,7 @@ endif() # - # Setup cmake options -@@ -339,6 +339,12 @@ if(NOT USE_STATIC_SOX) - if(LIBSOX_LIBRARY AND LIBSOX_INCLUDE_DIR) - list(APPEND FREEDV_LINK_LIBS ${LIBSOX_LIBRARY}) - include_directories(${LIBSOX_INCLUDE_DIR}) -+ message(STATUS "Looking for static sox...") -+ find_library(STATIC_LIBSOX_LIBRARY libsox.a) -+ message(STATUS " static sox library: ${STATIC_LIBSOX_LIBRARY}") -+ if(STATIC_LIBSOX_LIBRARY) -+ list(APPEND FREEDV_LINK_LIBS ${STATIC_LIBSOX_LIBRARY}) -+ endif(STATIC_LIBSOX_LIBRARY) - else(LIBSOX_LIBRARY AND LIBSOX_INCLUDE_DIR) - message(FATAL_ERROR "sox library not found. - On Linux systems try installing: + # Find libdl for dlopen/dlclose + # ++if(DUMMYFLAG) + if(UNIX) + message(STATUS "Looking for dl library.") + find_library(DL_LIBRARY dl) +@@ -400,6 +402,7 @@ On Linux systems try installing: + ) + endif() + endif(UNIX) ++endif(DUMMUFLAG) + + + #Freedv |