Skip to content

Add initial support to package GStreamer for the WEB platform using the upstream packages.#419

Open
ylatuya wants to merge 30 commits intoemscriptenfrom
emscripten-hotfix-gsthackfest
Open

Add initial support to package GStreamer for the WEB platform using the upstream packages.#419
ylatuya wants to merge 30 commits intoemscriptenfrom
emscripten-hotfix-gsthackfest

Conversation

@ylatuya
Copy link
Copy Markdown
Contributor

@ylatuya ylatuya commented May 19, 2025

This PR summarizes the work done in the GStreamer hackest towards upstreaming the WEB platform support in cerbero and provide support to package gstreamer-1.0 for the WEB platform

turran and others added 30 commits April 23, 2025 09:25
It was used on gcc/gcc-core as per a81a692 but is no longer
used on any recipe.
The code was a safe path to avoid sources access a not set property
This property belongs to the GitCache source itself. In fact, it was
overwritten there with a different value.
* Rename build_dir to be consistent with what sources handle,
config_src_dir.
* Initialize and set the config_src_dir in the Source
* Initialize and set the config_build_dir in the Build
* Use a new var, sources_dir to refer to the place where the build
system sources are located.
* Always override config_build_dir so the Oven can shell into
the correct path
* Allow building into a folder different than the config_src_dir
on Meson, CMake and Autotools
This will allow in-place projects without the need to actually
fetch the sources. Now projects can be delivered with a cerbero
recipe as part of the distfiles if required. Also, simplifies
testing by having local projects and recipes.
Rust version, 1.84.0, will use emsdk 3.1.68 and this unblocks issues
with gst-plugins-rs
Until libffi/libffi#746 is merged
this is the simplest way of using the latest release of
libffi required for wasm support
self.files.remove('libdvdnav:libs')
self.files.remove('libdvdread:libs')

if self.config.target_platform == Platform.WEB:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the gstreamer-1.0-dvd package? Even more do we need all these packages?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't, but cerbero doesn't have a way to invalidate packages as it does with recipes, so we are just creating here an empty package in case someone calls package gstreamer-1.0-dvd

@ylatuya ylatuya changed the title Add hotfixes to the emscripten branch from the GStreamer hackfest Add initial support to package GStreamer for the WEB platform using the upstream packages. May 26, 2025
@cfoch cfoch force-pushed the emscripten branch 2 times, most recently from 313a20a to 81f6f28 Compare June 6, 2025 11:46
@cfoch cfoch force-pushed the emscripten branch 2 times, most recently from 213ec03 to 5a778d3 Compare December 31, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants