void-packages/srcpkgs/konsole/template

28 lines
957 B
Bash

# Template file for 'konsole'
pkgname=konsole
version=17.12.1
revision=1
build_style=cmake
replaces="konsole5>=0 Konsole5>=0"
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF -DSYSCONF_INSTALL_DIR=/etc"
hostmakedepends="pkg-config extra-cmake-modules kcoreaddons qt5-devel qt5-qmake kdoctools kconfig"
makedepends="qt5-devel kbookmarks-devel kinit-devel knotifyconfig-devel
kparts-devel kpty-devel"
short_desc="KDE's Terminal Emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.kde.org"
distfiles="https://download.kde.org/stable/applications/${version}/src/konsole-${version}.tar.xz"
checksum=806008fb4337e6dd1041057609cbabe151ee1c31c12e27000fb72c4caa2a0d4d
if [ -n "$CROSS_BUILD" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi
konsole5_package() {
noarch=yes
build_style=meta
short_desc="${short_desc} (transitional dummy package)"
depends="konsole>=${version}_${revision}"
}