1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

- Update to 2.0.1

This commit is contained in:
Pietro Cerutti 2011-02-21 13:05:13 +00:00
parent 4f50c54a42
commit a0334efb34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269436
8 changed files with 77 additions and 23 deletions

View File

@ -6,23 +6,23 @@
#
PORTNAME= ccaudio2
PORTVERSION= 1.0.0
PORTVERSION= 2.0.1
CATEGORIES= audio
MASTER_SITES= http://www.gnutelephony.org/dist/tarballs/
MAINTAINER= gahr@FreeBSD.org
COMMENT= C++ class framework for manipulating audio files
LIB_DEPENDS= ccgnu2:${PORTSDIR}/devel/commoncpp
LIB_DEPENDS= ccgnu2:${PORTSDIR}/devel/commoncpp \
ucommon.4:${PORTSDIR}/devel/ucommon
CONFLICTS= ccaudio-[0-9]*
USE_AUTOTOOLS= libtool
USE_GNOME= gnometarget gnomehack
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN1= audiotool.1 tonetool.1
MAN1= audiotool.1 tonetool.1 ccaudio2-config.1
PLIST_SUB+= CCVERSION=1.0

View File

@ -1,3 +1,2 @@
MD5 (ccaudio2-1.0.0.tar.gz) = 6e2691fd42925937517e7dfeab03e7d2
SHA256 (ccaudio2-1.0.0.tar.gz) = e2009414dbf5ef70276597e8ec1a93d070e4d45e8e776c059d781d5f36f9662a
SIZE (ccaudio2-1.0.0.tar.gz) = 428839
SHA256 (ccaudio2-2.0.1.tar.gz) = fa293c77c93a5ccd5243809639cbaebaae8b1e918ab894215fcb4999c0ceade3
SIZE (ccaudio2-2.0.1.tar.gz) = 408840

View File

@ -0,0 +1,15 @@
--- src/audiofile.cpp.orig 2011-02-21 11:11:41.000000000 +0000
+++ src/audiofile.cpp 2011-02-21 11:16:03.000000000 +0000
@@ -20,6 +20,12 @@
#include <config.h>
#ifdef HAVE_ENDIAN_H
#include <endian.h>
+#else
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
+#define __BIG_ENDIAN (_BYTE_ORDER == _BIG_ENDIAN)
+#endif
#endif
#include <ucommon/export.h>
#include <ccaudio2.h>

View File

@ -0,0 +1,16 @@
--- src/friends.cpp.orig 2011-02-21 11:15:41.000000000 +0000
+++ src/friends.cpp 2011-02-21 11:30:59.000000000 +0000
@@ -22,6 +22,13 @@
#include <ctype.h>
#ifdef HAVE_ENDIAN_H
#include <endian.h>
+#else
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
+#define __BIG_ENDIAN (_BYTE_ORDER == _BIG_ENDIAN)
+#define __BYTE_ORDER _BYTE_ORDER
+#endif
#endif
#include <ucommon/export.h>
#include <ccaudio2.h>

View File

@ -0,0 +1,16 @@
--- src/oss.cpp.orig 2011-02-21 11:44:54.000000000 +0000
+++ src/oss.cpp 2011-02-21 11:45:19.000000000 +0000
@@ -20,6 +20,13 @@
#include <config.h>
#include <math.h>
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
+#define __BIG_ENDIAN (_BYTE_ORDER == _BIG_ENDIAN)
+#define __BYTE_ORDER _BYTE_ORDER
+#endif
+
extern int _oss_ccaudio_dummy;
int _oss_ccaudio_dummy = 0;

View File

@ -0,0 +1,16 @@
--- utils/audiotool.cpp.orig 2011-02-21 11:30:44.000000000 +0000
+++ utils/audiotool.cpp 2011-02-21 11:30:58.000000000 +0000
@@ -20,6 +20,13 @@
#include <config.h>
#ifdef HAVE_ENDIAN_H
#include <endian.h>
+#else
+#ifdef __FreeBSD__
+#include <sys/endian.h>
+#define __LITTLE_ENDIAN (_BYTE_ORDER == _LITTLE_ENDIAN)
+#define __BIG_ENDIAN (_BYTE_ORDER == _BIG_ENDIAN)
+#define __BYTE_ORDER _BYTE_ORDER
+#endif
#endif
#if defined(_MSWINDOWS_) && !defined(__BIG_ENDIAN)

View File

@ -3,4 +3,4 @@ audio data. This library is optimized for DSP frame presentation and for
merging audio from multiple sources. Support is provided for many common
and popular sound file formats such as .au, .wav/RIFF, etc.
WWW: http://www.gnutelephony.org/
WWW: http://www.gnutelephony.org/index.php/GNU_ccAudio2

View File

@ -1,17 +1,9 @@
bin/audiotool
bin/ccaudio2-config
bin/tonetool
include/cc++/audio2.h
lib/ccaudio2-%%CCVERSION%%/adpcm.la
lib/ccaudio2-%%CCVERSION%%/adpcm.so
lib/ccaudio2-%%CCVERSION%%/g711.la
lib/ccaudio2-%%CCVERSION%%/g711.so
lib/ccaudio2-%%CCVERSION%%/oki.la
lib/ccaudio2-%%CCVERSION%%/oki.so
lib/libccaudio2-%%CCVERSION%%.so
lib/libccaudio2-%%CCVERSION%%.so.0
lib/libccaudio2.a
lib/libccaudio2.la
lib/libccaudio2.so
libdata/pkgconfig/libccaudio2.pc
@dirrmtry include/cc++
@dirrm lib/ccaudio2-%%CCVERSION%%
include/ccaudio2.h
lib/libccaudio.a
lib/libccaudio.la
lib/libccaudio.so
lib/libccaudio.so.2
libdata/pkgconfig/ccaudio2.pc