void-packages/srcpkgs/umbrello/template

21 lines
925 B
Bash

# Template file for 'umbrello'
pkgname=umbrello
version=23.08.4
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://apps.kde.org/umbrello/"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#umbrello"
distfiles="${KDE_SITE}/release-service/${version}/src/umbrello-${version}.tar.xz"
checksum=13e81319f4196f05598866a13b89e03d4b560bd7308967795777f9451d37ba6e
python_version=3
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'
}