From 1c7977bb95a42b7792fb8b7b4a11c0afe4697a01 Mon Sep 17 00:00:00 2001 From: Shokara Kou Date: Sun, 3 Mar 2024 23:28:21 -0500 Subject: remove more dependencies from gst-plugins-good --- multimedia/gstreamer1/plugins-good/Makefile | 81 ++++----------- multimedia/gstreamer1/plugins-good/pkg/DESCR | 10 ++ multimedia/gstreamer1/plugins-good/pkg/DESCR-main | 10 -- multimedia/gstreamer1/plugins-good/pkg/DESCR-pulse | 4 - multimedia/gstreamer1/plugins-good/pkg/PLIST | 53 ++++++++++ multimedia/gstreamer1/plugins-good/pkg/PLIST-main | 115 --------------------- multimedia/gstreamer1/plugins-good/pkg/PLIST-pulse | 1 - 7 files changed, 82 insertions(+), 192 deletions(-) create mode 100644 multimedia/gstreamer1/plugins-good/pkg/DESCR delete mode 100644 multimedia/gstreamer1/plugins-good/pkg/DESCR-main delete mode 100644 multimedia/gstreamer1/plugins-good/pkg/DESCR-pulse create mode 100644 multimedia/gstreamer1/plugins-good/pkg/PLIST delete mode 100644 multimedia/gstreamer1/plugins-good/pkg/PLIST-main delete mode 100644 multimedia/gstreamer1/plugins-good/pkg/PLIST-pulse diff --git a/multimedia/gstreamer1/plugins-good/Makefile b/multimedia/gstreamer1/plugins-good/Makefile index 64dcab2..04ce1f7 100644 --- a/multimedia/gstreamer1/plugins-good/Makefile +++ b/multimedia/gstreamer1/plugins-good/Makefile @@ -1,75 +1,37 @@ -# Reenable that port on non-rust archs at the cost of pulseaudio support: -# pulseaudio -> [...] -> spidermonkey>=78 -> rust -ONLY_FOR_ARCHS-pulse= ${RUST_ARCHS} - -COMMENT-main= good elements for GStreamer -COMMENT-pulse= pulseaudio(1) element for GStreamer +COMMENT= good elements for GStreamer DISTNAME= gst-plugins-good-${V} PKGNAME= ${GST_PKGNAME_PREFIX}-plugins-good-${V} REVISION= 0 -PKGNAME-main= ${PKGNAME} -PKGNAME-pulse= ${GST_PKGNAME_PREFIX}-plugins-pulse-${V} - SITES= ${SITE_GST:=gst-plugins-good/} WANTLIB += glib-2.0 gobject-2.0 gstaudio-1.0 gstbase-1.0 gstreamer-1.0 WANTLIB += intl - -WANTLIB-main += ${WANTLIB} -WANTLIB-main += ${COMPILER_LIBCXX} FLAC X11 Xdamage Xext Xfixes bz2 -WANTLIB-main += cairo cairo-gobject gdk-3 gdk_pixbuf-2.0 gio-2.0 gmodule-2.0 -WANTLIB-main += gstallocators-1.0 gstfft-1.0 gstgl-1.0 gstnet-1.0 gstpbutils-1.0 -WANTLIB-main += gstriff-1.0 gstrtp-1.0 gstrtsp-1.0 gstsdp-1.0 gsttag-1.0 -WANTLIB-main += gstvideo-1.0 gtk-3 jpeg m mp3lame nettle orc-0.4 png -WANTLIB-main += shout speex tag twolame v4l2 vpx wavpack xml2 z - -WANTLIB-pulse += ${WANTLIB} pulse - -MULTI_PACKAGES= -main -pulse +WANTLIB += ${COMPILER_LIBCXX} X11 Xdamage Xext Xfixes +WANTLIB += gio-2.0 gmodule-2.0 +WANTLIB += gstallocators-1.0 gstfft-1.0 gstgl-1.0 gstnet-1.0 gstpbutils-1.0 +WANTLIB += gstriff-1.0 gstrtp-1.0 gstrtsp-1.0 gstsdp-1.0 gsttag-1.0 +WANTLIB += gstvideo-1.0 m z LIB_DEPENDS= ${P}/plugins-base=${V} -LIB_DEPENDS-main= ${LIB_DEPENDS} \ - archivers/bzip2 \ - audio/flac \ - audio/lame \ - audio/speex \ - audio/taglib \ - audio/twolame \ - audio/wavpack \ - multimedia/libv4l \ - multimedia/libvpx \ - net/libshout \ - x11/gtk+3 - # dlopen() -WANTLIB-main += soup-3.0 -BUILD_DEPENDS += devel/libsoup3 -RUN_DEPENDS-main += devel/libsoup3 +#WANTLIB += soup-3.0 +#BUILD_DEPENDS += devel/libsoup3 +#RUN_DEPENDS += devel/libsoup3 + +DISABLED += adaptivedemux2 aalib bz2 cairo directsound dv dv1394 flac gdk-pixbuf +DISABLED += gtk3 jack jpeg lame libcaca mpg123 oss oss4 png pulse shout2 speex +DISABLED += osxaudio osxvideo waveform taglib twolame vpx wavpack rpicamsrc +DISABLED += ximagesrc soup qt-egl qt-wayland qt-x11 qt5 qt6 v4l2 examples tests +DISABLED += nls orc -LIB_DEPENDS-pulse= ${LIB_DEPENDS} \ - audio/pulseaudio -RUN_DEPENDS-pulse= ${BASE_PKGPATH},-main=${V} +CONFIGURE_ARGS = -Dhls-crypto=openssl -CONFIGURE_ARGS= -Daalib=disabled \ - -Ddirectsound=disabled \ - -Ddv=disabled \ - -Ddv1394=disabled \ - -Dwaveform=disabled \ - -Djack=disabled \ - -Dlibcaca=disabled \ - -Dmpg123=disabled \ - -Doss=disabled \ - -Doss4=disabled \ - -Dosxaudio=disabled \ - -Dosxvideo=disabled \ - -Dqt5=disabled \ - -Dqt6=disabled \ - -Dwaveform=disabled \ - -Dv4l2-gudev=disabled \ - -Drpicamsrc=disabled +.for d in ${DISABLED} +CONFIGURE_ARGS += -D${d}=disabled +.endfor .if ${MACHINE_ARCH} == "amd64" BUILD_DEPENDS += devel/nasm @@ -77,9 +39,4 @@ BUILD_DEPENDS += devel/nasm DEBUG_PACKAGES= ${BUILD_PACKAGES} -.include -.if !${BUILD_PACKAGES:M-pulse} -CONFIGURE_ARGS += -Dpulse=disabled -.endif - .include diff --git a/multimedia/gstreamer1/plugins-good/pkg/DESCR b/multimedia/gstreamer1/plugins-good/pkg/DESCR new file mode 100644 index 0000000..5990c15 --- /dev/null +++ b/multimedia/gstreamer1/plugins-good/pkg/DESCR @@ -0,0 +1,10 @@ +This is GStreamer, a framework for streaming media. +This package contains the "good" elements for gstreamer-${API}. + + "Such ingratitude. After all the times I've saved your life." + +A collection of plug-ins you'd want to have right next to you on the +battlefield. Shooting sharp and making no mistakes, these plug-ins have +it all: good looks, good code, and good licensing. Documented and +dressed up in tests. If you're looking for a role model to base your +own plug-in on, here it is. diff --git a/multimedia/gstreamer1/plugins-good/pkg/DESCR-main b/multimedia/gstreamer1/plugins-good/pkg/DESCR-main deleted file mode 100644 index 5990c15..0000000 --- a/multimedia/gstreamer1/plugins-good/pkg/DESCR-main +++ /dev/null @@ -1,10 +0,0 @@ -This is GStreamer, a framework for streaming media. -This package contains the "good" elements for gstreamer-${API}. - - "Such ingratitude. After all the times I've saved your life." - -A collection of plug-ins you'd want to have right next to you on the -battlefield. Shooting sharp and making no mistakes, these plug-ins have -it all: good looks, good code, and good licensing. Documented and -dressed up in tests. If you're looking for a role model to base your -own plug-in on, here it is. diff --git a/multimedia/gstreamer1/plugins-good/pkg/DESCR-pulse b/multimedia/gstreamer1/plugins-good/pkg/DESCR-pulse deleted file mode 100644 index 2c2b051..0000000 --- a/multimedia/gstreamer1/plugins-good/pkg/DESCR-pulse +++ /dev/null @@ -1,4 +0,0 @@ -This is GStreamer, a framework for streaming media. -This package contains the "pulse" element for gstreamer-${API}. - -Part of plugins-good. diff --git a/multimedia/gstreamer1/plugins-good/pkg/PLIST b/multimedia/gstreamer1/plugins-good/pkg/PLIST new file mode 100644 index 0000000..c2a7d07 --- /dev/null +++ b/multimedia/gstreamer1/plugins-good/pkg/PLIST @@ -0,0 +1,53 @@ +lib/gstreamer-${API}/ +@so lib/gstreamer-${API}/libgstalaw.so +@so lib/gstreamer-${API}/libgstalpha.so +@so lib/gstreamer-${API}/libgstalphacolor.so +@so lib/gstreamer-${API}/libgstapetag.so +@so lib/gstreamer-${API}/libgstaudiofx.so +@so lib/gstreamer-${API}/libgstaudioparsers.so +@so lib/gstreamer-${API}/libgstauparse.so +@so lib/gstreamer-${API}/libgstautodetect.so +@so lib/gstreamer-${API}/libgstavi.so +@so lib/gstreamer-${API}/libgstcutter.so +@so lib/gstreamer-${API}/libgstdebug.so +@so lib/gstreamer-${API}/libgstdeinterlace.so +@so lib/gstreamer-${API}/libgstdtmf.so +@so lib/gstreamer-${API}/libgsteffectv.so +@so lib/gstreamer-${API}/libgstequalizer.so +@so lib/gstreamer-${API}/libgstflv.so +@so lib/gstreamer-${API}/libgstflxdec.so +@so lib/gstreamer-${API}/libgstgoom.so +@so lib/gstreamer-${API}/libgstgoom2k1.so +@so lib/gstreamer-${API}/libgsticydemux.so +@so lib/gstreamer-${API}/libgstid3demux.so +@so lib/gstreamer-${API}/libgstimagefreeze.so +@so lib/gstreamer-${API}/libgstinterleave.so +@so lib/gstreamer-${API}/libgstisomp4.so +@so lib/gstreamer-${API}/libgstlevel.so +@so lib/gstreamer-${API}/libgstmatroska.so +@so lib/gstreamer-${API}/libgstmonoscope.so +@so lib/gstreamer-${API}/libgstmulaw.so +@so lib/gstreamer-${API}/libgstmultifile.so +@so lib/gstreamer-${API}/libgstmultipart.so +@so lib/gstreamer-${API}/libgstnavigationtest.so +@so lib/gstreamer-${API}/libgstreplaygain.so +@so lib/gstreamer-${API}/libgstrtp.so +@so lib/gstreamer-${API}/libgstrtpmanager.so +@so lib/gstreamer-${API}/libgstrtsp.so +@so lib/gstreamer-${API}/libgstshapewipe.so +@so lib/gstreamer-${API}/libgstsmpte.so +@so lib/gstreamer-${API}/libgstspectrum.so +@so lib/gstreamer-${API}/libgstudp.so +@so lib/gstreamer-${API}/libgstvideobox.so +@so lib/gstreamer-${API}/libgstvideocrop.so +@so lib/gstreamer-${API}/libgstvideofilter.so +@so lib/gstreamer-${API}/libgstvideomixer.so +@so lib/gstreamer-${API}/libgstwavenc.so +@so lib/gstreamer-${API}/libgstwavparse.so +@so lib/gstreamer-${API}/libgstxingmux.so +@so lib/gstreamer-${API}/libgsty4menc.so +share/gstreamer-${API}/ +share/gstreamer-${API}/presets/ +share/gstreamer-${API}/presets/GstIirEqualizer10Bands.prs +share/gstreamer-${API}/presets/GstIirEqualizer3Bands.prs +share/gstreamer-${API}/presets/GstQTMux.prs diff --git a/multimedia/gstreamer1/plugins-good/pkg/PLIST-main b/multimedia/gstreamer1/plugins-good/pkg/PLIST-main deleted file mode 100644 index ee7feb3..0000000 --- a/multimedia/gstreamer1/plugins-good/pkg/PLIST-main +++ /dev/null @@ -1,115 +0,0 @@ -@conflict gstreamer1-plugins-bad-<1.14.0 -@conflict gstreamer1-plugins-ugly-<1.22.0 -@so lib/gstreamer-${API}/libgstadaptivedemux2.so -@so lib/gstreamer-${API}/libgstalaw.so -@so lib/gstreamer-${API}/libgstalpha.so -@so lib/gstreamer-${API}/libgstalphacolor.so -@so lib/gstreamer-${API}/libgstapetag.so -@so lib/gstreamer-${API}/libgstaudiofx.so -@so lib/gstreamer-${API}/libgstaudioparsers.so -@so lib/gstreamer-${API}/libgstauparse.so -@so lib/gstreamer-${API}/libgstautodetect.so -@so lib/gstreamer-${API}/libgstavi.so -@so lib/gstreamer-${API}/libgstcairo.so -@so lib/gstreamer-${API}/libgstcutter.so -@so lib/gstreamer-${API}/libgstdebug.so -@so lib/gstreamer-${API}/libgstdeinterlace.so -@so lib/gstreamer-${API}/libgstdtmf.so -@so lib/gstreamer-${API}/libgsteffectv.so -@so lib/gstreamer-${API}/libgstequalizer.so -@so lib/gstreamer-${API}/libgstflac.so -@so lib/gstreamer-${API}/libgstflv.so -@so lib/gstreamer-${API}/libgstflxdec.so -@so lib/gstreamer-${API}/libgstgdkpixbuf.so -@so lib/gstreamer-${API}/libgstgoom.so -@so lib/gstreamer-${API}/libgstgoom2k1.so -@so lib/gstreamer-${API}/libgstgtk.so -@so lib/gstreamer-${API}/libgsticydemux.so -@so lib/gstreamer-${API}/libgstid3demux.so -@so lib/gstreamer-${API}/libgstimagefreeze.so -@so lib/gstreamer-${API}/libgstinterleave.so -@so lib/gstreamer-${API}/libgstisomp4.so -@so lib/gstreamer-${API}/libgstjpeg.so -@so lib/gstreamer-${API}/libgstlame.so -@so lib/gstreamer-${API}/libgstlevel.so -@so lib/gstreamer-${API}/libgstmatroska.so -@so lib/gstreamer-${API}/libgstmonoscope.so -@so lib/gstreamer-${API}/libgstmulaw.so -@so lib/gstreamer-${API}/libgstmultifile.so -@so lib/gstreamer-${API}/libgstmultipart.so -@so lib/gstreamer-${API}/libgstnavigationtest.so -@so lib/gstreamer-${API}/libgstpng.so -@so lib/gstreamer-${API}/libgstreplaygain.so -@so lib/gstreamer-${API}/libgstrtp.so -@so lib/gstreamer-${API}/libgstrtpmanager.so -@so lib/gstreamer-${API}/libgstrtsp.so -@so lib/gstreamer-${API}/libgstshapewipe.so -@so lib/gstreamer-${API}/libgstshout2.so -@so lib/gstreamer-${API}/libgstsmpte.so -@so lib/gstreamer-${API}/libgstsoup.so -@so lib/gstreamer-${API}/libgstspectrum.so -@so lib/gstreamer-${API}/libgstspeex.so -@so lib/gstreamer-${API}/libgsttaglib.so -@so lib/gstreamer-${API}/libgsttwolame.so -@so lib/gstreamer-${API}/libgstudp.so -@so lib/gstreamer-${API}/libgstvideo4linux2.so -@so lib/gstreamer-${API}/libgstvideobox.so -@so lib/gstreamer-${API}/libgstvideocrop.so -@so lib/gstreamer-${API}/libgstvideofilter.so -@so lib/gstreamer-${API}/libgstvideomixer.so -@so lib/gstreamer-${API}/libgstvpx.so -@so lib/gstreamer-${API}/libgstwavenc.so -@so lib/gstreamer-${API}/libgstwavpack.so -@so lib/gstreamer-${API}/libgstwavparse.so -@so lib/gstreamer-${API}/libgstximagesrc.so -@so lib/gstreamer-${API}/libgstxingmux.so -@so lib/gstreamer-${API}/libgsty4menc.so -share/gstreamer-${API}/presets/ -share/gstreamer-${API}/presets/GstIirEqualizer10Bands.prs -share/gstreamer-${API}/presets/GstIirEqualizer3Bands.prs -share/gstreamer-${API}/presets/GstQTMux.prs -share/gstreamer-${API}/presets/GstVP8Enc.prs -share/locale/af/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/az/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/bg/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/ca/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/cs/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/da/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/de/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/el/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/en_GB/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/eo/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/es/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/eu/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/fi/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/fr/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/fur/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/gl/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/hr/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/hu/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/id/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/it/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/ja/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/ka/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/ky/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/lt/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/lv/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/mt/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/nb/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/nl/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/or/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/pl/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/pt_BR/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/ro/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/ru/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/sk/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/sl/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/sq/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/sr/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/sv/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/tr/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/uk/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/vi/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/zh_CN/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/zh_HK/LC_MESSAGES/gst-plugins-good-${API}.mo -share/locale/zh_TW/LC_MESSAGES/gst-plugins-good-${API}.mo diff --git a/multimedia/gstreamer1/plugins-good/pkg/PLIST-pulse b/multimedia/gstreamer1/plugins-good/pkg/PLIST-pulse deleted file mode 100644 index 166f418..0000000 --- a/multimedia/gstreamer1/plugins-good/pkg/PLIST-pulse +++ /dev/null @@ -1 +0,0 @@ -@so lib/gstreamer-${API}/libgstpulseaudio.so -- cgit v1.2.3