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}"