diff options
-rw-r--r-- | audio/faad/Makefile | 41 | ||||
-rw-r--r-- | audio/faad/pkg-plist | 9 |
2 files changed, 6 insertions, 44 deletions
diff --git a/audio/faad/Makefile b/audio/faad/Makefile index 79a3550..c01cd4d 100644 --- a/audio/faad/Makefile +++ b/audio/faad/Makefile @@ -7,15 +7,16 @@ PORTNAME= faad2 PORTVERSION= 2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= faac MAINTAINER= ahze@ahze.net COMMENT= A LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder -LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile +LIB_DEPENDS= mp4v2.0:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 \ + sndfile.1:${PORTSDIR}/audio/libsndfile WRKSRC= ${WRKDIR}/${PORTNAME} @@ -30,9 +31,8 @@ GNU_CONFIGURE= yes USE_GMAKE= yes USE_INC_LIBTOOL_VER=13 USE_REINPLACE= yes -WANT_SDL= yes -CONFIGURE_ARGS= --with-mp4v2 --with-drm +CONFIGURE_ARGS= --with-drm CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ @@ -40,27 +40,6 @@ INSTALLS_SHLIB= yes .include <bsd.port.pre.mk> -.if defined(WITHOUT_MPEG4IP) -PLIST_SUB+= WITHOUT_MPEG4IP="" PLUGIN="@comment " -.else -LIB_DEPENDS+= mp4.0:${PORTSDIR}/multimedia/mpeg4ip -USE_SDL= sdl -PLIST_SUB+= WITHOUT_MPEG4IP="@comment " PLUGIN="" -.endif - -pre-everything:: - @${ECHO_MSG} "===>" -.if !defined(WITHOUT_MPEG4IP) - @${ECHO_MSG} "===> you can disable mpeg4ip support by" - @${ECHO_MSG} "===> defining WITHOUT_MPEG4IP" -.else - @${ECHO_MSG} "===> WARNING: WITHOUT_MPEG4IP is defined" - @${ECHO_MSG} "===> Having WITHOUT_MPEG4IP defined conflicts" - @${ECHO_MSG} "===> with multimedia/mpeg4ip and you will not" - @${ECHO_MSG} "===> be able to install mpeg4ip after you install faad2" -.endif - @${ECHO_MSG} "===>" - pre-patch: build-depends post-patch: @@ -70,11 +49,7 @@ post-patch: ${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake @${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \ ${WRKSRC}/aclocal.m4 -.if !defined(WITHOUT_MPEG4IP) - @${REINPLACE_CMD} -e 's|<SDL|<SDL11|' \ - ${WRKSRC}/plugins/mpeg4ip/faad2.cpp -.endif - @${ECHO_CMD} "SUBDIRS = libfaad common frontend plugins" > \ + @${ECHO_CMD} "SUBDIRS = libfaad common frontend" > \ ${WRKSRC}/Makefile.am .if ${OSVERSION} < 500000 @${REINPLACE_CMD} -e 's|stdint.h|sys/inttypes.h|' \ @@ -85,9 +60,5 @@ post-patch: ${XARGS} -n 5 -x \ ${REINPLACE_CMD} -e \ 's|-O2|${CFLAGS}|' -post-install: -.if defined(WITHOUT_MPEG4IP) - @${INSTALL_DATA} ${WRKSRC}/common/mp4v2/systems.h ${PREFIX}/include -.endif .include <bsd.port.post.mk> diff --git a/audio/faad/pkg-plist b/audio/faad/pkg-plist index fa6cc90..9063f2e 100644 --- a/audio/faad/pkg-plist +++ b/audio/faad/pkg-plist @@ -7,12 +7,3 @@ lib/libfaad.so.0 lib/libmp4ff.a lib/libmp4ff.so lib/libmp4ff.so.0 -%%PLUGIN%%lib/mp4player_plugin/faad2_plugin.a -%%PLUGIN%%lib/mp4player_plugin/faad2_plugin.so -%%PLUGIN%%lib/mp4player_plugin/faad2_plugin.so.0 -%%WITHOUT_MPEG4IP%%include/mp4.h -%%WITHOUT_MPEG4IP%%include/mpeg4ip.h -%%WITHOUT_MPEG4IP%%include/systems.h -%%WITHOUT_MPEG4IP%%lib/libmp4v2.a -%%WITHOUT_MPEG4IP%%lib/libmp4v2.so -%%WITHOUT_MPEG4IP%%lib/libmp4v2.so.0 |