[Midnightbsd-cvs] mports [21966] trunk/audio: add libaacplus
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Sep 29 18:12:15 EDT 2016
Revision: 21966
http://svnweb.midnightbsd.org/mports/?rev=21966
Author: laffer1
Date: 2016-09-29 18:12:14 -0400 (Thu, 29 Sep 2016)
Log Message:
-----------
add libaacplus
Modified Paths:
--------------
trunk/audio/Makefile
Added Paths:
-----------
trunk/audio/libaacplus/
trunk/audio/libaacplus/Makefile
trunk/audio/libaacplus/distinfo
trunk/audio/libaacplus/files/
trunk/audio/libaacplus/files/patch-configure.ac
trunk/audio/libaacplus/files/patch-include_aacplus.h
trunk/audio/libaacplus/files/patch-src_Makefile.am
trunk/audio/libaacplus/pkg-descr
trunk/audio/libaacplus/pkg-plist
Modified: trunk/audio/Makefile
===================================================================
--- trunk/audio/Makefile 2016-09-29 21:53:44 UTC (rev 21965)
+++ trunk/audio/Makefile 2016-09-29 22:12:14 UTC (rev 21966)
@@ -61,6 +61,7 @@
SUBDIR += lame
SUBDIR += lash
SUBDIR += liba52
+SUBDIR += libaacplus
SUBDIR += libamrwb
SUBDIR += libao
SUBDIR += libaudiofile
Added: trunk/audio/libaacplus/Makefile
===================================================================
--- trunk/audio/libaacplus/Makefile (rev 0)
+++ trunk/audio/libaacplus/Makefile 2016-09-29 22:12:14 UTC (rev 21966)
@@ -0,0 +1,58 @@
+# $MidnightBSD$
+# $FreeBSD: head/audio/libaacplus/Makefile 412344 2016-04-01 13:29:15Z mat $
+
+PORTNAME= libaacplus
+PORTVERSION= 2.0.2
+CATEGORIES= audio
+MASTER_SITES= http://tipok.org.ua/downloads/media/aacplus/libaacplus/ \
+ ftp://ftp.3gpp.org/Specs/archive/26_series/26.410/:site2 \
+ http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/:site2
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${SRC26410}:site2
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= HE-AAC+ Codec as Shared Library
+
+LICENSE= libaacplus
+LICENSE_NAME= 3GPP
+LICENSE_TEXT= ${RESTRICTED}
+LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+LICENSE_DISTFILES_LGPL= ${DISTNAME}${EXTRACT_SUFX}
+LICENSE_DISTFILES_3GPP= ${SRC26410}
+
+RESTRICTED= unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies
+
+CONFLICTS= aacplusenc-0*
+
+USE_CSTD= gnu89
+USES= autoreconf pathfix pkgconfig libtool
+USE_LDCONFIG= yes
+PATHFIX_MAKEFILEIN= Makefile.am
+GNU_CONFIGURE= yes
+MAKE_JOBS_UNSAFE= yes
+INSTALL_TARGET= install-strip
+
+AUTOMAKE_ARGS= --add-missing
+
+OPTIONS_DEFINE= FFTW3
+OPTIONS_DEFAULT=FFTW3
+
+SRC26410= 26410-800.zip
+
+FFTW3_DESC= Use FFTW3 library for performance
+
+FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 \
+ libfftw3f.so:math/fftw3-float
+FFTW3_CONFIGURE_ON= --with-fftw3=yes --with-fftw3-prefix=${LOCALBASE}
+FFTW3_CONFIGURE_OFF= --with-fftw3=no
+
+pre-configure:
+ @${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src
+ @${REINPLACE_CMD} -e 's, at includedir@\/aacplus, at prefix@\/include,' \
+ ${WRKSRC}/aacplus.pc.in
+ @${REINPLACE_CMD} -e 's,\/aacplus\.h,\/libaacplus\/aacplus\.h,' \
+ ${WRKSRC}/aacplus.spec.in
+ @${REINPLACE_CMD} -e 's,INCLUDES,AM_CPPFLAGS,'\
+ ${WRKSRC}/frontend/Makefile.am ${WRKSRC}/src/Makefile.am
+
+.include <bsd.port.mk>
Property changes on: trunk/audio/libaacplus/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/libaacplus/distinfo
===================================================================
--- trunk/audio/libaacplus/distinfo (rev 0)
+++ trunk/audio/libaacplus/distinfo 2016-09-29 22:12:14 UTC (rev 21966)
@@ -0,0 +1,4 @@
+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
Property changes on: trunk/audio/libaacplus/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/libaacplus/files/patch-configure.ac
===================================================================
--- trunk/audio/libaacplus/files/patch-configure.ac (rev 0)
+++ trunk/audio/libaacplus/files/patch-configure.ac 2016-09-29 22:12:14 UTC (rev 21966)
@@ -0,0 +1,35 @@
+--- configure.ac.orig 2010-11-10 21:27:45 UTC
++++ configure.ac
+@@ -8,7 +8,7 @@ AM_INIT_AUTOMAKE
+ AM_CONFIG_HEADER(config.h)
+ AC_CONFIG_MACRO_DIR([m4])
+ # Checks for programs.
+-AC_PROG_CC
++AC_PROG_CC(clang gcc cc)
+ AM_PROG_CC_C_O
+ AC_PROG_CPP
+ AC_PROG_INSTALL
+@@ -16,10 +16,10 @@ AC_PROG_LN_S
+ AC_PROG_MAKE_SET
+ AC_LIBTOOL_WIN32_DLL
+ AM_PROG_LIBTOOL
+-AC_PATH_PROG([UNZIP],[unzip])
+-if test x"$UNZIP" = x -a ! -f "aacenc.c" ; then
+- AC_MSG_ERROR([You need unzip utility to prepare sources.])
+-fi
++dnl AC_PATH_PROG([UNZIP],[unzip])
++dnl if test x"$UNZIP" = x -a ! -f "aacenc.c" ; then
++dnl AC_MSG_ERROR([You need unzip utility to prepare sources.])
++dnl fi
+ AC_PATH_PROG([PATCH],[patch])
+ if test x"$PATCH" = x -a ! -f "aacenc.c" ; then
+ AC_MSG_ERROR([You need patch utility to prepare sources.])
+@@ -123,7 +123,7 @@ AM_CONDITIONAL([HAVE_PKGCONFIG], [test "
+
+ 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)
Property changes on: trunk/audio/libaacplus/files/patch-configure.ac
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/libaacplus/files/patch-include_aacplus.h
===================================================================
--- trunk/audio/libaacplus/files/patch-include_aacplus.h (rev 0)
+++ trunk/audio/libaacplus/files/patch-include_aacplus.h 2016-09-29 22:12:14 UTC (rev 21966)
@@ -0,0 +1,11 @@
+--- include/aacplus.h.orig 2010-11-10 21:27:38 UTC
++++ include/aacplus.h
+@@ -12,7 +12,7 @@ typedef void *aacplusEncHandle;
+
+ typedef enum {
+ AACPLUS_INPUT_16BIT = 0,
+- AACPLUS_INPUT_FLOAT,
++ AACPLUS_INPUT_FLOAT
+ } aacplusInFormat;
+
+
Property changes on: trunk/audio/libaacplus/files/patch-include_aacplus.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/libaacplus/files/patch-src_Makefile.am
===================================================================
--- trunk/audio/libaacplus/files/patch-src_Makefile.am (rev 0)
+++ trunk/audio/libaacplus/files/patch-src_Makefile.am 2016-09-29 22:12:14 UTC (rev 21966)
@@ -0,0 +1,19 @@
+--- src/Makefile.am.orig 2010-11-10 21:27:41 UTC
++++ src/Makefile.am
+@@ -206,14 +206,14 @@ $(library_sources_used):
+ $(MAKE) unpack_3gp_sources
+
+ $(srcdir)/FloatFR_aacPlusenc:
+- cd $(srcdir) && $(UNZIP) 26410-800-ANSI-C_source_code.zip
++ cd $(srcdir) && /usr/bin/bsdtar xf 26410-800-ANSI-C_source_code.zip
+ mv -f $(srcdir)/3GPP_enhanced_aacPlus_src_*/FloatFR_aacPlusenc $(srcdir)
+ rm -rf $(srcdir)/3GPP_enhanced_aacPlus_src_*
+
+
+ $(srcdir)/26410-800-ANSI-C_source_code.zip: $(srcdir)/26410-800.zip
+ rm -f $(srcdir)/26410-800-ANSI-C_source_code.zip $(srcdir)/26410-800.doc
+- cd $(srcdir) && $(UNZIP) 26410-800.zip
++ cd $(srcdir) && /usr/bin/bsdtar xf 26410-800.zip
+ mv $(srcdir)/26410-800.doc $(top_srcdir)/26410-800.doc
+ chmod og-w $(top_srcdir)/26410-800.doc
+
Property changes on: trunk/audio/libaacplus/files/patch-src_Makefile.am
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/libaacplus/pkg-descr
===================================================================
--- trunk/audio/libaacplus/pkg-descr (rev 0)
+++ trunk/audio/libaacplus/pkg-descr 2016-09-29 22:12:14 UTC (rev 21966)
@@ -0,0 +1,3 @@
+HE-AAC+ Codec as Shared Library
+
+WWW: http://tipok.org.ua/node/17/
Property changes on: trunk/audio/libaacplus/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/libaacplus/pkg-plist
===================================================================
--- trunk/audio/libaacplus/pkg-plist (rev 0)
+++ trunk/audio/libaacplus/pkg-plist 2016-09-29 22:12:14 UTC (rev 21966)
@@ -0,0 +1,8 @@
+bin/aacplusenc
+include/aacplus.h
+lib/libaacplus.a
+lib/libaacplus.so
+lib/libaacplus.so.2
+lib/libaacplus.so.2.0.2
+libdata/pkgconfig/aacplus.pc
+man/man1/aacplusenc.1.gz
Property changes on: trunk/audio/libaacplus/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list