From ba5f34a851bdc89d6ef4cd3969519bd4be33c8e1 Mon Sep 17 00:00:00 2001 From: cr6git Date: Fri, 3 Nov 2017 22:33:09 +0100 Subject: [PATCH] New package: gifski --- srcpkgs/gifski/template | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/gifski/template diff --git a/srcpkgs/gifski/template b/srcpkgs/gifski/template new file mode 100644 index 00000000000..fce49047eb0 --- /dev/null +++ b/srcpkgs/gifski/template @@ -0,0 +1,27 @@ +# Template file for 'gifski' +pkgname=gifski +version=0.3.0 +revision=1 +hostmakedepends="cargo" +depends="ffmpeg" +maintainer="cr6git " +short_desc="Highest-quality GIF encoder based on pngquant" +homepage="https://gif.ski" +license="AGPL-3" +distfiles="https://github.com/ImageOptim/gifski/archive/${version}.tar.gz" +checksum=6db5100366aafb927bfb7102e8b6d6a0bee71ba6c40185ef63aa3193a450de74 + +# cargo:warning=armv7l-linux-gnueabihf-gcc: error: unrecognized command line option '-m64' +# cargo:warning=armv7l-linux-gnueabihf-gcc: error: unrecognized command line option '-msse'; did you mean '-fdse'? +# cargo:warning=aarch64-linux-gnu-gcc: error: unrecognized command line option '-m64' +# cargo:warning=aarch64-linux-gnu-gcc: error: unrecognized command line option '-msse'; did you mean '-fdse'? +nocross=yes + +do_build() { + cargo build --release +} + +do_install() { + vbin target/release/gifski + vlicense LICENSE +}