From 255b28e6e242132b11e6837db1e6d52d9275e9de Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 2 Oct 2023 19:23:46 +0300 Subject: [PATCH] ebassi.github.io/graphene (#3492) * new file: projects/ebassi.github.io/graphene/package.yml new file: projects/ebassi.github.io/graphene/test.c * hmmm * . --- .../ebassi.github.io/graphene/package.yml | 31 +++++++++++++++++++ projects/ebassi.github.io/graphene/test.c | 6 ++++ 2 files changed, 37 insertions(+) create mode 100644 projects/ebassi.github.io/graphene/package.yml create mode 100644 projects/ebassi.github.io/graphene/test.c diff --git a/projects/ebassi.github.io/graphene/package.yml b/projects/ebassi.github.io/graphene/package.yml new file mode 100644 index 00000000..a551da2c --- /dev/null +++ b/projects/ebassi.github.io/graphene/package.yml @@ -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 \ No newline at end of file diff --git a/projects/ebassi.github.io/graphene/test.c b/projects/ebassi.github.io/graphene/test.c new file mode 100644 index 00000000..1afec9f8 --- /dev/null +++ b/projects/ebassi.github.io/graphene/test.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char *argv[]) { +GType type = graphene_point_get_type(); + return 0; +} \ No newline at end of file