aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgblach <gblach@FreeBSD.org>2013-03-03 19:21:26 +0800
committergblach <gblach@FreeBSD.org>2013-03-03 19:21:26 +0800
commit650076ba23f80bea103de19af12e10d4ff1f5aa6 (patch)
treebe2269e6eb00aca1f3672bb502f1d24e853fc388
parentcda02fbdfdbb6771d0968af72b88ec7f49398663 (diff)
downloadfreebsd-ports-gnome-650076ba23f80bea103de19af12e10d4ff1f5aa6.tar.gz
freebsd-ports-gnome-650076ba23f80bea103de19af12e10d4ff1f5aa6.tar.zst
freebsd-ports-gnome-650076ba23f80bea103de19af12e10d4ff1f5aa6.zip
- Always enable dvdread
PR: ports/176604 Approved by: crees (mentor)
-rw-r--r--multimedia/mplayer2/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/multimedia/mplayer2/Makefile b/multimedia/mplayer2/Makefile
index 6cd973865d45..33a31b0120e5 100644
--- a/multimedia/mplayer2/Makefile
+++ b/multimedia/mplayer2/Makefile
@@ -11,7 +11,8 @@ COMMENT= Advanced general-purpose video player
LICENSE= GPLv2
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
- freetype:${PORTSDIR}/print/freetype2
+ freetype:${PORTSDIR}/print/freetype2 \
+ dvdread:${PORTSDIR}/multimedia/libdvdread
BUILD_DEPENDS= ffmpeg1:${PORTSDIR}/multimedia/ffmpeg1 \
rst2man:${PORTSDIR}/textproc/py-docutils
RUN_DEPENDS= ffmpeg1:${PORTSDIR}/multimedia/ffmpeg1
@@ -49,18 +50,17 @@ MPLAYER2_PORT_VERSION= 2.0.${MPLAYER2_SNAPSHOT_DATE:S/-//g}
MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= DEBUG RTC IPV6 SMB JOYSTICK \
- DVDREAD LIBBLURAY V4L DV THEORA \
+ LIBBLURAY V4L DV THEORA \
X11 XINERAMA OPENGL SDL VDPAU GIF CACA \
MAD SPEEX LIBCDIO LADSPA REALPLAYER \
JACK PULSE PORTAUDIO ASS LIRC
-OPTIONS_DEFAULT=DVDREAD X11 ASS
+OPTIONS_DEFAULT=X11 ASS
.if !defined(PACKAGE_BUILDING)
OPTIONS_DEFINE+= WIN32
OPTIONS_DEFAULT+= WIN32
.endif
-DVDREAD_DESC= Enable dvdread support
RTC_DESC= Enable kernel realtime clock timing
PULSE_DESC= Enable PulseAudio support
THEORA_DESC= Enable ogg theora video support
@@ -166,13 +166,6 @@ LIB_DEPENDS+= bluray:${PORTSDIR}/multimedia/libbluray
CONFIGURE_ARGS+= --disable-bluray
.endif
-.if ${PORT_OPTIONS:MDVDREAD}
-LIB_DEPENDS+= dvdread:${PORTSDIR}/multimedia/libdvdread
-CONFIGURE_ARGS+= --enable-dvdread
-.else
-CONFIGURE_ARGS+= --disable-dvdread
-.endif
-
.if ${PORT_OPTIONS:MSMB}
LIB_DEPENDS+= smbclient:${PORTSDIR}/net/samba-libsmbclient
.else