gxi: update to 0.5.3.

This commit is contained in:
Rasmus Thomsen 2019-02-18 20:27:53 +01:00 committed by maxice8
parent 523e0a7a2f
commit 3d87f132e8
2 changed files with 14 additions and 6 deletions

View file

@ -0,0 +1,12 @@
Our rust doesn't like LTO due to us using LLVM 7
--- Cargo.toml
+++ Cargo.toml
@@ -40,7 +40,3 @@ gettext-rs = { version="0.4", features=["gettext-system"] }
crossbeam-deque = "0.7"
cairo-sys-rs = {git="https://github.com/gtk-rs/cairo"}
human-panic = "1"
-
-[profile.release]
-lto = true
-codegen-units = 1

View file

@ -1,6 +1,6 @@
# Template file for 'gxi'
pkgname=gxi
version=0.5.1
version=0.5.3
revision=1
build_style=meson
build_helper=rust
@ -12,11 +12,7 @@ maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="MIT"
homepage="https://github.com/Cogitri/gxi"
distfiles="https://github.com/Cogitri/gxi/releases/download/v${version}/gxi-${version}.tar.xz"
checksum=300a596afbdc9e743d439bcb91b7757615c5c82ccf7a53e02f36fdf7968dc24c
case "$XBPS_TARGET_MACHINE" in
*-musl) broken="Fails to run subcommand" ;;
esac
checksum=f54f60b415826244407fe4c5211e62cda2634ae34a959104f7202405d65926d7
if [ "$CROSS_BUILD" ]; then
configure_args+="-Drust-target=${RUST_TARGET}"