mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
This build depends on the KDE Flatpak SDK, and builds any missing
dependencies manually as source modules.
The flatpak can be built with the following command:
```sh
flatpak-builder --user --force-clean --install-deps-from=flathub \
--ccache --repo=Build/repo --install Build/flatpak \
Meta/CMake/flatpak/org.ladybird.Ladybird.json
```
After building, the flatpak can be run with:
```sh
flatpak run --user --devel org.ladybird.Ladybird
```
If there are issues launching RequestServer, the .pid and .sock files
under $XDG_RUNTIME_DIR may need removed.
```sh
flatpak run --user --command=sh --devel org.ladybird.Ladybird
rm -f $XDG_RUNTIME_DIR/Ladybird.*
```
21 lines
506 B
Bash
Executable File
21 lines
506 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
gn gen out --args='
|
|
is_official_build=true
|
|
is_component_build=true
|
|
is_debug=false
|
|
skia_use_dng_sdk=false
|
|
skia_use_wuffs=false
|
|
skia_use_zlib=true
|
|
skia_use_system_zlib=true
|
|
skia_use_harfbuzz=true
|
|
skia_use_vulkan=true
|
|
skia_use_fontconfig=true
|
|
skia_use_icu=true
|
|
skia_use_system_icu=true
|
|
extra_cflags=["-DSK_USE_EXTERNAL_VULKAN_HEADERS","-Wno-psabi"]
|
|
extra_cflags_cc=["-DSKCMS_API=__attribute__((visibility(\"default\")))"]
|
|
'
|