From 293de931ca3730cdd8d4b1540ce5bc672ec58370 Mon Sep 17 00:00:00 2001 From: ahze Date: Fri, 19 Nov 2004 13:38:01 +0000 Subject: Misc cleanup Add use for USE_GSTREAMER= core (multimedia/gstreamer-plugins-core) git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3086 df743ca5-7f9a-e211-a948-0013205c9059 --- Mk/bsd.gstreamer.mk | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Mk') diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk index 436fb31b7..997f83025 100644 --- a/Mk/bsd.gstreamer.mk +++ b/Mk/bsd.gstreamer.mk @@ -60,12 +60,16 @@ _USE_GSTREAMER_ALL= a52dec aalib artsd audiofile cdparanoia dirac \ smoothwave sndfile speex theora ogg pango swfdec \ vorbis xine xvid -# yes will depend on gstreamer-plugins -OTHER_GSTREAMER_PLUGINS+= yes +# other plugins +OTHER_GSTREAMER_PLUGINS+= core yes _USE_GSTREAMER_ALL+= ${OTHER_GSTREAMER_PLUGINS} +core_DEPENDS= multimedia/gstreamer-plugins-core +core_PLIST= .gstreamer-plugins-core +core_GST_EXT= .keep + yes_DEPENDS= multimedia/gstreamer-plugins -yes_PLIST= ac3parse +yes_PLIST= libgstac3parse # Audio Plugins Section a52dec_DEPENDS= audio/gstreamer-plugins-a52dec @@ -193,13 +197,14 @@ Gstreamer_Post_Include= bsd.gstreamer.mk # defined ext_PLIST="" for each port that uses auto plist .for ext in ${USE_GSTREAMER} ${ext}_PLIST?= +${ext}_GST_EXT?= .so .endfor .for ext in ${USE_GSTREAMER} . if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_DEPENDS}) . if ${${ext}_PLIST} != "" -BUILD_DEPENDS+= ${_GST_LIB_BASE}/libgst${${ext}_PLIST}.so:${PORTSDIR}/${${ext}_DEPENDS} -RUN_DEPENDS+= ${_GST_LIB_BASE}/libgst${${ext}_PLIST}.so:${PORTSDIR}/${${ext}_DEPENDS} +BUILD_DEPENDS+= ${_GST_LIB_BASE}/${${ext}_PLIST}${${ext}_GST_EXT}:${PORTSDIR}/${${ext}_DEPENDS} +RUN_DEPENDS+= ${_GST_LIB_BASE}/${${ext}_PLIST}${${ext}_GST_EXT}:${PORTSDIR}/${${ext}_DEPENDS} . else BUILD_DEPENDS+= ${_GST_LIB_BASE}/libgst${ext}.so:${PORTSDIR}/${${ext}_DEPENDS} RUN_DEPENDS+= ${_GST_LIB_BASE}/libgst${ext}.so:${PORTSDIR}/${${ext}_DEPENDS} -- cgit v1.2.3