From c4869007de0748f3fe8a2ee0b54033da2a2a4418 Mon Sep 17 00:00:00 2001 From: "John M. Harris Jr." Date: Mon, 1 Jul 2024 12:15:55 +0000 Subject: [PATCH] gui-apps/wl-clip-persist: add 9999 Signed-off-by: John M. Harris Jr. --- gui-apps/wl-clip-persist/metadata.xml | 14 ++++++ .../wl-clip-persist-9999.ebuild | 43 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 gui-apps/wl-clip-persist/metadata.xml create mode 100644 gui-apps/wl-clip-persist/wl-clip-persist-9999.ebuild diff --git a/gui-apps/wl-clip-persist/metadata.xml b/gui-apps/wl-clip-persist/metadata.xml new file mode 100644 index 0000000000..011e7ca083 --- /dev/null +++ b/gui-apps/wl-clip-persist/metadata.xml @@ -0,0 +1,14 @@ + + + + + johnmh@johnmh.me + John M. Harris, Jr. + + + Keep Wayland clipboard even after programs close + + + Linus789/wl-clip-persist + + diff --git a/gui-apps/wl-clip-persist/wl-clip-persist-9999.ebuild b/gui-apps/wl-clip-persist/wl-clip-persist-9999.ebuild new file mode 100644 index 0000000000..416764a237 --- /dev/null +++ b/gui-apps/wl-clip-persist/wl-clip-persist-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 2024 John M. Harris, Jr. +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo git-r3 + +DESCRIPTION="Keep Wayland clipboard even after programs close" +HOMEPAGE="https://github.com/Linus789/wl-clip-persist" + +EGIT_REPO_URI="https://github.com/Linus789/wl-clip-persist.git" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" Unicode-DFS-2016" +SLOT="0" + +DEPEND=" + dev-libs/wayland-protocols + dev-libs/wayland +" +RDEPEND="${DEPEND}" + +src_unpack() { + git-r3_src_unpack + cargo_live_src_unpack +} + +src_configure() { + cargo_gen_config + cargo_src_configure +} + +src_compile() { + cargo_src_compile +} + +src_install() { + cargo_src_install +} + +# Rust package +QA_FLAGS_IGNORED="usr/bin/${PN}"