summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/prismatik/prismatik-5.11.2.16.ebuild')
-rw-r--r--x11-misc/prismatik/prismatik-5.11.2.16.ebuild60
1 files changed, 60 insertions, 0 deletions
diff --git a/x11-misc/prismatik/prismatik-5.11.2.16.ebuild b/x11-misc/prismatik/prismatik-5.11.2.16.ebuild
new file mode 100644
index 0000000..0db32a6
--- /dev/null
+++ b/x11-misc/prismatik/prismatik-5.11.2.16.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit qmake-utils udev
+
+if [ ${PV} == "9999" ]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/psieg/Lightpack"
+else
+ inherit vcs-snapshot
+ SRC_URI="https://github.com/psieg/Lightpack/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~x86 ~amd64"
+fi
+
+DESCRIPTION="Prismatik is an open-source software to control Lightpack devices"
+HOMEPAGE="http://lightpack.tv"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtserialport:5
+ dev-qt/qtwidgets:5
+ media-libs/mesa
+ virtual/libusb:1
+ virtual/udev
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${P}/Software"
+
+src_prepare() {
+ rm -rf qtserialport
+ sed -e "/qtserialport/d" -i Lightpack.pro || die
+ default
+}
+
+src_configure() {
+ eqmake5 Lightpack.pro
+}
+
+src_install() {
+ newbin bin/Prismatik ${PN}
+
+ domenu dist_linux/deb/usr/share/applications/${PN}.desktop
+
+ insinto /usr/share/
+ doins -r dist_linux/deb/usr/share/{icons,pixmaps}
+
+ udev_dorules dist_linux/deb/etc/udev/rules.d/93-lightpack.rules
+}