summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-15 21:52:47 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-20 00:51:34 +0100
commitb564568c9a436bd27e87a40a3981b75fb501bb3f (patch)
tree226484e7f939d2a630d10c2fc0abd0c0c14ebf95 /x11-misc/projecteur
parentnet-misc/dropbox: Drop 89.3.268 (r0) (diff)
downloadgentoo-b564568c9a436bd27e87a40a3981b75fb501bb3f.tar.gz
gentoo-b564568c9a436bd27e87a40a3981b75fb501bb3f.tar.bz2
gentoo-b564568c9a436bd27e87a40a3981b75fb501bb3f.zip
x11-misc/projecteur: Prepare for dev-qt/qtgui[xcb -> X], use cmake.eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-misc/projecteur')
-rw-r--r--x11-misc/projecteur/projecteur-0.6-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-misc/projecteur/projecteur-0.6-r1.ebuild b/x11-misc/projecteur/projecteur-0.6-r1.ebuild
new file mode 100644
index 000000000000..d727e882f0f2
--- /dev/null
+++ b/x11-misc/projecteur/projecteur-0.6-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/p/P}"
+
+inherit cmake udev xdg-utils
+
+DESCRIPTION="Linux Desktop Application for the Logitech Spotlight device"
+HOMEPAGE="https://github.com/jahnf/Projecteur"
+SRC_URI="https://github.com/jahnf/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ || (
+ dev-qt/qtgui:5[X(-)]
+ dev-qt/qtgui:5[xcb(-)]
+ )
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ virtual/udev
+ x11-libs/libX11
+"
+DEPEND="${RDEPEND}"
+
+BDEPEND="virtual/pkgconfig"
+
+pkg_postinst() {
+ udev_reload
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ udev_reload
+ xdg_icon_cache_update
+}