diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-03-04 07:30:14 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-03-04 07:30:14 +0000 |
commit | 21a719b1d7397fd7d86cd970361f87b1186d859d (patch) | |
tree | e24d581ad836ee024c82e836e27f0fa636a97800 /multimedia | |
parent | Upgrade to 20050302. (diff) |
- add a knob, WITHOUT_DVD, to disable dvd plugins
Notes
Notes:
svn path=/head/; revision=130326
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer-plugins-core/Makefile | 17 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins-core80/Makefile | 17 |
2 files changed, 30 insertions, 4 deletions
diff --git a/multimedia/gstreamer-plugins-core/Makefile b/multimedia/gstreamer-plugins-core/Makefile index c02906679221..84861f3d1f46 100644 --- a/multimedia/gstreamer-plugins-core/Makefile +++ b/multimedia/gstreamer-plugins-core/Makefile @@ -23,13 +23,26 @@ GST_DIR= lib/gstreamer-${PORTVERSION} PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep # Audio plugins -USE_GSTREAMER+= a52dec mad vorbis +USE_GSTREAMER+= mad vorbis # Graphics plugins USE_GSTREAMER+= libpng # Multimedia plugins -USE_GSTREAMER+= ffmpeg dts dvd xvid +USE_GSTREAMER+= ffmpeg xvid + +.if !defined(WITHOUT_DVD) +# Audio plugins +USE_GSTREAMER+= a52dec + +# Multimedia plugins +USE_GSTREAMER+= dts dvd +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " Disable DVD plugins by defining WITHOUT_DVD" + @${ECHO_MSG} "" do-install: if [ ! -d ${PREFIX}/${GST_DIR} ]; then \ diff --git a/multimedia/gstreamer-plugins-core80/Makefile b/multimedia/gstreamer-plugins-core80/Makefile index c02906679221..84861f3d1f46 100644 --- a/multimedia/gstreamer-plugins-core80/Makefile +++ b/multimedia/gstreamer-plugins-core80/Makefile @@ -23,13 +23,26 @@ GST_DIR= lib/gstreamer-${PORTVERSION} PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep # Audio plugins -USE_GSTREAMER+= a52dec mad vorbis +USE_GSTREAMER+= mad vorbis # Graphics plugins USE_GSTREAMER+= libpng # Multimedia plugins -USE_GSTREAMER+= ffmpeg dts dvd xvid +USE_GSTREAMER+= ffmpeg xvid + +.if !defined(WITHOUT_DVD) +# Audio plugins +USE_GSTREAMER+= a52dec + +# Multimedia plugins +USE_GSTREAMER+= dts dvd +.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " Disable DVD plugins by defining WITHOUT_DVD" + @${ECHO_MSG} "" do-install: if [ ! -d ${PREFIX}/${GST_DIR} ]; then \ |