mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 12:54:32 +02:00
58 lines
1.5 KiB
Text
58 lines
1.5 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-applications
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=khelpcenter
|
|
pkgver=25.04.0
|
|
pkgrel=0
|
|
pkgdesc="Application to show KDE Applications' documentation"
|
|
# armhf blocked by extra-cmake-modules
|
|
# x86 blocked by reduced qtwebengine featureset
|
|
# armv7, ppc64le, s390x and riscv64 blocked by qt6-qtwebengine
|
|
arch="all !armhf !x86 !armv7 !ppc64le !s390x !riscv64"
|
|
url="https://userbase.kde.org/KHelpCenter"
|
|
license="GPL-2.0-or-later AND GFDL-1.2-only"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
grantlee-dev
|
|
karchive-dev
|
|
kbookmarks-dev
|
|
kconfig-dev
|
|
kcoreaddons-dev
|
|
kdbusaddons-dev
|
|
kdoctools-dev
|
|
ki18n-dev
|
|
kio-dev
|
|
kservice-dev
|
|
ktexttemplate-dev
|
|
kwindowsystem-dev
|
|
libxml2-dev
|
|
qt6-qtbase-dev
|
|
qt6-qtwebengine-dev
|
|
samurai
|
|
xapian-core-dev
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
_repo_url="https://invent.kde.org/system/khelpcenter.git"
|
|
source="https://download.kde.org/stable/release-service/$pkgver/src/khelpcenter-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
ctest --test-dir build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
c1b25addd3fb334731d5b22982da6e3504994025f83de67de1f53ca1d42ad72c06eba960fc03ee8c275ec6424a6f85b2a03e3a9c89f39b32e2baf579d62a51c9 khelpcenter-25.04.0.tar.xz
|
|
"
|