New package: kf6-kauth-6.1.0
This commit is contained in:
parent
30ab39eca4
commit
afd2eef0d1
|
@ -1938,6 +1938,7 @@ libQt5XdgIconLoader.so.3 libqtxdg-3.1.0_1
|
|||
libqwt-qt5.so.6.2 qwt-6.2.0_2
|
||||
libqwt-qt6.so.6.2 qwt-qt6-6.2.0_2
|
||||
libKF6Archive.so.6 kf6-karchive-6.0.0_1
|
||||
libKF6AuthCore.so.6 kf6-kauth-6.0.0_1
|
||||
libKF6ConfigCore.so.6 kf6-kconfig-6.0.0_1
|
||||
libKF6ConfigQml.so.6 kf6-kconfig-6.0.0_1
|
||||
libKF6ConfigGui.so.6 kf6-kconfig-6.0.0_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
kf6-kauth
|
|
@ -0,0 +1 @@
|
|||
kf6-kauth
|
|
@ -0,0 +1,11 @@
|
|||
--- a/KF6AuthConfig.cmake.in
|
||||
+++ b/KF6AuthConfig.cmake.in
|
||||
@@ -34,7 +34,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/KF6Au
|
||||
|
||||
if(NOT "${KAUTH_BACKEND_NAME}" STREQUAL "FAKE")
|
||||
if(CMAKE_CROSSCOMPILING AND KF6_HOST_TOOLING)
|
||||
- find_file(KAUTH_TARGETSFILE KF6Auth/KF6AuthToolsTargets.cmake PATHS ${KF6_HOST_TOOLING} ${CMAKE_CURRENT_LIST_DIR} NO_DEFAULT_PATH)
|
||||
+ find_file(KAUTH_TARGETSFILE KF6Auth/KF6AuthToolsTargets.cmake PATHS ${KF6_HOST_TOOLING} ${CMAKE_CURRENT_LIST_DIR} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
|
||||
include("${KAUTH_TARGETSFILE}")
|
||||
else()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/KF6AuthToolsTargets.cmake")
|
|
@ -0,0 +1,41 @@
|
|||
# Template file for 'kf6-kauth'
|
||||
pkgname=kf6-kauth
|
||||
version=6.1.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
||||
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
||||
hostmakedepends="extra-cmake-modules qt6-tools qt6-base"
|
||||
makedepends="kf6-kcoreaddons-devel kf6-kwindowsystem-devel polkit-qt6-devel"
|
||||
checkdepends="dbus"
|
||||
short_desc="KDE Execute actions as privileged user"
|
||||
maintainer="John <me@johnnynator.dev>"
|
||||
license="LGPL-2.1-or-later"
|
||||
homepage="https://invent.kde.org/frameworks/kauth"
|
||||
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
||||
checksum=47e7804020805098cc9ab370b6c539991bb028041faaf5a619ab7cb2b992f08b
|
||||
subpackages="kf6-kauth-tools kf6-kauth-devel"
|
||||
|
||||
do_check() {
|
||||
cd build
|
||||
dbus-run-session ctest
|
||||
}
|
||||
|
||||
kf6-kauth-tools_package() {
|
||||
short_desc+=" - tools"
|
||||
pkg_install() {
|
||||
vmove usr/libexec
|
||||
vmove "usr/lib/cmake/KF6Auth/*Tools*"
|
||||
}
|
||||
}
|
||||
|
||||
kf6-kauth-devel_package() {
|
||||
depends="$makedepends kf6-kauth-tools>=${version}_${revision}
|
||||
${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/cmake
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue