summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2022-02-13 19:17:30 +0100
committerSam James <sam@gentoo.org>2022-02-18 02:50:29 +0000
commita6aa54da54c7887d0e3561fcb2f59b69c48bc737 (patch)
treee606d7215fe68afc47ab19681377ca65b474ec2f /gui-apps/grim
parentnet-misc/netkit-telnetd: Sync with Debian (new patches) (diff)
downloadgentoo-a6aa54da54c7887d0e3561fcb2f59b69c48bc737.tar.gz
gentoo-a6aa54da54c7887d0e3561fcb2f59b69c48bc737.tar.bz2
gentoo-a6aa54da54c7887d0e3561fcb2f59b69c48bc737.zip
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>
Diffstat (limited to 'gui-apps/grim')
-rw-r--r--gui-apps/grim/Manifest1
-rw-r--r--gui-apps/grim/grim-1.4.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/gui-apps/grim/Manifest b/gui-apps/grim/Manifest
index b18494229482..8e07f6935b66 100644
--- a/gui-apps/grim/Manifest
+++ b/gui-apps/grim/Manifest
@@ -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
diff --git a/gui-apps/grim/grim-1.4.0.ebuild b/gui-apps/grim/grim-1.4.0.ebuild
new file mode 100644
index 000000000000..3b5657ccc9d2
--- /dev/null
+++ b/gui-apps/grim/grim-1.4.0.ebuild
@@ -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
+}