1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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/
This commit is contained in:
Gabor Pali 2010-04-10 16:12:05 +00:00
parent 14b4ac648c
commit 2383f20ce6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252529
6 changed files with 93 additions and 0 deletions

View File

@ -14,6 +14,7 @@
SUBDIR += adpcm
SUBDIR += adplay
SUBDIR += afsp
SUBDIR += aften
SUBDIR += akode
SUBDIR += akode-plugins-ffmpeg
SUBDIR += akode-plugins-jack

58
audio/aften/Makefile Normal file
View File

@ -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>

3
audio/aften/distinfo Normal file
View File

@ -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

View File

@ -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 */

6
audio/aften/pkg-descr Normal file
View File

@ -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/

15
audio/aften/pkg-plist Normal file
View File

@ -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