Changes between Initial Version and Version 1 of WebKitFlatpakSDK/LocalProjects


Ignore:
Timestamp:
Apr 5, 2022 4:05:40 AM (2 years ago)
Author:
Philippe Normand
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitFlatpakSDK/LocalProjects

    v1 v1  
     1[[PageOutline]]
     2
     3
     4Build and runtime dependencies provided by the SDK can be locally overridden, the advantage of this setup is that it allows for local development against development versions of dependencies relying on the Meson build-system.
     5
     6When the environment variable WEBKIT_SDK_LOCAL_DEPS is set at compile-time and runtime, some dependencies (currently only libsoup and GStreamer) will be picked up from local git checkouts located in Tools/flatpak/. If no checkout is present, one will be made based on the corresponding .wrap file.
     7
     8Additional Meson options can be supplied with WEBKIT_SDK_LOCAL_DEPS_OPTIONS. Nested subprojects configuration is supported as well.
     9
     10== Enabling local dependencies during the WebKit build
     11
     12{{{
     13!sh
     14$ export WEBKIT_SDK_LOCAL_DEPS=libsoup,gstreamer-full
     15$ build-webkit --wpe ...
     16}}}
     17
     18Passing additional options example:
     19
     20{{{
     21!sh
     22export WEBKIT_SDK_LOCAL_DEPS_OPTIONS="-Dgstreamer-full:introspection=disabled -Dgst-plugins-good:soup=disabled"
     23}}}
     24
     25== Runtime setting
     26
     27The same variable needs to be set at runtime:
     28
     29{{{
     30!sh
     31$ export WEBKIT_SDK_LOCAL_DEPS=libsoup,gstreamer-full
     32$ run-minibrowser --wpe ...
     33}}}