mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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
This commit is contained in:
parent
f527e17fe9
commit
2a646a01d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441228
3 changed files with 24 additions and 27 deletions
|
@ -1,21 +1,23 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= freedv
|
PORTNAME= freedv
|
||||||
PORTVERSION= 1.1
|
PORTVERSION= 1.2
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= comms hamradio
|
CATEGORIES= comms hamradio
|
||||||
MASTER_SITES= http://files.freedv.org/freedv/ \
|
MASTER_SITES= http://files.freedv.org/freedv/ \
|
||||||
LOCAL/shurd
|
LOCAL/db
|
||||||
|
|
||||||
MAINTAINER= hamradio@FreeBSD.org
|
MAINTAINER= hamradio@FreeBSD.org
|
||||||
COMMENT= Narrow band digital voice
|
COMMENT= Narrow band digital voice
|
||||||
|
|
||||||
|
LICENSE= LGPL21
|
||||||
|
|
||||||
LIB_DEPENDS= libcodec2.so:audio/codec2 \
|
LIB_DEPENDS= libcodec2.so:audio/codec2 \
|
||||||
libportaudio.so:audio/portaudio \
|
libportaudio.so:audio/portaudio \
|
||||||
libhamlib.so:comms/hamlib \
|
libhamlib.so:comms/hamlib \
|
||||||
libsamplerate.so:audio/libsamplerate \
|
libsamplerate.so:audio/libsamplerate \
|
||||||
libsox.so:audio/sox \
|
libsox.so:audio/sox \
|
||||||
libsndfile.so:audio/libsndfile \
|
libsndfile.so:audio/libsndfile \
|
||||||
|
libspeex.so:audio/speex \
|
||||||
libspeexdsp.so:audio/speexdsp
|
libspeexdsp.so:audio/speexdsp
|
||||||
|
|
||||||
USE_WX= 3.0+
|
USE_WX= 3.0+
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
SHA256 (freedv-1.1.tar.xz) = 3439930d73ebc9f58d39f4dff45356c3ee0e338a984e98ef8eb839eccaa44703
|
TIMESTAMP = 1495204498
|
||||||
SIZE (freedv-1.1.tar.xz) = 424420
|
SHA256 (freedv-1.2.tar.xz) = 304f4d4febb3b6c74e6781c40535782c102df57b28383b35c2040bec11a97111
|
||||||
|
SIZE (freedv-1.2.tar.xz) = 527124
|
||||||
|
|
|
@ -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
|
+++ CMakeLists.txt
|
||||||
@@ -72,7 +72,7 @@ endif()
|
@@ -386,6 +387,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")
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Setup cmake options
|
# Find libdl for dlopen/dlclose
|
||||||
@@ -339,6 +339,12 @@ if(NOT USE_STATIC_SOX)
|
#
|
||||||
if(LIBSOX_LIBRARY AND LIBSOX_INCLUDE_DIR)
|
+if(DUMMYFLAG)
|
||||||
list(APPEND FREEDV_LINK_LIBS ${LIBSOX_LIBRARY})
|
if(UNIX)
|
||||||
include_directories(${LIBSOX_INCLUDE_DIR})
|
message(STATUS "Looking for dl library.")
|
||||||
+ message(STATUS "Looking for static sox...")
|
find_library(DL_LIBRARY dl)
|
||||||
+ find_library(STATIC_LIBSOX_LIBRARY libsox.a)
|
@@ -400,6 +402,7 @@ On Linux systems try installing:
|
||||||
+ message(STATUS " static sox library: ${STATIC_LIBSOX_LIBRARY}")
|
)
|
||||||
+ if(STATIC_LIBSOX_LIBRARY)
|
endif()
|
||||||
+ list(APPEND FREEDV_LINK_LIBS ${STATIC_LIBSOX_LIBRARY})
|
endif(UNIX)
|
||||||
+ endif(STATIC_LIBSOX_LIBRARY)
|
+endif(DUMMUFLAG)
|
||||||
else(LIBSOX_LIBRARY AND LIBSOX_INCLUDE_DIR)
|
|
||||||
message(FATAL_ERROR "sox library not found.
|
|
||||||
On Linux systems try installing:
|
#Freedv
|
||||||
|
|
Loading…
Add table
Reference in a new issue