38 lines
803 B
Bash
38 lines
803 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=6
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="LabPowerQt is an application to control laboratory power supplies and to record and visualize the data"
|
|
HOMEPAGE="https://github.com/crapp/labpowerqt"
|
|
SRC_URI="https://github.com/crapp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-qt/qtgui:5
|
|
dev-qt/qtwidgets:5
|
|
dev-qt/qtcore:5
|
|
dev-qt/qtserialport:5
|
|
dev-qt/qtsql:5
|
|
dev-qt/qtprintsupport:5
|
|
dev-libs/ealogger"
|
|
DEPEND="${RDEPEND}"
|
|
# dev-qt/qtquick:5
|
|
|
|
src_prepare() {
|
|
eapply "${FILESDIR}/multichan.patch"
|
|
eapply_user
|
|
}
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
"-DEALOGGER_EXTERNAL=off" )
|
|
|
|
cmake-utils_src_configure
|
|
}
|