framework: convert bsd.gstreamer.mk to Uses/gstreamer.mk

- convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert ports tree to make use of USES=gstreamer
- remove duplicate dependency lines from the tree

Differential Revision: https://reviews.freebsd.org/D35097
2022Q3
Tobias C. Berner 5 months ago
parent dc8bd44c12
commit ca3f925d6e
  1. 22
      CHANGES
  2. 448
      Mk/Uses/gstreamer.mk
  3. 562
      Mk/bsd.gstreamer.mk
  4. 10
      Mk/bsd.port.mk
  5. 4
      audio/exaile/Makefile
  6. 5
      audio/faudio/Makefile
  7. 4
      audio/gnome-music/Makefile
  8. 4
      audio/gnome-podcasts/Makefile
  9. 3
      audio/goobox/Makefile
  10. 4
      audio/gradio/Makefile
  11. 3
      audio/gsequencer/Makefile
  12. 6
      audio/gstreamer1-plugins-sndio/Makefile
  13. 2
      audio/libcanberra/Makefile
  14. 6
      audio/lollypop/Makefile
  15. 4
      audio/moodbar/Makefile
  16. 3
      audio/mp3splt-gtk/Makefile
  17. 4
      audio/mpz/Makefile
  18. 4
      audio/pianod2/Makefile
  19. 4
      audio/pithos/Makefile
  20. 4
      audio/pragha/Makefile
  21. 4
      audio/pulseeffects/Makefile
  22. 4
      audio/rhythmbox/Makefile
  23. 4
      audio/sayonara/Makefile
  24. 6
      audio/shortwave/Makefile
  25. 4
      audio/sound-juicer/Makefile
  26. 3
      audio/strawberry/Makefile
  27. 3
      deskutils/alarm-clock-applet/Makefile
  28. 3
      deskutils/gnome-pomodoro/Makefile
  29. 4
      deskutils/gnome-sound-recorder/Makefile
  30. 6
      deskutils/lumina-mediaplayer/Makefile
  31. 4
      deskutils/solanum/Makefile
  32. 3
      deskutils/spice-gtk/Makefile
  33. 2
      deskutils/xfce4-tumbler/Makefile
  34. 3
      devel/efl/Makefile
  35. 2
      devel/libspice-server/Makefile
  36. 2
      editors/libreoffice/Makefile
  37. 2
      editors/openoffice-devel/Makefile
  38. 4
      emulators/wine-proton/Makefile
  39. 3
      games/eboard/Makefile
  40. 3
      games/lordsawar/Makefile
  41. 3
      games/py-pychess/Makefile
  42. 3
      graphics/elementary-photos/Makefile
  43. 4
      graphics/entangle/Makefile
  44. 3
      graphics/evince/Makefile
  45. 4
      graphics/gnome-video-effects/Makefile
  46. 2
      graphics/gthumb/Makefile
  47. 4
      graphics/kmscube/Makefile
  48. 2
      graphics/opencv/Makefile
  49. 4
      graphics/osg/Makefile
  50. 3
      graphics/osg34/Makefile
  51. 3
      graphics/pdfpc/Makefile
  52. 5
      graphics/shotwell/Makefile
  53. 3
      mail/py-mailnag/Makefile
  54. 3
      misc/copperspice-examples/Makefile
  55. 3
      multimedia/aravis/Makefile
  56. 4
      multimedia/cheese/Makefile
  57. 3
      multimedia/clutter-gst/Makefile
  58. 3
      multimedia/clutter-gst3/Makefile
  59. 8
      multimedia/elementary-videos/Makefile
  60. 6
      multimedia/gnome-twitch/Makefile
  61. 4
      multimedia/gst123/Makefile
  62. 4
      multimedia/gstreamer1-editing-services/Makefile
  63. 3
      multimedia/gstreamer1-libav/Makefile
  64. 5
      multimedia/gstreamer1-plugins-all/Makefile
  65. 4
      multimedia/gstreamer1-plugins-bad/Makefile
  66. 12
      multimedia/gstreamer1-plugins-core/Makefile
  67. 4
      multimedia/gstreamer1-plugins-gnonlin/Makefile
  68. 3
      multimedia/gstreamer1-plugins-good/Makefile
  69. 3
      multimedia/gstreamer1-plugins-rust/Makefile
  70. 3
      multimedia/gstreamer1-plugins-svt-av1/Makefile
  71. 3
      multimedia/gstreamer1-plugins-svt-hevc/Makefile
  72. 3
      multimedia/gstreamer1-plugins-svt-vp9/Makefile
  73. 3
      multimedia/gstreamer1-plugins-ugly/Makefile
  74. 11
      multimedia/gstreamer1-plugins/Makefile
  75. 12
      multimedia/gstreamer1-plugins/Makefile.common
  76. 3
      multimedia/gstreamer1-qt/Makefile
  77. 4
      multimedia/gstreamer1-rtsp-server/Makefile
  78. 4
      multimedia/gstreamer1-transcoder/Makefile
  79. 4
      multimedia/gstreamer1-vaapi/Makefile
  80. 3
      multimedia/gstreamer1-validate/Makefile
  81. 3
      multimedia/gstreamermm/Makefile
  82. 2
      multimedia/handbrake/Makefile
  83. 3
      multimedia/kamoso/Makefile
  84. 4
      multimedia/kooha/Makefile
  85. 5
      multimedia/librespot/Makefile
  86. 3
      multimedia/neolink/Makefile
  87. 3
      multimedia/phonon-gstreamer/Makefile
  88. 4
      multimedia/photofilmstrip/Makefile
  89. 3
      multimedia/pipewire/Makefile
  90. 4
      multimedia/pitivi/Makefile
  91. 3
      multimedia/py-gstreamer1/Makefile
  92. 3
      multimedia/qt5-multimedia/Makefile
  93. 6
      multimedia/quodlibet/Makefile
  94. 3
      multimedia/snappy/Makefile
  95. 3
      multimedia/termplay/Makefile
  96. 4
      multimedia/totem/Makefile
  97. 3
      multimedia/webcamoid/Makefile
  98. 8
      multimedia/xfce4-parole/Makefile
  99. 2
      net-im/cawbird/Makefile
  100. 3
      net-im/dino/Makefile
  101. Some files were not shown because too many files have changed in this diff Show More

@ -10,6 +10,28 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20220430:
AUTHOR: tcberner@FreeBSD.org
A new USES has been added to handle dependency on gstreamer.
Instead of writing
USE_GSTREAMER1=[list of components]
you now have to write
USES=gstreamer
USE_GSTREAMER=[list of components]
If your port previously set just
USE_GSTREAMER=yes
this now is simply
USES=gstreamer
20220415:
AUTHOR: amdmi3@FreeBSD.org

@ -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

@ -1,562 +0,0 @@
#-*- tab-width: 4; -*-
# ex:ts=4
#
# bsd.gstreamer.mk - Support for gstreamer-plugins-based ports.
#
# Created by: Michael Johnson <ahze@FreeBSD.org>
.if !defined(_POSTMKINCLUDED) && !defined(Gstreamer_Pre_Include)
Gstreamer_Include_MAINTAINER= multimedia@FreeBSD.org
Gstreamer_Pre_Include= bsd.gstreamer.mk
.endif
# Ports can use the following:
#
# For Gstreamer 1.x the same rules apply but instead of
# USE_GSTREAMER=, USE_GSTREAMER1= is used.
#
# If you want to use USE_GSTREAMER after <bsd.port.pre.mk>
# you must follow one of the examples listed below
#
# .include <bsd.port.options.mk>
# .if defined(WITH_VORBIS)
# USE_GSTREAMER= vorbis
# .endif
#
# or
# USE_GSTREAMER= yes
# .include <bsd.port.options.mk>
# .if defined(WITH_FAAD)
# USE_GSTREAMER+= faad
# .endif
# .include <bsd.port.pre.mk>
#
# USE_GSTREAMER=yes will always add a dependency to
# gstreamer-plugins
#
# "Normal" dependencies and variables
#
GSTREAMER1_PORT= ${PORTSDIR}/multimedia/gstreamer1-plugins
_GST1_LIB_BASE= ${LOCALBASE}/lib/gstreamer-${GST1_VERSION}
GST1_VERSION= 1.4
GST1_MINOR_VERSION= .0
GST1_SHLIB_VERSION= 0
GST1_MINIMAL_VERSION= .0
# These are the current supported gstreamer-plugins modules:
# Supported plugins by both 0.10 and 1.0.
_GSTREAMER_PLUGINS= \
a52dec \
aalib \
amrnb \
amrwbdec \
cairo \
cdio \
cdparanoia \
dts \
dv \
faac \
faad \
flac \
flite \
gdkpixbuf \
gl \
gme \
gnonlin \
gsm \
jack \
jpeg \
ladspa \
lame \
libcaca \
libmms \
libvisual \
mpeg2dec \
mpeg2enc \
musepack \
neon \
ogg \
opus \
pango \
pulse \
resindvd \
shout2 \
sndfile \
sndio \
sidplay \
soundtouch \
soup \
speex \
taglib \
theora \
twolame \
v4l2 \
vorbis \
wavpack \
x264
# plugins only in 1.0
.if defined(USE_GSTREAMER1)
_GSTREAMER_PLUGINS+= \
aom \
assrender \
bs2b \
chromaprint \
curl \
dash \
dtls \
dvdread \
editing-services \
gtk \
gtk4 \
hls \
kate \
kms \
libav \
libde265 \
lv2 \
mm \
modplug \
mpg123 \
mplex \
opencv \
openexr \
openh264 \
openjpeg \
openmpt \
png \
qt \
rsvg \
rtmp \
smoothstreaming \
spandsp \
srtp \
ttml \
vpx \
vulkan \
webp \
webrtcdsp \
x \
x265 \
ximagesrc \
zbar
# vaapi
.endif # USE_GSTREAMER1
# other plugins
_USE_GSTREAMER_ALL= bad core good ugly yes ${_GSTREAMER_PLUGINS}
#--------------------------------------------------------------------------#
core_DEPENDS= multimedia/gstreamer-plugins-core
core_IMPL= #
yes_DEPENDS= multimedia/gstreamer-plugins
yes_NAME= gstreamer-plugins
yes_NAME10= gstreamer1-plugins
yes_GST_PREFIX= # empty
yes_IMPL= # empty
# XXX check if IMPL is correct for both 0.10 and 1.0
#-- audio plugins section -------------------------------------------------#
# Audio Plugins Section
a52dec_DEPENDS= audio/gstreamer-plugins-a52dec
a52dec_IMPL= ugly
amrnb_DEPENDS= audio/gstreamer-plugins-amrnb
amrnb_IMPL= ugly
amrwbdec_DEPENDS= audio/gstreamer-plugins-amrwbdec
amrwbdec_IMPL= ugly
bs2b_DEPENDS= audio/gstreamer-plugins-bs2b
bs2b_IMPL= bad
cdparanoia_DEPENDS= audio/gstreamer-plugins-cdparanoia
cdparanoia_IMPL= #
chromaprint_DEPENDS= audio/gstreamer-plugins-chromaprint
chromeprint_IMPL= bad
faac_DEPENDS= audio/gstreamer-plugins-faac
faac_IMPL= bad
faad_DEPENDS= audio/gstreamer-plugins-faad
faad_IMPL= bad
flac_DEPENDS= audio/gstreamer-plugins-flac
flac_IMPL= good
flite_DEPENDS= audio/gstreamer-plugins-flite
flite_IMPL= bad
gme_DEPENDS= audio/gstreamer-plugins-gme
gme_IMPL= bad
gsm_DEPENDS= audio/gstreamer-plugins-gsm
gsm_IMPL= bad
hal_DEPENDS= sysutils/gstreamer-plugins-hal
hal_IMPL= good
jack_DEPENDS= audio/gstreamer-plugins-jack
jack_IMPL= good
ladspa_DEPENDS= audio/gstreamer-plugins-ladspa
ladspa_IMPL= bad
lame_DEPENDS= audio/gstreamer-plugins-lame
lame_IMPL= ugly
lv2_DEPENDS= audio/gstreamer-plugins-lv2
lv2_IMPL= bad
modplug_DEPENDS= audio/gstreamer-plugins-modplug
modplug_IMPL= bad
mpg123_DEPENDS= audio/gstreamer-plugins-mpg123
mpg123_IMPL= ugly
musepack_DEPENDS= audio/gstreamer-plugins-musepack
musepack_IMPL= bad
neon_DEPENDS= www/gstreamer-plugins-neon
neon_IMPL= bad
ogg_DEPENDS= audio/gstreamer-plugins-ogg
ogg_IMPL= #
opus_DEPENDS= audio/gstreamer-plugins-opus
opus_IMPL= #
pulse_DEPENDS= audio/gstreamer-plugins-pulse
pulse_IMPL= good
shout2_DEPENDS= audio/gstreamer-plugins-shout2
shout2_IMPL= good
sidplay_DEPENDS= audio/gstreamer-plugins-sidplay
sidplay_IMPL= ugly
sndio_DEPENDS= audio/gstreamer-plugins-sndio
sndio_IMPL= #
sndfile_DEPENDS= audio/gstreamer-plugins-sndfile
sndfile_IMPL= bad
soundtouch_DEPENDS= audio/gstreamer-plugins-soundtouch
soundtouch_IMPL= bad
speex_DEPENDS= audio/gstreamer-plugins-speex
speex_IMPL= good
taglib_DEPENDS= audio/gstreamer-plugins-taglib
taglib_IMPL= good
twolame_DEPENDS= audio/gstreamer-plugins-twolame
twolame_IMPL= ugly
vorbis_DEPENDS= audio/gstreamer-plugins-vorbis
vorbis_IMPL= #
wavpack_DEPENDS= audio/gstreamer-plugins-wavpack
wavpack_IMPL= good
webrtcdsp_DEPENDS= audio/gstreamer-plugins-webrtcdsp
webrtcdsp_IMPL= bad
#-- comms plugin section --------------------------------------------------#
spandsp_DEPENDS= comms/gstreamer-plugins-spandsp
spandsp_IMPL= bad
#-- devel plugin section --------------------------------------------------#
soup_DEPENDS= devel/gstreamer-plugins-soup
soup_IMPL= good
#-- ftp plugin section ----------------------------------------------------#
curl_DEPENDS= ftp/gstreamer-plugins-curl
curl_IMPL= bad
#-- graphics plugin section -----------------------------------------------#
aalib_DEPENDS= graphics/gstreamer-plugins-aalib
aalib_IMPL= good
aom_DEPENDS= multimedia/gstreamer-plugins-aom
aom_IMPL= bad
assrender_DEPENDS= multimedia/gstreamer-plugins-assrender
assrender_IMPL= bad
cairo_DEPENDS= graphics/gstreamer-plugins-cairo
cairo_IMPL= good
gdkpixbuf_DEPENDS= graphics/gstreamer-plugins-gdkpixbuf
gdkpixbuf_IMPL= good
gl_DEPENDS= graphics/gstreamer-plugins-gl
gl_IMPL= bad
jpeg_DEPENDS= graphics/gstreamer-plugins-jpeg
jpeg_IMPL= good
kms_DEPENDS= graphics/gstreamer-plugins-kms
kms_IMPL= bad
libcaca_DEPENDS= graphics/gstreamer-plugins-libcaca
libcaca_IMPL= good
libvisual_DEPENDS= graphics/gstreamer-plugins-libvisual
libvisual_IMPL= #
opencv_DEPENDS= graphics/gstreamer-plugins-opencv
opencv_IMPL= bad
openexr_DEPENDS= graphics/gstreamer-plugins-openexr
openexr_IMPL= bad
openjpeg_DEPENDS= graphics/gstreamer-plugins-openjpeg
openjpeg_IMPL= bad
openmpt_DEPENDS= audio/gstreamer-plugins-openmpt
openmpt_IMPL= bad
png_DEPENDS= graphics/gstreamer-plugins-png
png_IMPL= good
qt_DEPENDS= graphics/gstreamer-plugins-qt
qt_IMPL= good
rsvg_DEPENDS= graphics/gstreamer-plugins-rsvg
rsvg_IMPL= bad
webp_DEPENDS= graphics/gstreamer-plugins-webp
webp_IMPL= bad
zbar_DEPENDS= graphics/gstreamer-plugins-zbar
zbar_IMPL= bad
#-- multimedia plugins section --------------------------------------------#
bad_DEPENDS= multimedia/gstreamer-plugins-bad
bad_IMPL= #
dash_DEPENDS= multimedia/gstreamer-plugins-dash
dash_IMPL= bad
dvdread_DEPENDS= multimedia/gstreamer-plugins-dvdread
dvdread_IMPL= ugly
editing-services_DEPENDS= multimedia/gstreamer-editing-services
editing-services_GST_PREFIX= gstreamer1-
editing-services_GST_SUFX= # empty
editing-services_GST_VERSION= 1.0.0
editing-services_IMPL= #
dts_DEPENDS= multimedia/gstreamer-plugins-dts
dts_IMPL= bad
dv_DEPENDS= multimedia/gstreamer-plugins-dv
dv_IMPL= good
dvd_DEPENDS= multimedia/gstreamer-plugins-dvd
dvd_IMPL= ugly
good_DEPENDS= multimedia/gstreamer-plugins-good
good_IMPL= #
gnonlin_DEPENDS= multimedia/gstreamer-plugins-gnonlin
gnonlin_IMPL= good
hls_DEPENDS= multimedia/gstreamer-plugins-hls
hls_IMPL= bad
kate_DEPENDS= multimedia/gstreamer-plugins-kate
kate_IMPL= bad
libav_DEPENDS= multimedia/gstreamer-libav
libav_GST_PREFIX= gstreamer1-
libav_GST_SUFX= # empty
libav_GST_VERSION= 1.0.0
libav_IMPL= #
libde265_DEPENDS= multimedia/gstreamer-plugins-libde265
libde265_IMPL= bad
mm_DEPENDS= multimedia/gstreamermm
mm_GST_PREFIX= gstreamer
mm_GST_SUFX= # empty
mm_GST_VERSION= 1.10.0
mm_IMPL= #
mpeg2dec_DEPENDS= multimedia/gstreamer-plugins-mpeg2dec
mpeg2dec_IMPL= ugly
mpeg2enc_DEPENDS= multimedia/gstreamer-plugins-mpeg2enc
mpeg2enc_IMPL= bad
mplex_DEPENDS= multimedia/gstreamer-plugins-mplex
mplex_IMPL= bad
openh264_DEPENDS= multimedia/gstreamer-plugins-openh264
openh264_IMPL= bad
rtmp_DEPENDS= multimedia/gstreamer-plugins-rtmp
rtmp_IMPL= bad
smoothstreaming_DEPENDS= multimedia/gstreamer-plugins-smoothstreaming
smoothstreaming_IMPL= bad
ttml_DEPENDS= multimedia/gstreamer-plugins-ttml
ttml_IMPL= bad
v4l2_DEPENDS= multimedia/gstreamer-plugins-v4l2
v4l2_IMPL= good
# hmmm
vaapi_DEPENDS= multimedia/gstreamer-vaapi
vaapi_IMPL= bad
vpx_DEPENDS= multimedia/gstreamer-plugins-vpx
vpx_IMPL= good
vulkan_DEPENDS= graphics/gstreamer-plugins-vulkan
vulkan_IMPL= bad
resindvd_DEPENDS= multimedia/gstreamer-plugins-resindvd
resindvd_IMPL= bad
theora_DEPENDS= multimedia/gstreamer-plugins-theora
theora_IMPL= #
ugly_DEPENDS= multimedia/gstreamer-plugins-ugly
ugly_IMPL= #
x264_DEPENDS= multimedia/gstreamer-plugins-x264
x264_IMPL= ugly
x265_DEPENDS= multimedia/gstreamer-plugins-x265
x265_IMPL= bad
#-- Net Plugins Section ---------------------------------------------------#
libmms_DEPENDS= net/gstreamer-plugins-libmms
libmms_IMPL= bad
srtp_DEPENDS= net/gstreamer-plugins-srtp
srtp_IMPL= bad
#-- security plugins section ----------------------------------------------#
dtls_DEPENDS= security/gstreamer-plugins-dtls
dtls_IMPL= bad
#-- sysutils plugins section ----------------------------------------------#
cdio_DEPENDS= sysutils/gstreamer-plugins-cdio
cdio_IMPL= ugly
#-- x11 plugins section ---------------------------------------------------#
x_DEPENDS= x11/gstreamer-plugins-x
x_IMPL= #
ximagesrc_DEPENDS= x11/gstreamer-plugins-ximagesrc
ximagesrc_IMPL= good
#-- x11-toolkits plugins section ------------------------------------------#
gtk_DEPENDS= x11-toolkits/gstreamer-plugins-gtk
gtk_IMPL= bad
gtk4_DEPENDS= x11-toolkits/gstreamer-plugins-gtk4
gtk4_IMPL= good
pango_DEPENDS= x11-toolkits/gstreamer-plugins-pango
pango_IMPL= #
#--------------------------------------------------------------------------#
.if defined(_POSTMKINCLUDED) && !defined(Gstreamer_Post_Include)
Gstreamer_Post_Include= bsd.gstreamer.mk
. if (defined (USE_GSTREAMER) && defined(USE_GSTREAMER1))
IGNORE= USE_GSTREAMER and USE_GSTREAMER1 can't be used together
. endif
_GST_IMPL_LIST:= #
. if defined(USE_GSTREAMER)
# update this with the gst 1.0 version below
. for ext in ${USE_GSTREAMER}
${ext}_GST_PREFIX?= gstreamer-plugins-
${ext}_GST_VERSION?= ${GST_VERSION}${GST_MINOR_VERSION}
${ext}_NAME?= ${ext}
. if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_DEPENDS})
_GST_BUILD_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME}>=${${ext}_GST_VERSION}:${${ext}_DEPENDS}
_GST_RUN_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME}>=${${ext}_GST_VERSION}:${${ext}_DEPENDS}
_GST_GST_IMPL_LIST+= ${${ext}_IMPL}
. else
IGNORE= cannot install: unknown gstreamer ${GST_VERSION} plugin -- ${ext}
. endif
. endfor
# everything wants this
_GST_BUILD_DEPENDS+= gstreamer-plugins>=0:multimedia/gstreamer-plugins
_GST_LIB_DEPENDS+= libgstreamer-0.10.so:multimedia/gstreamer
_GST_RUN_DEPENDS+= gstreamer-plugins>=0:multimedia/gstreamer-plugins
. for plugin in ${_GST_IMPL_LIST:O:u}
_GST_BUILD_DEPENDS+= gstreamer-plugins-${plugin}>=0:multimedia/gstreamer-plugins-${plugin}
_GST_RUN_DEPENDS+= gstreamer-plugins-${plugin}>=0:multimedia/gstreamer-plugins-${plugin}
. endfor
BUILD_DEPENDS+= ${_GST_BUILD_DEPENDS:O:u}
LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u}
RUN_DEPENDS+= ${_GST_RUN_DEPENDS:O:u}
. endif
. if defined(USE_GSTREAMER1)
. for ext in ${USE_GSTREAMER1}
${ext}_GST_PREFIX?= gstreamer1-plugins-
${ext}_GST_VERSION?= ${GST1_VERSION}
${ext}_NAME10?= ${ext}
${ext}_GST_DEPENDS?= ${${ext}_DEPENDS:S,gstreamer-,gstreamer1-,}
. if ${_USE_GSTREAMER_ALL:M${ext}}!= "" && exists(${PORTSDIR}/${${ext}_GST_DEPENDS})
_GST_BUILD_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME10}>=${${ext}_GST_VERSION}:${${ext}_GST_DEPENDS}
_GST_RUN_DEPENDS+= ${${ext}_GST_PREFIX}${${ext}_NAME10}>=${${ext}_GST_VERSION}:${${ext}_GST_DEPENDS}
. if defined(${ext}1_IMPL)
_GST_IMPL_LIST+= ${${ext}1_IMPL}
. else
_GST_IMPL_LIST+= ${${ext}_IMPL}
. endif
. else
IGNORE= cannot install: unknown gstreamer ${GST1_VERSION} plugin -- ${ext}
. endif
. endfor
# everything wants this
_GST_BUILD_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}:multimedia/gstreamer1-plugins
_GST_LIB_DEPENDS+= libgstreamer-1.0.so:multimedia/gstreamer1
_GST_RUN_DEPENDS+= gstreamer1-plugins>=${GST1_VERSION}:multimedia/gstreamer1-plugins
. for plugin in ${_GST_IMPL_LIST:O:u}
_GST_BUILD_DEPENDS+= gstreamer1-plugins-${plugin}>=${GST1_VERSION}:multimedia/gstreamer1-plugins-${plugin}
_GST_RUN_DEPENDS+= gstreamer1-plugins-${plugin}>=${GST1_VERSION}:multimedia/gstreamer1-plugins-${plugin}
. endfor
BUILD_DEPENDS+= ${_GST_BUILD_DEPENDS:O:u}
LIB_DEPENDS+= ${_GST_LIB_DEPENDS:O:u}
RUN_DEPENDS+= ${_GST_RUN_DEPENDS:O:u}
. endif
# The End
.endif

@ -1421,10 +1421,6 @@ USES+=mysql:${USE_MYSQL}
.include "${PORTSDIR}/Mk/bsd.wx.mk"
. endif
. if defined(WANT_GSTREAMER) || defined(USE_GSTREAMER) || defined(USE_GSTREAMER1)
.include "${PORTSDIR}/Mk/bsd.gstreamer.mk"
. endif
. if !defined(UID)
UID!= ${ID} -u
. endif
@ -1937,10 +1933,6 @@ _FORCE_POST_PATTERNS= rmdir kldxref mkfontscale mkfontdir fc-cache \
.sinclude "${odir}/Mk/bsd.overlay.mk"
. endfor
. if defined(USE_GSTREAMER1)
.include "${PORTSDIR}/Mk/bsd.gstreamer.mk"
. endif
. if defined(USE_JAVA)
.include "${PORTSDIR}/Mk/bsd.java.mk"
. endif
@ -3750,7 +3742,7 @@ deinstall:
. if !target(deinstall-all)
deinstall-all:
.if ${UID} != 0 && !defined(INSTALL_AS_USER)
. if ${UID} != 0 && !defined(INSTALL_AS_USER)
@${ECHO_MSG} "===> Switching to root credentials for '${.TARGET}' target"
@cd ${.CURDIR} && \
${SU_CMD} "${MAKE} ${.TARGET}"

@ -16,10 +16,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb3>0:databases/py-bsddb3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gstreamer1>0:multimedia/py-gstreamer1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR}
USES= desktop-file-utils gmake gnome python:3.6+
USES= desktop-file-utils gmake gnome gstreamer python:3.6+
USE_GITHUB= yes
USE_GNOME= gtk30 librsvg2 pygobject3
USE_GSTREAMER1= faad good
USE_GSTREAMER= faad good
MAKE_ENV= EPREFIX=${PREFIX} \
MANPREFIX=${PREFIX} \

@ -21,9 +21,8 @@ OPTIONS_DEFAULT= GSTREAMER
GSTREAMER_DESC= WMA/XMA support via GStreamer
GSTREAMER_USES= gettext-runtime gnome pkgconfig
GSTREAMER_USE= GNOME=glib20 \
GSTREAMER1=yes
GSTREAMER_USES= gettext-runtime gnome gstreamer pkgconfig
GSTREAMER_USE= GNOME=glib20
GSTREAMER_CMAKE_BOOL= GSTREAMER
do-test:

@ -26,11 +26,11 @@ RUN_DEPENDS= grilo-plugins>0:net/grilo-plugins
PORTSCOUT= limitw:1,even
USES= desktop-file-utils gettext gnome localbase meson pkgconfig \
USES= desktop-file-utils gettext gnome gstreamer localbase meson pkgconfig \
python:3.4+ shebangfix tar:xz
USE_LDCONFIG= yes
USE_GNOME= cairo gtk40 introspection pygobject3
USE_GSTREAMER1= mpg123 ogg
USE_GSTREAMER= mpg123 ogg
SHEBANG_FILES= gnome-music.in
BINARY_ALIAS= python3=${PYTHON_VERSION}

@ -17,10 +17,10 @@ BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libhandy-1.so:x11-toolkits/libhandy
USES= cargo gettext gnome meson pkgconfig python:build shebangfix sqlite ssl
USES= cargo gettext gnome gstreamer meson pkgconfig python:build shebangfix sqlite ssl
USE_GITLAB= yes
USE_GNOME= gdkpixbuf2 gtk30
USE_GSTREAMER1= bad good libav
USE_GSTREAMER= bad good libav
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_COMMIT= c86f7bfdef7692bbf20f315a90450321f6ca9ce7

@ -18,11 +18,10 @@ LIB_DEPENDS= libdiscid.so:audio/libdiscid \
libbrasero-media3.so:sysutils/brasero \
libunique-1.0.so:x11-toolkits/unique
USES= desktop-file-utils gettext gnome meson pkgconfig \
USES= desktop-file-utils gettext gnome gstreamer meson pkgconfig \
python:3.5+,build tar:xz xorg
USE_GNOME= glib20 gtk30 intlhack
USE_XORG= x11
USE_GSTREAMER1= yes
INSTALL_TARGET= install-strip
BINARY_ALIAS= python3=${PYTHON_CMD}

@ -15,12 +15,12 @@ BUILD_DEPENDS= valac:lang/vala
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libjson-glib-1.0.so:devel/json-glib
USES= gettext gnome meson pkgconfig python:3.4+,env sqlite
USES= gettext gnome gstreamer meson pkgconfig python:3.4+,env sqlite
USE_GITHUB= yes
GH_ACCOUNT= haecker-felix
GH_PROJECT= Gradio
USE_GNOME= cairo gdkpixbuf2 glib20 gtk30
USE_GSTREAMER1= mpg123 soup
USE_GSTREAMER= mpg123 soup
GLIB_SCHEMAS= de.haeckerfelix.gradio.gschema.xml

@ -24,10 +24,9 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
RUN_DEPENDS= dssi>0:audio/dssi
USES= desktop-file-utils gettext-runtime gettext-tools gmake gnome libtool localbase pkgconfig shared-mime-info xorg
USES= desktop-file-utils gettext-runtime gettext-tools gmake gnome gstreamer libtool localbase pkgconfig shared-mime-info xorg
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango
USE_XORG= x11
USE_GSTREAMER1= yes
USE_GCC= yes # the project uses gnu99 extensions, clang fails even with USE_CSTD=gnu99. Suggestions how to build with clang are welcome.
USE_CSTD= gnu99
USE_LDCONFIG= yes

@ -9,11 +9,9 @@ COMMENT= Sndio audio sink and source for GStreamer
LICENSE= ISCL
LIB_DEPENDS= libgstaudio-1.0.so:multimedia/gstreamer1-plugins \
libgstbase-1.0.so:multimedia/gstreamer1 \
libsndio.so:audio/sndio
LIB_DEPENDS= libsndio.so:audio/sndio
USES= gnome pkgconfig
USES= gnome gstreamer pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= t6
USE_GNOME= glib20

@ -50,7 +50,7 @@ PLIST_SUB+= PULSE="@comment "
.endif
.if ${PORT_OPTIONS:MGSTREAMER}
USE_GSTREAMER1= yes
USES+= gstreamer
PLIST_SUB+= GSTREAMER=""
.else
CONFIGURE_ARGS+=--disable-gstreamer

@ -24,14 +24,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2.7.8:databases/py-sqlite3@${PY_FLA
${PYTHON_PKGNAMEPREFIX}pylast>=1.4.0:audio/py-pylast@${PY_FLAVOR} \
${PY_PILLOW}
USES= python:3.6+ pkgconfig gnome gettext meson shebangfix sqlite desktop-file-utils
USES= python:3.6+ pkgconfig gnome gettext gstreamer meson shebangfix sqlite desktop-file-utils
USE_GITLAB= yes
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
GL_COMMIT= 5b2d95f4f8509d80fa86ab7d65b118326dc82a95
GL_TUPLE= gnumdk:lollypop-po:94a7300004ec15adfd596c7d2b8670bbf5c2e33a:po/subprojects/po
USE_GNOME= glib20 gtk30 pygobject3 introspection:build intltool intlhack
USE_GSTREAMER1= yes mpg123 ogg flac opus libav faad good speex
USE_GSTREAMER= mpg123 ogg flac opus libav faad good speex
USE_PYTHON= py3kplist
SHEBANG_FILES= lollypop.in search-provider/lollypop-sp.in meson_post_install.py
@ -41,6 +41,6 @@ GLIB_SCHEMAS= org.gnome.Lollypop.gschema.xml
BINARY_ALIAS= python3=${PYTHON_VERSION}
OPTIONS_DEFINE= PULSEAUDIO
PULSEAUDIO_USE= gstreamer1=pulse
PULSEAUDIO_USE= gstreamer=pulse
.include <bsd.port.mk>

@ -12,10 +12,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfftw3.so:math/fftw3
TEST_DEPENDS= ${PYNUMPY}
USES= compiler:c++14-lang gnome meson pkgconfig python:3.5+,test \
USES= compiler:c++14-lang gnome gstreamer meson pkgconfig python:3.5+,test \
shebangfix tar:xz
USE_GNOME= glib20
USE_GSTREAMER1= yes good ogg vorbis
USE_GSTREAMER= good ogg vorbis
PLIST_FILES= bin/moodbar
SHEBANG_FILES= test.py

@ -21,8 +21,7 @@ LIB_DEPENDS= libmp3splt.so:audio/libmp3splt \
libid3tag.so:audio/libid3tag \
libltdl.so:devel/libltdl
USES= desktop-file-utils gmake gnome pkgconfig
USE_GSTREAMER1= yes
USES= desktop-file-utils gmake gnome gstreamer pkgconfig
USE_GNOME= gtk30
GNU_CONFIGURE= yes

@ -15,8 +15,8 @@ LIB_DEPENDS= libtag.so:audio/taglib \
USE_GITHUB= yes
GH_ACCOUNT= olegantonyan
USES= compiler:c++11-lang desktop-file-utils qmake qt:5
USE_GSTREAMER1= flac libav mpg123 ogg opus vorbis
USES= compiler:c++11-lang desktop-file-utils gstreamer qmake qt:5
USE_GSTREAMER= flac libav mpg123 ogg opus vorbis
USE_QT= buildtools_build concurrent core dbus gui multimedia \
network widgets x11extras

@ -27,10 +27,10 @@ LIB_DEPENDS= libao.so:audio/libao \
libtag.so:audio/taglib
RUN_DEPENDS= mksh>0:shells/mksh
USES= autoreconf compiler:c11 gettext gmake gnome pkgconfig shebangfix
USES= autoreconf compiler:c11 gettext gmake gnome gstreamer pkgconfig shebangfix
USE_GNOME= glib20
USE_GSTREAMER1= ffmpeg
USE_GSTREAMER= #ffmpeg
USE_RC_SUBR= pianod

@ -20,11 +20,11 @@ RUN_DEPENDS= gnome-keyring:security/gnome-keyring \
${PYTHON_PKGNAMEPREFIX}pylast>0:audio/py-pylast@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/xdg/__init__.py:devel/py-xdg@${PY_FLAVOR}
USES= pkgconfig:run python:3.6+ gnome meson ninja gettext shebangfix
USES= pkgconfig:run python:3.6+ gnome gstreamer meson ninja gettext shebangfix
USE_GITHUB= yes
USE_GNOME= glib20
USE_GSTREAMER1= core good bad soup
USE_GSTREAMER= core good bad soup
GLIB_SCHEMAS= io.github.Pithos.gschema.xml

@ -18,11 +18,11 @@ LIB_DEPENDS= libtag.so:audio/taglib \
libsoup-2.4.so:devel/libsoup \
libtotem-plparser.so:multimedia/totem-pl-parser
USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome \
USES= compiler:c11 desktop-file-utils gettext-tools gmake gnome gstreamer \
libtool pkgconfig sqlite tar:bz2
GNU_CONFIGURE= yes
USE_GNOME= glib20 gtk30 intltool intlhack
USE_GSTREAMER1= yes faad flac libav mpg123 ogg speex
USE_GSTREAMER= faad flac libav mpg123 ogg speex
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip

@ -40,10 +40,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
zam-plugins-lv2>0:audio/zam-plugins-lv2
USES= compiler:c++17-lang desktop-file-utils libtool \
localbase:ldflags gettext gnome meson ninja pathfix pkgconfig \
localbase:ldflags gettext gnome gstreamer meson ninja pathfix pkgconfig \
python:3.6+ shebangfix
USE_GNOME= cairo gtkmm30 libsigc++20 pygobject3
USE_GSTREAMER1= bad bs2b good ladspa lv2 pulse webrtcdsp
USE_GSTREAMER= bad bs2b good ladspa lv2 pulse webrtcdsp
USE_LDCONFIG= yes
USE_GITHUB= yes

@ -29,13 +29,13 @@ LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 \
libgudev-1.0.so:devel/libgudev \
libtdb.so:databases/tdb
USES= desktop-file-utils gmake gnome libtool localbase \
USES= desktop-file-utils gmake gnome gstreamer libtool localbase \
pathfix pkgconfig tar:xz xorg
USE_GNOME= cairo intlhack glib20 gnomeprefix gtk30 introspection \
pygobject3 libxml2
USE_XORG= ice x11 xorgproto
GNU_CONFIGURE= yes
USE_GSTREAMER1= flac lame jpeg cdparanoia vorbis
USE_GSTREAMER= flac lame jpeg cdparanoia vorbis
CONFIGURE_ARGS= --enable-vala \
--enable-visualizer=no \
--with-python=yes \

@ -13,10 +13,10 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libtag.so:audio/taglib \
libmtp.so:multimedia/libmtp
USES= cmake compiler:c++11-lib desktop-file-utils gnome pkgconfig \
USES= cmake compiler:c++11-lib desktop-file-utils gnome gstreamer pkgconfig \
qt:5 python shebangfix
USE_GNOME= glib20
USE_GSTREAMER1= flac libav mpg123 ogg opus vorbis
USE_GSTREAMER= flac libav mpg123 ogg opus vorbis
USE_QT= dbus core gui network sql sql-sqlite3_run svg widgets xml \
buildtools_build qmake_build linguisttools_build

@ -13,10 +13,10 @@ IGNORE= crashes with libadwaita >= 1.0
LIB_DEPENDS= libdbus-1.so:devel/dbus
USES= cargo gettext gnome meson pkgconfig python:build shebangfix sqlite ssl
USES= cargo gettext gnome gstreamer meson pkgconfig python:build shebangfix sqlite ssl
USE_GITLAB= yes
USE_GNOME= gdkpixbuf2 gtk40 libadwaita
USE_GSTREAMER1= good libav soup vorbis
USE_GSTREAMER= good libav soup vorbis
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World
<