summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-06-20 19:25:49 +0000
committeragc <agc@pkgsrc.org>2004-06-20 19:25:49 +0000
commit652b98263e7fe74784ad9eb04400b5113b684ab9 (patch)
tree9620e8e322aead4d6f95faf87d0ef7722d993c0b /multimedia
parenta47e9b365a939dae03b53622b75564d6a718f562 (diff)
downloadpkgsrc-652b98263e7fe74784ad9eb04400b5113b684ab9.tar.gz
Import a package for the gstreamer mad plugin - package provided by Amitai,
imported by me mainly for the up and coming tunesbrowser import. GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple mp3 playback to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently. Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface. This package provides the mad plugin for GStreamer.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gst-plugins-mad/DESCR9
-rw-r--r--multimedia/gst-plugins-mad/Makefile12
-rw-r--r--multimedia/gst-plugins-mad/PLIST5
-rw-r--r--multimedia/gst-plugins-mad/buildlink3.mk35
4 files changed, 61 insertions, 0 deletions
diff --git a/multimedia/gst-plugins-mad/DESCR b/multimedia/gst-plugins-mad/DESCR
new file mode 100644
index 00000000000..02e580afc91
--- /dev/null
+++ b/multimedia/gst-plugins-mad/DESCR
@@ -0,0 +1,9 @@
+GStreamer is a library that allows the construction of graphs of
+media-handling components, ranging from simple mp3 playback to complex
+audio (mixing) and video (non-linear editing) processing.
+
+Applications can take advantage of advances in codec and filter technology
+transparently. Developers can add new codecs and filters by writing a
+simple plugin with a clean, generic interface.
+
+This package provides the mad plugin for GStreamer.
diff --git a/multimedia/gst-plugins-mad/Makefile b/multimedia/gst-plugins-mad/Makefile
new file mode 100644
index 00000000000..35ef67101a4
--- /dev/null
+++ b/multimedia/gst-plugins-mad/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/06/20 19:25:49 agc Exp $
+#
+
+GST_PLUGINS_NAME= mad
+GST_PLUGINS_DIR= ext/mad
+
+.include "../../multimedia/gst-plugins/Makefile.common"
+
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/gst-plugins-mad/PLIST b/multimedia/gst-plugins-mad/PLIST
new file mode 100644
index 00000000000..ec4d1adae74
--- /dev/null
+++ b/multimedia/gst-plugins-mad/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/20 19:25:49 agc Exp $
+lib/gstreamer-0.8/libgstmad.a
+lib/gstreamer-0.8/libgstmad.la
+lib/gstreamer-0.8/libgstmad.so
+@comment in gstreamer: @dirrm lib/gstreamer-0.8
diff --git a/multimedia/gst-plugins-mad/buildlink3.mk b/multimedia/gst-plugins-mad/buildlink3.mk
new file mode 100644
index 00000000000..4fd1a1f0e2a
--- /dev/null
+++ b/multimedia/gst-plugins-mad/buildlink3.mk
@@ -0,0 +1,35 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/06/20 19:25:49 agc Exp $
+# XXX
+# XXX This file was created automatically using createbuildlink-3.4.
+# XXX After this file as been verified as correct, the comment lines
+# XXX beginning with "XXX" should be removed. Please do not commit
+# XXX unverified buildlink[23].mk files.
+# XXX
+# XXX Packages that only install static libraries or headers should
+# XXX include the following line:
+# XXX
+# XXX BUILDLINK_DEPMETHOD.gst-plugins-mad?= build
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GST_PLUGINS_MAD_BUILDLINK3_MK:= ${GST_PLUGINS_MAD_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gst-plugins-mad
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins-mad}
+BUILDLINK_PACKAGES+= gst-plugins-mad
+
+.if !empty(GST_PLUGINS_MAD_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.gst-plugins-mad+= gst-plugins-mad>=0.8.1
+BUILDLINK_PKGSRCDIR.gst-plugins-mad?= ../../multimedia/gst-plugins-mad
+.endif # GST_PLUGINS_MAD_BUILDLINK3_MK
+
+.include "../../audio/libid3tag/buildlink3.mk"
+.include "../../audio/libmad/buildlink3.mk"
+.include "../../multimedia/gst-plugins/buildlink3.mk"
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}