mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
- Update to 2.0.2
- Switch to CMake as a build system
This commit is contained in:
parent
8e5a2d8106
commit
00bf9f85fc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271492
@ -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>
|
||||
|
@ -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
|
||||
|
20
audio/ccaudio2/files/patch-CMakeLists.txt
Normal file
20
audio/ccaudio2/files/patch-CMakeLists.txt
Normal file
@ -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})
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user