From fc26fe45a13e9a18a5ebf6cc565da1c0f9d11ea4 Mon Sep 17 00:00:00 2001 From: Marc Seitz Date: Tue, 10 Oct 2023 00:46:02 +0200 Subject: [PATCH] +libsixel --- .../github.com/libsixel/libsixel/package.yml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 projects/github.com/libsixel/libsixel/package.yml diff --git a/projects/github.com/libsixel/libsixel/package.yml b/projects/github.com/libsixel/libsixel/package.yml new file mode 100644 index 00000000..4309078b --- /dev/null +++ b/projects/github.com/libsixel/libsixel/package.yml @@ -0,0 +1,39 @@ +distributable: + url: https://github.com/libsixel/libsixel/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +versions: + github: libsixel/libsixel/releases + strip: + - /^libsixel v/ + +dependencies: + libjpeg-turbo.org: '*' + libpng.org: '*' + +build: + dependencies: + mesonbuild.com: '*' + ninja-build.org: 1 + working-directory: build + script: | + meson .. $ARGS + ninja --verbose + ninja install + env: + ARGS: + - --prefix="{{prefix}}" + - --libdir={{prefix}}/lib + - --buildtype=release + - -Dgdk-pixbuf2=disabled + - -Dtests=disabled + + +provides: + - bin/img2sixel + - bin/sixel2png + - bin/libsixel-config + +test: + script: + img2sixel --version