summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-09-22 19:54:42 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-09-22 19:54:42 +0000
commit996945ce117d2bc0ca43695d89704d913fe02d92 (patch)
tree24d79244767b9fb899fd765ef440012c67e6064a /multimedia
parentUpdate to pam_alreadyloggedin-0.3 to unbreak. There should be no (diff)
* 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)
Notes
Notes: svn path=/head/; revision=118345
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer/Makefile22
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>|' \