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/v2: 10
companions:
gnome.org/gsettings-desktop-schemas: '*'
runtime:
env:
PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH'

View file

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