Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

9
audio/faad2/DESCR Normal file
View File

@@ -0,0 +1,9 @@
FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type
AAC files.
There is a stable version of FAAD2 available, source code can be
downloaded on the download page. The advantage of this new library
is the lack of copyrighted code written by third parties. Further
it is coded much cleaner and will give a much better understanding
of the AAC coding algorithms.

37
audio/faad2/Makefile Normal file
View File

@@ -0,0 +1,37 @@
# $NetBSD: Makefile,v 1.47 2012/09/11 23:59:32 asau Exp $
DISTNAME= faad2-2.7
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.audiocoding.com/
COMMENT= AAC decoding library
LICENSE= gnu-gpl-v2
RESTRICTED= Dolby doesn't allow binary distributions
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
USE_TOOLS+= autoconf automake autoreconf gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
AUTOCONF_REQD= 2.50
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/faad2
LIBS+= -lm
CPPFLAGS.SunOS+=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1
post-extract:
mv ${WRKSRC}/frontend/faad.man ${WRKSRC}/frontend/faad.1
pre-configure:
cp ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend
cd ${WRKSRC} && autoreconf -if
.include "../../mk/bsd.pkg.mk"

10
audio/faad2/PLIST Normal file
View File

@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.14 2009/08/11 11:16:37 drochner Exp $
bin/faad
include/faad2/faad.h
include/faad2/faad2-config.h
include/faad2/mp4ff_int_types.h
include/faad2/mp4ff.h
include/faad2/neaacdec.h
lib/libfaad.la
lib/libmp4ff.la
man/man1/faad.1

14
audio/faad2/buildlink3.mk Normal file
View File

@@ -0,0 +1,14 @@
# $NetBSD: buildlink3.mk,v 1.14 2012/05/07 01:53:13 dholland Exp $
BUILDLINK_TREE+= faad2
.if !defined(FAAD2_BUILDLINK3_MK)
FAAD2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.faad2+= faad2>=2.6.1
BUILDLINK_ABI_DEPENDS.faad2+= faad2>=2.6.1
BUILDLINK_PKGSRCDIR.faad2?= ../../audio/faad2
BUILDLINK_INCDIRS.faad2?= include/faad2
.endif # FAAD2_BUILDLINK3_MK
BUILDLINK_TREE+= -faad2

16
audio/faad2/distinfo Normal file
View File

@@ -0,0 +1,16 @@
$NetBSD: distinfo,v 1.22 2013/01/21 16:02:34 wiz Exp $
SHA1 (faad2-2.7.tar.gz) = 80eaaa5cc576c35dd28863767b795c50cbcc0511
RMD160 (faad2-2.7.tar.gz) = 3f0ca461e2953014d5b17edccb3337767d478b8d
Size (faad2-2.7.tar.gz) = 1137407 bytes
SHA1 (patch-aa) = e3bf0fc44569b05295bc6b682bb14a4ca36681dd
SHA1 (patch-ab) = e443484f19dfcc58d424401842d4747762d631e4
SHA1 (patch-ac) = d63833cfd80d7772b66b5f4912abb55a4d9dc435
SHA1 (patch-ad) = 949336b6963c1d01f35a8447c988ee21c4905104
SHA1 (patch-af) = 388921b81fc710ccbe64d55cb915e2332e0d7e51
SHA1 (patch-aj) = 06a8641803fdae5055f66255c57634b8f8619a77
SHA1 (patch-ak) = 7d1c3dedf78a40da2ee85787d51c37d1578d24de
SHA1 (patch-ar) = 6b65f8fb3970df3ba292e58f201fa941a1458f40
SHA1 (patch-as) = 1626b7a4e696862c365740c6b29f786662c9d845
SHA1 (patch-au) = a56ec5238179f0ba59e64a8b516b2bbc6dcd4efb
SHA1 (patch-av) = c393ec95e17a2f702792c2e673df1422732ea0f6

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-aa,v 1.5 2009/08/10 00:01:56 tnn Exp $
--- libfaad/Makefile.am.orig 2009-02-05 01:51:03.000000000 +0100
+++ libfaad/Makefile.am
@@ -14,8 +14,8 @@ libfaad_la_SOURCES = bits.c cfft.c decod
pulse.c specrec.c syntax.c tns.c hcr.c huffman.c \
rvlc.c ssr.c ssr_fb.c ssr_ipqf.c common.c \
sbr_dct.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c \
- sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c \
- analysis.h bits.h cfft.h cfft_tab.h common.h \
+ sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c sbr_dec.c
+libfaad_la_INCLUDES = analysis.h bits.h cfft.h cfft_tab.h common.h \
decoder.h drc.h drm_dec.h error.h fixed.h filtbank.h \
huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h \
mdct.h mdct_tab.h mp4.h ms.h output.h pns.h ps_dec.h ps_tables.h \

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-ab,v 1.5 2009/08/11 11:16:38 drochner Exp $
--- frontend/Makefile.am.orig 2009-02-06 17:03:37.000000000 +0100
+++ frontend/Makefile.am
@@ -1,12 +1,14 @@
bin_PROGRAMS = faad
-man_MANS = faad.man
+man_MANS = faad.1
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \
-I$(top_srcdir)/common/mp4ff
faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
- $(top_builddir)/common/mp4ff/libmp4ff.a
+ $(top_builddir)/common/mp4ff/libmp4ff.la
faad_SOURCES = main.c \
- audio.c audio.h \
- $(top_srcdir)/common/faad/getopt.c
+ audio.c \
+ getopt.c
+
+faad_INCLUDES = audio.h

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ac,v 1.6 2007/12/09 10:55:31 drochner Exp $
--- Makefile.am.orig 2004-07-27 10:52:20.000000000 +0200
+++ Makefile.am
@@ -1,7 +1,9 @@
-SUBDIRS = libfaad common frontend plugins
+SUBDIRS = libfaad common frontend include
EXTRA_DIST = faad2.spec
+include_HEADERS = faad2-config.h
+
rpm: Makefile
make dist
$(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-ad,v 1.4 2009/08/10 00:01:56 tnn Exp $
--- libfaad/common.h.orig 2009-02-05 01:51:03.000000000 +0100
+++ libfaad/common.h
@@ -41,7 +41,7 @@ extern "C" {
#include "neaacdec.h"
-#if 1
+#if 0
#define INLINE __inline
#else
#define INLINE inline
@@ -330,7 +330,7 @@ char *strchr(), *strrchr();
#ifndef HAVE_LRINTF
#define HAS_LRINTF
// from http://www.stereopsis.com/FPU.html
- static INLINE int lrintf(float f)
+ static INLINE long int lrintf(float f)
{
int i;
__asm__ __volatile__ (

View File

@@ -0,0 +1,23 @@
$NetBSD: patch-af,v 1.4 2009/08/11 11:16:38 drochner Exp $
--- common/mp4ff/mp4ff_int_types.h.orig 2008-11-24 22:52:45.000000000 +0100
+++ common/mp4ff/mp4ff_int_types.h
@@ -19,7 +19,18 @@ typedef unsigned __int64 uint64_t;
#else
+#include "faad2-config.h"
+
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#if HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+#if HAVE_STDINT_H
#include <stdint.h>
+#endif
+
#endif

View File

@@ -0,0 +1,6 @@
$NetBSD: patch-aj,v 1.1 2005/10/06 13:13:28 ben Exp $
--- /dev/null 2005-10-05 21:10:17.000000000 -0700
+++ include/Makefile.am 2005-10-05 21:10:37.000000000 -0700
@@ -0,0 +1 @@
+include_HEADERS = faad.h

View File

@@ -0,0 +1,33 @@
$NetBSD: patch-ak,v 1.6 2013/01/21 16:02:34 wiz Exp $
Second chunk: automake-1.13 compat.
--- configure.in.orig 2009-02-05 00:51:03.000000000 +0000
+++ configure.in
@@ -9,7 +9,7 @@ dnl - mpeg4ip plugin (requires mpeg4ip's
AC_INIT
AC_CONFIG_AUX_DIR(.)
-AM_INIT_AUTOMAKE(faad2, 2.7.0)
+AM_INIT_AUTOMAKE(faad2, 2.7.0, do-not-define-PACKAGE-or-VERSION)
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
@@ -25,7 +25,7 @@ AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_CHECK_PROGS(RPMBUILD, rpmbuild, rpm)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADER(config.h)
AC_ARG_WITH(xmms,[ --with-xmms compile XMMS-1 plugin],
WITHXMMS=$withval, WITHXMMS=no)
@@ -163,6 +163,8 @@ AC_CONFIG_FILES(plugins/xmms/src/Makefil
AC_CONFIG_FILES(plugins/mpeg4ip/Makefile)
AC_CONFIG_FILES(faad2.spec)
AC_CONFIG_FILES(frontend/Makefile)
+AC_CONFIG_FILES(include/Makefile)
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
+cp config.h faad2-config.h

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ar,v 1.5 2009/08/11 11:16:38 drochner Exp $
--- plugins/xmms/src/Makefile.am.orig 2009-01-26 23:51:44.000000000 +0100
+++ plugins/xmms/src/Makefile.am
@@ -6,9 +6,8 @@ lib_LTLIBRARIES = libmp4.la
libmp4_la_CFLAGS = $(local_CFLAGS) -Wall \
-I$(top_srcdir)/include -I$(top_srcdir)/common/mp4ff
-libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \
- $(top_builddir)/common/mp4ff/libmp4ff.a
+libmp4_la_LIBADD = -L$(prefix)/lib -lmp4ff -lfaad
-libmp4_la_LDFLAGS = -module -avoid-version $(local_LDFLAGS) -lpthread
+libmp4_la_LDFLAGS = -module -avoid-version $(local_LDFLAGS) ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
libmp4_la_SOURCES = libmp4.c mp4_utils.c aac_utils.c

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-as,v 1.2 2007/12/09 10:55:37 drochner Exp $
--- plugins/xmms/src/libmp4.c.orig 2007-06-05 21:00:18.000000000 +0200
+++ plugins/xmms/src/libmp4.c
@@ -23,7 +23,7 @@
#include <xmms/titlestring.h>
#endif /*HAVE_BMP*/
-#include "neaacdec.h"
+#include <neaacdec.h>
#include "mp4ff.h"
#define MP4_DESCRIPTION "MP4 & MPEG2/4-AAC audio player - 1.2.x"

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-au,v 1.3 2009/08/11 11:16:38 drochner Exp $
--- common/mp4ff/Makefile.am.orig 2009-02-06 15:24:21.000000000 +0100
+++ common/mp4ff/Makefile.am
@@ -1,7 +1,7 @@
-lib_LIBRARIES = libmp4ff.a
-include_HEADERS = mp4ff.h mp4ffint.h
+lib_LTLIBRARIES = libmp4ff.la
+include_HEADERS = mp4ff.h mp4ff_int_types.h
-libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
+libmp4ff_la_CFLAGS = -DUSE_TAGGING=1
-libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
- mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
+libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c mp4tagupdate.c
+
+libmp4ff_la_INCLUDES= mp4ff.h mp4ffint.h mp4ff_int_types.h

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-av,v 1.3 2009/08/11 11:16:38 drochner Exp $
--- ./common/mp4ff/mp4ff.h.orig 2009-01-29 01:41:08.000000000 +0100
+++ ./common/mp4ff/mp4ff.h
@@ -35,11 +35,7 @@
extern "C" {
#endif /* __cplusplus */
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#else
#include "mp4ff_int_types.h"
-#endif
/* file callback structure */
typedef struct