x11-misc/selx - 2.0.1 (guru)

Search

Install

Install this version:

emerge -a =x11-misc/selx-2.0.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-misc/selx-2.0.1

Or alternatively:

emerge --autounmask-write -a =x11-misc/selx-2.0.1

Package Information

Description:
Minimal X11 rectangle selection tool
Homepage:
https://codeberg.org/NRK/selx
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
2.0.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs edo shell-completion

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

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	x11-libs/libX11
	x11-libs/libXrandr
"
DEPEND="${RDEPEND}"

src_compile() {
	edo $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xrandr
}

src_install() {
	dobin selx
	doman selx.1
	dozshcomp etc/zsh-completion/_selx
}

Inherited Eclasses

edo

Dependencies

DEPEND

	x11-libs/libX11
	x11-libs/libXrandr

RDEPEND

	x11-libs/libX11
	x11-libs/libXrandr

Manifest for 2.0.1

Type File Size Source URLs
DIST selx-2.0.1.tar.gz 23882 bytes https://codeberg.org/NRK/selx/archive/v2.0.1.tar.gz