mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-08 00:34:26 +02:00
55 lines
1.3 KiB
Text
55 lines
1.3 KiB
Text
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-plasma
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=polkit-kde-agent-1
|
|
pkgver=6.3.5
|
|
pkgrel=0
|
|
pkgdesc="Daemon providing a polkit authentication UI for KDE"
|
|
# armhf blocked by qt6-qtdeclarative -> ki18n
|
|
arch="all !armhf"
|
|
url="https://kde.org/plasma-desktop/"
|
|
license="GPL-2.0-or-later"
|
|
depends="polkit-elogind"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcoreaddons-dev
|
|
kcrash-dev
|
|
kdbusaddons-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
kwidgetsaddons-dev
|
|
kwindowsystem-dev
|
|
polkit-qt-dev
|
|
qt6-qtbase-dev
|
|
samurai
|
|
"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
|
|
subpackages="$pkgname-lang"
|
|
_repo_url="https://invent.kde.org/plasma/polkit-kde-agent-1.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/polkit-kde-agent-1-$pkgver.tar.xz"
|
|
# No tests
|
|
options="!check"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
# We don't ship systemd
|
|
rm -r "$pkgdir"/usr/lib/systemd
|
|
}
|
|
|
|
sha512sums="
|
|
758a036f5608f24dc5aca4170f94ac9529103ec94f5b958496ef02ac54d562fb68445ba347d34bb0dd5e03aac3f3895321d9520b9c83de4b8f891489dd20b4b8 polkit-kde-agent-1-6.3.5.tar.xz
|
|
"
|