My personal Gentoo overlay published primarily in order to make x11-terms/cool-retro-term available to the community. It has a number of other ebuilds now - mostly version-bumped or slightly extended stuff from other overlays.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
gentoo-overlay/media-video/prismatik/prismatik-5.11.2.19.ebuild

60 lines
1.2 KiB

# 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
}