void-packages/srcpkgs/kde-gtk-config5/template

23 lines
867 B
Bash

# Template file for 'kde-gtk-config5'
pkgname=kde-gtk-config5
version=5.13.4
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
wrksrc="${pkgname%5}-${version}"
hostmakedepends="extra-cmake-modules pkg-config qt5-qmake qt5-host-tools"
makedepends="kcmutils-devel knewstuff-devel gtk+-devel gtk+3-devel
gsettings-desktop-schemas-devel"
depends="kde-cli-tools"
short_desc="GTK2 and GTK3 Configurator for KDE"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/plasma/kde-gtk-config"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname%5}-${version}.tar.xz"
checksum=05188ae525e7ff3cda1fa72496b52d0f399d41da74f501b1085e4e33dff6a50f
if [ '$CROSS_BUILD' ]; then
hostmakedepends+=" kcoreaddons"
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
fi