summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-04-24 23:38:35 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-24 23:39:52 +0200
commitdd5661566a2e16639793821a40e5122c3f68256e (patch)
treee6776528ba07237ef877e5c1c4f1c9bae8186f31 /dev-util/kdstatemachineeditor
parentdev-util/kdstatemachineeditor: version bump to 1.2.4 (diff)
downloadgentoo-dd5661566a2e16639793821a40e5122c3f68256e.tar.gz
gentoo-dd5661566a2e16639793821a40e5122c3f68256e.tar.bz2
gentoo-dd5661566a2e16639793821a40e5122c3f68256e.zip
dev-util/kdstatemachineeditor: Fix EAPI-7, set ECM_MKSPECS_INSTALL_DIR
Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-util/kdstatemachineeditor')
-rw-r--r--dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.4.ebuild16
-rw-r--r--dev-util/kdstatemachineeditor/kdstatemachineeditor-9999.ebuild16
2 files changed, 16 insertions, 16 deletions
diff --git a/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.4.ebuild b/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.4.ebuild
index ab1f9edbc7a5..5e4355d14c07 100644
--- a/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.4.ebuild
+++ b/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.4.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils
+inherit cmake-utils qmake-utils
DESCRIPTION="Framework for creating Qt State Machine metacode using graphical user interfaces"
HOMEPAGE="https://github.com/KDAB/KDStateMachineEditor"
@@ -27,19 +27,18 @@ RDEPEND="
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
"
-
-DEPEND="${RDEPEND}"
-
+DEPEND="${RDEPEND}
+ test? (
+ dev-qt/qttest:5
+ dev-qt/qtxmlpatterns:5
+ )
+"
BDEPEND="
media-gfx/graphviz
doc? (
app-doc/doxygen
dev-qt/qthelp:5
)
- test? (
- dev-qt/qttest:5
- dev-qt/qtxmlpatterns:5
- )
"
src_configure() {
@@ -47,6 +46,7 @@ src_configure() {
-DBUILD_EXAMPLES=OFF
-DBUILD_DOCS=$(usex doc)
-DBUILD_TESTING=$(usex test)
+ -DECM_MKSPECS_INSTALL_DIR=$(qt5_get_mkspecsdir)/modules
)
cmake-utils_src_configure
}
diff --git a/dev-util/kdstatemachineeditor/kdstatemachineeditor-9999.ebuild b/dev-util/kdstatemachineeditor/kdstatemachineeditor-9999.ebuild
index ab1f9edbc7a5..5e4355d14c07 100644
--- a/dev-util/kdstatemachineeditor/kdstatemachineeditor-9999.ebuild
+++ b/dev-util/kdstatemachineeditor/kdstatemachineeditor-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils
+inherit cmake-utils qmake-utils
DESCRIPTION="Framework for creating Qt State Machine metacode using graphical user interfaces"
HOMEPAGE="https://github.com/KDAB/KDStateMachineEditor"
@@ -27,19 +27,18 @@ RDEPEND="
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
"
-
-DEPEND="${RDEPEND}"
-
+DEPEND="${RDEPEND}
+ test? (
+ dev-qt/qttest:5
+ dev-qt/qtxmlpatterns:5
+ )
+"
BDEPEND="
media-gfx/graphviz
doc? (
app-doc/doxygen
dev-qt/qthelp:5
)
- test? (
- dev-qt/qttest:5
- dev-qt/qtxmlpatterns:5
- )
"
src_configure() {
@@ -47,6 +46,7 @@ src_configure() {
-DBUILD_EXAMPLES=OFF
-DBUILD_DOCS=$(usex doc)
-DBUILD_TESTING=$(usex test)
+ -DECM_MKSPECS_INSTALL_DIR=$(qt5_get_mkspecsdir)/modules
)
cmake-utils_src_configure
}