kauth: update to 5.36.0.
This commit is contained in:
parent
96e5aa21b8
commit
5f4bfa8c00
|
@ -0,0 +1,21 @@
|
||||||
|
--- KF5AuthConfig.cmake.in.ORIG
|
||||||
|
+++ KF5AuthConfig.cmake.in
|
||||||
|
@@ -21,4 +21,8 @@
|
||||||
|
else()
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/KF5AuthToolsTargets.cmake")
|
||||||
|
endif()
|
||||||
|
+ if(CMAKE_CROSSCOMPILING)
|
||||||
|
+ set_target_properties(KF5::kauth-policy-gen PROPERTIES IMPORTED_LOCATION_NONE /usr/lib/libexec/kauth/kauth-policy-gen)
|
||||||
|
+ set_target_properties(KF5::kauth-policy-gen PROPERTIES IMPORTED_LOCATION /usr/lib/libexec/kauth/kauth-policy-gen)
|
||||||
|
+ endif()
|
||||||
|
endif()
|
||||||
|
--- cmake/KF5AuthMacros.cmake.ORIG
|
||||||
|
+++ cmake/KF5AuthMacros.cmake
|
||||||
|
@@ -65,0 +66,4 @@
|
||||||
|
+ set(KAUTH_POLICY_GEN_LOCATION KF5::kauth-policy-gen)
|
||||||
|
+ if(CMAKE_CROSSCOMPILING)
|
||||||
|
+ get_target_property(KAUTH_POLICY_GEN_LOCATION KF5::kauth-policy-gen LOCATION)
|
||||||
|
+ endif()
|
||||||
|
@@ -67 +71 @@
|
||||||
|
- COMMAND KF5::kauth-policy-gen ${_input} ${_output}
|
||||||
|
+ COMMAND ${KAUTH_POLICY_GEN_LOCATION} ${_input} ${_output}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'kauth'
|
# Template file for 'kauth'
|
||||||
pkgname=kauth
|
pkgname=kauth
|
||||||
version=5.29.0
|
version=5.36.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="extra-cmake-modules pkg-config"
|
hostmakedepends="extra-cmake-modules pkg-config"
|
||||||
makedepends="kcoreaddons-devel polkit-qt5-devel"
|
makedepends="kcoreaddons-devel polkit-qt5-devel"
|
||||||
|
@ -10,7 +10,7 @@ maintainer="Denis Revin <denis.revin@gmail.com>"
|
||||||
license="LGPL-2"
|
license="LGPL-2"
|
||||||
homepage="https://projects.kde.org/projects/frameworks/kauth"
|
homepage="https://projects.kde.org/projects/frameworks/kauth"
|
||||||
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=f2c51dfb42196fe5d604883c9f28bda7fd3f40d308144f521f4090a941c2091d
|
checksum=d3f94113d14f85894f59f234efebfec8c42b4b8a8452460b7f4f2ccc03657d28
|
||||||
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
if [ -n "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"
|
hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel"
|
||||||
|
|
Loading…
Reference in New Issue