mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 08:55:20 +02:00
66 lines
1.8 KiB
Text
66 lines
1.8 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=plasma-integration
|
|
pkgver=6.3.5
|
|
pkgrel=0
|
|
pkgdesc="Qt Platform Theme integration plugins for the Plasma workspace"
|
|
# armhf blocked by qt6-qtdeclarative
|
|
arch="all !armhf"
|
|
url="https://kde.org/plasma-desktop/"
|
|
license="(LGPL-2.1-only OR LGPL-3.0-only) AND LGPL-2.1-only AND ((LGPL-2.1-only WITH Nokia-Qt-exception-1.1) OR (GPL-3.0-only WITH Nokia-Qt-exception-1.1))"
|
|
depends="
|
|
font-hack
|
|
font-noto
|
|
qqc2-breeze-style
|
|
qqc2-desktop-style
|
|
"
|
|
makedepends="
|
|
breeze-dev
|
|
extra-cmake-modules
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
kio-dev
|
|
knotifications-dev
|
|
kstatusnotifieritem-dev
|
|
kwayland-dev
|
|
kwidgetsaddons-dev
|
|
kwindowsystem-dev
|
|
libxcursor-dev
|
|
plasma-wayland-protocols
|
|
qt6-qtbase-dev
|
|
samurai
|
|
"
|
|
checkdepends="xwayland-run"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
|
|
subpackages="$pkgname-lang"
|
|
_repo_url="https://invent.kde.org/plasma/plasma-integration.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-integration-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cmake -B build -DBUILD_QT5=OFF -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_FontNotoSans=true \
|
|
-DCMAKE_DISABLE_FIND_PACKAGE_FontHack=true
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
wlheadless-run -- ctest --test-dir build -E "(qmltests6|frameworkintegration-k(deplatformtheme|fontsettingsdata|filedialog|hintssettings|filedialogqml)_unittest6)"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
sha512sums="
|
|
20fd2a1e308cfce180a973249caa5d9ab06b5726283d9afa8964fb1de7515db22788e91e93b5d0c0699c653899d94f4026229df6ec9be739d8f87b648c061a20 plasma-integration-6.3.5.tar.xz
|
|
"
|