# Forked from Alpine to package newer commits pkgname=plasma-phone-components pkgver=5.20.3_git20201112 pkgrel=0 _commit="b19543b56ab3d019daacefe0d6a7b253b7713ea9" pkgdesc="Modules providing phone functionality for Plasma" arch="all !armhf !x86" # x86 blocked by maliit-keyboard url="https://www.plasma-mobile.org/" license="GPL-2.0-or-later AND LGPL-2.1-or-later" depends=" breeze-icons dbus-x11 kactivities libqofono maliit-keyboard plasma-nano plasma-nm plasma-pa plasma-settings plasma-workspace qt5-qtquickcontrols2 telepathy-ofono " makedepends=" extra-cmake-modules kactivities-dev kauth-dev kbookmarks-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev ki18n-dev kio-dev kitemviews-dev kjobwidgets-dev kpackage-dev kservice-dev kwayland-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev solid-dev " source="https://invent.kde.org/plasma/plasma-phone-components/-/archive/$_commit/plasma-phone-components-$_commit.tar.gz set-postmarketos-wallpaper.patch " options="!check" # No tests builddir="$srcdir/$pkgname-$_commit" 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 --build build --target install } sha512sums="629e60c234d6b71a1886a4285a221b1189528efdde026b00cad195ca0585f6e4ba43d611d97039a0641b4e9afa92cbf7ce6ae45252c675f641e23aae1dc0edfb plasma-phone-components-b19543b56ab3d019daacefe0d6a7b253b7713ea9.tar.gz aef46ceb3cd4c49fe22b62a9821951bec366291e8ec060c7304d9db9c150a58311f545445c47605afc17dc061466b04bde0abe2d7a3791fa254ef0b7f4ec4e1e set-postmarketos-wallpaper.patch"