diff options
author | marcus <marcus@FreeBSD.org> | 2004-09-23 03:54:42 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-09-23 03:54:42 +0800 |
commit | 9203752546dfa8435367abdcb344380712fc206c (patch) | |
tree | b3df15bed08b99280f3de242ae47064d6cf1ea07 /multimedia | |
parent | 9e4359a68235588e3ae8c10e0f010f73375dfaf9 (diff) | |
download | freebsd-ports-gnome-9203752546dfa8435367abdcb344380712fc206c.tar.gz freebsd-ports-gnome-9203752546dfa8435367abdcb344380712fc206c.tar.zst freebsd-ports-gnome-9203752546dfa8435367abdcb344380712fc206c.zip |
* Deactivate libtremor due to unresolved build problems
* Consistency of man page after patching DEFAULT_{DVD,CDROM}_DEVICE
(reported by Andra Albsmeier <andre.albsmeier@siemens.com>)
* Change PATCH_SITES to fix unfetchable distfile for GTK2 patch
(thanks to michael johnson <ahze@ahze.net> for reporting this)
PR: 71542
Submitted by: maintainer
Approved by: portmgr (implicit)
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mplayer/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index 8acf09221411..4f5e744933e5 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -165,6 +165,7 @@ # default: autodetect # By setting this option mplayer will use libtremor (integer only vorbis # decoding lib) instead of libvorbis even if libvorbis is installed. +# Note: This is disabled at the moment due to unresolved build problems # # WITH_SDL # default: autodetect @@ -244,7 +245,8 @@ DISTNAME= MPlayer-1.0pre5 MAINTAINER= riggs@rrr.de COMMENT= High performance media player/encoder supporting many formats -PATCH_SITES= http://homepages.ius.edu/CJEZELL/patches/ +PATCH_SITES= http://www.win.net/~ardneh/patches/ \ + http://www.rrr.de/~riggs/mplayer/ PATCH_DIST_STRIP= -p1 LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png @@ -266,7 +268,8 @@ CONFIGURE_ARGS= --with-extralibdir=${LOCALBASE}/lib \ --disable-libfame \ --disable-external-faad \ --disable-tv-v4l \ - --disable-caca + --disable-caca \ + --disable-tremor .if defined(WITH_LANG) CONFIGURE_ARGS+=--language=${WITH_LANG} @@ -519,12 +522,12 @@ LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib LIB_DEPENDS+= theora.0:${PORTSDIR}/graphics/libtheora .endif -.if defined(WITH_TREMOR) -LIB_DEPENDS+= vorbisidec.1:${PORTSDIR}/audio/libtremor -CONFIGURE_ARGS+= --enable-tremor -.else -CONFIGURE_ARGS+= --disable-tremor -.endif +#.if defined(WITH_TREMOR) +#LIB_DEPENDS+= vorbisidec.1:${PORTSDIR}/audio/libtremor +#CONFIGURE_ARGS+= --enable-tremor +#.else +#CONFIGURE_ARGS+= --disable-tremor +#.endif .if defined(WITH_SDL) USE_SDL= sdl @@ -695,6 +698,9 @@ post-patch: @${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|; \ s|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \ ${WRKSRC}/${CONFIGURE_SCRIPT} + @${FIND} ${WRKSRC}/DOCS/man -name "mplayer.1" | ${XARGS} ${REINPLACE_CMD} -E -e \ + 's|/dev/\\:(dvd[[:alnum:]]*[[:>:]])|${DEFAULT_DVD_DEVICE:S/dev\//dev\/\\\:/}|g ; \ + s|/dev/\\:(cdrom[[:alnum:]]*[[:>:]])|${DEFAULT_CDROM_DEVICE:S/dev\//dev\/\\\:/}|g' .if defined(WITH_RTC) @${REINPLACE_CMD} -e \ 's|<linux/rtc.h>|<rtc.h>|' \ |