pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gst-plugins1-ugly: Split into separate plugins again, for ease of updating
Module Name: pkgsrc-wip
Committed By: nia <nia%NetBSD.org@localhost>
Pushed By: nee
Date: Wed Nov 10 14:18:27 2021 +0100
Changeset: 76e0778d6f3fb327bcc7e3c712742bda99985ee9
Modified Files:
gst-plugins1-ugly/Makefile
gst-plugins1-ugly/PLIST
Added Files:
gst-plugins1-a52/DESCR
gst-plugins1-a52/Makefile
gst-plugins1-a52/PLIST
gst-plugins1-dvdread/DESCR
gst-plugins1-dvdread/Makefile
gst-plugins1-dvdread/PLIST
gst-plugins1-mpeg2dec/DESCR
gst-plugins1-mpeg2dec/Makefile
gst-plugins1-mpeg2dec/PLIST
gst-plugins1-sid/DESCR
gst-plugins1-sid/Makefile
gst-plugins1-sid/PLIST
gst-plugins1-ugly/Makefile.common
gst-plugins1-x264/DESCR
gst-plugins1-x264/Makefile
gst-plugins1-x264/PLIST
Log Message:
gst-plugins1-ugly: Split into separate plugins again, for ease of updating
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=76e0778d6f3fb327bcc7e3c712742bda99985ee9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gst-plugins1-a52/DESCR | 10 +++++++
gst-plugins1-a52/Makefile | 12 +++++++++
gst-plugins1-a52/PLIST | 1 +
gst-plugins1-dvdread/DESCR | 10 +++++++
gst-plugins1-dvdread/Makefile | 12 +++++++++
gst-plugins1-dvdread/PLIST | 2 ++
gst-plugins1-mpeg2dec/DESCR | 10 +++++++
gst-plugins1-mpeg2dec/Makefile | 12 +++++++++
gst-plugins1-mpeg2dec/PLIST | 2 ++
gst-plugins1-sid/DESCR | 9 +++++++
gst-plugins1-sid/Makefile | 12 +++++++++
gst-plugins1-sid/PLIST | 2 ++
gst-plugins1-ugly/Makefile | 46 +++++---------------------------
gst-plugins1-ugly/Makefile.common | 56 +++++++++++++++++++++++++++++++++++++++
gst-plugins1-ugly/PLIST | 6 -----
gst-plugins1-x264/DESCR | 10 +++++++
gst-plugins1-x264/Makefile | 12 +++++++++
gst-plugins1-x264/PLIST | 3 +++
18 files changed, 182 insertions(+), 45 deletions(-)
diffs:
diff --git a/gst-plugins1-a52/DESCR b/gst-plugins1-a52/DESCR
new file mode 100644
index 0000000000..8e936f585f
--- /dev/null
+++ b/gst-plugins1-a52/DESCR
@@ -0,0 +1,10 @@
+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 ATSC A/52 (Dolby Digital AC-3) audio plugin
+for GStreamer.
diff --git a/gst-plugins1-a52/Makefile b/gst-plugins1-a52/Makefile
new file mode 100644
index 0000000000..f248f5a4f7
--- /dev/null
+++ b/gst-plugins1-a52/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-ugly/-a52/}
+CATEGORIES= audio gnome
+
+COMMENT= Open source multimedia framework - Dolby AC-3 audio plugin
+
+GST_PLUGINS+= a52
+
+.include "../../wip/gst-plugins1-ugly/Makefile.common"
+.include "../../audio/liba52/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-a52/PLIST b/gst-plugins1-a52/PLIST
new file mode 100644
index 0000000000..48d96a5493
--- /dev/null
+++ b/gst-plugins1-a52/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD$
diff --git a/gst-plugins1-dvdread/DESCR b/gst-plugins1-dvdread/DESCR
new file mode 100644
index 0000000000..d014d12a4e
--- /dev/null
+++ b/gst-plugins1-dvdread/DESCR
@@ -0,0 +1,10 @@
+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 dvdread plugin for GStreamer, which allows reading
+of DVD disks.
diff --git a/gst-plugins1-dvdread/Makefile b/gst-plugins1-dvdread/Makefile
new file mode 100644
index 0000000000..8e8b046e0d
--- /dev/null
+++ b/gst-plugins1-dvdread/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-ugly/-dvdread/}
+CATEGORIES= multimedia gnome
+
+COMMENT= Open source multimedia framework - DVD plugin
+
+GST_PLUGINS+= dvdread
+
+.include "../../wip/gst-plugins1-ugly/Makefile.common"
+.include "../../multimedia/libdvdread/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-dvdread/PLIST b/gst-plugins1-dvdread/PLIST
new file mode 100644
index 0000000000..c6950f059c
--- /dev/null
+++ b/gst-plugins1-dvdread/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/gstreamer-1.0/libgstdvdread.so
diff --git a/gst-plugins1-mpeg2dec/DESCR b/gst-plugins1-mpeg2dec/DESCR
new file mode 100644
index 0000000000..e88d24721d
--- /dev/null
+++ b/gst-plugins1-mpeg2dec/DESCR
@@ -0,0 +1,10 @@
+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 mpeg2dec plugin for GStreamer, an MPEG 1 and MPEG 2
+video decoder.
diff --git a/gst-plugins1-mpeg2dec/Makefile b/gst-plugins1-mpeg2dec/Makefile
new file mode 100644
index 0000000000..324e364b87
--- /dev/null
+++ b/gst-plugins1-mpeg2dec/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-ugly/-mpeg2dec/}
+CATEGORIES= multimedia gnome
+
+COMMENT= Open source multimedia framework - MPEG2 decoder plugin
+
+GST_PLUGINS+= mpeg2dec
+
+.include "../../wip/gst-plugins1-ugly/Makefile.common"
+.include "../../multimedia/libmpeg2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-mpeg2dec/PLIST b/gst-plugins1-mpeg2dec/PLIST
new file mode 100644
index 0000000000..7db6f13add
--- /dev/null
+++ b/gst-plugins1-mpeg2dec/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/gstreamer-1.0/libgstmpeg2dec.so
diff --git a/gst-plugins1-sid/DESCR b/gst-plugins1-sid/DESCR
new file mode 100644
index 0000000000..52a9b99ad7
--- /dev/null
+++ b/gst-plugins1-sid/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 SID (Commodore 64) audio plugin for GStreamer.
diff --git a/gst-plugins1-sid/Makefile b/gst-plugins1-sid/Makefile
new file mode 100644
index 0000000000..439fd9a28c
--- /dev/null
+++ b/gst-plugins1-sid/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-ugly/-sid/}
+CATEGORIES= audio gnome
+
+COMMENT= Open source multimedia framework - Commodore 64 audio plugin
+
+GST_PLUGINS+= sidplay
+
+.include "../../wip/gst-plugins1-ugly/Makefile.common"
+.include "../../audio/libsidplay/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-sid/PLIST b/gst-plugins1-sid/PLIST
new file mode 100644
index 0000000000..032978f9d8
--- /dev/null
+++ b/gst-plugins1-sid/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+lib/gstreamer-1.0/libgstsid.so
diff --git a/gst-plugins1-ugly/Makefile b/gst-plugins1-ugly/Makefile
index 24f92c07be..08ea1fde4d 100644
--- a/gst-plugins1-ugly/Makefile
+++ b/gst-plugins1-ugly/Makefile
@@ -1,52 +1,20 @@
# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
-DISTNAME= gst-plugins-ugly-1.18.5
PKGNAME= ${DISTNAME:S/plugins/plugins1/}
CATEGORIES= multimedia gnome
-MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-plugins-ugly/
-EXTRACT_SUFX= .tar.xz
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://gstreamer.freedesktop.org/
COMMENT= Open source multimedia framework - ugly plugins
-LICENSE= gnu-gpl-v2
-USE_LANGUAGES= c c++
-
-USE_TOOLS+= pkg-config xgettext
-
-CONFLICTS+= gst-plugins1-a52-[0-9]*
-SUPERSEDES+= gst-plugins1-a52-[0-9]*
-CONFLICTS+= gst-plugins1-dvdread-[0-9]*
-SUPERSEDES+= gst-plugins1-dvdread-[0-9]*
-CONFLICTS+= gst-plugins1-mpeg2dec-[0-9]*
-SUPERSEDES+= gst-plugins1-mpeg2dec-[0-9]*
-CONFLICTS+= gst-plugins1-sid-[0-9]*
-SUPERSEDES+= gst-plugins1-sid-[0-9]*
-CONFLICTS+= gst-plugins1-x264-[0-9]*
-SUPERSEDES+= gst-plugins1-x264-[0-9]*
-
-PYTHON_FOR_BUILD_ONLY= tool
+GST_PLUGINS+= asfdemux
+GST_PLUGINS+= dvdlpcmdec
+GST_PLUGINS+= dvdsub
+GST_PLUGINS+= realmedia
+GST_PLUGINS+= xingmux
+GST_PLUGINS+= nls
# generated with:
# find work/gst-*/ -name *.so | sed -e "s,/[^/]*$,:," -e 's,work/[^/]*/,${WRKSRC}/,' | tr -d \\n
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/gst/asfdemux:${WRKSRC}/output/gst/dvdlpcmdec:${WRKSRC}/output/gst/dvdsub:${WRKSRC}/output/gst/realmedia:${WRKSRC}/output/gst/xingmux:${WRKSRC}/output/ext/x264
-# test status as of 1.18.5
-#Ok: 2
-#Expected Fail: 0
-#Fail: 1
-#Unexpected Pass: 0
-#Skipped: 0
-#Timeout: 0
-
-.include "../../devel/meson/build.mk"
-.include "../../lang/python/tool.mk"
-.include "../../audio/liba52/buildlink3.mk"
-.include "../../audio/libsidplay/buildlink3.mk"
-.include "../../multimedia/libdvdread/buildlink3.mk"
-.include "../../multimedia/libmpeg2/buildlink3.mk"
-.include "../../multimedia/x264-devel/buildlink3.mk"
-.include "../../wip/gst-plugins1-base/buildlink3.mk"
-.include "../../wip/gstreamer1/buildlink3.mk"
+.include "Makefile.common"
.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-ugly/Makefile.common b/gst-plugins1-ugly/Makefile.common
new file mode 100644
index 0000000000..0cfd6b6bc9
--- /dev/null
+++ b/gst-plugins1-ugly/Makefile.common
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+DISTNAME= gst-plugins-ugly-1.18.5
+MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-plugins-ugly/
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://gstreamer.freedesktop.org/
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+
+USE_TOOLS+= pkg-config xgettext
+
+DISTINFO_FILE= ${.CURDIR}/../../wip/gst-plugins1-ugly/distinfo
+PATCHDIR= ${.CURDIR}/../../wip/gst-plugins1-ugly/patches
+
+PKGCONFIG_OVERRIDE= output/pkgconfig/*.pc
+PKGCONFIG_OVERRIDE_STAGE= pre-install
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+PYTHON_FOR_BUILD_ONLY= tool
+
+# grep '^option' meson_options.txt | \
+# sed -e "s/',.*//g" -e "s/option('//g" | \
+# xargs printf 'GST_PLUGINS_SET+= %s\n'
+GST_PLUGINS_SET+= x264_libraries
+GST_PLUGINS_SET+= asfdemux
+GST_PLUGINS_SET+= dvdlpcmdec
+GST_PLUGINS_SET+= dvdsub
+GST_PLUGINS_SET+= realmedia
+GST_PLUGINS_SET+= xingmux
+GST_PLUGINS_SET+= a52dec
+GST_PLUGINS_SET+= amrnb
+GST_PLUGINS_SET+= amrwbdec
+GST_PLUGINS_SET+= cdio
+GST_PLUGINS_SET+= dvdread
+GST_PLUGINS_SET+= mpeg2dec
+GST_PLUGINS_SET+= sidplay
+GST_PLUGINS_SET+= x264
+GST_PLUGINS_SET+= nls
+GST_PLUGINS_SET+= orc
+GST_PLUGINS_SET+= tests
+
+.for i in ${GST_PLUGINS_SET}
+. if !empty(GST_PLUGINS:M${i})
+MESON_ARGS+= -D${i}=enabled
+. else
+MESON_ARGS+= -D${i}=disabled
+. endif
+.endfor
+
+.include "../../devel/meson/build.mk"
+.include "../../lang/python/tool.mk"
+.include "../../wip/gst-plugins1-base/buildlink3.mk"
+.include "../../wip/gstreamer1/buildlink3.mk"
diff --git a/gst-plugins1-ugly/PLIST b/gst-plugins1-ugly/PLIST
index f8c36e899c..a86980f1f7 100644
--- a/gst-plugins1-ugly/PLIST
+++ b/gst-plugins1-ugly/PLIST
@@ -1,15 +1,9 @@
@comment $NetBSD$
-lib/gstreamer-1.0/libgsta52dec.so
lib/gstreamer-1.0/libgstasf.so
lib/gstreamer-1.0/libgstdvdlpcmdec.so
-lib/gstreamer-1.0/libgstdvdread.so
lib/gstreamer-1.0/libgstdvdsub.so
-lib/gstreamer-1.0/libgstmpeg2dec.so
lib/gstreamer-1.0/libgstrealmedia.so
-lib/gstreamer-1.0/libgstsid.so
-lib/gstreamer-1.0/libgstx264.so
lib/gstreamer-1.0/libgstxingmux.so
-share/gstreamer-1.0/presets/GstX264Enc.prs
share/locale/af/LC_MESSAGES/gst-plugins-ugly-1.0.mo
share/locale/ast/LC_MESSAGES/gst-plugins-ugly-1.0.mo
share/locale/az/LC_MESSAGES/gst-plugins-ugly-1.0.mo
diff --git a/gst-plugins1-x264/DESCR b/gst-plugins1-x264/DESCR
new file mode 100644
index 0000000000..46a617f2d8
--- /dev/null
+++ b/gst-plugins1-x264/DESCR
@@ -0,0 +1,10 @@
+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 x264 plugin for GStreamer, making it able to
+encode videos using the H.264 video codec.
diff --git a/gst-plugins1-x264/Makefile b/gst-plugins1-x264/Makefile
new file mode 100644
index 0000000000..8a6425d919
--- /dev/null
+++ b/gst-plugins1-x264/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.25 2021/04/21 11:42:19 adam Exp $
+
+PKGNAME= ${DISTNAME:S/plugins/plugins1/:S/-ugly/-x264/}
+CATEGORIES= multimedia gnome
+
+COMMENT= Open source multimedia framework - H.264/MPEG-4 encoder plugin
+
+GST_PLUGINS+= x264
+
+.include "../../wip/gst-plugins1-ugly/Makefile.common"
+.include "../../multimedia/x264-devel/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gst-plugins1-x264/PLIST b/gst-plugins1-x264/PLIST
new file mode 100644
index 0000000000..c10fc32dc1
--- /dev/null
+++ b/gst-plugins1-x264/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+lib/gstreamer-1.0/libgstx264.so
+share/gstreamer-1.0/presets/GstX264Enc.prs
Home |
Main Index |
Thread Index |
Old Index