mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
1
x11-misc/selx/Manifest
Normal file
1
x11-misc/selx/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST selx-1.0.0.tar.gz 21423 BLAKE2B af7480e8ea5bfef8027c52acb6c0230888510abba31d117d650c8047c2f9fd680e5a2d2abec345048969957701e2bc14faf6e1396aac0e7f9e641ca6d4ae55e9 SHA512 4368f29731d81a3c91ac09093b6e721d850057900e21efea85ebbc29f851a7fd9b450d3ba7045e044ff0b6a87da1dc1d75f4e73b4dadbc7902192e0b4c753deb
|
||||
11
x11-misc/selx/metadata.xml
Normal file
11
x11-misc/selx/metadata.xml
Normal 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/selx</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
33
x11-misc/selx/selx-1.0.0.ebuild
Normal file
33
x11-misc/selx/selx-1.0.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user