From a410388b553e4b5f0b6e70d0894eaadd5c71e9fe Mon Sep 17 00:00:00 2001 From: andrejrabcenko Date: Sun, 7 May 2023 01:40:45 +0300 Subject: [PATCH] new file: projects/github.com/dloebl/cgif/package.yml --- projects/github.com/dloebl/cgif/package.yml | 31 +++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 projects/github.com/dloebl/cgif/package.yml diff --git a/projects/github.com/dloebl/cgif/package.yml b/projects/github.com/dloebl/cgif/package.yml new file mode 100644 index 00000000..a4cc32a4 --- /dev/null +++ b/projects/github.com/dloebl/cgif/package.yml @@ -0,0 +1,31 @@ +distributable: + url: https://github.com/dloebl/cgif/archive/refs/tags/V{{version}}.tar.gz + strip-components: 1 + +versions: + github: dloebl/cgif + strip: /^V/ + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + mesonbuild.com: '*' + ninja-build.org: '*' + script: | + mkdir -p build + cd build + meson $ARGS + ninja -v + ninja install -v + env: + ARGS: + - --prefix="{{prefix}}" + - .. + - -Dtests=false + +test: + dependencies: + freedesktop.org/pkg-config: '*' + script: + pkg-config --modversion cgif | grep {{version}} \ No newline at end of file