1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

HE-AAC+ Codec as Shared Library

WWW: http://tipok.org.ua/ru/node/17/

PR:		149794
Submitted by:	Takefu <takefu@airport.fm>
This commit is contained in:
Dmitry Marakasov 2010-09-23 00:44:23 +00:00
parent 7e601a7ac6
commit 6f876d2899
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261661
8 changed files with 158 additions and 0 deletions

2
LEGAL
View File

@ -715,3 +715,5 @@ thundercache www/thundercache Shareware license for 50 threads.
mp4split-* multimedia/mp4split No commercial use
taetgen-* math/tetgen Academic or personal use only
giac-* math/giacxcas The french documentation is for non commercial only use
libaacplus-* audio/libaacplus Unclear legal status
26410-800.zip audio/libaacplus Unclear legal status

View File

@ -353,6 +353,7 @@
SUBDIR += last.fm
SUBDIR += laudio
SUBDIR += liba52
SUBDIR += libaacplus
SUBDIR += libadplug
SUBDIR += libaiff
SUBDIR += libamrnb

56
audio/libaacplus/Makefile Normal file
View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,3 @@
HE-AAC+ Codec as Shared Library
WWW: http://tipok.org.ua/ru/node/17/

View File

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