From c6a80671e32d299fae8444ac67dea563da979133 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Tue, 2 Oct 2018 01:02:06 +0200 Subject: [PATCH] gifski: use cargo buildstyle --- srcpkgs/gifski/template | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/srcpkgs/gifski/template b/srcpkgs/gifski/template index 8e5653fe14..531bc07173 100644 --- a/srcpkgs/gifski/template +++ b/srcpkgs/gifski/template @@ -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 " @@ -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 }