aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2011-01-24 23:32:00 +0800
committerpav <pav@FreeBSD.org>2011-01-24 23:32:00 +0800
commitdaf91f4b2e057f33d1e28fdfcc7626f49e173c5d (patch)
tree61d43d8d2144c1653d0f983a3f746117574b4c40 /audio
parent553efcb58dca5de19dc30ef8b0e54b7602012e94 (diff)
downloadfreebsd-ports-gnome-daf91f4b2e057f33d1e28fdfcc7626f49e173c5d.tar.gz
freebsd-ports-gnome-daf91f4b2e057f33d1e28fdfcc7626f49e173c5d.tar.zst
freebsd-ports-gnome-daf91f4b2e057f33d1e28fdfcc7626f49e173c5d.zip
- Update to 2.0.2
PR: ports/153518 Submitted by: Takefu <takefu@airport.fm> (maintainer) Feature safe: yes
Diffstat (limited to 'audio')
-rw-r--r--audio/libaacplus/Makefile15
-rw-r--r--audio/libaacplus/distinfo4
-rw-r--r--audio/libaacplus/files/patch-Makefile.am16
-rw-r--r--audio/libaacplus/files/patch-aacplus.pc.in14
-rw-r--r--audio/libaacplus/pkg-plist65
5 files changed, 24 insertions, 90 deletions
diff --git a/audio/libaacplus/Makefile b/audio/libaacplus/Makefile
index cf57928b2b47..9bfcffaab2a9 100644
--- a/audio/libaacplus/Makefile
+++ b/audio/libaacplus/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libaacplus
-PORTVERSION= 1.1.0
+PORTVERSION= 2.0.2
CATEGORIES= audio
MASTER_SITES= http://tipok.org.ua/downloads/media/aac+/libaacplus/:site1\
http://217.20.164.161/~tipok/aacplus/:site1\
@@ -26,7 +26,6 @@ RESTRICTED= unclear legal status, probably need licenses from 3GPP, Via Licensin
CONFLICTS= aacplusenc-0*
USE_GNOME= pkgconfig
-USE_GMAKE= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool libtoolize aclocal autoheader automake
GNU_CONFIGURE= yes
@@ -38,6 +37,8 @@ LIBTOOLIZE_ARGS=--automake
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"\
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+MAN1= aacplusenc.1
+
OPTIONS= FFTW3 "USE_FFTW3" on
.include <bsd.port.options.mk>
@@ -52,6 +53,14 @@ CONFIGURE_ARGS+=--with-fftw3=no
.endif
pre-configure:
- @${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}
+ @${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src
+
+post-patch:
+.if defined(WITH_OLDLIBS)
+ @${REINPLACE_CMD} -e 's,-I${includedir},-I@includedir@\ -I${includedir},'\
+ -e 's,@includedir@\/aacplus,@includedir@\/libaacplus,' ${WRKSRC}/aacplus.pc.in
+.else
+ @${REINPLACE_CMD} -e 's,\/aacplus,,' ${WRKSRC}/aacplus.pc.in
+.endif
.include <bsd.port.mk>
diff --git a/audio/libaacplus/distinfo b/audio/libaacplus/distinfo
index 7feade733b16..f8cc26ab2c05 100644
--- a/audio/libaacplus/distinfo
+++ b/audio/libaacplus/distinfo
@@ -1,4 +1,4 @@
-SHA256 (libaacplus-1.1.0.tar.gz) = 7ceb90d47d4de73193cd618be5e47870cc1732b8c9b51b32282ccfb47a5dc527
-SIZE (libaacplus-1.1.0.tar.gz) = 23900
+SHA256 (libaacplus-2.0.2.tar.gz) = 60dceb64d4ecf0be8d21661d5af2f214710f9d5b6ab389a5bdebf746baa7e1d7
+SIZE (libaacplus-2.0.2.tar.gz) = 42155
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
index 5e610404d08a..ec4f825fd218 100644
--- a/audio/libaacplus/files/patch-Makefile.am
+++ b/audio/libaacplus/files/patch-Makefile.am
@@ -1,11 +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@
+--- Makefile.am.orig 2010-10-07 21:00:14.000000000 +0900
++++ Makefile.am 2010-10-14 18:02:13.000000000 +0900
+@@ -2,7 +2,7 @@
+ SUBDIRS = src include patches frontend
if HAVE_PKGCONFIG
-- pkgconfigdir = $(libdir)/pkgconfig
-+ pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = aacplus.pc
+- pkgconfigdir = $(libdir)/pkgconfig
++ pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = aacplus.pc
else
- bin_SCRIPTS = aacplus-config
+ bin_SCRIPTS = aacplus-config
diff --git a/audio/libaacplus/files/patch-aacplus.pc.in b/audio/libaacplus/files/patch-aacplus.pc.in
deleted file mode 100644
index a2c42bafde11..000000000000
--- a/audio/libaacplus/files/patch-aacplus.pc.in
+++ /dev/null
@@ -1,14 +0,0 @@
---- aacplus.pc.in.orig 2009-03-22 22:16:54.000000000 +0900
-+++ aacplus.pc.in 2010-10-19 15:55:40.000000000 +0900
-@@ -1,10 +1,8 @@
- prefix=@prefix@
- exec_prefix=@exec_prefix@
- libdir=@libdir@
--includedir=@includedir@/aacplus
-+includedir=@includedir@/libaacplus
- toolsdir=${exec_prefix}/bin
--cppflags=@AACPLUS_CPPFLAGS@
--cflags_only=@AACPLUS_CFLAGS@
-
-
- Name: aacplus
diff --git a/audio/libaacplus/pkg-plist b/audio/libaacplus/pkg-plist
index 87e33baab4a8..e05b98d34aa9 100644
--- a/audio/libaacplus/pkg-plist
+++ b/audio/libaacplus/pkg-plist
@@ -1,68 +1,7 @@
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
+include/aacplus.h
lib/libaacplus.a
lib/libaacplus.la
lib/libaacplus.so
-lib/libaacplus.so.1
+lib/libaacplus.so.2
libdata/pkgconfig/aacplus.pc
-@dirrmtry include/libaacplus