You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.0 KiB
53 lines
1.0 KiB
6 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
7 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=7
|
||
7 years ago
|
|
||
6 years ago
|
inherit cmake-utils qmake-utils
|
||
7 years ago
|
|
||
|
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+"
|
||
|
IUSE="doc test"
|
||
|
SLOT="0"
|
||
|
|
||
|
RDEPEND="
|
||
6 years ago
|
dev-qt/qtcore:5
|
||
|
dev-qt/qtdeclarative:5[widgets]
|
||
|
dev-qt/qtgui:5
|
||
|
dev-qt/qtnetwork:5
|
||
|
dev-qt/qtwidgets:5
|
||
7 years ago
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
6 years ago
|
test? (
|
||
6 years ago
|
dev-qt/qttest:5
|
||
|
dev-qt/qtxmlpatterns:5
|
||
6 years ago
|
)
|
||
6 years ago
|
"
|
||
|
BDEPEND="
|
||
7 years ago
|
media-gfx/graphviz
|
||
6 years ago
|
doc? (
|
||
|
app-doc/doxygen
|
||
|
dev-qt/qthelp:5
|
||
|
)
|
||
7 years ago
|
"
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DBUILD_EXAMPLES=OFF
|
||
|
-DBUILD_DOCS=$(usex doc)
|
||
|
-DBUILD_TESTING=$(usex test)
|
||
6 years ago
|
-DECM_MKSPECS_INSTALL_DIR=$(qt5_get_mkspecsdir)/modules
|
||
7 years ago
|
)
|
||
|
cmake-utils_src_configure
|
||
|
}
|