From a7aacb759d70ea142cf0565ef13e7ebad8b14aed Mon Sep 17 00:00:00 2001 From: pav Date: Sun, 16 Nov 2003 22:02:08 +0000 Subject: - Add output plugins for speex and xvid to Makefile/pkg-plist magic - Add missing header file needed for xvid plugin to build git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1338 df743ca5-7f9a-e211-a948-0013205c9059 --- multimedia/gstreamer-plugins/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'multimedia/gstreamer-plugins/Makefile') diff --git a/multimedia/gstreamer-plugins/Makefile b/multimedia/gstreamer-plugins/Makefile index 0597f45c7..6ef327300 100644 --- a/multimedia/gstreamer-plugins/Makefile +++ b/multimedia/gstreamer-plugins/Makefile @@ -277,6 +277,11 @@ WITH_VORBIS=yes #WITH_XMMS=yes .endif +# xvid +.if exists(${LOCALBASE}/lib/libxvidcore.so.2) +WITH_XVID=yes +.endif + ## ## control CONFIGURE options ## @@ -589,6 +594,15 @@ CONFIGURE_ENV+= SDL_CONFIG=${SDL_CONFIG} PLIST_SUB+= SDL="" .endif +# speex +.ifndef(WITH_SPEEX) +CONFIGURE_ARGS+= --disable-speex +PLIST_SUB+= SPEEX="@comment " +.else +LIB_DEPENDS+= speex.2:${PORTSDIR}/audio/speex +PLIST_SUB+= SPEEX="" +.endif + # swfdec .ifndef(WITH_SWFDEC) CONFIGURE_ARGS+= --disable-swfdec @@ -627,6 +641,15 @@ CONFIGURE_ENV+= XMMS_CONFIG=${XMMS_CONFIG} PLIST_SUB+= XMMS="" .endif +# xvid +.ifndef(WITH_XVID) +CONFIGURE_ARGS+= --disable-xvid +PLIST_SUB+= XVID="@comment " +.else +LIB_DEPENDS+= xvidcore.2:${PORTSDIR}/multimedia/xvid +PLIST_SUB+= XVID="" +.endif + pre-everything:: .ifndef(WITH_AALIB) @${ECHO_MSG} '===>' @@ -756,5 +779,9 @@ pre-everything:: @${ECHO_MSG} '===>' @${ECHO_MSG} '===> Define WITH_XMMS to enable xmms Audio plugin' .endif +.ifndef(WITH_XVID) + @${ECHO_MSG} '===>' + @${ECHO_MSG} '===> Define WITH_XVID to enable xvid Video plgin' +.endif .include -- cgit v1.2.3