From f0003652946b45396bb89a586c1fb8f508500307 Mon Sep 17 00:00:00 2001 From: Levans Date: Sat, 2 Mar 2019 12:58:37 +0100 Subject: [PATCH] introduce gui-apps/grim & gui-apps/slurp --- gui-apps/grim/Manifest | 2 ++ gui-apps/grim/grim-1.1.ebuild | 42 +++++++++++++++++++++++++++++++ gui-apps/slurp/Manifest | 2 ++ gui-apps/slurp/slurp-1.1.0.ebuild | 41 ++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+) create mode 100644 gui-apps/grim/Manifest create mode 100644 gui-apps/grim/grim-1.1.ebuild create mode 100644 gui-apps/slurp/Manifest create mode 100644 gui-apps/slurp/slurp-1.1.0.ebuild diff --git a/gui-apps/grim/Manifest b/gui-apps/grim/Manifest new file mode 100644 index 0000000..825c8a5 --- /dev/null +++ b/gui-apps/grim/Manifest @@ -0,0 +1,2 @@ +DIST grim-1.1.tar.gz 13863 BLAKE2B f7a2987044767694e0beb6bbdee37af4ebb7a6f25555b670f10e9b239beddc2bf13d533e7c0a2e78908ede625ec1f869c31e2d6cdd62b235a3beecaec368f288 SHA512 43a0a6d4b4a25f963f3222d9f25dbf1e3b62b2ee72da1b689bed0e0d5231e28ff784594d87aec16ed5de77f99394f5f7d2c4254203dd3801fdaf7f6e0d492fbc +EBUILD grim-1.1.ebuild 774 BLAKE2B 9032242fe9d532a0e106d9de0c9df0c96acc299eb923ed208237f904f06704567e6191d9684129d8fdd984f86496787e5ac556d1240941af33c5a2ff42afd4df SHA512 f99bad5cae0a18ba8f1cb2c424ca79a612df11622a5f95c1c9260927902ed1e83f06a2da0d225fb96b036b6496ad32f11d5b61c42c4dbb38485fc596d7064690 diff --git a/gui-apps/grim/grim-1.1.ebuild b/gui-apps/grim/grim-1.1.ebuild new file mode 100644 index 0000000..8f2b72c --- /dev/null +++ b/gui-apps/grim/grim-1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://github.com/emersion/grim.git" +EGIT_BRANCH="master" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +inherit eutils meson $GIT_ECLASS + +DESCRIPTION="Grab images from a Wayland compositor" +HOMEPAGE="https://github.com/emersion/grim" + +if [[ $PV = 9999* ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/emersion/grim/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="jpeg" + +RDEPEND="dev-libs/wayland + >=dev-libs/wayland-protocols-1.14 + x11-libs/cairo + jpeg? ( virtual/jpeg ) +" + +DEPEND="${RDEPEND} + >=dev-util/meson-0.47 + dev-util/ninja +" + +src_configure() { + meson_src_configure +} diff --git a/gui-apps/slurp/Manifest b/gui-apps/slurp/Manifest new file mode 100644 index 0000000..b152422 --- /dev/null +++ b/gui-apps/slurp/Manifest @@ -0,0 +1,2 @@ +DIST slurp-1.1.0.tar.gz 14484 BLAKE2B 39227e2b3956ca4e3f9cb78f0ab658bf064ff84e0cadf6b215c2faa737c46e33270072e5c336703121a5a9b50a7ed0a1a14bd3c8e57694b2fb3f5b61a26e58ce SHA512 ef0120133095d6bb2c5f6df297eaac19890da1d65ead0dd84ee6f15be295eb956dc8357d62e66fd4c2082d1cccfe936bf401fba847b27fc9193903b39236c84f +EBUILD slurp-1.1.0.ebuild 727 BLAKE2B e05738909052b464b3edea399dff71e2bbbaec5facaaa2b166bb8f3091c5fc903582585d39ce765245d5925cfe79fcdae6a714ae720006057d94d58e9e3c2f95 SHA512 99a0fb8e519fe4bee54bb0d36143b70daec52272103ad266cf56388e656a01481d87114ded93a9ec822518e67a8d52676194740fb0cc65707b511a9cfed045eb diff --git a/gui-apps/slurp/slurp-1.1.0.ebuild b/gui-apps/slurp/slurp-1.1.0.ebuild new file mode 100644 index 0000000..beba71d --- /dev/null +++ b/gui-apps/slurp/slurp-1.1.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="https://github.com/emersion/slurp.git" +EGIT_BRANCH="master" + +if [[ ${PV} = 9999* ]]; then + GIT_ECLASS="git-r3" +fi + +inherit eutils meson $GIT_ECLASS + +DESCRIPTION="Grab images from a Wayland compositor" +HOMEPAGE="https://github.com/emersion/slurp" + +if [[ $PV = 9999* ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/emersion/slurp/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +RDEPEND="dev-libs/wayland + x11-libs/cairo +" + +DEPEND="${RDEPEND} + >=dev-util/meson-0.47 + dev-util/ninja + app-text/scdoc +" + +src_configure() { + meson_src_configure +}