From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6004915808F for ; Fri, 18 Feb 2022 03:07:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8B1E5E0822; Fri, 18 Feb 2022 03:07:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64BD4E0824 for ; Fri, 18 Feb 2022 03:07:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D030034321C for ; Fri, 18 Feb 2022 03:07:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FCE42E0 for ; Fri, 18 Feb 2022 03:06:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1645152629.a6aa54da54c7887d0e3561fcb2f59b69c48bc737.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/grim/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-apps/grim/Manifest gui-apps/grim/grim-1.4.0.ebuild X-VCS-Directories: gui-apps/grim/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a6aa54da54c7887d0e3561fcb2f59b69c48bc737 X-VCS-Branch: master Date: Fri, 18 Feb 2022 03:06:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 304aeaf2-347d-4020-b7d7-ec8a88c2acb4 X-Archives-Hash: 1f6524fcdc9d6e7dad48e315df8154fe commit: a6aa54da54c7887d0e3561fcb2f59b69c48bc737 Author: Arsen Arsenović aarsen me> AuthorDate: Sun Feb 13 18:17:30 2022 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 18 02:50:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6aa54da 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ć aarsen.me> Closes: https://github.com/gentoo/gentoo/pull/24182 Signed-off-by: Sam James gentoo.org> gui-apps/grim/Manifest | 1 + gui-apps/grim/grim-1.4.0.ebuild | 46 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) 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 +}