void-packages/srcpkgs/konsole/template
2018-03-25 20:02:56 +02:00

27 lines
918 B
Bash

# Template file for 'konsole'
pkgname=konsole
version=17.12.2
revision=1
build_style=cmake
replaces="konsole5>=0 Konsole5>=0"
configure_args="-DBUILD_TESTING=OFF"
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=ece6ea3c07074128bb2a601f49cade8e5d6d3cccc17c58a1052e34c0b1ab7ab5
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}"
}