parent
f0ef8e8792
commit
8bf921e052
2 changed files with 4 additions and 30 deletions
|
@ -1,25 +0,0 @@
|
|||
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
|
||||
|
|
@ -1,21 +1,20 @@
|
|||
# Template file for 'gxi'
|
||||
pkgname=gxi
|
||||
version=0.4.6
|
||||
version=0.5.0
|
||||
revision=1
|
||||
build_style=meson
|
||||
build_helper=rust
|
||||
hostmakedepends="cargo pkg-config rust gettext"
|
||||
hostmakedepends="cargo pkg-config rust gettext appstream-glib"
|
||||
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=3e5420a284d685490887d96aba2a2eab9d41a6baa1e6b800d077e2ecf246422f
|
||||
checksum=2d959f7127b58f96748e804f3539f112770ed6941e52bd03920e86342143ed5e
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) broken="error: Could not compile 'gio'." ;;
|
||||
*-musl) broken="error: Could not compile 'glib'." ;;
|
||||
*-musl) broken="Fails to run subcommand" ;;
|
||||
esac
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
|
Loading…
Reference in a new issue