diff options
author | ahze <ahze@FreeBSD.org> | 2005-03-19 08:34:40 +0000 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-03-19 08:34:40 +0000 |
commit | e946f7dd5b103e6fcbbce0c73f7e65503fc64eeb (patch) | |
tree | 0bf06185f0d6eb8a975dae3722c9f6f6a56a4ab0 /multimedia | |
parent | 049adc0607436a8980d45d4585d939ecf38cc552 (diff) | |
download | FreeBSD-ports-e946f7dd5b103e6fcbbce0c73f7e65503fc64eeb.zip FreeBSD-ports-e946f7dd5b103e6fcbbce0c73f7e65503fc64eeb.tar.gz |
- Disable XVID support by default on 4.x because
xvid wants gcc 3.x. Xvid support can be enabled
with WITH_XVID knob.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer-plugins-core/Makefile | 18 | ||||
-rw-r--r-- | multimedia/gstreamer-plugins-core80/Makefile | 18 |
2 files changed, 30 insertions, 6 deletions
diff --git a/multimedia/gstreamer-plugins-core/Makefile b/multimedia/gstreamer-plugins-core/Makefile index 84861f3..2bec73c 100644 --- a/multimedia/gstreamer-plugins-core/Makefile +++ b/multimedia/gstreamer-plugins-core/Makefile @@ -22,14 +22,22 @@ NO_BUILD= yes GST_DIR= lib/gstreamer-${PORTVERSION} PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep +WANT_GSTREAMER= yes + +.include <bsd.port.pre.mk> + # Audio plugins -USE_GSTREAMER+= mad vorbis +USE_GSTREAMER+= mad vorbis # Graphics plugins USE_GSTREAMER+= libpng # Multimedia plugins -USE_GSTREAMER+= ffmpeg xvid +USE_GSTREAMER+= ffmpeg + +.if ${OSVERSION} > 500035 || defined(WITH_XVID) +USE_GSTREAMER+= xvid +.endif .if !defined(WITHOUT_DVD) # Audio plugins @@ -43,6 +51,10 @@ pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} " Disable DVD plugins by defining WITHOUT_DVD" @${ECHO_MSG} "" +.if ${OSVERSION} < 500035 && !defined(WITH_XVID) + @${ECHO_MSG} " Enable XVID plugins by defining WITH_XVID" + @${ECHO_MSG} "" +.endif do-install: if [ ! -d ${PREFIX}/${GST_DIR} ]; then \ @@ -50,4 +62,4 @@ do-install: fi ${TOUCH} -f ${PREFIX}/${GST_DIR}/.gstreamer-plugins-core.keep -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/multimedia/gstreamer-plugins-core80/Makefile b/multimedia/gstreamer-plugins-core80/Makefile index 84861f3..2bec73c 100644 --- a/multimedia/gstreamer-plugins-core80/Makefile +++ b/multimedia/gstreamer-plugins-core80/Makefile @@ -22,14 +22,22 @@ NO_BUILD= yes GST_DIR= lib/gstreamer-${PORTVERSION} PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep +WANT_GSTREAMER= yes + +.include <bsd.port.pre.mk> + # Audio plugins -USE_GSTREAMER+= mad vorbis +USE_GSTREAMER+= mad vorbis # Graphics plugins USE_GSTREAMER+= libpng # Multimedia plugins -USE_GSTREAMER+= ffmpeg xvid +USE_GSTREAMER+= ffmpeg + +.if ${OSVERSION} > 500035 || defined(WITH_XVID) +USE_GSTREAMER+= xvid +.endif .if !defined(WITHOUT_DVD) # Audio plugins @@ -43,6 +51,10 @@ pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} " Disable DVD plugins by defining WITHOUT_DVD" @${ECHO_MSG} "" +.if ${OSVERSION} < 500035 && !defined(WITH_XVID) + @${ECHO_MSG} " Enable XVID plugins by defining WITH_XVID" + @${ECHO_MSG} "" +.endif do-install: if [ ! -d ${PREFIX}/${GST_DIR} ]; then \ @@ -50,4 +62,4 @@ do-install: fi ${TOUCH} -f ${PREFIX}/${GST_DIR}/.gstreamer-plugins-core.keep -.include <bsd.port.mk> +.include <bsd.port.post.mk> |