Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/projecteur/
Date: Sun, 10 May 2020 16:22:48
Message-Id: 1589127733.24a83e92b3bdd9aa997a7797011026c7ac466707.conikost@gentoo
1 commit: 24a83e92b3bdd9aa997a7797011026c7ac466707
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 10 16:19:10 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun May 10 16:22:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a83e92
7
8 x11-misc/projecteur: add git to deps
9
10 Due a bug, projecteur can't compile without having installed Git.
11 This is a bug and has been reported to upstream.
12 Meanwhile, adding Git as a temp fix to BDEPEND.
13
14 Bug: https://bugs.gentoo.org/719398
15 Package-Manager: Portage-2.3.99, Repoman-2.3.22
16 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
17
18 x11-misc/projecteur/projecteur-0.7-r1.ebuild | 50 ++++++++++++++++++++++++++++
19 1 file changed, 50 insertions(+)
20
21 diff --git a/x11-misc/projecteur/projecteur-0.7-r1.ebuild b/x11-misc/projecteur/projecteur-0.7-r1.ebuild
22 new file mode 100644
23 index 00000000000..197f9f6eb4e
24 --- /dev/null
25 +++ b/x11-misc/projecteur/projecteur-0.7-r1.ebuild
26 @@ -0,0 +1,50 @@
27 +# Copyright 1999-2020 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=7
31 +
32 +MY_PN="${PN/p/P}"
33 +
34 +inherit cmake udev xdg-utils
35 +
36 +DESCRIPTION="Linux Desktop Application for the Logitech Spotlight device"
37 +HOMEPAGE="https://github.com/jahnf/Projecteur"
38 +SRC_URI="https://github.com/jahnf/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +
44 +S="${WORKDIR}/${MY_PN}-${PV}"
45 +
46 +RDEPEND="
47 + dev-qt/qtcore:5
48 + dev-qt/qtdeclarative:5
49 + || (
50 + dev-qt/qtgui:5[X(-)]
51 + dev-qt/qtgui:5[xcb(-)]
52 + )
53 + dev-qt/qtnetwork:5
54 + dev-qt/qtwidgets:5
55 + dev-qt/qtx11extras:5
56 + virtual/udev
57 + x11-libs/libX11
58 +"
59 +DEPEND="${RDEPEND}"
60 +
61 +# Compilation will fail, if Git is not installed.
62 +# It's a bug, reported to upstream: https://github.com/jahnf/Projecteur/issues/73
63 +BDEPEND="
64 + dev-vcs/git
65 + virtual/pkgconfig
66 +"
67 +
68 +pkg_postinst() {
69 + udev_reload
70 + xdg_icon_cache_update
71 +}
72 +
73 +pkg_postrm() {
74 + udev_reload
75 + xdg_icon_cache_update
76 +}