aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2022-04-29 04:52:18 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2022-04-30 08:03:20 +0000
commitca3f925d6eb53ff27e2a49775f6d33f52a587ae4 (patch)
tree8330d02f36a17f334c0d38f6741d0d042f6d6f38
parentdc8bd44c128467d5b76d40478fa87da62d56d35d (diff)
downloadports-ca3f925d6eb53ff27e2a49775f6d33f52a587ae4.tar.gz
ports-ca3f925d6eb53ff27e2a49775f6d33f52a587ae4.zip
framework: convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert bsd.gstreamer.mk to Uses/gstreamer.mk - convert ports tree to make use of USES=gstreamer - remove duplicate dependency lines from the tree Differential Revision: https://reviews.freebsd.org/D35097
-rw-r--r--CHANGES22
-rw-r--r--Mk/Uses/gstreamer.mk448
-rw-r--r--Mk/bsd.gstreamer.mk562
-rw-r--r--Mk/bsd.port.mk10
-rw-r--r--audio/exaile/Makefile4
-rw-r--r--audio/faudio/Makefile5
-rw-r--r--audio/gnome-music/Makefile4
-rw-r--r--audio/gnome-podcasts/Makefile4
-rw-r--r--audio/goobox/Makefile3
-rw-r--r--audio/gradio/Makefile4
-rw-r--r--audio/gsequencer/Makefile3
-rw-r--r--audio/gstreamer1-plugins-sndio/Makefile6
-rw-r--r--audio/libcanberra/Makefile2
-rw-r--r--audio/lollypop/Makefile6
-rw-r--r--audio/moodbar/Makefile4
-rw-r--r--audio/mp3splt-gtk/Makefile3
-rw-r--r--audio/mpz/Makefile4
-rw-r--r--audio/pianod2/Makefile4
-rw-r--r--audio/pithos/Makefile4
-rw-r--r--audio/pragha/Makefile4
-rw-r--r--audio/pulseeffects/Makefile4
-rw-r--r--audio/rhythmbox/Makefile4
-rw-r--r--audio/sayonara/Makefile4
-rw-r--r--audio/shortwave/Makefile6
-rw-r--r--audio/sound-juicer/Makefile4
-rw-r--r--audio/strawberry/Makefile3
-rw-r--r--deskutils/alarm-clock-applet/Makefile3
-rw-r--r--deskutils/gnome-pomodoro/Makefile3
-rw-r--r--deskutils/gnome-sound-recorder/Makefile4
-rw-r--r--deskutils/lumina-mediaplayer/Makefile6
-rw-r--r--deskutils/solanum/Makefile4
-rw-r--r--deskutils/spice-gtk/Makefile3
-rw-r--r--deskutils/xfce4-tumbler/Makefile2
-rw-r--r--devel/efl/Makefile3
-rw-r--r--devel/libspice-server/Makefile2
-rw-r--r--editors/libreoffice/Makefile2
-rw-r--r--editors/openoffice-devel/Makefile2
-rw-r--r--emulators/wine-proton/Makefile4
-rw-r--r--games/eboard/Makefile3
-rw-r--r--games/lordsawar/Makefile3
-rw-r--r--games/py-pychess/Makefile3
-rw-r--r--graphics/elementary-photos/Makefile3
-rw-r--r--graphics/entangle/Makefile4
-rw-r--r--graphics/evince/Makefile3
-rw-r--r--graphics/gnome-video-effects/Makefile4
-rw-r--r--graphics/gthumb/Makefile2
-rw-r--r--graphics/kmscube/Makefile4
-rw-r--r--graphics/opencv/Makefile2
-rw-r--r--graphics/osg/Makefile4
-rw-r--r--graphics/osg34/Makefile3
-rw-r--r--graphics/pdfpc/Makefile3
-rw-r--r--graphics/shotwell/Makefile5
-rw-r--r--mail/py-mailnag/Makefile3
-rw-r--r--misc/copperspice-examples/Makefile3
-rw-r--r--multimedia/aravis/Makefile3
-rw-r--r--multimedia/cheese/Makefile4
-rw-r--r--multimedia/clutter-gst/Makefile3
-rw-r--r--multimedia/clutter-gst3/Makefile3
-rw-r--r--multimedia/elementary-videos/Makefile8
-rw-r--r--multimedia/gnome-twitch/Makefile6
-rw-r--r--multimedia/gst123/Makefile4
-rw-r--r--multimedia/gstreamer1-editing-services/Makefile4
-rw-r--r--multimedia/gstreamer1-libav/Makefile3
-rw-r--r--multimedia/gstreamer1-plugins-all/Makefile5
-rw-r--r--multimedia/gstreamer1-plugins-bad/Makefile4
-rw-r--r--multimedia/gstreamer1-plugins-core/Makefile12
-rw-r--r--multimedia/gstreamer1-plugins-gnonlin/Makefile4
-rw-r--r--multimedia/gstreamer1-plugins-good/Makefile3
-rw-r--r--multimedia/gstreamer1-plugins-rust/Makefile3
-rw-r--r--multimedia/gstreamer1-plugins-svt-av1/Makefile3
-rw-r--r--multimedia/gstreamer1-plugins-svt-hevc/Makefile3
-rw-r--r--multimedia/gstreamer1-plugins-svt-vp9/Makefile3
-rw-r--r--multimedia/gstreamer1-plugins-ugly/Makefile3
-rw-r--r--multimedia/gstreamer1-plugins/Makefile11
-rw-r--r--multimedia/gstreamer1-plugins/Makefile.common12
-rw-r--r--multimedia/gstreamer1-qt/Makefile3
-rw-r--r--multimedia/gstreamer1-rtsp-server/Makefile4
-rw-r--r--multimedia/gstreamer1-transcoder/Makefile4
-rw-r--r--multimedia/gstreamer1-vaapi/Makefile4
-rw-r--r--multimedia/gstreamer1-validate/Makefile3
-rw-r--r--multimedia/gstreamermm/Makefile3
-rw-r--r--multimedia/handbrake/Makefile2
-rw-r--r--multimedia/kamoso/Makefile3
-rw-r--r--multimedia/kooha/Makefile4
-rw-r--r--multimedia/librespot/Makefile5
-rw-r--r--multimedia/neolink/Makefile3
-rw-r--r--multimedia/phonon-gstreamer/Makefile3
-rw-r--r--multimedia/photofilmstrip/Makefile4
-rw-r--r--multimedia/pipewire/Makefile3
-rw-r--r--multimedia/pitivi/Makefile4
-rw-r--r--multimedia/py-gstreamer1/Makefile3
-rw-r--r--multimedia/qt5-multimedia/Makefile3
-rw-r--r--multimedia/quodlibet/Makefile6
-rw-r--r--multimedia/snappy/Makefile3
-rw-r--r--multimedia/termplay/Makefile3
-rw-r--r--multimedia/totem/Makefile4
-rw-r--r--multimedia/webcamoid/Makefile3
-rw-r--r--multimedia/xfce4-parole/Makefile8
-rw-r--r--net-im/cawbird/Makefile2
-rw-r--r--net-im/dino/Makefile3
-rw-r--r--net-im/farstream/Makefile4
-rw-r--r--net-im/fractal/Makefile4
-rw-r--r--net-im/ktp-call-ui/Makefile3
-rw-r--r--net-im/libnice/Makefile2
-rw-r--r--net-im/libpurple/Makefile5
-rw-r--r--net-im/pidgin-sipe/Makefile3
-rw-r--r--net-im/telepathy-qt/Makefile4
-rw-r--r--net/freerdp/Makefile4
-rw-r--r--net/grilo-plugins/Makefile4
-rw-r--r--net/gupnp-dlna/Makefile3
-rw-r--r--net/libdmapsharing/Makefile3
-rw-r--r--net/uget/Makefile2
-rw-r--r--security/authenticator/Makefile4
-rw-r--r--sysutils/brasero/Makefile3
-rw-r--r--sysutils/gnome-control-center/Makefile3
-rw-r--r--sysutils/tracker-miners/Makefile2
-rw-r--r--sysutils/xfburn/Makefile2
-rw-r--r--textproc/libextractor/Makefile2
-rw-r--r--www/qt5-webkit/Makefile5
-rw-r--r--www/webkit2-gtk3/Makefile3
-rw-r--r--x11-fm/nautilus/Makefile3
-rw-r--r--x11-fm/sushi/Makefile3
-rw-r--r--x11-toolkits/copperspice/Makefile4
-rw-r--r--x11-toolkits/gstreamer1-plugins-gtk4/Makefile4
-rw-r--r--x11-toolkits/gtk40/Makefile2
-rw-r--r--x11-toolkits/wxgtk30/Makefile2
-rw-r--r--x11-toolkits/wxgtk31/Makefile2
-rw-r--r--x11/cinnamon/Makefile3
-rw-r--r--x11/florence/Makefile3
-rw-r--r--x11/gnome-shell/Makefile3
-rw-r--r--x11/lumina-core/Makefile3
-rw-r--r--x11/workrave/Makefile3
-rw-r--r--x11/xpra/Makefile6
133 files changed, 677 insertions, 844 deletions
diff --git a/CHANGES b/CHANGES
index e96e1b0d4a0d..6a40475bf8d5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,28 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
+20220430:
+AUTHOR: tcberner@FreeBSD.org
+
+ A new USES has been added to handle dependency on gstreamer.
+
+ Instead of writing
+
+ USE_GSTREAMER1=[list of components]
+
+ you now have to write
+
+ USES=gstreamer
+ USE_GSTREAMER=[list of components]
+
+ If your port previously set just
+
+ USE_GSTREAMER=yes
+
+ this now is simply
+
+ USES=gstreamer
+
20220415:
AUTHOR: amdmi3@FreeBSD.org
diff --git a/Mk/Uses/gstreamer.mk b/Mk/Uses/gstreamer.mk
new file mode 100644
index 000000000000..066b3b895e44
--- /dev/null
+++ b/Mk/Uses/gstreamer.mk
@@ -0,0 +1,448 @@
+#
+# gstreamer.mk - Support for gstreamer-plugins-based ports.
+#
+# Usage:
+# USES= gstreamer[:version]
+# USE_GSTREAMER= [list of components]
+#
+# Supported versions: 1 -- default
+# #
+
+.if ! defined(_INCLUDE_USES_GSTREAMER_MK)
+_INCLUDE_USES_GSTREAMER_MK= YES
+
+#== Argument handling
+
+# Preparations to support multiple gstreamer versions
+_GST_VER_SUPPORTED= 1
+_GST_VER_DEFAULT= 1
+_GST_VER= #
+. for ver in ${_GST_VER_SUPPORTED:O:u}
+. if ${gstreamer_ARGS:M${ver}}
+. if empty(_GST_VER)
+_GST_VER= ${ver}
+. else
+INGORE= Incorrect USES=gstreamer:${gstramer_ARGS} - multiple versions defined
+. endif
+. endif
+. endfor
+
+. if empty(_GST_VER)
+_GST_VER= ${_GST_VER_DEFAULT}
+. endif
+
+#== Component setup
+
+_GST1_VERSION= 1.16.2
+_GST1_LIB_VER= 1.0
+
+_GST1_CATEGORIES= audio comms devel ftp graphics multimedia net security \
+ sysutils www x11 x11-toolkits
+_GST1_PLUGINS_audio= a52dec amrnb amrwbdec bs2b cdparanoia chromaprint faac \
+ faad flac flite gme gsm jack ladspa lame lv2 modplug \
+ mpg123 musepack ogg openmpt opus pulse shout2 sidplay \
+ sndfile sndio soundtouch speex taglib twolame vorbis \
+ wavpack webrtcdsp
+_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_multimedia= aom assrender bad dash dts dv dvd dvdread \
+ editing-services gnonlin good hls kate libav libde265 \
+ mpeg2dec mpeg2enc mplex mm openh264 resindvd rtmp \
+ smoothstreaming theora ttml ugly v4l2 vpx x264 x265
+_GST1_PLUGINS_net= libmms srtp
+_GST1_PLUGINS_security= dtls
+_GST1_PLUGINS_sysutils= cdio hal
+_GST1_PLUGINS_www= neon
+_GST1_PLUGINS_x11= x ximagesrc
+_GST1_PLUGINS_x11-toolkits= gtk gtk4 pango
+
+# == Unversioned information
+
+# Gather all available plugins for the chosen version
+_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}
+
+# List of all available components
+_USE_GSTREAMER_ALL= ${_GST_PLUGINS_BASE} \
+ ${_GST_PLUGINS_VER}
+
+#== Dependency setup
+
+#==== Top-level components
+
+gst-plugins_PORT= multimedia/gstreamer${_GST_VER}-plugins
+gst-plugins_IMPL= # empty
+gst-plugins_SUFFIX= #
+
+gst-bad_PORT= multimedia/gstreamer${_GST_VER}-plugins-bad
+gst-bad_IMPL= #
+
+gst-core_PORT= multimedia/gstreamer${_GST_VER}-plugins-core
+gst-core_IMPL= #
+gst-core_GST1_VERSION= 1.16
+gst-core_VERSION= ${gst-core_GST${_GST_VER}_VERSION}
+
+gst-good_PORT= multimedia/gstreamer${_GST_VER}-plugins-good
+gst-good_IMPL= #
+
+gst-ugly_PORT= multimedia/gstreamer${_GST_VER}-plugins-ugly
+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
+
+gst-a52dec_PORT= audio/gstreamer${_GST_VER}-plugins-a52dec
+gst-a52dec_IMPL= ugly
+
+gst-amrnb_PORT= audio/gstreamer${_GST_VER}-plugins-amrnb
+gst-amrnb_IMPL= ugly
+
+gst-amrwbdec_PORT= audio/gstreamer${_GST_VER}-plugins-amrwbdec
+gst-amrwbdec_IMPL= ugly
+
+gst-bs2b_PORT= audio/gstreamer${_GST_VER}-plugins-bs2b
+gst-bs2b_IMPL= bad
+
+gst-cdparanoia_PORT= audio/gstreamer${_GST_VER}-plugins-cdparanoia
+gst-cdparanoia_IMPL= #
+
+gst-chromaprint_PORT= audio/gstreamer${_GST_VER}-plugins-chromaprint
+gst-chromeprint_IMPL= bad
+
+gst-faac_PORT= audio/gstreamer${_GST_VER}-plugins-faac
+gst-faac_IMPL= bad
+
+gst-faad_PORT= audio/gstreamer${_GST_VER}-plugins-faad
+gst-faad_IMPL= bad
+
+gst-flac_PORT= audio/gstreamer${_GST_VER}-plugins-flac
+gst-flac_IMPL= good
+
+gst-flite_PORT= audio/gstreamer${_GST_VER}-plugins-flite
+gst-flite_IMPL= bad
+
+gst-gme_PORT= audio/gstreamer${_GST_VER}-plugins-gme
+gst-gme_IMPL= bad
+
+gst-gsm_PORT= audio/gstreamer${_GST_VER}-plugins-gsm
+gst-gsm_IMPL= bad
+
+gst-hal_PORT= sysutils/gstreamer${_GST_VER}-plugins-hal
+gst-hal_IMPL= good
+
+gst-jack_PORT= audio/gstreamer${_GST_VER}-plugins-jack
+gst-jack_IMPL= good
+
+gst-ladspa_PORT= audio/gstreamer${_GST_VER}-plugins-ladspa
+gst-ladspa_IMPL= bad
+
+gst-lame_PORT= audio/gstreamer${_GST_VER}-plugins-lame
+gst-lame_IMPL= ugly
+
+gst-lv2_PORT= audio/gstreamer${_GST_VER}-plugins-lv2
+gst-lv2_IMPL= bad
+
+gst-modplug_PORT= audio/gstreamer${_GST_VER}-plugins-modplug
+gst-modplug_IMPL= bad
+
+gst-mpg123_PORT= audio/gstreamer${_GST_VER}-plugins-mpg123
+gst-mpg123_IMPL= ugly
+
+gst-musepack_PORT= audio/gstreamer${_GST_VER}-plugins-musepack
+gst-musepack_IMPL= bad
+
+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-opus_PORT= audio/gstreamer${_GST_VER}-plugins-opus
+gst-opus_IMPL= #
+
+gst-pulse_PORT= audio/gstreamer${_GST_VER}-plugins-pulse
+gst-pulse_IMPL= good
+
+gst-shout2_PORT= audio/gstreamer${_GST_VER}-plugins-shout2
+gst-shout2_IMPL= good
+
+gst-sidplay_PORT= audio/gstreamer${_GST_VER}-plugins-sidplay
+gst-sidplay_IMPL= ugly
+
+gst-sndio_PORT= audio/gstreamer${_GST_VER}-plugins-sndio
+gst-sndio_IMPL= #
+
+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
+
+gst-speex_PORT= audio/gstreamer${_GST_VER}-plugins-speex
+gst-speex_IMPL= good
+
+gst-taglib_PORT= audio/gstreamer${_GST_VER}-plugins-taglib
+gst-taglib_IMPL= good
+
+gst-twolame_PORT= audio/gstreamer${_GST_VER}-plugins-twolame
+gst-twolame_IMPL= ugly
+
+gst-vorbis_PORT= audio/gstreamer${_GST_VER}-plugins-vorbis
+gst-vorbis_IMPL= #
+
+gst-wavpack_PORT= audio/gstreamer${_GST_VER}-plugins-wavpack
+gst-wavpack_IMPL= good
+
+gst-webrtcdsp_PORT= audio/gstreamer${_GST_VER}-plugins-webrtcdsp
+gst-webrtcdsp_IMPL= bad
+
+#==== comms plugin section
+
+gst-spandsp_PORT= comms/gstreamer${_GST_VER}-plugins-spandsp
+gst-spandsp_IMPL= bad
+
+#==== devel plugin section
+
+gst-soup_PORT= devel/gstreamer${_GST_VER}-plugins-soup
+gst-soup_IMPL= good
+
+#==== ftp plugin section
+
+gst-curl_PORT= ftp/gstreamer${_GST_VER}-plugins-curl
+gst-curl_IMPL= bad
+
+#==== graphics plugin section
+
+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
+
+gst-gdkpixbuf_PORT= graphics/gstreamer${_GST_VER}-plugins-gdkpixbuf
+gst-gdkpixbuf_IMPL= good
+
+gst-gl_PORT= graphics/gstreamer${_GST_VER}-plugins-gl
+gst-gl_IMPL= bad
+
+gst-jpeg_PORT= graphics/gstreamer${_GST_VER}-plugins-jpeg
+gst-jpeg_IMPL= good
+
+gst-kms_PORT= graphics/gstreamer${_GST_VER}-plugins-kms
+gst-kms_IMPL= bad
+
+gst-libcaca_PORT= graphics/gstreamer${_GST_VER}-plugins-libcaca
+gst-libcaca_IMPL= good
+
+gst-libvisual_PORT= graphics/gstreamer${_GST_VER}-plugins-libvisual
+gst-libvisual_IMPL= #
+
+gst-opencv_PORT= graphics/gstreamer${_GST_VER}-plugins-opencv
+gst-opencv_IMPL= bad
+
+gst-openexr_PORT= graphics/gstreamer${_GST_VER}-plugins-openexr
+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-webp_PORT= graphics/gstreamer${_GST_VER}-plugins-webp
+gst-webp_IMPL= bad
+
+gst-zbar_PORT= graphics/gstreamer${_GST_VER}-plugins-zbar
+gst-zbar_IMPL= bad
+
+#==== multimedia plugins section
+
+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-dvd_PORT= multimedia/gstreamer${_GST_VER}-plugins-dvd
+gst-dvd_IMPL= ugly
+
+gst-gnonlin_PORT= multimedia/gstreamer${_GST_VER}-plugins-gnonlin
+gst-gnonlin_IMPL= good
+
+gst-hls_PORT= multimedia/gstreamer${_GST_VER}-plugins-hls
+gst-hls_IMPL= bad
+
+gst-kate_PORT= multimedia/gstreamer${_GST_VER}-plugins-kate
+gst-kate_IMPL= bad
+
+gst-libav_PORT= multimedia/gstreamer${_GST_VER}-libav
+gst-libav_SUFFIX= #
+gst-libav_IMPL= #
+
+gst-libde265_PORT= multimedia/gstreamer${_GST_VER}-plugins-libde265
+gst-libde265_IMPL= bad
+
+gst-mm_PORT= multimedia/gstreamermm
+gst-mm_PREFIX= gstreamer
+gst-mm_SUFFIX= #
+gst-mm_IMPL= #
+gst-mm_GST1_VERSION= 1.10.0
+gst-mm_VERSION= ${gst-mm_GST${_GST_VER}_VERSION}
+
+gst-mpeg2dec_PORT= multimedia/gstreamer${_GST_VER}-plugins-mpeg2dec
+gst-mpeg2dec_IMPL= ugly
+
+gst-mpeg2enc_PORT= multimedia/gstreamer${_GST_VER}-plugins-mpeg2enc
+gst-mpeg2enc_IMPL= bad
+
+gst-mplex_PORT= multimedia/gstreamer${_GST_VER}-plugins-mplex
+gst-mplex_IMPL= bad
+
+gst-openh264_PORT= multimedia/gstreamer${_GST_VER}-plugins-openh264
+gst-openh264_IMPL= bad
+
+gst-rtmp_PORT= multimedia/gstreamer${_GST_VER}-plugins-rtmp
+gst-rtmp_IMPL= bad
+
+gst-smoothstreaming_PORT= multimedia/gstreamer${_GST_VER}-plugins-smoothstreaming
+gst-smoothstreaming_IMPL= bad
+
+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-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-x264_PORT= multimedia/gstreamer${_GST_VER}-plugins-x264
+gst-x264_IMPL= ugly
+
+gst-x265_PORT= multimedia/gstreamer${_GST_VER}-plugins-x265
+gst-x265_IMPL= bad
+
+#==== Net Plugins Section
+
+gst-libmms_PORT= net/gstreamer${_GST_VER}-plugins-libmms
+gst-libmms_IMPL= bad
+
+gst-srtp_PORT= net/gstreamer${_GST_VER}-plugins-srtp
+gst-srtp_IMPL= bad
+
+#==== security plugins section
+
+gst-dtls_PORT= security/gstreamer${_GST_VER}-plugins-dtls
+gst-dtls_IMPL= bad
+
+#==== sysutils plugins section
+
+gst-cdio_PORT= sysutils/gstreamer${_GST_VER}-plugins-cdio
+gst-cdio_IMPL= ugly
+
+#==== x11 plugins section
+
+gst-x_PORT= x11/gstreamer${_GST_VER}-plugins-x
+gst-x_IMPL= #
+
+gst-ximagesrc_PORT= x11/gstreamer${_GST_VER}-plugins-ximagesrc
+gst-ximagesrc_IMPL= good
+
+#==== x11-toolkits plugins section
+
+gst-gtk_PORT= x11-toolkits/gstreamer${_GST_VER}-plugins-gtk
+gst-gtk_IMPL= bad
+
+gst-gtk4_PORT= x11-toolkits/gstreamer${_GST_VER}-plugins-gtk4
+gst-gtk4_IMPL= good
+
+gst-pango_PORT= x11-toolkits/gstreamer${_GST_VER}-plugins-pango
+gst-pango_IMPL= #
+
+#== Dependency creation
+
+_GST_BR_DEPENDS= #
+_GST_LIB_DEPENDS= #
+
+USE_GSTREAMER?= #
+# everything wants this
+USE_GSTREAMER+= libgstreamer
+. if ${PORTDIRNAME} != gstreamer${_GST_VER}-plugins
+USE_GSTREAMER+= plugins
+. endif
+
+# Gather all Impl values
+_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}
+# Fill in the common default component values
+gst-${component}_VERSION?= ${_GST_VERSION}
+gst-${component}_NAME?= ${component}
+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})
+IGNORE= unknown gstreamer component '${component}' for gstreamer:${_GST_VER}
+. endif
+. if !empty(gst-${component}_LIB)
+_GST_LIB_DEPENDS+= ${gst-${component}_LIB}:${gst-${component}_PORT}
+. else
+_GST_BR_DEPENDS+= ${gst-${component}_PKG}>=${gst-${component}_VERSION}:${gst-${component}_PORT}
+. endif
+. endfor
+
+LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u}
+BUILD_DEPENDS+= ${_GST_BR_DEPENDS:O:u}
+RUN_DEPENDS+= ${_GST_BR_DEPENDS:O:u}
+
+.endif
diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk
deleted file mode 100644
index 7e7b7d85d9e5..000000000000
--- a/Mk/bsd.gstreamer.mk
+++ /dev/null
@@ -1,562 +0,0 @@
-#-*- tab-width: 4; -*-
-# ex:ts=4
-#
-# bsd.gstreamer.mk - Support for gstreamer-plugins-based ports.
-#
-# Created by: Michael Johnson <ahze@FreeBSD.org>
-
-.if !defined(_POSTMKINCLUDED) && !defined(Gstreamer_Pre_Include)
-
-Gstreamer_Include_MAINTAINER= multimedia@FreeBSD.org
-Gstreamer_Pre_Include= bsd.gstreamer.mk
-
-.endif
-
-# Ports can use the following:
-#
-# For Gstreamer 1.x the same rules apply but instead of
-# USE_GSTREAMER=, USE_GSTREAMER1= is used.
-#
-# If you want to use USE_GSTREAMER after <bsd.port.pre.mk>
-# you must follow one of the examples listed below
-#
-# .include <bsd.port.options.mk>
-# .if defined(WITH_VORBIS)
-# USE_GSTREAMER= vorbis
-# .endif
-#
-# or
-# USE_GSTREAMER= yes
-# .include <bsd.port.options.mk>
-# .if defined(WITH_FAAD)
-# USE_GSTREAMER+= faad
-# .endif
-# .include <bsd.port.pre.mk>
-#
-# USE_GSTREAMER=yes will always add a dependency to
-# gstreamer-plugins
-#
-# "Normal" dependencies and variables
-#
-
-GSTREAMER1_PORT= ${PORTSDIR}/multimedia/gstreamer1-plugins
-_GST1_LIB_BASE= ${LOCALBASE}/lib/gstreamer-${GST1_VERSION}
-GST1_VERSION= 1.4
-GST1_MINOR_VERSION= .0
-GST1_SHLIB_VERSION= 0
-GST1_MINIMAL_VERSION= .0
-
-# These are the current supported gstreamer-plugins modules:
-# Supported plugins by both 0.10 and 1.0.
-_GSTREAMER_PLUGINS= \
- a52dec \
- aalib \
- amrnb \
- amrwbdec \
- cairo \
- cdio \
- cdparanoia \
- dts \
- dv \
- faac \
- faad \
- flac \
- flite \
- gdkpixbuf \
- gl \
- gme \
- gnonlin \
- gsm \
- jack \
- jpeg \
- ladspa \
- lame \
- libcaca \
- libmms \
- libvisual \
- mpeg2dec \
- mpeg2enc \
- musepack \
- neon \
- ogg \
- opus \
- pango \
- pulse \
- resindvd \
- shout2 \
- sndfile \
- sndio \
- sidplay \
- soundtouch \
- soup \
- speex \
- taglib \
- theora \
- twolame \
- v4l2 \
- vorbis \
- wavpack \
- x264
-
-# plugins only in 1.0
-.if defined(USE_GSTREAMER1)
-_GSTREAMER_PLUGINS+= \
- aom \
- assrender \
- bs2b \
- chromaprint \
- curl \
- dash \
- dtls \
- dvdread \
- editing-services \
- gtk \
- gtk4 \
- hls \
- kate \
- kms \
- libav \
- libde265 \
- lv2 \
- mm \
- modplug \
- mpg123 \
- mplex \
- opencv \
- openexr \
- openh264 \
- openjpeg \
- openmpt \
- png \
- qt \
- rsvg \
- rtmp \
- smoothstreaming \
- spandsp \
- srtp \
- ttml \
- vpx \
- vulkan \
- webp \
- webrtcdsp \
- x \
- x265 \
- ximagesrc \
- zbar
-# vaapi
-.endif # USE_GSTREAMER1
-
-# other plugins
-_USE_GSTREAMER_ALL= bad core good ugly yes ${_GSTREAMER_PLUGINS}
-
-#--------------------------------------------------------------------------#
-
-core_DEPENDS= multimedia/gstreamer-plugins-core
-core_IMPL= #
-
-yes_DEPENDS= multimedia/gstreamer-plugins
-yes_NAME= gstreamer-plugins
-yes_NAME10= gstreamer1-plugins
-yes_GST_PREFIX= # empty
-yes_IMPL= # empty
-
-# XXX check if IMPL is correct for both 0.10 and 1.0
-
-#-- audio plugins section -------------------------------------------------#
-
-# Audio Plugins Section
-a52dec_DEPENDS= audio/gstreamer-plugins-a52dec
-a52dec_IMPL= ugly
-
-amrnb_DEPENDS= audio/gstreamer-plugins-amrnb
-amrnb_IMPL= ugly
-
-amrwbdec_DEPENDS= audio/gstreamer-plugins-amrwbdec
-amrwbdec_IMPL= ugly
-
-bs2b_DEPENDS= audio/gstreamer-plugins-bs2b
-bs2b_IMPL= bad
-
-cdparanoia_DEPENDS= audio/gstreamer-plugins-cdparanoia
-cdparanoia_IMPL= #
-
-chromaprint_DEPENDS= audio/gstreamer-plugins-chromaprint
-chromeprint_IMPL= bad
-
-faac_DEPENDS= audio/gstreamer-plugins-faac
-faac_IMPL= bad
-
-faad_DEPENDS= audio/gstreamer-plugins-faad
-faad_IMPL= bad
-
-flac_DEPENDS= audio/gstreamer-plugins-flac
-flac_IMPL= good
-
-flite_DEPENDS= audio/gstreamer-plugins-flite
-flite_IMPL= bad
-
-gme_DEPENDS= audio/gstreamer-plugins-gme
-gme_IMPL= bad
-
-gsm_DEPENDS= audio/gstreamer-plugins-gsm
-gsm_IMPL= bad
-
-hal_DEPENDS= sysutils/gstreamer-plugins-hal
-hal_IMPL= good
-
-jack_DEPENDS= audio/gstreamer-plugins-jack
-jack_IMPL= good
-
-ladspa_DEPENDS= audio/gstreamer-plugins-ladspa
-ladspa_IMPL= bad
-
-lame_DEPENDS= audio/gstreamer-plugins-lame
-lame_IMPL= ugly
-
-lv2_DEPENDS= audio/gstreamer-plugins-lv2
-lv2_IMPL= bad
-
-modplug_DEPENDS= audio/gstreamer-plugins-modplug
-modplug_IMPL= bad
-
-mpg123_DEPENDS= audio/gstreamer-plugins-mpg123
-mpg123_IMPL= ugly
-
-musepack_DEPENDS= audio/gstreamer-plugins-musepack
-musepack_IMPL= bad
-
-neon_DEPENDS= www/gstreamer-plugins-neon
-neon_IMPL= bad
-
-ogg_DEPENDS= audio/gstreamer-plugins-ogg
-ogg_IMPL= #
-
-opus_DEPENDS= audio/gstreamer-plugins-opus
-opus_IMPL= #
-
-pulse_DEPENDS= audio/gstreamer-plugins-pulse
-pulse_IMPL= good
-
-shout2_DEPENDS= audio/gstreamer-plugins-shout2
-shout2_IMPL= good
-
-sidplay_DEPENDS= audio/gstreamer-plugins-sidplay
-sidplay_IMPL= ugly
-
-sndio_DEPENDS= audio/gstreamer-plugins-sndio
-sndio_IMPL= #
-
-sndfile_DEPENDS= audio/gstreamer-plugins-sndfile
-sndfile_IMPL= bad
-
-soundtouch_DEPENDS= audio/gstreamer-plugins-soundtouch
-soundtouch_IMPL= bad
-
-speex_DEPENDS= audio/gstreamer-plugins-speex
-speex_IMPL= good
-
-taglib_DEPENDS= audio/gstreamer-plugins-taglib
-taglib_IMPL= good
-
-twolame_DEPENDS= audio/gstreamer-plugins-twolame
-twolame_IMPL= ugly
-
-vorbis_DEPENDS= audio/gstreamer-plugins-vorbis
-vorbis_IMPL= #
-
-wavpack_DEPENDS= audio/gstreamer-plugins-wavpack
-wavpack_IMPL= good
-
-webrtcdsp_DEPENDS= audio/gstreamer-plugins-webrtcdsp
-webrtcdsp_IMPL= bad
-
-#-- comms plugin section --------------------------------------------------#
-
-spandsp_DEPENDS= comms/gstreamer-plugins-spandsp
-spandsp_IMPL= bad
-
-#-- devel plugin section --------------------------------------------------#
-
-soup_DEPENDS= devel/gstreamer-plugins-soup
-soup_IMPL= good
-
-#-- ftp plugin section ----------------------------------------------------#
-
-curl_DEPENDS= ftp/gstreamer-plugins-curl
-curl_IMPL= bad
-
-#-- graphics plugin section -----------------------------------------------#
-
-aalib_DEPENDS= graphics/gstreamer-plugins-aalib
-aalib_IMPL= good
-
-aom_DEPENDS= multimedia/gstreamer-plugins-aom
-aom_IMPL= bad
-
-assrender_DEPENDS= multimedia/gstreamer-plugins-assrender
-assrender_IMPL= bad
-
-cairo_DEPENDS= graphics/gstreamer-plugins-cairo
-cairo_IMPL= good
-
-gdkpixbuf_DEPENDS= graphics/gstreamer-plugins-gdkpixbuf
-gdkpixbuf_IMPL= good
-
-gl_DEPENDS= graphics/gstreamer-plugins-gl
-gl_IMPL= bad
-
-jpeg_DEPENDS= graphics/gstreamer-plugins-jpeg
-jpeg_IMPL= good
-
-kms_DEPENDS= graphics/gstreamer-plugins-kms
-kms_IMPL= bad
-
-libcaca_DEPENDS= graphics/gstreamer-plugins-libcaca
-libcaca_IMPL= good
-
-libvisual_DEPENDS= graphics/gstreamer-plugins-libvisual
-libvisual_IMPL= #
-
-opencv_DEPENDS= graphics/gstreamer-plugins-opencv
-opencv_IMPL= bad
-
-openexr_DEPENDS= graphics/gstreamer-plugins-openexr
-openexr_IMPL= bad
-
-openjpeg_DEPENDS= graphics/gstreamer-plugins-openjpeg
-openjpeg_IMPL= bad
-
-openmpt_DEPENDS= audio/gstreamer-plugins-openmpt
-openmpt_IMPL= bad
-
-png_DEPENDS= graphics/gstreamer-plugins-png
-png_IMPL= good
-
-qt_DEPENDS= graphics/gstreamer-plugins-qt
-qt_IMPL= good
-
-rsvg_DEPENDS= graphics/gstreamer-plugins-rsvg
-rsvg_IMPL= bad
-
-webp_DEPENDS= graphics/gstreamer-plugins-webp
-webp_IMPL= bad
-
-zbar_DEPENDS= graphics/gstreamer-plugins-zbar
-zbar_IMPL= bad
-
-#-- multimedia plugins section --------------------------------------------#
-
-bad_DEPENDS= multimedia/gstreamer-plugins-bad
-bad_IMPL= #
-
-dash_DEPENDS= multimedia/gstreamer-plugins-dash
-dash_IMPL= bad
-
-dvdread_DEPENDS= multimedia/gstreamer-plugins-dvdread
-dvdread_IMPL= ugly
-
-editing-services_DEPENDS= multimedia/gstreamer-editing-services
-editing-services_GST_PREFIX= gstreamer1-
-editing-services_GST_SUFX= # empty
-editing-services_GST_VERSION= 1.0.0
-editing-services_IMPL= #
-
-dts_DEPENDS= multimedia/gstreamer-plugins-dts
-dts_IMPL= bad
-
-dv_DEPENDS= multimedia/gstreamer-plugins-dv
-dv_IMPL= good
-
-dvd_DEPENDS= multimedia/gstreamer-plugins-dvd
-dvd_IMPL= ugly
-
-good_DEPENDS= multimedia/gstreamer-plugins-good
-good_IMPL= #
-
-gnonlin_DEPENDS= multimedia/gstreamer-plugins-gnonlin
-gnonlin_IMPL= good
-
-hls_DEPENDS= multimedia/gstreamer-plugins-hls
-hls_IMPL= bad
-
-kate_DEPENDS= multimedia/gstreamer-plugins-kate
-kate_IMPL= bad
-
-libav_DEPENDS= multimedia/gstreamer-libav
-libav_GST_PREFIX= gstreamer1-
-libav_GST_SUFX= # empty
-libav_GST_VERSION= 1.0.0
-libav_IMPL= #
-
-libde265_DEPENDS= multimedia/gstreamer-plugins-libde265
-libde265_IMPL= bad
-
-mm_DEPENDS= multimedia/gstreamermm
-mm_GST_PREFIX= gstreamer
-mm_GST_SUFX= # empty
-mm_GST_VERSION= 1.10.0
-mm_IMPL= #
-
-mpeg2dec_DEPENDS= multimedia/gstreamer-plugins-mpeg2dec
-mpeg2dec_IMPL= ugly
-
-mpeg2enc_DEPENDS= multimedia/gstreamer-plugins-mpeg2enc
-mpeg2enc_IMPL= bad
-
-mplex_DEPENDS= multimedia/gstreamer-plugins-mplex
-mplex_IMPL= bad
-
-openh264_DEPENDS= multimedia/gstreamer-plugins-openh264
-openh264_IMPL= bad
-
-rtmp_DEPENDS= multimedia/gstreamer-plugins-rtmp
-rtmp_IMPL= bad
-
-smoothstreaming_DEPENDS= multimedia/gstreamer-plugins-smoothstreaming
-smoothstreaming_IMPL= bad
-
-ttml_DEPENDS= multimedia/gstreamer-plugins-ttml
-ttml_IMPL= bad
-
-v4l2_DEPENDS= multimedia/gstreamer-plugins-v4l2
-v4l2_IMPL= good
-
-# hmmm
-vaapi_DEPENDS= multimedia/gstreamer-vaapi
-vaapi_IMPL= bad
-
-vpx_DEPENDS= multimedia/gstreamer-plugins-vpx
-vpx_IMPL= good
-
-vulkan_DEPENDS= graphics/gstreamer-plugins-vulkan
-vulkan_IMPL= bad
-
-resindvd_DEPENDS= multimedia/gstreamer-plugins-resindvd
-resindvd_IMPL= bad
-
-theora_DEPENDS= multimedia/gstreamer-plugins-theora
-theora_IMPL= #
-
-ugly_DEPENDS= multimedia/gstreamer-plugins-ugly
-ugly_IMPL= #
-
-x264_DEPENDS= multimedia/gstreamer-plugins-x264
-x264_IMPL= ugly
-
-x265_DEPENDS= multimedia/gstreamer-plugins-x265
-x265_IMPL= bad
-
-#-- Net Plugins Section ---------------------------------------------------#
-
-libmms_DEPENDS= net/gstreamer-plugins-libmms
-libmms_IMPL= bad
-
-srtp_DEPENDS= net/gstreamer-plugins-srtp
-srtp_IMPL= bad
-
-#-- security plugins section ----------------------------------------------#
-
-dtls_DEPENDS= security/gstreamer-plugins-dtls
-dtls_IMPL= bad
-
-#-- sysutils plugins section ----------------------------------------------#
-
-cdio_DEPENDS= sysutils/gstreamer-plugins-cdio
-cdio_IMPL= ugly
-
-#-- x11 plugins section ---------------------------------------------------#
-
-x_DEPENDS= x11/gstreamer-plugins-x
-x_IMPL= #
-
-ximagesrc_DEPENDS= x11/gstreamer-plugins-ximagesrc
-ximagesrc_IMPL= good
-
-#-- x11-toolkits plugins section ------------------------------------------#
-
-gtk_DEPENDS= x11-toolkits/gstreamer-plugins-gtk
-gtk_IMPL= bad
-
-gtk4_DEPENDS= x11-toolkits/gstreamer-plugins-gtk4
-gtk4_IMPL= good
-
-pango_DEPENDS= x11-toolkits/gstreamer-plugins-pango
-pango_IMPL= #
-
-#--------------------------------------------------------------------------#
-
-.if defined(_POSTMKINCLUDED) && !defined(Gstreamer_Post_Include)
-Gstreamer_Post_Include= bsd.gstreamer.mk
-
-. if (defined (USE_GSTREAMER) && defined(USE_GSTREAMER1))
-IGNORE= USE_GSTREAMER and USE_GSTREAMER1 can't be used together
-. endif
-
-_GST_IMPL_LIST:= #
-
-. if defined(USE_GSTREAMER)
-# update this with the gst 1.0 version below
-. for ext in ${USE_GSTREAMER}
-${ext}_GST_PREFIX?= gstreamer-plugins-
-${ext}_GST_VERSION?= ${GST_VERSION}${GST_MINOR_VERSION}
-${ext}_NAME?= ${ext}
-. if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_DEPENDS})
-_GST_BUILD_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME}>=${${ext}_GST_VERSION}:${${ext}_DEPENDS}
-_GST_RUN_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME}>=${${ext}_GST_VERSION}:${${ext}_DEPENDS}
-_GST_GST_IMPL_LIST+= ${${ext}_IMPL}
-. else
-IGNORE= cannot install: unknown gstreamer ${GST_VERSION} plugin -- ${ext}
-. endif
-. endfor
-
-# everything wants this
-_GST_BUILD_DEPENDS+= gstreamer-plugins>=0:multimedia/gstreamer-plugins
-_GST_LIB_DEPENDS+= libgstreamer-0.10.so:multimedia/gstreamer
-_GST_RUN_DEPENDS+= gstreamer-plugins>=0:multimedia/gstreamer-plugins
-
-. for plugin in ${_GST_IMPL_LIST:O:u}
-_GST_BUILD_DEPENDS+= gstreamer-plugins-${plugin}>=0:multimedia/gstreamer-plugins-${plugin}
-_GST_RUN_DEPENDS+= gstreamer-plugins-${plugin}>=0:multimedia/gstreamer-plugins-${plugin}
-. endfor
-
-BUILD_DEPENDS+= ${_GST_BUILD_DEPENDS:O:u}
-LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u}
-RUN_DEPENDS+= ${_GST_RUN_DEPENDS:O:u}
-. endif
-
-. if defined(USE_GSTREAMER1)
-. for ext in ${USE_GSTREAMER1}
-${ext}_GST_PREFIX?= gstreamer1-plugins-
-${ext}_GST_VERSION?= ${GST1_VERSION}
-${ext}_NAME10?= ${ext}
-${ext}_GST_DEPENDS?= ${${ext}_DEPENDS:S,gstreamer-,gstreamer1-,}
-. if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_GST_DEPENDS})
-_GST_BUILD_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME10}>=${${ext}_GST_VERSION}:${${ext}_GST_DEPENDS}
-_GST_RUN_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME10}>=${${ext}_GST_VERSION}:${${ext}_GST_DEPENDS}
-. if defined(${ext}1_IMPL)
-_GST_IMPL_LIST+= ${${ext}1_IMPL}
-. else
-_GST_IMPL_LIST+= ${${ext}_IMPL}
-. endif
-. else
-IGNORE= cannot install: unknown gstreamer ${GST1_VERSION} plugin -- ${ext}
-. endif
-. endfor
-
-# everything wants this
-_GST_BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}:multimedia/gstreamer1-plugins
-_GST_LIB_DEPENDS+= libgstreamer-1.0.so:multimedia/gstreamer1
-_GST_RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}:multimedia/gstreamer1-plugins
-
-. for plugin in ${_GST_IMPL_LIST:O:u}
-_GST_BUILD_DEPENDS+= gstreamer1-plugins-${plugin}>=${GST1_VERSION}:multimedia/gstreamer1-plugins-${plugin}
-_GST_RUN_DEPENDS+= gstreamer1-plugins-${plugin}>=${GST1_VERSION}:multimedia/gstreamer1-plugins-${plugin}
-. endfor
-
-BUILD_DEPENDS+= ${_GST_BUILD_DEPENDS:O:u}
-LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u}
-RUN_DEPENDS+= ${_GST_RUN_DEPENDS:O:u}
-. endif
-
-# The End
-.endif
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index e060d8fbf747..be720a035d87 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1421,10 +1421,6 @@ USES+=mysql:${USE_MYSQL}
.include "${PORTSDIR}/Mk/bsd.wx.mk"
. endif
-. if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1)
-.include "${PORTSDIR}/Mk/bsd.gstreamer.mk"
-. endif
-
. if !defined(UID)
UID!= ${ID} -u
. endif
@@ -1937,10 +1933,6 @@ _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \
.sinclude "${odir}/Mk/bsd.overlay.mk"
. endfor
-. if defined(USE_GSTREAMER1)
-.include "${PORTSDIR}/Mk/bsd.gstreamer.mk"
-. endif
-
. if defined(USE_JAVA)
.include "${PORTSDIR}/Mk/bsd.java.mk"
. endif
@@ -3750,7 +3742,7 @@ deinstall:
. if !target(deinstall-all)
deinstall-all:
-.if ${UID} != 0 && !defined(INSTALL_AS_USER)
+. if ${UID} != 0 && !defined(INSTALL_AS_USER)
@${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target"
@cd ${.CURDIR} && \
${SU_CMD} "${MAKE} ${.TARGET}"
diff --git a/audio/exaile/Makefile b/audio/exaile/Makefile
index b5a59a29ab89..124fd7a3adf1 100644
--- a/audio/exaile/Makefile
+++ b/audio/exaile/Makefile
@@ -16,10 +16,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb3>0:databases/py-bsddb3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gstreamer1>0:multimedia/py-gstreamer1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR}
-USES= desktop-file-utils gmake gnome python:3.6+
+USES= desktop-file-utils gmake gnome gstreamer python:3.6+
USE_GITHUB= yes
USE_GNOME= gtk30 librsvg2 pygobject3
-USE_GSTREAMER1= faad good
+USE_GSTREAMER= faad good
MAKE_ENV= EPREFIX=${PREFIX} \
MANPREFIX=${PREFIX} \
diff --git a/audio/faudio/Makefile b/audio/faudio/Makefile
index 09894023a561..853f6d1ce79c 100644
--- a/audio/faudio/Makefile
+++ b/audio/faudio/Makefile
@@ -21,9 +21,8 @@ OPTIONS_DEFAULT= GSTREAMER
GSTREAMER_DESC= WMA/XMA support via GStreamer
-GSTREAMER_USES= gettext-runtime gnome pkgconfig
-GSTREAMER_USE= GNOME=glib20 \
- GSTREAMER1=yes
+GSTREAMER_USES= gettext-runtime gnome gstreamer pkgconfig
+GSTREAMER_USE= GNOME=glib20
GSTREAMER_CMAKE_BOOL= GSTREAMER
do-test:
diff --git a/audio/gnome-music/Makefile b/audio/gnome-music/Makefile
index e2eb3fbf78cb..9f4722254c3d 100644
--- a/audio/gnome-music/Makefile
+++ b/audio/gnome-music/Makefile
@@ -26,11 +26,11 @@ RUN_DEPENDS= grilo-plugins>0:net/grilo-plugins
PORTSCOUT= limitw:1,even
-USES= desktop-file-utils gettext gnome localbase meson pkgconfig \
+USES= desktop-file-utils gettext gnome gstreamer localbase meson pkgconfig \
python:3.4+ shebangfix tar:xz
USE_LDCONFIG= yes
USE_GNOME= cairo gtk40 introspection pygobject3
-USE_GSTREAMER1= mpg123 ogg
+USE_GSTREAMER= mpg123 ogg
SHEBANG_FILES= gnome-music.in
BINARY_ALIAS= python3=${PYTHON_VERSION}
diff --git a/audio/gnome-podcasts/Makefile b/audio/gnome-podcasts/Makefile
index 662bbe9cd77a..f11e8aa8f0c1 100644
--- a/audio/gnome-podcasts/Makefile
+++ b/audio/gnome-podcasts/Makefile
@@ -17,10 +17,10 @@ BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libhandy-1.so:x11-toolkits/libhandy
-USES= cargo gettext gnome meson pkgconfig python:build shebangfix sqlite ssl
+USES= cargo gettext gnome gstreamer meson pkgconfig python:build shebangfix sqlite ssl
USE_GITLAB= yes
USE_GNOME= gdkpixbuf2 gtk30
-USE_GSTREAMER1= bad good libav
+USE_GSTREAMER= bad good libav
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_COMMIT= c86f7bfdef7692bbf20f315a90450321f6ca9ce7
diff --git a/audio/goobox/Makefile b/audio/goobox/Makefile
index ed45d37bd64a..48b69a41ae73 100644
--- a/audio/goobox/Makefile
+++ b/audio/goobox/Makefile
@@ -18,11 +18,10 @@ LIB_DEPENDS= libdiscid.so:audio/libdiscid \
libbrasero-media3.so:sysutils/brasero \
libunique-1.0.so:x11-toolkits/unique
-USES= desktop-file-utils gettext gnome meson pkgconfig \
+USES= desktop-file-utils gettext gnome gstreamer meson pkgconfig \
python:3.5+,build tar:xz xorg
USE_GNOME= glib20 gtk30 intlhack
USE_XORG= x11
-USE_GSTREAMER1= yes
INSTALL_TARGET= install-strip
BINARY_ALIAS= python3=${PYTHON_CMD}
diff --git a/audio/gradio/Makefile b/audio/gradio/Makefile
index 59e98f6988e7..ea6ea67d188b 100644
--- a/audio/gradio/Makefile
+++ b/audio/gradio/Makefile
@@ -15,12 +15,12 @@ BUILD_DEPENDS= valac:lang/vala
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libjson-glib-1.0.so:devel/json-glib
-USES= gettext gnome meson pkgconfig python:3.4+,env sqlite
+USES= gettext gnome gstreamer meson pkgconfig python:3.4+,env sqlite
USE_GITHUB= yes
GH_ACCOUNT= haecker-felix
GH_PROJECT= Gradio
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
-USE_GSTREAMER1= mpg123 soup
+USE_GSTREAMER= mpg123 soup
GLIB_SCHEMAS= de.haeckerfelix.gradio.gschema.xml
diff --git a/audio/gsequencer/Makefile b/audio/gsequencer/Makefile
index c505b845493d..f8b5d282d229 100644
--- a/audio/gsequencer/Makefile
+++ b/audio/gsequencer/Makefile
@@ -24,10 +24,9 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
RUN_DEPENDS= dssi>0:audio/dssi
-USES= desktop-file-utils gettext-runtime gettext-tools gmake gnome libtool localbase pkgconfig shared-mime-info xorg
+USES= desktop-file-utils gettext-runtime gettext-tools gmake gnome gstreamer libtool localbase pkgconfig shared-mime-info xorg
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango
USE_XORG= x11
-USE_GSTREAMER1= yes
USE_GCC= yes # the project uses gnu99 extensions, clang fails even with USE_CSTD=gnu99. Suggestions how to build with clang are welcome.
USE_CSTD= gnu99
USE_LDCONFIG= yes
diff --git a/audio/gstreamer1-plugins-sndio/Makefile b/audio/gstreamer1-plugins-sndio/Makefile
index 7f584c7f12ae..e1c085214a9a 100644
--- a/audio/gstreamer1-plugins-sndio/Makefile
+++ b/audio/gstreamer1-plugins-sndio/Makefile
@@ -9,11 +9,9 @@ COMMENT= Sndio audio sink and source for GStreamer
LICENSE= ISCL
-LIB_DEPENDS= libgstaudio-1.0.so:multimedia/gstreamer1-plugins \
- libgstbase-1.0.so:multimedia/gstreamer1 \
- libsndio.so:audio/sndio
+LIB_DEPENDS= libsndio.so:audio/sndio
-USES= gnome pkgconfig
+USES= gnome gstreamer pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= t6
USE_GNOME= glib20
diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile
index a1b9da87a74a..76b99d7bbe9d 100644
--- a/audio/libcanberra/Makefile
+++ b/audio/libcanberra/Makefile
@@ -50,7 +50,7 @@ PLIST_SUB+= PULSE="@comment "
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
-USE_GSTREAMER1= yes
+USES+= gstreamer
PLIST_SUB+= GSTREAMER=""
.else
CONFIGURE_ARGS+=--disable-gstreamer
diff --git a/audio/lollypop/Makefile b/audio/lollypop/Makefile
index 8c31dee12b4b..cbab38169175 100644
--- a/audio/lollypop/Makefile
+++ b/audio/lollypop/Makefile
@@ -24,14 +24,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.8:databases/py-sqlite3@${PY_FLA
${PYTHON_PKGNAMEPREFIX}pylast>=1.4.0:audio/py-pylast@${PY_FLAVOR} \
${PY_PILLOW}
-USES= python:3.6+ pkgconfig gnome gettext meson shebangfix sqlite desktop-file-utils
+USES= python:3.6+ pkgconfig gnome gettext gstreamer meson shebangfix sqlite desktop-file-utils
USE_GITLAB= yes
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_COMMIT= 5b2d95f4f8509d80fa86ab7d65b118326dc82a95
GL_TUPLE= gnumdk:lollypop-po:94a7300004ec15adfd596c7d2b8670bbf5c2e33a:po/subprojects/po
USE_GNOME= glib20 gtk30 pygobject3 introspection:build intltool intlhack
-USE_GSTREAMER1= yes mpg123 ogg flac opus libav faad good speex
+USE_GSTREAMER= mpg123 ogg flac opus libav faad good speex
USE_PYTHON= py3kplist
SHEBANG_FILES= lollypop.in search-provider/lollypop-sp.in meson_post_install.py
@@ -41,6 +41,6 @@ GLIB_SCHEMAS= org.gnome.Lollypop.gschema.xml
BINARY_ALIAS= python3=${PYTHON_VERSION}
OPTIONS_DEFINE= PULSEAUDIO
-PULSEAUDIO_USE= gstreamer1=pulse
+PULSEAUDIO_USE= gstreamer=pulse
.include <bsd.port.mk>
diff --git a/audio/moodbar/Makefile b/audio/moodbar/Makefile
index 95aadc8ffd6c..ab71d4cdbcb2 100644
--- a/audio/moodbar/Makefile
+++ b/audio/moodbar/Makefile
@@ -12,10 +12,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfftw3.so:math/fftw3
TEST_DEPENDS= ${PYNUMPY}
-USES= compiler:c++14-lang gnome meson pkgconfig python:3.5+,test \
+USES= compiler:c++14-lang gnome gstreamer meson pkgconfig python:3.5+,test \
shebangfix tar:xz
USE_GNOME= glib20
-USE_GSTREAMER1= yes good ogg vorbis
+USE_GSTREAMER= good ogg vorbis
PLIST_FILES= bin/moodbar
SHEBANG_FILES= test.py
diff --git a/audio/mp3splt-gtk/Makefile b/audio/mp3splt-gtk/Makefile
index 103bb5c6531d..d594c7c1468a 100644
--- a/audio/mp3splt-gtk/Makefile
+++ b/audio/mp3splt-gtk/Makefile
@@ -21,8 +21,7 @@ LIB_DEPENDS= libmp3splt.so:audio/libmp3splt \
libid3tag.so:audio/libid3tag \
libltdl.so:devel/libltdl
-USES= desktop-file-utils gmake gnome pkgconfig
-USE_GSTREAMER1= yes
+USES= desktop-file-utils gmake gnome gstreamer pkgconfig
USE_GNOME= gtk30
GNU_CONFIGURE= yes
diff --git a/audio/mpz/Makefile b/audio/mpz/Makefile
index b91102d4cebc..b0df07bb32dc 100644
--- a/audio/mpz/Makefile
+++ b/audio/mpz/Makefile
@@ -15,8 +15,8 @@ LIB_DEPENDS= libtag.so:audio/taglib \
USE_GITHUB= yes
GH_ACCOUNT= olegantonyan
-USES= compiler:c++11-lang desktop-file-utils qmake qt:5
-USE_GSTREAMER1= flac libav mpg123 ogg opus vorbis
+USES= compiler:c++11-lang desktop-file-utils gstreamer qmake qt:5
+USE_GSTREAMER= flac libav mpg123 ogg opus vorbis
USE_QT= buildtools_build concurrent core dbus gui multimedia \
network widgets x11extras
diff --git a/audio/pianod2/Makefile b/audio/pianod2/Makefile
index 78eb5f6f6dc8..55c066464145 100644
--- a/audio/pianod2/Makefile
+++ b/audio/pianod2/Makefile
@@ -27,10 +27,10 @@ LIB_DEPENDS= libao.so:audio/libao \
libtag.so:audio/taglib
RUN_DEPENDS= mksh>0:shells/mksh
-USES= autoreconf compiler:c11 gettext gmake gnome pkgconfig shebangfix
+USES= autoreconf compiler:c11 gettext gmake gnome gstreamer pkgconfig shebangfix
USE_GNOME= glib20
-USE_GSTREAMER1= ffmpeg
+USE_GSTREAMER= #ffmpeg
USE_RC_SUBR= pianod
diff --git a/audio/pithos/Makefile b/audio/pithos/Makefile
index 2aaca336e907..ed6eecc6873c 100644
--- a/audio/pithos/Makefile
+++ b/audio/pithos/Makefile
@@ -20,11 +20,11 @@ RUN_DEPENDS= gnome-keyring:security/gnome-keyring \
${PYTHON_PKGNAMEPREFIX}pylast>0:audio/py-pylast@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/xdg/__init__.py:devel/py-xdg@${PY_FLAVOR}
-USES= pkgconfig:run python:3.6+ gnome meson ninja gettext shebangfix
+USES= pkgconfig:run python:3.6+ gnome gstreamer meson ninja gettext shebangfix
USE_GITHUB= yes
USE_GNOME= glib20
-USE_GSTREAMER1= core good bad soup
+USE_GSTREAMER= core good bad soup
GLIB_SCHEMAS= io.github.Pithos.gschema.xml
diff --git a/audio/pragha/Makefile b/audio/pragha/Makefile
index 553f403f3cca..566cc3c62694 100644
--- a/audio/pragha/Makefile
+++ b/audio/pragha/Makefile
@@ -18,11 +18,11 @@ LIB_DEPENDS= libtag.so:audio/taglib \
libsoup-2.4.so:devel/libsoup \
libtotem-plparser.so:multimedia/totem-pl-parser
-USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \
+USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome gstreamer \
libtool pkgconfig sqlite tar:bz2
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk30 intltool intlhack
-USE_GSTREAMER1= yes faad flac libav mpg123 ogg speex
+USE_GSTREAMER= faad flac libav mpg123 ogg speex
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
diff --git a/audio/pulseeffects/Makefile b/audio/pulseeffects/Makefile
index 54af564c3ebc..4f8ac34d41f3 100644
--- a/audio/pulseeffects/Makefile
+++ b/audio/pulseeffects/Makefile
@@ -40,10 +40,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
zam-plugins-lv2>0:audio/zam-plugins-lv2
USES= compiler:c++17-lang desktop-file-utils libtool \
- localbase:ldflags gettext gnome meson ninja pathfix pkgconfig \
+ localbase:ldflags gettext gnome gstreamer meson ninja pathfix pkgconfig \
python:3.6+ shebangfix
USE_GNOME= cairo gtkmm30 libsigc++20 pygobject3
-USE_GSTREAMER1= bad bs2b good ladspa lv2 pulse webrtcdsp
+USE_GSTREAMER= bad bs2b good ladspa lv2 pulse webrtcdsp
USE_LDCONFIG= yes
USE_GITHUB= yes
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile
index 61a0e1df2780..f2b7194f10ee 100644
--- a/audio/rhythmbox/Makefile
+++ b/audio/rhythmbox/Makefile
@@ -29,13 +29,13 @@ LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 \
libgudev-1.0.so:devel/libgudev \
libtdb.so:databases/tdb
-USES= desktop-file-utils gmake gnome libtool localbase \
+USES= desktop-file-utils gmake gnome gstreamer libtool localbase \
pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo intlhack glib20 gnomeprefix gtk30 introspection \
pygobject3 libxml2
USE_XORG= ice x11 xorgproto
GNU_CONFIGURE= yes
-USE_GSTREAMER1= flac lame jpeg cdparanoia vorbis
+USE_GSTREAMER= flac lame jpeg cdparanoia vorbis
CONFIGURE_ARGS= --enable-vala \
--enable-visualizer=no \
--with-python=yes \
diff --git a/audio/sayonara/Makefile b/audio/sayonara/Makefile
index 904a6d0fb0ab..b90275314f82 100644
--- a/audio/sayonara/Makefile
+++ b/audio/sayonara/Makefile
@@ -13,10 +13,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libtag.so:audio/taglib \
libmtp.so:multimedia/libmtp
-USES= cmake compiler:c++11-lib desktop-file-utils gnome pkgconfig \
+USES= cmake compiler:c++11-lib desktop-file-utils gnome gstreamer pkgconfig \
qt:5 python shebangfix
USE_GNOME= glib20
-USE_GSTREAMER1= flac libav mpg123 ogg opus vorbis
+USE_GSTREAMER= flac libav mpg123 ogg opus vorbis
USE_QT= dbus core gui network sql sql-sqlite3_run svg widgets xml \
buildtools_build qmake_build linguisttools_build
diff --git a/audio/shortwave/Makefile b/audio/shortwave/Makefile
index d3bf9c933f28..4feec4d8e46e 100644
--- a/audio/shortwave/Makefile
+++ b/audio/shortwave/Makefile
@@ -13,10 +13,10 @@ IGNORE= crashes with libadwaita >= 1.0
LIB_DEPENDS= libdbus-1.so:devel/dbus
-USES= cargo gettext gnome meson pkgconfig python:build shebangfix sqlite ssl
+USES= cargo gettext gnome gstreamer meson pkgconfig python:build shebangfix sqlite ssl
USE_GITLAB= yes
USE_GNOME= gdkpixbuf2 gtk40 libadwaita
-USE_GSTREAMER1= good libav soup vorbis
+USE_GSTREAMER= good libav soup vorbis
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_PROJECT= Shortwave
@@ -284,7 +284,7 @@ CARGO_TEST= no
OPTIONS_DEFINE= PULSEAUDIO
OPTIONS_DEFAULT=PULSEAUDIO
-PULSEAUDIO_USE= GSTREAMER1=pulse
+PULSEAUDIO_USE= GSTREAMER=pulse
pre-patch:
# Chase gtk-rs -> gtk3-rs rename for USES=cargo patching
diff --git a/audio/sound-juicer/Makefile b/audio/sound-juicer/Makefile
index 1289d513ecef..44fa97fe3de4 100644
--- a/audio/sound-juicer/Makefile
+++ b/audio/sound-juicer/Makefile
@@ -24,9 +24,9 @@ LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 \
PORTSCOUT= limitw:1,even
-USES= compiler:c11 desktop-file-utils gettext gnome meson \
+USES= compiler:c11 desktop-file-utils gettext gnome gstreamer meson \
pkgconfig tar:xz
-USE_GSTREAMER1= cdparanoia flac good vorbis
+USE_GSTREAMER= cdparanoia flac good vorbis
USE_GNOME= gtk30
INSTALL_TARGET= install-strip
diff --git a/audio/strawberry/Makefile b/audio/strawberry/Makefile
index 382982efdecb..09f1d4514c0e 100644
--- a/audio/strawberry/Makefile
+++ b/audio/strawberry/Makefile
@@ -18,11 +18,10 @@ LIB_DEPENDS= libgnutls.so:security/gnutls \
TEST_DEPENDS= googletest>=0:devel/googletest
USES= compiler:c++11-lang cmake desktop-file-utils gnome \
- gettext-runtime gettext-tools iconv pkgconfig \
+ gettext-runtime gettext-tools gstreamer iconv pkgconfig \
qt:5 sqlite pkgconfig tar:xz xorg
USE_GNOME= glib20
-USE_GSTREAMER1= yes
USE_QT= buildtools_build concurrent core dbus gui network \
linguisttools qmake_build sql sql-sqlite3 testlib_build \
widgets x11extras
diff --git a/deskutils/alarm-clock-applet/Makefile b/deskutils/alarm-clock-applet/Makefile
index 993f73d1fac8..762784754d08 100644
--- a/deskutils/alarm-clock-applet/Makefile
+++ b/deskutils/alarm-clock-applet/Makefile
@@ -19,9 +19,8 @@ BUILD_DEPENDS= gnome-icon-theme>0:misc/gnome-icon-theme
RUN_DEPENDS= gnome-icon-theme>0:misc/gnome-icon-theme
GNU_CONFIGURE= yes
-USES= gettext-tools gmake gnome pkgconfig
+USES= gettext-tools gmake gnome gstreamer pkgconfig
USE_GNOME= cairo gconf2 gtk20 intltool
-USE_GSTREAMER1= yes
GCONF_SCHEMAS= alarm-clock.schemas
diff --git a/deskutils/gnome-pomodoro/Makefile b/deskutils/gnome-pomodoro/Makefile
index 51fbc94c9125..f06935bb8066 100644
--- a/deskutils/gnome-pomodoro/Makefile
+++ b/deskutils/gnome-pomodoro/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= libcanberra.so:audio/libcanberra \
libgom-1.0.so:databases/gom \
libpeas-1.0.so:devel/libpeas
-USES= desktop-file-utils gettext-tools gmake gnome libtool meson \
+USES= desktop-file-utils gettext-tools gmake gnome gstreamer libtool meson \
pkgconfig sqlite
USE_GITHUB= yes
@@ -23,7 +23,6 @@ USE_GITHUB= yes
# from vala source. USE_GCC=yes is a temporary workaround to this issue.
USE_GCC= yes
USE_GNOME= cairo glib20 gtk30 introspection
-USE_GSTREAMER1= yes
GLIB_SCHEMAS= org.gnome.pomodoro.gschema.xml \
org.gnome.pomodoro.plugins.actions.gschema.xml \
diff --git a/deskutils/gnome-sound-recorder/Makefile b/deskutils/gnome-sound-recorder/Makefile
index 9406d9c13db6..00278406a9d4 100644
--- a/deskutils/gnome-sound-recorder/Makefile
+++ b/deskutils/gnome-sound-recorder/Makefile
@@ -18,9 +18,9 @@ LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita \
PORTSCOUT= limitw:1,even
-USES= gettext gnome localbase meson pkgconfig python:3.4+ tar:xz
+USES= gettext gnome gstreamer localbase meson pkgconfig python:3.4+ tar:xz
USE_GNOME= gtk40 intlhack introspection
-USE_GSTREAMER1= bad flac ogg pulse
+USE_GSTREAMER= bad flac ogg pulse
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_CMD}
GLIB_SCHEMAS= org.gnome.SoundRecorder.gschema.xml
diff --git a/deskutils/lumina-mediaplayer/Makefile b/deskutils/lumina-mediaplayer/Makefile
index f36552a89278..5c65b64e33c4 100644
--- a/deskutils/lumina-mediaplayer/Makefile
+++ b/deskutils/lumina-mediaplayer/Makefile
@@ -11,11 +11,9 @@ COMMENT= Streaming media player from the Lumina Desktop
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/../../../LICENSE
-RUN_DEPENDS= gstreamer1-qt5>=0:multimedia/gstreamer1-qt \
- gstreamer1-plugins-gl>=0:graphics/gstreamer1-plugins-gl
-
-USES= compiler:c++11-lang desktop-file-utils gl qmake qt:5
+USES= compiler:c++11-lang desktop-file-utils gl gstreamer qmake qt:5
USE_GL= gl
+USE_GSTREAMER= gl
USE_QT= buildtools_build core concurrent gui \
multimedia network svg widgets x11extras
USE_GITHUB= yes
diff --git a/deskutils/solanum/Makefile b/deskutils/solanum/Makefile
index 736f532578fd..95a2b267b392 100644
--- a/deskutils/solanum/Makefile
+++ b/deskutils/solanum/Makefile
@@ -12,10 +12,10 @@ COMMENT= Pomodoro timer for the GNOME desktop
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-USES= cargo gettext gnome meson pkgconfig python:build shebangfix
+USES= cargo gettext gnome gstreamer meson pkgconfig python:build shebangfix
USE_GITLAB= yes
USE_GNOME= gtk40 libadwaita
-USE_GSTREAMER1= bad good vorbis
+USE_GSTREAMER= bad good vorbis
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_PROJECT= Solanum
diff --git a/deskutils/spice-gtk/Makefile b/deskutils/spice-gtk/Makefile
index 2ca089c4088a..9fd348132c7c 100644
--- a/deskutils/spice-gtk/Makefile
+++ b/deskutils/spice-gtk/Makefile
@@ -18,11 +18,10 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_F
spice-protocol>=0.12.15:devel/spice-protocol
RUN_DEPENDS= spice-protocol>=0.12.15:devel/spice-protocol
-USES= autoreconf compiler:c11 cpe gettext-tools gmake gnome jpeg \
+USES= autoreconf compiler:c11 cpe gettext-tools gmake gnome gstreamer jpeg \
libtool localbase:ldflags pkgconfig python ssl tar:bzip2 xorg
USE_XORG= pixman x11
USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 intltool introspection:build
-USE_GSTREAMER1= yes
CPE_VENDOR= spice-gtk_project
diff --git a/deskutils/xfce4-tumbler/Makefile b/deskutils/xfce4-tumbler/Makefile
index 9cb5d67ed45f..794e946adf28 100644
--- a/deskutils/xfce4-tumbler/Makefile
+++ b/deskutils/xfce4-tumbler/Makefile
@@ -55,7 +55,7 @@ FONTS_CONFIGURE_ENABLE= font-thumbnailer
FONTS_LIB_DEPENDS= libfreetype.so:print/freetype2
GSTREAMER_CONFIGURE_ENABLE= gstreamer-thumbnailer
-GSTREAMER_USE= gstreamer1=yes
+GSTREAMER_USES= gstreamer
JPEG_CONFIGURE_ENABLE= jpeg-thumbnailer
JPEG_LIB_DEPENDS= libexif.so:graphics/libexif
diff --git a/devel/efl/Makefile b/devel/efl/Makefile
index e5ba0f4c863c..d9a8dc026722 100644
--- a/devel/efl/Makefile
+++ b/devel/efl/Makefile
@@ -122,7 +122,8 @@ WAYLAND_LDFLAGS= -lepoll-shim
WAYLAND_MESON_TRUE= wl
WAYLAND_BROKEN= Wayland bits compile but don't yet work at runtime
-GSTREAMER_USE= GSTREAMER1=core
+GSTREAMER_USES= gstreamer
+GSTREAMER_USE= GSTREAMER=core
GSTREAMER_MESON_TRUE= gstreamer
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
diff --git a/devel/libspice-server/Makefile b/devel/libspice-server/Makefile
index 4f0194179fad..528064f3c604 100644
--- a/devel/libspice-server/Makefile
+++ b/devel/libspice-server/Makefile
@@ -19,9 +19,9 @@ OPTIONS_DEFINE= GSTREAMER LZ4 SASL STATISTICS
OPTIONS_DEFAULT= GSTREAMER LZ4 SASL
STATISTICS_DESC= Statistic code
+GSTREAMER_USES= gstreamer
GSTREAMER_CONFIGURE_ON= --enable-gstreamer=1.0
GSTREAMER_CONFIGURE_OFF= --enable-gstreamer=no
-GSTREAMER_USE= gstreamer1=yes
GSTREAMER_LIB_DEPENDS= liborc-0.4.so:devel/orc
LZ4_CONFIGURE_ENABLE= lz4
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index a7069da25a02..d55af9c4a08f 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -210,8 +210,8 @@ KF5_IMPLIES= QT5
LTO_CONFIGURE_ENABLE= lto
+MMEDIA_USES= gstreamer
MMEDIA_CONFIGURE_ENABLE= gstreamer-1-0
-MMEDIA_USE= GSTREAMER1=yes
PDFIUM_CONFIGURE_ENABLE= pdfium
PDFIUM_DISTFILES= pdfium-4699.tar.bz2:src
diff --git a/editors/openoffice-devel/Makefile b/editors/openoffice-devel/Makefile
index 19d793650b29..eab8e02f7613 100644
--- a/editors/openoffice-devel/Makefile
+++ b/editors/openoffice-devel/Makefile
@@ -191,7 +191,7 @@ GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib
MMEDIA_CONFIGURE_ENABLE= gstreamer
-MMEDIA_USE= GSTREAMER1=yes
+MMEDIA_USES= gstreamer
MYSQL_CONFIGURE_ENABLE= mysql-connector
MYSQL_CONFIGURE_WITH= system-mysql
diff --git a/emulators/wine-proton/Makefile b/emulators/wine-proton/Makefile
index 5e51565b34da..a648a13c545f 100644
--- a/emulators/wine-proton/Makefile
+++ b/emulators/wine-proton/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= libFAudio.so:audio/faudio \
libvulkan.so:graphics/vulkan-loader \
libxml2.so:textproc/libxml2
-USES= bison desktop-file-utils gettext-runtime gl gmake gnome jpeg localbase openal pkgconfig sdl shebangfix tar:xz xorg
+USES= bison desktop-file-utils gettext-runtime gl gmake gnome gstreamer jpeg localbase openal pkgconfig sdl shebangfix tar:xz xorg
USE_GCC= yes
USE_GITHUB= yes
@@ -33,7 +33,7 @@ GH_TAGNAME= 97f962cd469ee9b9b68d32e79849bf94cfe15581
USE_GL= gl
USE_GNOME= glib20
-USE_GSTREAMER1= good
+USE_GSTREAMER= good
USE_SDL= sdl2
USE_XORG= x11 xext xcomposite xcursor xi xinerama xrandr xrender
diff --git a/games/eboard/Makefile b/games/eboard/Makefile
index 183a2b2b56a4..cb9094e26924 100644
--- a/games/eboard/Makefile
+++ b/games/eboard/Makefile
@@ -20,11 +20,10 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png
-USES= compiler:c++11-lang gnome perl5 pkgconfig shebangfix tar:bzip2
+USES= compiler:c++11-lang gnome gstreamer perl5 pkgconfig shebangfix tar:bzip2
USE_GITHUB= yes
GH_ACCOUNT= fbergo
USE_GNOME= cairo gdkpixbuf2 gtk20
-USE_GSTREAMER1= yes
USE_PERL5= build
SHEBANG_FILES= configure
diff --git a/games/lordsawar/Makefile b/games/lordsawar/Makefile
index f99f7f72f487..ee55e52647e9 100644
--- a/games/lordsawar/Makefile
+++ b/games/lordsawar/Makefile
@@ -20,7 +20,8 @@ bash_CMD= /bin/sh
OPTIONS_DEFINE= SOUND
OPTIONS_DEFAULT=SOUND
-SOUND_USE= GSTREAMER1=mm,good,ogg,vorbis
+SOUND_USES= gstreamer
+SOUND_USE= GSTREAMER=mm,good,ogg,vorbis
SOUND_CONFIGURE_ENABLE= sound
post-patch:
diff --git a/games/py-pychess/Makefile b/games/py-pychess/Makefile
index f1e17e210d59..46b875acef38 100644
--- a/games/py-pychess/Makefile
+++ b/games/py-pychess/Makefile
@@ -19,12 +19,11 @@ COMMON_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \
RUN_DEPENDS= ${COMMON_DEPENDS}
BUILD_DEPENDS= ${COMMON_DEPENDS}
-USES= desktop-file-utils display:configure gettext gnome python:3.7+
+USES= desktop-file-utils display:configure gettext gnome gstreamer python:3.7+
# DISPLAY must be set at all steps:
.for t in build install stage
_USES_$t+= ${_USES_configure}
.endfor
-USE_GSTREAMER1= yes
USE_PYTHON= distutils autoplist
USE_GNOME= gtksourceview3:run glib20 gtk30 librsvg2 introspection
PYDISTUTILS_INSTALLNOSINGLE= nope
diff --git a/graphics/elementary-photos/Makefile b/graphics/elementary-photos/Makefile
index baecdbc9b63f..89b3b4c7e08f 100644
--- a/graphics/elementary-photos/Makefile
+++ b/graphics/elementary-photos/Makefile
@@ -30,7 +30,7 @@ LIB_DEPENDS= libaccounts-glib.so:net-im/libaccounts-glib \
libwebp.so:graphics/webp \
libxml2.so:textproc/libxml2
-USES= compiler:c11 desktop-file-utils gettext gnome meson \
+USES= compiler:c11 desktop-file-utils gettext gnome gstreamer meson \
ninja pkgconfig sqlite xorg
USE_GITHUB= yes
GH_ACCOUNT= elementary
@@ -38,7 +38,6 @@ GH_PROJECT= photos
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool
GLIB_SCHEMAS= io.elementary.photos-extras.gschema.xml \
io.elementary.photos.gschema.xml
-USE_GSTREAMER1= yes
USE_LDCONFIG= yes
USE_XORG= x11
MESON_BUILD_DIR= build
diff --git a/graphics/entangle/Makefile b/graphics/entangle/Makefile
index d09201921a2d..91db8eaac3a8 100644
--- a/graphics/entangle/Makefile
+++ b/graphics/entangle/Makefile
@@ -19,9 +19,9 @@ LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 \
libpeas-1.0.so:devel/libpeas
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>0:devel/py-libpeas@${PY_FLAVOR}
-USES= compiler:c++11-lang gnome meson pkgconfig python tar:xz xorg
+USES= compiler:c++11-lang gnome gstreamer meson pkgconfig python tar:xz xorg
USE_GNOME= cairo gtk30 intltool introspection
-USE_GSTREAMER1= core
+USE_GSTREAMER= core
USE_XORG= xext
GLIB_SCHEMAS= org.entangle-photo.manager.gschema.xml
USE_LDCONFIG= yes
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 2eecddf87a51..3e576bb76dc4 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -30,10 +30,9 @@ RUN_DEPENDS= adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \
PORTSCOUT= limitw:1,even
SLAVEPORT?= no
-USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome libarchive \
+USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome gstreamer libarchive \
localbase:ldflags meson pkgconfig tar:xz xorg
USE_GNOME= cairo gtk30
-USE_GSTREAMER1= yes
USE_LDCONFIG= yes
USE_XORG= ice
CPE_VENDOR= gnome
diff --git a/graphics/gnome-video-effects/Makefile b/graphics/gnome-video-effects/Makefile
index b32cdc0cc33f..5332494bffe9 100644
--- a/graphics/gnome-video-effects/Makefile
+++ b/graphics/gnome-video-effects/Makefile
@@ -11,8 +11,8 @@ COMMENT= Collection of Gstreamer effects
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gettext meson tar:xz
-USE_GSTREAMER1= good bad
+USES= gettext gstreamer meson tar:xz
+USE_GSTREAMER= good bad
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile
index 3a054dce6730..e8be17b36b27 100644
--- a/graphics/gthumb/Makefile
+++ b/graphics/gthumb/Makefile
@@ -83,7 +83,7 @@ CLUTTER_LIB_DEPENDS= libclutter-gtk-1.0.so:graphics/clutter-gtk3
CLUTTER_MESON_TRUE= clutter
EXIV2_LIB_DEPENDS= libexiv2.so:graphics/exiv2
EXIV2_MESON_TRUE= exiv2
-GSTREAMER_USE= gstreamer1=yes
+GSTREAMER_USES= gstreamer
GSTREAMER_MESON_TRUE= gstreamer
RAW_DESC= Raw image support via libraw
RAW_LIB_DEPENDS= libraw.so:graphics/libraw
diff --git a/graphics/kmscube/Makefile b/graphics/kmscube/Makefile
index 00aa0bfab3fc..d37c4cfacac8 100644
--- a/graphics/kmscube/Makefile
+++ b/graphics/kmscube/Makefile
@@ -24,8 +24,8 @@ PLIST_FILES= bin/${PORTNAME} \
OPTIONS_DEFINE= GSTREAMER PNG
OPTIONS_DEFAULT=PNG
-GSTREAMER_USES= gnome
-GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes
+GSTREAMER_USES= gnome gstreamer
+GSTREAMER_USE= GNOME=glib20
GSTREAMER_MESON_ENABLED=gstreamer
PNG_LIB_DEPENDS= libpng.so:graphics/png
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index ad8d26e9aa0a..aa70fa383f78 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -161,7 +161,7 @@ FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
GSTREAMER_DESC= Add GSTREAMER Support
GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER
-GSTREAMER_USE= GSTREAMER1=yes
+GSTREAMER_USES= gstreamer
V4L_DESC= Enable support for Video for Linux
V4L_CMAKE_BOOL= WITH_V4L WITH_LIBV4L
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index bea5562afc28..58068625a9f4 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -69,8 +69,8 @@ GDAL_VARS_OFF= FORCE_IGNORE+=GDAL
GIF_LIB_DEPENDS= libgif.so:graphics/giflib
GIF_VARS= FORCE_REQUIRE+=GIFLIB
GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB
-GSTREAMER_USES= gnome
-GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes
+GSTREAMER_USES= gnome gstreamer
+GSTREAMER_USE= GNOME=glib20
GSTREAMER_VARS= FORCE_REQUIRE+="GStreamer GLIB"
GSTREAMER_VARS_OFF= FORCE_IGNORE+="GStreamer GLIB"
GTA_LIB_DEPENDS= libgta.so:devel/libgta
diff --git a/graphics/osg34/Makefile b/graphics/osg34/Makefile
index b4ef603c21af..8ee29af2e436 100644
--- a/graphics/osg34/Makefile
+++ b/graphics/osg34/Makefile
@@ -67,7 +67,8 @@ GDAL_VARS_OFF= FORCE_IGNORE+=GDAL
GIF_LIB_DEPENDS= libgif.so:graphics/giflib
GIF_VARS= FORCE_REQUIRE+=GIFLIB
GIF_VARS_OFF= FORCE_IGNORE+=GIFLIB
-GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes
+GSTREAMER_USES= gstreamer
+GSTREAMER_USE= GNOME=glib20
GSTREAMER_VARS= FORCE_REQUIRE+=GStreamer
GSTREAMER_VARS_OFF= FORCE_IGNORE+=GStreamer
GTA_LIB_DEPENDS= libgta.so:devel/libgta
diff --git a/graphics/pdfpc/Makefile b/graphics/pdfpc/Makefile
index e426c0a696bb..597eda3fa791 100644
--- a/graphics/pdfpc/Makefile
+++ b/graphics/pdfpc/Makefile
@@ -18,9 +18,8 @@ LIB_DEPENDS= libgee-0.8.so:devel/libgee \
USE_GITHUB= yes
-USES= cmake compiler:c11 gnome pkgconfig
+USES= cmake compiler:c11 gnome gstreamer pkgconfig
USE_GNOME= gtk30
-USE_GSTREAMER1= yes
CMAKE_ARGS= -DMANDIR:STRING="man/"
diff --git a/graphics/shotwell/Makefile b/graphics/shotwell/Makefile
index 82afb27be2c3..ac8eea654f29 100644
--- a/graphics/shotwell/Makefile
+++ b/graphics/shotwell/Makefile
@@ -25,17 +25,14 @@ LIB_DEPENDS= libgio-2.0.so:devel/glib20 \
libexif.so:graphics/libexif \
libgphoto2.so:graphics/libgphoto2 \
libraw.so:graphics/libraw \
- libgstreamer-1.0.so:multimedia/gstreamer1 \
- libgstapp-1.0.so:multimedia/gstreamer1-plugins \
libgcr-ui-3.so:security/gcr \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
libxml2.so:textproc/libxml2
-USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome meson \
+USES= compiler:c++11-lib cpe desktop-file-utils gettext gnome gstreamer meson \
ninja pkgconfig python:3.4+,build shebangfix sqlite tar:xz xorg
CPE_VENDOR= gnome
USE_GNOME= cairo dconf gtk30
-USE_GSTREAMER1= yes
USE_LDCONFIG= yes
USE_XORG= x11
diff --git a/mail/py-mailnag/Makefile b/mail/py-mailnag/Makefile
index 94979dc4e0c3..8187fff1a944 100644
--- a/mail/py-mailnag/Makefile
+++ b/mail/py-mailnag/Makefile
@@ -16,13 +16,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setproctitle>0:devel/py-setproctitle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
-USES= desktop-file-utils gettext-tools gnome python:3.5+ shebangfix
+USES= desktop-file-utils gettext-tools gnome gstreamer python:3.5+ shebangfix
USE_GITHUB= yes
GH_ACCOUNT= pulb
USE_GNOME= gdkpixbuf2 glib20 gtk30 pygobject3
-USE_GSTREAMER1= yes
USE_PYTHON= autoplist distutils
SHEBANG_FILES= mailnag mailnag-config
diff --git a/misc/copperspice-examples/Makefile b/misc/copperspice-examples/Makefile
index 1a34c8f7118f..0d5cca4709f3 100644
--- a/misc/copperspice-examples/Makefile
+++ b/misc/copperspice-examples/Makefile
@@ -28,10 +28,9 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
BUILD_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice
RUN_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice
-USES= compiler:c++17-lang cmake dos2unix gl gnome iconv jpeg pkgconfig ssl tar:bz2 xorg
+USES= compiler:c++17-lang cmake dos2unix gl gnome gstreamer iconv jpeg pkgconfig ssl tar:bz2 xorg
USE_GL= gl
USE_GNOME= cairo glib20 libxml2
-USE_GSTREAMER1= yes
USE_XORG= ice sm x11 xau xcb xcursor xext xfixes xi xinerama xrandr xrender
PLIST_FILES= bin/kitchensink
diff --git a/multimedia/aravis/Makefile b/multimedia/aravis/Makefile
index b8da0c3824bf..ff27b155fef1 100644
--- a/multimedia/aravis/Makefile
+++ b/multimedia/aravis/Makefile
@@ -13,9 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libaravis-0.8.so:devel/libaravis \
libnotify.so:devel/libnotify
-USES= gettext gnome meson pkgconfig
+USES= gettext gnome gstreamer meson pkgconfig
USE_GNOME= cairo glib20 intltool gtk30
-USE_GSTREAMER1= yes
USE_GITHUB= yes
GH_ACCOUNT= AravisProject
diff --git a/multimedia/cheese/Makefile b/multimedia/cheese/Makefile
index a090701835df..18316b68d41c 100644
--- a/multimedia/cheese/Makefile
+++ b/multimedia/cheese/Makefile
@@ -27,11 +27,11 @@ RUN_DEPENDS= gnome-video-effects>=0:graphics/gnome-video-effects
PORTSCOUT= limitw:1,even
-USES= gettext gl gnome localbase:ldflags pkgconfig meson tar:xz xorg
+USES= gettext gl gnome gstreamer localbase:ldflags pkgconfig meson tar:xz xorg
USE_GNOME= cairo librsvg2 gnomedesktop3 libxml2:build introspection:build
USE_GL= egl
USE_XORG= xi xext xdamage xfixes xcomposite xrandr xxf86vm x11
-USE_GSTREAMER1= bad good jpeg ogg theora v4l2 vorbis vpx
+USE_GSTREAMER= bad good jpeg ogg theora v4l2 vorbis vpx
USE_LDCONFIG= yes
CPPFLAGS+= -Wno-format-nonliteral
diff --git a/multimedia/clutter-gst/Makefile b/multimedia/clutter-gst/Makefile
index 73cf881ff3b7..92439e36a1bd 100644
--- a/multimedia/clutter-gst/Makefile
+++ b/multimedia/clutter-gst/Makefile
@@ -13,12 +13,11 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter
PORTSCOUT= ignore:1
-USES= gl gmake gnome libtool localbase pathfix \
+USES= gl gmake gnome gstreamer libtool localbase pathfix \
pkgconfig tar:xz xorg
USE_GNOME= introspection gnomeprefix
GNU_CONFIGURE= yes
USE_GL= gl
-USE_GSTREAMER1= yes
USE_XORG= x11
USE_LDCONFIG= yes
diff --git a/multimedia/clutter-gst3/Makefile b/multimedia/clutter-gst3/Makefile
index 36fc471086f4..c2355d52e7fd 100644
--- a/multimedia/clutter-gst3/Makefile
+++ b/multimedia/clutter-gst3/Makefile
@@ -19,12 +19,11 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
libfribidi.so:converters/fribidi \
libjson-glib-1.0.so:devel/json-glib
-USES= gettext-runtime gl gmake gnome libtool localbase pathfix \
+USES= gettext-runtime gl gmake gnome gstreamer libtool localbase pathfix \
pkgconfig tar:xz xorg
USE_GNOME= atk cairo gdkpixbuf2 gnomeprefix introspection:build pango
GNU_CONFIGURE= yes
USE_GL= gl egl
-USE_GSTREAMER1= yes
USE_XORG= xcomposite xdamage xext xfixes xi xrandr x11
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-udev
diff --git a/multimedia/elementary-videos/Makefile b/multimedia/elementary-videos/Makefile
index 4bf4c7bc956a..f11508e7977f 100644
--- a/multimedia/elementary-videos/Makefile
+++ b/multimedia/elementary-videos/Makefile
@@ -17,17 +17,15 @@ LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
libclutter-gst-3.0.so:multimedia/clutter-gst3 \
libclutter-gtk-1.0.so:graphics/clutter-gtk3 \
libgee-0.8.so:devel/libgee \
- libgranite.so:x11-toolkits/granite \
- libgstbase-1.0.so:multimedia/gstreamer1
-RUN_DEPENDS= gstreamer1-plugins-core>=0:multimedia/gstreamer1-plugins-core
+ libgranite.so:x11-toolkits/granite
-USES= desktop-file-utils gettext gnome meson pkgconfig xorg
+USES= desktop-file-utils gettext gnome gstreamer meson pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= elementary
GH_PROJECT= videos
USE_GNOME= cairo gdkpixbuf2 gtk30
GLIB_SCHEMAS= io.elementary.videos.gschema.xml
-USE_GSTREAMER1= yes
+USE_GSTREAMER= core
USE_XORG= x11
.include <bsd.port.mk>
diff --git a/multimedia/gnome-twitch/Makefile b/multimedia/gnome-twitch/Makefile
index 5117694e407a..49b77499f69c 100644
--- a/multimedia/gnome-twitch/Makefile
+++ b/multimedia/gnome-twitch/Makefile
@@ -50,10 +50,10 @@ MPV_OPENGL_DESC= MPV decoding + OpenGL drawing backend
GSTREAMER_CLUTTER_LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
libclutter-gst-3.0.so:multimedia/clutter-gst3 \
libclutter-gtk-1.0.so:graphics/clutter-gtk3
-GSTREAMER_CLUTTER_USE= GSTREAMER1=hls
+GSTREAMER_CLUTTER_USE= GSTREAMER=hls
-GSTREAMER_CAIRO_USE= GSTREAMER1=cairo,hls
-GSTREAMER_OPENGL_USE= GSTREAMER1=hls
+GSTREAMER_CAIRO_USE= GSTREAMER=cairo,hls
+GSTREAMER_OPENGL_USE= GSTREAMER=hls
MPV_OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libmpv.so:multimedia/mpv
diff --git a/multimedia/gst123/Makefile b/multimedia/gst123/Makefile
index d4cd3a3980d0..2ea008f699fc 100644
--- a/multimedia/gst123/Makefile
+++ b/multimedia/gst123/Makefile
@@ -12,7 +12,7 @@ COMMENT= Command-line tool to play audio and video files
LICENSE= LGPL20
GNU_CONFIGURE= yes
-USES= compiler:c++11-lang localbase gmake gnome ncurses pkgconfig \
+USES= compiler:c++11-lang localbase gmake gnome gstreamer ncurses pkgconfig \
tar:bzip2
USE_GNOME= gtk20
CONFIGURE_ENV= NCURSES5_CONFIG=/usr/bin/true
@@ -20,7 +20,7 @@ LDFLAGS+= -ltinfo -lncurses
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
-USE_GSTREAMER1= good
+USE_GSTREAMER= good
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/multimedia/gstreamer1-editing-services/Makefile b/multimedia/gstreamer1-editing-services/Makefile
index 85a1d72a8736..70e33204d24b 100644
--- a/multimedia/gstreamer1-editing-services/Makefile
+++ b/multimedia/gstreamer1-editing-services/Makefile
@@ -12,12 +12,12 @@ COMMENT= GStreamer editing services
LICENSE= LGPL20
-USES= compiler:c11 gmake gnome libtool pathfix perl5 python:3.6-3.9 pkgconfig tar:xz
+USES= compiler:c11 gmake gnome gstreamer libtool pathfix perl5 python:3.6-3.9 pkgconfig tar:xz
USE_LDCONFIG= yes
USE_PERL5= build
GNU_CONFIGURE= yes
USE_GNOME= glib20 introspection:build libxml2 pygobject3:build
-USE_GSTREAMER1= good
+USE_GSTREAMER= good
INSTALL_TARGET= install-strip
PORTSCOUT= limitw:1,even
diff --git a/multimedia/gstreamer1-libav/Makefile b/multimedia/gstreamer1-libav/Makefile
index c7044d7049d8..4b8e75596742 100644
--- a/multimedia/gstreamer1-libav/Makefile
+++ b/multimedia/gstreamer1-libav/Makefile
@@ -20,10 +20,9 @@ LIB_DEPENDS= liborc-0.4.so:devel/orc
PORTSCOUT= limitw:1,even
-USES= compiler:features gettext-runtime gmake gnome libtool localbase \
+USES= compiler:features gettext-runtime gmake gnome gstreamer libtool localbase \
pkgconfig python:build tar:xz
USE_LDCONFIG= yes
-USE_GSTREAMER1= yes
USE_GNOME= glib20
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
diff --git a/multimedia/gstreamer1-plugins-all/Makefile b/multimedia/gstreamer1-plugins-all/Makefile
index 112b9dfa40a2..ce2132521a18 100644
--- a/multimedia/gstreamer1-plugins-all/Makefile
+++ b/multimedia/gstreamer1-plugins-all/Makefile
@@ -9,9 +9,6 @@ MAINTAINER= multimedia@FreeBSD.org
COMMENT= Meta-port of all GStreamer 1.x plugins with options
USES= metaport
-USE_GSTREAMER1= yes
-
-.include "${.CURDIR}/../../Mk/bsd.gstreamer.mk"
ALL_PLUGINS:= ${_GSTREAMER_PLUGINS}
# Weed out gst-plugins that can not be packaged. or are broken.
@@ -26,7 +23,7 @@ DEF_PLUGINS:= ${_GSTREAMER_PLUGINS}
.for all in ${ALL_PLUGINS}
${all:tu}_DESC= ${all} plugin
-${all:tu}_USE= GSTREAMER1=${all}
+${all:tu}_USE= GSTREAMER=${all}
.endfor
# Pull out i386-only plugins, add back conditionally
diff --git a/multimedia/gstreamer1-plugins-bad/Makefile b/multimedia/gstreamer1-plugins-bad/Makefile
index ce8f6078c50c..3094d1c9c108 100644
--- a/multimedia/gstreamer1-plugins-bad/Makefile
+++ b/multimedia/gstreamer1-plugins-bad/Makefile
@@ -10,9 +10,7 @@ GST_PLUGIN_SUFFIX= -bad
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
-BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins \
- v4l_compat>=1.0.20100321:multimedia/v4l_compat
-RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MININAL_VERSION}:multimedia/gstreamer1-plugins
+BUILD_DEPENDS+= v4l_compat>=1.0.20100321:multimedia/v4l_compat
DIST= bad
BAD_GST_DIRS= gst-libs sys gst po pkgconfig
diff --git a/multimedia/gstreamer1-plugins-core/Makefile b/multimedia/gstreamer1-plugins-core/Makefile
index bacb5a0a39e8..0ae0f0df90bd 100644
--- a/multimedia/gstreamer1-plugins-core/Makefile
+++ b/multimedia/gstreamer1-plugins-core/Makefile
@@ -15,7 +15,7 @@ NO_BUILD= yes
GST_DIR= lib/gstreamer-1.0
PLIST_FILES= ${GST_DIR}/.gstreamer-plugins-core.keep
-USE_GSTREAMER1=yes
+USES= gstreamer
OPTIONS_DEFINE= DVD
OPTIONS_DEFAULT=DVD
@@ -24,20 +24,20 @@ DVD_DESC= Include DVD related plugins
.include <bsd.port.options.mk>
# Audio plugins
-USE_GSTREAMER1+= mpg123 ogg vorbis
+USE_GSTREAMER+= mpg123 ogg vorbis
# Graphics plugins
-USE_GSTREAMER1+= png
+USE_GSTREAMER+= png
# Misc plugins
-USE_GSTREAMER1+= pango
+USE_GSTREAMER+= pango
# Multimedia plugins
-USE_GSTREAMER1+= libav good theora
+USE_GSTREAMER+= libav good theora
.if ${PORT_OPTIONS:MDVD}
# dvd related plugins plugins
-USE_GSTREAMER1+= a52dec dvdread resindvd dts
+USE_GSTREAMER+= a52dec dvdread resindvd dts
.endif
do-install:
diff --git a/multimedia/gstreamer1-plugins-gnonlin/Makefile b/multimedia/gstreamer1-plugins-gnonlin/Makefile
index 34916e229087..f270668a00f4 100644
--- a/multimedia/gstreamer1-plugins-gnonlin/Makefile
+++ b/multimedia/gstreamer1-plugins-gnonlin/Makefile
@@ -9,9 +9,9 @@ DISTNAME= gnonlin-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= GStreamer library for writing non-linear audio and video
-USES= libtool pkgconfig python:3.4+,build tar:xz
+USES= gstreamer libtool pkgconfig python:3.4+,build tar:xz
GNU_CONFIGURE= yes
-USE_GSTREAMER1= good
+USE_GSTREAMER= good
INSTALL_TARGET= install-strip
PLIST_FILES= lib/gstreamer-1.0/libgnl.so
diff --git a/multimedia/gstreamer1-plugins-good/Makefile b/multimedia/gstreamer1-plugins-good/Makefile
index 5c1239dbda3f..1cd190e29013 100644
--- a/multimedia/gstreamer1-plugins-good/Makefile
+++ b/multimedia/gstreamer1-plugins-good/Makefile
@@ -10,9 +10,6 @@ GST_PLUGIN_SUFFIX= -good
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
-BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins
-RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins
-
DIST= good
GOOD_GST_DIRS= gst sys po
diff --git a/multimedia/gstreamer1-plugins-rust/Makefile b/multimedia/gstreamer1-plugins-rust/Makefile
index 4c73c71b1967..2507192e466f 100644
--- a/multimedia/gstreamer1-plugins-rust/Makefile
+++ b/multimedia/gstreamer1-plugins-rust/Makefile
@@ -13,10 +13,9 @@ LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSE-LGPLv2
BUILD_DEPENDS= cargo-cbuild:devel/cargo-c
-USES= cargo gnome meson pkgconfig ssl
+USES= cargo gnome gstreamer meson pkgconfig ssl
USE_GITLAB= yes
USE_GNOME= glib20
-USE_GSTREAMER1= yes
GL_SITE= https://gitlab.freedesktop.org
GL_ACCOUNT= gstreamer
GL_PROJECT= gst-plugins-rs
diff --git a/multimedia/gstreamer1-plugins-svt-av1/Makefile b/multimedia/gstreamer1-plugins-svt-av1/Makefile
index a3092900cc9b..37f2c94a5c35 100644
--- a/multimedia/gstreamer1-plugins-svt-av1/Makefile
+++ b/multimedia/gstreamer1-plugins-svt-av1/Makefile
@@ -12,10 +12,9 @@ LICENSE_FILE= ${_LICENSE_STORE}/LGPL21
LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1
-USES= gnome meson pkgconfig
+USES= gnome gstreamer meson pkgconfig
USE_GITLAB= yes
USE_GNOME= glib20
-USE_GSTREAMER1= yes
GL_ACCOUNT= AOMediaCodec
GL_PROJECT= SVT-AV1
GL_COMMIT= da60d7c6e27c08806da0b493d5d3fc0a08629102
diff --git a/multimedia/gstreamer1-plugins-svt-hevc/Makefile b/multimedia/gstreamer1-plugins-svt-hevc/Makefile
index 42794fd174eb..a4df44343aba 100644
--- a/multimedia/gstreamer1-plugins-svt-hevc/Makefile
+++ b/multimedia/gstreamer1-plugins-svt-hevc/Makefile
@@ -12,10 +12,9 @@ LICENSE_FILE= ${_LICENSE_STORE}/LGPL21
LIB_DEPENDS= libSvtHevcEnc.so:multimedia/svt-hevc
-USES= gnome meson pkgconfig
+USES= gnome gstreamer meson pkgconfig
USE_GITHUB= yes
USE_GNOME= glib20
-USE_GSTREAMER1= yes
GH_ACCOUNT= OpenVisualCloud
GH_PROJECT= SVT-HEVC
WRKSRC_SUBDIR= gstreamer-plugin
diff --git a/multimedia/gstreamer1-plugins-svt-vp9/Makefile b/multimedia/gstreamer1-plugins-svt-vp9/Makefile
index 41c5e96fe1f4..11e5ed133304 100644
--- a/multimedia/gstreamer1-plugins-svt-vp9/Makefile
+++ b/multimedia/gstreamer1-plugins-svt-vp9/Makefile
@@ -12,10 +12,9 @@ LICENSE_FILE= ${_LICENSE_STORE}/LGPL21
LIB_DEPENDS= libSvtVp9Enc.so:multimedia/svt-vp9
-USES= gnome meson pkgconfig
+USES= gnome gstreamer meson pkgconfig
USE_GITHUB= yes
USE_GNOME= glib20
-USE_GSTREAMER1= yes
GH_ACCOUNT= OpenVisualCloud
GH_PROJECT= SVT-VP9
WRKSRC_SUBDIR= gstreamer-plugin
diff --git a/multimedia/gstreamer1-plugins-ugly/Makefile b/multimedia/gstreamer1-plugins-ugly/Makefile
index 3e09dd74322e..e4cb9ecb414c 100644
--- a/multimedia/gstreamer1-plugins-ugly/Makefile
+++ b/multimedia/gstreamer1-plugins-ugly/Makefile
@@ -10,9 +10,6 @@ GST_PLUGIN_SUFFIX= -ugly
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
-BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins
-RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins
-
DIST= ugly
UGLY_GST_DIRS= gst po gst-libs
NO_GSTREAMER_COMMON= yes
diff --git a/multimedia/gstreamer1-plugins/Makefile b/multimedia/gstreamer1-plugins/Makefile
index 105d860aee5c..905abf3b67f0 100644
--- a/multimedia/gstreamer1-plugins/Makefile
+++ b/multimedia/gstreamer1-plugins/Makefile
@@ -19,11 +19,9 @@ COMMENT?= GStreamer written collection of plugins handling several media types
LICENSE= LGPL20
-BUILD_DEPENDS+= gstreamer1>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1 \
- iso-codes>=0:misc/iso-codes \
+BUILD_DEPENDS+= iso-codes>=0:misc/iso-codes \
orc>=0.4.16:devel/orc
-LIB_DEPENDS+= libgstreamer-1.0.so:multimedia/gstreamer1 \
- libfreetype.so:print/freetype2 \
+LIB_DEPENDS+= libfreetype.so:print/freetype2 \
liborc-0.4.so:devel/orc
RUN_DEPENDS+= iso-codes>=0:misc/iso-codes
@@ -43,7 +41,7 @@ UGLY_DISTNAME= gst-plugins-ugly-${UGLY_PORTVERSION}
UGLY_DISTFILE= ${UGLY_DISTNAME}${EXTRACT_SUFX}
DIST?= base
-USES+= cpe gettext gmake gnome libtool pathfix pkgconfig python tar:xz
+USES+= cpe gettext gmake gnome gstreamer libtool pathfix pkgconfig python tar:xz
USE_GNOME+= glib20 introspection:build libxml2
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
@@ -77,9 +75,6 @@ PLIST_SUB+= VERSION="${VERSION}" \
.if ${GST_PLUGIN} == "base"
DIST= base
NO_GSTREAMER_COMMON= yes
-.else
-BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins
-RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}${GST1_MINIMAL_VERSION}:multimedia/gstreamer1-plugins
.endif
.if ${DIST} == base || ${DIST} == ugly
diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common
index 0eeb8a80deba..3345519e9895 100644
--- a/multimedia/gstreamer1-plugins/Makefile.common
+++ b/multimedia/gstreamer1-plugins/Makefile.common
@@ -287,7 +287,7 @@ gst_gsm_LIB_DEPENDS= libgsm.so:audio/gsm
# gtk3
gst_gtk3_USES= gnome
-gst_gtk3_USE_GSTREAMER1= gl
+gst_gtk3_USE_GSTREAMER= gl
gst_gtk3_USE_GNOME= cairo gdkpixbuf2 gtk30
gst_gtk3_CONFIGURE_ARGS=--enable-gtk3
gst_gtk3_GST_PLUGIN_DIR=ext/gtk
@@ -408,7 +408,7 @@ gst_pulse_PLIST_FILES= ${GST_LIB_DIR}/libgstpulseaudio.so
# qt
gst_qt_USES= compiler:c++11-lang qt:5
gst_qt_USE_QT= core gui declarative buildtools_build network x11extras
-gst_qt_USE_GSTREAMER1= gl
+gst_qt_USE_GSTREAMER= gl
gst_qt_PLIST_FILES= ${GST_LIB_DIR}/libgstqmlgl.so
# resindvd
@@ -472,7 +472,7 @@ gst_gst_v4l2_PLIST_FILES= ${GST_LIB_DIR}/libgstvideo4linux2.so
gst_gst_v4l2_GST_PLUGIN_DIR= sys/v4l2
# vorbis
-gst_vorbis_USE_GSTREAMER1= ogg
+gst_vorbis_USE_GSTREAMER= ogg
gst_vorbis_LIB_DEPENDS= libvorbis.so:audio/libvorbis
# vpx
@@ -485,7 +485,7 @@ gst_vdpau_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau
gst_vdpau_GST_PLUGIN_DIR= sys/vdpau
# vulkan
-gst_vulkan_USE_GSTREAMER1= gl
+gst_vulkan_USE_GSTREAMER= gl
gst_vulkan_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 \
@@ -558,7 +558,7 @@ gst_${GST_PLUGIN}_USE_GL?=
gst_${GST_PLUGIN}_GLIB_SCHEMAS?=
gst_${GST_PLUGIN}_CONFIGURE_ARGS?=
gst_${GST_PLUGIN}_USE_SDL?=
-gst_${GST_PLUGIN}_USE_GSTREAMER1?=
+gst_${GST_PLUGIN}_USE_GSTREAMER?=
BUILD_DEPENDS+= ${gst_${GST_PLUGIN}_BUILD_DEPENDS}
LIB_DEPENDS+= ${gst_${GST_PLUGIN}_LIB_DEPENDS}
@@ -590,7 +590,7 @@ CONFIGURE_ARGS+= ${gst_${GST_PLUGIN}_CONFIGURE_ARGS}
USE_SDL= ${gst_${GST_PLUGIN}_USE_SDL}
.endif
-USE_GSTREAMER1+= ${gst_${GST_PLUGIN}_USE_GSTREAMER1} ${DIST:base=yes}
+USE_GSTREAMER+= ${gst_${GST_PLUGIN}_USE_GSTREAMER} ${DIST:base=}
GST_PREBUILD_DIR= ${gst_${GST_PLUGIN}_GST_PREBUILD_DIR}
GST_PLUGIN_DIR= ${gst_${GST_PLUGIN}_GST_PLUGIN_DIR}
GST_POSTBUILD_DIR= ${gst_${GST_PLUGIN}_GST_POSTBUILD_DIR}
diff --git a/multimedia/gstreamer1-qt/Makefile b/multimedia/gstreamer1-qt/Makefile
index afffa1bad02d..81b2a163c177 100644
--- a/multimedia/gstreamer1-qt/Makefile
+++ b/multimedia/gstreamer1-qt/Makefile
@@ -17,8 +17,7 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
CONFLICTS_INSTALL= gstreamer${PKGNAMESUFFIX}
-USES= bison cmake compiler:c++11-lang gl gnome pathfix pkgconfig qt:5 tar:xz
-USE_GSTREAMER1= yes
+USES= bison cmake compiler:c++11-lang gl gnome gstreamer pathfix pkgconfig qt:5 tar:xz
USE_GL= gl
USE_GNOME= glib20
USE_QT= buildtools_build qmake_build core declarative gui network opengl \
diff --git a/multimedia/gstreamer1-rtsp-server/Makefile b/multimedia/gstreamer1-rtsp-server/Makefile
index 7f3b568a18f4..bf72ebdb01d0 100644
--- a/multimedia/gstreamer1-rtsp-server/Makefile
+++ b/multimedia/gstreamer1-rtsp-server/Makefile
@@ -12,11 +12,11 @@ COMMENT= GStreamer library for building a RTSP server
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake gnome libtool pathfix pkgconfig tar:xz
+USES= gmake gnome gstreamer libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GNOME= glib20 introspection:build
-USE_GSTREAMER1= good bad
+USE_GSTREAMER= good bad
INSTALL_TARGET= install-strip
PLIST_SUB= VERSION=1.0 SOVERSION=0.1602.0
diff --git a/multimedia/gstreamer1-transcoder/Makefile b/multimedia/gstreamer1-transcoder/Makefile
index 22306a4733c7..8eaee16ea96e 100644
--- a/multimedia/gstreamer1-transcoder/Makefile
+++ b/multimedia/gstreamer1-transcoder/Makefile
@@ -10,9 +10,9 @@ COMMENT= GStreamer Transcoding API
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= compiler gnome meson pkgconfig python:3.3+ #shebangfix
+USES= compiler gnome gstreamer meson pkgconfig python:3.3+ #shebangfix
USE_GNOME= introspection
-USE_GSTREAMER1= core
+USE_GSTREAMER= core
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_VERSION}
diff --git a/multimedia/gstreamer1-vaapi/Makefile b/multimedia/gstreamer1-vaapi/Makefile
index ab98e0d21275..d494655e401f 100644
--- a/multimedia/gstreamer1-vaapi/Makefile
+++ b/multimedia/gstreamer1-vaapi/Makefile
@@ -16,11 +16,11 @@ LIB_DEPENDS= libva.so:multimedia/libva
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= compiler:c11 gettext-runtime gl gmake gnome libtool \
+USES= compiler:c11 gettext-runtime gl gmake gnome gstreamer libtool \
pkgconfig tar:xz xorg
USE_LDCONFIG= yes
USE_GNOME= glib20
-USE_GSTREAMER1= bad gl
+USE_GSTREAMER= bad gl
USE_GL= gl
USE_XORG= x11 xrandr xrender xorgproto
diff --git a/multimedia/gstreamer1-validate/Makefile b/multimedia/gstreamer1-validate/Makefile
index 8d073aef9ccd..51647e906ba0 100644
--- a/multimedia/gstreamer1-validate/Makefile
+++ b/multimedia/gstreamer1-validate/Makefile
@@ -15,13 +15,12 @@ LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c11 gettext-runtime gmake gnome libtool pathfix \
+USES= compiler:c11 gettext-runtime gmake gnome gstreamer libtool pathfix \
pkgconfig python shebangfix tar:xz
SHEBANG_FILES= tools/gst-validate-launcher.in
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build
-USE_GSTREAMER1= yes
INSTALL_TARGET= install-strip
USE_PYTHON= noflavors
diff --git a/multimedia/gstreamermm/Makefile b/multimedia/gstreamermm/Makefile
index 4bb8268f0be6..0f25a5c4ebea 100644
--- a/multimedia/gstreamermm/Makefile
+++ b/multimedia/gstreamermm/Makefile
@@ -13,10 +13,9 @@ COMMENT= C++ wrapper library for the multimedia library GStreamer
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang gmake gnome libtool pathfix pkgconfig \
+USES= compiler:c++11-lang gmake gnome gstreamer libtool pathfix pkgconfig \
tar:xz
USE_CXXSTD= c++11
-USE_GSTREAMER1= yes
USE_GNOME= gnomeprefix gtkmm24
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-documentation
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index 30f7d81dde99..c1e75732de9b 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -110,7 +110,7 @@ X11_CONFIGURE_OFF= --disable-gtk
X11_LIB_DEPENDS= libvpx.so:multimedia/libvpx \
libnotify.so:devel/libnotify
X11_USES= gettext desktop-file-utils gnome
-X11_USE= gstreamer1=gdkpixbuf,libav \
+X11_USE= gstreamer=gdkpixbuf,libav \
gnome=gtk30,intltool,cairo,gdkpixbuf2
# HandBrake tries to fetch its dependencies during build phase, which is not
diff --git a/multimedia/kamoso/Makefile b/multimedia/kamoso/Makefile
index 9b68f45204f6..da96ed9d9385 100644
--- a/multimedia/kamoso/Makefile
+++ b/multimedia/kamoso/Makefile
@@ -7,11 +7,10 @@ COMMENT= Application to take pictures and videos out of your webcam
LICENSE= GPLv2
-USES= cmake compiler:c++11-lang gettext gl gnome kde:5 pkgconfig qt:5 \
+USES= cmake compiler:c++11-lang gettext gl gnome gstreamer kde:5 pkgconfig qt:5 \
tar:xz
USE_GL= gl
USE_GNOME= glib20
-USE_GSTREAMER1= yes
USE_KDE= auth bookmarks codecs completion config configwidgets \
coreaddons i18n itemviews jobwidgets kio kirigami2 \
notifications purpose service solid widgetsaddons windowsystem xmlgui \
diff --git a/multimedia/kooha/Makefile b/multimedia/kooha/Makefile
index dc50c96aaa46..c1000cbd1765 100644
--- a/multimedia/kooha/Makefile
+++ b/multimedia/kooha/Makefile
@@ -13,10 +13,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpulse.so:audio/pulseaudio \
libgraphene-1.0.so:graphics/graphene
-USES= cargo gettext gnome meson pkgconfig python:build shebangfix
+USES= cargo gettext gnome gstreamer meson pkgconfig python:build shebangfix
USE_GITHUB= yes
USE_GNOME= gtk40 libadwaita
-USE_GSTREAMER1= good opus pulse vpx
+USE_GSTREAMER= good opus pulse vpx
GH_ACCOUNT= SeaDve
GH_PROJECT= Kooha
SHEBANG_FILES= build-aux/meson_post_install.py
diff --git a/multimedia/librespot/Makefile b/multimedia/librespot/Makefile
index e4c39dccabbc..60ede85c3c25 100644
--- a/multimedia/librespot/Makefile
+++ b/multimedia/librespot/Makefile
@@ -26,9 +26,8 @@ ALSA_DESC= Rodio audio backend using ALSA
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
ALSA_VARS= CARGO_FEATURES+=rodio-backend
-GSTREAMER_USES= gnome
-GSTREAMER_USE= GNOME=glib20 \
- GSTREAMER1=yes
+GSTREAMER_USES= gnome gstreamer
+GSTREAMER_USE= GNOME=glib20
GSTREAMER_VARS= CARGO_FEATURES+=gstreamer-backend
JACK_LIB_DEPENDS= libjack.so:audio/jack
JACK_VARS= CARGO_FEATURES+=jackaudio-backend
diff --git a/multimedia/neolink/Makefile b/multimedia/neolink/Makefile
index 8e81e4af5ecb..d2611f4621e7 100644
--- a/multimedia/neolink/Makefile
+++ b/multimedia/neolink/Makefile
@@ -13,9 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libgstrtspserver-1.0.so:multimedia/gstreamer1-rtsp-server
-USES= cargo gnome
+USES= cargo gnome gstreamer
USE_GNOME= glib20
-USE_GSTREAMER1= yes
USE_RC_SUBR= neolink
USERS= ${PORTNAME}
diff --git a/multimedia/phonon-gstreamer/Makefile b/multimedia/phonon-gstreamer/Makefile
index 691c91b1251a..456580c7a117 100644
--- a/multimedia/phonon-gstreamer/Makefile
+++ b/multimedia/phonon-gstreamer/Makefile
@@ -14,10 +14,9 @@ COMMENT= GStreamer backend for Phonon
LICENSE= LGPL21
-USES= cmake compiler:c++11-lang gl gnome kde:5 pkgconfig qt:5 tar:xz xorg
+USES= cmake compiler:c++11-lang gl gnome gstreamer kde:5 pkgconfig qt:5 tar:xz xorg
USE_GL= gl
USE_GNOME= glib20 libxml2
-USE_GSTREAMER1= yes
USE_KDE= ecm
USE_QT= core gui opengl phonon4 widgets x11extras \
buildtools_build qmake_build
diff --git a/multimedia/photofilmstrip/Makefile b/multimedia/photofilmstrip/Makefile
index cd8140b36e01..da7e28ba75d2 100644
--- a/multimedia/photofilmstrip/Makefile
+++ b/multimedia/photofilmstrip/Makefile
@@ -18,8 +18,8 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR
RUN_DEPENDS= mencoder:multimedia/mencoder \
mplayer:multimedia/mplayer
-USES= python:3.6+ gettext
-USE_GSTREAMER1= jpeg
+USES= python:3.6+ gettext gstreamer
+USE_GSTREAMER= jpeg
USE_PYTHON= distutils
USE_WX= 3.1
WX_COMPS= python:lib
diff --git a/multimedia/pipewire/Makefile b/multimedia/pipewire/Makefile
index 829bf53f7298..7de8055db808 100644
--- a/multimedia/pipewire/Makefile
+++ b/multimedia/pipewire/Makefile
@@ -32,9 +32,8 @@ OPTIONS_DEFINE= GSTREAMER PIPEWIRE_JACK MANPAGES MEDIASESSION PULSEAUDIO SDL VU
OPTIONS_DEFAULT= GSTREAMER PIPEWIRE_JACK MANPAGES MEDIASESSION
OPTIONS_SUB= yes
+GSTREAMER_USES= gstreamer
GSTREAMER_MESON_ENABLED=gstreamer
-GSTREAMER_LIB_DEPENDS= libgstreamer-1.0.so:multimedia/gstreamer1 \
- libgstaudio-1.0.so:multimedia/gstreamer1-plugins
PIPEWIRE_JACK_DESC= Build pipewire-jack
PIPEWIRE_JACK_MESON_ENABLED= pipewire-jack
diff --git a/multimedia/pitivi/Makefile b/multimedia/pitivi/Makefile
index c99341810730..84fdbde4d163 100644
--- a/multimedia/pitivi/Makefile
+++ b/multimedia/pitivi/Makefile
@@ -20,14 +20,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.14.0:multimedia/py-gstreamer1@
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
${PYNUMPY}
-USES= cpe desktop-file-utils gettext gnome meson pkgconfig python:3.7+ shebangfix tar:xz
+USES= cpe desktop-file-utils gettext gnome gstreamer meson pkgconfig python:3.7+ shebangfix tar:xz
SHEBANG_FILES= bin/pitivi.in \
getenvvar.py \
tests/__init__.py \
tests/validate-tests/manager.py \
tests/validate-tests/runtests
USE_GNOME= cairo intltool gdkpixbuf2 gsound gtk30 pygobject3
-USE_GSTREAMER1= editing-services gdkpixbuf good gtk
+USE_GSTREAMER= editing-services gdkpixbuf good gtk
USE_LDCONFIG= yes
MESON_ARGS= -Db_lundef=false
diff --git a/multimedia/py-gstreamer1/Makefile b/multimedia/py-gstreamer1/Makefile
index 98b4f6950fc2..0cebdd96576e 100644
--- a/multimedia/py-gstreamer1/Makefile
+++ b/multimedia/py-gstreamer1/Makefile
@@ -16,11 +16,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
PORTSCOUT= limitw:1,even
-USES= cpe gnome meson pkgconfig python:3.6+ tar:xz
+USES= cpe gnome gstreamer meson pkgconfig python:3.6+ tar:xz
CPE_VENDOR= ${PORTNAME}_project
USE_GNOME= pygobject3
USE_PYTHON= flavors py3kplist
-USE_GSTREAMER1= yes
PLIST_SUB= VERSION="${GST_VERSION}"
BINARY_ALIAS= python3=${PYTHON_VERSION}
diff --git a/multimedia/qt5-multimedia/Makefile b/multimedia/qt5-multimedia/Makefile
index ad01509bef9c..a7c958564a5b 100644
--- a/multimedia/qt5-multimedia/Makefile
+++ b/multimedia/qt5-multimedia/Makefile
@@ -45,7 +45,8 @@ ALSA_VARS_OFF= QT_CONFIG+=-alsa \
QMAKE_CONFIGURE_ARGS+=-no-alsa
GSTREAMER_BUILD_DEPENDS=${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
-GSTREAMER_USE= GSTREAMER1=bad
+GSTREAMER_USES= gstreamer
+GSTREAMER_USE= GSTREAMER=bad
GSTREAMER_VARS= QT_CONFIG+=gstreamer-1.0 \
QMAKE_CONFIGURE_ARGS+=-gstreamer 1.0
GSTREAMER_VARS_OFF= QT_CONFIG+=-gstreamer-1.0 \
diff --git a/multimedia/quodlibet/Makefile b/multimedia/quodlibet/Makefile
index cd1433f5ab45..5faea9fd2399 100644
--- a/multimedia/quodlibet/Makefile
+++ b/multimedia/quodlibet/Makefile
@@ -19,11 +19,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
${LOCALBASE}/libexec/notification-daemon:deskutils/notification-daemon
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup
-USES= desktop-file-utils gettext gnome python:3.6+ shebangfix
+USES= desktop-file-utils gettext gnome gstreamer python:3.6+ shebangfix
SHEBANG_FILES= exfalso.py operon.py quodlibet.py
USE_PYTHON= distutils autoplist
USE_GNOME= gtk30 pygobject3
-USE_GSTREAMER1= good
+USE_GSTREAMER= good
NO_ARCH= yes
CONFLICTS_INSTALL= ${PORTNAME}
@@ -31,6 +31,6 @@ CONFLICTS_INSTALL= ${PORTNAME}
OPTIONS_DEFINE= PULSEAUDIO
PULSEAUDIO_DESC= Support PulseAudio
-PULSEAUDIO_USE= GSTREAMER1=pulse
+PULSEAUDIO_USE= GSTREAMER=pulse
.include <bsd.port.mk>
diff --git a/multimedia/snappy/Makefile b/multimedia/snappy/Makefile
index 78116311c809..444abf6dd864 100644
--- a/multimedia/snappy/Makefile
+++ b/multimedia/snappy/Makefile
@@ -19,11 +19,10 @@ LIB_DEPENDS= libclutter-gst-2.0.so:multimedia/clutter-gst \
libclutter-1.0.so:graphics/clutter \
libclutter-gtk-1.0.so:graphics/clutter-gtk3
-USES= desktop-file-utils gettext gmake gnome pathfix pkgconfig tar:xz
+USES= desktop-file-utils gettext gmake gnome gstreamer pathfix pkgconfig tar:xz
USE_GNOME= gnomeprefix gtk30 intlhack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-USE_GSTREAMER1= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/multimedia/termplay/Makefile b/multimedia/termplay/Makefile
index c03a54aad4d5..a3dea278e7d4 100644
--- a/multimedia/termplay/Makefile
+++ b/multimedia/termplay/Makefile
@@ -13,9 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsixel.so:graphics/libsixel
-USES= cargo gnome
+USES= cargo gnome gstreamer
USE_GNOME= glib20
-USE_GSTREAMER1= yes
CARGO_FEATURES= bin
CARGO_CRATES= \
diff --git a/multimedia/totem/Makefile b/multimedia/totem/Makefile
index 5d655034b1b0..c83f5869fd89 100644
--- a/multimedia/totem/Makefile
+++ b/multimedia/totem/Makefile
@@ -38,11 +38,11 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
PORTSCOUT= limitw:1,even
-USES= compiler desktop-file-utils gettext gl gnome localbase meson \
+USES= compiler desktop-file-utils gettext gl gnome gstreamer localbase meson \
pkgconfig python:3.6+ tar:xz xorg
USE_GNOME= cairo gtk30 intlhack introspection libxml2 pygobject3 gnomedesktop3
USE_XORG= x11 xorgproto xtst ice sm
-USE_GSTREAMER1= core good bad soup ugly
+USE_GSTREAMER= core good bad soup ugly
USE_GL= egl
USE_LDCONFIG= yes
diff --git a/multimedia/webcamoid/Makefile b/multimedia/webcamoid/Makefile
index 6acf3a12a673..3fbe96801742 100644
--- a/multimedia/webcamoid/Makefile
+++ b/multimedia/webcamoid/Makefile
@@ -16,10 +16,9 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libpulse.so:audio/pulseaudio \
libv4l2.so:multimedia/libv4l
-USES= compiler:c++11-lang gl gnome pkgconfig qmake qt:5 xorg
+USES= compiler:c++11-lang gl gnome gstreamer pkgconfig qmake qt:5 xorg
USE_GITHUB= yes
USE_GNOME= glib20
-USE_GSTREAMER1= yes
USE_GL= gl
USE_QT= concurrent core declarative gui multimedia network opengl quickcontrols2 svg widgets xml \
buildtools_build quickcontrols_run
diff --git a/multimedia/xfce4-parole/Makefile b/multimedia/xfce4-parole/Makefile
index 92b9ebf8c981..1bc8603ca0e5 100644
--- a/multimedia/xfce4-parole/Makefile
+++ b/multimedia/xfce4-parole/Makefile
@@ -19,9 +19,9 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \
RUN_DEPENDS= xdg-screensaver:devel/xdg-utils
USES= compiler:c++11-lang desktop-file-utils gettext-tools \
- gmake gnome libtool pkgconfig tar:bzip2 xfce xorg
+ gmake gnome gstreamer libtool pkgconfig tar:bzip2 xfce xorg
USE_GNOME= cairo gtk30 glib20 intltool
-USE_GSTREAMER1= core faad flac wavpack rtmp x
+USE_GSTREAMER= core faad flac wavpack rtmp x
USE_XFCE= panel
USE_XORG= ice sm x11
@@ -39,12 +39,12 @@ OPTIONS_GROUP_GST_PLUG= CDDA HTTP
OPTIONS_DEFAULT= HTTP
OPTIONS_SUB= yes
-CDDA_USE= gstreamer1=cdparanoia
+CDDA_USE= gstreamer=cdparanoia
GST_PLUG_DESC= Additional GStreamer plugins
HTTP_DESC= HTTP streaming (libsoup)
-HTTP_USE= gstreamer1=soup
+HTTP_USE= gstreamer=soup
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
diff --git a/net-im/cawbird/Makefile b/net-im/cawbird/Makefile
index e07e44f9f1fe..e2e0218a04eb 100644
--- a/net-im/cawbird/Makefile
+++ b/net-im/cawbird/Makefile
@@ -32,7 +32,7 @@ OPTIONS_DEFINE= SPELLCHECK VIDEO
SPELLCHECK_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3
SPELLCHECK_MESON_OFF= -Dspellcheck=false
-VIDEO_LIB_DEPENDS= libgstvideo-1.0.so:multimedia/gstreamer1-plugins
+VIDEO_USES= gstreamer
VIDEO_MESON_OFF= -Dvideo=false
.include <bsd.port.mk>
diff --git a/net-im/dino/Makefile b/net-im/dino/Makefile
index 7f7f5afda033..9b714f8fa095 100644
--- a/net-im/dino/Makefile
+++ b/net-im/dino/Makefile
@@ -47,7 +47,8 @@ ICE_VARS= ENABLED_PLUGINS+=ice
ICE_VARS_OFF= DISABLED_PLUGINS+=ice
RTP_LIB_DEPENDS= libgnutls.so:security/gnutls \
libwebrtc-audio-processing-1.so:audio/webrtc-audio-processing
-RTP_USE= GSTREAMER1=srtp,gtk,pulse,opus,speex,vpx,x264,v4l2
+RTP_USES= gstreamer
+RTP_USE= GSTREAMER=srtp,gtk,pulse,opus,speex,vpx,x264,v4l2
RTP_VARS= ENABLED_PLUGINS+=rtp
RTP_CMAKE_BOOL= RTP_ENABLE_H264 RTP_ENABLE_VP9 RTP_ENABLE_H264 RTP_ENABLE_VAAPI
RTP_VARS_OFF= DISABLED_PLUGINS+=rtp
diff --git a/net-im/farstream/Makefile b/net-im/farstream/Makefile
index a4508e69b23f..9cbef7b2ae6c 100644
--- a/net-im/farstream/Makefile
+++ b/net-im/farstream/Makefile
@@ -13,11 +13,11 @@ LICENSE= LGPL21+
LIB_DEPENDS= libnice.so:net-im/libnice
RUN_DEPENDS= libnice-gst1>=0:net-im/libnice-gst1
-USES= gettext gmake gnome libtool localbase:ldflags pathfix \
+USES= gettext gmake gnome gstreamer libtool localbase:ldflags pathfix \
pkgconfig python
USE_LDCONFIG= yes
USE_GNOME= glib20 introspection:build
-USE_GSTREAMER1= good bad
+USE_GSTREAMER= good bad
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
diff --git a/net-im/fractal/Makefile b/net-im/fractal/Makefile
index 41cfb821e8f7..8f1a55dc5b53 100644
--- a/net-im/fractal/Makefile
+++ b/net-im/fractal/Makefile
@@ -21,10 +21,10 @@ LIB_DEPENDS= libdbus-1.so:devel/dbus \
libgspell-1.so:textproc/gspell \
libhandy-0.0.so:x11-toolkits/libhandy0
-USES= cpe gettext gnome meson pkgconfig python:3.5+,build ssl tar:xz
+USES= cpe gettext gnome gstreamer meson pkgconfig python:3.5+,build ssl tar:xz
CPE_VENDOR= gnome
USE_GNOME= cairo gtk30 gtksourceview4
-USE_GSTREAMER1= bad editing-services
+USE_GSTREAMER= bad editing-services
GL_HASH= d4168ac40fd681240964705e000dd353
BINARY_ALIAS= python3=${PYTHON_CMD}
diff --git a/net-im/ktp-call-ui/Makefile b/net-im/ktp-call-ui/Makefile
index c5a1bf17c13a..e521ce8f9a5e 100644
--- a/net-im/ktp-call-ui/Makefile
+++ b/net-im/ktp-call-ui/Makefile
@@ -18,10 +18,9 @@ LIB_DEPENDS= libKTpCommonInternals.so:net-im/ktp-common-internals \
libtelepathy-glib.so:net-im/telepathy-glib \
libtelepathy-qt5-farstream.so:net-im/telepathy-qt
-USES= cmake compiler:c++11-lang gettext gnome kde:5 pkgconfig \
+USES= cmake compiler:c++11-lang gettext gnome gstreamer kde:5 pkgconfig \
python qt:5 tar:xz
USE_GNOME= glib20
-USE_GSTREAMER1= yes
USE_KDE= auth codecs config configwidgets coreaddons iconthemes \
i18n kcmutils kdeclarative notifications package service \
wallet widgetsaddons xmlgui \
diff --git a/net-im/libnice/Makefile b/net-im/libnice/Makefile
index 940e4f7ca48b..1cc37e78ca72 100644
--- a/net-im/libnice/Makefile
+++ b/net-im/libnice/Makefile
@@ -28,7 +28,7 @@ GUPNP_LIB_DEPENDS+= libgupnp-igd-1.0.so:net/gupnp-igd
MESON_ARGS+=-Dtests=disabled
.if defined(LIBNICE_SLAVE)
-USE_GSTREAMER1= yes
+USES+= gstreamer
MESON_ARGS+=-Dgstreamer=enabled
.else
MESON_ARGS+=-Dgstreamer=disabled -Dgtk_doc=enabled
diff --git a/net-im/libpurple/Makefile b/net-im/libpurple/Makefile
index ea17c38e6e10..39fb63393561 100644
--- a/net-im/libpurple/Makefile
+++ b/net-im/libpurple/Makefile
@@ -129,14 +129,15 @@ PLIST_SUB+= EVO="@comment not installed: "
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
-USE_GSTREAMER1+=core good
+USES+= gstreamer
+USE_GSTREAMER+=core good
.else
CONFIGURE_ARGS+=--disable-gstreamer
.endif
.if ${PORT_OPTIONS:MVV} && ${PORT_OPTIONS:MGSTREAMER}
LIB_DEPENDS+= libfarstream-0.2.so:net-im/farstream
-USE_GSTREAMER1+=v4l2
+USE_GSTREAMER+=v4l2
PLIST_SUB+= VV=""
.else
CONFIGURE_ARGS+=--disable-vv
diff --git a/net-im/pidgin-sipe/Makefile b/net-im/pidgin-sipe/Makefile
index e2daacf072f4..9fddfb31d083 100644
--- a/net-im/pidgin-sipe/Makefile
+++ b/net-im/pidgin-sipe/Makefile
@@ -25,9 +25,8 @@ LIB_DEPENDS= libnss3.so:security/nss \
libfarstream-0.2.so:net-im/farstream
RUN_DEPENDS= pidgin:net-im/pidgin
-USES= compiler:c11 gmake gnome libtool localbase pkgconfig tar:bzip2 ssl
+USES= compiler:c11 gmake gnome gstreamer libtool localbase pkgconfig tar:bzip2 ssl
USE_GNOME= gtk20 intltool libxml2
-USE_GSTREAMER1= yes
USE_LDCONFIG= yes
diff --git a/net-im/telepathy-qt/Makefile b/net-im/telepathy-qt/Makefile
index f4cfe09c9ba6..94df50df82a2 100644
--- a/net-im/telepathy-qt/Makefile
+++ b/net-im/telepathy-qt/Makefile
@@ -17,11 +17,9 @@ LIB_DEPENDS= libtelepathy-farstream.so:net-im/telepathy-farstream \
libtelepathy-glib.so:net-im/telepathy-glib
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_dbus_bindings.so:devel/py-dbus@${PY_FLAVOR}
-USES= cmake compiler:c++11-lang gettext gnome localbase:ldflags pathfix \
+USES= cmake compiler:c++11-lang gettext gnome gstreamer localbase:ldflags pathfix \
pkgconfig python:3.5+,build qt:5
USE_GNOME= glib20 libxslt:build
-USE_GSTREAMER1= yes
-USE_LDCONFIG= yes
USE_QT= core dbus gui network xml \
buildtools_build qmake_build testlib_build widgets_build
diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile
index baedb3c8786e..0ed795d58cb2 100644
--- a/net/freerdp/Makefile
+++ b/net/freerdp/Makefile
@@ -80,8 +80,8 @@ GSM_LIB_DEPENDS= libgsm.so:audio/gsm
GSM_CMAKE_BOOL= WITH_GSM
GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0 CHANNEL_TSMF
-GSTREAMER_USES= gnome xorg
-GSTREAMER_USE= gnome=glib20 gstreamer1=yes xorg=x11,xext,xorgproto,xrandr
+GSTREAMER_USES= gnome gstreamer xorg
+GSTREAMER_USE= gnome=glib20 xorg=x11,xext,xorgproto,xrandr
GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1
ICU_LIB_DEPENDS= libicuuc.so:devel/icu
diff --git a/net/grilo-plugins/Makefile b/net/grilo-plugins/Makefile
index a0fb37931679..70c864cbfef8 100644
--- a/net/grilo-plugins/Makefile
+++ b/net/grilo-plugins/Makefile
@@ -25,10 +25,10 @@ LIB_DEPENDS= libgrilo-0.3.so:net/grilo \
libgmime-2.6.so:mail/gmime26 \
libjson-glib-1.0.so:devel/json-glib
-USES= gettext gperf gnome libarchive meson pathfix pkgconfig sqlite tar:xz
+USES= gettext gperf gnome gstreamer libarchive meson pathfix pkgconfig sqlite tar:xz
USE_LDCONFIG= yes
USE_GNOME= glib20 intlhack libxml2
-USE_GSTREAMER1= chromaprint
+USE_GSTREAMER= chromaprint
MESON_ARGS= -Denable-lua-factory=no
OPTIONS_SUB= yes
diff --git a/net/gupnp-dlna/Makefile b/net/gupnp-dlna/Makefile
index 851bd5ffc7b7..0423277fbcb2 100644
--- a/net/gupnp-dlna/Makefile
+++ b/net/gupnp-dlna/Makefile
@@ -20,9 +20,8 @@ RUN_DEPENDS= gupnp14>=0.19.0:net/gupnp14
CONFIGURE_ARGS= --enable-introspection \
--enable-gstreamer-metadata-backend
-USES= gmake gnome libtool pathfix pkgconfig tar:xz
+USES= gmake gnome gstreamer libtool pathfix pkgconfig tar:xz
USE_GNOME= glib20 introspection:build libxml2
-USE_GSTREAMER1= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
diff --git a/net/libdmapsharing/Makefile b/net/libdmapsharing/Makefile
index 809a89006bc4..3fe57bf02911 100644
--- a/net/libdmapsharing/Makefile
+++ b/net/libdmapsharing/Makefile
@@ -16,9 +16,8 @@ BUILD_DEPENDS= vapigen:lang/vala
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libgee-0.8.so:devel/libgee
-USES= gettext gnome gmake libtool pathfix pkgconfig
+USES= gettext gnome gmake gstreamer libtool pathfix pkgconfig
USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 introspection:build
-USE_GSTREAMER1= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-tests \
--disable-gtk-doc \
diff --git a/net/uget/Makefile b/net/uget/Makefile
index a1d1f5df3e4f..8b99dbd74677 100644
--- a/net/uget/Makefile
+++ b/net/uget/Makefile
@@ -36,7 +36,7 @@ GNUTLS_LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
GNUTLS_CONFIGURE_ON= --with-gnutls=yes
-GSTREAMER_USE= gstreamer1=yes
+GSTREAMER_USES= gstreamer
GSTREAMER_CONFIGURE_ENABLE= gstreamer
NLS_USES= gettext-runtime
diff --git a/security/authenticator/Makefile b/security/authenticator/Makefile
index 3b697083444b..e08b935767cf 100644
--- a/security/authenticator/Makefile
+++ b/security/authenticator/Makefile
@@ -19,10 +19,10 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libgraphene-1.0.so:graphics/graphene \
libzbar.so:graphics/zbar
-USES= cargo gettext gnome meson pkgconfig python:build shebangfix sqlite ssl
+USES= cargo gettext gnome gstreamer meson pkgconfig python:build shebangfix sqlite ssl
USE_GITLAB= yes
USE_GNOME= gtk40 libadwaita
-USE_GSTREAMER1= gl gtk4 zbar
+USE_GSTREAMER= gl gtk4 zbar
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_PROJECT= Authenticator
diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile
index 176bfef8bd12..bceade667af0 100644
--- a/sysutils/brasero/Makefile
+++ b/sysutils/brasero/Makefile
@@ -17,14 +17,13 @@ LIB_DEPENDS= libnotify.so:devel/libnotify \
RUN_DEPENDS= growisofs:sysutils/dvd+rw-tools \
cdrdao:sysutils/cdrdao
-USES= desktop-file-utils gettext gmake gnome libtool pathfix \
+USES= desktop-file-utils gettext gmake gnome gstreamer libtool pathfix \
pkgconfig shared-mime-info tar:xz xorg
USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 intlhack \
introspection:build libxml2
GNU_CONFIGURE= yes
USE_XORG= sm ice
USE_LDCONFIG= yes
-USE_GSTREAMER1= yes
CONFIGURE_ARGS= --disable-inotify --enable-search=no --enable-playlist=no \
--enable-introspection=yes
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_CAM_LIB_H=1 -Wno-error=format-nonliteral
diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile
index 4948ae686cd0..567389928d0e 100644
--- a/sysutils/gnome-control-center/Makefile
+++ b/sysutils/gnome-control-center/Makefile
@@ -44,11 +44,10 @@ RUN_DEPENDS= cantarell-fonts>=0:x11-fonts/cantarell-fonts \
PORTSCOUT= limitw:1,even
-USES= compiler:c++11-lib gettext gnome localbase:ldflags meson \
+USES= compiler:c++11-lib gettext gnome gstreamer localbase:ldflags meson \
pkgconfig python:3.6+,build samba:lib tar:xz xorg
USE_GNOME= cairo gnomedesktop3 gsound libxml2
USE_XORG= x11 xi
-#USE_GSTREAMER1= yes
USE_LDCONFIG= yes
BINARY_ALIAS= python3=${PYTHON_VERSION}
diff --git a/sysutils/tracker-miners/Makefile b/sysutils/tracker-miners/Makefile
index 079cdfaa277c..fe9aa9617a9a 100644
--- a/sysutils/tracker-miners/Makefile
+++ b/sysutils/tracker-miners/Makefile
@@ -45,9 +45,9 @@ OPTIONS_SUB= yes
OPTIONS_DEFINE= GSTREAMER RSS
OPTIONS_DEFAULT= GSTREAMER RSS
+GSTREAMER_USES= gstreamer
GSTREAMER_MESON_ON= -Dgeneric_media_extractor=gstreamer
GSTREAMER_MESON_OFF= -Dgeneric_media_extractor=none
-GSTREAMER_USE= gstreamer1=yes
RSS_DESC= Tracker RSS miner
RSS_MESON_TRUE= miner_rss
diff --git a/sysutils/xfburn/Makefile b/sysutils/xfburn/Makefile
index c65234ae3d68..4349f01f384a 100644
--- a/sysutils/xfburn/Makefile
+++ b/sysutils/xfburn/Makefile
@@ -29,7 +29,7 @@ OPTIONS_DEFAULT= GSTREAMER
OPTIONS_SUB= yes
GSTREAMER_CONFIGURE_ENABLE= gstreamer
-GSTREAMER_USE= gstreamer1=yes,faac,flac,lame,vorbis,wavpack
+GSTREAMER_USE= gstreamer=faac,flac,lame,vorbis,wavpack
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
diff --git a/textproc/libextractor/Makefile b/textproc/libextractor/Makefile
index 418d179522ee..48b554af7f99 100644
--- a/textproc/libextractor/Makefile
+++ b/textproc/libextractor/Makefile
@@ -59,7 +59,7 @@ GIF_LIB_DEPENDS= libgif.so:graphics/giflib
GIF_CONFIGURE_ENV_OFF= ac_cv_lib_gif_DGifOpen=no
GSF_USE= gnome=libgsf
GSF_CONFIGURE_ENV_OFF= ac_cv_lib_gsf_1_gsf_init=no
-GSTREAMER_USE= gstreamer1=yes
+GSTREAMER_USES= gstreamer
GSTREAMER_CONFIGURE_WITH= gstreamer
MP4_LIB_DEPENDS= libmp4v2.so:multimedia/mp4v2
MP4_CONFIGURE_ENV_OFF= ac_cv_lib_mp4v2_MP4ReadProvider=no
diff --git a/www/qt5-webkit/Makefile b/www/qt5-webkit/Makefile
index 5a052fbefe97..5828f7a3961d 100644
--- a/www/qt5-webkit/Makefile
+++ b/www/qt5-webkit/Makefile
@@ -54,9 +54,8 @@ SUB_LIST= QT_INCDIR="${QT_INCDIR}"
OPTIONS_DEFINE= GSTREAMER
OPTIONS_DEFAULT= GSTREAMER
-GSTREAMER_LIB_DEPENDS= libgstapp-1.0.so:multimedia/gstreamer1-plugins \
- libgstbase-1.0.so:multimedia/gstreamer1
-GSTREAMER_USE= GSTREAMER1=core
+GSTREAMER_USES= gstreamer
+GSTREAMER_USE= GSTREAMER=core
GSTREAMER_CMAKE_OFF= -DUSE_GSTREAMER:BOOL=OFF
BINARY_ALIAS= python3=${PYTHON_CMD}
diff --git a/www/webkit2-gtk3/Makefile b/www/webkit2-gtk3/Makefile
index 36f0c2a97efe..b0d42a92f4bd 100644
--- a/www/webkit2-gtk3/Makefile
+++ b/www/webkit2-gtk3/Makefile
@@ -90,7 +90,8 @@ GEOIP_CMAKE_BOOL= ENABLE_GEOLOCATION
GEOIP_BUILD_DEPENDS= geoclue>=2.4.3:net/geoclue
GEOIP_RUN_DEPENDS= geoclue>=2.4.3:net/geoclue
-GSTREAMER_USE= GSTREAMER1=bad,gl
+GSTREAMER_USES= gstreamer
+GSTREAMER_USE= GSTREAMER=bad,gl
GSTREAMER_CMAKE_BOOL= ENABLE_VIDEO ENABLE_WEB_AUDIO
WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND_TARGET
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile
index f0b028eb4efc..c25ff89d562a 100644
--- a/x11-fm/nautilus/Makefile
+++ b/x11-fm/nautilus/Makefile
@@ -21,10 +21,9 @@ LIB_DEPENDS= libgexiv2.so:graphics/gexiv2 \
PORTSCOUT= limitw:1,even
-USES= compiler:c11 cpe desktop-file-utils gettext gnome localbase meson \
+USES= compiler:c11 cpe desktop-file-utils gettext gnome gstreamer localbase meson \
pkgconfig python:3.6+,build tar:xz xorg
USE_GNOME= cairo gdkpixbuf2 gnomedesktop3
-USE_GSTREAMER1= yes
USE_LDCONFIG= yes
USE_XORG= x11
MESON_ARGS= -Dpackagekit=false \
diff --git a/x11-fm/sushi/Makefile b/x11-fm/sushi/Makefile
index 7346082ed98a..8bff4043fc15 100644
--- a/x11-fm/sushi/Makefile
+++ b/x11-fm/sushi/Makefile
@@ -31,12 +31,11 @@ RUN_DEPENDS= nautilus:x11-fm/nautilus
PORTSCOUT= limitw:1,even
-USES= compiler:c11 gettext gl gnome localbase meson \
+USES= compiler:c11 gettext gl gnome gstreamer localbase meson \
pkgconfig tar:xz xorg
USE_CSTD= c11
USE_GNOME= cairo gtksourceview4 intlhack introspection
USE_GL= egl
-USE_GSTREAMER1= yes
USE_LDCONFIG= yes
USE_XORG= x11 xcomposite xdamage xext xi xfixes xrandr
diff --git a/x11-toolkits/copperspice/Makefile b/x11-toolkits/copperspice/Makefile
index fb82135c2545..6bc89818c950 100644
--- a/x11-toolkits/copperspice/Makefile
+++ b/x11-toolkits/copperspice/Makefile
@@ -14,7 +14,6 @@ NOT_FOR_ARCHS= i386
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libpulse.so:audio/pulseaudio \
- libgstreamer-1.0.so:multimedia/gstreamer1 \
libcups.so:print/cups \
libxcb-icccm.so:x11/xcb-util-wm \
libxcb-image.so:x11/xcb-util-image \
@@ -24,10 +23,9 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libxkbcommon.so:x11/libxkbcommon \
libfontconfig.so:x11-fonts/fontconfig
-USES= compiler:c++17-lang cmake dos2unix gl gnome iconv jpeg pkgconfig ssl tar:bz2 xorg
+USES= compiler:c++17-lang cmake dos2unix gl gnome gstreamer iconv jpeg pkgconfig ssl tar:bz2 xorg
USE_GL= gl
USE_GNOME= cairo glib20 libxml2
-USE_GSTREAMER1= yes
USE_XORG= ice sm x11 xau xcb xcursor xext xfixes xi xinerama xrandr xrender
CMAKE_ARGS+= -DCMAKE_INSTALL_BINDIR:PATH='${LOCALBASE}/lib/copperspice/bin' \
diff --git a/x11-toolkits/gstreamer1-plugins-gtk4/Makefile b/x11-toolkits/gstreamer1-plugins-gtk4/Makefile
index 61882b85e10e..ebdad51be838 100644
--- a/x11-toolkits/gstreamer1-plugins-gtk4/Makefile
+++ b/x11-toolkits/gstreamer1-plugins-gtk4/Makefile
@@ -11,9 +11,9 @@ COMMENT= GStreamer GTK4 video sink plugin
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c11 gnome meson pkgconfig tar:xz
+USES= compiler:c11 gnome gstreamer meson pkgconfig tar:xz
USE_GNOME= cairo gtk40
-USE_GSTREAMER1= gl
+USE_GSTREAMER= gl
MESON_ARGS= --auto-features=disabled -Dgtk4=enabled
PLIST_FILES= lib/gstreamer-1.0/libgstgtk4.so
diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile
index 10bc7e438923..a7fa84c6c72b 100644
--- a/x11-toolkits/gtk40/Makefile
+++ b/x11-toolkits/gtk40/Makefile
@@ -66,7 +66,7 @@ FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
GSTREAMER_DESC= GStreamer multimedia backend
GSTREAMER_MESON_ENABLED=media-gstreamer
-GSTREAMER_USE= GSTREAMER1=bad,gl
+GSTREAMER_USE= GSTREAMER=bad,gl
VULKAN_DESC= GDK Vulkan renderer backend
VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
diff --git a/x11-toolkits/wxgtk30/Makefile b/x11-toolkits/wxgtk30/Makefile
index 1912a6f295de..ca2f505fcfc7 100644
--- a/x11-toolkits/wxgtk30/Makefile
+++ b/x11-toolkits/wxgtk30/Makefile
@@ -58,8 +58,8 @@ OPTIONS_SUB= yes
NLS_USES= gettext
+GSTREAMER_USES= gstreamer
GSTREAMER_CONFIGURE_ENABLE= mediactrl
-GSTREAMER_USE= GSTREAMER1=yes
NOTIFY_CONFIGURE_WITH= libnotify
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
diff --git a/x11-toolkits/wxgtk31/Makefile b/x11-toolkits/wxgtk31/Makefile
index d80d4b0e7f9e..3daf9ac793b4 100644
--- a/x11-toolkits/wxgtk31/Makefile
+++ b/x11-toolkits/wxgtk31/Makefile
@@ -65,7 +65,7 @@ OPTIONS_SUB= yes
NLS_USES= gettext
GSTREAMER_CONFIGURE_ENABLE= mediactrl
-GSTREAMER_USE= GSTREAMER1=bad
+GSTREAMER_USE= GSTREAMER=bad
MSPACK_CONFIGURE_WITH= libmspack
MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack
diff --git a/x11/cinnamon/Makefile b/x11/cinnamon/Makefile
index 9a1b1480839f..7c9e6c1332cd 100644
--- a/x11/cinnamon/Makefile
+++ b/x11/cinnamon/Makefile
@@ -45,12 +45,11 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
metacity:x11-wm/metacity \
tint2:x11/tint
-USES= compiler:c11 cpe gettext gl gnome meson pkgconfig python:3.5+ shebangfix xorg
+USES= compiler:c11 cpe gettext gl gnome gstreamer meson pkgconfig python:3.5+ shebangfix xorg
CPE_VENDOR= linuxmint
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool introspection libxml2 pygobject3
USE_XORG= x11 xfixes
USE_GL= gl
-USE_GSTREAMER1= yes
USE_GITHUB= yes
GH_ACCOUNT= linuxmint
diff --git a/x11/florence/Makefile b/x11/florence/Makefile
index 3316ae63b528..d1e728b62989 100644
--- a/x11/florence/Makefile
+++ b/x11/florence/Makefile
@@ -14,10 +14,9 @@ LICENSE_COMB= multi
LIB_DEPENDS= libnotify.so:devel/libnotify
-USES= gmake gnome iconv libtool pathfix pkgconfig tar:bzip2 xorg
+USES= gmake gnome gstreamer iconv libtool pathfix pkgconfig tar:bzip2 xorg
USE_XORG= xtst xext
USE_GNOME= gtk30 cairo intlhack librsvg2
-USE_GSTREAMER1= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static --without-docs
USE_LDCONFIG= yes
diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile
index 502df3d5dd69..62cbbd36ebc4 100644
--- a/x11/gnome-shell/Makefile
+++ b/x11/gnome-shell/Makefile
@@ -42,14 +42,13 @@ RUN_DEPENDS= gdm:x11/gdm \
PORTSCOUT= limitw:1,even
-USES= compiler:c11 cpe gettext gl gnome libtool localbase meson \
+USES= compiler:c11 cpe gettext gl gnome gstreamer libtool localbase meson \
pathfix perl5 pkgconfig python:3.4+ shebangfix tar:xz \
webplugin:native xorg
USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 gnomedesktop3 gtk40 \
introspection libxml2 libxslt:build
USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xtst
USE_GL= egl gbm
-USE_GSTREAMER1= yes
USE_PERL5= build
USE_LDCONFIG= yes
SHEBANG_FILES= src/gnome-shell-extension-tool.in src/gnome-shell-perf-tool.in
diff --git a/x11/lumina-core/Makefile b/x11/lumina-core/Makefile
index a9f77d06a1e8..1ae8654b3d57 100644
--- a/x11/lumina-core/Makefile
+++ b/x11/lumina-core/Makefile
@@ -44,7 +44,8 @@ TRUEOS_DESC= Use the TrueOS system interface settings.
TRUEOS_QMAKE_ON= DEFAULT_SETTINGS=TrueOS
-MULTIMEDIA_RUN_DEPENDS= gstreamer1-plugins-core>=0:multimedia/gstreamer1-plugins-core
+MULTIMEDIA_USES= gstreamer
+MULTIMEDIA_USE= GSTREAMER=core
NLS_USE= QT=linguist_build
NLS_QMAKE_ON= CONFIG+=WITH_I18N
diff --git a/x11/workrave/Makefile b/x11/workrave/Makefile
index 8e48f9d71732..b3550d7e6be0 100644
--- a/x11/workrave/Makefile
+++ b/x11/workrave/Makefile
@@ -43,7 +43,8 @@ DBUS_CONFIGURE_ENABLE= dbus
DISTRIBUTION_CONFIGURE_ENABLE= distribution
-GSTREAMER_USE= GSTREAMER1=good
+GSTREAMER_USES= gstreamer
+GSTREAMER_USE= GSTREAMER=good
GSTREAMER_CONFIGURE_ENABLE= gstreamer
.include <bsd.port.mk>
diff --git a/x11/xpra/Makefile b/x11/xpra/Makefile
index 8892c9192d19..af93a539cd80 100644
--- a/x11/xpra/Makefile
+++ b/x11/xpra/Makefile
@@ -71,10 +71,10 @@ CUPS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycups>1:print/py-pycups@${PY_FLAVOR}
CUPS_VARS= XPRA_OPTIONS+=printing
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_VARS= XPRA_OPTIONS+=enc_ffmpeg
+GSTREAMER_USES= gstreamer
GSTREAMER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR}
-GSTREAMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR} \
- gstreamer1-plugins-pulse>1:audio/gstreamer1-plugins-pulse
-GSTREAMER_USE= GSTREAMER1=flac,lame,mpg123,ogg,opus,vorbis,wavpack
+GSTREAMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>1:multimedia/py-gstreamer1@${PY_FLAVOR}
+GSTREAMER_USE= GSTREAMER=flac,lame,mpg123,ogg,opus,pulse,vorbis,wavpack
GSTREAMER_VARS= XPRA_OPTIONS+=sound
LIBYUV_LIB_DEPENDS= libyuv.so:graphics/libyuv
LIBYUV_VARS= XPRA_OPTIONS+=csc_libyuv