aports/community/plasma-integration/APKBUILD
2023-05-10 11:01:24 +02:00

65 lines
1.6 KiB
Plaintext

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-integration
pkgver=5.27.5
pkgrel=1
pkgdesc="Qt Platform Theme integration plugins for the Plasma workspaces"
# armhf blocked by qt5-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-desktop-style
"
makedepends="
breeze-dev
extra-cmake-modules
kconfig-dev
kconfigwidgets-dev
ki18n-dev
kiconthemes-dev
kio-dev
knotifications-dev
kwayland-dev
kwidgetsaddons-dev
kwindowsystem-dev
libxcursor-dev
qt5-qtbase-dev
qt5-qtquickcontrols2-dev
qt5-qtx11extras-dev
samurai
"
checkdepends="xvfb-run"
case "$pkgver" in
*.90*) _rel=unstable;;
*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-integration-$pkgver.tar.xz"
subpackages="$pkgname-lang"
options="!check" # Broken
build() {
cmake -B build -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() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
854c35b6159f91c838494912f2defc87b0044845ba98ca2fda83ac141f4214c6d4648e258e2839e01eb9263171896a5686a29d27b95c264026f99756e4aa8268 plasma-integration-5.27.5.tar.xz
"