summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-12-25 17:57:52 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-12-25 17:58:04 +0100
commitf0659b6efc526bd8c0911e6f6b9e4d3b2e9cd9bb (patch)
tree82b1a564d1fce2512bd4e85117658bec1ea2cf4e /dev-libs/atcore
parentgames-arcade/funnyboat: Drop old (diff)
downloadgentoo-f0659b6efc526bd8c0911e6f6b9e4d3b2e9cd9bb.tar.gz
gentoo-f0659b6efc526bd8c0911e6f6b9e4d3b2e9cd9bb.tar.bz2
gentoo-f0659b6efc526bd8c0911e6f6b9e4d3b2e9cd9bb.zip
dev-libs/atcore: Port to ecm.eclass and kde.org.eclass
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/atcore')
-rw-r--r--dev-libs/atcore/atcore-1.0.0.ebuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/dev-libs/atcore/atcore-1.0.0.ebuild b/dev-libs/atcore/atcore-1.0.0.ebuild
index ea5b5987fee..dabc4305343 100644
--- a/dev-libs/atcore/atcore-1.0.0.ebuild
+++ b/dev-libs/atcore/atcore-1.0.0.ebuild
@@ -3,8 +3,9 @@
EAPI=7
-KDE_TEST="forceoptional"
-inherit kde5
+ECM_TEST="forceoptional"
+QTMIN=5.12.3
+inherit ecm kde.org
DESCRIPTION="API to manage the serial connection between the computer and 3D Printers"
SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
@@ -14,28 +15,27 @@ LICENSE="|| ( LGPL-2.1+ LGPL-3 ) gui? ( GPL-3+ )"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc gui test"
-RESTRICT="!test? ( test )"
BDEPEND="
- $(add_qt_dep linguist-tools)
+ >=dev-qt/linguist-tools-${QTMIN}:5
doc? ( app-doc/doxygen[dot] )
"
DEPEND="
- $(add_qt_dep qtserialport)
+ >=dev-qt/qtserialport-${QTMIN}:5
gui? (
- $(add_qt_dep qtcharts)
- $(add_qt_dep qtgui)
- $(add_qt_dep qtwidgets)
+ >=dev-qt/qtcharts-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
)
"
RDEPEND="${DEPEND}"
src_prepare() {
- cmake-utils_src_prepare
+ ecm_src_prepare
sed -e "s/${PN}/${PF}/" -i doc/CMakeLists.txt || die
- use gui || punt_bogus_dep Qt5 Charts
+ use gui || ecm_punt_bogus_dep Qt5 Charts
use test || cmake_comment_add_subdirectory unittests
}
@@ -45,5 +45,5 @@ src_configure() {
-DBUILD_TEST_GUI=$(usex gui)
)
- cmake-utils_src_configure
+ ecm_src_configure
}