summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-02-20 11:33:21 +0000
committerjmmv <jmmv@pkgsrc.org>2004-02-20 11:33:21 +0000
commitb9011713d34ff7d59ba14309f54497930806c8ac (patch)
treecb990ccb0efbb93f94a8e799115858b6630d302e
parentc5a22477b61106c4c247d7d15ff147a9f5230122 (diff)
downloadpkgsrc-b9011713d34ff7d59ba14309f54497930806c8ac.tar.gz
bl3ify
-rw-r--r--multimedia/gst-plugins/Makefile46
-rw-r--r--multimedia/gst-plugins/buildlink3.mk22
2 files changed, 45 insertions, 23 deletions
diff --git a/multimedia/gst-plugins/Makefile b/multimedia/gst-plugins/Makefile
index e834bfbb7f6..896b5d45b1d 100644
--- a/multimedia/gst-plugins/Makefile
+++ b/multimedia/gst-plugins/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/02/14 18:26:28 jmmv Exp $
+# $NetBSD: Makefile,v 1.10 2004/02/20 11:33:21 jmmv Exp $
#
DISTNAME= gst-plugins-0.6.4
@@ -13,7 +13,7 @@ COMMENT= gstreamer plugins
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_GNU_TOOLS+= make
USE_X11= yes
@@ -42,26 +42,26 @@ SUBST_SED.devoss= -e 's|/dev/dsp|${DEVOSSAUDIO}|g'
pre-install:
${ECHO} "install:" >${WRKSRC}/gst-libs/ext/ffmpeg/Makefile
-.include "../../audio/cdparanoia/buildlink2.mk"
-.include "../../audio/flac/buildlink2.mk"
-.include "../../audio/gsm/buildlink2.mk"
-.include "../../audio/libid3tag/buildlink2.mk"
-.include "../../audio/lame/buildlink2.mk"
-.include "../../audio/liba52/buildlink2.mk"
-.include "../../audio/libmikmod/buildlink2.mk"
-.include "../../audio/libsidplay/buildlink2.mk"
-.include "../../audio/libvorbis/buildlink2.mk"
-.include "../../audio/libmad/buildlink2.mk"
+.include "../../audio/cdparanoia/buildlink3.mk"
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/gsm/buildlink3.mk"
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../audio/lame/buildlink3.mk"
+.include "../../audio/liba52/buildlink3.mk"
+.include "../../audio/libmikmod/buildlink3.mk"
+.include "../../audio/libsidplay/buildlink3.mk"
+.include "../../audio/libvorbis/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
.include "../../devel/GConf2/schemas.mk"
-.include "../../devel/SDL/buildlink2.mk"
-.include "../../graphics/aalib/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/hermes/buildlink2.mk"
-.include "../../graphics/openquicktime/buildlink2.mk"
-.include "../../graphics/swfdec/buildlink2.mk"
-.include "../../multimedia/libdvdread/buildlink2.mk"
-.include "../../multimedia/gstreamer/buildlink2.mk"
-.include "../../multimedia/mjpegtools/buildlink2.mk"
-.include "../../www/libghttp/buildlink2.mk"
-.include "../../mk/ossaudio.buildlink2.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/aalib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/hermes/buildlink3.mk"
+.include "../../graphics/openquicktime/buildlink3.mk"
+.include "../../graphics/swfdec/buildlink3.mk"
+.include "../../multimedia/libdvdread/buildlink3.mk"
+.include "../../multimedia/gstreamer/buildlink3.mk"
+.include "../../multimedia/mjpegtools/buildlink3.mk"
+.include "../../www/libghttp/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/gst-plugins/buildlink3.mk b/multimedia/gst-plugins/buildlink3.mk
new file mode 100644
index 00000000000..2c28565aabe
--- /dev/null
+++ b/multimedia/gst-plugins/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/20 11:33:21 jmmv Exp $
+#
+# This Makefile fragment is included by packages that use gst-plugins.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GST_PLUGINS_BUILDLINK3_MK:= ${GST_PLUGINS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gst-plugins
+.endif
+
+.if !empty(GST_PLUGINS_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= gst-plugins
+BUILDLINK_DEPENDS.gst-plugins+= gst-plugins>=0.6.4
+BUILDLINK_PKGSRCDIR.gst-plugins?= ../../multimedia/gst-plugins
+
+.endif # GST_PLUGINS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}