Skip to content

Commit

Permalink
gsettings schema fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jhheider committed Apr 27, 2024
1 parent 03cc68b commit 7c95c18
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
3 changes: 3 additions & 0 deletions projects/gnome.org/glib/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
16 changes: 11 additions & 5 deletions projects/gnome.org/gsettings-desktop-schemas/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,23 @@ dependencies:
gnome.org/glib: '*'
libexpat.github.io: '*'

runtime:
env:
SCHEMADIR: '{{prefix}}/share/glib-2.0/schemas'

build:
dependencies:
gnome.org/gobject-introspection: '*'
mesonbuild.com: '*'
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:
Expand All @@ -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

0 comments on commit 7c95c18

Please sign in to comment.