x11-misc/sxcs - 1.2.1 (gentoo)

Search

Install

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

Package Information

Description:
Color picker and magnifier for X11
Homepage:
https://codeberg.org/NRK/sxcs
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
1.2.1 8 ~amd64 0
View Raw Ebuild
# 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
}

Inherited Eclasses

edo

Dependencies

DEPEND

	x11-libs/libX11
	x11-libs/libXrender

RDEPEND

	x11-libs/libX11
	x11-libs/libXrender

Manifest for 1.2.1

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