diff options
author | NRK <nrk@disroot.org> | 2024-02-16 08:51:01 +0000 |
---|---|---|
committer | NRK <nrk@disroot.org> | 2024-02-16 08:51:01 +0000 |
commit | 8a1016723f89524bab873800767bb75e67ea71b1 (patch) | |
tree | fd4fa2c7b0443f053f108cf2689e490702807ff5 /x11-misc | |
parent | gui-apps/ReGreet: fix openrc dirs, sample file path and elog output (diff) | |
download | guru-8a1016723f89524bab873800767bb75e67ea71b1.tar.gz guru-8a1016723f89524bab873800767bb75e67ea71b1.tar.bz2 guru-8a1016723f89524bab873800767bb75e67ea71b1.zip |
x11-misc/selx: new package
Signed-off-by: NRK <nrk@disroot.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/selx/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/selx/metadata.xml | 11 | ||||
-rw-r--r-- | x11-misc/selx/selx-1.0.0.ebuild | 33 |
3 files changed, 45 insertions, 0 deletions
diff --git a/x11-misc/selx/Manifest b/x11-misc/selx/Manifest new file mode 100644 index 000000000..1721537ad --- /dev/null +++ b/x11-misc/selx/Manifest @@ -0,0 +1 @@ +DIST selx-1.0.0.tar.gz 21423 BLAKE2B af7480e8ea5bfef8027c52acb6c0230888510abba31d117d650c8047c2f9fd680e5a2d2abec345048969957701e2bc14faf6e1396aac0e7f9e641ca6d4ae55e9 SHA512 4368f29731d81a3c91ac09093b6e721d850057900e21efea85ebbc29f851a7fd9b450d3ba7045e044ff0b6a87da1dc1d75f4e73b4dadbc7902192e0b4c753deb diff --git a/x11-misc/selx/metadata.xml b/x11-misc/selx/metadata.xml new file mode 100644 index 000000000..fc3e50bea --- /dev/null +++ b/x11-misc/selx/metadata.xml @@ -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/selx</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-misc/selx/selx-1.0.0.ebuild b/x11-misc/selx/selx-1.0.0.ebuild new file mode 100644 index 000000000..062d43518 --- /dev/null +++ b/x11-misc/selx/selx-1.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Minimal X11 rectangle selection tool" +HOMEPAGE="https://codeberg.org/NRK/selx" + +SRC_URI="https://codeberg.org/NRK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +KEYWORDS="~amd64" +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext +" +# NOTE: next version also depends on: +# x11-libs/libXrandr +DEPEND="${RDEPEND}" + +src_compile() { + $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext || die "Compilation failed" +} + +src_install() { + dobin selx + doman selx.1 +} |