mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
399abef4ac
fixing gext still requires https://gitlab.gnome.org/GNOME/gnome-shell ref: https://github.com/pkgxdev/pantry/issues/5991#issuecomment-2081154003
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
distributable:
|
|
url: https://download.gnome.org/sources/gsettings-desktop-schemas/{{version.major}}/gsettings-desktop-schemas-{{version.marketing}}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
gitlab: gitlab.gnome.org:GNOME/gsettings-desktop-schemas/tags
|
|
|
|
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
|
|
- run: glib-compile-schemas .
|
|
working-directory: '{{prefix}}/share/glib-2.0/schemas'
|
|
env:
|
|
DESTDIR: '/'
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --libdir="{{prefix}}/lib"
|
|
- --buildtype=release
|
|
- --wrap-mode=nofallback
|
|
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script: |
|
|
pkg-config --modversion gsettings-desktop-schemas | grep {{version.marketing}}
|
|
cc test.c -I{{prefix}}/include/gsettings-desktop-schemas -o test
|
|
./test
|