void-packages/srcpkgs/gifski/template
2018-07-26 04:13:03 +02:00

27 lines
960 B
Bash

# Template file for 'gifski'
pkgname=gifski
version=0.8.4
revision=1
hostmakedepends="cargo"
makedepends="libgomp-devel"
short_desc="Highest-quality GIF encoder based on pngquant"
maintainer="cr6git <quark6@protonmail.com>"
license="AGPL-3.0-only"
homepage="https://gif.ski"
distfiles="https://github.com/ImageOptim/gifski/archive/${version}.tar.gz"
checksum=e78da4306f01bf4070d7904066f5253058866a9888ca59fc3a08a2a547607b5c
# 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 --features=openmp
}
do_install() {
vbin target/release/gifski
vlicense LICENSE
}