Skip to content

Commit

Permalink
gui-apps/grim: Bump to 1.3.1
Browse files Browse the repository at this point in the history
Signed-off-by: Renee D'Netto <rdnetto@gmail.com>
Closes: gentoo#17007
Signed-off-by: Aaron Bauman <bman@gentoo.org>
  • Loading branch information
rdnetto authored and NeddySeagoon committed Aug 18, 2020
1 parent eb31981 commit 061059f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions gui-apps/grim/Manifest
@@ -1,2 +1,3 @@
DIST grim-1.2.0.tar.gz 14445 BLAKE2B e833afe5e57768e269ece0d7f99653810424449840867a37f02db4645a0dedd7829241d24a39ca00e844505ab5d2408891aac325e7f6ddd2011884fee240b44b SHA512 d58e392f00b93e031fd46a9e0175aaa5c3ce4fafb2afa3cc97ff28a9f77fc5583774f6ddf86295262749c00dd7c4e98c6041588bfa6fd70319ddfce6b903414e
DIST grim-1.3.0.tar.gz 15103 BLAKE2B 3a0ad4370b2a074945b1412ded14b90155a0138337314a1834dc25217e2ce13b2ca5c925fd164c9363dff059def4caab036d01b5b68c21211af4ace11e558c02 SHA512 de56046375da1a0c4d787a39d97e18af964dbf40b0d18c6f99c68b4bf054cf6712ba653d69711d3bc6f50870a23649959d67c0b150ac5c637e8c9e74b0eba2e6
DIST grim-1.3.1.tar.gz 15778 BLAKE2B 7dc1f2fbc9e0f81c41d8ca535346d185a0f6c7a0ee28f0168a29864a36d1077be961278c1be3e647aa09165d9f3800e1bc7979f9fca95f8b39c339d621cd984d SHA512 07d04681ec589bf3e48b14c3bfcdc2a6012dfe5c5c2d7ee0cba95bc128187ca0de19ec04140dbe00907778f3d68844e6a90dc35365dafa489d65048b590fdf1b
44 changes: 44 additions & 0 deletions gui-apps/grim/grim-1.3.1.ebuild
@@ -0,0 +1,44 @@
# Copyright 1999-2020 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"
)
meson_src_configure
}

0 comments on commit 061059f

Please sign in to comment.