summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.gstreamer.mk18
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