pantry/projects/gnome.org/gsettings-desktop-schemas/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

37 lines
No EOL
984 B
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: '*'
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
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