Index: head/audio/xmms-faad/Makefile.inc =================================================================== --- head/audio/xmms-faad/Makefile.inc (revision 383824) +++ head/audio/xmms-faad/Makefile.inc (nonexistent) @@ -1,39 +0,0 @@ -# $FreeBSD$ - -PORTNAME= faad2 -PORTVERSION= 2.7 -PORTREVISION= 4 -CATEGORIES= audio -MASTER_SITES= SF/faac/${PORTNAME}-src/${PORTNAME}-${PORTVERSION} - -BUILD_DEPENDS= faad2>=2.7:${PORTSDIR}/audio/faad -RUN_DEPENDS= faad2>=2.7:${PORTSDIR}/audio/faad - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/plugins/xmms/src - -USES+= pkgconfig tar:bzip2 -WANT_GNOME= yes - -DESCR= ${PORTSDIR}/audio/faad/pkg-descr -PLIST_FILES= ${PLUGINS_DIR:S,^${PREFIX}/,,}/libmp4.so - -.if ${PKGNAMEPREFIX} == "xmms-" -LIB_DEPENDS+= libxmms.so:${PORTSDIR}/multimedia/xmms -USE_GNOME+= gtk12 -PLUGINS_DIR= ${PREFIX}/lib/xmms/Input -EXTRA_CFLAGS= `xmms-config --cflags` -EXTRA_LDFLAGS+= `xmms-config --libs` -.endif - -do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -shared \ - -I${LOCALBASE}/include -DHAVE_STDINT_H \ - ${EXTRA_CFLAGS} *.c -o libmp4.so \ - -L${LOCALBASE}/lib -lfaad -lmp4ff \ - ${EXTRA_LDFLAGS} - -do-install: - @${MKDIR} ${STAGEDIR}${PLUGINS_DIR} - cd ${WRKSRC}; ${INSTALL_LIB} libmp4.so ${STAGEDIR}${PLUGINS_DIR} - -.include Property changes on: head/audio/xmms-faad/Makefile.inc ___________________________________________________________________ Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:keywords ## -1 +0,0 ## -FreeBSD=%H \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/xmms-faad/Makefile =================================================================== --- head/audio/xmms-faad/Makefile (revision 383824) +++ head/audio/xmms-faad/Makefile (revision 383825) @@ -1,11 +1,39 @@ # Created by: David Yeske # $FreeBSD$ +PORTNAME= faad2 +PORTVERSION= 2.7 +PORTREVISION= 5 +CATEGORIES= audio +MASTER_SITES= SF/faac/${PORTNAME}-src/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= xmms- MAINTAINER= naddy@FreeBSD.org -COMMENT= XMMS plugin for faad +COMMENT= XMMS plugin for MP4/M4A/AAC files -MASTERDIR= ${.CURDIR} +LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms \ + libfaad.so:${PORTSDIR}/audio/faad -.include "${MASTERDIR}/Makefile.inc" +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/plugins/xmms/src + +USE_GNOME= gtk12 +USES= pkgconfig tar:bzip2 +WANT_GNOME= yes +EXTRA_CFLAGS= `xmms-config --cflags` +EXTRA_LDFLAGS= `xmms-config --libs` + +PLUGINS_DIR= ${PREFIX}/lib/xmms/Input +PLIST_FILES= ${PLUGINS_DIR:S,^${PREFIX}/,,}/libmp4.so + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -shared \ + -I${LOCALBASE}/include -DHAVE_STDINT_H \ + ${EXTRA_CFLAGS} *.c -o libmp4.so \ + -L${LOCALBASE}/lib -lfaad -lmp4ff \ + ${EXTRA_LDFLAGS} + +do-install: + @${MKDIR} ${STAGEDIR}${PLUGINS_DIR} + cd ${WRKSRC}; ${INSTALL_LIB} libmp4.so ${STAGEDIR}${PLUGINS_DIR} + +.include Index: head/audio/xmms-faad/files/patch-mp4_utils.c =================================================================== --- head/audio/xmms-faad/files/patch-mp4_utils.c (revision 383824) +++ head/audio/xmms-faad/files/patch-mp4_utils.c (revision 383825) @@ -1,26 +1,11 @@ ---- mp4_utils.c.orig 2004-10-18 05:44:51.000000000 +0900 -+++ mp4_utils.c 2009-02-12 02:53:15.000000000 +0900 -@@ -3,15 +3,22 @@ +--- mp4_utils.c.orig 2004-10-17 20:44:51 UTC ++++ mp4_utils.c +@@ -3,7 +3,7 @@ */ #include "mp4ff.h" -#include "faad.h" +#include "neaacdec.h" #include #include - #include - #include -+ -+#if defined(HAVE_BMP) -+#include -+#include -+#include -+#else - #include - #include - #include -+#endif /*HAVE_BMP*/ - - const char *mp4AudioNames[]= - { Index: head/audio/xmms-faad/pkg-descr =================================================================== --- head/audio/xmms-faad/pkg-descr (nonexistent) +++ head/audio/xmms-faad/pkg-descr (revision 383825) @@ -0,0 +1,9 @@ +FAAD2 (Freeware Advanced Audio Decoder) is an MPEG-2, MPEG-4 AAC decoder. + +FAAD2 is the fastest ISO AAC audio decoder available and can be used with +DRM (Digital Radio Mondiale), and supports HE (High Efficiency), Main, +LC, LD, LTP, PS (Parametric Stereo) AAC files. + +This is an XMMS plugin for playing MPEG-4 AAC files. + +WWW: http://www.audiocoding.com/ Property changes on: head/audio/xmms-faad/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property 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