vcpkg/ports/gstreamer/vcpkg.json
vipcxj 002c5b0659
[gstreamer,libsoup,libpsl,glib-networking] enable soup plugins of gstreamer (#36679)
<!-- If your PR fixes issues, please note that here by adding "Fixes
#NNNNNN." for each fixed issue on separate lines. -->

<!-- If you are still working on the PR, open it as a Draft:
https://github.blog/2019-02-14-introducing-draft-pull-requests/. -->

Update port gstreamer

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] SHA512s are updated for each updated download.
- [ ] The "supports" clause reflects platforms that may be fixed by this
new version.
- [ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.
- [ ] Any patches that are no longer applied are deleted from the port's
directory.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.

Add port libsoup,libpsl,glib-networking
- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- [x] The name of the port matches an existing name for this component
on https://repology.org/ if possible, and/or is strongly associated with
that component on search engines.
- [x] Optional dependencies are resolved in exactly one way. For
example, if the component is built with CMake, all `find_package` calls
are REQUIRED, are satisfied by `vcpkg.json`'s declared dependencies, or
disabled with
[CMAKE_DISABLE_FIND_PACKAGE_Xxx](https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html).
- [x] The versioning scheme in `vcpkg.json` matches what upstream says.
- [x] The license declaration in `vcpkg.json` matches what upstream
says.
- [x] The installed as the "copyright" file matches what upstream says.
- [x] The source code of the component installed comes from an
authoritative source.
- [x] The generated "usage text" is accurate. See
[adding-usage](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/examples/adding-usage.md)
for context.
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is in the new port's versions file.
- [x] Only one version is added to each modified port's versions file.

I found the offical tutorials not work because the uridecodebin plugin
can not handle https uri. Then I found that soup plugins is disabled. So
I update the gstreamer to enable it. The gstreamer compiled successfuly
without new port which I add. However the soup plugins will not work
without libsoup. So I add the port libsoup. And it depend on libpsl and
glib-networking. The glib-networking is a gio module. To make it work,
we should set env GIO_MODULE_DIR to the plugins dir which
glib-networking dll live in. And now I uridecodebin works properly.
By the way, how vcpkg deal with plugin dll? I put them to a plugins dir
just like gstreamer. However to use them is a hard work. For a gio
module, we have to set the env GIO_MODULE_DIR to the dyamic library
location.
2024-02-28 18:02:23 -08:00

842 lines
19 KiB
JSON

{
"name": "gstreamer",
"version": "1.22.5",
"port-version": 8,
"description": "GStreamer open-source multimedia framework core library",
"homepage": "https://gstreamer.freedesktop.org/",
"license": "LGPL-2.0-only",
"supports": "!uwp & !xbox",
"dependencies": [
"glib",
{
"name": "glib",
"host": true
},
{
"name": "opengl",
"platform": "windows | osx"
},
{
"name": "vcpkg-tool-meson",
"host": true
}
],
"default-features": [
"plugins-base"
],
"features": {
"aes": {
"description": "Enable support for AES encryption/decryption",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"openssl"
]
},
"alsa": {
"description": "Enable support for ALSA (Advanced Linux Sound Architecture)",
"supports": "linux",
"dependencies": [
{
"name": "alsa",
"platform": "linux"
},
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
}
]
},
"aom": {
"description": "Enable support for the Alliance for Open Media (AOM) AV1 encoder and decoder",
"supports": "!windows",
"dependencies": [
"aom",
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
}
]
},
"asio": {
"description": "Enable support for the Steinberg Audio Streaming Input Output (ASIO) library (Windows only)",
"dependencies": [
{
"name": "asiosdk",
"platform": "windows"
},
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
}
]
},
"assrender": {
"description": "Enable support for the ASS/SSA subtitle renderer",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libass"
]
},
"bzip2-bad": {
"description": "Enable bzip2 stream compression in bad plugins",
"dependencies": [
"bzip2",
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
}
]
},
"bzip2-good": {
"description": "Enable bzip2 stream compression in good plugins",
"dependencies": [
"bzip2",
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
}
]
},
"cairo": {
"description": "Enable support for the cairo graphics library",
"dependencies": [
{
"name": "cairo",
"features": [
"gobject"
]
},
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
}
]
},
"chromaprint": {
"description": "Enable support for the Chromaprint audio fingerprint library",
"dependencies": [
"chromaprint",
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
}
]
},
"closedcaption": {
"description": "Enable support for the closed caption extractor, decoder, and overlay",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"pango"
]
},
"colormanagement": {
"description": "Enable support for the color management correction",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"lcms"
]
},
"dash": {
"description": "Enable support for the DASH demuxer",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libxml2"
]
},
"dc1394": {
"description": "Enable support for the libdc1394 IIDC camera source",
"supports": "!windows",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libdc1394"
]
},
"dtls": {
"description": "Enable support for the DTLS encoder and decoder",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"openssl"
]
},
"faad": {
"description": "Enable support for the free AAC audio decoder (GPL licensed)",
"dependencies": [
"faad2",
{
"name": "gstreamer",
"default-features": false,
"features": [
"gpl",
"plugins-bad"
]
}
]
},
"fdkaac": {
"description": "Enable support for the Fraunhofer AAC audio codec",
"dependencies": [
"fdk-aac",
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
}
]
},
"flac": {
"description": "Enable support for FLAC: Free Lossless Audio Codec",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"ogg",
"plugins-good"
]
},
"libflac"
]
},
"fluidsynth": {
"description": "Enable support for the Fluidsynth MIDI decoder",
"supports": "!windows",
"dependencies": [
{
"name": "fluidsynth",
"platform": "!windows"
},
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
}
]
},
"gdk-pixbuf": {
"description": "Enable support for gdk-pixbuf image loader",
"dependencies": [
"gdk-pixbuf",
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
}
]
},
"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": [
"graphene",
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
}
]
},
"gpl": {
"description": "Allow build of plugins that have (A)GPL-licensed dependencies",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
}
]
},
"jpeg": {
"description": "Enable support for the JPEG file format",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base",
"plugins-good"
]
},
"libjpeg-turbo"
]
},
"libav": {
"description": "libav plugins",
"dependencies": [
{
"name": "ffmpeg",
"default-features": false
},
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
}
]
},
"libde265": {
"description": "Enable support for the HEVC/H.265 video decoder",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libde265"
]
},
"microdns": {
"description": "Enable support for the microdns device provider",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libmicrodns"
]
},
"modplug": {
"description": "Enable support for the ModPlug audio decoder",
"supports": "!uwp",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
{
"name": "libmodplug",
"platform": "!uwp"
}
]
},
"mpg123": {
"description": "Enable support for the MPG123 decoding library",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
},
"mpg123"
]
},
"nls": {
"description": "National language support",
"dependencies": [
"gettext",
{
"name": "gettext",
"host": true,
"default-features": false,
"features": [
"tools"
]
},
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
}
]
},
"nvcodec": {
"description": "Enable support for the NVCODEC encoders and decoders",
"supports": "!osx & !ios & !android & !emscripten",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
}
]
},
"ogg": {
"description": "Enable support for the Ogg container format (commonly used by Vorbis, Theora and flac)",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
},
"libogg"
]
},
"openal": {
"description": "Enable support for the OpenAL audio library",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"openal-soft"
]
},
"openh264": {
"description": "Enable support for the OpenH264 codec",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"openh264"
]
},
"openjpeg": {
"description": "Enable support for the JPEG2000 codec",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"openjpeg"
]
},
"openmpt": {
"description": "Enable support for the OpenMPT codec",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libopenmpt"
]
},
"opus-bad": {
"description": "Enable support for the Opus codec in bad plugins",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"opus"
]
},
"opus-base": {
"description": "Enable support for the Opus codec in base plugins",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
},
"opus"
]
},
"pango": {
"description": "Enable support for pango font rendering",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
},
"pango"
]
},
"plugins-bad": {
"description": "'Bad' GStreamer plugins and helper libraries",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
}
]
},
"plugins-base": {
"description": "'Base' GStreamer plugins and helper libraries",
"dependencies": [
"zlib"
]
},
"plugins-good": {
"description": "'Good' GStreamer plugins and helper libraries",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
},
"zlib"
]
},
"plugins-ugly": {
"description": "'Ugly' GStreamer plugins and helper libraries",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-base"
]
}
]
},
"png": {
"description": "Enable support for the PNG image format",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
},
"libpng"
]
},
"smoothstreaming": {
"description": "Enable support for the Microsoft Smooth Streaming format",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libxml2"
]
},
"sndfile": {
"description": "Enable support for the SndFile file reader/writer",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libsndfile"
]
},
"soundtouch": {
"description": "Enable support for the SoundTouch audio processing library",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"soundtouch"
]
},
"soup": {
"description": "Enable support for the soup plugin",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
},
"libsoup"
]
},
"speex": {
"description": "Enable support for the speex codec",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
},
"speex"
]
},
"srt": {
"description": "Enable support for the SRT protocol",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libsrt"
]
},
"srtp": {
"description": "Enable support for the SRTP protocol",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libsrtp"
]
},
"taglib": {
"description": "Enable support for the taglib library",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
},
"taglib"
]
},
"vorbis": {
"description": "Enable support for the OggVorbis audio codec",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"ogg",
"plugins-base"
]
},
"libvorbis"
]
},
"vpx": {
"description": "Enable support for the VP8 and VP9 codecs",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
},
"libvpx"
]
},
"webp": {
"description": "Enable support for WebP image format",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libwebp"
]
},
"webrtc": {
"description": "Enable support for WebRTC",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libnice"
]
},
"wildmidi": {
"description": "Enable support for the WildMIDI synthesizer",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"wildmidi"
]
},
"x11-bad": {
"description": "Enable support for X11 in bad plugins",
"supports": "!windows",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-bad"
]
},
"libxkbcommon",
"xcb"
]
},
"x11-base": {
"description": "Enable support for X11 in base plugins",
"supports": "!windows",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"plugins-good"
]
},
"libx11",
"libxext"
]
},
"x264": {
"description": "Enable support for the x264 encoder (GPL license)",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"gpl",
"plugins-ugly"
]
},
"x264"
]
},
"x265": {
"description": "Enable support for the x265 encoder (GPL license)",
"dependencies": [
{
"name": "gstreamer",
"default-features": false,
"features": [
"gpl",
"plugins-bad"
]
},
"x265"
]
}
}
}