2012-10-08 03:07:51 +02:00
|
|
|
# Created by: takefu <takefu@airport.fm>
|
2010-09-23 02:44:23 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libaacplus
|
2011-01-24 16:32:00 +01:00
|
|
|
PORTVERSION= 2.0.2
|
2011-10-17 12:08:33 +02:00
|
|
|
PORTREVISION= 1
|
2010-09-23 02:44:23 +02:00
|
|
|
CATEGORIES= audio
|
2012-11-30 04:04:12 +01:00
|
|
|
MASTER_SITES= http://media.wnet.ua/~tipok/aacplus/:site1\
|
2011-09-16 19:57:58 +02:00
|
|
|
ftp://ftp.3gpp.org/Specs/archive/26_series/26.410/:site2\
|
2010-09-23 02:44:23 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
RESTRICTED= unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies
|
|
|
|
|
|
|
|
CONFLICTS= aacplusenc-0*
|
|
|
|
|
2012-08-06 12:33:28 +02:00
|
|
|
USE_CSTD= gnu89
|
2011-09-16 19:57:58 +02:00
|
|
|
USE_GNOME= gnomehack pkgconfig
|
2010-09-23 02:44:23 +02:00
|
|
|
USE_LDCONFIG= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool libtoolize aclocal autoheader automake
|
2011-09-16 19:57:58 +02:00
|
|
|
GNOME_MAKEFILEIN= Makefile.am
|
2010-09-23 02:44:23 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2012-02-06 19:23:38 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2010-09-23 02:44:23 +02:00
|
|
|
|
|
|
|
AUTOMAKE_ARGS= --add-missing
|
|
|
|
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} \
|
|
|
|
-I ${LOCALBASE}/share/aclocal -I ${WRKSRC}/m4
|
|
|
|
LIBTOOLIZE_ARGS=--automake
|
|
|
|
|
2011-01-24 16:32:00 +01:00
|
|
|
MAN1= aacplusenc.1
|
|
|
|
|
2012-10-08 03:07:51 +02:00
|
|
|
OPTIONS_DEFINE= FFTW3
|
|
|
|
OPTIONS_DEFAULT= FFTW3
|
|
|
|
FFTW3_DESC= Use FFTW3
|
2010-09-23 02:44:23 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-10-08 03:07:51 +02:00
|
|
|
.if ${PORT_OPTIONS:MFFTW3}
|
2010-09-23 02:44:23 +02:00
|
|
|
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:
|
2011-01-24 16:32:00 +01:00
|
|
|
@${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src
|
2011-09-16 19:57:58 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,@includedir@\/aacplus,@prefix@\/include,' ${WRKSRC}/aacplus.pc.in
|
|
|
|
@${REINPLACE_CMD} -e 's,\/aacplus\.h,\/libaacplus\/aacplus\.h,' ${WRKSRC}/aacplus.spec.in
|
2010-09-23 02:44:23 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|