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