public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Bauman" <bman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-apps/grim/
Date: Fri,  9 Aug 2019 00:15:44 +0000 (UTC)	[thread overview]
Message-ID: <1565309552.264467e31b7139e731ccbf277812b7652e96f6c6.bman@gentoo> (raw)

commit:     264467e31b7139e731ccbf277812b7652e96f6c6
Author:     Bernardo Meurer <meurerbernardo <AT> gmail <DOT> com>
AuthorDate: Sun Aug  4 03:33:09 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Aug  9 00:12:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=264467e3

gui-apps/grim: New package (1.2.0, 9999)

Closes: https://bugs.gentoo.org/684712
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/12613
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 gui-apps/grim/Manifest          |  1 +
 gui-apps/grim/grim-1.2.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++
 gui-apps/grim/grim-9999.ebuild  | 45 +++++++++++++++++++++++++++++++++++++++++
 gui-apps/grim/metadata.xml      | 24 ++++++++++++++++++++++
 4 files changed, 115 insertions(+)

diff --git a/gui-apps/grim/Manifest b/gui-apps/grim/Manifest
new file mode 100644
index 00000000000..3b6273b83c4
--- /dev/null
+++ b/gui-apps/grim/Manifest
@@ -0,0 +1 @@
+DIST grim-1.2.0.tar.gz 14445 BLAKE2B e833afe5e57768e269ece0d7f99653810424449840867a37f02db4645a0dedd7829241d24a39ca00e844505ab5d2408891aac325e7f6ddd2011884fee240b44b SHA512 d58e392f00b93e031fd46a9e0175aaa5c3ce4fafb2afa3cc97ff28a9f77fc5583774f6ddf86295262749c00dd7c4e98c6041588bfa6fd70319ddfce6b903414e

diff --git a/gui-apps/grim/grim-1.2.0.ebuild b/gui-apps/grim/grim-1.2.0.ebuild
new file mode 100644
index 00000000000..c8c932c13aa
--- /dev/null
+++ b/gui-apps/grim/grim-1.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 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"
+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
+}

diff --git a/gui-apps/grim/grim-9999.ebuild b/gui-apps/grim/grim-9999.ebuild
new file mode 100644
index 00000000000..c8c932c13aa
--- /dev/null
+++ b/gui-apps/grim/grim-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 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"
+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
+}

diff --git a/gui-apps/grim/metadata.xml b/gui-apps/grim/metadata.xml
new file mode 100644
index 00000000000..24e0317c3df
--- /dev/null
+++ b/gui-apps/grim/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+    <maintainer type="person">
+        <email>bernardo@standard.ai</email>
+        <name>Bernardo Meurer</name>
+    </maintainer>
+    <maintainer type="person">
+        <email>bman@gentoo.org</email>
+        <name>Aaron Bauman</name>
+    </maintainer>
+    <longdescription lang="en">
+        Grab images from a Wayland compositor.
+    </longdescription>
+    <use>
+        <flag name="jpeg">Enable JPEG support.</flag>
+        <flag name="man">Generate and install man pages.</flag>
+    </use>
+    <upstream>
+        <remote-id type="github">emersion/grim</remote-id>
+        <bugs-to>https://github.com/emersion/grim/issues</bugs-to>
+        <changelog>https://github.com/emersion/grim/releases</changelog>
+    </upstream>
+</pkgmetadata>


             reply	other threads:[~2019-08-09  0:15 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-09  0:15 Aaron Bauman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-08-09  0:21 [gentoo-commits] repo/gentoo:master commit in: gui-apps/grim/ Aaron Bauman
2019-08-12  0:52 Aaron Bauman
2020-07-16 14:50 Matthew Thode
2020-08-17 16:31 Aaron Bauman
2020-08-17 16:32 Aaron Bauman
2020-09-04 18:03 Sam James
2022-02-18  3:06 Sam James
2022-02-23  4:05 Sam James
2022-02-23 13:31 Sam James
2022-04-16 16:13 Matthew Thode
2022-05-17  5:59 Sam James
2022-08-14 19:24 Arthur Zamarin
2022-08-14 19:24 Arthur Zamarin
2022-08-16 17:34 Arthur Zamarin
2022-08-16 18:16 Arthur Zamarin
2022-08-16 18:51 Arthur Zamarin
2022-10-17 18:42 Arthur Zamarin
2023-01-25 20:46 Matthew Thode
2023-02-25  5:43 Arthur Zamarin
2023-02-25 18:13 Arthur Zamarin
2023-02-27 12:45 WANG Xuerui
2023-02-27 12:45 WANG Xuerui
2023-03-11  5:33 Arthur Zamarin
2023-03-11 17:04 Sam James
2023-03-17 15:27 Arthur Zamarin
2023-03-17 15:27 Arthur Zamarin
2023-03-17 15:27 Arthur Zamarin
2023-03-17 15:28 Arthur Zamarin
2023-07-03 18:42 Arthur Zamarin
2023-07-03 18:58 Arthur Zamarin
2023-08-23 20:05 Arthur Zamarin
2023-08-23 20:05 Arthur Zamarin
2023-08-23 20:05 Arthur Zamarin
2023-08-25  5:49 Arthur Zamarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1565309552.264467e31b7139e731ccbf277812b7652e96f6c6.bman@gentoo \
    --to=bman@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox