mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
0e5dac8c25
Yielding option means that if pango is built as a subproject, it will take the value of that option from the parent project (e.g. gst-build). For that to work it must be of the same type, which is "feature" instead of "boolean" in all GStreamer modules.
43 lines
1.0 KiB
Bash
43 lines
1.0 KiB
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
appid=$1
|
|
|
|
builddir=flatpak_app
|
|
repodir=repo
|
|
|
|
flatpak-builder \
|
|
--user --disable-rofiles-fuse \
|
|
--stop-at=gtk \
|
|
${builddir} \
|
|
build-aux/flatpak/${appid}.json
|
|
|
|
flatpak build ${builddir} meson \
|
|
--prefix=/app \
|
|
--libdir=/app/lib \
|
|
--buildtype=release \
|
|
-Dx11-backend=true \
|
|
-Dwayland-backend=true \
|
|
-Dprint-backends=file \
|
|
-Dbuild-tests=false \
|
|
-Dbuild-examples=false \
|
|
-Dintrospection=disabled \
|
|
-Ddemos=true \
|
|
_flatpak_build
|
|
|
|
flatpak build ${builddir} ninja -C _flatpak_build install
|
|
|
|
flatpak-builder \
|
|
--user --disable-rofiles-fuse \
|
|
--finish-only \
|
|
--repo=${repodir} \
|
|
${builddir} \
|
|
build-aux/flatpak/${appid}.json
|
|
|
|
flatpak build-bundle \
|
|
${repodir} \
|
|
${appid}-dev.flatpak \
|
|
--runtime-repo=https://nightly.gnome.org/gnome-nightly.flatpakrepo \
|
|
${appid}
|