mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 12:54:32 +02:00
76 lines
1.7 KiB
Text
76 lines
1.7 KiB
Text
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-frameworks
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=kwallet
|
|
pkgver=6.13.0
|
|
pkgrel=0
|
|
pkgdesc="Secure and unified container for user passwords"
|
|
# armhf blocked by qt6-qtdeclarative -> ki18n
|
|
arch="all !armhf"
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL-2.1-or-later"
|
|
depends_dev="
|
|
gpgme-dev
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
kcoreaddons-dev
|
|
kdbusaddons-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
knotifications-dev
|
|
kservice-dev
|
|
kwindowsystem-dev
|
|
libgcrypt-dev
|
|
qca-qt6-dev
|
|
"
|
|
makedepends="$depends_dev
|
|
doxygen
|
|
extra-cmake-modules
|
|
graphviz
|
|
kdoctools-dev
|
|
qt6-qttools-dev
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-bin"
|
|
_repo_url="https://invent.kde.org/frameworks/kwallet.git"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kwallet-$pkgver.tar.xz"
|
|
|
|
provides="dbus:org.freedesktop.Secrets"
|
|
# 2nd highst priority after gnome-keyring, mainly for KDE
|
|
provider_priority=10
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
local excluded_checks=
|
|
case "$CARCH" in
|
|
aarch64) excluded_checks="fdo_secrets_test" ;;
|
|
s390x) excluded_checks="(blowfishtest)";;
|
|
esac
|
|
ctest --test-dir build -E "$excluded_checks"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
doc() {
|
|
replaces="kwallet5-doc"
|
|
|
|
default_doc
|
|
}
|
|
|
|
bin() {
|
|
amove usr/bin/kwallet-query
|
|
}
|
|
|
|
sha512sums="
|
|
5333a41df065cb8ed254691c4eeea6951f417f28735a8d7321c4056ad60f6845e07e0603775b18baf1bd88a48732ac79ba8c09cf413e4c8feb1459d080f739f6 kwallet-6.13.0.tar.xz
|
|
"
|