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 +}