void-packages/srcpkgs/gifski/template

28 lines
953 B
Bash
Raw Normal View History

2017-11-03 21:33:09 +00:00
# Template file for 'gifski'
pkgname=gifski
2017-11-20 13:52:23 +00:00
version=0.6.2
2017-11-03 21:33:09 +00:00
revision=1
hostmakedepends="cargo"
2017-11-17 07:06:01 +00:00
makedepends="libgomp-devel"
2017-11-03 21:33:09 +00:00
maintainer="cr6git <quark6@protonmail.com>"
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"
2017-11-20 13:52:23 +00:00
checksum=4f0379aa05a5e99fd6a9efb851efa7553e9663ec800ac7247fb7e26505a4b225
2017-11-03 21:33:09 +00:00
# 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() {
2017-11-17 07:06:01 +00:00
cargo build --release --features=openmp
2017-11-03 21:33:09 +00:00
}
do_install() {
vbin target/release/gifski
vlicense LICENSE
}