summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShokara Kou <kou@13f0.net>2024-03-03 23:28:21 -0500
committerShokara Kou <kou@13f0.net>2024-03-03 23:28:21 -0500
commit1c7977bb95a42b7792fb8b7b4a11c0afe4697a01 (patch)
tree7d3bca976652a478373ecbf79b1c879bcc447f67
parentd812a8060b4bdcb058647232a37c2d3a35890384 (diff)
remove more dependencies from gst-plugins-good
-rw-r--r--multimedia/gstreamer1/plugins-good/Makefile81
-rw-r--r--multimedia/gstreamer1/plugins-good/pkg/DESCR (renamed from multimedia/gstreamer1/plugins-good/pkg/DESCR-main)0
-rw-r--r--multimedia/gstreamer1/plugins-good/pkg/DESCR-pulse4
-rw-r--r--multimedia/gstreamer1/plugins-good/pkg/PLIST53
-rw-r--r--multimedia/gstreamer1/plugins-good/pkg/PLIST-main115
-rw-r--r--multimedia/gstreamer1/plugins-good/pkg/PLIST-pulse1
6 files changed, 72 insertions, 182 deletions
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 @@
1# Reenable that port on non-rust archs at the cost of pulseaudio support: 1COMMENT= good elements for GStreamer
2# pulseaudio -> [...] -> spidermonkey>=78 -> rust
3ONLY_FOR_ARCHS-pulse= ${RUST_ARCHS}
4
5COMMENT-main= good elements for GStreamer
6COMMENT-pulse= pulseaudio(1) element for GStreamer
7 2
8DISTNAME= gst-plugins-good-${V} 3DISTNAME= gst-plugins-good-${V}
9PKGNAME= ${GST_PKGNAME_PREFIX}-plugins-good-${V} 4PKGNAME= ${GST_PKGNAME_PREFIX}-plugins-good-${V}
10REVISION= 0 5REVISION= 0
11 6
12PKGNAME-main= ${PKGNAME}
13PKGNAME-pulse= ${GST_PKGNAME_PREFIX}-plugins-pulse-${V}
14
15SITES= ${SITE_GST:=gst-plugins-good/} 7SITES= ${SITE_GST:=gst-plugins-good/}
16 8
17WANTLIB += glib-2.0 gobject-2.0 gstaudio-1.0 gstbase-1.0 gstreamer-1.0 9WANTLIB += glib-2.0 gobject-2.0 gstaudio-1.0 gstbase-1.0 gstreamer-1.0
18WANTLIB += intl 10WANTLIB += intl
19 11WANTLIB += ${COMPILER_LIBCXX} X11 Xdamage Xext Xfixes
20WANTLIB-main += ${WANTLIB} 12WANTLIB += gio-2.0 gmodule-2.0
21WANTLIB-main += ${COMPILER_LIBCXX} FLAC X11 Xdamage Xext Xfixes bz2 13WANTLIB += gstallocators-1.0 gstfft-1.0 gstgl-1.0 gstnet-1.0 gstpbutils-1.0
22WANTLIB-main += cairo cairo-gobject gdk-3 gdk_pixbuf-2.0 gio-2.0 gmodule-2.0 14WANTLIB += gstriff-1.0 gstrtp-1.0 gstrtsp-1.0 gstsdp-1.0 gsttag-1.0
23WANTLIB-main += gstallocators-1.0 gstfft-1.0 gstgl-1.0 gstnet-1.0 gstpbutils-1.0 15WANTLIB += gstvideo-1.0 m z
24WANTLIB-main += gstriff-1.0 gstrtp-1.0 gstrtsp-1.0 gstsdp-1.0 gsttag-1.0
25WANTLIB-main += gstvideo-1.0 gtk-3 jpeg m mp3lame nettle orc-0.4 png
26WANTLIB-main += shout speex tag twolame v4l2 vpx wavpack xml2 z
27
28WANTLIB-pulse += ${WANTLIB} pulse
29
30MULTI_PACKAGES= -main -pulse
31 16
32LIB_DEPENDS= ${P}/plugins-base=${V} 17LIB_DEPENDS= ${P}/plugins-base=${V}
33 18
34LIB_DEPENDS-main= ${LIB_DEPENDS} \
35 archivers/bzip2 \
36 audio/flac \
37 audio/lame \
38 audio/speex \
39 audio/taglib \
40 audio/twolame \
41 audio/wavpack \
42 multimedia/libv4l \
43 multimedia/libvpx \
44 net/libshout \
45 x11/gtk+3
46
47# dlopen() 19# dlopen()
48WANTLIB-main += soup-3.0 20#WANTLIB += soup-3.0
49BUILD_DEPENDS += devel/libsoup3 21#BUILD_DEPENDS += devel/libsoup3
50RUN_DEPENDS-main += devel/libsoup3 22#RUN_DEPENDS += devel/libsoup3
23
24DISABLED += adaptivedemux2 aalib bz2 cairo directsound dv dv1394 flac gdk-pixbuf
25DISABLED += gtk3 jack jpeg lame libcaca mpg123 oss oss4 png pulse shout2 speex
26DISABLED += osxaudio osxvideo waveform taglib twolame vpx wavpack rpicamsrc
27DISABLED += ximagesrc soup qt-egl qt-wayland qt-x11 qt5 qt6 v4l2 examples tests
28DISABLED += nls orc
51 29
52LIB_DEPENDS-pulse= ${LIB_DEPENDS} \ 30CONFIGURE_ARGS = -Dhls-crypto=openssl
53 audio/pulseaudio
54RUN_DEPENDS-pulse= ${BASE_PKGPATH},-main=${V}
55 31
56CONFIGURE_ARGS= -Daalib=disabled \ 32.for d in ${DISABLED}
57 -Ddirectsound=disabled \ 33CONFIGURE_ARGS += -D${d}=disabled
58 -Ddv=disabled \ 34.endfor
59 -Ddv1394=disabled \
60 -Dwaveform=disabled \
61 -Djack=disabled \
62 -Dlibcaca=disabled \
63 -Dmpg123=disabled \
64 -Doss=disabled \
65 -Doss4=disabled \
66 -Dosxaudio=disabled \
67 -Dosxvideo=disabled \
68 -Dqt5=disabled \
69 -Dqt6=disabled \
70 -Dwaveform=disabled \
71 -Dv4l2-gudev=disabled \
72 -Drpicamsrc=disabled
73 35
74.if ${MACHINE_ARCH} == "amd64" 36.if ${MACHINE_ARCH} == "amd64"
75BUILD_DEPENDS += devel/nasm 37BUILD_DEPENDS += devel/nasm
@@ -77,9 +39,4 @@ BUILD_DEPENDS += devel/nasm
77 39
78DEBUG_PACKAGES= ${BUILD_PACKAGES} 40DEBUG_PACKAGES= ${BUILD_PACKAGES}
79 41
80.include <bsd.port.arch.mk>
81.if !${BUILD_PACKAGES:M-pulse}
82CONFIGURE_ARGS += -Dpulse=disabled
83.endif
84
85.include <bsd.port.mk> 42.include <bsd.port.mk>
diff --git a/multimedia/gstreamer1/plugins-good/pkg/DESCR-main b/multimedia/gstreamer1/plugins-good/pkg/DESCR
index 5990c15..5990c15 100644
--- a/multimedia/gstreamer1/plugins-good/pkg/DESCR-main
+++ b/multimedia/gstreamer1/plugins-good/pkg/DESCR
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 @@
1This is GStreamer, a framework for streaming media.
2This package contains the "pulse" element for gstreamer-${API}.
3
4Part 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 @@
1lib/gstreamer-${API}/
2@so lib/gstreamer-${API}/libgstalaw.so
3@so lib/gstreamer-${API}/libgstalpha.so
4@so lib/gstreamer-${API}/libgstalphacolor.so
5@so lib/gstreamer-${API}/libgstapetag.so
6@so lib/gstreamer-${API}/libgstaudiofx.so
7@so lib/gstreamer-${API}/libgstaudioparsers.so
8@so lib/gstreamer-${API}/libgstauparse.so
9@so lib/gstreamer-${API}/libgstautodetect.so
10@so lib/gstreamer-${API}/libgstavi.so
11@so lib/gstreamer-${API}/libgstcutter.so
12@so lib/gstreamer-${API}/libgstdebug.so
13@so lib/gstreamer-${API}/libgstdeinterlace.so
14@so lib/gstreamer-${API}/libgstdtmf.so
15@so lib/gstreamer-${API}/libgsteffectv.so
16@so lib/gstreamer-${API}/libgstequalizer.so
17@so lib/gstreamer-${API}/libgstflv.so
18@so lib/gstreamer-${API}/libgstflxdec.so
19@so lib/gstreamer-${API}/libgstgoom.so
20@so lib/gstreamer-${API}/libgstgoom2k1.so
21@so lib/gstreamer-${API}/libgsticydemux.so
22@so lib/gstreamer-${API}/libgstid3demux.so
23@so lib/gstreamer-${API}/libgstimagefreeze.so
24@so lib/gstreamer-${API}/libgstinterleave.so
25@so lib/gstreamer-${API}/libgstisomp4.so
26@so lib/gstreamer-${API}/libgstlevel.so
27@so lib/gstreamer-${API}/libgstmatroska.so
28@so lib/gstreamer-${API}/libgstmonoscope.so
29@so lib/gstreamer-${API}/libgstmulaw.so
30@so lib/gstreamer-${API}/libgstmultifile.so
31@so lib/gstreamer-${API}/libgstmultipart.so
32@so lib/gstreamer-${API}/libgstnavigationtest.so
33@so lib/gstreamer-${API}/libgstreplaygain.so
34@so lib/gstreamer-${API}/libgstrtp.so
35@so lib/gstreamer-${API}/libgstrtpmanager.so
36@so lib/gstreamer-${API}/libgstrtsp.so
37@so lib/gstreamer-${API}/libgstshapewipe.so
38@so lib/gstreamer-${API}/libgstsmpte.so
39@so lib/gstreamer-${API}/libgstspectrum.so
40@so lib/gstreamer-${API}/libgstudp.so
41@so lib/gstreamer-${API}/libgstvideobox.so
42@so lib/gstreamer-${API}/libgstvideocrop.so
43@so lib/gstreamer-${API}/libgstvideofilter.so
44@so lib/gstreamer-${API}/libgstvideomixer.so
45@so lib/gstreamer-${API}/libgstwavenc.so
46@so lib/gstreamer-${API}/libgstwavparse.so
47@so lib/gstreamer-${API}/libgstxingmux.so
48@so lib/gstreamer-${API}/libgsty4menc.so
49share/gstreamer-${API}/
50share/gstreamer-${API}/presets/
51share/gstreamer-${API}/presets/GstIirEqualizer10Bands.prs
52share/gstreamer-${API}/presets/GstIirEqualizer3Bands.prs
53share/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 @@
1@conflict gstreamer1-plugins-bad-<1.14.0
2@conflict gstreamer1-plugins-ugly-<1.22.0
3@so lib/gstreamer-${API}/libgstadaptivedemux2.so
4@so lib/gstreamer-${API}/libgstalaw.so
5@so lib/gstreamer-${API}/libgstalpha.so
6@so lib/gstreamer-${API}/libgstalphacolor.so
7@so lib/gstreamer-${API}/libgstapetag.so
8@so lib/gstreamer-${API}/libgstaudiofx.so
9@so lib/gstreamer-${API}/libgstaudioparsers.so
10@so lib/gstreamer-${API}/libgstauparse.so
11@so lib/gstreamer-${API}/libgstautodetect.so
12@so lib/gstreamer-${API}/libgstavi.so
13@so lib/gstreamer-${API}/libgstcairo.so
14@so lib/gstreamer-${API}/libgstcutter.so
15@so lib/gstreamer-${API}/libgstdebug.so
16@so lib/gstreamer-${API}/libgstdeinterlace.so
17@so lib/gstreamer-${API}/libgstdtmf.so
18@so lib/gstreamer-${API}/libgsteffectv.so
19@so lib/gstreamer-${API}/libgstequalizer.so
20@so lib/gstreamer-${API}/libgstflac.so
21@so lib/gstreamer-${API}/libgstflv.so
22@so lib/gstreamer-${API}/libgstflxdec.so
23@so lib/gstreamer-${API}/libgstgdkpixbuf.so
24@so lib/gstreamer-${API}/libgstgoom.so
25@so lib/gstreamer-${API}/libgstgoom2k1.so
26@so lib/gstreamer-${API}/libgstgtk.so
27@so lib/gstreamer-${API}/libgsticydemux.so
28@so lib/gstreamer-${API}/libgstid3demux.so
29@so lib/gstreamer-${API}/libgstimagefreeze.so
30@so lib/gstreamer-${API}/libgstinterleave.so
31@so lib/gstreamer-${API}/libgstisomp4.so
32@so lib/gstreamer-${API}/libgstjpeg.so
33@so lib/gstreamer-${API}/libgstlame.so
34@so lib/gstreamer-${API}/libgstlevel.so
35@so lib/gstreamer-${API}/libgstmatroska.so
36@so lib/gstreamer-${API}/libgstmonoscope.so
37@so lib/gstreamer-${API}/libgstmulaw.so
38@so lib/gstreamer-${API}/libgstmultifile.so
39@so lib/gstreamer-${API}/libgstmultipart.so
40@so lib/gstreamer-${API}/libgstnavigationtest.so
41@so lib/gstreamer-${API}/libgstpng.so
42@so lib/gstreamer-${API}/libgstreplaygain.so
43@so lib/gstreamer-${API}/libgstrtp.so
44@so lib/gstreamer-${API}/libgstrtpmanager.so
45@so lib/gstreamer-${API}/libgstrtsp.so
46@so lib/gstreamer-${API}/libgstshapewipe.so
47@so lib/gstreamer-${API}/libgstshout2.so
48@so lib/gstreamer-${API}/libgstsmpte.so
49@so lib/gstreamer-${API}/libgstsoup.so
50@so lib/gstreamer-${API}/libgstspectrum.so
51@so lib/gstreamer-${API}/libgstspeex.so
52@so lib/gstreamer-${API}/libgsttaglib.so
53@so lib/gstreamer-${API}/libgsttwolame.so
54@so lib/gstreamer-${API}/libgstudp.so
55@so lib/gstreamer-${API}/libgstvideo4linux2.so
56@so lib/gstreamer-${API}/libgstvideobox.so
57@so lib/gstreamer-${API}/libgstvideocrop.so
58@so lib/gstreamer-${API}/libgstvideofilter.so
59@so lib/gstreamer-${API}/libgstvideomixer.so
60@so lib/gstreamer-${API}/libgstvpx.so
61@so lib/gstreamer-${API}/libgstwavenc.so
62@so lib/gstreamer-${API}/libgstwavpack.so
63@so lib/gstreamer-${API}/libgstwavparse.so
64@so lib/gstreamer-${API}/libgstximagesrc.so
65@so lib/gstreamer-${API}/libgstxingmux.so
66@so lib/gstreamer-${API}/libgsty4menc.so
67share/gstreamer-${API}/presets/
68share/gstreamer-${API}/presets/GstIirEqualizer10Bands.prs
69share/gstreamer-${API}/presets/GstIirEqualizer3Bands.prs
70share/gstreamer-${API}/presets/GstQTMux.prs
71share/gstreamer-${API}/presets/GstVP8Enc.prs
72share/locale/af/LC_MESSAGES/gst-plugins-good-${API}.mo
73share/locale/az/LC_MESSAGES/gst-plugins-good-${API}.mo
74share/locale/bg/LC_MESSAGES/gst-plugins-good-${API}.mo
75share/locale/ca/LC_MESSAGES/gst-plugins-good-${API}.mo
76share/locale/cs/LC_MESSAGES/gst-plugins-good-${API}.mo
77share/locale/da/LC_MESSAGES/gst-plugins-good-${API}.mo
78share/locale/de/LC_MESSAGES/gst-plugins-good-${API}.mo
79share/locale/el/LC_MESSAGES/gst-plugins-good-${API}.mo
80share/locale/en_GB/LC_MESSAGES/gst-plugins-good-${API}.mo
81share/locale/eo/LC_MESSAGES/gst-plugins-good-${API}.mo
82share/locale/es/LC_MESSAGES/gst-plugins-good-${API}.mo
83share/locale/eu/LC_MESSAGES/gst-plugins-good-${API}.mo
84share/locale/fi/LC_MESSAGES/gst-plugins-good-${API}.mo
85share/locale/fr/LC_MESSAGES/gst-plugins-good-${API}.mo
86share/locale/fur/LC_MESSAGES/gst-plugins-good-${API}.mo
87share/locale/gl/LC_MESSAGES/gst-plugins-good-${API}.mo
88share/locale/hr/LC_MESSAGES/gst-plugins-good-${API}.mo
89share/locale/hu/LC_MESSAGES/gst-plugins-good-${API}.mo
90share/locale/id/LC_MESSAGES/gst-plugins-good-${API}.mo
91share/locale/it/LC_MESSAGES/gst-plugins-good-${API}.mo
92share/locale/ja/LC_MESSAGES/gst-plugins-good-${API}.mo
93share/locale/ka/LC_MESSAGES/gst-plugins-good-${API}.mo
94share/locale/ky/LC_MESSAGES/gst-plugins-good-${API}.mo
95share/locale/lt/LC_MESSAGES/gst-plugins-good-${API}.mo
96share/locale/lv/LC_MESSAGES/gst-plugins-good-${API}.mo
97share/locale/mt/LC_MESSAGES/gst-plugins-good-${API}.mo
98share/locale/nb/LC_MESSAGES/gst-plugins-good-${API}.mo
99share/locale/nl/LC_MESSAGES/gst-plugins-good-${API}.mo
100share/locale/or/LC_MESSAGES/gst-plugins-good-${API}.mo
101share/locale/pl/LC_MESSAGES/gst-plugins-good-${API}.mo
102share/locale/pt_BR/LC_MESSAGES/gst-plugins-good-${API}.mo
103share/locale/ro/LC_MESSAGES/gst-plugins-good-${API}.mo
104share/locale/ru/LC_MESSAGES/gst-plugins-good-${API}.mo
105share/locale/sk/LC_MESSAGES/gst-plugins-good-${API}.mo
106share/locale/sl/LC_MESSAGES/gst-plugins-good-${API}.mo
107share/locale/sq/LC_MESSAGES/gst-plugins-good-${API}.mo
108share/locale/sr/LC_MESSAGES/gst-plugins-good-${API}.mo
109share/locale/sv/LC_MESSAGES/gst-plugins-good-${API}.mo
110share/locale/tr/LC_MESSAGES/gst-plugins-good-${API}.mo
111share/locale/uk/LC_MESSAGES/gst-plugins-good-${API}.mo
112share/locale/vi/LC_MESSAGES/gst-plugins-good-${API}.mo
113share/locale/zh_CN/LC_MESSAGES/gst-plugins-good-${API}.mo
114share/locale/zh_HK/LC_MESSAGES/gst-plugins-good-${API}.mo
115share/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 @@
1@so lib/gstreamer-${API}/libgstpulseaudio.so