diff options
author | NRK <nrk@disroot.org> | 2024-02-16 06:12:32 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-02-21 23:33:04 +0000 |
commit | b16ca1f23abca36e9134ab4d9f513c78203e8b7d (patch) | |
tree | 73866b8a37ea498547064ddc822e9a9750820344 /x11-misc/sxcs | |
parent | media-video/ffmpeg: Fix tests with USE=soc and check patch with verify-sig (diff) | |
download | gentoo-b16ca1f23abca36e9134ab4d9f513c78203e8b7d.tar.gz gentoo-b16ca1f23abca36e9134ab4d9f513c78203e8b7d.tar.bz2 gentoo-b16ca1f23abca36e9134ab4d9f513c78203e8b7d.zip |
x11-misc/sxcs: add v1.0.0
Closes: https://github.com/gentoo/gentoo/pull/35370
Signed-off-by: NRK <nrk@disroot.org>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'x11-misc/sxcs')
-rw-r--r-- | x11-misc/sxcs/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/sxcs/sxcs-1.0.0.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/x11-misc/sxcs/Manifest b/x11-misc/sxcs/Manifest index 6d12abc7b27b..3fd636a3a269 100644 --- a/x11-misc/sxcs/Manifest +++ b/x11-misc/sxcs/Manifest @@ -1 +1,2 @@ DIST sxcs-0.7.3.tar.gz 22204 BLAKE2B 04bb29188c89622dd2bc348dbc334963a807691ce6fda2f6a6eafedc860be5855d614aeab801dd6cba916dae67a5af92d37317420a04345f1aa8d9203cc44510 SHA512 dbd11ecae74e7a50a346efd0d919952cdd138ebcf75a369888c9f889fcc2752923152b07bcec5f7d4f259672e3af11762d88d9a0b7fe37342f9f5880ecd724ec +DIST sxcs-1.0.0.tar.gz 22787 BLAKE2B 3b36d13ed631c6b7686314f3be7ca4621c88fdf867b0dad02beff815d008fe23e75771f4bdb92a806a93e000d037cae8c12a2315cba74c154e6b94524b3038ae SHA512 dbcd20d894ac2d63f3c93dcee9881a068d40f33cbce5527de746dca2dc34fe264eb91d0849cff81a2730b78645ed421ccf763b544922fbd626361b8056f24d3a diff --git a/x11-misc/sxcs/sxcs-1.0.0.ebuild b/x11-misc/sxcs/sxcs-1.0.0.ebuild new file mode 100644 index 000000000000..0ffac067fd37 --- /dev/null +++ b/x11-misc/sxcs/sxcs-1.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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}" + +KEYWORDS="~amd64" +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXcursor +" +DEPEND="${RDEPEND}" + +src_compile() { + $(tc-getCC) -o sxcs sxcs.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xcursor || die "Compilation failed" +} + +src_install() { + dobin sxcs + doman sxcs.1 + dodoc README.md +} |