From d185888c593316ee6233e97f55ccca1e97b39f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Tue, 2 Jun 2020 22:40:18 +0200 Subject: [PATCH] New package: rumatui-0.1.18 --- .../patches/link-olm-dynamically.patch | 23 +++++++++++++++++++ srcpkgs/rumatui/template | 23 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 srcpkgs/rumatui/patches/link-olm-dynamically.patch create mode 100644 srcpkgs/rumatui/template diff --git a/srcpkgs/rumatui/patches/link-olm-dynamically.patch b/srcpkgs/rumatui/patches/link-olm-dynamically.patch new file mode 100644 index 00000000000..c5e67c6d4a1 --- /dev/null +++ b/srcpkgs/rumatui/patches/link-olm-dynamically.patch @@ -0,0 +1,23 @@ +diff --git a/Cargo.lock b/Cargo.lock +--- Cargo.lock ++++ Cargo.lock +@@ -1442,8 +1442,7 @@ dependencies = [ + [[package]] + name = "olm-sys" + version = "0.1.5" +-source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "7d77deffdae89bf5b2ff17a9c54fab4b3b92c5440e9e4645e8bb08d7c6ace8fc" ++source = "git+https://gitlab.gnome.org/jcgruenhage/olm-sys.git?branch=support-dynamic-linking#699d399efd1400c38dfe03deb062825bb097e6df" + + [[package]] + name = "once_cell" +diff --git a/Cargo.toml b/Cargo.toml +--- Cargo.toml ++++ Cargo.toml +@@ -63,3 +63,6 @@ features = ["parsing", "assets", "dump-load"] + + [workspace] + members = ["rumatui-tui"] ++ ++[patch.crates-io] ++olm-sys = { git = "https://gitlab.gnome.org/jcgruenhage/olm-sys.git", branch = "support-dynamic-linking" } diff --git a/srcpkgs/rumatui/template b/srcpkgs/rumatui/template new file mode 100644 index 00000000000..0fc77cd9a74 --- /dev/null +++ b/srcpkgs/rumatui/template @@ -0,0 +1,23 @@ +# Template file for 'rumatui' +pkgname=rumatui +version=0.1.18 +revision=1 +build_style=cargo +hostmakedepends="pkg-config" +makedepends="libressl-devel olm-devel" +short_desc="Terminal matrix client" +maintainer="Jan Christian Grünhage " +license="MIT, Apache-2.0" +homepage="https://github.com/DevinR528/rumatui" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=988634a6ff28c734f23caa7d6173fbd42cad086571777b7c7809f7e14c2dede5 +nocross="https://github.com/void-linux/void-packages/pull/22534#issuecomment-649333178" + +pre_build() { + export OLM_LINK_VARIANT=dylib +} + +post_install() { + vlicense LICENSE-APACHE.txt + vlicense LICENSE-MIT.txt +}