diff options
author | Bernardo Meurer <meurerbernardo@gmail.com> | 2019-08-03 20:39:40 -0700 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-08-08 20:19:18 -0400 |
commit | 18a65ca991f7dbce9a30a744df203e3e8d200124 (patch) | |
tree | 78ba98ff0f322e64cd1ddc50e43dbd8514c1a7dc /gui-apps/slurp/slurp-1.2.0.ebuild | |
parent | gui-apps/grim: New package (1.2.0, 9999) (diff) | |
download | gentoo-18a65ca991f7dbce9a30a744df203e3e8d200124.tar.gz gentoo-18a65ca991f7dbce9a30a744df203e3e8d200124.tar.bz2 gentoo-18a65ca991f7dbce9a30a744df203e3e8d200124.zip |
gui-apps/slurp: New package (1.2.0, 9999)
Closes: https://bugs.gentoo.org/684710
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Bernardo Meurer <bernardo@standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/12614
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'gui-apps/slurp/slurp-1.2.0.ebuild')
-rw-r--r-- | gui-apps/slurp/slurp-1.2.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gui-apps/slurp/slurp-1.2.0.ebuild b/gui-apps/slurp/slurp-1.2.0.ebuild new file mode 100644 index 000000000000..0374876964f1 --- /dev/null +++ b/gui-apps/slurp/slurp-1.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="Select a region in a Wayland compositor and print it to the standard output." +HOMEPAGE="https://github.com/emersion/slurp" + +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" + +DEPEND=" + >=dev-libs/wayland-protocols-1.14 + dev-libs/wayland + 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 man man-pages) + "-Dwerror=false" + ) + meson_src_configure +} |