mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
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:
parent
fa40974133
commit
255b28e6e2
2 changed files with 37 additions and 0 deletions
31
projects/ebassi.github.io/graphene/package.yml
Normal file
31
projects/ebassi.github.io/graphene/package.yml
Normal 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
|
6
projects/ebassi.github.io/graphene/test.c
Normal file
6
projects/ebassi.github.io/graphene/test.c
Normal file
|
@ -0,0 +1,6 @@
|
|||
#include <graphene-gobject.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
GType type = graphene_point_get_type();
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue