pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add more gstreamer plugins.
Module Name: pkgsrc-wip
Committed By: nia <nia%NetBSD.org@localhost>
Pushed By: nee
Date: Thu Nov 11 20:50:24 2021 +0100
Changeset: f98d5b65a6ad6b2a3d1f95e118f7954a64a614d0
Modified Files:
gst-plugins1-bad/Makefile.common
gst-plugins1-base/Makefile.common
gst-plugins1-base/files/only-build-extensions.awk
gst-plugins1-modplug/DESCR
gst-plugins1-modplug/Makefile
gst-plugins1-modplug/PLIST
Added Files:
gst-plugins1-ladspa/DESCR
gst-plugins1-ladspa/Makefile
gst-plugins1-ladspa/PLIST
gst-plugins1-lv2/DESCR
gst-plugins1-lv2/Makefile
gst-plugins1-lv2/PLIST
gst-plugins1-x11/DESCR
gst-plugins1-x11/Makefile
gst-plugins1-x11/PLIST
Log Message:
Add more gstreamer plugins.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f98d5b65a6ad6b2a3d1f95e118f7954a64a614d0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gst-plugins1-bad/Makefile.common | 5 ++++-
gst-plugins1-base/Makefile.common | 13 +++++++++----
gst-plugins1-base/files/only-build-extensions.awk | 10 +++++++++-
gst-plugins1-ladspa/DESCR | 9 +++++++++
gst-plugins1-ladspa/Makefile | 14 ++++++++++++++
gst-plugins1-ladspa/PLIST | 2 ++
gst-plugins1-lv2/DESCR | 9 +++++++++
gst-plugins1-lv2/Makefile | 13 +++++++++++++
gst-plugins1-lv2/PLIST | 2 ++
gst-plugins1-modplug/DESCR | 3 ++-
gst-plugins1-modplug/Makefile | 14 +++++++-------
gst-plugins1-modplug/PLIST | 4 ++--
gst-plugins1-x11/DESCR | 12 ++++++++++++
gst-plugins1-x11/Makefile | 23 +++++++++++++++++++++++
gst-plugins1-x11/PLIST | 3 +++
15 files changed, 120 insertions(+), 16 deletions(-)
diffs:
diff --git a/gst-plugins1-bad/Makefile.common b/gst-plugins1-bad/Makefile.common
index f15725ae6f..c798491c0d 100644
--- a/gst-plugins1-bad/Makefile.common
+++ b/gst-plugins1-bad/Makefile.common
@@ -204,11 +204,14 @@ MESON_ARGS+= -D${i}=disabled
.endfor
.if defined(GST_EXT_BUILD)
+GST_EXT_BASEDIR?= ext
+
pre-configure: fix-subdirs
fix-subdirs:
${AWK} -f ${.CURDIR}/../../wip/gst-plugins1-base/files/only-build-extensions.awk \
- ${WRKSRC}/meson.build > ${WRKSRC}/meson.build.new
+ -v basedir=${GST_EXT_BASEDIR} \
+ ${WRKSRC}/meson.build > ${WRKSRC}/meson.build.new
${MV} ${WRKSRC}/meson.build.new ${WRKSRC}/meson.build
.endif
diff --git a/gst-plugins1-base/Makefile.common b/gst-plugins1-base/Makefile.common
index 2912e72cb0..95feb11db0 100644
--- a/gst-plugins1-base/Makefile.common
+++ b/gst-plugins1-base/Makefile.common
@@ -80,18 +80,23 @@ MESON_ARGS+= -D${i}=disabled
# when building plugins.
#
.if defined(GST_EXT_BUILD)
+GST_EXT_BASEDIR?= ext
+GST_PLUGIN_DIRS?= ${GST_PLUGINS}
+
pre-configure: fix-subdirs
fix-subdirs:
${AWK} -f ${.CURDIR}/../../wip/gst-plugins1-base/files/only-build-extensions.awk \
- ${WRKSRC}/meson.build > ${WRKSRC}/meson.build.new
+ -v basedir=${GST_EXT_BASEDIR} ${WRKSRC}/meson.build > ${WRKSRC}/meson.build.new
${MV} ${WRKSRC}/meson.build.new ${WRKSRC}/meson.build
# Then, we need to append the dependency handling code for the
# libraries which -base itself builds...
-. for ext in ${GST_PLUGINS}
+. for ext in ${GST_PLUGIN_DIRS}
${CAT} ${.CURDIR}/../../wip/gst-plugins1-base/files/base-deps.meson \
- ${WRKSRC}/ext/${ext}/meson.build > ${WRKSRC}/ext/${ext}/meson.build.new
- ${MV} ${WRKSRC}/ext/${ext}/meson.build.new ${WRKSRC}/ext/${ext}/meson.build
+ ${WRKSRC}/${GST_EXT_BASEDIR}/${ext}/meson.build > \
+ ${WRKSRC}/${GST_EXT_BASEDIR}/${ext}/meson.build.new
+ ${MV} ${WRKSRC}/${GST_EXT_BASEDIR}/${ext}/meson.build.new \
+ ${WRKSRC}/${GST_EXT_BASEDIR}/${ext}/meson.build
. endfor
# ... this is a bit nasty compared to BUILD_DIRS...
.endif
diff --git a/gst-plugins1-base/files/only-build-extensions.awk b/gst-plugins1-base/files/only-build-extensions.awk
index 4e0f380033..4e5f5adf23 100644
--- a/gst-plugins1-base/files/only-build-extensions.awk
+++ b/gst-plugins1-base/files/only-build-extensions.awk
@@ -3,5 +3,13 @@
}
/subdir\('ext'\)/ {
- print
+ if (basedir == "ext") {
+ print
+ }
+}
+
+/subdir\('sys'\)/ {
+ if (basedir == "sys") {
+ print
+ }
}
diff --git a/gst-plugins1-ladspa/DESCR b/gst-plugins1-ladspa/DESCR
new file mode 100644
index 0000000000..77f5c9ab2d
--- /dev/null
+++ b/gst-plugins1-ladspa/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 GStreamer plugin for loading LADSPA plugins.
diff --git a/gst-plugins1-ladspa/Makefile b/gst-plugins1-ladspa/Makefile
new file mode 100644
index 0000000000..c2e1041b61
--- /dev/null
+++ b/gst-plugins1-ladspa/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-bad/-ladspa/}
+CATEGORIES= audio gnome
+
+COMMENT= Open source multimedia framework - LADSPA support plugin
+
+GST_EXT_BUILD= # defined
+GST_PLUGINS+= ladspa
+
+.include "../../wip/gst-plugins1-bad/Makefile.common"
+.include "../../audio/ladspa/buildlink3.mk"
+.include "../../textproc/liblrdf/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-ladspa/PLIST b/gst-plugins1-ladspa/PLIST
new file mode 100644
index 0000000000..9e9dae57d8
--- /dev/null
+++ b/gst-plugins1-ladspa/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/gstreamer-1.0/libgstladspa.so
diff --git a/gst-plugins1-lv2/DESCR b/gst-plugins1-lv2/DESCR
new file mode 100644
index 0000000000..92c8c2abcf
--- /dev/null
+++ b/gst-plugins1-lv2/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 GStreamer plugin for loading LV2 plugins.
diff --git a/gst-plugins1-lv2/Makefile b/gst-plugins1-lv2/Makefile
new file mode 100644
index 0000000000..b346be590e
--- /dev/null
+++ b/gst-plugins1-lv2/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-bad/-lv2/}
+CATEGORIES= audio gnome
+
+COMMENT= Open source multimedia framework - LV2 support plugin
+
+GST_EXT_BUILD= # defined
+GST_PLUGINS+= lv2
+
+.include "../../wip/gst-plugins1-bad/Makefile.common"
+.include "../../audio/lilv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-lv2/PLIST b/gst-plugins1-lv2/PLIST
new file mode 100644
index 0000000000..3d06d5992c
--- /dev/null
+++ b/gst-plugins1-lv2/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/gstreamer-1.0/libgstlv2.so
diff --git a/gst-plugins1-modplug/DESCR b/gst-plugins1-modplug/DESCR
index ddfb50d4c9..9aeebbbf83 100644
--- a/gst-plugins1-modplug/DESCR
+++ b/gst-plugins1-modplug/DESCR
@@ -6,4 +6,5 @@ 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 modplug plugin for GStreamer.
+This package provides a tracker music (MOD/S3M/XM/IT) decoder plugin for
+GStreamer.
diff --git a/gst-plugins1-modplug/Makefile b/gst-plugins1-modplug/Makefile
index c4b7e1b70e..f1038781db 100644
--- a/gst-plugins1-modplug/Makefile
+++ b/gst-plugins1-modplug/Makefile
@@ -1,13 +1,13 @@
-# $NetBSD: Makefile,v 1.1 2015/08/18 20:38:11 yhardy Exp $
-#
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
-GST_PLUGINS1_NAME= modplug
-GST_PLUGINS1_DIRS= ext/modplug
-GST_PLUGINS1_FLAGS= modplug
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-bad/-modplug/}
+CATEGORIES= audio gnome
-USE_LANGUAGES= c c++
+COMMENT= Open source multimedia framework - MOD/S3M/XM/IT decoder plugin
-.include "../../multimedia/gst-plugins1-bad/Makefile.common"
+GST_EXT_BUILD= # defined
+GST_PLUGINS+= modplug
+.include "../../wip/gst-plugins1-bad/Makefile.common"
.include "../../audio/libmodplug/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-modplug/PLIST b/gst-plugins1-modplug/PLIST
index 1781987c9a..96bb6e2001 100644
--- a/gst-plugins1-modplug/PLIST
+++ b/gst-plugins1-modplug/PLIST
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2015/08/18 20:38:11 yhardy Exp $
-lib/gstreamer-1.0/libgstmodplug.la
+@comment $NetBSD$
+lib/gstreamer-1.0/libgstmodplug.so
diff --git a/gst-plugins1-x11/DESCR b/gst-plugins1-x11/DESCR
new file mode 100644
index 0000000000..34dc7045ca
--- /dev/null
+++ b/gst-plugins1-x11/DESCR
@@ -0,0 +1,12 @@
+GStreamer is a library that allows the construction of graphs of
+media-handling components, ranging from simple Ogg/Vorbis 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.
+
+GStreamer is released under the LGPL.
+
+This package is part of the 'base' plugins for GStreamer. It provides a
+set of plugins to access the X Window System.
diff --git a/gst-plugins1-x11/Makefile b/gst-plugins1-x11/Makefile
new file mode 100644
index 0000000000..dad7d1fd84
--- /dev/null
+++ b/gst-plugins1-x11/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-base/-x11/}
+CATEGORIES= x11 gnome
+
+COMMENT= Open source multimedia framework - X11 plugin
+
+GST_EXT_BUILD= # defined
+GST_EXT_BASEDIR= sys
+
+GST_PLUGINS+= xshm
+GST_PLUGINS+= xvideo
+GST_PLUGINS+= x11
+
+GST_PLUGIN_DIRS+= ximage
+GST_PLUGIN_DIRS+= xvimage
+
+.include "../../wip/gst-plugins1-base/Makefile.common"
+.include "../../wip/gst-plugins1-base/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-x11/PLIST b/gst-plugins1-x11/PLIST
new file mode 100644
index 0000000000..5aefc74f6e
--- /dev/null
+++ b/gst-plugins1-x11/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+lib/gstreamer-1.0/libgstximagesink.so
+lib/gstreamer-1.0/libgstxvimagesink.so
Home |
Main Index |
Thread Index |
Old Index