mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
1
media-gfx/sxot/Manifest
Normal file
1
media-gfx/sxot/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST sxot-1.0.0.tar.gz 22641 BLAKE2B f08b29d3c7d8af1b8c3062416b7abd01012083054c5af7d01cd46efeaf0ed9bd979137a185001a67ac44bfc12da0b1f9027433af9b3afaeed84c32754187c734 SHA512 f5516730d9cbdae7de9bff15ef9bc80d78223838748c3421c141332d45dee4787bd82f9c9bc70ccbf6e8da6568d803b5a74efff0e277dbd421c541b13adda898
|
||||
11
media-gfx/sxot/metadata.xml
Normal file
11
media-gfx/sxot/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>nrk@disroot.org</email>
|
||||
<name>NRK</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="codeberg">NRK/sxot</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
37
media-gfx/sxot/sxot-1.0.0.ebuild
Normal file
37
media-gfx/sxot/sxot-1.0.0.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs edo shell-completion optfeature
|
||||
|
||||
DESCRIPTION="Minimal X11 screenshot tool"
|
||||
HOMEPAGE="https://codeberg.org/NRK/sxot"
|
||||
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/libXfixes
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
edo $(tc-getCC) -o sxot sxot.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xfixes
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin sxot
|
||||
doman sxot.1
|
||||
dozshcomp etc/zsh-completion/_sxot
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "screenshotting off-screen window without a compositor" \
|
||||
x11-libs/libXcomposite
|
||||
}
|
||||
Reference in New Issue
Block a user