summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/kdstatemachineeditor/Manifest1
-rw-r--r--dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.8.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/kdstatemachineeditor/Manifest b/dev-util/kdstatemachineeditor/Manifest
index 646664b223b5..562db92b686b 100644
--- a/dev-util/kdstatemachineeditor/Manifest
+++ b/dev-util/kdstatemachineeditor/Manifest
@@ -1 +1,2 @@
DIST kdstatemachineeditor-1.2.4.tar.gz 222160 BLAKE2B c0194282b1f17c550454d16fb3790e6747c785b01f867aa115134a3f1298c7d0bdd522d07bdc26ab4353d62482a8602c1418dd8e480a6b5b5665b8dfe8ca1d93 SHA512 f1c076a8646a26d3a6629298523b02589fcf53fc8ac01d93928b1bc42179d3a26c7f90d595e2226e5cf3d54d90d143719e72854f3b756489f6d0b8643810675f
+DIST kdstatemachineeditor-1.2.8.tar.gz 243271 BLAKE2B 0b44598115d6bf7272ef8a534a857c02141a34070836a010021b8925002f2b87bd590c3c76413904ac52de297bcb322db0dea6d76f5e04947bd98257e2ece229 SHA512 728b8576d2d0b32b285b0fccbd698b426c557ab08470fc4ec044ec5acce5dc7a394c183d24ae3e9cde02d872b3eaef6b60424a3acd22052508b2456b0dad10a3
diff --git a/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.8.ebuild b/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.8.ebuild
new file mode 100644
index 000000000000..d67368a4579c
--- /dev/null
+++ b/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake qmake-utils
+
+DESCRIPTION="Framework for creating Qt State Machine metacode using graphical user interfaces"
+HOMEPAGE="https://github.com/KDAB/KDStateMachineEditor"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/KDAB/KDStateMachineEditor.git"
+else
+ SRC_URI="https://github.com/KDAB/KDStateMachineEditor/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="doc test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5[widgets]
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}
+ test? (
+ dev-qt/qttest:5
+ dev-qt/qtxmlpatterns:5
+ )
+"
+BDEPEND="
+ media-gfx/graphviz
+ doc? (
+ app-doc/doxygen
+ dev-qt/qthelp:5
+ )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_EXAMPLES=OFF
+ -DWITH_INTERNAL_GRAPHVIZ=OFF
+ -DBUILD_DOCS=$(usex doc)
+ -DBUILD_TESTING=$(usex test)
+ -DECM_MKSPECS_INSTALL_DIR=$(qt5_get_mkspecsdir)/modules
+ )
+ cmake_src_configure
+}