mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
Update done using: ``` git grep -l sys-libs/zlib media-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Signed-off-by: Michał Górny <mgorny@gentoo.org>
34 lines
683 B
Bash
34 lines
683 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Framebuffer screenshot utility"
|
|
HOMEPAGE="https://github.com/GunnarMonell/fbgrab"
|
|
SRC_URI="https://github.com/GunnarMonell/fbgrab/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ~ppc64 ~s390 ~sparc x86"
|
|
|
|
RDEPEND="media-libs/libpng:=
|
|
virtual/zlib"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="app-arch/gzip"
|
|
|
|
src_prepare() {
|
|
default
|
|
sed -i -e "s:-g::" Makefile || die "sed failed"
|
|
}
|
|
|
|
src_compile() {
|
|
emake CC="$(tc-getCC)"
|
|
}
|
|
|
|
src_install() {
|
|
dobin ${PN}
|
|
newman ${PN}.1.man ${PN}.1
|
|
}
|