void-packages/srcpkgs/konsole/template

32 lines
1.0 KiB
Bash

# Template file for 'konsole'
pkgname=konsole
version=24.05.0
revision=1
build_style=cmake
build_helper=qemu
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="pkg-config extra-cmake-modules qt6-base qt6-tools gettext
kf6-kdoctools kf6-kconfig"
makedepends="kf6-knewstuff-devel kf6-knotifyconfig-devel
kf6-kparts-devel kf6-kpty-devel kf6-ktextwidgets-devel qt6-multimedia-devel"
checkdepends="which"
short_desc="KDE's Terminal Emulator"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.0-or-later, GFDL-1.2-or-later"
homepage="https://kde.org/applications/en/system/org.kde.konsole"
distfiles="${KDE_SITE}/release-service/${version}/src/konsole-${version}.tar.xz"
checksum=53efd25c1d574448db57f446f423328c7f2f08889f67defc1ed5c783c9ef47f4
replaces="konsole5>=0"
do_check() {
cd build
ctest -E "ScreenTest|Vt102EmulationTest"
}
konsole5_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="konsole>=${version}_${revision}"
}