void-packages/srcpkgs/umbrello/template
2019-12-21 21:52:45 +01:00

18 lines
816 B
Bash

# Template file for 'umbrello'
pkgname=umbrello
version=19.12.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules 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=9b9bb640a2d2a26f285584a86908e58e73c5906b1643e254bbc157935150e31f
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'
}