aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2024-09-22 08:31:12 +0000
committerJason E. Hale <jhale@FreeBSD.org>2024-09-22 10:35:56 +0000
commit8c1efc578d6f6e5fc6371bf22d3983675f636b44 (patch)
treecda33cae64ea7eb8ab1691b43bad1224d70a5990
parent27e292fa133e405d70bf6e01e147d5e19de07d37 (diff)
multimedia/gstreamer1: Update to 1.24.8
Mk/Uses/gstreamer.mk: - Sort, fix whitespace issues and typos - Promote several common variables to improve maintainer QOL * There's now no need to set manually set PORTVERSION nor SOVERSION in several Makefiles * This will help to prevent not updating some components * A note has been added, however, to remind maintainers to remake distinfo for certain ports - Improve documentation multimedia/gstreamer1-plugins-webrtc: - New port split from multimedia/gstreamer1-plugins-bad - multimedia/gstreamer1-plugins-rust has been updated to reflect this change net/gstreamer1-plugins-sctp: - New port split from multimedia/gstreamer1-plugins-bad x11-toolkits/gstreamer1-plugins-qt5: - Moved here from graphics/gstreamer1-plugins-qt to align with its new Qt6 counterpart x11-toolkits/gstreamer1-plugins-qt6: - New port: GStreamer Qt6 QML videosink plugin */*: - Improve Makefile order and formatting - Sorry for the repo churn, but not fixing this would just lead to more poorly formatted gstreamer ports in the future via copypasta https://gstreamer.freedesktop.org/releases/1.24/#1.24.8 PR: 278914 Reported by: vvd
-rw-r--r--MOVED1
-rw-r--r--Mk/Uses/gstreamer.mk172
-rw-r--r--audio/gstreamer1-plugins-a52dec/Makefile12
-rw-r--r--audio/gstreamer1-plugins-amrnb/Makefile12
-rw-r--r--audio/gstreamer1-plugins-amrwbdec/Makefile13
-rw-r--r--audio/gstreamer1-plugins-bs2b/Makefile13
-rw-r--r--audio/gstreamer1-plugins-cdparanoia/Makefile10
-rw-r--r--audio/gstreamer1-plugins-chromaprint/Makefile10
-rw-r--r--audio/gstreamer1-plugins-faac/Makefile10
-rw-r--r--audio/gstreamer1-plugins-faad/Makefile12
-rw-r--r--audio/gstreamer1-plugins-flac/Makefile10
-rw-r--r--audio/gstreamer1-plugins-flite/Makefile10
-rw-r--r--audio/gstreamer1-plugins-gme/Makefile12
-rw-r--r--audio/gstreamer1-plugins-gsm/Makefile10
-rw-r--r--audio/gstreamer1-plugins-jack/Makefile10
-rw-r--r--audio/gstreamer1-plugins-ladspa/Makefile13
-rw-r--r--audio/gstreamer1-plugins-lame/Makefile10
-rw-r--r--audio/gstreamer1-plugins-lv2/Makefile20
-rw-r--r--audio/gstreamer1-plugins-modplug/Makefile10
-rw-r--r--audio/gstreamer1-plugins-mpg123/Makefile10
-rw-r--r--audio/gstreamer1-plugins-ogg/Makefile10
-rw-r--r--audio/gstreamer1-plugins-openmpt/Makefile10
-rw-r--r--audio/gstreamer1-plugins-opus/Makefile10
-rw-r--r--audio/gstreamer1-plugins-pulse/Makefile12
-rw-r--r--audio/gstreamer1-plugins-shout2/Makefile10
-rw-r--r--audio/gstreamer1-plugins-sidplay/Makefile12
-rw-r--r--audio/gstreamer1-plugins-sndfile/Makefile10
-rw-r--r--audio/gstreamer1-plugins-soundtouch/Makefile11
-rw-r--r--audio/gstreamer1-plugins-speex/Makefile10
-rw-r--r--audio/gstreamer1-plugins-taglib/Makefile16
-rw-r--r--audio/gstreamer1-plugins-twolame/Makefile10
-rw-r--r--audio/gstreamer1-plugins-vorbis/Makefile13
-rw-r--r--audio/gstreamer1-plugins-wavpack/Makefile10
-rw-r--r--audio/gstreamer1-plugins-webrtcdsp/Makefile10
-rw-r--r--comms/gstreamer1-plugins-spandsp/Makefile10
-rw-r--r--devel/gstreamer1-plugins-soup/Makefile10
-rw-r--r--ftp/gstreamer1-plugins-curl/Makefile12
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/gstreamer1-plugins-aalib/Makefile12
-rw-r--r--graphics/gstreamer1-plugins-cairo/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-gdkpixbuf/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-gl/Makefile45
-rw-r--r--graphics/gstreamer1-plugins-gl/pkg-plist2
-rw-r--r--graphics/gstreamer1-plugins-jpeg/Makefile12
-rw-r--r--graphics/gstreamer1-plugins-kms/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-libcaca/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-libvisual/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-opencv/Makefile15
-rw-r--r--graphics/gstreamer1-plugins-openexr/Makefile15
-rw-r--r--graphics/gstreamer1-plugins-openjpeg/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-png/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-qt/Makefile19
-rw-r--r--graphics/gstreamer1-plugins-rsvg/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-vulkan/Makefile30
-rw-r--r--graphics/gstreamer1-plugins-vulkan/pkg-plist8
-rw-r--r--graphics/gstreamer1-plugins-webp/Makefile10
-rw-r--r--graphics/gstreamer1-plugins-zbar/Makefile10
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/gstreamer1-editing-services/Makefile13
-rw-r--r--multimedia/gstreamer1-editing-services/distinfo6
-rw-r--r--multimedia/gstreamer1-editing-services/pkg-plist6
-rw-r--r--multimedia/gstreamer1-libav/Makefile8
-rw-r--r--multimedia/gstreamer1-libav/distinfo6
-rw-r--r--multimedia/gstreamer1-plugins-all/Makefile2
-rw-r--r--multimedia/gstreamer1-plugins-aom/Makefile10
-rw-r--r--multimedia/gstreamer1-plugins-assrender/Makefile13
-rw-r--r--multimedia/gstreamer1-plugins-bad/Makefile40
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-ext_dtls_meson.build11
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-ext_sctp_meson.build11
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-ext_srtp_meson.build11
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-ext_vulkan_meson.build11
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtc_meson.build27
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build10
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_analytics_meson.build12
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_audio_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_basecamerabinsrc_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecparsers_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecs_meson.build23
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_dxva_meson.build12
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_insertbin_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mpegts_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mse_meson.build12
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_play_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_player_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_transcoder_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_va_meson.build25
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_webrtc_meson.build9
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-meson.build6
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-meson__options.txt10
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-sys_kms_meson.build10
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-sys_msdk_meson.build6
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-tests_examples_meson.build16
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-tests_meson.build13
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-tools_meson.build28
-rw-r--r--multimedia/gstreamer1-plugins-bad/pkg-plist76
-rw-r--r--multimedia/gstreamer1-plugins-core/Makefile28
-rw-r--r--multimedia/gstreamer1-plugins-dash/Makefile10
-rw-r--r--multimedia/gstreamer1-plugins-dts/Makefile12
-rw-r--r--multimedia/gstreamer1-plugins-dv/Makefile10
-rw-r--r--multimedia/gstreamer1-plugins-dvdread/Makefile14
-rw-r--r--multimedia/gstreamer1-plugins-good/Makefile13
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-ext_qt6_meson.build11
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-ext_qt_meson.build11
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.c12
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_v4l2__calls.c4
-rw-r--r--multimedia/gstreamer1-plugins-hls/Makefile10
-rw-r--r--multimedia/gstreamer1-plugins-libde265/Makefile10
-rw-r--r--multimedia/gstreamer1-plugins-mpeg2dec/Makefile14
-rw-r--r--multimedia/gstreamer1-plugins-mpeg2enc/Makefile16
-rw-r--r--multimedia/gstreamer1-plugins-mplex/Makefile18
-rw-r--r--multimedia/gstreamer1-plugins-msdk/Makefile20
-rw-r--r--multimedia/gstreamer1-plugins-openh264/Makefile10
-rw-r--r--multimedia/gstreamer1-plugins-resindvd/Makefile16
-rw-r--r--multimedia/gstreamer1-plugins-rust/Makefile4
-rw-r--r--multimedia/gstreamer1-plugins-smoothstreaming/Makefile12
-rw-r--r--multimedia/gstreamer1-plugins-theora/Makefile12
-rw-r--r--multimedia/gstreamer1-plugins-ttml/Makefile10
-rw-r--r--multimedia/gstreamer1-plugins-ugly/Makefile11
-rw-r--r--multimedia/gstreamer1-plugins-v4l2/Makefile15
-rw-r--r--multimedia/gstreamer1-plugins-vpx/Makefile12
-rw-r--r--multimedia/gstreamer1-plugins-webrtc/Makefile17
-rw-r--r--multimedia/gstreamer1-plugins-webrtc/pkg-plist28
-rw-r--r--multimedia/gstreamer1-plugins-x264/Makefile14
-rw-r--r--multimedia/gstreamer1-plugins-x265/Makefile16
-rw-r--r--multimedia/gstreamer1-plugins/Makefile91
-rw-r--r--multimedia/gstreamer1-plugins/Makefile.common66
-rw-r--r--multimedia/gstreamer1-plugins/distinfo18
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c8
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-ext_gl_meson.build6
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_allocators_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_app_meson.build6
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_audio_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_gl_meson.build20
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_pbutils_meson.build9
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtp_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtsp_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_sdp_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_tag_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_video_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-meson.build8
-rw-r--r--multimedia/gstreamer1-plugins/files/patch-tools_meson.build4
-rw-r--r--multimedia/gstreamer1-plugins/pkg-plist13
-rw-r--r--multimedia/gstreamer1-rtsp-server/Makefile10
-rw-r--r--multimedia/gstreamer1-rtsp-server/distinfo6
-rw-r--r--multimedia/gstreamer1-vaapi/Makefile5
-rw-r--r--multimedia/gstreamer1-vaapi/distinfo6
-rw-r--r--multimedia/gstreamer1/Makefile59
-rw-r--r--multimedia/gstreamer1/distinfo6
-rw-r--r--multimedia/gstreamer1/pkg-plist4
-rw-r--r--net/Makefile1
-rw-r--r--net/gstreamer1-plugins-sctp/Makefile13
-rw-r--r--net/gstreamer1-plugins-sctp/pkg-plist8
-rw-r--r--net/gstreamer1-plugins-srtp/Makefile10
-rw-r--r--security/gstreamer1-plugins-dtls/Makefile10
-rw-r--r--sysutils/gstreamer1-plugins-cdio/Makefile14
-rw-r--r--textproc/gstreamer1-plugins-zxing/Makefile8
-rw-r--r--textproc/gstreamer1-plugins-zxing/distinfo5
-rw-r--r--www/gstreamer1-plugins-neon/Makefile12
-rw-r--r--www/gstreamer1-plugins-srt/Makefile10
-rw-r--r--x11-toolkits/Makefile2
-rw-r--r--x11-toolkits/gstreamer1-plugins-gtk/Makefile18
-rw-r--r--x11-toolkits/gstreamer1-plugins-pango/Makefile14
-rw-r--r--x11-toolkits/gstreamer1-plugins-qt5/Makefile27
-rw-r--r--x11-toolkits/gstreamer1-plugins-qt5/pkg-plist (renamed from graphics/gstreamer1-plugins-qt/pkg-plist)0
-rw-r--r--x11-toolkits/gstreamer1-plugins-qt6/Makefile26
-rw-r--r--x11-toolkits/gstreamer1-plugins-qt6/pkg-plist1
-rw-r--r--x11/gstreamer1-plugins-x/Makefile20
-rw-r--r--x11/gstreamer1-plugins-ximagesrc/Makefile21
169 files changed, 1356 insertions, 932 deletions
diff --git a/MOVED b/MOVED
index 44f226b1025e..84800032a281 100644
--- a/MOVED
+++ b/MOVED
@@ -3482,3 +3482,4 @@ databases/ldb15||2024-09-18|Has expired: Outdated and not necessary for any supp
net/rubygem-kas-grpc|net/rubygem-gitlab-kas-grpc|2024-09-19|Renamed, use net/rubygem-gitlab-kas-grpc instead
databases/ldb20||2024-09-22|Has expired: Outdated and not necessary for any supported version of Samba
databases/ldb21||2024-09-22|Has expired: Outdated and not necessary for any supported version of Samba
+graphics/gstreamer1-plugins-qt|x11-toolkits/gstreamer1-plugins-qt5|2024-09-21|Rename with versioned suffix and move to a more fitting category with the addition of its Qt6 counterpart
diff --git a/Mk/Uses/gstreamer.mk b/Mk/Uses/gstreamer.mk
index 42558da3308d..4c4e4d4f6a45 100644
--- a/Mk/Uses/gstreamer.mk
+++ b/Mk/Uses/gstreamer.mk
@@ -1,12 +1,18 @@
+# Support for GStreamer-related libraries and plugins
#
-# gstreamer.mk - Support for gstreamer-plugins-based ports.
-#
+# Feature: gstreamer
# Usage:
-# USES= gstreamer[:version]
-# USE_GSTREAMER= [list of components]
+# USES= gstreamer[:version][,arg,...]
+# USE_GSTREAMER= [list of components]
+#
+# Valid ARGS: <version>, _internal
+#
+# version: 1 -- default (this may be omitted since there is
+# currently only one supported version)
+# _internal: Only intended for use by multimedia/gstreamer1 to
+# define specific variables so as not depend on itself
#
-# Supported versions: 1 -- default
-# #
+# MAINTAINER: multimedia@FreeBSD.org
.if ! defined(_INCLUDE_USES_GSTREAMER_MK)
_INCLUDE_USES_GSTREAMER_MK= YES
@@ -22,7 +28,7 @@ _GST_VER= #
. if empty(_GST_VER)
_GST_VER= ${ver}
. else
-INGORE= Incorrect USES=gstreamer:${gstramer_ARGS} - multiple versions defined
+IGNORE= Incorrect USES=gstreamer:${gstreamer_ARGS} - multiple versions defined
. endif
. endif
. endfor
@@ -33,8 +39,16 @@ _GST_VER= ${_GST_VER_DEFAULT}
#== Component setup
-_GST1_VERSION= 1.22.10
+# When modifying _GST1_VERSION, be sure to also update distinfo for the
+# following ports:
+# - multimedia/gstreamer1
+# - multimedia/gstreamer1-editing-services
+# - multimedia/gstreamer1-plugins (via `make makesum-gst1`)
+# - multimedia/gstreamer1-rtsp-server
+# - multimedia/gstreamer1-vaapi
+_GST1_VERSION= 1.24.8
_GST1_LIB_VER= 1.0
+_GST1_SOVERSION= 0.${_GST1_VERSION:R:E}${${_GST1_VERSION:E} > 9:?:0}${_GST1_VERSION:E}.0
_GST1_CATEGORIES= audio comms devel ftp graphics multimedia net security \
sysutils www x11 x11-toolkits
@@ -46,19 +60,20 @@ _GST1_PLUGINS_audio= a52dec amrnb amrwbdec bs2b cdparanoia chromaprint faac \
_GST1_PLUGINS_comms= spandsp
_GST1_PLUGINS_devel= soup
_GST1_PLUGINS_ftp= curl
-_GST1_PLUGINS_graphics= aalib cairo gdkpixbuf gl jpeg kms libcaca libvisual \
- opencv openexr openjpeg png qt rsvg vulkan webp zbar
+_GST1_PLUGINS_graphics= aalib cairo gdkpixbuf gl jpeg kms libcaca libvisual \
+ opencv openexr openjpeg png rsvg vulkan webp zbar
_GST1_PLUGINS_multimedia= aom assrender bad dash dts dv dvdread \
editing-services gnonlin good hls libav libde265 \
- mpeg2dec mpeg2enc mplex mm openh264 resindvd \
- smoothstreaming theora ttml ugly v4l2 vpx x264 x265 \
- zxing
-_GST1_PLUGINS_net= srtp
+ mpeg2dec mpeg2enc mplex mm msdk openh264 resindvd \
+ smoothstreaming theora ttml ugly v4l2 vaapi vpx webrtc \
+ x264 x265
+_GST1_PLUGINS_net= sctp srtp
_GST1_PLUGINS_security= dtls
_GST1_PLUGINS_sysutils= cdio
-_GST1_PLUGINS_www= neon
+_GST1_PLUGINS_textproc= zxing
+_GST1_PLUGINS_www= neon srt
_GST1_PLUGINS_x11= x ximagesrc
-_GST1_PLUGINS_x11-toolkits= gtk pango
+_GST1_PLUGINS_x11-toolkits= gtk pango qt5 qt6
# == Unversioned information
@@ -67,6 +82,8 @@ _GST_PLUGINS_BASE= bad core good ugly libgstreamer plugins
_GST_PLUGINS_VER:= ${_GST${_GST_VER}_CATEGORIES:S/^/\${_GST${_GST_VER}_PLUGINS_/:S/$/}/}
_GST_VERSION= ${_GST${_GST_VER}_VERSION}
+_GST_LIB_VER= ${_GST${_GST_VER}_LIB_VER}
+_GST_SOVERSION= ${_GST${_GST_VER}_SOVERSION}
# List of all available components
_USE_GSTREAMER_ALL= ${_GST_PLUGINS_BASE} \
@@ -85,7 +102,7 @@ gst-bad_IMPL= #
gst-core_PORT= multimedia/gstreamer${_GST_VER}-plugins-core
gst-core_IMPL= #
-gst-core_GST1_VERSION= 1.16
+gst-core_GST1_VERSION= 1.24
gst-core_VERSION= ${gst-core_GST${_GST_VER}_VERSION}
gst-good_PORT= multimedia/gstreamer${_GST_VER}-plugins-good
@@ -97,7 +114,7 @@ gst-ugly_IMPL= #
gst-libgstreamer_LIB= libgstreamer${_GST${_GST_VER}_LIB_VER:D-${_GST${_GST_VER}_LIB_VER}}.so
gst-libgstreamer_PORT= multimedia/gstreamer${_GST_VER}
-#==== Audio Plugins Section
+#==== audio plugins section
gst-a52dec_PORT= audio/gstreamer${_GST_VER}-plugins-a52dec
gst-a52dec_IMPL= ugly
@@ -153,12 +170,12 @@ gst-modplug_IMPL= bad
gst-mpg123_PORT= audio/gstreamer${_GST_VER}-plugins-mpg123
gst-mpg123_IMPL= ugly
-gst-neon_PORT= www/gstreamer${_GST_VER}-plugins-neon
-gst-neon_IMPL= bad
-
gst-ogg_PORT= audio/gstreamer${_GST_VER}-plugins-ogg
gst-ogg_IMPL= #
+gst-openmpt_PORT= audio/gstreamer${_GST_VER}-plugins-openmpt
+gst-openmpt_IMPL= bad
+
gst-opus_PORT= audio/gstreamer${_GST_VER}-plugins-opus
gst-opus_IMPL= #
@@ -171,13 +188,13 @@ gst-shout2_IMPL= good
gst-sidplay_PORT= audio/gstreamer${_GST_VER}-plugins-sidplay
gst-sidplay_IMPL= ugly
+gst-sndfile_PORT= audio/gstreamer${_GST_VER}-plugins-sndfile
+gst-sndfile_IMPL= bad
+
gst-sndio_PORT= audio/gstreamer${_GST_VER}-plugins-sndio
gst-sndio_IMPL= #
gst-sndio_VERSION= 1.8.0
-gst-sndfile_PORT= audio/gstreamer${_GST_VER}-plugins-sndfile
-gst-sndfile_IMPL= bad
-
gst-soundtouch_PORT= audio/gstreamer${_GST_VER}-plugins-soundtouch
gst-soundtouch_IMPL= bad
@@ -219,12 +236,6 @@ gst-curl_IMPL= bad
gst-aalib_PORT= graphics/gstreamer${_GST_VER}-plugins-aalib
gst-aalib_IMPL= good
-gst-aom_PORT= multimedia/gstreamer${_GST_VER}-plugins-aom
-gst-aom_IMPL= bad
-
-gst-assrender_PORT= multimedia/gstreamer${_GST_VER}-plugins-assrender
-gst-assrender_IMPL= bad
-
gst-cairo_PORT= graphics/gstreamer${_GST_VER}-plugins-cairo
gst-cairo_IMPL= good
@@ -255,18 +266,15 @@ gst-openexr_IMPL= bad
gst-openjpeg_PORT= graphics/gstreamer${_GST_VER}-plugins-openjpeg
gst-openjpeg_IMPL= bad
-gst-openmpt_PORT= audio/gstreamer${_GST_VER}-plugins-openmpt
-gst-openmpt_IMPL= bad
-
gst-png_PORT= graphics/gstreamer${_GST_VER}-plugins-png
gst-png_IMPL= good
-gst-qt_PORT= graphics/gstreamer${_GST_VER}-plugins-qt
-gst-qt_IMPL= good
-
gst-rsvg_PORT= graphics/gstreamer${_GST_VER}-plugins-rsvg
gst-rsvg_IMPL= bad
+gst-vulkan_PORT= graphics/gstreamer${_GST_VER}-plugins-vulkan
+gst-vulkan_IMPL= bad
+
gst-webp_PORT= graphics/gstreamer${_GST_VER}-plugins-webp
gst-webp_IMPL= bad
@@ -275,22 +283,28 @@ gst-zbar_IMPL= bad
#==== multimedia plugins section
+gst-aom_PORT= multimedia/gstreamer${_GST_VER}-plugins-aom
+gst-aom_IMPL= bad
+
+gst-assrender_PORT= multimedia/gstreamer${_GST_VER}-plugins-assrender
+gst-assrender_IMPL= bad
+
gst-dash_PORT= multimedia/gstreamer${_GST_VER}-plugins-dash
gst-dash_IMPL= bad
gst-dvdread_PORT= multimedia/gstreamer${_GST_VER}-plugins-dvdread
gst-dvdread_IMPL= ugly
-gst-editing-services_PORT= multimedia/gstreamer${_GST_VER}-editing-services
-gst-editing-services_SUFFIX= #
-gst-editing-services_IMPL= #
-
gst-dts_PORT= multimedia/gstreamer${_GST_VER}-plugins-dts
gst-dts_IMPL= bad
gst-dv_PORT= multimedia/gstreamer${_GST_VER}-plugins-dv
gst-dv_IMPL= good
+gst-editing-services_PORT= multimedia/gstreamer${_GST_VER}-editing-services
+gst-editing-services_SUFFIX= #
+gst-editing-services_IMPL= #
+
gst-gnonlin_PORT= multimedia/gstreamer${_GST_VER}-plugins-gnonlin
gst-gnonlin_IMPL= good
gst-gnonlin_VERSION= 1.4.0
@@ -321,33 +335,36 @@ gst-mpeg2enc_IMPL= bad
gst-mplex_PORT= multimedia/gstreamer${_GST_VER}-plugins-mplex
gst-mplex_IMPL= bad
+gst-msdk_PORT= multimedia/gstreamer${_GST_VER}-plugins-msdk
+gst-msdk_IMPL= bad
+
gst-openh264_PORT= multimedia/gstreamer${_GST_VER}-plugins-openh264
gst-openh264_IMPL= bad
+gst-resindvd_PORT= multimedia/gstreamer${_GST_VER}-plugins-resindvd
+gst-resindvd_IMPL= bad
+
gst-smoothstreaming_PORT= multimedia/gstreamer${_GST_VER}-plugins-smoothstreaming
gst-smoothstreaming_IMPL= bad
+gst-theora_PORT= multimedia/gstreamer${_GST_VER}-plugins-theora
+gst-theora_IMPL= #
+
gst-ttml_PORT= multimedia/gstreamer${_GST_VER}-plugins-ttml
gst-ttml_IMPL= bad
gst-v4l2_PORT= multimedia/gstreamer${_GST_VER}-plugins-v4l2
gst-v4l2_IMPL= good
-# hmmm
-gst-vaapi_PORT= multimedia/gstreamer-vaapi
-gst-vaapi_IMPL= bad
+gst-vaapi_PORT= multimedia/gstreamer${_GST_VER}-vaapi
+gst-vaapi_SUFFIX= #
+gst-vaapi_IMPL= #
gst-vpx_PORT= multimedia/gstreamer${_GST_VER}-plugins-vpx
gst-vpx_IMPL= good
-gst-vulkan_PORT= graphics/gstreamer${_GST_VER}-plugins-vulkan
-gst-vulkan_IMPL= bad
-
-gst-resindvd_PORT= multimedia/gstreamer${_GST_VER}-plugins-resindvd
-gst-resindvd_IMPL= bad
-
-gst-theora_PORT= multimedia/gstreamer${_GST_VER}-plugins-theora
-gst-theora_IMPL= #
+gst-webrtc_PORT= multimedia/gstreamer${_GST_VER}-plugins-webrtc
+gst-webrtc_IMPL= bad
gst-x264_PORT= multimedia/gstreamer${_GST_VER}-plugins-x264
gst-x264_IMPL= ugly
@@ -355,10 +372,10 @@ gst-x264_IMPL= ugly
gst-x265_PORT= multimedia/gstreamer${_GST_VER}-plugins-x265
gst-x265_IMPL= bad
-gst-zxing_PORT= textproc/gstreamer${_GST_VER}-plugins-zxing
-gst-zxing_IMPL= bad
+#==== net plugins section
-#==== Net Plugins Section
+gst-sctp_PORT= net/gstreamer${_GST_VER}-plugins-sctp
+gst-sctp_IMPL= bad
gst-srtp_PORT= net/gstreamer${_GST_VER}-plugins-srtp
gst-srtp_IMPL= bad
@@ -373,6 +390,19 @@ gst-dtls_IMPL= bad
gst-cdio_PORT= sysutils/gstreamer${_GST_VER}-plugins-cdio
gst-cdio_IMPL= ugly
+#==== textproc plugins section
+
+gst-zxing_PORT= textproc/gstreamer${_GST_VER}-plugins-zxing
+gst-zxing_IMPL= bad
+
+#==== www plugins section
+
+gst-neon_PORT= www/gstreamer${_GST_VER}-plugins-neon
+gst-neon_IMPL= bad
+
+gst-srt_PORT= www/gstreamer${_GST_VER}-plugins-srt
+gst-srt_IMPL= bad
+
#==== x11 plugins section
gst-x_PORT= x11/gstreamer${_GST_VER}-plugins-x
@@ -389,26 +419,33 @@ gst-gtk_IMPL= bad
gst-pango_PORT= x11-toolkits/gstreamer${_GST_VER}-plugins-pango
gst-pango_IMPL= #
+gst-qt5_PORT= x11-toolkits/gstreamer${_GST_VER}-plugins-qt5
+gst-qt5_IMPL= good
+
+gst-qt6_PORT= x11-toolkits/gstreamer${_GST_VER}-plugins-qt6
+gst-qt6_IMPL= good
+
#== Dependency creation
+. if empty(gstreamer_ARGS:M_internal)
_GST_BR_DEPENDS= #
_GST_LIB_DEPENDS= #
USE_GSTREAMER?= #
# everything wants this
USE_GSTREAMER+= libgstreamer
-. if ${PORTDIRNAME} != gstreamer${_GST_VER}-plugins
+. if ${PORTDIRNAME} != gstreamer${_GST_VER}-plugins
USE_GSTREAMER+= plugins
-. endif
+. endif
# Gather all Impl values
-_GST_IMPL_LIST:= ${USE_GSTREAMER:S/^/\${gst-/:S/$/_IMPL}/}
+_GST_IMPL_LIST:= ${USE_GSTREAMER:S/^/\${gst-/:S/$/_IMPL}/}
# Combine the wanted copmonents and the required implementations
_USE_GSTREAMER= ${USE_GSTREAMER} \
${_GST_IMPL_LIST}
-. for component in ${_USE_GSTREAMER:O:u}
+. for component in ${_USE_GSTREAMER:O:u}
# Fill in the common default component values
gst-${component}_VERSION?= ${_GST_VERSION}
gst-${component}_NAME?= ${component}
@@ -416,18 +453,19 @@ gst-${component}_PREFIX?= gstreamer${_GST_VER}-
gst-${component}_SUFFIX?= plugins-
gst-${component}_PKG?= ${gst-${component}_PREFIX}${gst-${component}_SUFFIX}${gst-${component}_NAME}
-. if empty(_USE_GSTREAMER_ALL:M${component})
+. if empty(_USE_GSTREAMER_ALL:M${component})
IGNORE= unknown gstreamer component '${component}' for gstreamer:${_GST_VER}
-. endif
-. if !empty(gst-${component}_LIB)
+. endif
+. if !empty(gst-${component}_LIB)
_GST_LIB_DEPENDS+= ${gst-${component}_LIB}:${gst-${component}_PORT}
-. else
+. else
_GST_BR_DEPENDS+= ${gst-${component}_PKG}>=${gst-${component}_VERSION}:${gst-${component}_PORT}
-. endif
-. endfor
+. endif
+. endfor
-LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u}
-BUILD_DEPENDS+= ${_GST_BR_DEPENDS:O:u}
-RUN_DEPENDS+= ${_GST_BR_DEPENDS:O:u}
+LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u}
+BUILD_DEPENDS+= ${_GST_BR_DEPENDS:O:u}
+RUN_DEPENDS+= ${_GST_BR_DEPENDS:O:u}
+. endif
.endif
diff --git a/audio/gstreamer1-plugins-a52dec/Makefile b/audio/gstreamer1-plugins-a52dec/Makefile
index 7b743eb76a34..81638fd0a539 100644
--- a/audio/gstreamer1-plugins-a52dec/Makefile
+++ b/audio/gstreamer1-plugins-a52dec/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer ATSC A/52 stream aka AC-3 (dvd audio) plugin
-GST_PLUGIN= a52dec
-DIST= ugly
+LIB_DEPENDS= liba52.so:audio/liba52
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-MESON_ARGS+= -Dgpl=enabled
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= liba52.so:audio/liba52
+DIST= ugly
+GST_PLUGIN= a52dec
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-amrnb/Makefile b/audio/gstreamer1-plugins-amrnb/Makefile
index fc4c144ead72..289e6250fbe5 100644
--- a/audio/gstreamer1-plugins-amrnb/Makefile
+++ b/audio/gstreamer1-plugins-amrnb/Makefile
@@ -3,15 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer OpenCore based Adaptive Multi-Rate Narrow-Band plugin
-GST_PLUGIN= amrnb
-DIST= ugly
-
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr
-MESON_ARGS+= -Dgpl=enabled
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr
+DIST= good
+GST_PLUGIN= amrnb
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-amrwbdec/Makefile b/audio/gstreamer1-plugins-amrwbdec/Makefile
index b851ca985326..01c4c00cdb42 100644
--- a/audio/gstreamer1-plugins-amrwbdec/Makefile
+++ b/audio/gstreamer1-plugins-amrwbdec/Makefile
@@ -1,18 +1,15 @@
PORTREVISION= 0
CATEGORIES= audio
-PKGNAMESUFFIX= 1-plugins-amrwbdec
COMMENT= GStreamer OpenCore based Adaptive Multi-Rate Wide-Band Decoder plugin
-GST_PLUGIN= amrwbdec
-DIST= ugly
-
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr
-MESON_ARGS+= -Dgpl=enabled
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr
+DIST= good
+GST_PLUGIN= amrwbdec
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-bs2b/Makefile b/audio/gstreamer1-plugins-bs2b/Makefile
index 80da3eeaf9f6..f1aba182cc9e 100644
--- a/audio/gstreamer1-plugins-bs2b/Makefile
+++ b/audio/gstreamer1-plugins-bs2b/Makefile
@@ -3,14 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer Bauer Stereophonic to Banaural BSP (bs2b) plugin
-GST_PLUGIN= bs2b
-DIST= bad
+LIB_DEPENDS= libbs2b.so:audio/libbs2b
+
+MESON_ARGS+= -Dgpl=enabled
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libbs2b.so:audio/libbs2b
+PLIST= ${.CURDIR}/pkg-plist
-MESON_ARGS+= -Dgpl=enabled
+DIST= bad
+GST_PLUGIN= bs2b
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-cdparanoia/Makefile b/audio/gstreamer1-plugins-cdparanoia/Makefile
index 25b57c3b437b..2046b9ea3d5c 100644
--- a/audio/gstreamer1-plugins-cdparanoia/Makefile
+++ b/audio/gstreamer1-plugins-cdparanoia/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer CDDA extraction (aka audio ripping) plugin
-GST_PLUGIN= cdparanoia
-DIST= base
+LIB_DEPENDS= libcdda_interface.so:audio/cdparanoia
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libcdda_interface.so:audio/cdparanoia
+DIST= base
+GST_PLUGIN= cdparanoia
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-chromaprint/Makefile b/audio/gstreamer1-plugins-chromaprint/Makefile
index 316daec89e57..53fbc39e7aa9 100644
--- a/audio/gstreamer1-plugins-chromaprint/Makefile
+++ b/audio/gstreamer1-plugins-chromaprint/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer audio fingerprint extracting plugin
-GST_PLUGIN= chromaprint
-DIST= bad
+LIB_DEPENDS= libchromaprint.so:audio/chromaprint
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libchromaprint.so:audio/chromaprint
+DIST= bad
+GST_PLUGIN= chromaprint
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-faac/Makefile b/audio/gstreamer1-plugins-faac/Makefile
index eb7e715f48d2..45944030d57d 100644
--- a/audio/gstreamer1-plugins-faac/Makefile
+++ b/audio/gstreamer1-plugins-faac/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer MPEG-2 and MPEG-4 AAC encoder plugin
-GST_PLUGIN= faac
-DIST= bad
+LIB_DEPENDS= libfaac.so:audio/faac
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libfaac.so:audio/faac
+DIST= bad
+GST_PLUGIN= faac
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-faad/Makefile b/audio/gstreamer1-plugins-faad/Makefile
index d63c8e7b0960..da06599254ea 100644
--- a/audio/gstreamer1-plugins-faad/Makefile
+++ b/audio/gstreamer1-plugins-faad/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer MPEG-2 and MPEG-4 AAC decoder plugin
-GST_PLUGIN= faad
-DIST= bad
+LIB_DEPENDS= libfaad.so:audio/faad
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS= libfaad.so:audio/faad
+PLIST= ${.CURDIR}/pkg-plist
-MESON_ARGS+= -Dgpl=enabled
+DIST= bad
+GST_PLUGIN= faad
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-flac/Makefile b/audio/gstreamer1-plugins-flac/Makefile
index 8f8c1f07601d..1ead6595fb28 100644
--- a/audio/gstreamer1-plugins-flac/Makefile
+++ b/audio/gstreamer1-plugins-flac/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer free lossless audio encoder/decoder plugin
-GST_PLUGIN= flac
-DIST= good
+LIB_DEPENDS= libFLAC.so:audio/flac
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libFLAC.so:audio/flac
+DIST= good
+GST_PLUGIN= flac
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-flite/Makefile b/audio/gstreamer1-plugins-flite/Makefile
index 7409b797f849..ac34dfaf2b1d 100644
--- a/audio/gstreamer1-plugins-flite/Makefile
+++ b/audio/gstreamer1-plugins-flite/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer flite run-time speech synthesis engine plugin
-GST_PLUGIN= flite
-DIST= bad
+LIB_DEPENDS= libflite.so:audio/flite
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libflite.so:audio/flite
+DIST= bad
+GST_PLUGIN= flite
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-gme/Makefile b/audio/gstreamer1-plugins-gme/Makefile
index 6ef26688859a..9d8c903d4c59 100644
--- a/audio/gstreamer1-plugins-gme/Makefile
+++ b/audio/gstreamer1-plugins-gme/Makefile
@@ -1,15 +1,15 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= audio
COMMENT= GStreamer emulate gaming console sound processors plugin
-GST_PLUGIN= gme
-DIST= bad
+LIB_DEPENDS= libgme.so:audio/libgme
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libgme.so:audio/libgme
+DIST= bad
+GST_PLUGIN= gme
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-gsm/Makefile b/audio/gstreamer1-plugins-gsm/Makefile
index aaa8ec5976c0..ccfd5de6cc00 100644
--- a/audio/gstreamer1-plugins-gsm/Makefile
+++ b/audio/gstreamer1-plugins-gsm/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer gsm encoding/decoding plugin
-GST_PLUGIN= gsm
-DIST= bad
+LIB_DEPENDS= libgsm.so:audio/gsm
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libgsm.so:audio/gsm
+DIST= bad
+GST_PLUGIN= gsm
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-jack/Makefile b/audio/gstreamer1-plugins-jack/Makefile
index 1e07845be434..c636ed6989e3 100644
--- a/audio/gstreamer1-plugins-jack/Makefile
+++ b/audio/gstreamer1-plugins-jack/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer low-latency audio server plugin
-GST_PLUGIN= jack
-DIST= good
+LIB_DEPENDS= libjack.so:audio/jack
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libjack.so:audio/jack
+DIST= good
+GST_PLUGIN= jack
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-ladspa/Makefile b/audio/gstreamer1-plugins-ladspa/Makefile
index d189b8c62227..b9b1441a2aaf 100644
--- a/audio/gstreamer1-plugins-ladspa/Makefile
+++ b/audio/gstreamer1-plugins-ladspa/Makefile
@@ -3,15 +3,14 @@ CATEGORIES= audio
COMMENT= Gstreamer ladspa (Linux Audio Developer's Simple Plugin API) plugin
-GST_PLUGIN= ladspa
-DIST= bad
-
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
+LIB_DEPENDS= liblrdf.so:textproc/liblrdf
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= liblrdf.so:textproc/liblrdf
+DIST= bad
+GST_PLUGIN= ladspa
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-lame/Makefile b/audio/gstreamer1-plugins-lame/Makefile
index fde330beb9bb..9901c21c0444 100644
--- a/audio/gstreamer1-plugins-lame/Makefile
+++ b/audio/gstreamer1-plugins-lame/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer High-quality free mp3 encode plugin
-GST_PLUGIN= lame
-DIST= good
+LIB_DEPENDS= libmp3lame.so:audio/lame
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libmp3lame.so:audio/lame
+DIST= good
+GST_PLUGIN= lame
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-lv2/Makefile b/audio/gstreamer1-plugins-lv2/Makefile
index d39b0eeff8a7..0b7bedf0526a 100644
--- a/audio/gstreamer1-plugins-lv2/Makefile
+++ b/audio/gstreamer1-plugins-lv2/Makefile
@@ -3,19 +3,17 @@ CATEGORIES= audio
COMMENT= Gstreamer lv2 wrapper plugin
-GST_PLUGIN= lv2
-DIST= bad
+BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
+LIB_DEPENDS= liblilv-0.so:audio/lilv \
+ libserd-0.so:devel/serd \
+ libsord-0.so:devel/sord \
+ libsratom-0.so:audio/sratom
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
-LIB_DEPENDS= libsord-0.so:devel/sord \
- libserd-0.so:devel/serd \
- libsratom-0.so:audio/sratom \
- liblilv-0.so:audio/lilv
+DIST= bad
+GST_PLUGIN= lv2
.include "${MASTERDIR}/Makefile"
-
-USES+= pkgconfig
diff --git a/audio/gstreamer1-plugins-modplug/Makefile b/audio/gstreamer1-plugins-modplug/Makefile
index eaf25942c970..1348d48f4449 100644
--- a/audio/gstreamer1-plugins-modplug/Makefile
+++ b/audio/gstreamer1-plugins-modplug/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer module decoder based on modplug egine plugin
-GST_PLUGIN= modplug
-DIST= bad
+LIB_DEPENDS= libmodplug.so:audio/libmodplug
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libmodplug.so:audio/libmodplug
+DIST= bad
+GST_PLUGIN= modplug
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-mpg123/Makefile b/audio/gstreamer1-plugins-mpg123/Makefile
index ca4de84b4184..39e58b891f9c 100644
--- a/audio/gstreamer1-plugins-mpg123/Makefile
+++ b/audio/gstreamer1-plugins-mpg123/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer MPEG Layer 1, 2, and 3 plugin
-GST_PLUGIN= mpg123
-DIST= good
+LIB_DEPENDS= libmpg123.so:audio/mpg123
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libmpg123.so:audio/mpg123
+DIST= good
+GST_PLUGIN= mpg123
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-ogg/Makefile b/audio/gstreamer1-plugins-ogg/Makefile
index 7e1fdce8d89e..ff939e51e86f 100644
--- a/audio/gstreamer1-plugins-ogg/Makefile
+++ b/audio/gstreamer1-plugins-ogg/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer Ogg bitstream plugin
-GST_PLUGIN= ogg
-DIST= base
+LIB_DEPENDS= libogg.so:audio/libogg
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libogg.so:audio/libogg
+DIST= base
+GST_PLUGIN= ogg
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-openmpt/Makefile b/audio/gstreamer1-plugins-openmpt/Makefile
index 4c42540b1ffe..26b2ae90f052 100644
--- a/audio/gstreamer1-plugins-openmpt/Makefile
+++ b/audio/gstreamer1-plugins-openmpt/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer OpenMPT audio decoder plugin
-GST_PLUGIN= openmpt
-DIST= bad
+LIB_DEPENDS= libopenmpt.so:audio/libopenmpt
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libopenmpt.so:audio/libopenmpt
+DIST= bad
+GST_PLUGIN= openmpt
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-opus/Makefile b/audio/gstreamer1-plugins-opus/Makefile
index 34258f54e85d..6f62aa82f9c0 100644
--- a/audio/gstreamer1-plugins-opus/Makefile
+++ b/audio/gstreamer1-plugins-opus/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer Opus audio encoder/decoder plugin
-GST_PLUGIN= opus
-DIST= base
+LIB_DEPENDS= libopus.so:audio/opus
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libopus.so:audio/opus
+DIST= base
+GST_PLUGIN= opus
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-pulse/Makefile b/audio/gstreamer1-plugins-pulse/Makefile
index de57e5370bf4..856a9c12166a 100644
--- a/audio/gstreamer1-plugins-pulse/Makefile
+++ b/audio/gstreamer1-plugins-pulse/Makefile
@@ -1,15 +1,15 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= audio
COMMENT= GStreamer pulseaudio plugin
-GST_PLUGIN= pulse
-DIST= good
+LIB_DEPENDS= libpulse.so:audio/pulseaudio
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libpulse.so:audio/pulseaudio
+DIST= good
+GST_PLUGIN= pulse
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-shout2/Makefile b/audio/gstreamer1-plugins-shout2/Makefile
index 48da869eedab..d48df1d6bc07 100644
--- a/audio/gstreamer1-plugins-shout2/Makefile
+++ b/audio/gstreamer1-plugins-shout2/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer icecast output plugin
-GST_PLUGIN= shout2
-DIST= good
+LIB_DEPENDS= libshout.so:audio/libshout
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libshout.so:audio/libshout
+DIST= good
+GST_PLUGIN= shout2
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-sidplay/Makefile b/audio/gstreamer1-plugins-sidplay/Makefile
index 269530b04f69..73769c037bc2 100644
--- a/audio/gstreamer1-plugins-sidplay/Makefile
+++ b/audio/gstreamer1-plugins-sidplay/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer Commodore SID audio decoder plugin
-GST_PLUGIN= sidplay
-DIST= ugly
+LIB_DEPENDS= libsidplay.so:audio/libsidplay
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS= libsidplay.so:audio/libsidplay
+PLIST= ${.CURDIR}/pkg-plist
-MESON_ARGS+= -Dgpl=enabled
+DIST= ugly
+GST_PLUGIN= sidplay
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-sndfile/Makefile b/audio/gstreamer1-plugins-sndfile/Makefile
index c6427317148c..4a0bdc3122dd 100644
--- a/audio/gstreamer1-plugins-sndfile/Makefile
+++ b/audio/gstreamer1-plugins-sndfile/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= Gstreamer sndfile plugin
-GST_PLUGIN= sndfile
-DIST= bad
+LIB_DEPENDS= libsndfile.so:audio/libsndfile
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libsndfile.so:audio/libsndfile
+DIST= bad
+GST_PLUGIN= sndfile
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-soundtouch/Makefile b/audio/gstreamer1-plugins-soundtouch/Makefile
index 26920a4b5ce9..380a8c937ede 100644
--- a/audio/gstreamer1-plugins-soundtouch/Makefile
+++ b/audio/gstreamer1-plugins-soundtouch/Makefile
@@ -3,12 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer soundtouch plugin
-GST_PLUGIN= soundtouch
-DIST= bad
+LIB_DEPENDS= libSoundTouch.so:audio/soundtouch
+
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+PLIST= ${.CURDIR}/pkg-plist
-PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libSoundTouch.so:audio/soundtouch
+DIST= bad
+GST_PLUGIN= soundtouch
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-speex/Makefile b/audio/gstreamer1-plugins-speex/Makefile
index f5053cfe4c8d..ca092a24a019 100644
--- a/audio/gstreamer1-plugins-speex/Makefile
+++ b/audio/gstreamer1-plugins-speex/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer speex voice encode/decode plugin
-GST_PLUGIN= speex
-DIST= good
+LIB_DEPENDS= libspeex.so:audio/speex
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libspeex.so:audio/speex
+DIST= good
+GST_PLUGIN= speex
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-taglib/Makefile b/audio/gstreamer1-plugins-taglib/Makefile
index 996d16c48fd2..b9c4fe4e42eb 100644
--- a/audio/gstreamer1-plugins-taglib/Makefile
+++ b/audio/gstreamer1-plugins-taglib/Makefile
@@ -1,18 +1,18 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= audio
COMMENT= GStreamer taglib plugin for adding APEv2 and ID3v2 headers
-BROKEN_armv6= fails to compile: textidentificationframe.h file not found
-BROKEN_armv7= fails to compile: textidentificationframe.h file not found
+BROKEN_armv6= fails to compile: textidentificationframe.h file not found
+BROKEN_armv7= fails to compile: textidentificationframe.h file not found
-GST_PLUGIN= taglib
-DIST= good
+LIB_DEPENDS= libtag.so:audio/taglib
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libtag.so:audio/taglib
+DIST= good
+GST_PLUGIN= taglib
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-twolame/Makefile b/audio/gstreamer1-plugins-twolame/Makefile
index 993213d76ef3..6a6be59461da 100644
--- a/audio/gstreamer1-plugins-twolame/Makefile
+++ b/audio/gstreamer1-plugins-twolame/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer High-quality free MP2 encoder plugin
-GST_PLUGIN= twolame
-DIST= good
+LIB_DEPENDS= libtwolame.so:audio/twolame
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libtwolame.so:audio/twolame
+DIST= good
+GST_PLUGIN= twolame
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-vorbis/Makefile b/audio/gstreamer1-plugins-vorbis/Makefile
index b43383f1d6f0..e65f3e3a9e4b 100644
--- a/audio/gstreamer1-plugins-vorbis/Makefile
+++ b/audio/gstreamer1-plugins-vorbis/Makefile
@@ -3,14 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer vorbis encoder/decoder plugin
-GST_PLUGIN= vorbis
-DIST= base
+LIB_DEPENDS= libvorbis.so:audio/libvorbis
+
+USE_GSTREAMER= ogg
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USE_GSTREAMER= ogg
-LIB_DEPENDS= libvorbis.so:audio/libvorbis
+DIST= base
+GST_PLUGIN= vorbis
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-wavpack/Makefile b/audio/gstreamer1-plugins-wavpack/Makefile
index 65306af59869..dd03c905b8f7 100644
--- a/audio/gstreamer1-plugins-wavpack/Makefile
+++ b/audio/gstreamer1-plugins-wavpack/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= audio
COMMENT= GStreamer wavpack encode/decode plugin
-GST_PLUGIN= wavpack
-DIST= good
+LIB_DEPENDS= libwavpack.so:audio/wavpack
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libwavpack.so:audio/wavpack
+DIST= good
+GST_PLUGIN= wavpack
.include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-webrtcdsp/Makefile b/audio/gstreamer1-plugins-webrtcdsp/Makefile
index fd9c02e074cf..f449b0535527 100644
--- a/audio/gstreamer1-plugins-webrtcdsp/Makefile
+++ b/audio/gstreamer1-plugins-webrtcdsp/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= audio
COMMENT= GStreamer WebRTC Audio Processing plugin
-GST_PLUGIN= webrtcdsp
-DIST= bad
+LIB_DEPENDS= libwebrtc-audio-processing-1.so:audio/webrtc-audio-processing
USES+= compiler:c++11-lang
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libwebrtc_audio_processing.so:audio/webrtc-audio-processing0
+DIST= bad
+GST_PLUGIN= webrtcdsp
.include "${MASTERDIR}/Makefile"
diff --git a/comms/gstreamer1-plugins-spandsp/Makefile b/comms/gstreamer1-plugins-spandsp/Makefile
index ca79627cb81f..a007205b44af 100644
--- a/comms/gstreamer1-plugins-spandsp/Makefile
+++ b/comms/gstreamer1-plugins-spandsp/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= comms
COMMENT= GStreamer DSP library and software FAX machine plugin
-GST_PLUGIN= spandsp
-DIST= bad
+LIB_DEPENDS= libspandsp.so:comms/spandsp
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libspandsp.so:comms/spandsp
+DIST= bad
+GST_PLUGIN= spandsp
.include "${MASTERDIR}/Makefile"
diff --git a/devel/gstreamer1-plugins-soup/Makefile b/devel/gstreamer1-plugins-soup/Makefile
index 12d0ce5074a2..e501047b137c 100644
--- a/devel/gstreamer1-plugins-soup/Makefile
+++ b/devel/gstreamer1-plugins-soup/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= devel
COMMENT= GStreamer soup based http input plugin
-GST_PLUGIN= soup
-DIST= good
+LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3
+DIST= good
+GST_PLUGIN= soup
.include "${MASTERDIR}/Makefile"
diff --git a/ftp/gstreamer1-plugins-curl/Makefile b/ftp/gstreamer1-plugins-curl/Makefile
index e7f4db6112f5..e1814872a91f 100644
--- a/ftp/gstreamer1-plugins-curl/Makefile
+++ b/ftp/gstreamer1-plugins-curl/Makefile
@@ -3,14 +3,14 @@ CATEGORIES= ftp
COMMENT= GStreamer curl based output plugin
-GST_PLUGIN= curl
-DIST= bad
+LIB_DEPENDS= libcurl.so:ftp/curl \
+ libssh2.so:security/libssh2
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libcurl.so:ftp/curl \
- libssh2.so:security/libssh2
+DIST= bad
+GST_PLUGIN= curl
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/Makefile b/graphics/Makefile
index 13b6645db286..146689d3a7a7 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -314,7 +314,6 @@
SUBDIR += gstreamer1-plugins-openexr
SUBDIR += gstreamer1-plugins-openjpeg
SUBDIR += gstreamer1-plugins-png
- SUBDIR += gstreamer1-plugins-qt
SUBDIR += gstreamer1-plugins-rsvg
SUBDIR += gstreamer1-plugins-vulkan
SUBDIR += gstreamer1-plugins-webp
diff --git a/graphics/gstreamer1-plugins-aalib/Makefile b/graphics/gstreamer1-plugins-aalib/Makefile
index 76b2f5e5bc71..fb01bac12f0e 100644
--- a/graphics/gstreamer1-plugins-aalib/Makefile
+++ b/graphics/gstreamer1-plugins-aalib/Makefile
@@ -3,14 +3,14 @@ CATEGORIES= graphics
COMMENT= GStreamer ASCII art videosink plugin
-GST_PLUGIN= aalib
-DIST= good
+LIB_DEPENDS= libaa.so:graphics/aalib
+USES= ncurses
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libaa.so:graphics/aalib
-USES= ncurses
+DIST= good
+GST_PLUGIN= aalib
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-cairo/Makefile b/graphics/gstreamer1-plugins-cairo/Makefile
index 0fef5632d391..272cdced596f 100644
--- a/graphics/gstreamer1-plugins-cairo/Makefile
+++ b/graphics/gstreamer1-plugins-cairo/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= graphics
COMMENT= GStreamer overlay renderer plugin based on cairo
-GST_PLUGIN= cairo
-DIST= good
+USE_GNOME= cairo
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USE_GNOME= cairo
+DIST= good
+GST_PLUGIN= cairo
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-gdkpixbuf/Makefile b/graphics/gstreamer1-plugins-gdkpixbuf/Makefile
index 925fc00f09e0..bb4b3f17ea2c 100644
--- a/graphics/gstreamer1-plugins-gdkpixbuf/Makefile
+++ b/graphics/gstreamer1-plugins-gdkpixbuf/Makefile
@@ -4,13 +4,13 @@ PKGNAMESUFFIX= 1-plugins-gdkpixbuf
COMMENT= GStreamer image decoder/overlay plugin
-GST_PLUGIN= gdk-pixbuf
-DIST= good
+USE_GNOME= gdkpixbuf2
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USE_GNOME= gdkpixbuf2
+DIST= good
+GST_PLUGIN= gdk-pixbuf
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-gl/Makefile b/graphics/gstreamer1-plugins-gl/Makefile
index 8e3ba1ccdf8f..61d264a30b7d 100644
--- a/graphics/gstreamer1-plugins-gl/Makefile
+++ b/graphics/gstreamer1-plugins-gl/Makefile
@@ -3,38 +3,35 @@ CATEGORIES= graphics
COMMENT= GStreamer GL graphics plugin
-GST_PLUGIN= gl
-DIST= base
-
-GL_GST_DIRS= gst-libs/gst/allocators gst-libs/gst/video
-PLIST= ${.CURDIR}/pkg-plist
-
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
-
-OPTIONS_DEFINE= WAYLAND
-OPTIONS_DEFAULT=WAYLAND
-OPTIONS_SUB= yes
-
-GL_WINSYS= x11 egl
-
-WAYLAND_VARS= GL_WINSYS+=wayland
-WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
-WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
-
-USES= gl
-USE_GL= gl glu glesv2 egl
-USE_XORG+= x11 \
- xext \
- xcb
BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene \
libpng16.so:graphics/png
+USES= gl
+USE_GL= gl glu glesv2 egl
+USE_XORG+= x11 xext xcb
+
MESON_ARGS+= -Dgl=enabled \
- -Dgl_winsys=${GL_WINSYS:ts,} \
+ -Dgl_winsys=${_GL_WINSYS:ts,} \
-Dgl_api=opengl,gles2 \
-Dgl_platform=glx,egl
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
+
+PLIST= ${.CURDIR}/pkg-plist
+
+OPTIONS_DEFINE= WAYLAND
+OPTIONS_DEFAULT=WAYLAND
+OPTIONS_SUB= yes
+
+WAYLAND_VARS= _GL_WINSYS+=wayland
+WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols
+WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland
+
+DIST= base
+GST_PLUGIN= gl
GST_PLUGIN_DIR= gst-libs/gst/gl ext/gl
+_GL_WINSYS= x11 egl
+
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-gl/pkg-plist b/graphics/gstreamer1-plugins-gl/pkg-plist
index 9f0bc9b5d91f..eca02b66d81a 100644
--- a/graphics/gstreamer1-plugins-gl/pkg-plist
+++ b/graphics/gstreamer1-plugins-gl/pkg-plist
@@ -29,6 +29,7 @@ include/gstreamer-%%VERSION%%/gst/gl/gstgl_fwd.h
include/gstreamer-%%VERSION%%/gst/gl/gstglapi.h
include/gstreamer-%%VERSION%%/gst/gl/gstglbasefilter.h
include/gstreamer-%%VERSION%%/gst/gl/gstglbasememory.h
+include/gstreamer-%%VERSION%%/gst/gl/gstglbasemixer.h
include/gstreamer-%%VERSION%%/gst/gl/gstglbasesrc.h
include/gstreamer-%%VERSION%%/gst/gl/gstglbuffer.h
include/gstreamer-%%VERSION%%/gst/gl/gstglbufferpool.h
@@ -44,6 +45,7 @@ include/gstreamer-%%VERSION%%/gst/gl/gstglframebuffer.h
include/gstreamer-%%VERSION%%/gst/gl/gstglfuncs.h
include/gstreamer-%%VERSION%%/gst/gl/gstglmemory.h
include/gstreamer-%%VERSION%%/gst/gl/gstglmemorypbo.h
+include/gstreamer-%%VERSION%%/gst/gl/gstglmixer.h
include/gstreamer-%%VERSION%%/gst/gl/gstgloverlaycompositor.h
include/gstreamer-%%VERSION%%/gst/gl/gstglquery.h
include/gstreamer-%%VERSION%%/gst/gl/gstglrenderbuffer.h
diff --git a/graphics/gstreamer1-plugins-jpeg/Makefile b/graphics/gstreamer1-plugins-jpeg/Makefile
index 311ab3c91d2f..19adb32b60a3 100644
--- a/graphics/gstreamer1-plugins-jpeg/Makefile
+++ b/graphics/gstreamer1-plugins-jpeg/Makefile
@@ -1,15 +1,15 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= graphics
COMMENT= GStreamer jpeg encoder/decoder plugin
-GST_PLUGIN= jpeg
-DIST= good
+USES= jpeg
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USES= jpeg
+DIST= good
+GST_PLUGIN= jpeg
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-kms/Makefile b/graphics/gstreamer1-plugins-kms/Makefile
index 880ec6f6dfe1..48c3776c67fe 100644
--- a/graphics/gstreamer1-plugins-kms/Makefile
+++ b/graphics/gstreamer1-plugins-kms/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= graphics
COMMENT= GStreamer video sink via KMS plugin
-GST_PLUGIN= kms
-DIST= bad
+LIB_DEPENDS= libdrm.so:graphics/libdrm
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libdrm.so:graphics/libdrm
+DIST= bad
+GST_PLUGIN= kms
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-libcaca/Makefile b/graphics/gstreamer1-plugins-libcaca/Makefile
index 8c73bc8e186f..05ecf081e678 100644
--- a/graphics/gstreamer1-plugins-libcaca/Makefile
+++ b/graphics/gstreamer1-plugins-libcaca/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= graphics
COMMENT= GStreamer color ASCII art plugin
-GST_PLUGIN= libcaca
-DIST= good
+LIB_DEPENDS= libcaca.so:graphics/libcaca
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libcaca.so:graphics/libcaca
+DIST= good
+GST_PLUGIN= libcaca
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-libvisual/Makefile b/graphics/gstreamer1-plugins-libvisual/Makefile
index 619fdcb8d34d..df3b46b29f38 100644
--- a/graphics/gstreamer1-plugins-libvisual/Makefile
+++ b/graphics/gstreamer1-plugins-libvisual/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= graphics
COMMENT= GStreamer libvisual plugin
-GST_PLUGIN= libvisual
-DIST= base
+LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04
+DIST= base
+GST_PLUGIN= libvisual
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-opencv/Makefile b/graphics/gstreamer1-plugins-opencv/Makefile
index 3ecde1b6d687..4102772f38c5 100644
--- a/graphics/gstreamer1-plugins-opencv/Makefile
+++ b/graphics/gstreamer1-plugins-opencv/Makefile
@@ -1,18 +1,19 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= graphics
COMMENT= GStreamer opencv real time computer vision plugin
-GST_PLUGIN= opencv
-DIST= bad
-
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+LIB_DEPENDS= libopencv_highgui.so:graphics/opencv
# Clang has issues with Overloaded stuff inside OpenCV
CXXFLAGS+= -Wno-overloaded-virtual
-LIB_DEPENDS= libopencv_highgui.so:graphics/opencv
-GST_PLUGIN_DIR= gst-libs/gst/opencv ext/opencv
+
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
+DIST= bad
+GST_PLUGIN= opencv
+GST_PLUGIN_DIR= gst-libs/gst/opencv ext/opencv
+
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-openexr/Makefile b/graphics/gstreamer1-plugins-openexr/Makefile
index 33002d7f7e75..3e63d57ad993 100644
--- a/graphics/gstreamer1-plugins-openexr/Makefile
+++ b/graphics/gstreamer1-plugins-openexr/Makefile
@@ -1,19 +1,20 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= graphics
COMMENT= GStreamer OpenExr codec plugin
+LIB_DEPENDS= libOpenEXR.so:graphics/openexr \
+ libImath-3_1.so:math/Imath
+
USES+= compiler:c++11-lang
-GST_PLUGIN= openexr
-DIST= bad
CPPFLAGS+= -DInt64=uint64_t
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libOpenEXR.so:graphics/openexr \
- libImath-3_1.so:math/Imath
+DIST= bad
+GST_PLUGIN= openexr
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-openjpeg/Makefile b/graphics/gstreamer1-plugins-openjpeg/Makefile
index cbc8b426c580..2b4118b29c1a 100644
--- a/graphics/gstreamer1-plugins-openjpeg/Makefile
+++ b/graphics/gstreamer1-plugins-openjpeg/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= graphics
COMMENT= GStreamer jpeg2000 decoder plugin
-GST_PLUGIN= openjpeg
-DIST= bad
+LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
+DIST= bad
+GST_PLUGIN= openjpeg
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-png/Makefile b/graphics/gstreamer1-plugins-png/Makefile
index 1dff06a47fdf..724250ce998b 100644
--- a/graphics/gstreamer1-plugins-png/Makefile
+++ b/graphics/gstreamer1-plugins-png/Makefile
@@ -4,13 +4,13 @@ PKGNAMESUFFIX= 1-plugins-png
COMMENT= GStreamer png plugin
-GST_PLUGIN= png
-DIST= good
+LIB_DEPENDS= libpng.so:graphics/png
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libpng.so:graphics/png
+DIST= good
+GST_PLUGIN= png
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-qt/Makefile b/graphics/gstreamer1-plugins-qt/Makefile
deleted file mode 100644
index fa409e6aa4cb..000000000000
--- a/graphics/gstreamer1-plugins-qt/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-PORTREVISION= 0
-CATEGORIES= graphics
-
-COMMENT= GStreamer Qt videosink plugin
-
-GST_PLUGIN_SUFFIX= -qt
-GST_PLUGIN= qt5
-DIST= good
-
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
-
-PLIST= ${.CURDIR}/pkg-plist
-
-USES= compiler:c++11-lang qt:5
-USE_QT= core gui declarative buildtools:build linguisttools network \
- x11extras
-USE_GSTREAMER= gl
-
-.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-rsvg/Makefile b/graphics/gstreamer1-plugins-rsvg/Makefile
index 546b4f126011..ca1a89a71cbf 100644
--- a/graphics/gstreamer1-plugins-rsvg/Makefile
+++ b/graphics/gstreamer1-plugins-rsvg/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= graphics
COMMENT= GStreamer SVG plugin
-GST_PLUGIN= rsvg
-DIST= bad
+USE_GNOME= cairo librsvg2
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USE_GNOME= cairo librsvg2
+DIST= bad
+GST_PLUGIN= rsvg
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-vulkan/Makefile b/graphics/gstreamer1-plugins-vulkan/Makefile
index ab563391497b..93ec3d94ce2a 100644
--- a/graphics/gstreamer1-plugins-vulkan/Makefile
+++ b/graphics/gstreamer1-plugins-vulkan/Makefile
@@ -3,22 +3,26 @@ CATEGORIES= graphics
COMMENT= GStreamer Vulkan graphics plugin
-GST_PLUGIN= vulkan
-DIST= bad
+BUILD_DEPENDS= ${LOCALBASE}/bin/glslc:graphics/shaderc \
+ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
+ ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \
+ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \
+ wayland-protocols>=0:graphics/wayland-protocols
+LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \
+ libwayland-client.so:graphics/wayland \
+ libxkbcommon.so:x11/libxkbcommon
+
+USES= xorg
+USE_GSTREAMER= gl
+USE_XORG= xcb
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dwayland=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-USE_GSTREAMER= gl
-BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \
- ${LOCALBASE}/include/libdrm/drm_fourcc.h:graphics/libdrm \
- ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \
- wayland-protocols>=0:graphics/wayland-protocols
-LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \
- libwayland-client.so:graphics/wayland \
- libshaderc_shared.so:graphics/shaderc
+PLIST= ${.CURDIR}/pkg-plist
-MESON_ARGS+= -Dwayland=enabled
+DIST= bad
+GST_PLUGIN= vulkan
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-vulkan/pkg-plist b/graphics/gstreamer1-plugins-vulkan/pkg-plist
index bde3bb8a7355..9cca2fb53fe1 100644
--- a/graphics/gstreamer1-plugins-vulkan/pkg-plist
+++ b/graphics/gstreamer1-plugins-vulkan/pkg-plist
@@ -6,6 +6,7 @@ include/gstreamer-%%VERSION%%/gst/vulkan/gstvkcommandbuffer.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkcommandpool.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkconfig.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkdebug.h
+include/gstreamer-%%VERSION%%/gst/vulkan/gstvkdecoder.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkdescriptorcache.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkdescriptorpool.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkdescriptorset.h
@@ -22,12 +23,14 @@ include/gstreamer-%%VERSION%%/gst/vulkan/gstvkimagememory.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkimageview.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkinstance.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkmemory.h
+include/gstreamer-%%VERSION%%/gst/vulkan/gstvkoperation.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkphysicaldevice.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkqueue.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkswapper.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvktrash.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkutils.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkvideofilter.h
+include/gstreamer-%%VERSION%%/gst/vulkan/gstvkvideoutils.h
include/gstreamer-%%VERSION%%/gst/vulkan/gstvkwindow.h
include/gstreamer-%%VERSION%%/gst/vulkan/vulkan-enumtypes.h
include/gstreamer-%%VERSION%%/gst/vulkan/vulkan-prelude.h
@@ -46,8 +49,11 @@ include/gstreamer-%%VERSION%%/gst/wayland/gstwlvideoformat.h
include/gstreamer-%%VERSION%%/gst/wayland/gstwlwindow.h
include/gstreamer-%%VERSION%%/gst/wayland/wayland-prelude.h
include/gstreamer-%%VERSION%%/gst/wayland/wayland.h
+include/gstreamer-%%VERSION%%/gst/vulkan/xcb/gstvkdisplay_xcb.h
+include/gstreamer-%%VERSION%%/gst/vulkan/xcb/xcb.h
lib/girepository-%%VERSION%%/GstVulkan-%%VERSION%%.typelib
lib/girepository-%%VERSION%%/GstVulkanWayland-%%VERSION%%.typelib
+lib/girepository-%%VERSION%%/GstVulkanXCB-%%VERSION%%.typelib
lib/gstreamer-%%VERSION%%/libgstvulkan.so
lib/gstreamer-%%VERSION%%/libgstwaylandsink.so
lib/libgstvulkan-%%VERSION%%.so
@@ -58,6 +64,8 @@ lib/libgstwayland-%%VERSION%%.so.0
lib/libgstwayland-%%VERSION%%.so.%%SOVERSION%%
libdata/pkgconfig/gstreamer-vulkan-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-vulkan-wayland-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-vulkan-xcb-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-wayland-%%VERSION%%.pc
share/gir-%%VERSION%%/GstVulkan-%%VERSION%%.gir
share/gir-%%VERSION%%/GstVulkanWayland-%%VERSION%%.gir
+share/gir-%%VERSION%%/GstVulkanXCB-%%VERSION%%.gir
diff --git a/graphics/gstreamer1-plugins-webp/Makefile b/graphics/gstreamer1-plugins-webp/Makefile
index f4f61aaf2e27..a76f549e6dbe 100644
--- a/graphics/gstreamer1-plugins-webp/Makefile
+++ b/graphics/gstreamer1-plugins-webp/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= graphics
COMMENT= GStreamer webp image decoder plugin
-GST_PLUGIN= webp
-DIST= bad
+LIB_DEPENDS= libwebp.so:graphics/webp
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libwebp.so:graphics/webp
+DIST= bad
+GST_PLUGIN= webp
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-zbar/Makefile b/graphics/gstreamer1-plugins-zbar/Makefile
index 61a170f86ec8..79ea7079531d 100644
--- a/graphics/gstreamer1-plugins-zbar/Makefile
+++ b/graphics/gstreamer1-plugins-zbar/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= graphics
COMMENT= GStreamer ZBar barcode detector plugin
-GST_PLUGIN= zbar
-DIST= bad
+LIB_DEPENDS= libzbar.so:graphics/zbar
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libzbar.so:graphics/zbar
+DIST= bad
+GST_PLUGIN= zbar
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 36326554497f..c3fff42e6602 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -109,6 +109,7 @@
SUBDIR += gstreamer1-plugins-ugly
SUBDIR += gstreamer1-plugins-v4l2
SUBDIR += gstreamer1-plugins-vpx
+ SUBDIR += gstreamer1-plugins-webrtc
SUBDIR += gstreamer1-plugins-x264
SUBDIR += gstreamer1-plugins-x265
SUBDIR += gstreamer1-qt
diff --git a/multimedia/gstreamer1-editing-services/Makefile b/multimedia/gstreamer1-editing-services/Makefile
index edd00c0d9f00..80448132a1fd 100644
--- a/multimedia/gstreamer1-editing-services/Makefile
+++ b/multimedia/gstreamer1-editing-services/Makefile
@@ -1,6 +1,5 @@
PORTNAME= gstreamer1-editing-services
PORTVERSION= ${_GST_VERSION}
-PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer-editing-services/
DISTNAME= gst-editing-services-${PORTVERSION}
@@ -12,17 +11,19 @@ WWW= http://gstreamer.freedeskop.org
LICENSE= LGPL20
USES= bison compiler:c11 gnome gstreamer meson ninja python pkgconfig tar:xz
-USE_LDCONFIG= yes
USE_GNOME= glib20 introspection:build libxml2 pygobject3:build
-USE_GSTREAMER= good bad
-PORTSCOUT= limitw:1,even
+USE_GSTREAMER= bad good
+USE_LDCONFIG= yes
-CONFIGURE_ARGS= -Ddoc=disabled \
+MESON_ARGS= -Ddoc=disabled \
-Dvalidate=disabled \
-Dpygi-overrides-dir=${PYTHON_SITELIBDIR}/gstreamer-editing-services
-PLIST_SUB= VERSION=1.0 SOVERSION=0.2210.0
BINARY_ALIAS= python3=${PYTHON_VERSION}
+PORTSCOUT= limitw:1,even
+
+PLIST_SUB= SOVERSION="${_GST_SOVERSION}" \
+ VERSION="${_GST_LIB_VER}"
OPTIONS_DEFINE= BASH
OPTIONS_DEFAULT=BASH
diff --git a/multimedia/gstreamer1-editing-services/distinfo b/multimedia/gstreamer1-editing-services/distinfo
index aa7c7f1d3992..e40c6daada62 100644
--- a/multimedia/gstreamer1-editing-services/distinfo
+++ b/multimedia/gstreamer1-editing-services/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709533972
-SHA256 (gst-editing-services-1.22.10.tar.xz) = bfb1ee1b352dd4d929c3a5b7fe19071a6c62b4828bb70318ad44bcf06828e9f0
-SIZE (gst-editing-services-1.22.10.tar.xz) = 835084
+TIMESTAMP = 1726789247
+SHA256 (gst-editing-services-1.24.8.tar.xz) = b30a82e496975a9d821ce1c5b0cb846fd53e038bb390f9e1e0aa5e01efc217e2
+SIZE (gst-editing-services-1.24.8.tar.xz) = 850280
diff --git a/multimedia/gstreamer1-editing-services/pkg-plist b/multimedia/gstreamer1-editing-services/pkg-plist
index 823e247f3554..6c276c5f6d8c 100644
--- a/multimedia/gstreamer1-editing-services/pkg-plist
+++ b/multimedia/gstreamer1-editing-services/pkg-plist
@@ -13,12 +13,14 @@ include/gstreamer-%%VERSION%%/ges/ges-clip-asset.h
include/gstreamer-%%VERSION%%/ges/ges-clip.h
include/gstreamer-%%VERSION%%/ges/ges-command-line-formatter.h
include/gstreamer-%%VERSION%%/ges/ges-container.h
+include/gstreamer-%%VERSION%%/ges/ges-discoverer-manager.h
include/gstreamer-%%VERSION%%/ges/ges-effect-asset.h
include/gstreamer-%%VERSION%%/ges/ges-effect-clip.h
include/gstreamer-%%VERSION%%/ges/ges-effect.h
include/gstreamer-%%VERSION%%/ges/ges-enums.h
include/gstreamer-%%VERSION%%/ges/ges-extractable.h
include/gstreamer-%%VERSION%%/ges/ges-formatter.h
+include/gstreamer-%%VERSION%%/ges/ges-frame-composition-meta.h
include/gstreamer-%%VERSION%%/ges/ges-gerror.h
include/gstreamer-%%VERSION%%/ges/ges-group.h
include/gstreamer-%%VERSION%%/ges/ges-image-source.h
@@ -70,9 +72,9 @@ lib/gstreamer-%%VERSION%%/libgstnle.so
lib/libges-%%VERSION%%.so
lib/libges-%%VERSION%%.so.0
lib/libges-%%VERSION%%.so.%%SOVERSION%%
-%%PYTHON_SITELIBDIR%%/gstreamer-editing-services/GES.py
+%%PYTHON_SITELIBDIR%%/gi/overrides/GES.py
libdata/pkgconfig/gst-editing-services-%%VERSION%%.pc
-share/man/man1/ges-launch-%%VERSION%%.1.gz
%%BASH%%share/bash-completion/completions/ges-launch-%%VERSION%%
share/gir-1.0/GES-%%VERSION%%.gir
share/gstreamer-%%VERSION%%/validate/scenarios/ges-edit-clip-while-paused.scenario
+share/man/man1/ges-launch-%%VERSION%%.1.gz
diff --git a/multimedia/gstreamer1-libav/Makefile b/multimedia/gstreamer1-libav/Makefile
index a3d0a8616b30..27fe25cb5e57 100644
--- a/multimedia/gstreamer1-libav/Makefile
+++ b/multimedia/gstreamer1-libav/Makefile
@@ -15,14 +15,14 @@ BUILD_DEPENDS= orc>=0.4.16:devel/orc
LIB_DEPENDS= liborc-0.4.so:devel/orc \
libavcodec.so:multimedia/ffmpeg
-PORTSCOUT= limitw:1,even
-
USES= bison gettext-runtime gnome gstreamer libtool localbase \
meson ninja pkgconfig python:build shebangfix tar:xz
USE_GNOME= glib20
-SHEBANG_FILES= scripts/gen-changelog.py \
- scripts/extract-release-date-from-doap-file.py
+SHEBANG_FILES= scripts/extract-release-date-from-doap-file.py \
+ scripts/gen-changelog.py \
MESON_ARGS= -Ddoc=disabled
+PORTSCOUT= limitw:1,even
+
.include <bsd.port.mk>
diff --git a/multimedia/gstreamer1-libav/distinfo b/multimedia/gstreamer1-libav/distinfo
index 8592aedaa1fd..25996f16970a 100644
--- a/multimedia/gstreamer1-libav/distinfo
+++ b/multimedia/gstreamer1-libav/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709533956
-SHA256 (gst-libav-1.22.10.tar.xz) = d6dda7aa38a44173278de675ccd92acff0abf473f7bc02e7d1cdd4ce0f3b7642
-SIZE (gst-libav-1.22.10.tar.xz) = 206616
+TIMESTAMP = 1726789274
+SHA256 (gst-libav-1.24.8.tar.xz) = 1e4a8fd537621d236442cf90a6e9ad5e00f87bffffdaeb1fd8bfd23719de8c75
+SIZE (gst-libav-1.24.8.tar.xz) = 213160
diff --git a/multimedia/gstreamer1-plugins-all/Makefile b/multimedia/gstreamer1-plugins-all/Makefile
index 9e6f29b499d0..93539c437777 100644
--- a/multimedia/gstreamer1-plugins-all/Makefile
+++ b/multimedia/gstreamer1-plugins-all/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gstreamer1-plugins-all
PORTVERSION= ${_GST_VERSION}
-PORTREVISION= 3
+PORTREVISION= 0
CATEGORIES= multimedia
MAINTAINER= multimedia@FreeBSD.org
diff --git a/multimedia/gstreamer1-plugins-aom/Makefile b/multimedia/gstreamer1-plugins-aom/Makefile
index 6a98c17e38aa..c8bec8b77d6a 100644
--- a/multimedia/gstreamer1-plugins-aom/Makefile
+++ b/multimedia/gstreamer1-plugins-aom/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= multimedia
COMMENT= GStreamer (libaom) plugin
-GST_PLUGIN= aom
-DIST= bad
+LIB_DEPENDS= libaom.so:multimedia/aom
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libaom.so:multimedia/aom
+DIST= bad
+GST_PLUGIN= aom
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-assrender/Makefile b/multimedia/gstreamer1-plugins-assrender/Makefile
index 4c5ab20a7fbe..da90123670a9 100644
--- a/multimedia/gstreamer1-plugins-assrender/Makefile
+++ b/multimedia/gstreamer1-plugins-assrender/Makefile
@@ -3,15 +3,16 @@ CATEGORIES= multimedia
COMMENT= GStreamer ASS/SSA text renderer plugin
-GST_PLUGIN= assrender
-DIST= bad
+LIB_DEPENDS= libass.so:multimedia/libass
+
+USES= compiler:c11
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libass.so:multimedia/libass
+DIST= bad
+GST_PLUGIN= assrender
.include "${MASTERDIR}/Makefile"
-USES+= compiler:c11
diff --git a/multimedia/gstreamer1-plugins-bad/Makefile b/multimedia/gstreamer1-plugins-bad/Makefile
index 9c237de8ccf8..56df7a00fd09 100644
--- a/multimedia/gstreamer1-plugins-bad/Makefile
+++ b/multimedia/gstreamer1-plugins-bad/Makefile
@@ -1,23 +1,31 @@
-PORTREVISION= 3
+PORTREVISION= 0
CATEGORIES= multimedia
COMMENT= GStreamer-plugins that need more quality, testing or documentation
-GST_PLUGIN= bad
-GST_PLUGIN_SUFFIX= -bad
+LIB_DEPENDS+= libjson-glib-1.0.so:devel/json-glib
-USES+= xorg
-USE_XORG+=x11
+USES+= ssl xorg
+USE_GNOME+= cairo glib20 pango
+USE_XORG+= x11
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
+
+PLIST= ${.CURDIR}/pkg-plist
+
+DIST= bad
+GST_PLUGIN= ${DIST}
+GST_PLUGIN_SUFFIX= -${DIST}
+NO_GSTREAMER_COMMON= yes
-DIST= bad
BAD_GST_ENABLED_PLUGINS=accurip \
adaptivedemux \
adpcmdec \
adpcmenc \
aes \
aiff \
+ analytics \
+ analyticsoverlay \
asfmux \
audio \
audiobuffersplit \
@@ -30,6 +38,7 @@ BAD_GST_ENABLED_PLUGINS=accurip \
bayer \
bz2 \
camerabin2 \
+ codec2json \
codecalpha \
codecparsers \
codecs \
@@ -40,6 +49,7 @@ BAD_GST_ENABLED_PLUGINS=accurip \
dvbsubenc \
dvbsuboverlay \
dvdspu \
+ dxva \
examples \
faceoverlay \
festival \
@@ -67,6 +77,7 @@ BAD_GST_ENABLED_PLUGINS=accurip \
mpegts \
mpegtsdemux \
mpegtsmux \
+ mse \
mxf \
netsim \
nls \
@@ -82,7 +93,6 @@ BAD_GST_ENABLED_PLUGINS=accurip \
rist \
rtmp2 \
rtp \
- sctp \
sdp \
segmentclip \
shm \
@@ -94,25 +104,13 @@ BAD_GST_ENABLED_PLUGINS=accurip \
timecode \
transcode \
transcoder \
+ unixfd \
uridownloader \
videofilters \
videoframe_audiolevel \
videoparsers \
videosignal \
vmnc \
- webrtc \
y4m
-NO_GSTREAMER_COMMON= yes
-PLIST= ${.CURDIR}/pkg-plist
-
-USES+=ssl
-
.include "${MASTERDIR}/Makefile"
-
-USE_GNOME+= glib20 gtk30
-
-BUILD_DEPENDS+= v4l_compat>=1.0.20100321:multimedia/v4l_compat \
- gtk3>=3.10:x11-toolkits/gtk30
-
-LIB_DEPENDS+=libnice.so:net-im/libnice
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-ext_dtls_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-ext_dtls_meson.build
new file mode 100644
index 000000000000..0fae4cbea15b
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-ext_dtls_meson.build
@@ -0,0 +1,11 @@
+--- ext/dtls/meson.build.orig 2024-08-21 11:25:15 UTC
++++ ext/dtls/meson.build
+@@ -12,7 +12,7 @@ dtls_sources = [
+ 'gstdtlselement.c',
+ ]
+
+-dtls_option = get_option('dtls').enable_if(get_option('webrtc').enabled(), error_message: 'webrtc option is enabled')
++dtls_option = get_option('dtls')
+ openssl_dep = dependency('openssl', version: '>= 1.0.1', required: dtls_option)
+ libcrypto_dep = dependency('libcrypto', required: dtls_option)
+
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-ext_sctp_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-ext_sctp_meson.build
new file mode 100644
index 000000000000..efdde9d59811
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-ext_sctp_meson.build
@@ -0,0 +1,11 @@
+--- ext/sctp/meson.build.orig 2024-08-21 11:25:15 UTC
++++ ext/sctp/meson.build
+@@ -5,7 +5,7 @@ sctp_sources = [
+ 'sctpassociation.c'
+ ]
+
+-sctp_option = get_option('sctp').enable_if(get_option('webrtc').enabled(), error_message: 'webrtc option is enabled')
++sctp_option = get_option('sctp')
+ if sctp_option.disabled()
+ subdir_done()
+ endif
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-ext_srtp_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-ext_srtp_meson.build
new file mode 100644
index 000000000000..1c839234167d
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-ext_srtp_meson.build
@@ -0,0 +1,11 @@
+--- ext/srtp/meson.build.orig 2024-08-21 11:25:15 UTC
++++ ext/srtp/meson.build
+@@ -7,7 +7,7 @@ srtp_cargs = []
+ ]
+
+ srtp_cargs = []
+-srtp_option = get_option('srtp').enable_if(get_option('webrtc').enabled(), error_message: 'webrtc option is enabled')
++srtp_option = get_option('srtp')
+ if srtp_option.disabled()
+ srtp_dep = dependency('', required : false)
+ subdir_done()
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-ext_vulkan_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-ext_vulkan_meson.build
new file mode 100644
index 000000000000..76206be89206
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-ext_vulkan_meson.build
@@ -0,0 +1,11 @@
+--- ext/vulkan/meson.build.orig 2024-08-21 11:25:15 UTC
++++ ext/vulkan/meson.build
+@@ -37,7 +37,7 @@ if vulkan_conf.get('GST_VULKAN_HAVE_VIDEO_EXTENSIONS')
+ extra_args = []
+ if vulkan_conf.get('GST_VULKAN_HAVE_VIDEO_EXTENSIONS') == 1
+ vulkan_sources += files('vkh264dec.c', 'vkh265dec.c')
+- extra_deps += gstcodecs_dep
++ extra_deps += [dependency('gstreamer-codecparsers-1.0'), dependency('gstreamer-codecs-1.0')]
+ extra_args += ['-DGST_USE_UNSTABLE_API']
+ endif
+
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtc_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtc_meson.build
index ae302fcad5b1..d520d580587e 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtc_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtc_meson.build
@@ -1,13 +1,34 @@
---- ext/webrtc/meson.build.orig 2023-01-23 19:29:34 UTC
+--- ext/webrtc/meson.build.orig 2024-08-21 11:25:15 UTC
+++ ext/webrtc/meson.build
-@@ -12,6 +12,10 @@ webrtc_sources = [
+@@ -1,3 +1,4 @@
++if get_option('webrtc').enabled()
+ webrtc_sources = [
+ 'gstwebrtc.c',
+ 'gstwebrtcstats.c',
+@@ -12,6 +13,14 @@ webrtc_sources = [
'webrtcdatachannel.c',
]
+if not is_variable('libgstwebrtcnice_dep')
-+ libgstwebrtcnice_dep=cc.find_library('gstwebrtcnice-1.0', required : true)
++ subdir_done()
++endif
++
++if not is_variable('gstsctp_dep')
++ gstsctp_dep=cc.find_library('gstsctp-1.0', required : true)
+endif
+
webrtc_option = get_option('webrtc').require(
libgstwebrtcnice_dep.found(), error_message: 'webrtc plugin requires libgstwebrtcnice.')
if webrtc_option.disabled()
+@@ -23,9 +32,9 @@ gstwebrtc_plugin = library('gstwebrtc',
+ c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
+ include_directories : [configinc],
+ dependencies : [gstbase_dep, gstsdp_dep,
+- gstapp_dep, gstwebrtc_dep, gstsctp_dep, gstrtp_dep, gio_dep, libgstwebrtcnice_dep],
++ gstapp_dep, gstwebrtc_dep, dependency('gstreamer-sctp-1.0'), gstrtp_dep, gio_dep, libgstwebrtcnice_dep],
+ install : true,
+ install_dir : plugins_install_dir,
+ )
+ plugins += [gstwebrtc_plugin]
+-
++endif
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build
index 10e6460bbda0..abcf017a0c6c 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build
@@ -1,11 +1,11 @@
---- ext/webrtcdsp/meson.build.orig 2022-09-07 19:55:24 UTC
+--- ext/webrtcdsp/meson.build.orig 2024-08-21 11:25:15 UTC
+++ ext/webrtcdsp/meson.build
-@@ -17,7 +17,7 @@ if webrtc_dep.found() and gnustl_dep.found()
+@@ -13,7 +13,7 @@ if webrtc_dep.found()
cpp_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc],
-- dependencies : [gstbase_dep, gstaudio_dep, gstbadaudio_dep, webrtc_dep, gnustl_dep],
-+ dependencies : [gstbase_dep, gstaudio_dep, dependency('gstreamer-bad-audio-1.0'), webrtc_dep, gnustl_dep],
+- dependencies : [gstbase_dep, gstaudio_dep, gstbadaudio_dep, webrtc_dep],
++ dependencies : [gstbase_dep, gstaudio_dep, dependency('gstreamer-bad-audio-1.0'), webrtc_dep],
install : true,
install_dir : plugins_install_dir,
- override_options : ['cpp_std=c++11'],
+ override_options : ['cpp_std=c++17'],
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_analytics_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_analytics_meson.build
new file mode 100644
index 000000000000..a13140d28e3c
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_analytics_meson.build
@@ -0,0 +1,12 @@
+--- gst-libs/gst/analytics/meson.build.orig 2024-08-21 11:25:15 UTC
++++ gst-libs/gst/analytics/meson.build
+@@ -1,3 +1,4 @@
++if get_option('analytics').enabled()
+ analytics_sources = files( 'gstanalyticsmeta.c',
+ 'gstanalyticsclassificationmtd.c',
+ 'gstanalyticsobjectdetectionmtd.c',
+@@ -62,3 +63,4 @@ meson.override_dependency(pkg_name, gstanalytics_dep)
+ dependencies : [gstbase_dep, gstvideo_dep])
+
+ meson.override_dependency(pkg_name, gstanalytics_dep)
++endif
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_audio_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_audio_meson.build
index 87d10befb10e..0621517df43a 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_audio_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_audio_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/audio/meson.build.orig 2022-09-05 20:33:42 UTC
+--- gst-libs/gst/audio/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/audio/meson.build
@@ -1,3 +1,4 @@
+if get_option('audio').enabled()
badaudio_sources = files('gstnonstreamaudiodecoder.c', 'gstplanaraudioadapter.c')
badaudio_headers = files('gstnonstreamaudiodecoder.h', 'audio-bad-prelude.h', 'gstplanaraudioadapter.h')
install_headers(badaudio_headers, subdir : 'gstreamer-1.0/gst/audio')
-@@ -52,3 +53,4 @@ gstbadaudio_dep = declare_dependency(link_with : gstba
+@@ -53,3 +54,4 @@ meson.override_dependency(pkg_name, gstbadaudio_dep)
dependencies : [gstaudio_dep, gstbase_dep])
meson.override_dependency(pkg_name, gstbadaudio_dep)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_basecamerabinsrc_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_basecamerabinsrc_meson.build
index bf9ed256ab87..e55971f7ded9 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_basecamerabinsrc_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_basecamerabinsrc_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/basecamerabinsrc/meson.build.orig 2022-09-05 21:00:40 UTC
+--- gst-libs/gst/basecamerabinsrc/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/basecamerabinsrc/meson.build
@@ -1,3 +1,4 @@
+if get_option('basecamerabinsrc').enabled()
camerabin_sources = files(
'gstcamerabin-enum.c',
'gstcamerabinpreview.c',
-@@ -51,3 +52,4 @@ gstbasecamerabin_dep = declare_dependency(link_with :
+@@ -53,3 +54,4 @@ meson.override_dependency(pkg_name, gstbasecamerabin_d
sources: gen_sources,
dependencies : [gstapp_dep])
meson.override_dependency(pkg_name, gstbasecamerabin_dep)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecparsers_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecparsers_meson.build
index ef3812765c93..cef5fbc2b1aa 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecparsers_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecparsers_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/codecparsers/meson.build.orig 2023-01-23 19:29:34 UTC
+--- gst-libs/gst/codecparsers/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/codecparsers/meson.build
@@ -1,3 +1,4 @@
+if get_option('codecparsers').enabled()
codecparser_sources = files([
'gstjpeg2000sampling.c',
'gstjpegparser.c',
-@@ -71,3 +72,4 @@ meson.override_dependency(pkg_name, gstcodecparsers_de
+@@ -72,3 +73,4 @@ meson.override_dependency(pkg_name, gstcodecparsers_de
gst_libraries += [[pkg_name, {'lib': gstcodecparsers}]]
meson.override_dependency(pkg_name, gstcodecparsers_dep)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecs_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecs_meson.build
index b02b8b43b1c8..23916ead19c1 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecs_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_codecs_meson.build
@@ -1,15 +1,26 @@
---- gst-libs/gst/codecs/meson.build.orig 2022-09-05 20:49:44 UTC
+--- gst-libs/gst/codecs/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/codecs/meson.build
@@ -1,3 +1,4 @@
+if get_option('codecs').enabled()
codecs_sources = files(
'gsth264decoder.c',
'gsth264picture.c',
-@@ -81,4 +82,5 @@ gstcodecs_dep = declare_dependency(link_with : gstcode
- include_directories : [libsinc],
+@@ -51,6 +52,13 @@ pkg_name = 'gstreamer-codecs-1.0'
+
+ library_def = {'lib': gstcodecs}
+ pkg_name = 'gstreamer-codecs-1.0'
++pkgconfig.generate(gstcodecs,
++ libraries : [gst_dep, gstbase_dep],
++ variables : pkgconfig_variables,
++ subdirs : pkgconfig_subdirs,
++ name : pkg_name,
++ description : 'Codecs library for GStreamer elements',
++)
+ gen_sources = []
+ if build_gir
+ gir = {
+@@ -85,3 +93,4 @@ meson.override_dependency(pkg_name, gstcodecs_dep)
sources: gen_sources,
dependencies : [gstvideo_dep, gstcodecparsers_dep])
--meson.override_dependency(pkg_name, gstcodecs_dep)
-\ No newline at end of file
-+meson.override_dependency(pkg_name, gstcodecs_dep)
+ meson.override_dependency(pkg_name, gstcodecs_dep)
+endif
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_dxva_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_dxva_meson.build
new file mode 100644
index 000000000000..46b6b26500dd
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_dxva_meson.build
@@ -0,0 +1,12 @@
+--- gst-libs/gst/dxva/meson.build.orig 2024-08-21 11:25:15 UTC
++++ gst-libs/gst/dxva/meson.build
+@@ -1,3 +1,4 @@
++if get_option('dxva').enabled()
+ dxva_sources = files(
+ 'gstdxvaav1decoder.cpp',
+ 'gstdxvah264decoder.cpp',
+@@ -73,3 +74,4 @@ meson.override_dependency(pkg_name, gstdxva_dep)
+ dependencies : [gstvideo_dep, gstcodecs_dep])
+
+ meson.override_dependency(pkg_name, gstdxva_dep)
++endif
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_insertbin_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_insertbin_meson.build
index a3823ab4e9a7..a859a3c20369 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_insertbin_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_insertbin_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/insertbin/meson.build.orig 2022-09-05 21:06:02 UTC
+--- gst-libs/gst/insertbin/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/insertbin/meson.build
@@ -1,3 +1,4 @@
+if get_option('insertbin').enabled()
insert_sources = files('gstinsertbin.c')
insert_headers = files('gstinsertbin.h')
install_headers(insert_headers, subdir : 'gstreamer-1.0/gst/insertbin')
-@@ -51,3 +52,4 @@ gstinsertbin_dep = declare_dependency(link_with : gsti
+@@ -52,3 +53,4 @@ meson.override_dependency(pkg_name, gstinsertbin_dep)
dependencies : [gst_dep])
meson.override_dependency(pkg_name, gstinsertbin_dep)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mpegts_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mpegts_meson.build
index 4cc1d85948f8..3d0306698f6c 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mpegts_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mpegts_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/mpegts/meson.build.orig 2022-09-05 21:11:41 UTC
+--- gst-libs/gst/mpegts/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/mpegts/meson.build
@@ -1,3 +1,4 @@
+if get_option('mpegts').enabled()
mpegts_sources = files(
'mpegts.c',
'gstmpegtssection.c',
-@@ -82,3 +83,4 @@ gstmpegts_dep = declare_dependency(link_with : gstmpeg
+@@ -87,3 +88,4 @@ meson.override_dependency(pkg_name, gstmpegts_dep)
dependencies : [gst_dep],
sources : gen_sources)
meson.override_dependency(pkg_name, gstmpegts_dep)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mse_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mse_meson.build
new file mode 100644
index 000000000000..87fa32dc173c
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_mse_meson.build
@@ -0,0 +1,12 @@
+--- gst-libs/gst/mse/meson.build.orig 2024-08-21 11:25:15 UTC
++++ gst-libs/gst/mse/meson.build
+@@ -1,3 +1,4 @@
++if get_option('mse').enabled()
+ gstmse_headers_private = files(
+ 'gstappendpipeline-private.h',
+ 'gstmediasourcesamplemap-private.h',
+@@ -148,3 +149,4 @@ meson.override_dependency(pkg_name, gstmse_dep)
+ )
+ install_headers(gstmse_headers_public, subdir: gstmse_header_dir)
+ meson.override_dependency(pkg_name, gstmse_dep)
++endif
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_play_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_play_meson.build
index 57c62c02d424..d06564fe48d5 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_play_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_play_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/play/meson.build.orig 2022-09-05 21:13:21 UTC
+--- gst-libs/gst/play/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/play/meson.build
@@ -1,3 +1,4 @@
+if get_option('play').enabled()
gstplay_sources = files(
'gstplay.c',
'gstplay-signal-adapter.c',
-@@ -74,3 +75,4 @@ gstplay_dep = declare_dependency(link_with : gstplay,
+@@ -75,3 +76,4 @@ meson.override_dependency(pkg_name, gstplay_dep)
gsttag_dep, gstpbutils_dep])
meson.override_dependency(pkg_name, gstplay_dep)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_player_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_player_meson.build
index 807a3448ee44..24847d7836ab 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_player_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_player_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/player/meson.build.orig 2022-09-05 21:14:52 UTC
+--- gst-libs/gst/player/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/player/meson.build
@@ -1,3 +1,4 @@
+if get_option('player').enabled()
gstplayer_sources = files([
'gstplayer.c',
'gstplayer-signal-dispatcher.c',
-@@ -77,3 +78,4 @@ gstplayer_dep = declare_dependency(link_with : gstplay
+@@ -78,3 +79,4 @@ meson.override_dependency(pkg_name, gstplayer_dep)
gsttag_dep, gstpbutils_dep])
meson.override_dependency(pkg_name, gstplayer_dep)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_transcoder_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_transcoder_meson.build
index a6f42c3067bd..67655adb60a0 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_transcoder_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_transcoder_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/transcoder/meson.build.orig 2022-09-05 21:18:30 UTC
+--- gst-libs/gst/transcoder/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/transcoder/meson.build
@@ -1,3 +1,4 @@
+if get_option('transcoder').enabled()
sources = files(['gsttranscoder.c', 'gsttranscoder-signal-adapter.c'])
headers = files(['gsttranscoder.h', 'transcoder-prelude.h', 'gsttranscoder-signal-adapter.h'])
-@@ -64,3 +65,4 @@ gst_transcoder_dep = declare_dependency(link_with: gst
+@@ -65,3 +66,4 @@ meson.override_dependency(pkg_name, gst_transcoder_dep
include_directories : [libsinc]
)
meson.override_dependency(pkg_name, gst_transcoder_dep)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_va_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_va_meson.build
index 51b56b1d3936..1a6d4c6b0deb 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_va_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_va_meson.build
@@ -1,11 +1,26 @@
---- gst-libs/gst/va/meson.build.orig 2023-01-23 19:29:34 UTC
+--- gst-libs/gst/va/meson.build.orig 2024-09-19 10:01:21 UTC
+++ gst-libs/gst/va/meson.build
-@@ -27,7 +27,7 @@ gstva_dep = dependency('', required : false)
+@@ -45,12 +45,12 @@ extra_args = ['-DGST_USE_UNSTABLE_API',
+ '-DBUILDING_GST_VA',
+ '-DG_LOG_DOMAIN="GStreamer-VA"']
- gstva_dep = dependency('', required : false)
-
--if host_system != 'linux'
+-if host_system not in ['linux', 'windows']
+if get_option('skip_gstva')
subdir_done()
endif
+ va_opt = get_option('va')
+-if host_system == 'linux'
++if host_system in ['linux', 'freebsd']
+ msdk_opt = get_option('msdk')
+ qsv_opt = get_option('qsv')
+ if va_opt.disabled() and msdk_opt.disabled() and qsv_opt.disabled()
+@@ -75,7 +75,7 @@ endif
+ subdir_done()
+ endif
+
+-if host_system == 'linux'
++if host_system in ['linux', 'freebsd']
+ libva_drm_dep = dependency('libva-drm', version: libva_req, required: va_required,
+ fallback: ['libva', 'libva_drm_dep'])
+ if not libva_drm_dep.found()
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_webrtc_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_webrtc_meson.build
index a41bf710c35a..2322d4300ca3 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_webrtc_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_webrtc_meson.build
@@ -1,15 +1,12 @@
---- gst-libs/gst/webrtc/meson.build.orig 2023-01-23 19:29:34 UTC
+--- gst-libs/gst/webrtc/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/webrtc/meson.build
@@ -1,3 +1,4 @@
+if get_option('webrtc').enabled()
webrtc_sources = files([
'dtlstransport.c',
'ice.c',
-@@ -102,4 +103,5 @@ meson.override_dependency(pkg_name, gstwebrtc_dep)
-
+@@ -104,3 +105,4 @@ subdir('nice')
meson.override_dependency(pkg_name, gstwebrtc_dep)
--subdir('nice')
-\ No newline at end of file
-+subdir('nice')
+ subdir('nice')
+endif
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-meson.build
index 9fa7faba7c08..a252c8b451e8 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-meson.build
@@ -1,6 +1,6 @@
---- meson.build.orig 2022-09-04 20:06:36 UTC
+--- meson.build.orig 2024-08-21 11:25:15 UTC
+++ meson.build
-@@ -498,6 +498,7 @@ pkgconfig_variables = ['exec_prefix=${prefix}',
+@@ -545,6 +545,7 @@ pkgconfig_subdirs = ['gstreamer-1.0']
pkgconfig_subdirs = ['gstreamer-1.0']
@@ -8,7 +8,7 @@
pkgconfig.generate(
libraries : [gst_dep],
variables : pkgconfig_variables,
-@@ -505,6 +506,7 @@ pkgconfig.generate(
+@@ -552,6 +553,7 @@ pkgconfig.generate(
name : 'gstreamer-plugins-bad-1.0',
description : 'Streaming media framework, bad plugins libraries',
)
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-meson__options.txt b/multimedia/gstreamer1-plugins-bad/files/patch-meson__options.txt
index e68d99888782..61a716560457 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-meson__options.txt
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-meson__options.txt
@@ -1,16 +1,20 @@
---- meson_options.txt.orig 2023-01-23 19:29:34 UTC
+--- meson_options.txt.orig 2024-08-21 11:25:15 UTC
+++ meson_options.txt
-@@ -1,5 +1,41 @@ option('gst_play_tests', type: 'boolean', value: false
+@@ -1,5 +1,47 @@ option('gst_play_tests', type: 'boolean', value: false
option('gst_play_tests', type: 'boolean', value: false,
description: 'Enable GstPlay tests that need network access')
+option('adaptivedemux', type: 'feature', value: 'auto',
+ description: 'adaptivedemux lib')
++option('analytics', type: 'feature', value: 'auto',
++ description: 'analytics lib')
+option('audio', type: 'feature', value: 'auto',
+ description: 'audio lib')
+option('codecparsers', type: 'feature', value: 'auto',
+ description: 'codecparsers lib')
+option('codecs', type: 'feature', value: 'auto',
+ description: 'codecs lib')
++option('dxva', type: 'feature', value: 'auto',
++ description: 'dxva lib')
+option('basecamerabinsrc', type: 'feature', value: 'auto',
+ description: 'basecamerabinsrc lib')
+option('insertbin', type: 'feature', value: 'auto',
@@ -21,6 +25,8 @@
+ description: 'isoff lib')
+option('mpegts', type: 'feature', value: 'auto',
+ description: 'mpegts lib')
++option('mse', type: 'feature', value: 'auto',
++ description: 'mse lib')
+option('play', type: 'feature', value: 'auto',
+ description: 'play lib')
+option('player', type: 'feature', value: 'auto',
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-sys_kms_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-sys_kms_meson.build
index eba4af58db21..b3076c8ecfbd 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-sys_kms_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-sys_kms_meson.build
@@ -1,13 +1,13 @@
---- sys/kms/meson.build.orig 2022-09-12 09:58:35 UTC
+--- sys/kms/meson.build.orig 2024-08-21 11:25:15 UTC
+++ sys/kms/meson.build
-@@ -5,10 +5,6 @@ kmssink_sources = [
- 'gstkmsutils.c',
+@@ -6,10 +6,6 @@ extra_deps = []
]
+ extra_deps = []
-if host_system != 'linux'
- subdir_done()
-endif
-
libdrm_dep = dependency('libdrm', version : '>= 2.4.98',
- required : get_option('kms'),
- fallback: ['libdrm', 'ext_libdrm'])
+ required : get_option('kms'))
+ libdrm_hdr_dep = dependency('libdrm', version : '>= 2.4.104',
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-sys_msdk_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-sys_msdk_meson.build
index 625d4e8742ed..c60e827edda4 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-sys_msdk_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-sys_msdk_meson.build
@@ -1,8 +1,8 @@
---- sys/msdk/meson.build.orig 2022-09-16 08:39:55 UTC
+--- sys/msdk/meson.build.orig 2024-08-21 11:25:15 UTC
+++ sys/msdk/meson.build
-@@ -169,7 +169,12 @@ if msdk_deps_found
+@@ -202,7 +202,12 @@ if msdk_deps_found
msdk_sources,
- c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
+ c_args : gst_plugins_bad_args + extra_args + onevpl_extra_args,
include_directories : [configinc, mfx_inc],
- dependencies : [gstbase_dep, gstvideo_dep, gstpbutils_dep, gstallocators_dep, gstcodecparsers_dep, mfx_dep, msdk_deps],
+ dependencies : [gstbase_dep,
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-tests_examples_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-tests_examples_meson.build
index 98794affdb99..1c2bf3754931 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-tests_examples_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-tests_examples_meson.build
@@ -1,12 +1,13 @@
---- tests/examples/meson.build.orig 2023-01-23 19:29:34 UTC
+--- tests/examples/meson.build.orig 2024-09-19 10:01:21 UTC
+++ tests/examples/meson.build
-@@ -1,24 +1,66 @@
+@@ -1,26 +1,72 @@
-subdir('audiomixmatrix')
-subdir('avsamplesink')
-subdir('camerabin2')
-subdir('codecparsers')
-subdir('codecs')
-subdir('d3d11')
+-subdir('d3d12')
-subdir('directfb')
-subdir('gtk')
-subdir('ipcpipeline')
@@ -17,6 +18,7 @@
-subdir('nvcodec')
-subdir('opencv', if_found: opencv_dep)
-subdir('qsv')
+-subdir('qt6d3d11')
-subdir('uvch264')
-subdir('va')
-subdir('waylandsink')
@@ -29,7 +31,7 @@
+ subdir('avsamplesink')
+endif
+if get_option('camerabin2').enabled()
-+ subdir('camerabin2')
++ subdir('camerabin2', if_found: gtk_dep)
+endif
+if get_option('codecparsers').enabled()
+ subdir('codecparsers')
@@ -40,6 +42,9 @@
+if get_option('d3d11').enabled()
+ subdir('d3d11')
+endif
++if get_option('d3d12').enabled()
++ subdir('d3d12')
++endif
+if get_option('directfb').enabled()
+ subdir('directfb')
+endif
@@ -59,7 +64,7 @@
+ subdir('msdk')
+endif
+if get_option('mxf').enabled()
-+ subdir('mxf')
++ subdir('mxf', if_found: gtk_dep)
+endif
+if get_option('nvcodec').enabled()
+ subdir('nvcodec')
@@ -70,6 +75,9 @@
+if get_option('qsv').enabled()
+ subdir('qsv')
+endif
++if get_option('qt6d3d11').enabled()
++ subdir('qt6d3d11')
++endif
+if get_option('uvch264').enabled()
+ subdir('uvch264')
+endif
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-tests_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-tests_meson.build
new file mode 100644
index 000000000000..ee2d794f6a4f
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-tests_meson.build
@@ -0,0 +1,13 @@
+--- tests/meson.build.orig 2024-09-19 10:01:21 UTC
++++ tests/meson.build
+@@ -1,8 +1,8 @@
+-if get_option('tests').disabled() or static_build
++if get_option('tests').disabled() and get_option('examples').disabled() or static_build
+ subdir_done()
+ endif
+
+-if gstcheck_dep.found()
++if not get_option('tests').disabled() and gstcheck_dep.found()
+ subdir('check')
+ subdir('interactive')
+ subdir('validate')
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-tools_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-tools_meson.build
index 8655ba57e242..9a9bce5fe509 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-tools_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-tools_meson.build
@@ -1,12 +1,22 @@
---- tools/meson.build.orig 2023-01-23 19:29:34 UTC
+--- tools/meson.build.orig 2024-08-21 11:25:15 UTC
+++ tools/meson.build
@@ -1,3 +1,4 @@
-+if get_option('tools').enabled()
- executable('gst-transcoder-' + api_version,
- 'gst-transcoder.c', 'utils.c',
- install : true,
-@@ -5,3 +6,4 @@ executable('gst-transcoder-' + api_version,
- dependencies : [gst_dep, gstpbutils_dep, gst_transcoder_dep],
- c_args: ['-DG_LOG_DOMAIN="gst-transcoder-@0@"'.format(api_version)],
- )
++if not get_option('tools').disabled() and not static_build
+ gst_tools = {
+ 'gst-transcoder': {
+ 'files': files('gst-transcoder.c', 'utils.c'),
+@@ -5,7 +6,6 @@ gst_tools = {
+ },
+ }
+
+-if not get_option('tools').disabled() and not static_build
+ foreach tool, data: gst_tools
+ exe_name = '@0@-@1@'.format(tool, api_version)
+ executable(exe_name,
+@@ -21,4 +21,4 @@ if not get_option('tools').disabled() and not static_b
+ install_man(data.get('man_page'))
+ endif
+ endforeach
+-endif
+\ No newline at end of file
+endif
diff --git a/multimedia/gstreamer1-plugins-bad/pkg-plist b/multimedia/gstreamer1-plugins-bad/pkg-plist
index 4540b13ddfe8..2bcc6ed5e11c 100644
--- a/multimedia/gstreamer1-plugins-bad/pkg-plist
+++ b/multimedia/gstreamer1-plugins-bad/pkg-plist
@@ -1,6 +1,12 @@
bin/playout
-include/gstreamer-%%VERSION%%/gst/adaptivedemux/gstadaptivedemux.h
include/gstreamer-%%VERSION%%/gst/adaptivedemux/adaptive-demux-prelude.h
+include/gstreamer-%%VERSION%%/gst/adaptivedemux/gstadaptivedemux.h
+include/gstreamer-%%VERSION%%/gst/analytics/analytics-meta-prelude.h
+include/gstreamer-%%VERSION%%/gst/analytics/analytics.h
+include/gstreamer-%%VERSION%%/gst/analytics/gstanalyticsclassificationmtd.h
+include/gstreamer-%%VERSION%%/gst/analytics/gstanalyticsmeta.h
+include/gstreamer-%%VERSION%%/gst/analytics/gstanalyticsobjectdetectionmtd.h
+include/gstreamer-%%VERSION%%/gst/analytics/gstanalyticsobjecttrackingmtd.h
include/gstreamer-%%VERSION%%/gst/audio/audio-bad-prelude.h
include/gstreamer-%%VERSION%%/gst/audio/gstnonstreamaudiodecoder.h
include/gstreamer-%%VERSION%%/gst/audio/gstplanaraudioadapter.h
@@ -32,12 +38,21 @@ include/gstreamer-%%VERSION%%/gst/mpegts/gst-dvb-descriptor.h
include/gstreamer-%%VERSION%%/gst/mpegts/gst-dvb-section.h
include/gstreamer-%%VERSION%%/gst/mpegts/gst-hdmv-section.h
include/gstreamer-%%VERSION%%/gst/mpegts/gst-isdb-descriptor.h
+include/gstreamer-%%VERSION%%/gst/mpegts/gst-metadata-descriptor.h
+include/gstreamer-%%VERSION%%/gst/mpegts/gst-mpegtspesmetadatameta.h
include/gstreamer-%%VERSION%%/gst/mpegts/gst-scte-section.h
include/gstreamer-%%VERSION%%/gst/mpegts/gstmpegts-enumtypes.h
include/gstreamer-%%VERSION%%/gst/mpegts/gstmpegtsdescriptor.h
include/gstreamer-%%VERSION%%/gst/mpegts/gstmpegtssection.h
include/gstreamer-%%VERSION%%/gst/mpegts/mpegts-prelude.h
include/gstreamer-%%VERSION%%/gst/mpegts/mpegts.h
+include/gstreamer-%%VERSION%%/gst/mse/gstmediasource.h
+include/gstreamer-%%VERSION%%/gst/mse/gstmsesrc.h
+include/gstreamer-%%VERSION%%/gst/mse/gstsourcebuffer.h
+include/gstreamer-%%VERSION%%/gst/mse/gstsourcebufferlist.h
+include/gstreamer-%%VERSION%%/gst/mse/mse-enumtypes.h
+include/gstreamer-%%VERSION%%/gst/mse/mse-prelude.h
+include/gstreamer-%%VERSION%%/gst/mse/mse.h
include/gstreamer-%%VERSION%%/gst/play/gstplay-media-info.h
include/gstreamer-%%VERSION%%/gst/play/gstplay-signal-adapter.h
include/gstreamer-%%VERSION%%/gst/play/gstplay-types.h
@@ -57,9 +72,6 @@ include/gstreamer-%%VERSION%%/gst/player/gstplayer-visualization.h
include/gstreamer-%%VERSION%%/gst/player/gstplayer.h
include/gstreamer-%%VERSION%%/gst/player/player-prelude.h
include/gstreamer-%%VERSION%%/gst/player/player.h
-include/gstreamer-%%VERSION%%/gst/sctp/sctp-prelude.h
-include/gstreamer-%%VERSION%%/gst/sctp/sctpreceivemeta.h
-include/gstreamer-%%VERSION%%/gst/sctp/sctpsendmeta.h
include/gstreamer-%%VERSION%%/gst/transcoder/gsttranscoder-signal-adapter.h
include/gstreamer-%%VERSION%%/gst/transcoder/gsttranscoder.h
include/gstreamer-%%VERSION%%/gst/transcoder/transcoder-enumtypes.h
@@ -68,36 +80,22 @@ include/gstreamer-%%VERSION%%/gst/uridownloader/gstfragment.h
include/gstreamer-%%VERSION%%/gst/uridownloader/gsturidownloader.h
include/gstreamer-%%VERSION%%/gst/uridownloader/gsturidownloader_debug.h
include/gstreamer-%%VERSION%%/gst/uridownloader/uridownloader-prelude.h
-include/gstreamer-%%VERSION%%/gst/webrtc/datachannel.h
-include/gstreamer-%%VERSION%%/gst/webrtc/dtlstransport.h
-include/gstreamer-%%VERSION%%/gst/webrtc/ice.h
-include/gstreamer-%%VERSION%%/gst/webrtc/icestream.h
-include/gstreamer-%%VERSION%%/gst/webrtc/icetransport.h
-include/gstreamer-%%VERSION%%/gst/webrtc/nice/nice.h
-include/gstreamer-%%VERSION%%/gst/webrtc/nice/nice_fwd.h
-include/gstreamer-%%VERSION%%/gst/webrtc/nice/nicestream.h
-include/gstreamer-%%VERSION%%/gst/webrtc/nice/nicetransport.h
-include/gstreamer-%%VERSION%%/gst/webrtc/rtcsessiondescription.h
-include/gstreamer-%%VERSION%%/gst/webrtc/rtpreceiver.h
-include/gstreamer-%%VERSION%%/gst/webrtc/rtpsender.h
-include/gstreamer-%%VERSION%%/gst/webrtc/rtptransceiver.h
-include/gstreamer-%%VERSION%%/gst/webrtc/sctptransport.h
-include/gstreamer-%%VERSION%%/gst/webrtc/webrtc-enumtypes.h
-include/gstreamer-%%VERSION%%/gst/webrtc/webrtc.h
-include/gstreamer-%%VERSION%%/gst/webrtc/webrtc_fwd.h
+lib/girepository-%%VERSION%%/GstAnalytics-%%VERSION%%.typelib
lib/girepository-%%VERSION%%/GstBadAudio-%%VERSION%%.typelib
lib/girepository-%%VERSION%%/GstCodecs-%%VERSION%%.typelib
+lib/girepository-%%VERSION%%/GstDxva-%%VERSION%%.typelib
lib/girepository-%%VERSION%%/GstInsertBin-%%VERSION%%.typelib
lib/girepository-%%VERSION%%/GstMpegts-%%VERSION%%.typelib
+lib/girepository-%%VERSION%%/GstMse-%%VERSION%%.typelib
lib/girepository-%%VERSION%%/GstPlay-%%VERSION%%.typelib
lib/girepository-%%VERSION%%/GstPlayer-%%VERSION%%.typelib
lib/girepository-%%VERSION%%/GstTranscoder-%%VERSION%%.typelib
-lib/girepository-%%VERSION%%/GstWebRTC-%%VERSION%%.typelib
lib/gstreamer-%%VERSION%%/libgstaccurip.so
lib/gstreamer-%%VERSION%%/libgstadpcmdec.so
lib/gstreamer-%%VERSION%%/libgstadpcmenc.so
lib/gstreamer-%%VERSION%%/libgstaes.so
lib/gstreamer-%%VERSION%%/libgstaiff.so
+lib/gstreamer-%%VERSION%%/libgstanalyticsoverlay.so
lib/gstreamer-%%VERSION%%/libgstasfmux.so
lib/gstreamer-%%VERSION%%/libgstaudiobuffersplit.so
lib/gstreamer-%%VERSION%%/libgstaudiofxbad.so
@@ -108,6 +106,7 @@ lib/gstreamer-%%VERSION%%/libgstautoconvert.so
lib/gstreamer-%%VERSION%%/libgstbayer.so
lib/gstreamer-%%VERSION%%/libgstbz2.so
lib/gstreamer-%%VERSION%%/libgstcamerabin.so
+lib/gstreamer-%%VERSION%%/libgstcodec2json.so
lib/gstreamer-%%VERSION%%/libgstcodecalpha.so
lib/gstreamer-%%VERSION%%/libgstcodectimestamper.so
lib/gstreamer-%%VERSION%%/libgstcoloreffects.so
@@ -124,6 +123,7 @@ lib/gstreamer-%%VERSION%%/libgstgaudieffects.so
lib/gstreamer-%%VERSION%%/libgstgdp.so
lib/gstreamer-%%VERSION%%/libgstgeometrictransform.so
lib/gstreamer-%%VERSION%%/libgstid3tag.so
+lib/gstreamer-%%VERSION%%/libgstinsertbin.so
lib/gstreamer-%%VERSION%%/libgstinter.so
lib/gstreamer-%%VERSION%%/libgstinterlace.so
lib/gstreamer-%%VERSION%%/libgstipcpipeline.so
@@ -137,6 +137,7 @@ lib/gstreamer-%%VERSION%%/libgstmpegpsdemux.so
lib/gstreamer-%%VERSION%%/libgstmpegpsmux.so
lib/gstreamer-%%VERSION%%/libgstmpegtsdemux.so
lib/gstreamer-%%VERSION%%/libgstmpegtsmux.so
+lib/gstreamer-%%VERSION%%/libgstmse.so
lib/gstreamer-%%VERSION%%/libgstmxf.so
lib/gstreamer-%%VERSION%%/libgstnetsim.so
lib/gstreamer-%%VERSION%%/libgstpcapparse.so
@@ -148,7 +149,6 @@ lib/gstreamer-%%VERSION%%/libgstrist.so
lib/gstreamer-%%VERSION%%/libgstrtmp2.so
lib/gstreamer-%%VERSION%%/libgstrtpmanagerbad.so
lib/gstreamer-%%VERSION%%/libgstrtponvif.so
-lib/gstreamer-%%VERSION%%/libgstsctp.so
lib/gstreamer-%%VERSION%%/libgstsdpelem.so
lib/gstreamer-%%VERSION%%/libgstsegmentclip.so
lib/gstreamer-%%VERSION%%/libgstshm.so
@@ -159,16 +159,19 @@ lib/gstreamer-%%VERSION%%/libgstsubenc.so
lib/gstreamer-%%VERSION%%/libgstswitchbin.so
lib/gstreamer-%%VERSION%%/libgsttimecode.so
lib/gstreamer-%%VERSION%%/libgsttranscode.so
+lib/gstreamer-%%VERSION%%/libgstunixfd.so
lib/gstreamer-%%VERSION%%/libgstvideofiltersbad.so
lib/gstreamer-%%VERSION%%/libgstvideoframe_audiolevel.so
lib/gstreamer-%%VERSION%%/libgstvideoparsersbad.so
lib/gstreamer-%%VERSION%%/libgstvideosignal.so
-lib/gstreamer-%%VERSION%%/libgstwebrtc.so
lib/gstreamer-%%VERSION%%/libgstvmnc.so
lib/gstreamer-%%VERSION%%/libgsty4mdec.so
lib/libgstadaptivedemux-%%VERSION%%.so
lib/libgstadaptivedemux-%%VERSION%%.so.0
lib/libgstadaptivedemux-%%VERSION%%.so.%%SOVERSION%%
+lib/libgstanalytics-%%VERSION%%.so
+lib/libgstanalytics-%%VERSION%%.so.0
+lib/libgstanalytics-%%VERSION%%.so.%%SOVERSION%%
lib/libgstbadaudio-%%VERSION%%.so
lib/libgstbadaudio-%%VERSION%%.so.0
lib/libgstbadaudio-%%VERSION%%.so.%%SOVERSION%%
@@ -181,6 +184,9 @@ lib/libgstcodecparsers-%%VERSION%%.so.%%SOVERSION%%
lib/libgstcodecs-%%VERSION%%.so
lib/libgstcodecs-%%VERSION%%.so.0
lib/libgstcodecs-%%VERSION%%.so.%%SOVERSION%%
+lib/libgstdxva-%%VERSION%%.so
+lib/libgstdxva-%%VERSION%%.so.0
+lib/libgstdxva-%%VERSION%%.so.%%SOVERSION%%
lib/libgstinsertbin-%%VERSION%%.so
lib/libgstinsertbin-%%VERSION%%.so.0
lib/libgstinsertbin-%%VERSION%%.so.%%SOVERSION%%
@@ -190,6 +196,9 @@ lib/libgstisoff-%%VERSION%%.so.%%SOVERSION%%
lib/libgstmpegts-%%VERSION%%.so
lib/libgstmpegts-%%VERSION%%.so.0
lib/libgstmpegts-%%VERSION%%.so.%%SOVERSION%%
+lib/libgstmse-%%VERSION%%.so
+lib/libgstmse-%%VERSION%%.so.0
+lib/libgstmse-%%VERSION%%.so.%%SOVERSION%%
lib/libgstphotography-%%VERSION%%.so
lib/libgstphotography-%%VERSION%%.so.0
lib/libgstphotography-%%VERSION%%.so.%%SOVERSION%%
@@ -199,40 +208,33 @@ lib/libgstplay-%%VERSION%%.so.%%SOVERSION%%
lib/libgstplayer-%%VERSION%%.so
lib/libgstplayer-%%VERSION%%.so.0
lib/libgstplayer-%%VERSION%%.so.%%SOVERSION%%
-lib/libgstsctp-%%VERSION%%.so
-lib/libgstsctp-%%VERSION%%.so.0
-lib/libgstsctp-%%VERSION%%.so.%%SOVERSION%%
lib/libgsttranscoder-%%VERSION%%.so
lib/libgsttranscoder-%%VERSION%%.so.0
lib/libgsturidownloader-%%VERSION%%.so
lib/libgsturidownloader-%%VERSION%%.so.0
lib/libgsturidownloader-%%VERSION%%.so.%%SOVERSION%%
-lib/libgstwebrtc-%%VERSION%%.so
-lib/libgstwebrtc-%%VERSION%%.so.0
-lib/libgstwebrtc-%%VERSION%%.so.%%SOVERSION%%
-lib/libgstwebrtcnice-%%VERSION%%.so
-lib/libgstwebrtcnice-%%VERSION%%.so.0
-lib/libgstwebrtcnice-%%VERSION%%.so.%%SOVERSION%%
+libdata/pkgconfig/gstreamer-analytics-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-bad-audio-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-codecs-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-codecparsers-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-insertbin-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-mpegts-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-mse-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-photography-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-play-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-player-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-plugins-bad-%%VERSION%%.pc
-libdata/pkgconfig/gstreamer-sctp-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-transcoder-%%VERSION%%.pc
-libdata/pkgconfig/gstreamer-webrtc-%%VERSION%%.pc
-libdata/pkgconfig/gstreamer-webrtc-nice-%%VERSION%%.pc
+share/gir-%%VERSION%%/GstAnalytics-%%VERSION%%.gir
share/gir-%%VERSION%%/GstBadAudio-%%VERSION%%.gir
share/gir-%%VERSION%%/GstCodecs-%%VERSION%%.gir
+share/gir-%%VERSION%%/GstDxva-%%VERSION%%.gir
share/gir-%%VERSION%%/GstInsertBin-%%VERSION%%.gir
share/gir-%%VERSION%%/GstMpegts-%%VERSION%%.gir
+share/gir-%%VERSION%%/GstMse-%%VERSION%%.gir
share/gir-%%VERSION%%/GstPlay-%%VERSION%%.gir
share/gir-%%VERSION%%/GstPlayer-%%VERSION%%.gir
share/gir-%%VERSION%%/GstTranscoder-%%VERSION%%.gir
-share/gir-%%VERSION%%/GstWebRTC-%%VERSION%%.gir
%%DATADIR%%-%%VERSION%%/encoding-profiles/device/dvd.gep
%%DATADIR%%-%%VERSION%%/encoding-profiles/file-extension/avi.gep
%%DATADIR%%-%%VERSION%%/encoding-profiles/file-extension/flv.gep
diff --git a/multimedia/gstreamer1-plugins-core/Makefile b/multimedia/gstreamer1-plugins-core/Makefile
index 7dd1fe0310c8..96145419065e 100644
--- a/multimedia/gstreamer1-plugins-core/Makefile
+++ b/multimedia/gstreamer1-plugins-core/Makefile
@@ -7,21 +7,9 @@ EXTRACT_ONLY= # empty
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Core set of typical audio and video GStreamer plugins
-WWW= http://gstreamer.net
-
-NO_ARCH= yes
-NO_BUILD= yes
-GST_DIR= lib/gstreamer-1.0
-PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep
+WWW= https://gstreamer.freedesktop.org/
USES= gstreamer
-
-OPTIONS_DEFINE= DVD
-OPTIONS_DEFAULT=DVD
-DVD_DESC= Include DVD related plugins
-
-.include <bsd.port.options.mk>
-
# Audio plugins
USE_GSTREAMER+= mpg123 ogg vorbis
@@ -34,10 +22,16 @@ USE_GSTREAMER+= pango
# Multimedia plugins
USE_GSTREAMER+= libav good theora
-.if ${PORT_OPTIONS:MDVD}
-# dvd related plugins plugins
-USE_GSTREAMER+= a52dec dvdread resindvd dts
-.endif
+NO_ARCH= yes
+NO_BUILD= yes
+GST_DIR= lib/gstreamer-${_GST1_LIB_VER}
+PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep
+
+OPTIONS_DEFINE= DVD
+OPTIONS_DEFAULT=DVD
+
+DVD_DESC= Include DVD related plugins
+DVD_USE= GSTREAMER=a52dec,dvdread,resindvd,dts
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${GST_DIR}
diff --git a/multimedia/gstreamer1-plugins-dash/Makefile b/multimedia/gstreamer1-plugins-dash/Makefile
index 1e63c41319cb..16e5acd108c3 100644
--- a/multimedia/gstreamer1-plugins-dash/Makefile
+++ b/multimedia/gstreamer1-plugins-dash/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= multimedia
COMMENT= GStreamer Dynamic Adaptive Streaming over HTTP demuxer plugin
-GST_PLUGIN= dash
-DIST= bad
+USE_GNOME= libxml2
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USE_GNOME= libxml2
+DIST= bad
+GST_PLUGIN= dash
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-dts/Makefile b/multimedia/gstreamer1-plugins-dts/Makefile
index eec99eb14858..d3e09d9439a3 100644
--- a/multimedia/gstreamer1-plugins-dts/Makefile
+++ b/multimedia/gstreamer1-plugins-dts/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= multimedia
COMMENT= GStreamer dts audio decode plugin
-GST_PLUGIN= dts
-DIST= bad
+LIB_DEPENDS= libdca.so:multimedia/libdca
+
+MESON_ARGS+= -Dgpl=enabled
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libdca.so:multimedia/libdca
+DIST= bad
+GST_PLUGIN= dts
.include "${MASTERDIR}/Makefile"
-
-MESON_ARGS+= -Dgpl=enabled
diff --git a/multimedia/gstreamer1-plugins-dv/Makefile b/multimedia/gstreamer1-plugins-dv/Makefile
index 206cc39ef34d..4b6f18dc7891 100644
--- a/multimedia/gstreamer1-plugins-dv/Makefile
+++ b/multimedia/gstreamer1-plugins-dv/Makefile
@@ -4,13 +4,13 @@ PKGNAMESUFFIX= 1-plugins-dv
COMMENT= GStreamer dv demux and decoder plugin based on libdv
-GST_PLUGIN= dv
-DIST= good
+LIB_DEPENDS= libdv.so:multimedia/libdv
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libdv.so:multimedia/libdv
+DIST= good
+GST_PLUGIN= dv
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-dvdread/Makefile b/multimedia/gstreamer1-plugins-dvdread/Makefile
index 734d8afd1eae..1b26efa779cf 100644
--- a/multimedia/gstreamer1-plugins-dvdread/Makefile
+++ b/multimedia/gstreamer1-plugins-dvdread/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= multimedia
COMMENT= GStreamer DVD access plugin with libdvdread
-GST_PLUGIN= dvdread
-DIST= ugly
+LIB_DEPENDS= libdvdread.so:multimedia/libdvdread
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS=libdvdread.so:multimedia/libdvdread
+PLIST= ${.CURDIR}/pkg-plist
-.include "${MASTERDIR}/Makefile"
+DIST= ugly
+GST_PLUGIN= dvdread
-MESON_ARGS+= -Dgpl=enabled
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-good/Makefile b/multimedia/gstreamer1-plugins-good/Makefile
index caf0e4d1e22f..1e7139ae64ca 100644
--- a/multimedia/gstreamer1-plugins-good/Makefile
+++ b/multimedia/gstreamer1-plugins-good/Makefile
@@ -3,15 +3,16 @@ CATEGORIES= multimedia
COMMENT= GStreamer-plugins good-quality plug-ins
-GST_PLUGIN= good
-GST_PLUGIN_SUFFIX= -good
+LIB_DEPENDS+= libnettle.so:security/nettle \
+ libsoup-3.0.so:devel/libsoup3
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
-
-DIST= good
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
-PATCHDIR= ${.CURDIR}/files
+
+DIST= good
+GST_PLUGIN= ${DIST}
+GST_PLUGIN_SUFFIX= -${DIST}
NO_GSTREAMER_COMMON= yes
GOOD_GST_ENABLED_PLUGINS= adaptivedemux2 \
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-ext_qt6_meson.build b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt6_meson.build
new file mode 100644
index 000000000000..729d0a475f00
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt6_meson.build
@@ -0,0 +1,11 @@
+--- ext/qt6/meson.build.orig 2024-09-19 10:01:21 UTC
++++ ext/qt6/meson.build
+@@ -112,7 +112,7 @@ qt6_egl = qt6_egl \
+ # EGL windowing for Embedded linux (e.g. i.MX6) with or without windowing
+ # support
+ qt6_egl = qt6_egl \
+- .require(host_system == 'linux') \
++ .require(host_system == 'linux' or host_system == 'freebsd') \
+ .require(gstglegl_dep.found(), error_message: 'gstreamer-gl-egl-1.0 is required') \
+ .require(gst_gl_have_platform_egl, error_message: 'egl platform support in gstreamer-gl is required')
+ if qt6_egl.allowed()
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_meson.build b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_meson.build
new file mode 100644
index 000000000000..c46a55a3f941
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_meson.build
@@ -0,0 +1,11 @@
+--- ext/qt/meson.build.orig 2024-09-19 10:01:21 UTC
++++ ext/qt/meson.build
+@@ -105,7 +105,7 @@ qt5_egl = qt5_egl \
+ # EGL windowing for Embedded linux (e.g. i.MX6) with or without windowing
+ # support
+ qt5_egl = qt5_egl \
+- .require(host_system == 'linux') \
++ .require(host_system == 'linux' or host_system == 'freebsd') \
+ .require(gstglegl_dep.found(), error_message: 'gstreamer-gl-egl-1.0 is required') \
+ .require(gst_gl_have_platform_egl, error_message: 'egl platform support in gstreamer-gl is required')
+ if qt5_egl.allowed()
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.c b/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.c
new file mode 100644
index 000000000000..cc7cde6c3e8b
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_gstv4l2object.c
@@ -0,0 +1,12 @@
+--- sys/v4l2/gstv4l2object.c.orig 2024-09-19 10:01:21 UTC
++++ sys/v4l2/gstv4l2object.c
+@@ -5078,7 +5078,9 @@ gst_v4l2_object_probe_caps (GstV4l2Object * v4l2object
+ if (v4l2object->ioctl (v4l2object->video_fd, VIDIOC_CROPCAP, &cropcap) < 0) {
+
+ switch (errno) {
++#ifdef ENODATA
+ case ENODATA:
++#endif
+ case ENOTTY:
+ GST_INFO_OBJECT (v4l2object->dbg_obj,
+ "Driver does not support VIDIOC_CROPCAP (%s), assuming pixel aspect ratio 1/1",
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_v4l2__calls.c b/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_v4l2__calls.c
index 94d86410cf1d..95f1b0270bd7 100644
--- a/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_v4l2__calls.c
+++ b/multimedia/gstreamer1-plugins-good/files/patch-sys_v4l2_v4l2__calls.c
@@ -1,6 +1,6 @@
---- sys/v4l2/v4l2_calls.c.orig 2022-09-13 20:56:55 UTC
+--- sys/v4l2/v4l2_calls.c.orig 2024-08-21 11:25:15 UTC
+++ sys/v4l2/v4l2_calls.c
-@@ -1329,10 +1329,12 @@ gst_v4l2_query_dv_timings (GstV4l2Object * v4l2object,
+@@ -1334,10 +1334,12 @@ gst_v4l2_query_dv_timings (GstV4l2Object * v4l2object,
if (ret < 0) {
switch (errno) {
diff --git a/multimedia/gstreamer1-plugins-hls/Makefile b/multimedia/gstreamer1-plugins-hls/Makefile
index b1864dbf29eb..7b09bf99c249 100644
--- a/multimedia/gstreamer1-plugins-hls/Makefile
+++ b/multimedia/gstreamer1-plugins-hls/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= multimedia
COMMENT= GStreamer HTTP Live Streaming (HLS) plugin
-GST_PLUGIN= hls
-DIST= bad
+LIB_DEPENDS= libnettle.so:security/nettle
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libnettle.so:security/nettle
+DIST= bad
+GST_PLUGIN= hls
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-libde265/Makefile b/multimedia/gstreamer1-plugins-libde265/Makefile
index 91d9628ab950..262fa5fef38b 100644
--- a/multimedia/gstreamer1-plugins-libde265/Makefile
+++ b/multimedia/gstreamer1-plugins-libde265/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= multimedia
COMMENT= GStreamer HEVC/H.265 decoder (libde265) plugin
-GST_PLUGIN= libde265
-DIST= bad
+LIB_DEPENDS= libde265.so:multimedia/libde265
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libde265.so:multimedia/libde265
+DIST= bad
+GST_PLUGIN= libde265
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-mpeg2dec/Makefile b/multimedia/gstreamer1-plugins-mpeg2dec/Makefile
index e9ac110b1402..0e7966481123 100644
--- a/multimedia/gstreamer1-plugins-mpeg2dec/Makefile
+++ b/multimedia/gstreamer1-plugins-mpeg2dec/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= multimedia
COMMENT= GStreamer mpeg decode plugin
-GST_PLUGIN= mpeg2dec
-DIST= ugly
+LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2
+PLIST= ${.CURDIR}/pkg-plist
-.include "${MASTERDIR}/Makefile"
+DIST= ugly
+GST_PLUGIN= mpeg2dec
-MESON_ARGS+= -Dgpl=enabled
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-mpeg2enc/Makefile b/multimedia/gstreamer1-plugins-mpeg2enc/Makefile
index e53d5bfe1ecf..5dec4a490910 100644
--- a/multimedia/gstreamer1-plugins-mpeg2enc/Makefile
+++ b/multimedia/gstreamer1-plugins-mpeg2enc/Makefile
@@ -3,18 +3,18 @@ CATEGORIES= multimedia
COMMENT= GStreamer mpeg encoder plugin
-BROKEN_armv6= fails to compile: 'format_codes.h' file not found
-BROKEN_armv7= fails to compile: 'format_codes.h' file not found
+BROKEN_armv6= fails to compile: 'format_codes.h' file not found
+BROKEN_armv7= fails to compile: 'format_codes.h' file not found
-GST_PLUGIN= mpeg2enc
-DIST= bad
+LIB_DEPENDS= libmjpegutils.so:multimedia/mjpegtools
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS= libmjpegutils.so:multimedia/mjpegtools
+PLIST= ${.CURDIR}/pkg-plist
-MESON_ARGS+= -Dgpl=enabled
+DIST= bad
+GST_PLUGIN= mpeg2enc
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-mplex/Makefile b/multimedia/gstreamer1-plugins-mplex/Makefile
index eee543899918..9b7cfaee3c71 100644
--- a/multimedia/gstreamer1-plugins-mplex/Makefile
+++ b/multimedia/gstreamer1-plugins-mplex/Makefile
@@ -3,18 +3,18 @@ CATEGORIES= multimedia
COMMENT= GStreamer mplex plugin
-BROKEN_armv6= fails to build: ./gstmplex.hh:27:10: 'multiplexor.hpp' file not found
-BROKEN_armv7= fails to build: ./gstmplex.hh:27:10: 'multiplexor.hpp' file not found
+BROKEN_armv6= fails to build: ./gstmplex.hh:27:10: 'multiplexor.hpp' file not found
+BROKEN_armv7= fails to build: ./gstmplex.hh:27:10: 'multiplexor.hpp' file not found
-GST_PLUGIN= mplex
-DIST= bad
+LIB_DEPENDS= libmplex2.so:multimedia/mjpegtools
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS= libmplex2.so:multimedia/mjpegtools
+PLIST= ${.CURDIR}/pkg-plist
-.include "${MASTERDIR}/Makefile"
+DIST= bad
+GST_PLUGIN= mplex
-MESON_ARGS+= -Dgpl=enabled
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-msdk/Makefile b/multimedia/gstreamer1-plugins-msdk/Makefile
index 5f823f95bf63..52cc5cd3cec6 100644
--- a/multimedia/gstreamer1-plugins-msdk/Makefile
+++ b/multimedia/gstreamer1-plugins-msdk/Makefile
@@ -3,18 +3,20 @@ CATEGORIES= multimedia
COMMENT= GStreamer (Intel MediaSDK) plugin
-GST_PLUGIN= msdk
-DIST= bad
+LIB_DEPENDS= libdrm.so:graphics/libdrm \
+ libgudev-1.0.so:devel/libgudev \
+ libmfx.so:multimedia/intel-media-sdk \
+ libva-drm.so:multimedia/libva
+
+MESON_ARGS+= -Dskip_gstva=false
-CONFIGURE_ARGS= -Dskip_gstva=false
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+PLIST= ${.CURDIR}/pkg-plist
-PLIST= ${.CURDIR}/pkg-plist
+DIST= bad
+GST_PLUGIN= msdk
-LIB_DEPENDS= libgudev-1.0.so:devel/libgudev \
- libmfx.so:multimedia/intel-media-sdk \
- libva-drm.so:multimedia/libva \
- libdrm.so:graphics/libdrm
+BAD_GST_ENABLED_PLUGINS= va
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-openh264/Makefile b/multimedia/gstreamer1-plugins-openh264/Makefile
index 40d8968dacd7..a58480ec9d0e 100644
--- a/multimedia/gstreamer1-plugins-openh264/Makefile
+++ b/multimedia/gstreamer1-plugins-openh264/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= multimedia
COMMENT= GStreamer (openh264) plugin
-GST_PLUGIN= openh264
-DIST= bad
+LIB_DEPENDS= libopenh264.so:multimedia/openh264
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libopenh264.so:multimedia/openh264
+DIST= bad
+GST_PLUGIN= openh264
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-resindvd/Makefile b/multimedia/gstreamer1-plugins-resindvd/Makefile
index 7ea64d09ed3c..d1d354c224ca 100644
--- a/multimedia/gstreamer1-plugins-resindvd/Makefile
+++ b/multimedia/gstreamer1-plugins-resindvd/Makefile
@@ -3,17 +3,17 @@ CATEGORIES= multimedia
COMMENT= GStreamer resindvd DVD playback plugin
-GST_PLUGIN= resindvd
-DIST= bad
+BUILD_DEPENDS= libdvdnav>=4.1.2:multimedia/libdvdnav
+LIB_DEPENDS= libdvdread.so:multimedia/libdvdread
+RUN_DEPENDS= libdvdnav>=4.1.2:multimedia/libdvdnav
+
+MESON_ARGS+= -Dgpl=enabled
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
-BUILD_DEPENDS+= libdvdnav>=4.1.2:multimedia/libdvdnav
-LIB_DEPENDS+= libdvdread.so:multimedia/libdvdread
-RUN_DEPENDS+= libdvdnav>=4.1.2:multimedia/libdvdnav
+DIST= bad
+GST_PLUGIN= resindvd
.include "${MASTERDIR}/Makefile"
-
-MESON_ARGS+= -Dgpl=enabled
diff --git a/multimedia/gstreamer1-plugins-rust/Makefile b/multimedia/gstreamer1-plugins-rust/Makefile
index 6a9435374896..319ad847f648 100644
--- a/multimedia/gstreamer1-plugins-rust/Makefile
+++ b/multimedia/gstreamer1-plugins-rust/Makefile
@@ -1,7 +1,7 @@
PORTNAME= gstreamer1-plugins-rust
DISTVERSION= 0.11.1
DISTVERSIONSUFFIX= +fixup
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= multimedia
MAINTAINER= ports@FreeBSD.org
@@ -19,7 +19,7 @@ BUILD_DEPENDS= cargo-cbuild:devel/cargo-c \
USES= cargo gnome gstreamer meson pkgconfig python:build shebangfix ssl
USE_GITLAB= yes
USE_GNOME= glib20
-USE_GSTREAMER= bad # webrtc
+USE_GSTREAMER= webrtc
GL_SITE= https://gitlab.freedesktop.org
GL_ACCOUNT= gstreamer
GL_PROJECT= gst-plugins-rs
diff --git a/multimedia/gstreamer1-plugins-smoothstreaming/Makefile b/multimedia/gstreamer1-plugins-smoothstreaming/Makefile
index 8cc5a5e24647..3d5f23deb999 100644
--- a/multimedia/gstreamer1-plugins-smoothstreaming/Makefile
+++ b/multimedia/gstreamer1-plugins-smoothstreaming/Makefile
@@ -3,15 +3,13 @@ CATEGORIES= multimedia
COMMENT= GStreamer parse and demuliplex a Smooth Streaming manifest into audio/video streams plugin
-GST_PLUGIN= smoothstreaming
-DIST= bad
-
-SMOOTH_GST_DIRS= gst-libs/gst/isoff
+USE_GNOME= libxml2
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USE_GNOME= libxml2
+DIST= bad
+GST_PLUGIN= smoothstreaming
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-theora/Makefile b/multimedia/gstreamer1-plugins-theora/Makefile
index 497e86167882..1cb76512bd81 100644
--- a/multimedia/gstreamer1-plugins-theora/Makefile
+++ b/multimedia/gstreamer1-plugins-theora/Makefile
@@ -3,14 +3,14 @@ CATEGORIES= multimedia
COMMENT= GStreamer theora plugin
-GST_PLUGIN= theora
-DIST= base
+LIB_DEPENDS+= libogg.so:audio/libogg \
+ libtheora.so:multimedia/libtheora
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS+= libtheora.so:multimedia/libtheora \
- libogg.so:audio/libogg
+DIST= base
+GST_PLUGIN= theora
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-ttml/Makefile b/multimedia/gstreamer1-plugins-ttml/Makefile
index c6792eadc335..c091e7a7110f 100644
--- a/multimedia/gstreamer1-plugins-ttml/Makefile
+++ b/multimedia/gstreamer1-plugins-ttml/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= multimedia
COMMENT= GStreamer ttml subtitle plugin
-GST_PLUGIN= ttml
-DIST= bad
+USE_GNOME= cairo libxml2 pango
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USE_GNOME= cairo libxml2 pango
+DIST= bad
+GST_PLUGIN= ttml
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-ugly/Makefile b/multimedia/gstreamer1-plugins-ugly/Makefile
index ef3a77b14dda..32c26a2f7045 100644
--- a/multimedia/gstreamer1-plugins-ugly/Makefile
+++ b/multimedia/gstreamer1-plugins-ugly/Makefile
@@ -3,14 +3,15 @@ CATEGORIES?= multimedia audio
COMMENT= GStreamer-plugins set of good-quality plug-ins that might have distribution problems
-GST_PLUGIN= ugly
-GST_PLUGIN_SUFFIX= -ugly
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+PLIST= ${.CURDIR}/pkg-plist
-DIST= ugly
+DIST= ugly
+GST_PLUGIN= ${DIST}
+GST_PLUGIN_SUFFIX= -${DIST}
NO_GSTREAMER_COMMON= yes
-PLIST= ${.CURDIR}/pkg-plist
+
UGLY_GST_ENABLED_PLUGINS= asfdemux \
nls \
dvdlpcmdec \
diff --git a/multimedia/gstreamer1-plugins-v4l2/Makefile b/multimedia/gstreamer1-plugins-v4l2/Makefile
index f10c30e4ecf8..4408ad8be231 100644
--- a/multimedia/gstreamer1-plugins-v4l2/Makefile
+++ b/multimedia/gstreamer1-plugins-v4l2/Makefile
@@ -1,18 +1,17 @@
PORTREVISION= 0
CATEGORIES= multimedia
-PKGNAMESUFFIX= 1-plugins-v4l2
COMMENT= GStreamer Video 4 Linux 2 source plugin
-GST_PLUGIN= v4l2
-DIST= good
+BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
+LIB_DEPENDS= libv4l2.so:multimedia/libv4l
+RUN_DEPENDS= webcamd:multimedia/webcamd
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat
-LIB_DEPENDS= libv4l2.so:multimedia/libv4l
-RUN_DEPENDS= webcamd:multimedia/webcamd
+DIST= good
+GST_PLUGIN= v4l2
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-vpx/Makefile b/multimedia/gstreamer1-plugins-vpx/Makefile
index 06c76f1a3540..4987bc13b523 100644
--- a/multimedia/gstreamer1-plugins-vpx/Makefile
+++ b/multimedia/gstreamer1-plugins-vpx/Makefile
@@ -1,15 +1,15 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= multimedia
COMMENT= GStreamer vp8 codec plugin
-GST_PLUGIN= vpx
-DIST= good
+LIB_DEPENDS= libvpx.so:multimedia/libvpx
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libvpx.so:multimedia/libvpx
+DIST= good
+GST_PLUGIN= vpx
.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-webrtc/Makefile b/multimedia/gstreamer1-plugins-webrtc/Makefile
new file mode 100644
index 000000000000..acdad5396bd7
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-webrtc/Makefile
@@ -0,0 +1,17 @@
+PORTREVISION= 0
+CATEGORIES= multimedia
+
+COMMENT= GStreamer WebRTC plugin
+
+LIB_DEPENDS= libnice.so:net-im/libnice
+
+USE_GSTREAMER= dtls sctp srtp
+
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
+
+PLIST= ${.CURDIR}/pkg-plist
+
+DIST= bad
+GST_PLUGIN= webrtc
+
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-webrtc/pkg-plist b/multimedia/gstreamer1-plugins-webrtc/pkg-plist
new file mode 100644
index 000000000000..7e591b17c433
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-webrtc/pkg-plist
@@ -0,0 +1,28 @@
+include/gstreamer-%%VERSION%%/gst/webrtc/datachannel.h
+include/gstreamer-%%VERSION%%/gst/webrtc/dtlstransport.h
+include/gstreamer-%%VERSION%%/gst/webrtc/ice.h
+include/gstreamer-%%VERSION%%/gst/webrtc/icestream.h
+include/gstreamer-%%VERSION%%/gst/webrtc/icetransport.h
+include/gstreamer-%%VERSION%%/gst/webrtc/nice/nice.h
+include/gstreamer-%%VERSION%%/gst/webrtc/nice/nice_fwd.h
+include/gstreamer-%%VERSION%%/gst/webrtc/nice/nicestream.h
+include/gstreamer-%%VERSION%%/gst/webrtc/nice/nicetransport.h
+include/gstreamer-%%VERSION%%/gst/webrtc/rtcsessiondescription.h
+include/gstreamer-%%VERSION%%/gst/webrtc/rtpreceiver.h
+include/gstreamer-%%VERSION%%/gst/webrtc/rtpsender.h
+include/gstreamer-%%VERSION%%/gst/webrtc/rtptransceiver.h
+include/gstreamer-%%VERSION%%/gst/webrtc/sctptransport.h
+include/gstreamer-%%VERSION%%/gst/webrtc/webrtc-enumtypes.h
+include/gstreamer-%%VERSION%%/gst/webrtc/webrtc.h
+include/gstreamer-%%VERSION%%/gst/webrtc/webrtc_fwd.h
+lib/girepository-%%VERSION%%/GstWebRTC-%%VERSION%%.typelib
+lib/gstreamer-%%VERSION%%/libgstwebrtc.so
+lib/libgstwebrtc-%%VERSION%%.so
+lib/libgstwebrtc-%%VERSION%%.so.0
+lib/libgstwebrtc-%%VERSION%%.so.%%SOVERSION%%
+lib/libgstwebrtcnice-%%VERSION%%.so
+lib/libgstwebrtcnice-%%VERSION%%.so.0
+lib/libgstwebrtcnice-%%VERSION%%.so.%%SOVERSION%%
+libdata/pkgconfig/gstreamer-webrtc-%%VERSION%%.pc
+libdata/pkgconfig/gstreamer-webrtc-nice-%%VERSION%%.pc
+share/gir-%%VERSION%%/GstWebRTC-%%VERSION%%.gir
diff --git a/multimedia/gstreamer1-plugins-x264/Makefile b/multimedia/gstreamer1-plugins-x264/Makefile
index 878ef381e54c..df90e872753d 100644
--- a/multimedia/gstreamer1-plugins-x264/Makefile
+++ b/multimedia/gstreamer1-plugins-x264/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= multimedia
COMMENT= GStreamer libx264 based H264 plugin
-GST_PLUGIN= x264
-DIST= ugly
+LIB_DEPENDS= libx264.so:multimedia/libx264
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS= libx264.so:multimedia/libx264
+PLIST= ${.CURDIR}/pkg-plist
-.include "${MASTERDIR}/Makefile"
+DIST= ugly
+GST_PLUGIN= x264
-MESON_ARGS+= -Dgpl=enabled
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins-x265/Makefile b/multimedia/gstreamer1-plugins-x265/Makefile
index 208061453a5f..eb5726638193 100644
--- a/multimedia/gstreamer1-plugins-x265/Makefile
+++ b/multimedia/gstreamer1-plugins-x265/Makefile
@@ -1,17 +1,17 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= multimedia
COMMENT= GStreamer libx265 based H265 plugin
-GST_PLUGIN= x265
-DIST= bad
+LIB_DEPENDS= libx265.so:multimedia/x265
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS= libx265.so:multimedia/x265
+PLIST= ${.CURDIR}/pkg-plist
-.include "${MASTERDIR}/Makefile"
+DIST= bad
+GST_PLUGIN= x265
-MESON_ARGS+= -Dgpl=enabled
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins/Makefile b/multimedia/gstreamer1-plugins/Makefile
index 4b2621cc3247..8c938409e92b 100644
--- a/multimedia/gstreamer1-plugins/Makefile
+++ b/multimedia/gstreamer1-plugins/Makefile
@@ -1,7 +1,7 @@
PORTNAME= gstreamer
PORTVERSION?= ${BASE_PORTVERSION}
# plug-in port instead, like ${category}/gstreamer1-plugin-${PLUGIN}.
-PORTREVISION?= 2
+PORTREVISION?= 0
CATEGORIES?= multimedia audio
MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-plugins-base/:base \
https://gstreamer.freedesktop.org/src/gst-plugins-bad/:bad \
@@ -21,8 +21,23 @@ LIB_DEPENDS+= libfreetype.so:print/freetype2 \
liborc-0.4.so:devel/orc
RUN_DEPENDS+= iso-codes>=0:misc/iso-codes
+USES+= meson cpe gettext gnome gstreamer libtool pathfix pkgconfig python:build tar:xz
+CPE_VENDOR= gstreamer_project
+CPE_PRODUCT= gstreamer
+USE_GNOME+= glib20 introspection:build libxml2
+USE_LDCONFIG= yes
+
+MESON_ARGS+= --auto-features=auto # XXX bug 270361 workaround
+
+CFLAGS+= -Wno-format
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -lpthread -L${LOCALBASE}/lib ${EXTRA_LIBS}
+
PORTSCOUT= limitw:1,even
+PLIST_SUB+= SOVERSION="${_GST_SOVERSION}" \
+ VERSION="${_GST_LIB_VER}"
+
BASE_PORTVERSION= ${_GST_VERSION}
BASE_DISTNAME= gst-plugins-base-${BASE_PORTVERSION}
BASE_DISTFILE= ${BASE_DISTNAME}${EXTRACT_SUFX}
@@ -35,38 +50,15 @@ GOOD_DISTFILE= ${GOOD_DISTNAME}${EXTRACT_SUFX}
UGLY_PORTVERSION= ${_GST_VERSION}
UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION}
UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX}
-DIST?= base
-
-USES+= meson cpe gettext gnome gstreamer libtool pathfix pkgconfig python:build tar:xz
-USE_GNOME+= glib20 introspection:build libxml2
-GST_PLUGIN?= base
-USE_LDCONFIG= yes
-MESON_ARGS+= --auto-features=auto # XXX bug 270361 workaround
-
-CPE_VENDOR= gstreamer_project
-CPE_PRODUCT= gstreamer
-
-CFLAGS+= -Wno-format
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -lpthread -L${LOCALBASE}/lib ${EXTRA_LIBS}
-
DEFAULT_AUDIOSINK?= osssink
DEFAULT_AUDIOSRC?= osssrc
-
-.if ${DIST}==""
-IGNORE= DIST not specified
-.endif
-
-VERSION= 1.0
-SOVERSION= 0.2210.0
-PLIST_SUB+= VERSION="${VERSION}" \
- SOVERSION="${SOVERSION}"
+DIST?= base
+GST_PLUGIN?= base
# Include bsd.port.options.mk and not bsd.port.pre.mk to be able to use USES
.include <bsd.port.options.mk>
.if ${GST_PLUGIN} == "base"
-DIST= base
NO_GSTREAMER_COMMON= yes
BASE_GST_ENABLED_PLUGINS= adder \
@@ -79,6 +71,8 @@ BASE_GST_ENABLED_PLUGINS= adder \
audioresample \
audiotestsrc \
compositor \
+ debugutils \
+ dsd \
encoding \
fft \
gio \
@@ -105,45 +99,48 @@ BASE_GST_ENABLED_PLUGINS= adder \
volume
.endif
-.if ${DIST} == base || ${DIST} == ugly
-CONFIGURE_ARGS+= -Ddefaultaudiosink="${DEFAULT_AUDIOSINK}" \
+.if ${DIST} == "base" || ${DIST} == "ugly"
+MESON_ARGS+= -Ddefaultaudiosink="${DEFAULT_AUDIOSINK}" \
-Ddefaultaudiosrc="${DEFAULT_AUDIOSRC}"
.endif
.include "${MASTERDIR}/Makefile.common"
-.if ${DIST}=="base"
-EXTRACT_ONLY=${BASE_DISTFILE}
-WRKSRC=${WRKDIR}/${BASE_DISTNAME}
+.if ${DIST} == "base"
+EXTRACT_ONLY= ${BASE_DISTFILE}
+WRKSRC= ${WRKDIR}/${BASE_DISTNAME}
PORTVERSION= ${BASE_PORTVERSION}
DISTFILES+= ${BASE_DISTFILE}:base
-PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins/files
-.elif ${DIST}=="bad"
-EXTRACT_ONLY=${BAD_DISTFILE}
-WRKSRC=${WRKDIR}/${BAD_DISTNAME}
+PATCHDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins/files
+.elif ${DIST} == "bad"
+EXTRACT_ONLY= ${BAD_DISTFILE}
+WRKSRC= ${WRKDIR}/${BAD_DISTNAME}
PORTVERSION= ${BAD_PORTVERSION}
DISTFILES+= ${BAD_DISTFILE}:bad
-PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-bad/files
-.elif ${DIST}=="ugly"
-EXTRACT_ONLY=${UGLY_DISTFILE}
-WRKSRC=${WRKDIR}/${UGLY_DISTNAME}
+PATCHDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins-bad/files
+.elif ${DIST} == "ugly"
+EXTRACT_ONLY= ${UGLY_DISTFILE}
+WRKSRC= ${WRKDIR}/${UGLY_DISTNAME}
PORTVERSION= ${UGLY_PORTVERSION}
DISTFILES+= ${UGLY_DISTFILE}:ugly
-PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-ugly/files
-.elif ${DIST}=="good"
-EXTRACT_ONLY=${GOOD_DISTFILE}
-WRKSRC=${WRKDIR}/${GOOD_DISTNAME}
+PATCHDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins-ugly/files
+.elif ${DIST} == "good"
+EXTRACT_ONLY= ${GOOD_DISTFILE}
+WRKSRC= ${WRKDIR}/${GOOD_DISTNAME}
PORTVERSION= ${GOOD_PORTVERSION}
DISTFILES+= ${GOOD_DISTFILE}:good
-PATCHDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins-good/files
-.elif ${DIST}=="makesum"
+PATCHDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins-good/files
+.elif ${DIST} == "makesum"
DISTFILES+= ${BASE_DISTFILE}:base ${BAD_DISTFILE}:bad \
${UGLY_DISTFILE}:ugly ${GOOD_DISTFILE}:good
.else
-BROKEN= Unknown dist setting
+BROKEN= unknown DIST setting
.endif
pre-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gstreamer-${VERSION}
+ ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gstreamer-${_GST1_LIB_VER}
+
+makesum-gst1:
+ ${MAKE} DIST=makesum makesum
.include <bsd.port.mk>
diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common
index 7d713f0dd7c3..b4e25db540c0 100644
--- a/multimedia/gstreamer1-plugins/Makefile.common
+++ b/multimedia/gstreamer1-plugins/Makefile.common
@@ -11,6 +11,8 @@ BASE_GST_ALL_PLUGINS+= \
audiotestsrc \
cdparanoia \
compositor \
+ debugutils \
+ dsd \
doc \
encoding \
examples \
@@ -53,21 +55,29 @@ BASE_GST_ENABLED_PLUGINS?=
BAD_GST_ALL_PLUGINS+= \
accurip \
+ adaptivedemux \
adpcmdec \
adpcmenc \
aes \
aiff \
- androidmedia \
+ aja \
+ amfcodec \
+ analytics \
+ analyticsoverlay \
+ androidmedia\
aom \
applemedia \
asfmux \
+ asio \
assrender \
+ audio \
audiobuffersplit \
audiofxbad \
audiolatency \
audiomixmatrix \
audiovisualizers \
autoconvert \
+ avtp \
basecamerabinsrc \
bayer \
bluez \
@@ -76,6 +86,7 @@ BAD_GST_ALL_PLUGINS+= \
camerabin2 \
chromaprint \
closedcaption \
+ codec2json \
codecalpha \
codecparsers \
codecs \
@@ -83,33 +94,51 @@ BAD_GST_ALL_PLUGINS+= \
coloreffects \
colormanagement \
curl \
+ curl-ssh2 \
+ d3d11 \
+ d3d11-hlsl-precompile \
+ d3d11-math \
+ d3d11-wgc \
+ d3d12 \
dash \
data \
dc1394 \
debugutils \
+ decklink \
directfb \
+ directshow \
directsound \
doc \
+ drm \
dtls \
dts \
dvb \
dvbsubenc \
dvbsuboverlay \
dvdspu \
+ dwrite \
+ dxva \
examples \
+ extra-checks \
faac \
faad \
faceoverlay \
+ fbdev \
+ fdkaac \
festival \
fieldanalysis \
flite \
+ fluidsynth \
freeverb \
frei0r \
gaudieffects \
gdp \
geometrictransform \
+ gl \
gme \
+ gs \
gsm \
+ gtk3 \
hls \
id3tag \
insertbin \
@@ -117,6 +146,8 @@ BAD_GST_ALL_PLUGINS+= \
interfaces \
interlace \
ipcpipeline \
+ iqa \
+ isac \
isoff \
ivfparse \
ivtc \
@@ -124,9 +155,15 @@ BAD_GST_ALL_PLUGINS+= \
jpegformat \
kms \
ladspa \
+ ladspa-rdf \
+ lc3 \
+ ldac \
libde265 \
librfb \
lv2 \
+ magicleap \
+ mediafoundation \
+ microdns \
midi \
modplug \
mpeg2enc \
@@ -137,30 +174,41 @@ BAD_GST_ALL_PLUGINS+= \
mpegtsmux \
mplex \
msdk \
+ mse \
+ musepack \
mxf \
neon \
netsim \
nls \
nvcodec \
+ onnx \
onvif \
openal \
+ openaptx \
opencv \
openexr \
openh264 \
openjpeg \
openmpt \
+ openni2 \
+ opensles \
opus \
+ orc \
pcapparse \
pkgconfig \
play \
player \
pnm \
proxy \
+ qroverlay \
+ qsv \
+ qt6d3d11 \
rawparse \
removesilence \
resindvd \
rist \
rsvg \
+ rtmp \
rtmp2 \
rtp \
sbc \
@@ -178,8 +226,10 @@ BAD_GST_ALL_PLUGINS+= \
srt \
srtp \
subenc \
+ svtav1 \
svthevcenc \
switchbin \
+ teletext \
tests \
timecode \
tinyalsa \
@@ -187,21 +237,30 @@ BAD_GST_ALL_PLUGINS+= \
transcode \
transcoder \
ttml \
+ udev \
+ unixfd \
uridownloader \
uvch264 \
+ uvcgadget \
v4l2codecs \
+ va \
videofilters \
videoframe_audiolevel \
videoparsers \
videosignal \
vmnc \
+ voaacenc \
+ voamrwbenc \
vulkan \
wasapi \
+ wasapi2 \
wayland \
webp \
webrtc \
webrtcdsp \
+ wic \
wildmidi \
+ win32ipc \
winks \
winscreencap \
x265 \
@@ -215,6 +274,8 @@ GOOD_GST_ALL_PLUGINS+= \
aalib \
adaptivedemux2 \
alpha \
+ amrnb \
+ amrwbdec \
apetag \
audiofx \
audioparsers \
@@ -263,6 +324,7 @@ GOOD_GST_ALL_PLUGINS+= \
png \
pulse \
qt5 \
+ qt6 \
replaygain \
rtp \
rtpmanager \
@@ -295,8 +357,6 @@ GOOD_GST_ENABLED_PLUGINS?=
UGLY_GST_ALL_PLUGINS+= \
a52dec \
- amrnb \
- amrwbdec \
asfdemux \
cdio \
dvdlpcmdec \
diff --git a/multimedia/gstreamer1-plugins/distinfo b/multimedia/gstreamer1-plugins/distinfo
index 54593ded3c4a..866d46797b37 100644
--- a/multimedia/gstreamer1-plugins/distinfo
+++ b/multimedia/gstreamer1-plugins/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1709494555
-SHA256 (gst-plugins-base-1.22.10.tar.xz) = 843a3a2da28e1ee6aeea56dd2be9bffcc3b4bbcd0f974eba4abfc3aa31f0399c
-SIZE (gst-plugins-base-1.22.10.tar.xz) = 2371240
-SHA256 (gst-plugins-bad-1.22.10.tar.xz) = dabcd60c762165bb043eba753d599212514c94684e4db9a2e25484cb6508ebbf
-SIZE (gst-plugins-bad-1.22.10.tar.xz) = 5549660
-SHA256 (gst-plugins-ugly-1.22.10.tar.xz) = cc80a81a22c0b3b31ab7f1b8bf18dda23c72d2791b86cc6264923a68336329ea
-SIZE (gst-plugins-ugly-1.22.10.tar.xz) = 255832
-SHA256 (gst-plugins-good-1.22.10.tar.xz) = f748feae922cad62f20102a84ade8f42b78e1e44a34866aa3ea766f9172e1c7f
-SIZE (gst-plugins-good-1.22.10.tar.xz) = 2840828
+TIMESTAMP = 1726789410
+SHA256 (gst-plugins-base-1.24.8.tar.xz) = 10fb31743750ccd498d3933e8aaecda563ebc65596a6ab875b47ee936e4b9599
+SIZE (gst-plugins-base-1.24.8.tar.xz) = 2439740
+SHA256 (gst-plugins-bad-1.24.8.tar.xz) = 35ad70de3d7cbca3089f33bb77c45750daad2ae93d79827fdbb469fa8aba84eb
+SIZE (gst-plugins-bad-1.24.8.tar.xz) = 7069792
+SHA256 (gst-plugins-ugly-1.24.8.tar.xz) = 3dfc12bf0b766682b7d6e1e29a404b55e2375ba172d11900179738ae89b7a2d5
+SIZE (gst-plugins-ugly-1.24.8.tar.xz) = 227100
+SHA256 (gst-plugins-good-1.24.8.tar.xz) = 613a20f03bd4544b52f10f6ceb4e0fffd25eff15bf338ab8b12b971982eb0153
+SIZE (gst-plugins-good-1.24.8.tar.xz) = 2924936
diff --git a/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c b/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c
index 6d0fa67b9a28..2e9cf97604d8 100644
--- a/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c
+++ b/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c
@@ -1,6 +1,6 @@
---- ext/cdparanoia/gstcdparanoiasrc.c.orig 2009-08-09 17:16:48.000000000 -0400
-+++ ext/cdparanoia/gstcdparanoiasrc.c 2009-08-09 17:17:38.000000000 -0400
-@@ -264,6 +264,7 @@ gst_cd_paranoia_src_open (GstCddaBaseSrc
+--- ext/cdparanoia/gstcdparanoiasrc.c.orig 2024-08-21 11:25:15 UTC
++++ ext/cdparanoia/gstcdparanoiasrc.c
+@@ -259,6 +259,7 @@ gst_cd_paranoia_src_open (GstAudioCdSrc * audiocdsrc,
GST_INFO_OBJECT (src, "search overlap set to %u", src->search_overlap);
}
@@ -8,7 +8,7 @@
cache_size = src->cache_size;
if (cache_size == -1) {
/* if paranoia mode is low (the default), assume we're doing playback */
-@@ -274,6 +275,7 @@ gst_cd_paranoia_src_open (GstCddaBaseSrc
+@@ -269,6 +270,7 @@ gst_cd_paranoia_src_open (GstAudioCdSrc * audiocdsrc,
}
paranoia_cachemodel_size (src->p, cache_size);
GST_INFO_OBJECT (src, "set cachemodel size to %u", cache_size);
diff --git a/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_meson.build b/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_meson.build
index e350413856b0..590f2b959401 100644
--- a/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_meson.build
@@ -1,6 +1,6 @@
---- ext/cdparanoia/meson.build.orig 2023-01-23 19:29:34 UTC
+--- ext/cdparanoia/meson.build.orig 2024-08-21 11:25:15 UTC
+++ ext/cdparanoia/meson.build
-@@ -42,7 +42,7 @@ if cdparanoia_found
+@@ -43,7 +43,7 @@ if cdparanoia_found
['gstcdparanoiasrc.c'],
include_directories: [configinc, libsinc],
c_args : gst_plugins_base_args + extra_args,
diff --git a/multimedia/gstreamer1-plugins/files/patch-ext_gl_meson.build b/multimedia/gstreamer1-plugins/files/patch-ext_gl_meson.build
index 92e0bdc7bd5b..a579d1d275f3 100644
--- a/multimedia/gstreamer1-plugins/files/patch-ext_gl_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-ext_gl_meson.build
@@ -1,6 +1,6 @@
---- ext/gl/meson.build.orig 2022-06-15 22:36:22 UTC
+--- ext/gl/meson.build.orig 2024-08-21 11:25:15 UTC
+++ ext/gl/meson.build
-@@ -116,10 +116,6 @@ if bcm_host_dep.found()
+@@ -114,10 +114,6 @@ endif
optional_deps += bcm_host_dep
endif
@@ -11,7 +11,7 @@
if ['darwin', 'ios'].contains(host_system)
if not have_objc
error('No ObjC compiler found')
-@@ -146,7 +142,7 @@ gstopengl = library('gstopengl',
+@@ -144,7 +140,7 @@ gstopengl = library('gstopengl',
objc_args : gst_plugins_base_args + gl_objc_args + extra_c_args,
link_args : noseh_link_args,
include_directories : [configinc],
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_allocators_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_allocators_meson.build
index 83363c686d6e..fc9b2843bf37 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_allocators_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_allocators_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/allocators/meson.build.orig 2022-09-06 20:56:00 UTC
+--- gst-libs/gst/allocators/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/allocators/meson.build
@@ -1,3 +1,4 @@
+if get_option('allocators').enabled()
gst_allocators_headers = files([
'allocators.h',
'allocators-prelude.h',
-@@ -58,3 +59,4 @@ allocators_dep = declare_dependency(link_with: gstallo
+@@ -85,3 +86,4 @@ meson.override_dependency('gstreamer-allocators-1.0',
sources : allocators_gen_sources)
meson.override_dependency('gstreamer-allocators-1.0', allocators_dep)
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_app_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_app_meson.build
index 16265f7ae6a4..a554c9fffb14 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_app_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_app_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/app/meson.build.orig 2022-09-06 20:56:57 UTC
+--- gst-libs/gst/app/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/app/meson.build
@@ -1,3 +1,4 @@
+if get_option('app').enabled()
- app_sources = files(['gstappsrc.c', 'gstappsink.c'])
+ app_sources = files(['gstappsrc.c', 'gstappsink.c', 'gstapputils.c'])
app_mkenum_headers = files([
-@@ -68,3 +69,4 @@ app_dep = declare_dependency(link_with: gstapp,
+@@ -69,3 +70,4 @@ meson.override_dependency(pkg_name, app_dep)
sources : app_gen_sources)
meson.override_dependency(pkg_name, app_dep)
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_audio_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_audio_meson.build
index 8f0ce22916af..c289de4320a4 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_audio_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_audio_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/audio/meson.build.orig 2022-09-06 20:57:46 UTC
+--- gst-libs/gst/audio/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/audio/meson.build
@@ -1,3 +1,4 @@
+if get_option('audio').enabled()
audio_src = files([
'audio.c',
'audio-buffer.c',
-@@ -189,3 +190,4 @@ audio_dep = declare_dependency(link_with : gstaudio,
+@@ -194,3 +195,4 @@ meson.override_dependency(pkg_name, audio_dep)
sources : audio_gen_sources)
meson.override_dependency(pkg_name, audio_dep)
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_gl_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_gl_meson.build
index 4b0563f6ae23..a703339e63bf 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_gl_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_gl_meson.build
@@ -1,6 +1,6 @@
---- gst-libs/gst/gl/meson.build.orig 2023-01-23 19:29:34 UTC
+--- gst-libs/gst/gl/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/gl/meson.build
-@@ -555,11 +555,6 @@ if need_platform_egl != 'no'
+@@ -566,11 +566,6 @@ if need_platform_egl != 'no'
gl_platform_deps += egl_dep
glconf.set('GST_GL_HAVE_PLATFORM_EGL', 1)
@@ -12,7 +12,7 @@
egl_includes = '''
#include <EGL/egl.h>
#include <EGL/eglext.h>
-@@ -1060,7 +1055,7 @@ if build_gstgl
+@@ -1103,7 +1098,7 @@ if build_gstgl
soversion : soversion,
darwin_versions : osxversion,
install : true,
@@ -21,16 +21,16 @@
gl_lib_deps, gl_platform_deps, gl_winsys_deps, gl_misc_deps],
# don't confuse EGL/egl.h with gst-libs/gl/egl/egl.h on case-insensitive file systems
implicit_include_directories : false)
-@@ -1074,7 +1069,7 @@ if build_gstgl
+@@ -1120,7 +1115,7 @@ if build_gstgl
library_def = {'lib': gstgl}
pkg_name = 'gstreamer-gl-1.0'
pkgconfig.generate(gstgl,
- libraries : [gstvideo, gst_base_dep, gst_dep],
+ libraries : [library('gstvideo-@0@'.format(api_version)), gst_base_dep, gst_dep],
- variables : pkgconfig_variables + pkgconfig_gl_variables,
+ variables : pkgconfig_variables + pkgconfig_gl_variables + pkgconfig_installed_variables,
uninstalled_variables : pkgconfig_gl_variables,
subdirs : pkgconfig_subdirs,
-@@ -1106,7 +1101,7 @@ if build_gstgl
+@@ -1152,7 +1147,7 @@ if build_gstgl
'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0'],
'install' : true,
'extra_args' : gir_init_section + ['--c-include=gst/gl/gl.h'],
@@ -39,7 +39,7 @@
}
library_def += {'gir': [gir]}
if not static_build
-@@ -1118,7 +1113,7 @@ if build_gstgl
+@@ -1166,7 +1161,7 @@ if build_gstgl
gstgl_dep = declare_dependency(link_with : gstgl,
include_directories : [libsinc, compat_includes],
sources: gen_sources,
@@ -48,7 +48,7 @@
variables: pkgconfig_gl_variables)
gstglproto_dep = declare_dependency(
dependencies : [gstgl_dep] + gl_lib_deps,
-@@ -1149,7 +1144,7 @@ if build_gstgl
+@@ -1197,7 +1192,7 @@ if build_gstgl
'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0'],
'install' : true,
'extra_args' : gir_init_section + ['--c-include=gst/gl/x11/x11.h'],
@@ -57,7 +57,7 @@
}
gir_dict = gir + {'includes': gir['includes'] + ['GstGL-1.0']}
gst_libraries += [[pkg_name, {'gir': gir_dict}]]
-@@ -1185,7 +1180,7 @@ if build_gstgl
+@@ -1234,7 +1229,7 @@ if build_gstgl
'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0'],
'install' : true,
'extra_args' : gir_init_section + ['--c-include=gst/gl/wayland/wayland.h'],
@@ -66,7 +66,7 @@
}
gir_dict = gir + {'includes': gir['includes'] + ['GstGL-1.0']}
-@@ -1221,7 +1216,7 @@ if build_gstgl
+@@ -1271,7 +1266,7 @@ if build_gstgl
'includes' : ['Gst-1.0', 'GstBase-1.0', 'GstVideo-1.0'],
'install' : true,
'extra_args' : gir_init_section + ['--c-include=gst/gl/egl/egl.h'],
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_pbutils_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_pbutils_meson.build
index b44119ba0013..65a1065215dd 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_pbutils_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_pbutils_meson.build
@@ -1,15 +1,12 @@
---- gst-libs/gst/pbutils/meson.build.orig 2022-09-06 20:58:54 UTC
+--- gst-libs/gst/pbutils/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/pbutils/meson.build
@@ -1,3 +1,4 @@
+if get_option('pbutils').enabled()
pbutils_sources = files([
'gstpluginsbaseversion.c',
'pbutils.c',
-@@ -98,4 +99,5 @@ pbutils_dep = declare_dependency(link_with : pbutils,
- dependencies : gstpbutils_deps,
+@@ -100,3 +101,4 @@ meson.override_dependency(pkg_name, pbutils_dep)
sources : pbutils_gen_sources)
--meson.override_dependency(pkg_name, pbutils_dep)
-\ No newline at end of file
-+meson.override_dependency(pkg_name, pbutils_dep)
+ meson.override_dependency(pkg_name, pbutils_dep)
+endif
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtp_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtp_meson.build
index 4c7ffee35a97..cdde174c17cb 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtp_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtp_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/rtp/meson.build.orig 2022-09-06 21:07:44 UTC
+--- gst-libs/gst/rtp/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/rtp/meson.build
@@ -1,3 +1,4 @@
+if get_option('rtp').enabled()
rtp_sources = files([
'gstrtpbuffer.c',
'gstrtcpbuffer.c',
-@@ -85,3 +86,4 @@ rtp_dep = declare_dependency(link_with : gst_rtp,
+@@ -86,3 +87,4 @@ meson.override_dependency(pkg_name, rtp_dep)
sources : rtp_gen_sources)
meson.override_dependency(pkg_name, rtp_dep)
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtsp_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtsp_meson.build
index 87113a89c97d..8a68ccc13310 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtsp_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_rtsp_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/rtsp/meson.build.orig 2022-09-06 21:08:11 UTC
+--- gst-libs/gst/rtsp/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/rtsp/meson.build
@@ -1,3 +1,4 @@
+if get_option('rtsp').enabled()
rtsp_sources = files([
'gstrtsptransport.c',
'gstrtspurl.c',
-@@ -90,3 +91,4 @@ rtsp_dep = declare_dependency(link_with : gst_rtsp,
+@@ -91,3 +92,4 @@ meson.override_dependency(pkg_name, rtsp_dep)
sources : rtsp_gen_sources)
meson.override_dependency(pkg_name, rtsp_dep)
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_sdp_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_sdp_meson.build
index 8b452b9c5ce4..7a7d013b61e9 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_sdp_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_sdp_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/sdp/meson.build.orig 2022-09-06 21:08:38 UTC
+--- gst-libs/gst/sdp/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/sdp/meson.build
@@ -1,3 +1,4 @@
+if get_option('sdp').enabled()
gst_sdp_headers = files([
'sdp.h',
'sdp-prelude.h',
-@@ -60,3 +61,4 @@ sdp_dep = declare_dependency(link_with: gstsdp,
+@@ -61,3 +62,4 @@ meson.override_dependency(pkg_name, sdp_dep)
sources: sdp_gen_sources)
meson.override_dependency(pkg_name, sdp_dep)
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_tag_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_tag_meson.build
index 25ca4ed6c521..9f9b122a6839 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_tag_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_tag_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/tag/meson.build.orig 2022-09-06 21:09:11 UTC
+--- gst-libs/gst/tag/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/tag/meson.build
@@ -1,3 +1,4 @@
+if get_option('tag').enabled()
tag_sources = files([
'gstvorbistag.c',
'gstid3tag.c',
-@@ -142,3 +143,4 @@ executable('mklicensestables', 'mklicensestables.c',
+@@ -143,3 +144,4 @@ gst_tag_dir = meson.current_source_dir()
install : false)
gst_tag_dir = meson.current_source_dir()
diff --git a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_video_meson.build b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_video_meson.build
index 5828602535fe..1c75a7c3bdc6 100644
--- a/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_video_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-gst-libs_gst_video_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/video/meson.build.orig 2023-01-23 19:29:34 UTC
+--- gst-libs/gst/video/meson.build.orig 2024-08-21 11:25:15 UTC
+++ gst-libs/gst/video/meson.build
@@ -1,3 +1,4 @@
+if get_option('video').enabled()
video_sources = files([
'colorbalance.c',
'colorbalancechannel.c',
-@@ -183,3 +184,4 @@ meson.override_dependency(pkg_name, video_dep)
+@@ -186,3 +187,4 @@ meson.override_dependency(pkg_name, video_dep)
sources : video_gen_sources)
meson.override_dependency(pkg_name, video_dep)
diff --git a/multimedia/gstreamer1-plugins/files/patch-meson.build b/multimedia/gstreamer1-plugins/files/patch-meson.build
index 3c494fcde987..a7c122bbb186 100644
--- a/multimedia/gstreamer1-plugins/files/patch-meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-meson.build
@@ -1,4 +1,4 @@
---- meson.build.orig 2023-01-23 19:29:34 UTC
+--- meson.build.orig 2024-08-21 11:25:15 UTC
+++ meson.build
@@ -17,6 +17,8 @@ gst_version_is_dev = gst_version_minor % 2 == 1 and gs
gst_version_is_stable = gst_version_minor.is_even()
@@ -9,7 +9,7 @@
host_system = host_machine.system()
have_cxx = add_languages('cpp', native: false, required: false)
-@@ -295,8 +297,10 @@ core_conf.set_quoted('DEFAULT_VIDEOSINK', 'autovideosi
+@@ -293,8 +295,10 @@ core_conf.set_quoted('DEFAULT_VIDEOSINK', 'autovideosi
# FIXME: These should be configure options
core_conf.set_quoted('DEFAULT_VIDEOSINK', 'autovideosink')
@@ -21,7 +21,7 @@
# Set whether the audioresampling method should be detected at runtime
core_conf.set('AUDIORESAMPLE_FORMAT_' + get_option('audioresample_format').to_upper(), true)
-@@ -489,6 +493,7 @@ pkgconfig_plugins_base_libs_variables = [
+@@ -505,6 +509,7 @@ pkgconfig_plugins_base_libs_variables = [
'libraries=' + ' '.join(base_libraries),
]
@@ -29,7 +29,7 @@
pkgconfig.generate(
libraries : [gst_dep],
variables : pkgconfig_variables + pkgconfig_plugins_base_libs_variables,
-@@ -502,6 +507,7 @@ run_command(meson_pkg_config_file_fixup_script,
+@@ -518,6 +523,7 @@ run_command(meson_pkg_config_file_fixup_script,
run_command(meson_pkg_config_file_fixup_script,
'gstreamer-plugins-base-1.0', 'libraries',
check: true)
diff --git a/multimedia/gstreamer1-plugins/files/patch-tools_meson.build b/multimedia/gstreamer1-plugins/files/patch-tools_meson.build
index 6d1c193da58c..150234dd99db 100644
--- a/multimedia/gstreamer1-plugins/files/patch-tools_meson.build
+++ b/multimedia/gstreamer1-plugins/files/patch-tools_meson.build
@@ -1,4 +1,4 @@
---- tools/meson.build.orig 2023-01-23 19:29:34 UTC
+--- tools/meson.build.orig 2024-08-21 11:25:15 UTC
+++ tools/meson.build
@@ -1,3 +1,4 @@
+if not get_option('tools').disabled()
@@ -9,7 +9,7 @@
},
}
--if not get_option('tools').disabled()
+-if not get_option('tools').disabled() and not static_build
foreach tool, data: gst_tools
exe_name = '@0@-@1@'.format(tool, api_version)
executable(exe_name,
diff --git a/multimedia/gstreamer1-plugins/pkg-plist b/multimedia/gstreamer1-plugins/pkg-plist
index a4928b0517c2..c929da4bed5a 100644
--- a/multimedia/gstreamer1-plugins/pkg-plist
+++ b/multimedia/gstreamer1-plugins/pkg-plist
@@ -4,8 +4,10 @@ bin/gst-play-%%VERSION%%
include/gstreamer-%%VERSION%%/gst/allocators/allocators-prelude.h
include/gstreamer-%%VERSION%%/gst/allocators/allocators.h
include/gstreamer-%%VERSION%%/gst/allocators/gstdmabuf.h
+include/gstreamer-%%VERSION%%/gst/allocators/gstdrmdumb.h
include/gstreamer-%%VERSION%%/gst/allocators/gstfdmemory.h
include/gstreamer-%%VERSION%%/gst/allocators/gstphysmemory.h
+include/gstreamer-%%VERSION%%/gst/allocators/gstshmallocator.h
include/gstreamer-%%VERSION%%/gst/app/app-enumtypes.h
include/gstreamer-%%VERSION%%/gst/app/app-prelude.h
include/gstreamer-%%VERSION%%/gst/app/app.h
@@ -36,6 +38,8 @@ include/gstreamer-%%VERSION%%/gst/audio/gstaudioringbuffer.h
include/gstreamer-%%VERSION%%/gst/audio/gstaudiosink.h
include/gstreamer-%%VERSION%%/gst/audio/gstaudiosrc.h
include/gstreamer-%%VERSION%%/gst/audio/gstaudiostreamalign.h
+include/gstreamer-%%VERSION%%/gst/audio/gstdsd.h
+include/gstreamer-%%VERSION%%/gst/audio/gstdsdformat.h
include/gstreamer-%%VERSION%%/gst/audio/streamvolume.h
include/gstreamer-%%VERSION%%/gst/fft/fft-prelude.h
include/gstreamer-%%VERSION%%/gst/fft/fft.h
@@ -120,6 +124,7 @@ include/gstreamer-%%VERSION%%/gst/video/video-event.h
include/gstreamer-%%VERSION%%/gst/video/video-format.h
include/gstreamer-%%VERSION%%/gst/video/video-frame.h
include/gstreamer-%%VERSION%%/gst/video/video-hdr.h
+include/gstreamer-%%VERSION%%/gst/video/video-info-dma.h
include/gstreamer-%%VERSION%%/gst/video/video-info.h
include/gstreamer-%%VERSION%%/gst/video/video-multiview.h
include/gstreamer-%%VERSION%%/gst/video/video-overlay-composition.h
@@ -148,7 +153,9 @@ lib/gstreamer-%%VERSION%%/libgstaudiomixer.so
lib/gstreamer-%%VERSION%%/libgstaudiorate.so
lib/gstreamer-%%VERSION%%/libgstaudioresample.so
lib/gstreamer-%%VERSION%%/libgstaudiotestsrc.so
+lib/gstreamer-%%VERSION%%/libgstbasedebug.so
lib/gstreamer-%%VERSION%%/libgstcompositor.so
+lib/gstreamer-%%VERSION%%/libgstdsd.so
lib/gstreamer-%%VERSION%%/libgstencoding.so
lib/gstreamer-%%VERSION%%/libgstgio.so
lib/gstreamer-%%VERSION%%/libgstoverlaycomposition.so
@@ -207,9 +214,6 @@ libdata/pkgconfig/gstreamer-rtsp-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-sdp-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-tag-%%VERSION%%.pc
libdata/pkgconfig/gstreamer-video-%%VERSION%%.pc
-share/man/man1/gst-device-monitor-%%VERSION%%.1.gz
-share/man/man1/gst-discoverer-%%VERSION%%.1.gz
-share/man/man1/gst-play-%%VERSION%%.1.gz
share/gir-%%VERSION%%/GstAllocators-%%VERSION%%.gir
share/gir-%%VERSION%%/GstApp-%%VERSION%%.gir
share/gir-%%VERSION%%/GstAudio-%%VERSION%%.gir
@@ -260,3 +264,6 @@ share/locale/tr/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
share/locale/uk/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
share/locale/vi/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
share/locale/zh_CN/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/man/man1/gst-device-monitor-%%VERSION%%.1.gz
+share/man/man1/gst-discoverer-%%VERSION%%.1.gz
+share/man/man1/gst-play-%%VERSION%%.1.gz
diff --git a/multimedia/gstreamer1-rtsp-server/Makefile b/multimedia/gstreamer1-rtsp-server/Makefile
index f01a54f185f0..27db8a3f41ab 100644
--- a/multimedia/gstreamer1-rtsp-server/Makefile
+++ b/multimedia/gstreamer1-rtsp-server/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gstreamer1-rtsp-server
-PORTVERSION= 1.22.4
+PORTVERSION= ${_GST_VERSION}
CATEGORIES= multimedia
MASTER_SITES= https://gstreamer.freedesktop.org/src/gst-rtsp-server/
DISTNAME= gst-rtsp-server-${PORTVERSION}
@@ -12,13 +12,15 @@ LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= bison gnome gstreamer libtool meson ninja pathfix pkgconfig python:build tar:xz
-USE_LDCONFIG= yes
USE_GNOME= glib20 introspection:build
-USE_GSTREAMER= good bad
+USE_GSTREAMER= bad good
+USE_LDCONFIG= yes
+
MESON_ARGS= -Ddoc=disabled
BINARY_ALIAS= python3=${PYTHON_VERSION}
-PLIST_SUB= VERSION=1.0 SOVERSION=0.2204.0
+PLIST_SUB= SOVERSION=${_GST_SOVERSION} \
+ VERSION=${_GST_LIB_VER}
.include <bsd.port.mk>
diff --git a/multimedia/gstreamer1-rtsp-server/distinfo b/multimedia/gstreamer1-rtsp-server/distinfo
index 948f697b0411..fcf94e02d354 100644
--- a/multimedia/gstreamer1-rtsp-server/distinfo
+++ b/multimedia/gstreamer1-rtsp-server/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687416226
-SHA256 (gst-rtsp-server-1.22.4.tar.xz) = 4666612d7a99c60dcd6f0bdba1b7a74d2562a0501b2a3e0576f0916bf1d8811b
-SIZE (gst-rtsp-server-1.22.4.tar.xz) = 272712
+TIMESTAMP = 1726789451
+SHA256 (gst-rtsp-server-1.24.8.tar.xz) = 84ed2b34b8f581a418d8ab8eff7657635fcf83c8960f27065c6c47e52836ed02
+SIZE (gst-rtsp-server-1.24.8.tar.xz) = 283120
diff --git a/multimedia/gstreamer1-vaapi/Makefile b/multimedia/gstreamer1-vaapi/Makefile
index bbc6ef7459b3..a64e774be3e7 100644
--- a/multimedia/gstreamer1-vaapi/Makefile
+++ b/multimedia/gstreamer1-vaapi/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gstreamer1-vaapi
-PORTVERSION= 1.22.4
+PORTVERSION= ${_GST_VERSION}
CATEGORIES= multimedia
MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer-vaapi/
DISTNAME= gstreamer-vaapi-${PORTVERSION}
@@ -14,11 +14,12 @@ LIB_DEPENDS= libva.so:multimedia/libva
USES= bison compiler:c11 gettext-runtime gl gnome gstreamer libtool \
meson ninja pkgconfig python:build tar:xz xorg
-USE_LDCONFIG= yes
USE_GNOME= glib20
USE_GSTREAMER= bad
USE_GL= gl
+USE_LDCONFIG= yes
USE_XORG= x11 xrandr xrender xorgproto
+
MESON_ARGS= -Ddoc=disabled -Dexamples=disabled
BINARY_ALIAS= python3=${PYTHON_VERSION}
diff --git a/multimedia/gstreamer1-vaapi/distinfo b/multimedia/gstreamer1-vaapi/distinfo
index dfcc671b731c..966fb5ebbcdb 100644
--- a/multimedia/gstreamer1-vaapi/distinfo
+++ b/multimedia/gstreamer1-vaapi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687416252
-SHA256 (gstreamer-vaapi-1.22.4.tar.xz) = 967b8e353d82d0081a68dc53639b25d9fb4ca89bfa1e061403e0cd7d23585ba6
-SIZE (gstreamer-vaapi-1.22.4.tar.xz) = 545404
+TIMESTAMP = 1726789477
+SHA256 (gstreamer-vaapi-1.24.8.tar.xz) = c8f015eee7a4d989383e0689a099bfabec95e55159ee875cc4eb9ff8d816dccb
+SIZE (gstreamer-vaapi-1.24.8.tar.xz) = 553572
diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile
index 2222a67ed1dd..cb387df4f7d1 100644
--- a/multimedia/gstreamer1/Makefile
+++ b/multimedia/gstreamer1/Makefile
@@ -1,5 +1,5 @@
PORTNAME= gstreamer
-PORTVERSION= 1.22.10
+PORTVERSION= ${_GST_VERSION}
CATEGORIES= multimedia
MASTER_SITES= https://gstreamer.freedesktop.org/src/gstreamer/
PKGNAMESUFFIX= 1
@@ -11,38 +11,53 @@ WWW= https://gstreamer.freedesktop.org/
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= bison libtool gnome meson ninja pkgconfig python:build shebangfix tar:xz
+LIB_DEPENDS= libunwind.so:devel/libunwind
+
+USES= bison libtool gnome gstreamer:_internal meson ninja \
+ pkgconfig python:build shebangfix tar:xz
USE_GNOME= glib20 introspection:build
+USE_GSTREAMER= #
+USE_LDCONFIG= yes
-LIB_DEPENDS= libunwind.so:devel/libunwind
+SHEBANG_FILES= docs/gst-plugins-doc-cache-generator.py \
+ gst/parse/get_flex_version.py \
+ scripts/extract-release-date-from-doap-file.py \
-CONFIGURE_ARGS= -D tests=disabled \
- -D examples=disabled \
- -D dbghelp=disabled \
+MESON_ARGS= -D dbghelp=disabled \
-D doc=disabled \
- -D libdw=disabled
-PLIST_SUB= VERSION=${GST10_VERSION} \
- SOVERSION=0.2210.0
-
-USE_LDCONFIG= yes
-GST10_VERSION= 1.0
+ -D examples=disabled \
+ -D libdw=disabled \
+ -D tests=disabled
PORTSCOUT= limitw:1,even
-OPTIONS_SUB= yes
-OPTIONS_DEFINE= BASH NLS
-OPTIONS_DEFAULT=BASH
+PLIST_SUB= SOVERSION=${_GST_SOVERSION} \
+ VERSION=${_GST_LIB_VER}
+
+OPTIONS_DEFINE= BASH NLS
+OPTIONS_DEFAULT= BASH
+# The PTP helper requires Rust since GStreamer 1.24.0, so only enable it on
+# platforms that have Rust support.
+.for arch in aarch64 amd64 armv7 i386 powerpc64 powerpc64le powerpc risc64
+OPTIONS_DEFINE_${arch}= PTP
+OPTIONS_DEFAULT_${arch}=PTP
+.endfor
+OPTIONS_SUB= yes
BASH_BUILD_DEPENDS= bash-completion>0:shells/bash-completion
BASH_MESON_ENABLED= bash-completion
-NLS_USES= gettext
-NLS_MESON_ENABLED= nls
+NLS_USES= gettext
+NLS_MESON_ENABLED= nls
+
+PTP_DESC= Precision Time Protocol support
+PTP_BUILD_DEPENDS= rustc:lang/rust
+PTP_MESON_ENABLED= ptp-helper
+
+.include <bsd.port.options.mk>
-SHEBANG_FILES= gst/parse/get_flex_version.py \
- scripts/extract-release-date-from-doap-file.py \
- docs/gst-plugins-doc-cache-generator.py
-python_OLD_CMD= "/usr/bin/env python3"
-python_CMD= ${SETENV} ${PYTHON_VERSION}
+.if ${ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64}
+MESON_ARGS+= -D ptp-helper=disabled
+.endif
.include <bsd.port.mk>
diff --git a/multimedia/gstreamer1/distinfo b/multimedia/gstreamer1/distinfo
index a4daa95cef24..13edfb319e7f 100644
--- a/multimedia/gstreamer1/distinfo
+++ b/multimedia/gstreamer1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709494424
-SHA256 (gstreamer-1.22.10.tar.xz) = 969aaef396f252ce925132a4be2aa004e0320f5c1baf0acaaae09c544a6759f4
-SIZE (gstreamer-1.22.10.tar.xz) = 1799780
+TIMESTAMP = 1726789379
+SHA256 (gstreamer-1.24.8.tar.xz) = b807dbf36c5d2b3ce1c604133ed0c737350f9523ce4d8d644a1177c5f9d6ded3
+SIZE (gstreamer-1.24.8.tar.xz) = 1861416
diff --git a/multimedia/gstreamer1/pkg-plist b/multimedia/gstreamer1/pkg-plist
index f49a63175fd5..83f5fb45fc9b 100644
--- a/multimedia/gstreamer1/pkg-plist
+++ b/multimedia/gstreamer1/pkg-plist
@@ -47,6 +47,7 @@ include/gstreamer-%%VERSION%%/gst/gstbuffer.h
include/gstreamer-%%VERSION%%/gst/gstbufferlist.h
include/gstreamer-%%VERSION%%/gst/gstbufferpool.h
include/gstreamer-%%VERSION%%/gst/gstbus.h
+include/gstreamer-%%VERSION%%/gst/gstbytearrayinterface.h
include/gstreamer-%%VERSION%%/gst/gstcaps.h
include/gstreamer-%%VERSION%%/gst/gstcapsfeatures.h
include/gstreamer-%%VERSION%%/gst/gstchildproxy.h
@@ -155,7 +156,7 @@ libdata/pkgconfig/gstreamer-net-%%VERSION%%.pc
libexec/gstreamer-%%VERSION%%/gst-hotdoc-plugins-scanner
libexec/gstreamer-%%VERSION%%/gst-plugin-scanner
libexec/gstreamer-%%VERSION%%/gst-plugins-doc-cache-generator
-@(root,wheel,4755) libexec/gstreamer-%%VERSION%%/gst-ptp-helper
+%%PTP%%@(root,wheel,4755) libexec/gstreamer-%%VERSION%%/gst-ptp-helper
share/man/man1/gst-inspect-%%VERSION%%.1.gz
share/man/man1/gst-launch-%%VERSION%%.1.gz
share/man/man1/gst-stats-%%VERSION%%.1.gz
@@ -198,6 +199,7 @@ share/gir-%%VERSION%%/GstNet-%%VERSION%%.gir
%%NLS%%share/locale/ka/LC_MESSAGES/gstreamer-%%VERSION%%.mo
%%NLS%%share/locale/ko/LC_MESSAGES/gstreamer-%%VERSION%%.mo
%%NLS%%share/locale/lt/LC_MESSAGES/gstreamer-%%VERSION%%.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/gstreamer-%%VERSION%%.mo
%%NLS%%share/locale/nb/LC_MESSAGES/gstreamer-%%VERSION%%.mo
%%NLS%%share/locale/nl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
%%NLS%%share/locale/pl/LC_MESSAGES/gstreamer-%%VERSION%%.mo
diff --git a/net/Makefile b/net/Makefile
index e4b5bd5e468b..f7376242a767 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -223,6 +223,7 @@
SUBDIR += gspoof
SUBDIR += gssdp
SUBDIR += gssdp14
+ SUBDIR += gstreamer1-plugins-sctp
SUBDIR += gstreamer1-plugins-srtp
SUBDIR += gtk-vnc
SUBDIR += guacamole-server
diff --git a/net/gstreamer1-plugins-sctp/Makefile b/net/gstreamer1-plugins-sctp/Makefile
new file mode 100644
index 000000000000..9b5cbf04eb3e
--- /dev/null
+++ b/net/gstreamer1-plugins-sctp/Makefile
@@ -0,0 +1,13 @@
+PORTREVISION= 0
+CATEGORIES= net
+
+COMMENT= GStreamer sctp plugin
+
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
+
+PLIST= ${.CURDIR}/pkg-plist
+
+DIST= bad
+GST_PLUGIN= sctp
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net/gstreamer1-plugins-sctp/pkg-plist b/net/gstreamer1-plugins-sctp/pkg-plist
new file mode 100644
index 000000000000..7a6ebabacdf9
--- /dev/null
+++ b/net/gstreamer1-plugins-sctp/pkg-plist
@@ -0,0 +1,8 @@
+include/gstreamer-%%VERSION%%/gst/sctp/sctp-prelude.h
+include/gstreamer-%%VERSION%%/gst/sctp/sctpreceivemeta.h
+include/gstreamer-%%VERSION%%/gst/sctp/sctpsendmeta.h
+lib/gstreamer-%%VERSION%%/libgstsctp.so
+lib/libgstsctp-%%VERSION%%.so
+lib/libgstsctp-%%VERSION%%.so.0
+lib/libgstsctp-%%VERSION%%.so.%%SOVERSION%%
+libdata/pkgconfig/gstreamer-sctp-%%VERSION%%.pc
diff --git a/net/gstreamer1-plugins-srtp/Makefile b/net/gstreamer1-plugins-srtp/Makefile
index 6ddaaecc66d4..639076e72ce6 100644
--- a/net/gstreamer1-plugins-srtp/Makefile
+++ b/net/gstreamer1-plugins-srtp/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= net
COMMENT= GStreamer srtp plugin
-GST_PLUGIN= srtp
-DIST= bad
+LIB_DEPENDS= libsrtp2.so:net/libsrtp2
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS= libsrtp2.so:net/libsrtp2
+DIST= bad
+GST_PLUGIN= srtp
.include "${MASTERDIR}/Makefile"
diff --git a/security/gstreamer1-plugins-dtls/Makefile b/security/gstreamer1-plugins-dtls/Makefile
index 91d5dfecc8ac..772af6f5db7f 100644
--- a/security/gstreamer1-plugins-dtls/Makefile
+++ b/security/gstreamer1-plugins-dtls/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= security
COMMENT= GStreamer Datagram TLS (dtls) plugin
-GST_PLUGIN= dtls
-DIST= bad
+USES= compiler:c11 ssl
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USES= compiler:c11 ssl
+DIST= bad
+GST_PLUGIN= dtls
.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/gstreamer1-plugins-cdio/Makefile b/sysutils/gstreamer1-plugins-cdio/Makefile
index 62d2575db4fb..896df7b3eed2 100644
--- a/sysutils/gstreamer1-plugins-cdio/Makefile
+++ b/sysutils/gstreamer1-plugins-cdio/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= sysutils
COMMENT= GStreamer compact disc input and control library
-GST_PLUGIN= cdio
-DIST= ugly
+LIB_DEPENDS= libcdio.so:sysutils/libcdio
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MESON_ARGS+= -Dgpl=enabled
-PLIST= ${.CURDIR}/pkg-plist
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-LIB_DEPENDS= libcdio.so:sysutils/libcdio
+PLIST= ${.CURDIR}/pkg-plist
-.include "${MASTERDIR}/Makefile"
+DIST= ugly
+GST_PLUGIN= cdio
-MESON_ARGS+= -Dgpl=enabled
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/gstreamer1-plugins-zxing/Makefile b/textproc/gstreamer1-plugins-zxing/Makefile
index 05678c9988c7..d69c4a81d0ab 100644
--- a/textproc/gstreamer1-plugins-zxing/Makefile
+++ b/textproc/gstreamer1-plugins-zxing/Makefile
@@ -5,13 +5,13 @@ COMMENT= GStreamer plugin for QR recognition
LIB_DEPENDS= libZXing.so:textproc/zxing-cpp
-USES+= compiler:c++17-lang
-
-GST_PLUGIN= zxing
-DIST= bad
+USES= compiler:c++17-lang
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
PLIST= ${.CURDIR}/pkg-plist
+DIST= bad
+GST_PLUGIN= zxing
+
.include "${MASTERDIR}/Makefile"
diff --git a/textproc/gstreamer1-plugins-zxing/distinfo b/textproc/gstreamer1-plugins-zxing/distinfo
deleted file mode 100644
index 8d8296c88b34..000000000000
--- a/textproc/gstreamer1-plugins-zxing/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1675876341
-SHA256 (gst-plugins-bad-1.20.5.tar.xz) = f431214b0754d7037adcde93c3195106196588973e5b32dcb24938805f866363
-SIZE (gst-plugins-bad-1.20.5.tar.xz) = 6237720
-SHA256 (7cfc3130a7906c199861d2ef331a07d749a4b769.patch) = 4e30a1899652d46e20ca54cd463f8d41cbd80efd0c686698285e06e01a615fd7
-SIZE (7cfc3130a7906c199861d2ef331a07d749a4b769.patch) = 2574
diff --git a/www/gstreamer1-plugins-neon/Makefile b/www/gstreamer1-plugins-neon/Makefile
index 78c13d1ca918..d0e54f875fc3 100644
--- a/www/gstreamer1-plugins-neon/Makefile
+++ b/www/gstreamer1-plugins-neon/Makefile
@@ -3,13 +3,15 @@ CATEGORIES= www
COMMENT= GStreamer neon http source plugin
-GST_PLUGIN= neon
-DIST= bad
+LIB_DEPENDS= libneon.so:www/neon
+
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+PLIST= ${.CURDIR}/pkg-plist
-PLIST= ${.CURDIR}/pkg-plist
+LIB_DEPENDS= libneon.so:www/neon
-LIB_DEPENDS+= libneon.so:www/neon
+DIST= bad
+GST_PLUGIN= neon
.include "${MASTERDIR}/Makefile"
diff --git a/www/gstreamer1-plugins-srt/Makefile b/www/gstreamer1-plugins-srt/Makefile
index 9b5606ab535c..b1af14dfe770 100644
--- a/www/gstreamer1-plugins-srt/Makefile
+++ b/www/gstreamer1-plugins-srt/Makefile
@@ -3,13 +3,13 @@ CATEGORIES= www
COMMENT= GStreamer Secure Reliable Transport (SRT) plugin
-GST_PLUGIN= srt
-DIST= bad
+LIB_DEPENDS= libsrt.so:www/srt
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-LIB_DEPENDS+= libsrt.so:www/srt
+DIST= bad
+GST_PLUGIN= srt
.include "${MASTERDIR}/Makefile"
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 811b13ecc2cd..2767e6b42ce3 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -24,6 +24,8 @@
SUBDIR += granite7
SUBDIR += gstreamer1-plugins-gtk
SUBDIR += gstreamer1-plugins-pango
+ SUBDIR += gstreamer1-plugins-qt5
+ SUBDIR += gstreamer1-plugins-qt6
SUBDIR += gtk-layer-shell
SUBDIR += gtk-session-lock
SUBDIR += gtk-sharp-beans
diff --git a/x11-toolkits/gstreamer1-plugins-gtk/Makefile b/x11-toolkits/gstreamer1-plugins-gtk/Makefile
index 100695863cd5..16414e35a3dc 100644
--- a/x11-toolkits/gstreamer1-plugins-gtk/Makefile
+++ b/x11-toolkits/gstreamer1-plugins-gtk/Makefile
@@ -1,18 +1,18 @@
-PORTREVISION= 1
+PORTREVISION= 0
CATEGORIES= x11-toolkits
-GST_PLUGIN_SUFFIX= -gtk
COMMENT= GStreamer gtksink plugin
-GST_PLUGIN= gtk3
-DIST= good
+USES= gnome
+USE_GSTREAMER= gl
+USE_GNOME= cairo gdkpixbuf2 gtk30
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USES= gnome
-USE_GSTREAMER= gl
-USE_GNOME= cairo gdkpixbuf2 gtk30
+DIST= good
+GST_PLUGIN= gtk3
+GST_PLUGIN_SUFFIX= -gtk
.include "${MASTERDIR}/Makefile"
diff --git a/x11-toolkits/gstreamer1-plugins-pango/Makefile b/x11-toolkits/gstreamer1-plugins-pango/Makefile
index e9cc158bdf99..6a5da509640f 100644
--- a/x11-toolkits/gstreamer1-plugins-pango/Makefile
+++ b/x11-toolkits/gstreamer1-plugins-pango/Makefile
@@ -3,15 +3,15 @@ CATEGORIES= x11-toolkits
COMMENT= GStreamer pango textoverlay plugin
-GST_PLUGIN= pango
-DIST= base
+USES= xorg
+USE_GNOME= cairo pango
+USE_XORG= x11 xext
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USE_GNOME= cairo pango
-USES= xorg
-USE_XORG= x11 xext
+DIST= base
+GST_PLUGIN= pango
.include "${MASTERDIR}/Makefile"
diff --git a/x11-toolkits/gstreamer1-plugins-qt5/Makefile b/x11-toolkits/gstreamer1-plugins-qt5/Makefile
new file mode 100644
index 000000000000..dc0e71df5121
--- /dev/null
+++ b/x11-toolkits/gstreamer1-plugins-qt5/Makefile
@@ -0,0 +1,27 @@
+PORTREVISION= 0
+CATEGORIES= x11-toolkits
+
+COMMENT= GStreamer Qt5 QML videosink plugin
+
+USES= compiler:c++11-lang qt:5
+USE_GSTREAMER= gl
+USE_QT= core gui declarative \
+ buildtools:build linguisttools:build qmake:build
+
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
+
+PLIST= ${.CURDIR}/pkg-plist
+
+OPTIONS_DEFINE= WAYLAND X11
+OPTIONS_DEFAULT= WAYLAND X11
+
+WAYLAND_USE= QT=wayland
+WAYLAND_MESON_ENABLED= qt-wayland
+
+X11_USE= QT=x11extras
+X11_MESON_ENABLED= qt-x11
+
+DIST= good
+GST_PLUGIN= qt5
+
+.include "${MASTERDIR}/Makefile"
diff --git a/graphics/gstreamer1-plugins-qt/pkg-plist b/x11-toolkits/gstreamer1-plugins-qt5/pkg-plist
index beefc5f2b344..beefc5f2b344 100644
--- a/graphics/gstreamer1-plugins-qt/pkg-plist
+++ b/x11-toolkits/gstreamer1-plugins-qt5/pkg-plist
diff --git a/x11-toolkits/gstreamer1-plugins-qt6/Makefile b/x11-toolkits/gstreamer1-plugins-qt6/Makefile
new file mode 100644
index 000000000000..d00981410200
--- /dev/null
+++ b/x11-toolkits/gstreamer1-plugins-qt6/Makefile
@@ -0,0 +1,26 @@
+PORTREVISION= 0
+CATEGORIES= x11-toolkits
+
+COMMENT= GStreamer Qt6 QML videosink plugin
+
+USES= compiler:c++17-lang qt:6
+USE_GSTREAMER= gl
+USE_QT= base declarative \
+ shadertools:build tools:build
+
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
+
+PLIST= ${.CURDIR}/pkg-plist
+
+OPTIONS_DEFINE= WAYLAND X11
+OPTIONS_DEFAULT= WAYLAND X11
+
+WAYLAND_USE= QT=wayland
+WAYLAND_MESON_ENABLED= qt-wayland
+
+X11_MESON_ENABLED= qt-x11
+
+DIST= good
+GST_PLUGIN= qt6
+
+.include "${MASTERDIR}/Makefile"
diff --git a/x11-toolkits/gstreamer1-plugins-qt6/pkg-plist b/x11-toolkits/gstreamer1-plugins-qt6/pkg-plist
new file mode 100644
index 000000000000..d12aacb93c0e
--- /dev/null
+++ b/x11-toolkits/gstreamer1-plugins-qt6/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstqml6.so
diff --git a/x11/gstreamer1-plugins-x/Makefile b/x11/gstreamer1-plugins-x/Makefile
index 98e56bbe0c71..de8a58e8b429 100644
--- a/x11/gstreamer1-plugins-x/Makefile
+++ b/x11/gstreamer1-plugins-x/Makefile
@@ -3,18 +3,20 @@ CATEGORIES= x11
COMMENT= GStreamer X and Xvideo output plugins
-GST_PLUGIN= x
+USES= xorg
+USE_XORG= x11 xext xv
-BASE_GST_ENABLED_PLUGINS= ximage \
- xvideo
-DIST= base
+MESON_ARGS+= -Dxshm=enabled \
+ -Dxvideo=enabled
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-PLIST= ${.CURDIR}/pkg-plist
+PLIST= ${.CURDIR}/pkg-plist
-USES= xorg
-USE_XORG= x11 xv xext
-CONFIGURE_ARGS= -Dxvideo=enabled -Dxshm=enabled
+DIST= base
+GST_PLUGIN= x
+
+BASE_GST_ENABLED_PLUGINS= ximage \
+ xvideo
.include "${MASTERDIR}/Makefile"
diff --git a/x11/gstreamer1-plugins-ximagesrc/Makefile b/x11/gstreamer1-plugins-ximagesrc/Makefile
index bcc0b9ceb265..fbde51a118f5 100644
--- a/x11/gstreamer1-plugins-ximagesrc/Makefile
+++ b/x11/gstreamer1-plugins-ximagesrc/Makefile
@@ -1,22 +1,21 @@
PORTREVISION= 0
CATEGORIES= x11
-PKGNAMESUFFIX= 1-plugins-ximagesrc
COMMENT= GStreamer X source plugin
-GST_PLUGIN= ximagesrc
-DIST= good
+USES= xorg
+USE_XORG= x11 xdamage xext xfixes
-GOOD_GST_ENABLED_PLUGINS= ximagesrc \
- ximagesrc-xshm \
- ximagesrc-xfixes \
- ximagesrc-xdamage
+MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins
-MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+PLIST= ${.CURDIR}/pkg-plist
-PLIST= ${.CURDIR}/pkg-plist
+DIST= good
+GST_PLUGIN= ximagesrc
-USES= xorg
-USE_XORG= x11 xfixes xdamage xext
+GOOD_GST_ENABLED_PLUGINS= ximagesrc \
+ ximagesrc-xdamage \
+ ximagesrc-xfixes \
+ ximagesrc-xshm
.include "${MASTERDIR}/Makefile"