mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-libs/atcore: EAPI-7 bump, kde5-functions -> kde5
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils kde5-functions
|
||||
KDE_TEST="forceoptional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="API to manage the serial connection between the computer and 3D Printers"
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
|
||||
@@ -14,8 +15,11 @@ SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc gui test"
|
||||
|
||||
RDEPEND="
|
||||
$(add_qt_dep qtcore)
|
||||
BDEPEND="
|
||||
$(add_qt_dep linguist-tools)
|
||||
doc? ( app-doc/doxygen[dot] )
|
||||
"
|
||||
DEPEND="
|
||||
$(add_qt_dep qtserialport)
|
||||
gui? (
|
||||
$(add_qt_dep qtcharts)
|
||||
@@ -23,12 +27,7 @@ RDEPEND="
|
||||
$(add_qt_dep qtwidgets)
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
$(add_frameworks_dep extra-cmake-modules)
|
||||
$(add_qt_dep linguist-tools)
|
||||
doc? ( app-doc/doxygen[dot] )
|
||||
test? ( $(add_qt_dep qttest) )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
@@ -36,10 +35,7 @@ src_prepare() {
|
||||
sed -e "s/${PN}/${PF}/" -i doc/CMakeLists.txt || die
|
||||
|
||||
use gui || punt_bogus_dep Qt5 Charts
|
||||
if ! use test; then
|
||||
cmake_comment_add_subdirectory unittests
|
||||
punt_bogus_dep Qt5 Test
|
||||
fi
|
||||
use test || cmake_comment_add_subdirectory unittests
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
Reference in New Issue
Block a user