Gentoo Archives: gentoo-commits

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