diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-21 02:07:42 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-01-21 02:07:42 +0800 |
commit | 7bb597066fdbe38ed31d32b66270d267e9961cbf (patch) | |
tree | 2958969b56a4fdc1712e59dd72cd9d8eb80d1b89 /Mk | |
parent | 09e45b9d209d7b7fb26071e3dab1a5f8a8a27454 (diff) | |
download | marcuscom-ports-7bb597066fdbe38ed31d32b66270d267e9961cbf.tar marcuscom-ports-7bb597066fdbe38ed31d32b66270d267e9961cbf.tar.gz marcuscom-ports-7bb597066fdbe38ed31d32b66270d267e9961cbf.tar.bz2 marcuscom-ports-7bb597066fdbe38ed31d32b66270d267e9961cbf.tar.lz marcuscom-ports-7bb597066fdbe38ed31d32b66270d267e9961cbf.tar.xz marcuscom-ports-7bb597066fdbe38ed31d32b66270d267e9961cbf.tar.zst marcuscom-ports-7bb597066fdbe38ed31d32b66270d267e9961cbf.zip |
- Make the new BUILD/RUN_DEPENDS a little more configurable so we can version
things like gstreamer-ffmpeg.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5464 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.gstreamer.mk | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk index c9bc908d4..85eeb0b88 100644 --- a/Mk/bsd.gstreamer.mk +++ b/Mk/bsd.gstreamer.mk @@ -7,7 +7,7 @@ # Date: 4 Oct 2004 # # $FreeBSD$ -# $MCom: ports/Mk/bsd.gstreamer.mk,v 1.12 2006/01/20 16:20:05 ahze Exp $ +# $MCom: ports/Mk/bsd.gstreamer.mk,v 1.13 2006/01/20 17:51:01 ahze Exp $ .if !defined(_POSTMKINCLUDED) && !defined(Gstreamer_Pre_Include) @@ -180,6 +180,8 @@ dts_DEPENDS= multimedia/gstreamer-plugins-dts ffmpeg_DEPENDS= multimedia/gstreamer-ffmpeg ffmpeg_GST80_SUFX= # empty +ffmpeg_GST80_PREFIX= gstreamer- +ffmpeg_VERSION= 0.8.7 dv_DEPENDS= multimedia/gstreamer-plugins-dv @@ -211,13 +213,19 @@ Gstreamer_Post_Include= bsd.gstreamer.mk .for ext in ${USE_GSTREAMER80} ${ext}_GST80_SUFX?= 80 +${ext}_GST80_PREFIX?= gstreamer-plugins- +${ext}_VERSION?= ${GST80_VERSION}${GST80_MINOR_VERSION} +.endfor +.for ext in ${USE_GSTREAMER} +${ext}_GST_PREFIX?= gstreamer-plugins- +${ext}_VERSION?= ${GST_VERSION}${GST_MINOR_VERSION} .endfor .if defined(USE_GSTREAMER80) .for ext in ${USE_GSTREAMER80} . if ${_USE_GSTREAMER80_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_DEPENDS}${${ext}_GST80_SUFX}) -BUILD_DEPENDS+= gstreamer-plugins-${ext}80>=${GST80_VERSION}${GST80_MINOR_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}${${ext}_GST80_SUFX} -RUN_DEPENDS+= gstreamer-plugins-${ext}80>=${GST80_VERSION}${GST80_MINOR_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}${${ext}_GST80_SUFX} +BUILD_DEPENDS+= ${${ext}_GST80_PREFIX}${ext}${${ext}_GST80_SUFX}>=${${ext}_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}${${ext}_GST80_SUFX} +RUN_DEPENDS+= ${${ext}_GST80_PREFIX}${ext}${${ext}_GST80_SUFX}>=${${ext}_VERSION}:${PORTSDIR}/${${ext}_DEPENDS}${${ext}_GST80_SUFX} . else BROKEN= "Unknown gstreamer-plugin -- ${ext}" . endif @@ -226,8 +234,8 @@ BROKEN= "Unknown gstreamer-plugin -- ${ext}" .if defined(USE_GSTREAMER) .for ext in ${USE_GSTREAMER} . if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_DEPENDS}) -BUILD_DEPENDS+= gstreamer-plugins-${ext}>=${GST_VERSION}${GST_MINOR_VERSION}:${PORTSDIR}/${${ext}_DEPENDS} -RUN_DEPENDS+= gstreamer-plugins-${ext}>=${GST_VERSION}${GST_MINOR_VERSION}:${PORTSDIR}/${${ext}_DEPENDS} +BUILD_DEPENDS+= ${${ext}_GST_PREFIX}${ext}>=${${ext}_VERSION}:${PORTSDIR}/${${ext}_DEPENDS} +RUN_DEPENDS+= ${${ext}_GST_PREFIX}${ext}>=${${ext}_VERSION}:${PORTSDIR}/${${ext}_DEPENDS} . else BROKEN= "Unknown gstreamer-plugin -- ${ext}" . endif |