pantry/projects/ebassi.github.io/graphene/package.yml
Andrew 255b28e6e2
ebassi.github.io/graphene (#3492)
* new file:   projects/ebassi.github.io/graphene/package.yml
new file:   projects/ebassi.github.io/graphene/test.c

* hmmm

* .
2023-10-02 12:23:46 -04:00

31 lines
No EOL
853 B
YAML

distributable:
url: https://github.com/ebassi/graphene/archive/{{version}}.tar.gz
strip-components: 1
versions:
github: ebassi/graphene
dependencies:
gnome.org/glib: '*'
build:
dependencies:
gnome.org/gobject-introspection: '*'
mesonbuild.com: '*'
ninja-build.org: '*'
freedesktop.org/pkg-config: '*'
working-directory: build
script:
- meson $MESON_ARGS ..
- ninja -v
- ninja install -v
env:
MESON_ARGS:
- --prefix="{{prefix}}"
- --libdir="{{prefix}}/lib"
- --buildtype=release
- --wrap-mode=nofallback
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
- pkg-config --modversion graphene-1.0 | grep {{version}}
- cc test.c $(pkg-config --cflags graphene-1.0 graphene-gobject-1.0) $(pkg-config --libs graphene-1.0 graphene-gobject-1.0) -o test
- ./test