mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
new file: projects/gnome.org/gsettings-desktop-schemas/package.yml
new file: projects/gnome.org/gsettings-desktop-schemas/test.c
This commit is contained in:
parent
44dbadc38c
commit
9bcc0a5216
40
projects/gnome.org/gsettings-desktop-schemas/package.yml
Normal file
40
projects/gnome.org/gsettings-desktop-schemas/package.yml
Normal file
|
@ -0,0 +1,40 @@
|
|||
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:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
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: '*'
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
pkg-config --modversion gsettings-desktop-schemas | grep {{version.marketing}}
|
||||
cc test.c -I{{prefix}}/include/gsettings-desktop-schemas -o test
|
||||
./test
|
4
projects/gnome.org/gsettings-desktop-schemas/test.c
Normal file
4
projects/gnome.org/gsettings-desktop-schemas/test.c
Normal file
|
@ -0,0 +1,4 @@
|
|||
#include <gdesktop-enums.h>
|
||||
int main(int argc, char *argv[]) {
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue