diff --git a/srcpkgs/kscreenlocker/template b/srcpkgs/kscreenlocker/template index c7734624049..035163b8700 100644 --- a/srcpkgs/kscreenlocker/template +++ b/srcpkgs/kscreenlocker/template @@ -1,19 +1,25 @@ # Template file for 'kscreenlocker' pkgname=kscreenlocker -version=5.12.0 +version=5.13.3 revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" -hostmakedepends="extra-cmake-modules pkg-config" +hostmakedepends="extra-cmake-modules pkg-config kcoreaddons qt5-qmake + qt5-host-tools kcmutils" makedepends="kdeclarative-devel kidletime-devel kcmutils-devel kwayland-devel libXi-devel pam-devel libXcursor-devel" short_desc="KDE Library and components for secure lock screen architecture" maintainer="Denis Revin " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://projects.kde.org/projects/plasma/kscreenlocker" -distfiles="http://download.kde.org/stable/plasma/${version}/${pkgname}-${version}.tar.xz" -checksum=5c6002ba33e2337cfc05076bbaf58416a6f7f0a88663ccd806262e6fbb365383 -nocross="desktop2json: Exec format error" +distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" +checksum=bda0bef715db370ae0affa7ebaf5171aeb8cc6400bbb8645a772a0181cfc4ec8 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" wayland-devel" + configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" + configure_args+=" -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner" +fi kscreenlocker-devel_package() { short_desc+=" - development"