20 lines
841 B
Bash
20 lines
841 B
Bash
# Template file for 'umbrello'
|
|
pkgname=umbrello
|
|
version=21.04.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules gettext kcoreaddons kconfig kdoctools qt5-host-tools qt5-qmake"
|
|
makedepends="kdelibs4support-devel ktexteditor-devel qt5-webkit-devel"
|
|
short_desc="UML modelling tool and code generator"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later, GFDL-1.2-or-later"
|
|
homepage="https://umbrello.kde.org/"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/umbrello-${version}.tar.xz"
|
|
checksum=1d5f7c637a59a68a1ee3c15f3c992a38f0a75671a407b299a64fc01b98d4bc9f
|
|
python_version=2
|
|
|
|
pre_configure() {
|
|
vsed -i CMakeLists.txt -e 's/# set default umbrello version/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override")/'
|
|
vsed -i CMakeLists.txt -e '/set(BUILD_UNITTESTS 1)/d'
|
|
}
|