aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-11-10 01:48:47 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-11-10 01:48:47 +0000
commit1bc9fd359f4e76bf23ce607f26dda20dccb29f14 (patch)
treedfbf02860a48b599123ac07a52b0ebdfc8d191b6 /audio
parentbc96b55f4bacb35b0bf0dd9b82a070ac4626ad51 (diff)
downloadports-1bc9fd359f4e76bf23ce607f26dda20dccb29f14.tar.gz
ports-1bc9fd359f4e76bf23ce607f26dda20dccb29f14.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/faad/Makefile41
-rw-r--r--audio/faad/pkg-plist9
2 files changed, 6 insertions, 44 deletions
diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index b7cdfeb4353e..af6f4cc73b82 100644
--- a/audio/faad/Makefile
+++ b/audio/faad/Makefile
@@ -7,16 +7,17 @@
PORTNAME= faad2
PORTVERSION= 2.0
-PORTREVISION= 4
+PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= faac
MAINTAINER= ahze@FreeBSD.org
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}
@@ -31,9 +32,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}" \
@@ -48,27 +48,6 @@ WITHOUT_MPEG4IP=yes
.endif
.endif
-.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:
@@ -78,11 +57,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|' \
@@ -93,9 +68,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 fa6cc9009150..9063f2e76b8e 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