28 lines
972 B
Bash
28 lines
972 B
Bash
# Template file for 'gifski'
|
|
pkgname=gifski
|
|
version=0.8.5
|
|
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=0c4f946e873e26777423e1bab37392220aec9382ae818866d2e3a52b3c976cf1
|
|
|
|
# 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 ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/gifski
|
|
vlicense LICENSE
|
|
}
|