48 lines
1.1 KiB
Bash
48 lines
1.1 KiB
Bash
|
# Copyright 1999-2020 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
inherit eutils desktop xdg udev
|
||
|
|
||
|
MY_PN="KingstVIS"
|
||
|
MY_P="${MY_PN}_v${PV}"
|
||
|
|
||
|
SRC_URI="amd64? ( http://www.qdkingst.com/kfs/${MY_P}.tar.gz -> ${P}.tar.gz )"
|
||
|
|
||
|
DESCRIPTION="Software for Kingst logic analyzers"
|
||
|
|
||
|
HOMEPAGE="http://www.qdkingst.com/en"
|
||
|
IUSE=""
|
||
|
SLOT="0"
|
||
|
|
||
|
KEYWORDS="-* ~amd64"
|
||
|
LICENSE=""
|
||
|
RESTRICT="nomirror"
|
||
|
|
||
|
RDEPEND="dev-libs/icu
|
||
|
dev-qt/qtcore:5
|
||
|
dev-qt/qtdbus:5
|
||
|
dev-qt/qtgui:5
|
||
|
dev-qt/qtnetwork:5
|
||
|
dev-qt/qtsvg:5
|
||
|
dev-qt/qtwidgets:5
|
||
|
dev-qt/qtxml:5
|
||
|
"
|
||
|
|
||
|
S="${WORKDIR}/${MY_PN}"
|
||
|
|
||
|
src_install() {
|
||
|
exeinto /usr/share/${PN}
|
||
|
doexe KingstVIS
|
||
|
insinto /usr/share/${PN}
|
||
|
doins -r libAnalyzer.so Analyzer imageformats platforms
|
||
|
insinto /usr/share/${PN}/Resource
|
||
|
doins Resource/*.ico
|
||
|
doicon ${FILESDIR}/kingstvis.png
|
||
|
dobin ${FILESDIR}/kingstvis
|
||
|
dodoc README Resource/ug-en.pdf
|
||
|
udev_newrules Driver/99-Kingst.rules 99-kingst.rules
|
||
|
make_desktop_entry /usr/share/kingstvis/KingstVIS "KingstVIS Logic Analyzer" kingstvis "Development;Electronics;" "Terminal=false"
|
||
|
}
|