gsettings schema fixes

fixing gext still requires https://gitlab.gnome.org/GNOME/gnome-shell

ref: https://github.com/pkgxdev/pantry/issues/5991#issuecomment-2081154003
This commit is contained in:
Jacob Heider 2024-04-27 15:36:02 -04:00 committed by Jacob Heider
parent 03cc68bbff
commit 399abef4ac
2 changed files with 14 additions and 5 deletions

View file

@ -18,6 +18,9 @@ dependencies:
pcre.org: 8 pcre.org: 8
pcre.org/v2: 10 pcre.org/v2: 10
companions:
gnome.org/gsettings-desktop-schemas: '*'
runtime: runtime:
env: env:
PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH' PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'

View file

@ -9,6 +9,10 @@ dependencies:
gnome.org/glib: '*' gnome.org/glib: '*'
libexpat.github.io: '*' libexpat.github.io: '*'
runtime:
env:
SCHEMADIR: '{{prefix}}/share/glib-2.0/schemas'
build: build:
dependencies: dependencies:
gnome.org/gobject-introspection: '*' gnome.org/gobject-introspection: '*'
@ -16,10 +20,12 @@ build:
ninja-build.org: '*' ninja-build.org: '*'
freedesktop.org/pkg-config: '*' freedesktop.org/pkg-config: '*'
python.org: ~3.11 python.org: ~3.11
script: | script:
meson setup build $ARGS - meson setup build $ARGS
meson compile -C build --verbose - meson compile -C build --verbose
meson install -C build - meson install -C build
- run: glib-compile-schemas .
working-directory: '{{prefix}}/share/glib-2.0/schemas'
env: env:
DESTDIR: '/' DESTDIR: '/'
ARGS: ARGS:
@ -34,4 +40,4 @@ test:
script: | script: |
pkg-config --modversion gsettings-desktop-schemas | grep {{version.marketing}} pkg-config --modversion gsettings-desktop-schemas | grep {{version.marketing}}
cc test.c -I{{prefix}}/include/gsettings-desktop-schemas -o test cc test.c -I{{prefix}}/include/gsettings-desktop-schemas -o test
./test ./test