Install this version:
emerge -a =x11-misc/sxcs-1.2.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =x11-misc/sxcs-1.2.1
Or alternatively:
emerge --autounmask-write -a =x11-misc/sxcs-1.2.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.2.1 | 8 | ~amd64 | 0 |
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo shell-completion toolchain-funcs
DESCRIPTION="Color picker and magnifier for X11"
HOMEPAGE="https://codeberg.org/NRK/sxcs"
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/libXrender
"
DEPEND="${RDEPEND}"
src_compile() {
edo $(tc-getCC) -o sxcs sxcs.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xrender
}
src_install() {
dobin sxcs
doman sxcs.1
dodoc README.md
dozshcomp etc/zsh-completion/_sxcs
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | sxcs-1.2.1.tar.gz | 24690 bytes | https://codeberg.org/NRK/sxcs/archive/v1.2.1.tar.gz |