diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2010-09-23 08:44:23 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2010-09-23 08:44:23 +0800 |
commit | b82ebc83eaf6691f36ba2247c4d7036a506a80e3 (patch) | |
tree | bdc312f3009f11b3b1a7d6389306320f934b169e /audio | |
parent | eeb79c961877a19dbe62320d35980d7742b3ca13 (diff) | |
download | freebsd-ports-gnome-b82ebc83eaf6691f36ba2247c4d7036a506a80e3.tar.gz freebsd-ports-gnome-b82ebc83eaf6691f36ba2247c4d7036a506a80e3.tar.zst freebsd-ports-gnome-b82ebc83eaf6691f36ba2247c4d7036a506a80e3.zip |
HE-AAC+ Codec as Shared Library
WWW: http://tipok.org.ua/ru/node/17/
PR: 149794
Submitted by: Takefu <takefu@airport.fm>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/libaacplus/Makefile | 56 | ||||
-rw-r--r-- | audio/libaacplus/distinfo | 6 | ||||
-rw-r--r-- | audio/libaacplus/files/patch-Makefile.am | 11 | ||||
-rw-r--r-- | audio/libaacplus/files/patch-configure.ac | 11 | ||||
-rw-r--r-- | audio/libaacplus/pkg-descr | 3 | ||||
-rw-r--r-- | audio/libaacplus/pkg-plist | 68 |
7 files changed, 156 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 36903a3f58a9..636e71d6e1d0 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -353,6 +353,7 @@ SUBDIR += last.fm SUBDIR += laudio SUBDIR += liba52 + SUBDIR += libaacplus SUBDIR += libadplug SUBDIR += libaiff SUBDIR += libamrnb diff --git a/audio/libaacplus/Makefile b/audio/libaacplus/Makefile new file mode 100644 index 000000000000..aba04086d3f0 --- /dev/null +++ b/audio/libaacplus/Makefile @@ -0,0 +1,56 @@ +# New ports collection makefile for: libaacplus +# Date created: 2010-05-18 +# Whom: takefu +# +# $FreeBSD$ +# + +PORTNAME= libaacplus +PORTVERSION= 1.0.5 +CATEGORIES= audio +MASTER_SITES= http://tipok.org.ua/downloads/media/aac+/libaacplus/:site1\ + http://217.20.164.161/~tipok/aacplus/:site1\ + http://media.wnet.ua/~tipok/aacplus/:site1\ + http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/:site2 +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}:site1\ + 26410-800.zip:site2 + +MAINTAINER= takefu@airport.fm +COMMENT= HE-AAC+ Codec as Shared Library + +EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip + +RESTRICTED= unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies + +CONFLICTS= aacplusenc-0* + +USE_GNOME= pkgconfig +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:22 libtoolize aclocal:110 autoheader:262 automake:110 +GNU_CONFIGURE= yes + +AUTOMAKE_ARGS= --add-missing +ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} \ + -I ${LOCALBASE}/share/aclocal -I ${WRKSRC}/m4 +LIBTOOLIZE_ARGS=--automake +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"\ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" + +OPTIONS= FFTW3 "USE_FFTW3" on + +.include <bsd.port.options.mk> + +.if !defined(WITHOUT_FFTW3) +LIB_DEPENDS+= fftw3:${PORTSDIR}/math/fftw3\ + fftw3f:${PORTSDIR}/math/fftw3-float +CONFIGURE_ARGS+=--with-fftw3=yes \ + --with-fftw3-prefix=${LOCALBASE} +.else +CONFIGURE_ARGS+=--with-fftw3=no +.endif + +pre-configure: + @${CP} ${DISTDIR}/26410-800.zip ${WRKSRC} + +.include <bsd.port.mk> diff --git a/audio/libaacplus/distinfo b/audio/libaacplus/distinfo new file mode 100644 index 000000000000..c6352fa17dd8 --- /dev/null +++ b/audio/libaacplus/distinfo @@ -0,0 +1,6 @@ +MD5 (libaacplus-1.0.5.tar.gz) = 3cbb1f3d80050277d77a2ea4692c5f18 +SHA256 (libaacplus-1.0.5.tar.gz) = d29d533f94dc2e66ae37e460a34284514e9e5a047f5aadbb41f0fc0ef5b984ca +SIZE (libaacplus-1.0.5.tar.gz) = 23213 +MD5 (26410-800.zip) = 2346a0f709d42cee88b784c513744e98 +SHA256 (26410-800.zip) = 4e7b3268b4e21a4dc2c88ee3af57c9115334d6b616a6e5f2e3f43643bf37b72f +SIZE (26410-800.zip) = 1348294 diff --git a/audio/libaacplus/files/patch-Makefile.am b/audio/libaacplus/files/patch-Makefile.am new file mode 100644 index 000000000000..5e610404d08a --- /dev/null +++ b/audio/libaacplus/files/patch-Makefile.am @@ -0,0 +1,11 @@ +--- Makefile.am.orig 2009-10-09 05:58:21.000000000 +0900 ++++ Makefile.am 2010-09-07 12:42:33.000000000 +0900 +@@ -14,7 +14,7 @@ + LDADD = @FFTW3_LDFLAGS@ + + if HAVE_PKGCONFIG +- pkgconfigdir = $(libdir)/pkgconfig ++ pkgconfigdir = $(prefix)/libdata/pkgconfig + pkgconfig_DATA = aacplus.pc + else + bin_SCRIPTS = aacplus-config diff --git a/audio/libaacplus/files/patch-configure.ac b/audio/libaacplus/files/patch-configure.ac new file mode 100644 index 000000000000..f5a574955fe1 --- /dev/null +++ b/audio/libaacplus/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2009-10-09 01:02:10.000000000 +0400 ++++ configure.ac 2010-09-16 04:08:51.000000000 +0400 +@@ -114,7 +114,7 @@ + + AACPLUS_VERSION="$VERSION" + AACPLUS_CPPFLAGS="-I$aacplus_includedir $FFTW3_CPPFLAGS" +-AACPLUS_CFLAGS+="$FFTW3_CFLAGS" ++AACPLUS_CFLAGS="$AACPLUS_CFLAGS $FFTW3_CFLAGS" + AACPLUS_LIBS="-laacplus -lm ${FFTW3_LIB}" + + AC_SUBST(AACPLUS_LIBS) diff --git a/audio/libaacplus/pkg-descr b/audio/libaacplus/pkg-descr new file mode 100644 index 000000000000..d9a5d70dcf20 --- /dev/null +++ b/audio/libaacplus/pkg-descr @@ -0,0 +1,3 @@ +HE-AAC+ Codec as Shared Library + +WWW: http://tipok.org.ua/ru/node/17/ diff --git a/audio/libaacplus/pkg-plist b/audio/libaacplus/pkg-plist new file mode 100644 index 000000000000..87e33baab4a8 --- /dev/null +++ b/audio/libaacplus/pkg-plist @@ -0,0 +1,68 @@ +bin/aacplusenc +include/libaacplus/FFR_bitbuffer.h +include/libaacplus/FloatFR.h +include/libaacplus/aac_ram.h +include/libaacplus/aac_rom.h +include/libaacplus/aacenc.h +include/libaacplus/adj_thr.h +include/libaacplus/adj_thr_data.h +include/libaacplus/adts.h +include/libaacplus/band_nrg.h +include/libaacplus/bit_cnt.h +include/libaacplus/bit_sbr.h +include/libaacplus/bitenc.h +include/libaacplus/block_switch.h +include/libaacplus/cfftn.h +include/libaacplus/channel_map.h +include/libaacplus/cmondata.h +include/libaacplus/code_env.h +include/libaacplus/counters.h +include/libaacplus/dyn_bits.h +include/libaacplus/env_bit.h +include/libaacplus/env_est.h +include/libaacplus/fram_gen.h +include/libaacplus/freq_sca.h +include/libaacplus/grp_data.h +include/libaacplus/hybrid.h +include/libaacplus/iir32resample.h +include/libaacplus/interface.h +include/libaacplus/invf_est.h +include/libaacplus/line_pe.h +include/libaacplus/mh_det.h +include/libaacplus/minmax.h +include/libaacplus/ms_stereo.h +include/libaacplus/nf_est.h +include/libaacplus/pre_echo_control.h +include/libaacplus/ps_bitenc.h +include/libaacplus/ps_enc.h +include/libaacplus/psy_configuration.h +include/libaacplus/psy_const.h +include/libaacplus/psy_data.h +include/libaacplus/psy_main.h +include/libaacplus/qc_data.h +include/libaacplus/qc_main.h +include/libaacplus/qmf_enc.h +include/libaacplus/quantize.h +include/libaacplus/resampler.h +include/libaacplus/sbr.h +include/libaacplus/sbr_def.h +include/libaacplus/sbr_main.h +include/libaacplus/sbr_misc.h +include/libaacplus/sbr_ram.h +include/libaacplus/sbr_rom.h +include/libaacplus/sf_estim.h +include/libaacplus/spreading.h +include/libaacplus/stat_bits.h +include/libaacplus/stprepro.h +include/libaacplus/tns.h +include/libaacplus/tns_func.h +include/libaacplus/tns_param.h +include/libaacplus/ton_corr.h +include/libaacplus/tran_det.h +include/libaacplus/transform.h +lib/libaacplus.a +lib/libaacplus.la +lib/libaacplus.so +lib/libaacplus.so.1 +libdata/pkgconfig/aacplus.pc +@dirrmtry include/libaacplus |