[gstreamer] simplyfy (#32323)

This commit is contained in:
autoantwort 2023-07-15 01:39:00 +02:00 committed by GitHub
parent 4ce46ddf46
commit 592cb84726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 90 additions and 396 deletions

View File

@ -45,56 +45,74 @@ if(VCPKG_TARGET_IS_OSX)
endif()
# General features
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
gpl gpl
libav libav
nls nls
ges ges
if("gpl" IN_LIST FEATURES)
set(LICENSE_GPL enabled)
else()
set(LICENSE_GPL disabled)
endif()
plugins-base base
gl-graphene gst-plugins-base:gl-graphene
alsa gst-plugins-base:alsa
ogg gst-plugins-base:ogg
opus-base gst-plugins-base:opus
pango gst-plugins-base:pango
vorbis gst-plugins-base:vorbis
x11-base gst-plugins-base:x11
x11-base gst-plugins-base:xshm
if ("libav" IN_LIST FEATURES)
set(LIBAV enabled)
else()
set(LIBAV disabled)
endif()
plugins-good good
bzip2-good gst-plugins-good:bz2
cairo gst-plugins-good:cairo
flac gst-plugins-good:flac
gdk-pixbuf gst-plugins-good:gdk-pixbuf
jpeg gst-plugins-good:jpeg
mpg123 gst-plugins-good:mpg123
png gst-plugins-good:png
speex gst-plugins-good:speex
taglib gst-plugins-good:taglib
vpx gst-plugins-good:vpx
if("nls" IN_LIST FEATURES)
set(NLS enabled)
else()
set(NLS disabled)
endif()
plugins-ugly ugly
x264 gst-plugins-ugly:x264
if("plugins-base" IN_LIST FEATURES)
set(PLUGIN_BASE_SUPPORT enabled)
else()
set(PLUGIN_BASE_SUPPORT disabled)
endif()
plugins-bad bad
aes gst-plugins-bad:aes
assrender gst-plugins-bad:assrender
bzip2-bad gst-plugins-bad:bz2
chromaprint gst-plugins-bad:chromaprint
closedcaption gst-plugins-bad:closedcaption
colormanagement gst-plugins-bad:colormanagement
dash gst-plugins-bad:dash
dc1394 gst-plugins-bad:dc1394
dtls gst-plugins-bad:dtls
faad gst-plugins-bad:faad
fdkaac gst-plugins-bad:fdkaac
fluidsynth gst-plugins-bad:fluidsynth
libde265 gst-plugins-bad:libde265
microdns gst-plugins-bad:microdns
modplug gst-plugins-bad:modplug
openal gst-plugins-bad:openal
openh264 gst-plugins-bad:openh264
openjpeg gst-plugins-bad:openjpeg
openmpt gst-plugins-bad:openmpt
opus-bad gst-plugins-bad:opus
smoothstreaming gst-plugins-bad:smoothstreaming
sndfile gst-plugins-bad:sndfile
soundtouch gst-plugins-bad:soundtouch
srt gst-plugins-bad:srt
srtp gst-plugins-bad:srtp
webp gst-plugins-bad:webp
webrtc gst-plugins-bad:webrtc
wildmidi gst-plugins-bad:wildmidi
x11-bad gst-plugins-bad:x11
x265 gst-plugins-bad:x265
asio gst-plugins-bad:asio
)
if("plugins-good" IN_LIST FEATURES)
set(PLUGIN_GOOD_SUPPORT enabled)
else()
set(PLUGIN_GOOD_SUPPORT disabled)
endif()
if("plugins-ugly" IN_LIST FEATURES)
set(PLUGIN_UGLY_SUPPORT enabled)
else()
set(PLUGIN_UGLY_SUPPORT disabled)
endif()
if("plugins-bad" IN_LIST FEATURES)
set(PLUGIN_BAD_SUPPORT enabled)
else()
set(PLUGIN_BAD_SUPPORT disabled)
endif()
if("gl-graphene" IN_LIST FEATURES)
set(GL_GRAPHENE enabled)
else()
set(GL_GRAPHENE disabled)
endif()
# Base optional plugins
string(REPLACE "OFF" "disabled" FEATURE_OPTIONS "${FEATURE_OPTIONS}")
string(REPLACE "ON" "enabled" FEATURE_OPTIONS "${FEATURE_OPTIONS}")
if(VCPKG_TARGET_IS_WINDOWS)
set(PLUGIN_BASE_WINDOW_SYSTEM win32)
@ -104,303 +122,12 @@ else()
set(PLUGIN_BASE_GL_PLATFORM auto)
endif()
if("alsa" IN_LIST FEATURES AND VCPKG_TARGET_IS_LINUX)
set(PLUGIN_BASE_ALSA enabled)
else()
set(PLUGIN_BASE_ALSA disabled)
endif()
if("ogg" IN_LIST FEATURES)
set(PLUGIN_BASE_OGG enabled)
else()
set(PLUGIN_BASE_OGG disabled)
endif()
if("opus-base" IN_LIST FEATURES)
set(PLUGIN_BASE_OPUS enabled)
else()
set(PLUGIN_BASE_OPUS disabled)
endif()
if("pango" IN_LIST FEATURES)
set(PLUGIN_BASE_PANGO enabled)
else()
set(PLUGIN_BASE_PANGO disabled)
endif()
if("vorbis" IN_LIST FEATURES)
set(PLUGIN_BASE_VORBIS enabled)
else()
set(PLUGIN_BASE_VORBIS disabled)
endif()
if("x11-base" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_WINDOWS)
set(PLUGIN_BASE_X11 enabled)
else()
set(PLUGIN_BASE_X11 disabled)
endif()
# Good optional plugins
if("bzip2-good" IN_LIST FEATURES)
set(PLUGIN_GOOD_BZ2 enabled)
else()
set(PLUGIN_GOOD_BZ2 disabled)
endif()
if("cairo" IN_LIST FEATURES)
set(PLUGIN_GOOD_CAIRO enabled)
else()
set(PLUGIN_GOOD_CAIRO disabled)
endif()
if("flac" IN_LIST FEATURES)
set(PLUGIN_GOOD_FLAC enabled)
else()
set(PLUGIN_GOOD_FLAC disabled)
endif()
if("gdk-pixbuf" IN_LIST FEATURES)
set(PLUGIN_GOOD_GDK_PIXBUF enabled)
else()
set(PLUGIN_GOOD_GDK_PIXBUF disabled)
endif()
if("jpeg" IN_LIST FEATURES)
set(PLUGIN_GOOD_JPEG enabled)
else()
set(PLUGIN_GOOD_JPEG disabled)
endif()
if("mpg123" IN_LIST FEATURES)
set(PLUGIN_GOOD_MPG123 enabled)
else()
set(PLUGIN_GOOD_MPG123 disabled)
endif()
if("png" IN_LIST FEATURES)
set(PLUGIN_GOOD_PNG enabled)
else()
set(PLUGIN_GOOD_PNG disabled)
endif()
if("speex" IN_LIST FEATURES)
set(PLUGIN_GOOD_SPEEX enabled)
else()
set(PLUGIN_GOOD_SPEEX disabled)
endif()
if("taglib" IN_LIST FEATURES)
set(PLUGIN_GOOD_TAGLIB enabled)
else()
set(PLUGIN_GOOD_TAGLIB disabled)
endif()
if("vpx" IN_LIST FEATURES)
set(PLUGIN_GOOD_VPX enabled)
else()
set(PLUGIN_GOOD_VPX disabled)
endif()
# Ugly optional plugins
if("gpl" IN_LIST FEATURES AND "x264" IN_LIST FEATURES)
set(PLUGIN_UGLY_X264 enabled)
else()
set(PLUGIN_UGLY_X264 disabled)
endif()
# Bad optional plugins
if("aes" IN_LIST FEATURES)
set(PLUGIN_BAD_AES enabled)
else()
set(PLUGIN_BAD_AES disabled)
endif()
if("asio" IN_LIST FEATURES)
set(PLUGIN_BAD_ASIO enabled)
set(PLUGIN_BAD_ASIO_SDK_PATH ${CURRENT_INSTALLED_DIR}/include/asiosdk)
else()
set(PLUGIN_BAD_ASIO disabled)
set(PLUGIN_BAD_ASIO_SDK_PATH "")
endif()
if("assrender" IN_LIST FEATURES)
set(PLUGIN_BAD_ASSRENDER enabled)
else()
set(PLUGIN_BAD_ASSRENDER disabled)
endif()
if("bzip2-bad" IN_LIST FEATURES)
set(PLUGIN_BAD_BZ2 enabled)
else()
set(PLUGIN_BAD_BZ2 disabled)
endif()
if("chromaprint" IN_LIST FEATURES)
set(PLUGIN_BAD_CHROMAPRINT enabled)
else()
set(PLUGIN_BAD_CHROMAPRINT disabled)
endif()
if("closedcaption" IN_LIST FEATURES)
set(PLUGIN_BAD_CLOSEDCAPTION enabled)
else()
set(PLUGIN_BAD_CLOSEDCAPTION disabled)
endif()
if("colormanagement" IN_LIST FEATURES)
set(PLUGIN_BAD_COLORMANAGEMENT enabled)
else()
set(PLUGIN_BAD_COLORMANAGEMENT disabled)
endif()
if("dash" IN_LIST FEATURES)
set(PLUGIN_BAD_DASH enabled)
else()
set(PLUGIN_BAD_DASH disabled)
endif()
if("dc1394" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_WINDOWS)
set(PLUGIN_BAD_DC1394 enabled)
else()
set(PLUGIN_BAD_DC1394 disabled)
endif()
if("dtls" IN_LIST FEATURES)
set(PLUGIN_BAD_DTLS enabled)
else()
set(PLUGIN_BAD_DTLS disabled)
endif()
if("gpl" IN_LIST FEATURES AND "faad" IN_LIST FEATURES)
set(PLUGIN_BAD_FAAD enabled)
else()
set(PLUGIN_BAD_FAAD disabled)
endif()
if("fdkaac" IN_LIST FEATURES)
set(PLUGIN_BAD_FDKAAC enabled)
else()
set(PLUGIN_BAD_FDKAAC disabled)
endif()
# Plugin requires unistd.h header, which doesn't exist on Windows
if("fluidsynth" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_WINDOWS)
set(PLUGIN_BAD_FLUIDSYNTH enabled)
else()
set(PLUGIN_BAD_FLUIDSYNTH disabled)
endif()
if("libde265" IN_LIST FEATURES)
set(PLUGIN_BAD_LIBDE265 enabled)
else()
set(PLUGIN_BAD_LIBDE265 disabled)
endif()
if("microdns" IN_LIST FEATURES)
set(PLUGIN_BAD_MICRODNS enabled)
else()
set(PLUGIN_BAD_MICRODNS disabled)
endif()
if("modplug" IN_LIST FEATURES AND NOT VCPKG_TARGET_IS_UWP)
set(PLUGIN_BAD_MODPLUG enabled)
else()
set(PLUGIN_BAD_MODPLUG disabled)
endif()
if("openal" IN_LIST FEATURES)
set(PLUGIN_BAD_OPENAL enabled)
else()
set(PLUGIN_BAD_OPENAL disabled)
endif()
if("openh264" IN_LIST FEATURES)
set(PLUGIN_BAD_OPENH264 enabled)
else()
set(PLUGIN_BAD_OPENH264 disabled)
endif()
if("openjpeg" IN_LIST FEATURES)
set(PLUGIN_BAD_OPENJPEG enabled)
else()
set(PLUGIN_BAD_OPENJPEG disabled)
endif()
if("openmpt" IN_LIST FEATURES)
set(PLUGIN_BAD_OPENMPT enabled)
else()
set(PLUGIN_BAD_OPENMPT disabled)
endif()
if("opus-bad" IN_LIST FEATURES)
set(PLUGIN_BAD_OPUS enabled)
else()
set(PLUGIN_BAD_OPUS disabled)
endif()
if("smoothstreaming" IN_LIST FEATURES)
set(PLUGIN_BAD_SMOOTHSTREAMING enabled)
else()
set(PLUGIN_BAD_SMOOTHSTREAMING disabled)
endif()
if("sndfile" IN_LIST FEATURES)
set(PLUGIN_BAD_SNDFILE enabled)
else()
set(PLUGIN_BAD_SNDFILE disabled)
endif()
if("soundtouch" IN_LIST FEATURES)
set(PLUGIN_BAD_SOUNDTOUCH enabled)
else()
set(PLUGIN_BAD_SOUNDTOUCH disabled)
endif()
if("srt" IN_LIST FEATURES)
set(PLUGIN_BAD_SRT enabled)
else()
set(PLUGIN_BAD_SRT disabled)
endif()
if("srtp" IN_LIST FEATURES)
set(PLUGIN_BAD_SRTP enabled)
else()
set(PLUGIN_BAD_SRTP disabled)
endif()
if("webp" IN_LIST FEATURES)
set(PLUGIN_BAD_WEBP enabled)
else()
set(PLUGIN_BAD_WEBP disabled)
endif()
if("webrtc" IN_LIST FEATURES)
set(PLUGIN_BAD_WEBRTC enabled)
else()
set(PLUGIN_BAD_WEBRTC disabled)
endif()
if("wildmidi" IN_LIST FEATURES)
set(PLUGIN_BAD_WILDMIDI enabled)
else()
set(PLUGIN_BAD_WILDMIDI disabled)
endif()
if("x11-bad" IN_LIST FEATURES)
set(PLUGIN_BAD_X11 enabled)
else()
set(PLUGIN_BAD_X11 disabled)
endif()
if("gpl" IN_LIST FEATURES AND "x265" IN_LIST FEATURES)
set(PLUGIN_BAD_X265 enabled)
else()
set(PLUGIN_BAD_X265 disabled)
endif()
#
# References
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/1.20.4/subprojects/gstreamer/meson_options.txt
@ -419,12 +146,11 @@ endif()
vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
# General options
-Dpython=disabled
-Dlibav=${LIBAV}
-Dlibnice=disabled
-Ddevtools=disabled
-Dges=enabled
-Drtsp_server=disabled
-Domx=disabled
-Dvaapi=disabled
@ -433,12 +159,10 @@ vcpkg_configure_meson(
-Dgst-examples=disabled
-Dtls=disabled
-Dqt5=disabled
-Dgpl=${LICENSE_GPL}
# Common options
-Dtests=disabled
-Dexamples=disabled
-Dintrospection=disabled
-Dnls=${NLS}
-Dorc=disabled # gstreamer requires a specific version of orc which is not available in vcpkg
-Ddoc=disabled
-Dgtk_doc=disabled
@ -452,54 +176,34 @@ vcpkg_configure_meson(
-Dgstreamer:benchmarks=disabled
-Dgstreamer:gst_debug=true
# gst-plugins-base
-Dbase=${PLUGIN_BASE_SUPPORT}
-Dgst-plugins-base:gl_winsys=${PLUGIN_BASE_WINDOW_SYSTEM}
-Dgst-plugins-base:gl_platform=${PLUGIN_BASE_GL_PLATFORM}
-Dgst-plugins-base:gl-graphene=${GL_GRAPHENE}
-Dgst-plugins-base:alsa=${PLUGIN_BASE_ALSA}
-Dgst-plugins-base:cdparanoia=disabled
-Dgst-plugins-base:libvisual=disabled
-Dgst-plugins-base:ogg=${PLUGIN_BASE_OGG}
-Dgst-plugins-base:opus=${PLUGIN_BASE_OPUS}
-Dgst-plugins-base:pango=${PLUGIN_BASE_PANGO}
-Dgst-plugins-base:theora=disabled
-Dgst-plugins-base:tremor=disabled
-Dgst-plugins-base:vorbis=${PLUGIN_BASE_VORBIS}
-Dgst-plugins-base:x11=${PLUGIN_BASE_X11}
-Dgst-plugins-base:xshm=${PLUGIN_BASE_X11}
-Dgst-plugins-base:xvideo=disabled
# gst-plugins-good
-Dgood=${PLUGIN_GOOD_SUPPORT}
-Dgst-plugins-good:aalib=disabled
-Dgst-plugins-good:bz2=${PLUGIN_GOOD_BZ2}
-Dgst-plugins-good:directsound=auto
-Dgst-plugins-good:dv=disabled
-Dgst-plugins-good:dv1394=disabled
-Dgst-plugins-good:flac=${PLUGIN_GOOD_FLAC}
-Dgst-plugins-good:gdk-pixbuf=${PLUGIN_GOOD_GDK_PIXBUF}
-Dgst-plugins-good:gtk3=disabled # GTK version 3 only
-Dgst-plugins-good:jack=disabled
-Dgst-plugins-good:jpeg=${PLUGIN_GOOD_JPEG}
-Dgst-plugins-good:lame=disabled
-Dgst-plugins-good:libcaca=disabled
-Dgst-plugins-good:mpg123=${PLUGIN_GOOD_MPG123}
-Dgst-plugins-good:oss=disabled
-Dgst-plugins-good:oss4=disabled
-Dgst-plugins-good:osxaudio=auto
-Dgst-plugins-good:osxvideo=auto
-Dgst-plugins-good:png=${PLUGIN_GOOD_PNG}
-Dgst-plugins-good:pulse=auto
-Dgst-plugins-good:qt5=disabled
-Dgst-plugins-good:shout2=disabled
-Dgst-plugins-good:soup=disabled
-Dgst-plugins-good:speex=${PLUGIN_GOOD_SPEEX}
-Dgst-plugins-good:taglib=${PLUGIN_GOOD_TAGLIB}
-Dgst-plugins-good:twolame=disabled
-Dgst-plugins-good:vpx=${PLUGIN_GOOD_VPX}
-Dgst-plugins-good:waveform=auto
-Dgst-plugins-good:wavpack=disabled # Error during plugin build
# gst-plugins-ugly
-Dugly=${PLUGIN_UGLY_SUPPORT}
-Dgst-plugins-ugly:a52dec=disabled
-Dgst-plugins-ugly:amrnb=disabled
-Dgst-plugins-ugly:amrwbdec=disabled
@ -507,41 +211,26 @@ vcpkg_configure_meson(
-Dgst-plugins-ugly:dvdread=disabled
-Dgst-plugins-ugly:mpeg2dec=disabled # libmpeg2 not found
-Dgst-plugins-ugly:sidplay=disabled
-Dgst-plugins-ugly:x264=${PLUGIN_UGLY_X264}
# gst-plugins-bad
-Dbad=${PLUGIN_BAD_SUPPORT}
-Dgst-plugins-bad:aes=${PLUGIN_BAD_AES}
-Dgst-plugins-bad:aom=disabled # Error during plugin build
-Dgst-plugins-bad:avtp=disabled
-Dgst-plugins-bad:androidmedia=auto
-Dgst-plugins-bad:applemedia=auto
-Dgst-plugins-bad:asio=${PLUGIN_BAD_ASIO}
-Dgst-plugins-bad:asio-sdk-path=${PLUGIN_BAD_ASIO_SDK_PATH}
-Dgst-plugins-bad:assrender=${PLUGIN_BAD_ASSRENDER}
-Dgst-plugins-bad:bluez=disabled
-Dgst-plugins-bad:bs2b=disabled
-Dgst-plugins-bad:bz2=${PLUGIN_BAD_BZ2}
-Dgst-plugins-bad:chromaprint=${PLUGIN_BAD_CHROMAPRINT}
-Dgst-plugins-bad:closedcaption=${PLUGIN_BAD_CLOSEDCAPTION}
-Dgst-plugins-bad:colormanagement=${PLUGIN_BAD_COLORMANAGEMENT}
-Dgst-plugins-bad:curl=disabled # Error during plugin build
-Dgst-plugins-bad:curl-ssh2=disabled
-Dgst-plugins-bad:d3dvideosink=auto
-Dgst-plugins-bad:d3d11=auto
-Dgst-plugins-bad:dash=${PLUGIN_BAD_DASH}
-Dgst-plugins-bad:dc1394=${PLUGIN_BAD_DC1394}
-Dgst-plugins-bad:decklink=disabled
-Dgst-plugins-bad:directfb=disabled
-Dgst-plugins-bad:directsound=auto
-Dgst-plugins-bad:dtls=${PLUGIN_BAD_DTLS}
-Dgst-plugins-bad:dts=disabled
-Dgst-plugins-bad:dvb=auto
-Dgst-plugins-bad:faac=disabled
-Dgst-plugins-bad:faad=${PLUGIN_BAD_FAAD}
-Dgst-plugins-bad:fbdev=auto
-Dgst-plugins-bad:fdkaac=${PLUGIN_BAD_FDKAAC}
-Dgst-plugins-bad:flite=disabled
-Dgst-plugins-bad:fluidsynth=${PLUGIN_BAD_FLUIDSYNTH}
-Dgst-plugins-bad:gl=auto
-Dgst-plugins-bad:gme=disabled
-Dgst-plugins-bad:gs=disabled # Error during plugin configuration (abseil pkg-config file missing)
@ -552,11 +241,8 @@ vcpkg_configure_meson(
-Dgst-plugins-bad:kms=disabled
-Dgst-plugins-bad:ladspa=disabled
-Dgst-plugins-bad:ldac=disabled
-Dgst-plugins-bad:libde265=${PLUGIN_BAD_LIBDE265}
-Dgst-plugins-bad:lv2=disabled # Error during plugin configuration (lilv pkg-config file missing)
-Dgst-plugins-bad:mediafoundation=auto
-Dgst-plugins-bad:microdns=${PLUGIN_BAD_MICRODNS}
-Dgst-plugins-bad:modplug=${PLUGIN_BAD_MODPLUG}
-Dgst-plugins-bad:mpeg2enc=disabled
-Dgst-plugins-bad:mplex=disabled
-Dgst-plugins-bad:msdk=disabled
@ -564,16 +250,11 @@ vcpkg_configure_meson(
-Dgst-plugins-bad:neon=disabled
-Dgst-plugins-bad:nvcodec=enabled
-Dgst-plugins-bad:onnx=disabled # libonnxruntime not found
-Dgst-plugins-bad:openal=${PLUGIN_BAD_OPENAL}
-Dgst-plugins-bad:openaptx=disabled
-Dgst-plugins-bad:opencv=disabled # opencv not found
-Dgst-plugins-bad:openexr=disabled # OpenEXR::IlmImf target not found
-Dgst-plugins-bad:openh264=${PLUGIN_BAD_OPENH264}
-Dgst-plugins-bad:openjpeg=${PLUGIN_BAD_OPENJPEG}
-Dgst-plugins-bad:openmpt=${PLUGIN_BAD_OPENMPT}
-Dgst-plugins-bad:openni2=disabled # libopenni2 not found
-Dgst-plugins-bad:opensles=disabled
-Dgst-plugins-bad:opus=${PLUGIN_BAD_OPUS}
-Dgst-plugins-bad:qroverlay=disabled
-Dgst-plugins-bad:resindvd=disabled
-Dgst-plugins-bad:rsvg=disabled # librsvg-2.0 not found
@ -581,12 +262,7 @@ vcpkg_configure_meson(
-Dgst-plugins-bad:sbc=disabled
-Dgst-plugins-bad:sctp=auto
-Dgst-plugins-bad:shm=disabled
-Dgst-plugins-bad:smoothstreaming=${PLUGIN_BAD_SMOOTHSTREAMING}
-Dgst-plugins-bad:sndfile=${PLUGIN_BAD_SNDFILE}
-Dgst-plugins-bad:soundtouch=${PLUGIN_BAD_SOUNDTOUCH}
-Dgst-plugins-bad:spandsp=disabled
-Dgst-plugins-bad:srt=${PLUGIN_BAD_SRT}
-Dgst-plugins-bad:srtp=${PLUGIN_BAD_SRTP}
-Dgst-plugins-bad:svthevcenc=disabled
-Dgst-plugins-bad:teletext=disabled
-Dgst-plugins-bad:tinyalsa=disabled
@ -600,13 +276,8 @@ vcpkg_configure_meson(
-Dgst-plugins-bad:wasapi=auto
-Dgst-plugins-bad:wasapi2=auto
-Dgst-plugins-bad:wayland=auto
-Dgst-plugins-bad:webp=${PLUGIN_BAD_WEBP}
-Dgst-plugins-bad:webrtc=${PLUGIN_BAD_WEBRTC}
-Dgst-plugins-bad:wildmidi=${PLUGIN_BAD_WILDMIDI}
-Dgst-plugins-bad:winks=disabled
-Dgst-plugins-bad:winscreencap=auto
-Dgst-plugins-bad:x11=${PLUGIN_BAD_X11}
-Dgst-plugins-bad:x265=${PLUGIN_BAD_X265}
-Dgst-plugins-bad:zbar=disabled # Error during plugin build
-Dgst-plugins-bad:zxing=disabled # Error during plugin build
-Dgst-plugins-bad:wpe=disabled
@ -644,12 +315,15 @@ list(APPEND GST_BIN_TOOLS
gst-launch-1.0
gst-stats-1.0
gst-typefind-1.0
ges-launch-1.0
)
list(APPEND GST_LIBEXEC_TOOLS
gst-plugin-scanner
)
if("ges" IN_LIST FEATURES)
list(APPEND GST_BIN_TOOLS ges-launch-1.0)
endif()
if("plugins-base" IN_LIST FEATURES)
list(APPEND GST_BIN_TOOLS
gst-device-monitor-1.0

View File

@ -1,7 +1,7 @@
{
"name": "gstreamer",
"version": "1.20.5",
"port-version": 10,
"port-version": 11,
"description": "GStreamer open-source multimedia framework core library",
"homepage": "https://gstreamer.freedesktop.org/",
"license": "LGPL-2.0-only",
@ -40,6 +40,7 @@
},
"alsa": {
"description": "Enable support for ALSA (Advanced Linux Sound Architecture)",
"supports": "linux",
"dependencies": [
{
"name": "alsa",
@ -249,6 +250,7 @@
},
"fluidsynth": {
"description": "Enable support for the Fluidsynth MIDI decoder",
"supports": "!windows",
"dependencies": [
{
"name": "fluidsynth",
@ -276,6 +278,18 @@
}
]
},
"ges": {
"description": "Enable support for GStreamer Editing Services",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
}
]
},
"gl-graphene": {
"description": "Use Graphene in OpenGL plugin",
"dependencies": [
@ -359,6 +373,7 @@
},
"modplug": {
"description": "Enable support for the ModPlug audio decoder",
"supports": "!uwp",
"dependencies": [
{
"name": "gstreamer",

View File

@ -3018,7 +3018,7 @@
},
"gstreamer": {
"baseline": "1.20.5",
"port-version": 10
"port-version": 11
},
"gtest": {
"baseline": "1.13.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9ad3c702668f673319b620729150bce73d2181eb",
"version": "1.20.5",
"port-version": 11
},
{
"git-tree": "24a88414ae4d8f37c01ffc726f3c7eb264edc478",
"version": "1.20.5",