void-packages/srcpkgs/gifski/template
maxice8 97ecfcee91 gifski: update to 0.7.1.
Closes: #10379 [via git-merge-pr]
2018-01-04 08:04:10 +01:00

27 lines
953 B
Bash

# Template file for 'gifski'
pkgname=gifski
version=0.7.1
revision=1
hostmakedepends="cargo"
makedepends="libgomp-devel"
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"
checksum=c67bbecd7802c0b91e5177edcc39b3492e9fcbd1eee4392c044697bc0f78a409
# 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
}