diff options
author | pgj <pgj@FreeBSD.org> | 2010-04-11 00:12:05 +0800 |
---|---|---|
committer | pgj <pgj@FreeBSD.org> | 2010-04-11 00:12:05 +0800 |
commit | 6e446d4e8b473bd7317fbc1164a14d9665e3eff1 (patch) | |
tree | dad0a60ce0ec2ff4b1678030bdb738ccc052275a /audio | |
parent | 019c59fac7b9e5b8d1c5cc14b481245598f1001f (diff) | |
download | freebsd-ports-gnome-6e446d4e8b473bd7317fbc1164a14d9665e3eff1.tar.gz freebsd-ports-gnome-6e446d4e8b473bd7317fbc1164a14d9665e3eff1.tar.zst freebsd-ports-gnome-6e446d4e8b473bd7317fbc1164a14d9665e3eff1.zip |
Aften is an audio encoder which generates compressed audio streams based
on ATSC A/52 specification. This type of audio is also known as AC-3 or
Dolby(R) Digital and is one of the audio codecs used in DVD-Video
content.
WWW: http://aften.sourceforge.net/
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/aften/Makefile | 58 | ||||
-rw-r--r-- | audio/aften/distinfo | 3 | ||||
-rw-r--r-- | audio/aften/files/patch-libaften__cpu_caps.h | 10 | ||||
-rw-r--r-- | audio/aften/pkg-descr | 6 | ||||
-rw-r--r-- | audio/aften/pkg-plist | 15 |
6 files changed, 93 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 3deacf9b39c4..d81900ec83e2 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -14,6 +14,7 @@ SUBDIR += adpcm SUBDIR += adplay SUBDIR += afsp + SUBDIR += aften SUBDIR += akode SUBDIR += akode-plugins-ffmpeg SUBDIR += akode-plugins-jack diff --git a/audio/aften/Makefile b/audio/aften/Makefile new file mode 100644 index 000000000000..649283cae144 --- /dev/null +++ b/audio/aften/Makefile @@ -0,0 +1,58 @@ +# New ports collection makefile for: aften +# Date created: April 3, 2010 +# Whom: Gabor Zahemszky <Gabor@Zahemszky.HU> +# +# $FreeBSD$ +# + +PORTNAME= aften +PORTVERSION= 0.0.8 +CATEGORIES= audio +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION} + +MAINTAINER= Gabor@Zahemszky.HU +COMMENT= ATSC A/52 audio encoder + +USE_BZIP2= yes + +BUILDDIR= ${WRKSRC}/portbuild +BUILD_WRKSRC= ${BUILDDIR} +INSTALL_WRKSRC= ${BUILDDIR} + +USE_CMAKE= yes +CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX:STRING="${PREFIX}" + +OPTIONS= SHARED_LIB "Build with shared library" off \ + CXX_BINDINGS "Build with C++ bindings" off \ + DOUBLE "Use double precision" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_SHARED_LIB) +CMAKE_ARGS+= -DSHARED:BOOL=ON +.endif + +.if defined(WITH_CXX_BINDINGS) +CMAKE_ARGS+= -DBINDINGS_CXX:BOOL=ON +PLIST_SUB+= CXX="" +.else +PLIST_SUB+= CXX="@comment " +.endif + +.if defined(WITH_SHARED_LIB) || defined(WITH_CXX_BINDINGS) +PLIST_SUB+= PORTVERSION="${PORTVERSION}" +PLIST_SUB+= LIBS="" +USE_LDCONFIG= yes +.else +PLIST_SUB+= LIBS="@comment " +.endif + +.if defined(WITH_DOUBLE) +CMAKE_ARGS+= -DDOUBLE:BOOL=ON +.endif + +do-configure: + @${MKDIR} ${BUILDDIR} + @cd ${BUILDDIR}; ${SETENV} ${CMAKE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} .. + +.include <bsd.port.post.mk> diff --git a/audio/aften/distinfo b/audio/aften/distinfo new file mode 100644 index 000000000000..3e9694c30a29 --- /dev/null +++ b/audio/aften/distinfo @@ -0,0 +1,3 @@ +MD5 (aften-0.0.8.tar.bz2) = fde67146879febb81af3d95a62df8840 +SHA256 (aften-0.0.8.tar.bz2) = 87cc847233bb92fbd5bed49e2cdd6932bb58504aeaefbfd20ecfbeb9532f0c0a +SIZE (aften-0.0.8.tar.bz2) = 80865 diff --git a/audio/aften/files/patch-libaften__cpu_caps.h b/audio/aften/files/patch-libaften__cpu_caps.h new file mode 100644 index 000000000000..df018924efc2 --- /dev/null +++ b/audio/aften/files/patch-libaften__cpu_caps.h @@ -0,0 +1,10 @@ +--- ./libaften/cpu_caps.h.orig 2007-08-11 18:13:25.000000000 +0200 ++++ ./libaften/cpu_caps.h 2010-04-03 00:31:40.000000000 +0200 +@@ -26,6 +26,7 @@ + #include "ppc_cpu_caps.h" + #else + static inline void cpu_caps_detect(void){} ++static inline void apply_simd_restrictions(__unused AftenSimdInstructions *simd_instructions){} + #endif + + #endif /* CPU_CAPS_H */ diff --git a/audio/aften/pkg-descr b/audio/aften/pkg-descr new file mode 100644 index 000000000000..cce1f3658fca --- /dev/null +++ b/audio/aften/pkg-descr @@ -0,0 +1,6 @@ +Aften is an audio encoder which generates compressed audio streams based +on ATSC A/52 specification. This type of audio is also known as AC-3 or +Dolby(R) Digital and is one of the audio codecs used in DVD-Video +content. + +WWW: http://aften.sourceforge.net/ diff --git a/audio/aften/pkg-plist b/audio/aften/pkg-plist new file mode 100644 index 000000000000..54867cb8fa2d --- /dev/null +++ b/audio/aften/pkg-plist @@ -0,0 +1,15 @@ +@comment $FreeBSD$ +bin/aften +bin/wavfilter +bin/wavinfo +bin/wavrms +include/aften/aften.h +%%CXX%%include/aften/aftenxx.h +include/aften/aften-types.h +%%LIBS%%lib/libaften.so.%%PORTVERSION%% +%%LIBS%%lib/libaften.so.0 +%%LIBS%%lib/libaften.so +%%LIBS%%%%CXX%%lib/libaftenxx.so.%%PORTVERSION%% +%%LIBS%%%%CXX%%lib/libaftenxx.so.0 +%%LIBS%%%%CXX%%lib/libaftenxx.so +@dirrm include/aften |