gui-apps/wl-clip-persist: add 9999

Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
This commit is contained in:
John M. Harris Jr.
2024-07-01 12:15:55 +00:00
parent f20ecb0d01
commit c4869007de
2 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>johnmh@johnmh.me</email>
<name>John M. Harris, Jr.</name>
</maintainer>
<longdescription lang="en">
Keep Wayland clipboard even after programs close
</longdescription>
<upstream>
<remote-id type="github">Linus789/wl-clip-persist</remote-id>
</upstream>
</pkgmetadata>

View File

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