mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
gui-apps/grim: bump to 1.4.0
also enable completion scripts Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Arsen Arsenović <arsen@aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/24182 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
8de3857d39
commit
a6aa54da54
@@ -1 +1,2 @@
|
||||
DIST grim-1.3.1.tar.gz 15778 BLAKE2B 7dc1f2fbc9e0f81c41d8ca535346d185a0f6c7a0ee28f0168a29864a36d1077be961278c1be3e647aa09165d9f3800e1bc7979f9fca95f8b39c339d621cd984d SHA512 07d04681ec589bf3e48b14c3bfcdc2a6012dfe5c5c2d7ee0cba95bc128187ca0de19ec04140dbe00907778f3d68844e6a90dc35365dafa489d65048b590fdf1b
|
||||
DIST grim-1.4.0.tar.gz 18287 BLAKE2B 72606de01624c98876fe1018877a3cf0b25b44ac4bd6a053f82c40ad1ea2c6c0e510cbb6a0bce988f14607ea162dda1d8350b9f30b0f2b9acd8f8e20ba50bc99 SHA512 d0b33528a00528b3ef7488a0984cde5034de4f5a211eb5c8d3299aea356d9348c5d02d08171802bc0315afb19d2446f5f132ea9dca0579ace803b7d5d90a89cc
|
||||
|
||||
46
gui-apps/grim/grim-1.4.0.ebuild
Normal file
46
gui-apps/grim/grim-1.4.0.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="Grab images from a Wayland compositor"
|
||||
HOMEPAGE="https://github.com/emersion/grim"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/emersion/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="+man jpeg"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/wayland-protocols-1.14
|
||||
dev-libs/wayland
|
||||
jpeg? ( virtual/jpeg )
|
||||
x11-libs/cairo"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
BDEPEND+="man? ( ~app-text/scdoc-9999 )"
|
||||
else
|
||||
BDEPEND+="man? ( app-text/scdoc )"
|
||||
fi
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature jpeg)
|
||||
$(meson_feature man man-pages)
|
||||
"-Dwerror=false"
|
||||
"-Dfish-completions=true"
|
||||
"-Dbash-completions=true"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user