ebassi.github.io/graphene (#3492)

* new file:   projects/ebassi.github.io/graphene/package.yml
new file:   projects/ebassi.github.io/graphene/test.c

* hmmm

* .
This commit is contained in:
Andrew 2023-10-02 19:23:46 +03:00 committed by GitHub
parent fa40974133
commit 255b28e6e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,31 @@
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

View file

@ -0,0 +1,6 @@
#include <graphene-gobject.h>
int main(int argc, char *argv[]) {
GType type = graphene_point_get_type();
return 0;
}