aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ccaudio2
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-01 10:09:50 +0800
committerclsung <clsung@FreeBSD.org>2006-08-01 10:09:50 +0800
commit5834d9eac02695091027fa496aff899701a20296 (patch)
tree04116ee7dc14d59cee2c0d2dcadbf355d148a3e2 /audio/ccaudio2
parente89c468ba0d3ca47f8a366c3adc18b17e80ddca3 (diff)
downloadfreebsd-ports-gnome-5834d9eac02695091027fa496aff899701a20296.tar.gz
freebsd-ports-gnome-5834d9eac02695091027fa496aff899701a20296.tar.zst
freebsd-ports-gnome-5834d9eac02695091027fa496aff899701a20296.zip
- Update to 1.2.0
PR: ports/101087 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Diffstat (limited to 'audio/ccaudio2')
-rw-r--r--audio/ccaudio2/Makefile16
-rw-r--r--audio/ccaudio2/distinfo6
-rw-r--r--audio/ccaudio2/files/patch-src-audiofile.cpp11
-rw-r--r--audio/ccaudio2/pkg-plist10
4 files changed, 24 insertions, 19 deletions
diff --git a/audio/ccaudio2/Makefile b/audio/ccaudio2/Makefile
index 2c23c521964c..f853c44aee4d 100644
--- a/audio/ccaudio2/Makefile
+++ b/audio/ccaudio2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ccaudio
-PORTVERSION= 1.1.4
-PORTREVISION= 1
+PORTVERSION= 1.2.0
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gnutelephony
@@ -15,24 +14,17 @@ MASTER_SITE_SUBDIR= gnutelephony
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ class framework for manipulating audio files
-LIB_DEPENDS= ccgnu2-1.3.1:${PORTSDIR}/devel/commoncpp
+LIB_DEPENDS= ccgnu2:${PORTSDIR}/devel/commoncpp
USE_GNOME= gnometarget
GNU_CONFIGURE= yes
-USE_GCC= 3.4
-INSTALL_TARGET= install man
+USE_GCC= 3.4+
INSTALLS_SHLIB= yes
-MAN3= Audio.3cc AudioCodec.3cc AudioCopy.3cc AudioFile.3cc \
- AudioSample.3cc AudioTone.3cc CDAudio.3cc DTMFDetect.3cc \
- LinearSample.3cc
-
-.include <bsd.port.pre.mk>
-
post-patch:
@${REINPLACE_CMD} -e \
's|<stdint\.h>|<stdlib.h>|g' ${WRKSRC}/src/dtmf.cpp
@${REINPLACE_CMD} -e \
's|@CXXFLAGS@|& $$(g_711_CXXFLAGS)|' ${WRKSRC}/dso/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/audio/ccaudio2/distinfo b/audio/ccaudio2/distinfo
index bc84f132adc3..97e3a80a8722 100644
--- a/audio/ccaudio2/distinfo
+++ b/audio/ccaudio2/distinfo
@@ -1,3 +1,3 @@
-MD5 (ccaudio-1.1.4.tar.gz) = d3e0c859c297b2a76b2137e760ce82f0
-SHA256 (ccaudio-1.1.4.tar.gz) = eb4504811b0b2234d328c280bb72742e14d98edebc9d6d6e973241186677456c
-SIZE (ccaudio-1.1.4.tar.gz) = 336489
+MD5 (ccaudio-1.2.0.tar.gz) = 919210cf0d917fbb7813d2cbf2c1e941
+SHA256 (ccaudio-1.2.0.tar.gz) = 6805fe04a3281fbcc66d247f63f6def5db042c7cf55fd7a5b3b783de4999c387
+SIZE (ccaudio-1.2.0.tar.gz) = 343071
diff --git a/audio/ccaudio2/files/patch-src-audiofile.cpp b/audio/ccaudio2/files/patch-src-audiofile.cpp
new file mode 100644
index 000000000000..090cbc8be5d1
--- /dev/null
+++ b/audio/ccaudio2/files/patch-src-audiofile.cpp
@@ -0,0 +1,11 @@
+--- src/audiofile.cpp.orig Mon Jul 31 17:13:02 2006
++++ src/audiofile.cpp Mon Jul 31 17:13:20 2006
+@@ -38,6 +38,8 @@
+ // whether to permit this exception to apply to your modifications.
+ // If you do not wish that, delete this exception notice.
+
++#include <sys/types.h>
++#include <sys/stat.h>
+ #include <cc++/config.h>
+ #include <cc++/strchar.h>
+ #include <cc++/export.h>
diff --git a/audio/ccaudio2/pkg-plist b/audio/ccaudio2/pkg-plist
index e05f3a7c7ee6..b97f318964f0 100644
--- a/audio/ccaudio2/pkg-plist
+++ b/audio/ccaudio2/pkg-plist
@@ -1,8 +1,10 @@
include/cc++2/cc++/audio.h
-lib/libccaudio1-1.1.so
-lib/libccaudio1-1.1.so.0
+lib/ccaudio1/g.711
+lib/libccaudio1-1.2.so
+lib/libccaudio1-1.2.so.0
lib/libccaudio1.a
lib/libccaudio1.la
lib/libccaudio1.so
-lib/ccaudio1/g.711
-@dirrm lib/ccaudio1
+@dirrmtry include/cc++2/cc++
+@dirrmtry include/cc++2
+@dirrmtry lib/ccaudio1