x11-misc/xuv: new package

Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK
2026-04-21 19:03:48 +00:00
parent 8bf827f381
commit e24423a1de
3 changed files with 41 additions and 0 deletions

1
x11-misc/xuv/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST xuv-0.2.0.tar.gz 32230 BLAKE2B 47e5bcf652a532a50a01fa4c9d1575930c49f5b04d978f787960ce6d42b4ddeda5cd2d7c14354c4ae9c79dba33600c6d419646ef5d759ffa922898cc625f3893 SHA512 437e818a8a73bffa71ee8873045415d229b0235f61ccb2812a80058499f9328e8a27c2bb4d61039362cf5552734ebe71dbf563174c43da1f29239daf479f9fc4

11
x11-misc/xuv/metadata.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>nrk@disroot.org</email>
<name>NRK</name>
</maintainer>
<upstream>
<remote-id type="codeberg">NRK/xuv</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs edo shell-completion
DESCRIPTION="X11 daemon to auto run commands triggered by user specified events"
HOMEPAGE="https://codeberg.org/NRK/xuv"
SRC_URI="https://codeberg.org/NRK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}"
src_compile() {
edo $(tc-getCC) -o xuv xuv.c ${CFLAGS} ${LDFLAGS} -l X11
}
src_install() {
dobin xuv
doman etc/xuv.1
doman etc/xuv.conf.5
}