git: e3b732b4791c - main - Update gstreamer1 to upstream release 1.20.3

From: Thomas Zander <riggs_at_FreeBSD.org>
Date: Sat, 15 Oct 2022 10:46:53 UTC
The branch main has been updated by riggs:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e3b732b4791c01bdeeb671ffb557c1914763249f

commit e3b732b4791c01bdeeb671ffb557c1914763249f
Author:     Michal Zielonka <michal.zielonka.8001@gmail.com>
AuthorDate: 2022-09-20 17:47:40 +0000
Commit:     Thomas Zander <riggs@FreeBSD.org>
CommitDate: 2022-10-15 10:46:46 +0000

    Update gstreamer1 to upstream release 1.20.3
    
    PR:             261585
    Reviewed by:    riggs,jbeich,tcberner
    
    Differential Revision:  https://reviews.freebsd.org/D36850
---
 MOVED                                              |   1 +
 audio/gstreamer1-plugins-a52dec/Makefile           |   8 +-
 audio/gstreamer1-plugins-a52dec/pkg-plist          |   1 +
 audio/gstreamer1-plugins-amrnb/Makefile            |  10 +-
 audio/gstreamer1-plugins-amrnb/pkg-plist           |   2 +
 audio/gstreamer1-plugins-amrwbdec/Makefile         |  12 +-
 audio/gstreamer1-plugins-amrwbdec/pkg-plist        |   1 +
 audio/gstreamer1-plugins-bs2b/Makefile             |  10 +-
 audio/gstreamer1-plugins-bs2b/pkg-plist            |   1 +
 audio/gstreamer1-plugins-cdparanoia/Makefile       |   6 +-
 audio/gstreamer1-plugins-cdparanoia/pkg-plist      |   1 +
 audio/gstreamer1-plugins-chromaprint/Makefile      |   6 +-
 audio/gstreamer1-plugins-chromaprint/pkg-plist     |   1 +
 audio/gstreamer1-plugins-faac/Makefile             |   6 +-
 audio/gstreamer1-plugins-faac/pkg-plist            |   1 +
 audio/gstreamer1-plugins-faad/Makefile             |   8 +-
 audio/gstreamer1-plugins-faad/pkg-plist            |   1 +
 audio/gstreamer1-plugins-flac/Makefile             |   6 +-
 audio/gstreamer1-plugins-flac/pkg-plist            |   1 +
 audio/gstreamer1-plugins-flite/Makefile            |   6 +-
 audio/gstreamer1-plugins-flite/pkg-plist           |   1 +
 audio/gstreamer1-plugins-gme/Makefile              |   6 +-
 audio/gstreamer1-plugins-gme/pkg-plist             |   1 +
 audio/gstreamer1-plugins-gsm/Makefile              |   6 +-
 audio/gstreamer1-plugins-gsm/pkg-plist             |   1 +
 audio/gstreamer1-plugins-jack/Makefile             |   6 +-
 audio/gstreamer1-plugins-jack/pkg-plist            |   1 +
 audio/gstreamer1-plugins-ladspa/Makefile           |   8 +-
 audio/gstreamer1-plugins-ladspa/pkg-plist          |   1 +
 audio/gstreamer1-plugins-lame/Makefile             |   6 +-
 audio/gstreamer1-plugins-lame/pkg-plist            |   1 +
 audio/gstreamer1-plugins-lv2/Makefile              |  12 +-
 audio/gstreamer1-plugins-lv2/pkg-plist             |   1 +
 audio/gstreamer1-plugins-modplug/Makefile          |   6 +-
 audio/gstreamer1-plugins-modplug/pkg-plist         |   1 +
 audio/gstreamer1-plugins-mpg123/Makefile           |   6 +-
 audio/gstreamer1-plugins-mpg123/pkg-plist          |   1 +
 audio/gstreamer1-plugins-musepack/Makefile         |   6 +-
 audio/gstreamer1-plugins-musepack/pkg-plist        |   1 +
 audio/gstreamer1-plugins-ogg/Makefile              |   6 +-
 audio/gstreamer1-plugins-ogg/pkg-plist             |   1 +
 audio/gstreamer1-plugins-openmpt/Makefile          |  11 +-
 audio/gstreamer1-plugins-openmpt/pkg-plist         |   1 +
 audio/gstreamer1-plugins-opus/Makefile             |   6 +-
 audio/gstreamer1-plugins-opus/pkg-plist            |   1 +
 audio/gstreamer1-plugins-pulse/Makefile            |   6 +-
 audio/gstreamer1-plugins-pulse/pkg-plist           |   1 +
 audio/gstreamer1-plugins-shout2/Makefile           |   6 +-
 audio/gstreamer1-plugins-shout2/pkg-plist          |   1 +
 audio/gstreamer1-plugins-sidplay/Makefile          |   8 +-
 audio/gstreamer1-plugins-sidplay/pkg-plist         |   1 +
 audio/gstreamer1-plugins-sndfile/Makefile          |   6 +-
 audio/gstreamer1-plugins-sndfile/pkg-plist         |   1 +
 audio/gstreamer1-plugins-soundtouch/Makefile       |   5 +-
 audio/gstreamer1-plugins-soundtouch/pkg-plist      |   1 +
 audio/gstreamer1-plugins-speex/Makefile            |   6 +-
 audio/gstreamer1-plugins-speex/pkg-plist           |   1 +
 audio/gstreamer1-plugins-taglib/Makefile           |   6 +-
 audio/gstreamer1-plugins-taglib/pkg-plist          |   1 +
 audio/gstreamer1-plugins-twolame/Makefile          |   6 +-
 audio/gstreamer1-plugins-twolame/pkg-plist         |   1 +
 audio/gstreamer1-plugins-vorbis/Makefile           |   7 +-
 audio/gstreamer1-plugins-vorbis/pkg-plist          |   1 +
 audio/gstreamer1-plugins-wavpack/Makefile          |   6 +-
 audio/gstreamer1-plugins-wavpack/pkg-plist         |   1 +
 audio/gstreamer1-plugins-webrtcdsp/Makefile        |   6 +-
 audio/gstreamer1-plugins-webrtcdsp/pkg-plist       |   1 +
 comms/gstreamer1-plugins-spandsp/Makefile          |   6 +-
 comms/gstreamer1-plugins-spandsp/pkg-plist         |   1 +
 devel/gstreamer1-plugins-soup/Makefile             |   6 +-
 devel/gstreamer1-plugins-soup/pkg-plist            |   1 +
 ftp/gstreamer1-plugins-curl/Makefile               |   7 +-
 ftp/gstreamer1-plugins-curl/pkg-plist              |   1 +
 graphics/gstreamer1-plugins-aalib/Makefile         |   7 +-
 graphics/gstreamer1-plugins-aalib/pkg-plist        |   1 +
 graphics/gstreamer1-plugins-cairo/Makefile         |   6 +-
 graphics/gstreamer1-plugins-cairo/pkg-plist        |   1 +
 graphics/gstreamer1-plugins-gdkpixbuf/Makefile     |   8 +-
 graphics/gstreamer1-plugins-gdkpixbuf/pkg-plist    |   1 +
 graphics/gstreamer1-plugins-gl/Makefile            |  31 +-
 graphics/gstreamer1-plugins-gl/pkg-plist           |  21 +-
 graphics/gstreamer1-plugins-jpeg/Makefile          |   6 +-
 graphics/gstreamer1-plugins-jpeg/pkg-plist         |   1 +
 graphics/gstreamer1-plugins-kms/Makefile           |   6 +-
 graphics/gstreamer1-plugins-kms/pkg-plist          |   1 +
 graphics/gstreamer1-plugins-libcaca/Makefile       |   6 +-
 graphics/gstreamer1-plugins-libcaca/pkg-plist      |   1 +
 graphics/gstreamer1-plugins-libvisual/Makefile     |   6 +-
 graphics/gstreamer1-plugins-libvisual/pkg-plist    |   1 +
 graphics/gstreamer1-plugins-opencv/Makefile        |   4 +-
 graphics/gstreamer1-plugins-opencv/pkg-plist       |   2 -
 graphics/gstreamer1-plugins-openexr/Makefile       |  10 +-
 graphics/gstreamer1-plugins-openexr/pkg-plist      |   1 +
 graphics/gstreamer1-plugins-openjpeg/Makefile      |   6 +-
 .../gstreamer1-plugins-openjpeg/files/patch-inc    |  30 -
 graphics/gstreamer1-plugins-openjpeg/pkg-plist     |   1 +
 graphics/gstreamer1-plugins-png/Makefile           |   8 +-
 graphics/gstreamer1-plugins-png/pkg-plist          |   1 +
 graphics/gstreamer1-plugins-qt/Makefile            |  11 +-
 graphics/gstreamer1-plugins-qt/pkg-plist           |   1 +
 graphics/gstreamer1-plugins-rsvg/Makefile          |   6 +-
 graphics/gstreamer1-plugins-rsvg/pkg-plist         |   1 +
 graphics/gstreamer1-plugins-vulkan/Makefile        |  15 +-
 graphics/gstreamer1-plugins-vulkan/pkg-plist       |  53 ++
 graphics/gstreamer1-plugins-webp/Makefile          |   6 +-
 graphics/gstreamer1-plugins-webp/pkg-plist         |   1 +
 graphics/gstreamer1-plugins-zbar/Makefile          |   6 +-
 graphics/gstreamer1-plugins-zbar/pkg-plist         |   1 +
 multimedia/Makefile                                |   1 -
 multimedia/gstreamer1-editing-services/Makefile    |  24 +-
 multimedia/gstreamer1-editing-services/distinfo    |   6 +-
 multimedia/gstreamer1-editing-services/pkg-plist   |   4 +
 multimedia/gstreamer1-libav/Makefile               |  21 +-
 multimedia/gstreamer1-libav/distinfo               |   8 +-
 multimedia/gstreamer1-libav/pkg-plist              |  22 -
 multimedia/gstreamer1-plugins-all/Makefile         |   3 +-
 multimedia/gstreamer1-plugins-aom/Makefile         |   6 +-
 multimedia/gstreamer1-plugins-aom/pkg-plist        |   1 +
 multimedia/gstreamer1-plugins-assrender/Makefile   |   8 +-
 multimedia/gstreamer1-plugins-assrender/pkg-plist  |   1 +
 multimedia/gstreamer1-plugins-bad/Makefile         | 118 +++-
 .../files/patch-data_meson.build                   |  12 +
 .../files/patch-ext_dash_meson.build               |  21 +
 .../files/patch-ext_hls_meson.build                |  12 +
 .../files/patch-ext_opencv_gstcvdilateerode.cpp    |  11 -
 .../files/patch-ext_openjpeg_meson.build           |  11 +
 .../files/patch-ext_openmpt_meson.build            |  11 +
 .../files/patch-ext_smoothstreaming_meson.build    |  17 +
 .../files/patch-ext_spandsp_gstspanplc.h           |  10 +
 .../files/patch-ext_webrtcdsp_meson.build          |  11 +
 .../files/patch-git_a0cd455d                       | 142 ----
 .../files/patch-git_dc57fb70                       |  26 -
 .../patch-gst-libs_gst_adaptivedemux_meson.build   |  20 +
 .../files/patch-gst-libs_gst_audio_meson.build     |  12 +
 ...patch-gst-libs_gst_basecamerabinsrc_meson.build |  12 +
 .../patch-gst-libs_gst_codecparsers_meson.build    |  12 +
 .../files/patch-gst-libs_gst_codecs_meson.build    |  15 +
 .../files/patch-gst-libs_gst_insertbin_meson.build |  12 +
 .../patch-gst-libs_gst_interfaces_meson.build      |  12 +
 .../files/patch-gst-libs_gst_isoff_meson.build     |  21 +
 .../files/patch-gst-libs_gst_mpegts_meson.build    |  12 +
 .../files/patch-gst-libs_gst_play_meson.build      |  12 +
 .../files/patch-gst-libs_gst_player_meson.build    |  12 +
 .../files/patch-gst-libs_gst_sctp_meson.build      |  12 +
 .../patch-gst-libs_gst_transcoder_meson.build      |  12 +
 .../patch-gst-libs_gst_uridownloader_meson.build   |  15 +
 .../files/patch-gst-libs_gst_webrtc_meson.build    |  12 +
 .../gstreamer1-plugins-bad/files/patch-meson.build |  18 +
 .../files/patch-meson__options.txt                 |  42 ++
 .../files/patch-sys_kms_meson.build                |  13 +
 .../files/patch-sys_msdk_meson.build               |  16 +
 .../files/patch-tests_examples_meson.build         |  74 +++
 .../files/patch-tools_meson.build                  |  11 +
 multimedia/gstreamer1-plugins-bad/pkg-plist        |  81 ++-
 multimedia/gstreamer1-plugins-core/Makefile        |   2 +-
 multimedia/gstreamer1-plugins-dash/Makefile        |  11 +-
 multimedia/gstreamer1-plugins-dash/pkg-plist       |   1 +
 multimedia/gstreamer1-plugins-dts/Makefile         |   8 +-
 multimedia/gstreamer1-plugins-dts/pkg-plist        |   1 +
 multimedia/gstreamer1-plugins-dv/Makefile          |   8 +-
 multimedia/gstreamer1-plugins-dv/pkg-plist         |   1 +
 multimedia/gstreamer1-plugins-dvdread/Makefile     |   8 +-
 multimedia/gstreamer1-plugins-dvdread/pkg-plist    |   1 +
 multimedia/gstreamer1-plugins-gnonlin/Makefile     |   4 +-
 multimedia/gstreamer1-plugins-good/Makefile        |  60 +-
 .../files/patch-ext_qt_gstqsgtexture.cc            |  11 -
 .../files/patch-ext_qt_gstqtglutility.cc           |  15 -
 .../files/patch-ext_qt_qtitem.cc                   |  11 -
 .../files/patch-ext_qt_qtwindow.cc                 |  20 -
 .../files/patch-sys_oss_gstosshelper.c             |  82 ---
 .../files/patch-sys_oss_gstosssink.c               |  73 --
 .../files/patch-sys_oss_gstosssrc.c                |  73 --
 .../files/patch-sys_v4l2_gstv4l2object.c           |  13 -
 .../files/patch-sys_v4l2_v4l2__calls.c             |  15 +
 multimedia/gstreamer1-plugins-good/pkg-plist       |   1 +
 multimedia/gstreamer1-plugins-hls/Makefile         |   6 +-
 multimedia/gstreamer1-plugins-hls/pkg-plist        |   1 +
 multimedia/gstreamer1-plugins-kate/Makefile        |   6 +-
 multimedia/gstreamer1-plugins-kate/pkg-plist       |   1 +
 multimedia/gstreamer1-plugins-libde265/Makefile    |   6 +-
 multimedia/gstreamer1-plugins-libde265/pkg-plist   |   1 +
 multimedia/gstreamer1-plugins-mpeg2dec/Makefile    |   8 +-
 multimedia/gstreamer1-plugins-mpeg2dec/pkg-plist   |   1 +
 multimedia/gstreamer1-plugins-mpeg2enc/Makefile    |   8 +-
 multimedia/gstreamer1-plugins-mpeg2enc/pkg-plist   |   1 +
 multimedia/gstreamer1-plugins-mplex/Makefile       |   8 +-
 multimedia/gstreamer1-plugins-mplex/pkg-plist      |   1 +
 multimedia/gstreamer1-plugins-msdk/Makefile        |   9 +-
 multimedia/gstreamer1-plugins-msdk/pkg-plist       |   1 +
 multimedia/gstreamer1-plugins-openh264/Makefile    |   6 +-
 multimedia/gstreamer1-plugins-openh264/pkg-plist   |   1 +
 multimedia/gstreamer1-plugins-resindvd/Makefile    |  10 +-
 multimedia/gstreamer1-plugins-resindvd/pkg-plist   |   1 +
 multimedia/gstreamer1-plugins-rtmp/Makefile        |   6 +-
 multimedia/gstreamer1-plugins-rtmp/pkg-plist       |   1 +
 .../gstreamer1-plugins-smoothstreaming/Makefile    |   9 +-
 .../gstreamer1-plugins-smoothstreaming/pkg-plist   |   1 +
 multimedia/gstreamer1-plugins-theora/Makefile      |   7 +-
 multimedia/gstreamer1-plugins-theora/pkg-plist     |   1 +
 multimedia/gstreamer1-plugins-ttml/Makefile        |   6 +-
 multimedia/gstreamer1-plugins-ttml/pkg-plist       |   1 +
 multimedia/gstreamer1-plugins-ugly/Makefile        |  21 +-
 .../files/patch-meson.build                        |  14 +
 .../files/patch-meson_options.txt                  |  15 +
 multimedia/gstreamer1-plugins-ugly/pkg-plist       |   1 +
 multimedia/gstreamer1-plugins-v4l2/Makefile        |  10 +-
 multimedia/gstreamer1-plugins-v4l2/pkg-plist       |   1 +
 multimedia/gstreamer1-plugins-vpx/Makefile         |   6 +-
 multimedia/gstreamer1-plugins-vpx/pkg-plist        |   2 +
 multimedia/gstreamer1-plugins-x264/Makefile        |   8 +-
 multimedia/gstreamer1-plugins-x264/pkg-plist       |   2 +
 multimedia/gstreamer1-plugins-x265/Makefile        |   8 +-
 multimedia/gstreamer1-plugins-x265/pkg-plist       |   1 +
 multimedia/gstreamer1-plugins/Makefile             | 144 ++--
 multimedia/gstreamer1-plugins/Makefile.common      | 731 +++++++--------------
 multimedia/gstreamer1-plugins/distinfo             |  18 +-
 .../gstreamer1-plugins/files/patch-Makefile.in     |  11 -
 .../gstreamer1-plugins/files/patch-configure       | 109 ---
 .../files/patch-ext_cdparanoia_meson.build         |  11 +
 .../files/patch-ext_gl_meson.build                 |  11 +
 .../files/patch-ext_libvisual_meson.build          |  12 +
 .../files/patch-ext_ogg_meson.build                |  13 +
 .../files/patch-ext_opus_meson.build               |  19 +
 .../files/patch-ext_pango_meson.build              |  13 +
 .../files/patch-ext_theora_meson.build             |  12 +
 .../files/patch-ext_vorbis_meson.build             |  12 +
 .../patch-gst-libs_gst_allocators_meson.build      |  12 +
 .../files/patch-gst-libs_gst_app_meson.build       |  12 +
 .../files/patch-gst-libs_gst_audio_meson.build     |  12 +
 .../files/patch-gst-libs_gst_fft_meson.build       |  12 +
 .../files/patch-gst-libs_gst_gl_meson.build        |  69 ++
 .../files/patch-gst-libs_gst_pbutils_meson.build   |  15 +
 .../files/patch-gst-libs_gst_riff_meson.build      |  12 +
 .../files/patch-gst-libs_gst_rtp_meson.build       |  12 +
 .../files/patch-gst-libs_gst_rtsp_meson.build      |  12 +
 .../files/patch-gst-libs_gst_sdp_meson.build       |  12 +
 .../files/patch-gst-libs_gst_tag_meson.build       |  12 +
 .../files/patch-gst-libs_gst_video_meson.build     |  12 +
 .../gstreamer1-plugins/files/patch-meson.build     |  39 ++
 .../files/patch-meson__options.txt                 |  30 +
 .../files/patch-sys_ximage_meson.build             |  19 +
 .../files/patch-sys_xvimage_meson.build            |  13 +
 multimedia/gstreamer1-plugins/pkg-plist            |  38 +-
 multimedia/gstreamer1-qt/Makefile                  |   2 +-
 ...-elements_gstqtvideosink_gstqtvideosinkplugin.h |   8 +-
 .../gstreamer1-qt/files/patch-src_QGst_event.cpp   |  11 +
 .../gstreamer1-qt/files/patch-src_QGst_message.cpp |  11 +
 multimedia/gstreamer1-rtsp-server/Makefile         |  12 +-
 multimedia/gstreamer1-rtsp-server/distinfo         |   6 +-
 multimedia/gstreamer1-transcoder/Makefile          |  38 --
 multimedia/gstreamer1-transcoder/distinfo          |   3 -
 multimedia/gstreamer1-transcoder/pkg-descr         |   3 -
 multimedia/gstreamer1-transcoder/pkg-plist         |  34 -
 multimedia/gstreamer1-vaapi/Makefile               |  23 +-
 multimedia/gstreamer1-vaapi/distinfo               |   6 +-
 multimedia/gstreamer1-vaapi/pkg-plist              |  35 -
 multimedia/gstreamer1-validate/Makefile            |  15 +-
 multimedia/gstreamer1-validate/distinfo            |   6 +-
 multimedia/gstreamer1/Makefile                     |  36 +-
 multimedia/gstreamer1/distinfo                     |   6 +-
 multimedia/gstreamer1/files/patch-Makefile.in      |  11 -
 .../files/patch-libs_gst_controller_Makefile.in    |  11 -
 multimedia/gstreamer1/pkg-plist                    | 112 ++--
 multimedia/pitivi/Makefile                         |  16 +-
 multimedia/pitivi/distinfo                         |   6 +-
 multimedia/pitivi/pkg-plist                        | 264 +++++---
 net/gstreamer1-plugins-srtp/Makefile               |   6 +-
 net/gstreamer1-plugins-srtp/pkg-plist              |   1 +
 security/gstreamer1-plugins-dtls/Makefile          |   6 +-
 security/gstreamer1-plugins-dtls/pkg-plist         |   1 +
 sysutils/gstreamer1-plugins-cdio/Makefile          |   8 +-
 sysutils/gstreamer1-plugins-cdio/pkg-plist         |   1 +
 www/gstreamer1-plugins-neon/Makefile               |   6 +-
 www/gstreamer1-plugins-neon/pkg-plist              |   1 +
 x11-toolkits/gstreamer1-plugins-gtk/Makefile       |   8 +-
 x11-toolkits/gstreamer1-plugins-gtk/pkg-plist      |   1 +
 x11-toolkits/gstreamer1-plugins-pango/Makefile     |   8 +-
 x11-toolkits/gstreamer1-plugins-pango/pkg-plist    |   1 +
 x11/gstreamer1-plugins-x/Makefile                  |  11 +-
 x11/gstreamer1-plugins-x/pkg-plist                 |   3 +
 x11/gstreamer1-plugins-ximagesrc/Makefile          |  14 +-
 x11/gstreamer1-plugins-ximagesrc/pkg-plist         |   1 +
 282 files changed, 2533 insertions(+), 1815 deletions(-)

diff --git a/MOVED b/MOVED
index 03dac67399d1..d563ed57a9ff 100644
--- a/MOVED
+++ b/MOVED
@@ -17598,3 +17598,4 @@ www/rubygem-protocol-rack01|www/rubygem-protocol-rack|2022-10-09|Remove obsolete
 www/rubygem-rack223|www/rubygem-rack|2022-10-09|Remove obsoleted port. Use www/rubygem-rack instead
 databases/pymongo|databases/py-pymongo|2022-10-09|Add the py- prefix which all Python ports should have
 audio/protracker|audio/pt2-clone|2022-10-12|Renamed to match project name
+multimedia/gstreamer1-transcoder|multimedia/gstreamer1-plugins-bad|2022-10-15|Upstream included transcoding in plugins-bad
diff --git a/audio/gstreamer1-plugins-a52dec/Makefile b/audio/gstreamer1-plugins-a52dec/Makefile
index 75d248e4951f..7b743eb76a34 100644
--- a/audio/gstreamer1-plugins-a52dec/Makefile
+++ b/audio/gstreamer1-plugins-a52dec/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer ATSC A/52 stream aka AC-3 (dvd audio) plugin
@@ -8,4 +8,10 @@ DIST=		ugly
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+MESON_ARGS+= -Dgpl=enabled
+
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= liba52.so:audio/liba52
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-a52dec/pkg-plist b/audio/gstreamer1-plugins-a52dec/pkg-plist
new file mode 100644
index 000000000000..2bab8ee560ac
--- /dev/null
+++ b/audio/gstreamer1-plugins-a52dec/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgsta52dec.so
diff --git a/audio/gstreamer1-plugins-amrnb/Makefile b/audio/gstreamer1-plugins-amrnb/Makefile
index 9d4a2316871b..fc4c144ead72 100644
--- a/audio/gstreamer1-plugins-amrnb/Makefile
+++ b/audio/gstreamer1-plugins-amrnb/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer OpenCore based Adaptive Multi-Rate Narrow-Band plugin
@@ -6,6 +6,12 @@ COMMENT=	GStreamer OpenCore based Adaptive Multi-Rate Narrow-Band plugin
 GST_PLUGIN=	amrnb
 DIST=		ugly
 
-MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR=  ${.CURDIR}/../../multimedia/gstreamer1-plugins
+
+MESON_ARGS+= -Dgpl=enabled
+
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libopencore-amrnb.so:audio/opencore-amr
 
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-amrnb/pkg-plist b/audio/gstreamer1-plugins-amrnb/pkg-plist
new file mode 100644
index 000000000000..51b9ecad98a2
--- /dev/null
+++ b/audio/gstreamer1-plugins-amrnb/pkg-plist
@@ -0,0 +1,2 @@
+lib/gstreamer-%%VERSION%%/libgstamrnb.so
+%%DATADIR%%-%%VERSION%%/presets/GstAmrnbEnc.prs
diff --git a/audio/gstreamer1-plugins-amrwbdec/Makefile b/audio/gstreamer1-plugins-amrwbdec/Makefile
index 20baa4d53017..b851ca985326 100644
--- a/audio/gstreamer1-plugins-amrwbdec/Makefile
+++ b/audio/gstreamer1-plugins-amrwbdec/Makefile
@@ -1,12 +1,18 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 PKGNAMESUFFIX=	1-plugins-amrwbdec
 
 COMMENT=	GStreamer OpenCore based Adaptive Multi-Rate Wide-Band Decoder plugin
 
-GST_PLUGIN=	amrwb
+GST_PLUGIN=	amrwbdec
 DIST=		ugly
 
-MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR=  ${.CURDIR}/../../multimedia/gstreamer1-plugins
+
+MESON_ARGS+= -Dgpl=enabled
+
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr
 
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-amrwbdec/pkg-plist b/audio/gstreamer1-plugins-amrwbdec/pkg-plist
new file mode 100644
index 000000000000..57bdc4d6ae6d
--- /dev/null
+++ b/audio/gstreamer1-plugins-amrwbdec/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstamrwbdec.so
diff --git a/audio/gstreamer1-plugins-bs2b/Makefile b/audio/gstreamer1-plugins-bs2b/Makefile
index 4f26acbc25ad..8abafc0f2235 100644
--- a/audio/gstreamer1-plugins-bs2b/Makefile
+++ b/audio/gstreamer1-plugins-bs2b/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer Bauer Stereophonic to Banaural BSP (bs2b) plugin
@@ -6,6 +6,12 @@ COMMENT=	GStreamer Bauer Stereophonic to Banaural BSP (bs2b) plugin
 GST_PLUGIN=	bs2b
 DIST=		bad
 
-MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
+MASTERDIR=  ${.CURDIR}/../../multimedia/gstreamer1-plugins
+
+PLIST=  ${.CURDIR}/pkg-plist
+LIB_DEPENDS= libbs2b.so:audio/libbs2b
+
+MESON_ARGS+= -Dgpl=enabled
 
 .include "${MASTERDIR}/Makefile"
+
diff --git a/audio/gstreamer1-plugins-bs2b/pkg-plist b/audio/gstreamer1-plugins-bs2b/pkg-plist
new file mode 100644
index 000000000000..f941fa3c7588
--- /dev/null
+++ b/audio/gstreamer1-plugins-bs2b/pkg-plist
@@ -0,0 +1 @@
+ lib/gstreamer-%%VERSION%%/libgstbs2b.so
diff --git a/audio/gstreamer1-plugins-cdparanoia/Makefile b/audio/gstreamer1-plugins-cdparanoia/Makefile
index 94195a1a3ebd..25b57c3b437b 100644
--- a/audio/gstreamer1-plugins-cdparanoia/Makefile
+++ b/audio/gstreamer1-plugins-cdparanoia/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer CDDA extraction (aka audio ripping) plugin
@@ -8,4 +8,8 @@ DIST=		base
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libcdda_interface.so:audio/cdparanoia
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-cdparanoia/pkg-plist b/audio/gstreamer1-plugins-cdparanoia/pkg-plist
new file mode 100644
index 000000000000..b8454271c5c6
--- /dev/null
+++ b/audio/gstreamer1-plugins-cdparanoia/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstcdparanoia.so
diff --git a/audio/gstreamer1-plugins-chromaprint/Makefile b/audio/gstreamer1-plugins-chromaprint/Makefile
index cea3e1f5f245..316daec89e57 100644
--- a/audio/gstreamer1-plugins-chromaprint/Makefile
+++ b/audio/gstreamer1-plugins-chromaprint/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer audio fingerprint extracting plugin
@@ -8,4 +8,8 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libchromaprint.so:audio/chromaprint
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-chromaprint/pkg-plist b/audio/gstreamer1-plugins-chromaprint/pkg-plist
new file mode 100644
index 000000000000..0f036beaf645
--- /dev/null
+++ b/audio/gstreamer1-plugins-chromaprint/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstchromaprint.so
diff --git a/audio/gstreamer1-plugins-faac/Makefile b/audio/gstreamer1-plugins-faac/Makefile
index b1e7fe10dc77..eb7e715f48d2 100644
--- a/audio/gstreamer1-plugins-faac/Makefile
+++ b/audio/gstreamer1-plugins-faac/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer MPEG-2 and MPEG-4 AAC encoder plugin
@@ -8,4 +8,8 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libfaac.so:audio/faac
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-faac/pkg-plist b/audio/gstreamer1-plugins-faac/pkg-plist
new file mode 100644
index 000000000000..fd3227e7eb00
--- /dev/null
+++ b/audio/gstreamer1-plugins-faac/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstfaac.so
diff --git a/audio/gstreamer1-plugins-faad/Makefile b/audio/gstreamer1-plugins-faad/Makefile
index 387cd607f5b4..d63c8e7b0960 100644
--- a/audio/gstreamer1-plugins-faad/Makefile
+++ b/audio/gstreamer1-plugins-faad/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer MPEG-2 and MPEG-4 AAC decoder plugin
@@ -8,4 +8,10 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libfaad.so:audio/faad
+
+MESON_ARGS+= -Dgpl=enabled
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-faad/pkg-plist b/audio/gstreamer1-plugins-faad/pkg-plist
new file mode 100644
index 000000000000..158cd52ec689
--- /dev/null
+++ b/audio/gstreamer1-plugins-faad/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstfaad.so
diff --git a/audio/gstreamer1-plugins-flac/Makefile b/audio/gstreamer1-plugins-flac/Makefile
index 45b07d466e85..8f8c1f07601d 100644
--- a/audio/gstreamer1-plugins-flac/Makefile
+++ b/audio/gstreamer1-plugins-flac/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	3
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer free lossless audio encoder/decoder plugin
@@ -8,4 +8,8 @@ DIST=		good
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libFLAC.so:audio/flac
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-flac/pkg-plist b/audio/gstreamer1-plugins-flac/pkg-plist
new file mode 100644
index 000000000000..13e6c60bbf26
--- /dev/null
+++ b/audio/gstreamer1-plugins-flac/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstflac.so
diff --git a/audio/gstreamer1-plugins-flite/Makefile b/audio/gstreamer1-plugins-flite/Makefile
index 90efcedad499..7409b797f849 100644
--- a/audio/gstreamer1-plugins-flite/Makefile
+++ b/audio/gstreamer1-plugins-flite/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer flite run-time speech synthesis engine plugin
@@ -8,4 +8,8 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libflite.so:audio/flite
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-flite/pkg-plist b/audio/gstreamer1-plugins-flite/pkg-plist
new file mode 100644
index 000000000000..7efc937a2f47
--- /dev/null
+++ b/audio/gstreamer1-plugins-flite/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstflite.so
diff --git a/audio/gstreamer1-plugins-gme/Makefile b/audio/gstreamer1-plugins-gme/Makefile
index 4d4fa060bbd8..b6ef3e2d0ef4 100644
--- a/audio/gstreamer1-plugins-gme/Makefile
+++ b/audio/gstreamer1-plugins-gme/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer emulate gaming console sound processors plugin
@@ -8,4 +8,8 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libgme.so:audio/libgme
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-gme/pkg-plist b/audio/gstreamer1-plugins-gme/pkg-plist
new file mode 100644
index 000000000000..fb27f08c5888
--- /dev/null
+++ b/audio/gstreamer1-plugins-gme/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstgme.so
diff --git a/audio/gstreamer1-plugins-gsm/Makefile b/audio/gstreamer1-plugins-gsm/Makefile
index e5bdefb7830d..aaa8ec5976c0 100644
--- a/audio/gstreamer1-plugins-gsm/Makefile
+++ b/audio/gstreamer1-plugins-gsm/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer gsm encoding/decoding plugin
@@ -8,4 +8,8 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libgsm.so:audio/gsm
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-gsm/pkg-plist b/audio/gstreamer1-plugins-gsm/pkg-plist
new file mode 100644
index 000000000000..ab459fcc8bde
--- /dev/null
+++ b/audio/gstreamer1-plugins-gsm/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstgsm.so
diff --git a/audio/gstreamer1-plugins-jack/Makefile b/audio/gstreamer1-plugins-jack/Makefile
index 548f755c8731..1e07845be434 100644
--- a/audio/gstreamer1-plugins-jack/Makefile
+++ b/audio/gstreamer1-plugins-jack/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer low-latency audio server plugin
@@ -8,4 +8,8 @@ DIST=		good
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libjack.so:audio/jack
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-jack/pkg-plist b/audio/gstreamer1-plugins-jack/pkg-plist
new file mode 100644
index 000000000000..4f48f62312fe
--- /dev/null
+++ b/audio/gstreamer1-plugins-jack/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstjack.so
diff --git a/audio/gstreamer1-plugins-ladspa/Makefile b/audio/gstreamer1-plugins-ladspa/Makefile
index 11cf4092d0b6..d189b8c62227 100644
--- a/audio/gstreamer1-plugins-ladspa/Makefile
+++ b/audio/gstreamer1-plugins-ladspa/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	Gstreamer ladspa (Linux Audio Developer's Simple Plugin API) plugin
@@ -8,4 +8,10 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
+
+LIB_DEPENDS= liblrdf.so:textproc/liblrdf
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-ladspa/pkg-plist b/audio/gstreamer1-plugins-ladspa/pkg-plist
new file mode 100644
index 000000000000..309ed3de532d
--- /dev/null
+++ b/audio/gstreamer1-plugins-ladspa/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstladspa.so
diff --git a/audio/gstreamer1-plugins-lame/Makefile b/audio/gstreamer1-plugins-lame/Makefile
index f2a13edec8a7..fde330beb9bb 100644
--- a/audio/gstreamer1-plugins-lame/Makefile
+++ b/audio/gstreamer1-plugins-lame/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer High-quality free mp3 encode plugin
@@ -8,4 +8,8 @@ DIST=		good
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libmp3lame.so:audio/lame
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-lame/pkg-plist b/audio/gstreamer1-plugins-lame/pkg-plist
new file mode 100644
index 000000000000..d4bc14d79b11
--- /dev/null
+++ b/audio/gstreamer1-plugins-lame/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstlame.so
diff --git a/audio/gstreamer1-plugins-lv2/Makefile b/audio/gstreamer1-plugins-lv2/Makefile
index b5b05a5cb3b7..d39b0eeff8a7 100644
--- a/audio/gstreamer1-plugins-lv2/Makefile
+++ b/audio/gstreamer1-plugins-lv2/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	Gstreamer lv2 wrapper plugin
@@ -8,4 +8,14 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+BUILD_DEPENDS=  lv2>=1.14.0:audio/lv2
+LIB_DEPENDS=  libsord-0.so:devel/sord \
+		libserd-0.so:devel/serd \
+		libsratom-0.so:audio/sratom \
+		liblilv-0.so:audio/lilv
+
 .include "${MASTERDIR}/Makefile"
+
+USES+=   pkgconfig
diff --git a/audio/gstreamer1-plugins-lv2/pkg-plist b/audio/gstreamer1-plugins-lv2/pkg-plist
new file mode 100644
index 000000000000..196519ac3d83
--- /dev/null
+++ b/audio/gstreamer1-plugins-lv2/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstlv2.so
diff --git a/audio/gstreamer1-plugins-modplug/Makefile b/audio/gstreamer1-plugins-modplug/Makefile
index 8a565fae0823..eaf25942c970 100644
--- a/audio/gstreamer1-plugins-modplug/Makefile
+++ b/audio/gstreamer1-plugins-modplug/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer module decoder based on modplug egine plugin
@@ -8,4 +8,8 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libmodplug.so:audio/libmodplug
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-modplug/pkg-plist b/audio/gstreamer1-plugins-modplug/pkg-plist
new file mode 100644
index 000000000000..8e164ae85030
--- /dev/null
+++ b/audio/gstreamer1-plugins-modplug/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstmodplug.so
diff --git a/audio/gstreamer1-plugins-mpg123/Makefile b/audio/gstreamer1-plugins-mpg123/Makefile
index 17c4723b2fe1..ca4de84b4184 100644
--- a/audio/gstreamer1-plugins-mpg123/Makefile
+++ b/audio/gstreamer1-plugins-mpg123/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer MPEG Layer 1, 2, and 3 plugin
@@ -8,4 +8,8 @@ DIST=		good
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libmpg123.so:audio/mpg123
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-mpg123/pkg-plist b/audio/gstreamer1-plugins-mpg123/pkg-plist
new file mode 100644
index 000000000000..bf17e1875d77
--- /dev/null
+++ b/audio/gstreamer1-plugins-mpg123/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstmpg123.so
diff --git a/audio/gstreamer1-plugins-musepack/Makefile b/audio/gstreamer1-plugins-musepack/Makefile
index 83f4143a39dd..7fde1a3821f9 100644
--- a/audio/gstreamer1-plugins-musepack/Makefile
+++ b/audio/gstreamer1-plugins-musepack/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	Gstreamer musepack mpc encoder/decoder plugin
@@ -8,4 +8,8 @@ DIST=		bad
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=libmpcdec.so:audio/musepack
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-musepack/pkg-plist b/audio/gstreamer1-plugins-musepack/pkg-plist
new file mode 100644
index 000000000000..920aed8cd783
--- /dev/null
+++ b/audio/gstreamer1-plugins-musepack/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstmusepack.so
diff --git a/audio/gstreamer1-plugins-ogg/Makefile b/audio/gstreamer1-plugins-ogg/Makefile
index c64dd7fa509f..7e1fdce8d89e 100644
--- a/audio/gstreamer1-plugins-ogg/Makefile
+++ b/audio/gstreamer1-plugins-ogg/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer Ogg bitstream plugin
@@ -8,4 +8,8 @@ DIST=		base
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libogg.so:audio/libogg
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-ogg/pkg-plist b/audio/gstreamer1-plugins-ogg/pkg-plist
new file mode 100644
index 000000000000..60e66f54d229
--- /dev/null
+++ b/audio/gstreamer1-plugins-ogg/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstogg.so
diff --git a/audio/gstreamer1-plugins-openmpt/Makefile b/audio/gstreamer1-plugins-openmpt/Makefile
index a7a0613a20e7..4c42540b1ffe 100644
--- a/audio/gstreamer1-plugins-openmpt/Makefile
+++ b/audio/gstreamer1-plugins-openmpt/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	3
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer OpenMPT audio decoder plugin
@@ -6,13 +6,10 @@ COMMENT=	GStreamer OpenMPT audio decoder plugin
 GST_PLUGIN=	openmpt
 DIST=		bad
 
-OPENMPT_GST_DIRS=	gst-libs/gst/audio
-
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
-pre-build:
-.for dir in ${OPENMPT_GST_DIRS}
-	@(cd ${BUILD_WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${_MAKE_JOBS} ${MAKE_ARGS} ${ALL_TARGET})
-.endfor
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libopenmpt.so:audio/libopenmpt
 
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-openmpt/pkg-plist b/audio/gstreamer1-plugins-openmpt/pkg-plist
new file mode 100644
index 000000000000..742950336a96
--- /dev/null
+++ b/audio/gstreamer1-plugins-openmpt/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstopenmpt.so
diff --git a/audio/gstreamer1-plugins-opus/Makefile b/audio/gstreamer1-plugins-opus/Makefile
index 4abd03b29a8c..34258f54e85d 100644
--- a/audio/gstreamer1-plugins-opus/Makefile
+++ b/audio/gstreamer1-plugins-opus/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer Opus audio encoder/decoder plugin
@@ -8,4 +8,8 @@ DIST=		base
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libopus.so:audio/opus
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-opus/pkg-plist b/audio/gstreamer1-plugins-opus/pkg-plist
new file mode 100644
index 000000000000..30d7eb71dceb
--- /dev/null
+++ b/audio/gstreamer1-plugins-opus/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstopus.so
diff --git a/audio/gstreamer1-plugins-pulse/Makefile b/audio/gstreamer1-plugins-pulse/Makefile
index 904ac0dc6ef0..3d16947645fb 100644
--- a/audio/gstreamer1-plugins-pulse/Makefile
+++ b/audio/gstreamer1-plugins-pulse/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer pulseaudio plugin
@@ -8,4 +8,8 @@ DIST=		good
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS=  libpulse.so:audio/pulseaudio
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-pulse/pkg-plist b/audio/gstreamer1-plugins-pulse/pkg-plist
new file mode 100644
index 000000000000..8455c8d5cc09
--- /dev/null
+++ b/audio/gstreamer1-plugins-pulse/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstpulseaudio.so
diff --git a/audio/gstreamer1-plugins-shout2/Makefile b/audio/gstreamer1-plugins-shout2/Makefile
index cdd7985ae537..48da869eedab 100644
--- a/audio/gstreamer1-plugins-shout2/Makefile
+++ b/audio/gstreamer1-plugins-shout2/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer icecast output plugin
@@ -8,4 +8,8 @@ DIST=		good
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS= libshout.so:audio/libshout
+
 .include "${MASTERDIR}/Makefile"
diff --git a/audio/gstreamer1-plugins-shout2/pkg-plist b/audio/gstreamer1-plugins-shout2/pkg-plist
new file mode 100644
index 000000000000..b271580df9cf
--- /dev/null
+++ b/audio/gstreamer1-plugins-shout2/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstshout2.so
diff --git a/audio/gstreamer1-plugins-sidplay/Makefile b/audio/gstreamer1-plugins-sidplay/Makefile
index bdd24b90ad56..269530b04f69 100644
--- a/audio/gstreamer1-plugins-sidplay/Makefile
+++ b/audio/gstreamer1-plugins-sidplay/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	2
+PORTREVISION=	0
 CATEGORIES=	audio
 
 COMMENT=	GStreamer Commodore SID audio decoder plugin
@@ -8,4 +8,10 @@ DIST=		ugly
 
 MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
 
+PLIST=  ${.CURDIR}/pkg-plist
*** 6757 LINES SKIPPED ***