void-packages/srcpkgs/kde-gtk-config5/template
2022-01-06 18:08:24 +01:00

23 lines
905 B
Bash

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