portage-overlay

personal portage ebuild repository
git clone anongit@rnpnr.xyz:portage-overlay.git
Log | Files | Refs | Feed | README

Commit: 7b00a198c07ad26933e1c3414b21f6eaab8056e4
Parent: 82177bc460c32dd783a80235c257cab4e10b58aa
Author: Randy Palamar
Date:   Fri, 14 Jul 2023 22:20:29 -0600

add x11-misc/sxot for taking screenshots

Diffstat:
Ax11-misc/sxot/Manifest | 1+
Ax11-misc/sxot/sxot-0.1.0.ebuild | 29+++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/x11-misc/sxot/Manifest b/x11-misc/sxot/Manifest @@ -0,0 +1 @@ +DIST sxot-0.1.0.tar.gz 18034 BLAKE2B 732214fd3c5428c9b76ac4fe1e91359dc8677bef8ab5210a326fdb4f1f680ae0cc422eceec23e7b385ad1be8c49158b4ecea67bcffccb4a4063d8e437c0e7346 SHA512 547ca0ebc56ff0646b63c76df4282fcff8129645026651935dcd47067664f37cd1bce9245939007f301ca9a36906c2e87589769d79a446e938f93ac540d02632 diff --git a/x11-misc/sxot/sxot-0.1.0.ebuild b/x11-misc/sxot/sxot-0.1.0.ebuild @@ -0,0 +1,29 @@ +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="simple X11 screenshot tool" +HOMEPAGE="https://codeberg.org/NRK/sxot" + +SRC_URI="https://codeberg.org/NRK/sxot/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +KEYWORDS="~amd64" +LICENSE="GPL-3+" +SLOT=0 +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXfixes +" +DEPEND="${RDEPEND}" + +src_compile() { + $(tc-getCC) -o sxot sxot.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xfixes +} + +src_install() { + dobin sxot + dobin etc/optipng-pipe +}