0ccb5c05fd
Seems we missed these when forking Plasma and now the armv7 builders are failing on it [ci:skip-build] Won't succeed anyway as the packages haven't been uploaded to the repos yet, so pmbootstrap will try to build the entirety of Plasma and fail because it takes too long [ci:skip-vercheck] No need to bump pkgrel
72 lines
1.7 KiB
Text
72 lines
1.7 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kinfocenter
|
|
pkgver=5.20.90
|
|
pkgrel=0
|
|
pkgdesc="A utility that provides information about a computer system"
|
|
# armhf blocked by extra-cmake-modules
|
|
# mips64, s390x blocked by kconfigwidgets, polkit-qt
|
|
arch="all !armhf !s390x !mips !mips64"
|
|
url="https://kde.org/plasma-desktop/"
|
|
license="(GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
glu-dev
|
|
kcmutils-dev
|
|
kcompletion-dev
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
kcoreaddons-dev
|
|
kcrash-dev
|
|
kdbusaddons-dev
|
|
kdeclarative-dev
|
|
kdoctools-dev
|
|
ki18n-dev
|
|
kiconthemes-dev
|
|
kio-dev
|
|
kpackage-dev
|
|
kservice-dev
|
|
kwayland-dev
|
|
kwidgetsaddons-dev
|
|
kwindowsystem-dev
|
|
kxmlgui-dev
|
|
qt5-qtbase-dev
|
|
solid-dev
|
|
solid-dev
|
|
"
|
|
|
|
case "$pkgver" in
|
|
*.90*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/kinfocenter-$pkgver.tar.xz"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
# qmlplugindump fails for armv7+qemu (pmb#1970). This is purely for
|
|
# packager knowledge and doesn't affect runtime, so we can disable it.
|
|
if [ "$CARCH" = "armv7" ]; then
|
|
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" CMakeLists.txt
|
|
fi
|
|
}
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="ae185908db0f59199fef49d4a684e32971efb7b76f4372c9110b820b93b9a7b9676b80412c659ff172eaa6ed7562d88fdf5568b87e246dbea43f9d508bb52cac kinfocenter-5.20.90.tar.xz"
|