diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2011-03-22 15:41:14 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2011-03-22 15:41:14 +0000 |
commit | 00bf9f85fc9f64226ce8a4fb089f8ce905c2346a (patch) | |
tree | ae5a0ac9ecf454311453d3f8f92d9247f89ec0b4 | |
parent | 8e5a2d8106e218ebbb750fecf288fd860659040f (diff) |
Notes
-rw-r--r-- | audio/ccaudio2/Makefile | 13 | ||||
-rw-r--r-- | audio/ccaudio2/distinfo | 4 | ||||
-rw-r--r-- | audio/ccaudio2/files/patch-CMakeLists.txt | 20 | ||||
-rw-r--r-- | audio/ccaudio2/pkg-plist | 4 |
4 files changed, 29 insertions, 12 deletions
diff --git a/audio/ccaudio2/Makefile b/audio/ccaudio2/Makefile index a2df08d6ad36..c4087e083576 100644 --- a/audio/ccaudio2/Makefile +++ b/audio/ccaudio2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= ccaudio2 -PORTVERSION= 2.0.1 +PORTVERSION= 2.0.2 CATEGORIES= audio MASTER_SITES= http://www.gnutelephony.org/dist/tarballs/ @@ -14,16 +14,17 @@ MAINTAINER= gahr@FreeBSD.org COMMENT= C++ class framework for manipulating audio files LIB_DEPENDS= ccgnu2:${PORTSDIR}/devel/commoncpp \ - ucommon.4:${PORTSDIR}/devel/ucommon + ucommon.4:${PORTSDIR}/devel/ucommon \ + gsm.1:${PORTSDIR}/audio/gsm \ + speex.1:${PORTSDIR}/audio/speex CONFLICTS= ccaudio-[0-9]* USE_GNOME= gnometarget gnomehack -GNU_CONFIGURE= yes +USE_CMAKE= yes +CMAKE_OUTSOURCE=yes USE_LDCONFIG= yes -MAN1= audiotool.1 tonetool.1 ccaudio2-config.1 - -PLIST_SUB+= CCVERSION=1.0 +CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include .include <bsd.port.mk> diff --git a/audio/ccaudio2/distinfo b/audio/ccaudio2/distinfo index 39fa203da78d..68c295e2b2fc 100644 --- a/audio/ccaudio2/distinfo +++ b/audio/ccaudio2/distinfo @@ -1,2 +1,2 @@ -SHA256 (ccaudio2-2.0.1.tar.gz) = fa293c77c93a5ccd5243809639cbaebaae8b1e918ab894215fcb4999c0ceade3 -SIZE (ccaudio2-2.0.1.tar.gz) = 408840 +SHA256 (ccaudio2-2.0.2.tar.gz) = b77e8f44576aceb4e6fe8c3e1dd63697ee7e56f63567762dc89dda6a2eae14d0 +SIZE (ccaudio2-2.0.2.tar.gz) = 408860 diff --git a/audio/ccaudio2/files/patch-CMakeLists.txt b/audio/ccaudio2/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..373473a38f94 --- /dev/null +++ b/audio/ccaudio2/files/patch-CMakeLists.txt @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2011-03-21 12:41:35.000000000 +0100 ++++ CMakeLists.txt 2011-03-21 12:41:51.000000000 +0100 +@@ -31,8 +31,6 @@ + # set to true for debug and trace during CMakeLists development + set(CMAKE_VERBOSE_MAKEFILE FALSE) + +-configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) +- + # Set defaults and pass common options. Common build options can be passed + # to cmake using cmake -DWITH_CFLAGS="...", WITH_LIBS, and WITH_INCLUDES + include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/inc ${WITH_INCLUDES}) +@@ -117,6 +115,8 @@ + endif() + endif() + ++configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) ++ + file(GLOB ccaudio_src src/*.cpp) + set(ccaudio_inc inc/ccaudio2.h) + add_library(ccaudio ${BUILD_LIBRARY_TYPE} ${ccaudio_src} ${ccaudio_inc}) diff --git a/audio/ccaudio2/pkg-plist b/audio/ccaudio2/pkg-plist index 7db792500cb1..2b059f9f55bd 100644 --- a/audio/ccaudio2/pkg-plist +++ b/audio/ccaudio2/pkg-plist @@ -1,9 +1,5 @@ bin/audiotool -bin/ccaudio2-config bin/tonetool include/ccaudio2.h -lib/libccaudio.a -lib/libccaudio.la lib/libccaudio.so lib/libccaudio.so.2 -libdata/pkgconfig/ccaudio2.pc |