gxi: update to 0.4.6.

This commit is contained in:
Rasmus Thomsen 2019-01-31 15:44:04 +01:00 committed by maxice8
parent c31d7406d8
commit 8339a578fc
2 changed files with 34 additions and 5 deletions

View file

@ -0,0 +1,25 @@
From e14a88e5a254c6cd55fe3b83dd1fe6aba6abdfb7 Mon Sep 17 00:00:00 2001
From: Rasmus Thomsen <rasmus.thomsen@protonmail.com>
Date: Thu, 31 Jan 2019 14:36:01 +0100
Subject: [PATCH] feat(gettext): build against system gettext
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 96e9d18..df2e068 100644
--- Cargo.toml
+++ Cargo.toml
@@ -35,7 +35,7 @@ xi-rpc = { version="0.2.0", path="vendor/xi-editor/rust/rpc" }
dirs = "1"
toml = "0.4"
tempfile = "3"
-gettext-rs = "0.4"
+gettext-rs = { version="0.4", features=["gettext-system"] }
crossbeam-deque = "0.7"
[profile.release]
--
2.20.1

View file

@ -1,17 +1,21 @@
# Template file for 'gxi'
pkgname=gxi
version=0.4.5
version=0.4.6
revision=1
build_style=meson
hostmakedepends="cargo pkg-config rust"
makedepends="gtk+3-devel rust-std"
build_helper=rust
hostmakedepends="cargo pkg-config rust gettext"
makedepends="gtk+3-devel rust-std gettext-devel"
short_desc="GTK frontend for the xi text editor, written in Rust"
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=fea30514fc9666d09c5985b505f8d59376d9f7bd571e033424206e1abc41f728
nocross="Meson x Cargo"
checksum=3e5420a284d685490887d96aba2a2eab9d41a6baa1e6b800d077e2ecf246422f
if [ "$CROSS_BUILD" ]; then
configure_args+="-Drust-target=${RUST_TARGET}"
fi
post_install() {
vlicense LICENSE