Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/maim/
Date: Mon, 01 Jan 2018 12:43:10
Message-Id: 1514810561.b02dedbf2c669105c7d72ace5fbe4473e434c858.soap@gentoo
1 commit: b02dedbf2c669105c7d72ace5fbe4473e434c858
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 12:42:41 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 1 12:42:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b02dedbf
7
8 media-gfx/maim: Add live ebuild
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 media-gfx/maim/maim-9999.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
13 1 file changed, 41 insertions(+)
14
15 diff --git a/media-gfx/maim/maim-9999.ebuild b/media-gfx/maim/maim-9999.ebuild
16 new file mode 100644
17 index 00000000000..254e10aa237
18 --- /dev/null
19 +++ b/media-gfx/maim/maim-9999.ebuild
20 @@ -0,0 +1,41 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit cmake-utils
27 +
28 +DESCRIPTION="Commandline tool to take screenshots of the desktop"
29 +HOMEPAGE="https://github.com/naelstrof/maim"
30 +
31 +if [[ ${PV} == *9999 ]]; then
32 + inherit git-r3
33 + EGIT_REPO_URI="https://github.com/naelstrof/maim.git"
34 +else
35 + SRC_URI="https://github.com/naelstrof/maim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
36 + KEYWORDS="~amd64 ~x86"
37 +fi
38 +
39 +LICENSE="GPL-3"
40 +SLOT="0"
41 +IUSE="unicode"
42 +
43 +RDEPEND="
44 + media-libs/libpng:0=
45 + virtual/jpeg:0
46 + x11-libs/libX11
47 + x11-libs/libXcomposite
48 + x11-libs/libXext
49 + x11-libs/libXfixes
50 + x11-libs/libXrandr
51 + x11-libs/libXrender
52 + x11-misc/slop:=
53 + unicode? ( dev-libs/icu:= )"
54 +DEPEND="${RDEPEND}"
55 +
56 +src_configure() {
57 + local mycmakeargs=(
58 + -DMAIM_UNICODE=$(usex unicode)
59 + )
60 + cmake-utils_src_configure
61 +}