Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/grim/
Date: Mon, 17 Aug 2020 16:31:21
Message-Id: 1597681866.e654fe081fe9c5c8d4412d93297cdd096b8edf21.bman@gentoo
1 commit: e654fe081fe9c5c8d4412d93297cdd096b8edf21
2 Author: Renee D'Netto <rdnetto <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 5 07:57:07 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 17 16:31:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e654fe08
7
8 gui-apps/grim: Bump to 1.3.1
9
10 Signed-off-by: Renee D'Netto <rdnetto <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/17007
12 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
13
14 gui-apps/grim/Manifest | 1 +
15 gui-apps/grim/grim-1.3.1.ebuild | 44 +++++++++++++++++++++++++++++++++++++++++
16 2 files changed, 45 insertions(+)
17
18 diff --git a/gui-apps/grim/Manifest b/gui-apps/grim/Manifest
19 index c76e1bd43a9..4ce0870757f 100644
20 --- a/gui-apps/grim/Manifest
21 +++ b/gui-apps/grim/Manifest
22 @@ -1,2 +1,3 @@
23 DIST grim-1.2.0.tar.gz 14445 BLAKE2B e833afe5e57768e269ece0d7f99653810424449840867a37f02db4645a0dedd7829241d24a39ca00e844505ab5d2408891aac325e7f6ddd2011884fee240b44b SHA512 d58e392f00b93e031fd46a9e0175aaa5c3ce4fafb2afa3cc97ff28a9f77fc5583774f6ddf86295262749c00dd7c4e98c6041588bfa6fd70319ddfce6b903414e
24 DIST grim-1.3.0.tar.gz 15103 BLAKE2B 3a0ad4370b2a074945b1412ded14b90155a0138337314a1834dc25217e2ce13b2ca5c925fd164c9363dff059def4caab036d01b5b68c21211af4ace11e558c02 SHA512 de56046375da1a0c4d787a39d97e18af964dbf40b0d18c6f99c68b4bf054cf6712ba653d69711d3bc6f50870a23649959d67c0b150ac5c637e8c9e74b0eba2e6
25 +DIST grim-1.3.1.tar.gz 15778 BLAKE2B 7dc1f2fbc9e0f81c41d8ca535346d185a0f6c7a0ee28f0168a29864a36d1077be961278c1be3e647aa09165d9f3800e1bc7979f9fca95f8b39c339d621cd984d SHA512 07d04681ec589bf3e48b14c3bfcdc2a6012dfe5c5c2d7ee0cba95bc128187ca0de19ec04140dbe00907778f3d68844e6a90dc35365dafa489d65048b590fdf1b
26
27 diff --git a/gui-apps/grim/grim-1.3.1.ebuild b/gui-apps/grim/grim-1.3.1.ebuild
28 new file mode 100644
29 index 00000000000..314e4d76d16
30 --- /dev/null
31 +++ b/gui-apps/grim/grim-1.3.1.ebuild
32 @@ -0,0 +1,44 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit meson
39 +
40 +DESCRIPTION="Grab images from a Wayland compositor."
41 +HOMEPAGE="https://github.com/emersion/grim"
42 +
43 +if [[ ${PV} == 9999 ]]; then
44 + inherit git-r3
45 + EGIT_REPO_URI="https://github.com/emersion/${PN}.git"
46 +else
47 + SRC_URI="https://github.com/emersion/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
48 + KEYWORDS="~amd64 ~arm64"
49 +fi
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +IUSE="+man jpeg"
54 +
55 +DEPEND="
56 + >=dev-libs/wayland-protocols-1.14
57 + dev-libs/wayland
58 + jpeg? ( virtual/jpeg )
59 + x11-libs/cairo"
60 +
61 +RDEPEND="${DEPEND}"
62 +
63 +if [[ ${PV} == 9999 ]]; then
64 + BDEPEND+="man? ( ~app-text/scdoc-9999 )"
65 +else
66 + BDEPEND+="man? ( app-text/scdoc )"
67 +fi
68 +
69 +src_configure() {
70 + local emesonargs=(
71 + $(meson_feature jpeg)
72 + $(meson_feature man man-pages)
73 + "-Dwerror=false"
74 + )
75 + meson_src_configure
76 +}