diff --git a/CHANGES b/CHANGES --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,28 @@ 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 --- /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 --- 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 - -.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 -# you must follow one of the examples listed below -# -# .include -# .if defined(WITH_VORBIS) -# USE_GSTREAMER= vorbis -# .endif -# -# or -# USE_GSTREAMER= yes -# .include -# .if defined(WITH_FAAD) -# USE_GSTREAMER+= faad -# .endif -# .include -# -# 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 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1421,10 +1421,6 @@ .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 @@ .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 @@ . 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 --- a/audio/exaile/Makefile +++ b/audio/exaile/Makefile @@ -16,10 +16,10 @@ ${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 --- a/audio/faudio/Makefile +++ b/audio/faudio/Makefile @@ -21,9 +21,8 @@ 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 --- a/audio/gnome-music/Makefile +++ b/audio/gnome-music/Makefile @@ -26,11 +26,11 @@ 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 --- a/audio/gnome-podcasts/Makefile +++ b/audio/gnome-podcasts/Makefile @@ -17,10 +17,10 @@ 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 --- a/audio/goobox/Makefile +++ b/audio/goobox/Makefile @@ -18,11 +18,10 @@ 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 --- a/audio/gradio/Makefile +++ b/audio/gradio/Makefile @@ -15,12 +15,12 @@ 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 --- a/audio/gsequencer/Makefile +++ b/audio/gsequencer/Makefile @@ -24,10 +24,9 @@ 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 --- a/audio/gstreamer1-plugins-sndio/Makefile +++ b/audio/gstreamer1-plugins-sndio/Makefile @@ -9,11 +9,9 @@ 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 --- a/audio/libcanberra/Makefile +++ b/audio/libcanberra/Makefile @@ -50,7 +50,7 @@ .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 --- a/audio/lollypop/Makefile +++ b/audio/lollypop/Makefile @@ -24,14 +24,14 @@ ${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 @@ BINARY_ALIAS= python3=${PYTHON_VERSION} OPTIONS_DEFINE= PULSEAUDIO -PULSEAUDIO_USE= gstreamer1=pulse +PULSEAUDIO_USE= gstreamer=pulse .include diff --git a/audio/moodbar/Makefile b/audio/moodbar/Makefile --- a/audio/moodbar/Makefile +++ b/audio/moodbar/Makefile @@ -12,10 +12,10 @@ 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 --- a/audio/mp3splt-gtk/Makefile +++ b/audio/mp3splt-gtk/Makefile @@ -21,8 +21,7 @@ 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 --- a/audio/mpz/Makefile +++ b/audio/mpz/Makefile @@ -15,8 +15,8 @@ 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 --- a/audio/pianod2/Makefile +++ b/audio/pianod2/Makefile @@ -27,10 +27,10 @@ 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 --- a/audio/pithos/Makefile +++ b/audio/pithos/Makefile @@ -20,11 +20,11 @@ ${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 --- a/audio/pragha/Makefile +++ b/audio/pragha/Makefile @@ -18,11 +18,11 @@ 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 --- a/audio/pulseeffects/Makefile +++ b/audio/pulseeffects/Makefile @@ -40,10 +40,10 @@ 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 --- a/audio/rhythmbox/Makefile +++ b/audio/rhythmbox/Makefile @@ -29,13 +29,13 @@ 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 --- a/audio/sayonara/Makefile +++ b/audio/sayonara/Makefile @@ -13,10 +13,10 @@ 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 --- a/audio/shortwave/Makefile +++ b/audio/shortwave/Makefile @@ -13,10 +13,10 @@ 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 @@ 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 --- a/audio/sound-juicer/Makefile +++ b/audio/sound-juicer/Makefile @@ -24,9 +24,9 @@ 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 --- a/audio/strawberry/Makefile +++ b/audio/strawberry/Makefile @@ -18,11 +18,10 @@ 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 --- a/deskutils/alarm-clock-applet/Makefile +++ b/deskutils/alarm-clock-applet/Makefile @@ -19,9 +19,8 @@ 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 --- a/deskutils/gnome-pomodoro/Makefile +++ b/deskutils/gnome-pomodoro/Makefile @@ -14,7 +14,7 @@ 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 @@ # 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 --- a/deskutils/gnome-sound-recorder/Makefile +++ b/deskutils/gnome-sound-recorder/Makefile @@ -18,9 +18,9 @@ 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 --- a/deskutils/lumina-mediaplayer/Makefile +++ b/deskutils/lumina-mediaplayer/Makefile @@ -11,11 +11,9 @@ 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 --- a/deskutils/solanum/Makefile +++ b/deskutils/solanum/Makefile @@ -12,10 +12,10 @@ 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 --- a/deskutils/spice-gtk/Makefile +++ b/deskutils/spice-gtk/Makefile @@ -18,11 +18,10 @@ 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 --- a/deskutils/xfce4-tumbler/Makefile +++ b/deskutils/xfce4-tumbler/Makefile @@ -55,7 +55,7 @@ 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 --- a/devel/efl/Makefile +++ b/devel/efl/Makefile @@ -122,7 +122,8 @@ 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 --- a/devel/libspice-server/Makefile +++ b/devel/libspice-server/Makefile @@ -19,9 +19,9 @@ 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 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -210,8 +210,8 @@ 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 --- a/editors/openoffice-devel/Makefile +++ b/editors/openoffice-devel/Makefile @@ -191,7 +191,7 @@ 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 --- a/emulators/wine-proton/Makefile +++ b/emulators/wine-proton/Makefile @@ -23,7 +23,7 @@ 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 @@ 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 --- a/games/eboard/Makefile +++ b/games/eboard/Makefile @@ -20,11 +20,10 @@ 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 --- a/games/lordsawar/Makefile +++ b/games/lordsawar/Makefile @@ -20,7 +20,8 @@ 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 --- a/games/py-pychess/Makefile +++ b/games/py-pychess/Makefile @@ -19,12 +19,11 @@ 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 --- a/graphics/elementary-photos/Makefile +++ b/graphics/elementary-photos/Makefile @@ -30,7 +30,7 @@ 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 @@ 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 --- a/graphics/entangle/Makefile +++ b/graphics/entangle/Makefile @@ -19,9 +19,9 @@ 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 --- a/graphics/evince/Makefile +++ b/graphics/evince/Makefile @@ -30,10 +30,9 @@ 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 --- a/graphics/gnome-video-effects/Makefile +++ b/graphics/gnome-video-effects/Makefile @@ -11,8 +11,8 @@ 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 diff --git a/graphics/gthumb/Makefile b/graphics/gthumb/Makefile --- a/graphics/gthumb/Makefile +++ b/graphics/gthumb/Makefile @@ -83,7 +83,7 @@ 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 --- a/graphics/kmscube/Makefile +++ b/graphics/kmscube/Makefile @@ -24,8 +24,8 @@ 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 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -161,7 +161,7 @@ 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 --- a/graphics/osg/Makefile +++ b/graphics/osg/Makefile @@ -69,8 +69,8 @@ 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 --- a/graphics/osg34/Makefile +++ b/graphics/osg34/Makefile @@ -67,7 +67,8 @@ 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 --- a/graphics/pdfpc/Makefile +++ b/graphics/pdfpc/Makefile @@ -18,9 +18,8 @@ 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 --- a/graphics/shotwell/Makefile +++ b/graphics/shotwell/Makefile @@ -25,17 +25,14 @@ 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 --- a/mail/py-mailnag/Makefile +++ b/mail/py-mailnag/Makefile @@ -16,13 +16,12 @@ ${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 --- a/misc/copperspice-examples/Makefile +++ b/misc/copperspice-examples/Makefile @@ -28,10 +28,9 @@ 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 --- a/multimedia/aravis/Makefile +++ b/multimedia/aravis/Makefile @@ -13,9 +13,8 @@ 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 --- a/multimedia/cheese/Makefile +++ b/multimedia/cheese/Makefile @@ -27,11 +27,11 @@ 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 --- a/multimedia/clutter-gst/Makefile +++ b/multimedia/clutter-gst/Makefile @@ -13,12 +13,11 @@ 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 --- a/multimedia/clutter-gst3/Makefile +++ b/multimedia/clutter-gst3/Makefile @@ -19,12 +19,11 @@ 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 --- a/multimedia/elementary-videos/Makefile +++ b/multimedia/elementary-videos/Makefile @@ -17,17 +17,15 @@ 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 diff --git a/multimedia/gnome-twitch/Makefile b/multimedia/gnome-twitch/Makefile --- a/multimedia/gnome-twitch/Makefile +++ b/multimedia/gnome-twitch/Makefile @@ -50,10 +50,10 @@ 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 --- a/multimedia/gst123/Makefile +++ b/multimedia/gst123/Makefile @@ -12,7 +12,7 @@ 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 @@ 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 --- a/multimedia/gstreamer1-editing-services/Makefile +++ b/multimedia/gstreamer1-editing-services/Makefile @@ -12,12 +12,12 @@ 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 --- a/multimedia/gstreamer1-libav/Makefile +++ b/multimedia/gstreamer1-libav/Makefile @@ -20,10 +20,9 @@ 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 --- a/multimedia/gstreamer1-plugins-all/Makefile +++ b/multimedia/gstreamer1-plugins-all/Makefile @@ -9,9 +9,6 @@ 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 @@ .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 --- a/multimedia/gstreamer1-plugins-bad/Makefile +++ b/multimedia/gstreamer1-plugins-bad/Makefile @@ -10,9 +10,7 @@ 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 --- a/multimedia/gstreamer1-plugins-core/Makefile +++ b/multimedia/gstreamer1-plugins-core/Makefile @@ -15,7 +15,7 @@ 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 @@ .include # 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 --- a/multimedia/gstreamer1-plugins-gnonlin/Makefile +++ b/multimedia/gstreamer1-plugins-gnonlin/Makefile @@ -9,9 +9,9 @@ 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 --- a/multimedia/gstreamer1-plugins-good/Makefile +++ b/multimedia/gstreamer1-plugins-good/Makefile @@ -10,9 +10,6 @@ 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 --- a/multimedia/gstreamer1-plugins-rust/Makefile +++ b/multimedia/gstreamer1-plugins-rust/Makefile @@ -13,10 +13,9 @@ 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 --- a/multimedia/gstreamer1-plugins-svt-av1/Makefile +++ b/multimedia/gstreamer1-plugins-svt-av1/Makefile @@ -12,10 +12,9 @@ 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 --- a/multimedia/gstreamer1-plugins-svt-hevc/Makefile +++ b/multimedia/gstreamer1-plugins-svt-hevc/Makefile @@ -12,10 +12,9 @@ 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 --- a/multimedia/gstreamer1-plugins-svt-vp9/Makefile +++ b/multimedia/gstreamer1-plugins-svt-vp9/Makefile @@ -12,10 +12,9 @@ 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 --- a/multimedia/gstreamer1-plugins-ugly/Makefile +++ b/multimedia/gstreamer1-plugins-ugly/Makefile @@ -10,9 +10,6 @@ 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 --- a/multimedia/gstreamer1-plugins/Makefile +++ b/multimedia/gstreamer1-plugins/Makefile @@ -19,11 +19,9 @@ 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_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 @@ .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 --- a/multimedia/gstreamer1-plugins/Makefile.common +++ b/multimedia/gstreamer1-plugins/Makefile.common @@ -287,7 +287,7 @@ # 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 @@ # 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_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_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}_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 @@ 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 --- a/multimedia/gstreamer1-qt/Makefile +++ b/multimedia/gstreamer1-qt/Makefile @@ -17,8 +17,7 @@ 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 --- a/multimedia/gstreamer1-rtsp-server/Makefile +++ b/multimedia/gstreamer1-rtsp-server/Makefile @@ -12,11 +12,11 @@ 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 --- a/multimedia/gstreamer1-transcoder/Makefile +++ b/multimedia/gstreamer1-transcoder/Makefile @@ -10,9 +10,9 @@ 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 --- a/multimedia/gstreamer1-vaapi/Makefile +++ b/multimedia/gstreamer1-vaapi/Makefile @@ -16,11 +16,11 @@ 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 --- a/multimedia/gstreamer1-validate/Makefile +++ b/multimedia/gstreamer1-validate/Makefile @@ -15,13 +15,12 @@ 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 --- a/multimedia/gstreamermm/Makefile +++ b/multimedia/gstreamermm/Makefile @@ -13,10 +13,9 @@ 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 --- a/multimedia/handbrake/Makefile +++ b/multimedia/handbrake/Makefile @@ -110,7 +110,7 @@ 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 --- a/multimedia/kamoso/Makefile +++ b/multimedia/kamoso/Makefile @@ -7,11 +7,10 @@ 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 --- a/multimedia/kooha/Makefile +++ b/multimedia/kooha/Makefile @@ -13,10 +13,10 @@ 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 --- a/multimedia/librespot/Makefile +++ b/multimedia/librespot/Makefile @@ -26,9 +26,8 @@ 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 --- a/multimedia/neolink/Makefile +++ b/multimedia/neolink/Makefile @@ -13,9 +13,8 @@ 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 --- a/multimedia/phonon-gstreamer/Makefile +++ b/multimedia/phonon-gstreamer/Makefile @@ -14,10 +14,9 @@ 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 --- a/multimedia/photofilmstrip/Makefile +++ b/multimedia/photofilmstrip/Makefile @@ -18,8 +18,8 @@ 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 --- a/multimedia/pipewire/Makefile +++ b/multimedia/pipewire/Makefile @@ -32,9 +32,8 @@ 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 --- a/multimedia/pitivi/Makefile +++ b/multimedia/pitivi/Makefile @@ -20,14 +20,14 @@ ${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 --- a/multimedia/py-gstreamer1/Makefile +++ b/multimedia/py-gstreamer1/Makefile @@ -16,11 +16,10 @@ 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 --- a/multimedia/qt5-multimedia/Makefile +++ b/multimedia/qt5-multimedia/Makefile @@ -45,7 +45,8 @@ 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 --- a/multimedia/quodlibet/Makefile +++ b/multimedia/quodlibet/Makefile @@ -19,11 +19,11 @@ ${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 @@ OPTIONS_DEFINE= PULSEAUDIO PULSEAUDIO_DESC= Support PulseAudio -PULSEAUDIO_USE= GSTREAMER1=pulse +PULSEAUDIO_USE= GSTREAMER=pulse .include diff --git a/multimedia/snappy/Makefile b/multimedia/snappy/Makefile --- a/multimedia/snappy/Makefile +++ b/multimedia/snappy/Makefile @@ -19,11 +19,10 @@ 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 --- a/multimedia/termplay/Makefile +++ b/multimedia/termplay/Makefile @@ -13,9 +13,8 @@ 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 --- a/multimedia/totem/Makefile +++ b/multimedia/totem/Makefile @@ -38,11 +38,11 @@ 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 --- a/multimedia/webcamoid/Makefile +++ b/multimedia/webcamoid/Makefile @@ -16,10 +16,9 @@ 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 --- a/multimedia/xfce4-parole/Makefile +++ b/multimedia/xfce4-parole/Makefile @@ -19,9 +19,9 @@ 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_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 --- a/net-im/cawbird/Makefile +++ b/net-im/cawbird/Makefile @@ -32,7 +32,7 @@ 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 diff --git a/net-im/dino/Makefile b/net-im/dino/Makefile --- a/net-im/dino/Makefile +++ b/net-im/dino/Makefile @@ -47,7 +47,8 @@ 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 --- a/net-im/farstream/Makefile +++ b/net-im/farstream/Makefile @@ -13,11 +13,11 @@ 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 --- a/net-im/fractal/Makefile +++ b/net-im/fractal/Makefile @@ -21,10 +21,10 @@ 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 --- a/net-im/ktp-call-ui/Makefile +++ b/net-im/ktp-call-ui/Makefile @@ -18,10 +18,9 @@ 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 --- a/net-im/libnice/Makefile +++ b/net-im/libnice/Makefile @@ -28,7 +28,7 @@ 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 --- a/net-im/libpurple/Makefile +++ b/net-im/libpurple/Makefile @@ -129,14 +129,15 @@ .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 --- a/net-im/pidgin-sipe/Makefile +++ b/net-im/pidgin-sipe/Makefile @@ -25,9 +25,8 @@ 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 --- a/net-im/telepathy-qt/Makefile +++ b/net-im/telepathy-qt/Makefile @@ -17,11 +17,9 @@ 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 --- a/net/freerdp/Makefile +++ b/net/freerdp/Makefile @@ -80,8 +80,8 @@ 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 --- a/net/grilo-plugins/Makefile +++ b/net/grilo-plugins/Makefile @@ -25,10 +25,10 @@ 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 --- a/net/gupnp-dlna/Makefile +++ b/net/gupnp-dlna/Makefile @@ -20,9 +20,8 @@ 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 --- a/net/libdmapsharing/Makefile +++ b/net/libdmapsharing/Makefile @@ -16,9 +16,8 @@ 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 --- a/net/uget/Makefile +++ b/net/uget/Makefile @@ -36,7 +36,7 @@ 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 --- a/security/authenticator/Makefile +++ b/security/authenticator/Makefile @@ -19,10 +19,10 @@ 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 --- a/sysutils/brasero/Makefile +++ b/sysutils/brasero/Makefile @@ -17,14 +17,13 @@ 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 --- a/sysutils/gnome-control-center/Makefile +++ b/sysutils/gnome-control-center/Makefile @@ -44,11 +44,10 @@ 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 --- a/sysutils/tracker-miners/Makefile +++ b/sysutils/tracker-miners/Makefile @@ -45,9 +45,9 @@ 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 --- a/sysutils/xfburn/Makefile +++ b/sysutils/xfburn/Makefile @@ -29,7 +29,7 @@ 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 --- a/textproc/libextractor/Makefile +++ b/textproc/libextractor/Makefile @@ -59,7 +59,7 @@ 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 --- a/www/qt5-webkit/Makefile +++ b/www/qt5-webkit/Makefile @@ -54,9 +54,8 @@ 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 --- a/www/webkit2-gtk3/Makefile +++ b/www/webkit2-gtk3/Makefile @@ -90,7 +90,8 @@ 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 --- a/x11-fm/nautilus/Makefile +++ b/x11-fm/nautilus/Makefile @@ -21,10 +21,9 @@ 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 --- a/x11-fm/sushi/Makefile +++ b/x11-fm/sushi/Makefile @@ -31,12 +31,11 @@ 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 --- a/x11-toolkits/copperspice/Makefile +++ b/x11-toolkits/copperspice/Makefile @@ -14,7 +14,6 @@ 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 @@ 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 --- a/x11-toolkits/gstreamer1-plugins-gtk4/Makefile +++ b/x11-toolkits/gstreamer1-plugins-gtk4/Makefile @@ -11,9 +11,9 @@ 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 --- a/x11-toolkits/gtk40/Makefile +++ b/x11-toolkits/gtk40/Makefile @@ -66,7 +66,7 @@ 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 --- a/x11-toolkits/wxgtk30/Makefile +++ b/x11-toolkits/wxgtk30/Makefile @@ -58,8 +58,8 @@ 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 --- a/x11-toolkits/wxgtk31/Makefile +++ b/x11-toolkits/wxgtk31/Makefile @@ -65,7 +65,7 @@ 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 --- a/x11/cinnamon/Makefile +++ b/x11/cinnamon/Makefile @@ -45,12 +45,11 @@ 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 --- a/x11/florence/Makefile +++ b/x11/florence/Makefile @@ -14,10 +14,9 @@ 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 --- a/x11/gnome-shell/Makefile +++ b/x11/gnome-shell/Makefile @@ -42,14 +42,13 @@ 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 --- a/x11/lumina-core/Makefile +++ b/x11/lumina-core/Makefile @@ -44,7 +44,8 @@ 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 --- a/x11/workrave/Makefile +++ b/x11/workrave/Makefile @@ -43,7 +43,8 @@ DISTRIBUTION_CONFIGURE_ENABLE= distribution -GSTREAMER_USE= GSTREAMER1=good +GSTREAMER_USES= gstreamer +GSTREAMER_USE= GSTREAMER=good GSTREAMER_CONFIGURE_ENABLE= gstreamer .include diff --git a/x11/xpra/Makefile b/x11/xpra/Makefile --- a/x11/xpra/Makefile +++ b/x11/xpra/Makefile @@ -71,10 +71,10 @@ 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