gifski: use cargo buildstyle
This commit is contained in:
parent
929b47511a
commit
c6a80671e3
1 changed files with 4 additions and 14 deletions
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'gifski'
|
||||
pkgname=gifski
|
||||
version=0.8.5
|
||||
revision=1
|
||||
hostmakedepends="cargo"
|
||||
revision=2
|
||||
build_style=cargo
|
||||
configure_args="--features=openmp"
|
||||
makedepends="libgomp-devel"
|
||||
short_desc="Highest-quality GIF encoder based on pngquant"
|
||||
maintainer="cr6git <quark6@protonmail.com>"
|
||||
|
@ -11,17 +12,6 @@ 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
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue