Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/projecteur/
Date: Sun, 19 Jan 2020 23:53:44
Message-Id: 1579477894.b564568c9a436bd27e87a40a3981b75fb501bb3f.asturm@gentoo
1 commit: b564568c9a436bd27e87a40a3981b75fb501bb3f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 15 20:52:47 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 19 23:51:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b564568c
7
8 x11-misc/projecteur: Prepare for dev-qt/qtgui[xcb -> X], use cmake.eclass
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 x11-misc/projecteur/projecteur-0.6-r1.ebuild | 45 ++++++++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/x11-misc/projecteur/projecteur-0.6-r1.ebuild b/x11-misc/projecteur/projecteur-0.6-r1.ebuild
17 new file mode 100644
18 index 00000000000..d727e882f0f
19 --- /dev/null
20 +++ b/x11-misc/projecteur/projecteur-0.6-r1.ebuild
21 @@ -0,0 +1,45 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +MY_PN="${PN/p/P}"
28 +
29 +inherit cmake udev xdg-utils
30 +
31 +DESCRIPTION="Linux Desktop Application for the Logitech Spotlight device"
32 +HOMEPAGE="https://github.com/jahnf/Projecteur"
33 +SRC_URI="https://github.com/jahnf/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~x86"
38 +
39 +S="${WORKDIR}/${MY_PN}-${PV}"
40 +
41 +RDEPEND="
42 + dev-qt/qtcore:5
43 + dev-qt/qtdeclarative:5
44 + || (
45 + dev-qt/qtgui:5[X(-)]
46 + dev-qt/qtgui:5[xcb(-)]
47 + )
48 + dev-qt/qtnetwork:5
49 + dev-qt/qtwidgets:5
50 + dev-qt/qtx11extras:5
51 + virtual/udev
52 + x11-libs/libX11
53 +"
54 +DEPEND="${RDEPEND}"
55 +
56 +BDEPEND="virtual/pkgconfig"
57 +
58 +pkg_postinst() {
59 + udev_reload
60 + xdg_icon_cache_update
61 +}
62 +
63 +pkg_postrm() {
64 + udev_reload
65 + xdg_icon_cache_update
66 +}