diff options
author | grant <grant@pkgsrc.org> | 2005-05-21 03:16:23 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2005-05-21 03:16:23 +0000 |
commit | 8e3fedac0bce46e11b2644cf4317fe6b9bd1710b (patch) | |
tree | 1f6d057d33229811f3bff0bac98e3b64ec57541d /audio/xmms-faad | |
parent | 4934fae0110e7c4b191194e463c50e8cccbb5ebd (diff) | |
download | pkgsrc-8e3fedac0bce46e11b2644cf4317fe6b9bd1710b.tar.gz |
Initial import of xmms-faad 2.0 into the NetBSD packages collection.
XMMS plugin for AAC files.
Diffstat (limited to 'audio/xmms-faad')
-rw-r--r-- | audio/xmms-faad/DESCR | 1 | ||||
-rw-r--r-- | audio/xmms-faad/Makefile | 56 | ||||
-rw-r--r-- | audio/xmms-faad/PLIST | 3 | ||||
-rw-r--r-- | audio/xmms-faad/distinfo | 9 | ||||
-rw-r--r-- | audio/xmms-faad/patches/patch-aa | 16 | ||||
-rw-r--r-- | audio/xmms-faad/patches/patch-ab | 14 | ||||
-rw-r--r-- | audio/xmms-faad/patches/patch-ac | 15 | ||||
-rw-r--r-- | audio/xmms-faad/patches/patch-ad | 15 |
8 files changed, 129 insertions, 0 deletions
diff --git a/audio/xmms-faad/DESCR b/audio/xmms-faad/DESCR new file mode 100644 index 00000000000..ea1aa45dc44 --- /dev/null +++ b/audio/xmms-faad/DESCR @@ -0,0 +1 @@ +XMMS plugin for AAC files. diff --git a/audio/xmms-faad/Makefile b/audio/xmms-faad/Makefile new file mode 100644 index 00000000000..8f3efc5d08f --- /dev/null +++ b/audio/xmms-faad/Makefile @@ -0,0 +1,56 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/05/21 03:16:23 grant Exp $ + +DISTNAME= faad2-2.0 +PKGNAME= xmms-faad-2.0 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.audiocoding.com/ +COMMENT= XMMS plugin for faad + +#RESTRICTED= Dolby doesn't allow binary distributions +#NO_BIN_ON_FTP= ${RESTRICTED} +#NO_BIN_ON_CDROM= ${RESTRICTED} + +WRKSRC= ${WRKDIR}/faad2 +USE_GNU_TOOLS+= make +USE_LANGUAGES= c c++ +USE_LIBTOOL= YES +SHLIBTOOL_OVERRIDE= libtool + +AUTOMAKE_REQD= 1.4 +AUTOCONF_REQD= 2.50 +GNU_CONFIGURE= YES + +CONFIGURE_ARGS+= --with-xmms +CONFIGURE_ARGS+= --with-mp4v2 + +.include "../../mk/bsd.prefs.mk" + +pre-configure: + @${CP} ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend + for dir in . ; do \ + cd ${WRKSRC}/$$dir; \ + ${ACLOCAL} -I .; \ + ${AUTOHEADER}; \ + ${LOCALBASE}/bin/libtoolize --automake; \ + ${AUTOMAKE} --add-missing; \ + ${AUTOCONF}; \ + done + +do-build: + @cd ${WRKSRC}/plugins/xmms/src && \ + ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${BUILD_TARGET} + +do-install: + @cd ${WRKSRC}/plugins/xmms && \ + ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET} + +.include "../../audio/faad2/buildlink3.mk" +.include "../../audio/id3lib/buildlink3.mk" +.include "../../audio/xmms/buildlink3.mk" +.include "../../devel/pkgconfig/buildlink3.mk" +.include "../../x11/gtk/buildlink3.mk" +.include "../../mk/automake.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/xmms-faad/PLIST b/audio/xmms-faad/PLIST new file mode 100644 index 00000000000..23023897e06 --- /dev/null +++ b/audio/xmms-faad/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/21 03:16:23 grant Exp $ +lib/xmms/Input/libmp4.la +@comment in xmms: @dirrm lib/xmms/Input diff --git a/audio/xmms-faad/distinfo b/audio/xmms-faad/distinfo new file mode 100644 index 00000000000..4b56cdb3f5a --- /dev/null +++ b/audio/xmms-faad/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/05/21 03:16:23 grant Exp $ + +SHA1 (faad2-2.0.tar.gz) = fc9f8d0812a9f46bbd851880045131e0e4ab08b8 +RMD160 (faad2-2.0.tar.gz) = e1e4d7c96cbc3db2b9e67385062ccf5decb61f90 +Size (faad2-2.0.tar.gz) = 766660 bytes +SHA1 (patch-aa) = 85f739511bc3c1dd8776f775dd94b1b9f9f25351 +SHA1 (patch-ab) = a049439c9aaf2f3a7bf0bfabe0c9a7b2cdd23b4f +SHA1 (patch-ac) = 106ac8d138e4be37c7b69bb677e1deebb329d565 +SHA1 (patch-ad) = f90050ba166e5a7eac7b0db5e9360eecab59dba7 diff --git a/audio/xmms-faad/patches/patch-aa b/audio/xmms-faad/patches/patch-aa new file mode 100644 index 00000000000..febd130fb41 --- /dev/null +++ b/audio/xmms-faad/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/05/21 03:16:23 grant Exp $ + +--- libfaad/Makefile.am.orig 2004-02-06 13:12:28.000000000 +0000 ++++ libfaad/Makefile.am +@@ -7,8 +7,9 @@ + 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 error.h fixed.h filtbank.h \ + huffman.h ic_predict.h iq_table.h is.h kbd_win.h lt_predict.h mdct.h mp4.h \ + ms.h output.h pns.h pulse.h rvlc.h sine_win.h ssr.h ssr_fb.h ssr_ipqf.h \ diff --git a/audio/xmms-faad/patches/patch-ab b/audio/xmms-faad/patches/patch-ab new file mode 100644 index 00000000000..2cb234b5674 --- /dev/null +++ b/audio/xmms-faad/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/05/21 03:16:23 grant Exp $ + +--- frontend/Makefile.am.orig 2003-11-06 11:04:13.000000000 +0000 ++++ frontend/Makefile.am +@@ -1,7 +1,7 @@ + bin_PROGRAMS = faad + +-faad_SOURCES = main.c audio.c $(top_srcdir)/common/faad/getopt.c \ +- audio.h ++faad_SOURCES = main.c audio.c getopt.c ++faad_INCLUDES = audio.h + + AM_CFLAGS = -O2 + INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/faad \ diff --git a/audio/xmms-faad/patches/patch-ac b/audio/xmms-faad/patches/patch-ac new file mode 100644 index 00000000000..6f4c4cc8fbf --- /dev/null +++ b/audio/xmms-faad/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1.1.1 2005/05/21 03:16:23 grant Exp $ + +--- plugins/xmms/src/Makefile.am.orig 2004-02-07 03:05:07.000000000 +1100 ++++ plugins/xmms/src/Makefile.am +@@ -5,8 +5,8 @@ libmp4_la_CFLAGS = `$(XMMS_CONFIG) --cfl + `$(GTK_CONFIG) --cflags` -DHAVE_GLIB_H=1 \ + -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2 + +-libmp4_la_LIBADD = $(top_builddir)/libfaad/libfaad.la \ +- $(top_builddir)/common/mp4v2/libmp4v2.la ++LIBS = -lfaad -lmp4v2 ++CFLAGS = `$(XMMS_CONFIG) --cflags` `$(GTK_CONFIG) --cflags` -DHAVE_GLIB_H=1 + + libmp4_la_LDFLAGS = -module -avoid-version `$(XMMS_CONFIG) --libs` \ + `$(GTK_CONFIG) --libs` -lpthread -lstdc++ diff --git a/audio/xmms-faad/patches/patch-ad b/audio/xmms-faad/patches/patch-ad new file mode 100644 index 00000000000..302ae977c16 --- /dev/null +++ b/audio/xmms-faad/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1.1.1 2005/05/21 03:16:23 grant Exp $ + +--- plugins/xmms/src/libmp4.c.orig 2003-12-04 05:37:56.000000000 +1100 ++++ plugins/xmms/src/libmp4.c +@@ -8,8 +8,8 @@ + + #include <pthread.h> + #include <gtk/gtk.h> +-#include "faad.h" +-#include "mp4.h" ++#include <faad.h> ++#include <mp4.h> + + #include <xmms/plugin.h> + #include <xmms/util.h> |