pmaports/kde/plasma-phone-components/APKBUILD
Bhushan Shah c8c69dbcbd
kde/plasma-phone-components: update to latest upstream version (!531)
As well as add workaround for broken fonts on some devices like pinepad
and pinephone with lima.
2019-07-30 22:43:59 +02:00

43 lines
2 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-phone-components
pkgver=0_git20190730
pkgrel=0
_commit="6c8ae2501a3c4072ba84a53f3a16b740b9561611"
pkgdesc="Modules providing phone functionality for Plasma"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="GPL-2.0 LGPL-2.1-or-later"
depends="qt5-qtquickcontrols2 plasma-workspace kactivities plasma-pa plasma-nm libqofono breeze-icons plasma-settings"
makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-dev plasma-framework-dev kservice-dev kdeclarative-dev ki18n-dev kio-dev kcoreaddons-dev kconfig-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kpackage-dev kwindowsystem-dev kdbusaddons-dev knotifications-dev kwayland-dev telepathy-qt-dev libphonenumber-dev"
source="
$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz
startplasmamobile
plasma-mobile.desktop
"
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make install
install -D -m755 "$srcdir"/startplasmamobile \
"$pkgdir"/usr/bin/startplasmamobile
install -Dm644 "$srcdir"/plasma-mobile.desktop \
"$pkgdir"/usr/share/wayland-sessions/plasma-mobile-2.desktop
}
sha512sums="9bd880802443fd2b92d764c78b3212b22d80b14ccddf0e2b791a4a6e881f1b0f249ba3060058b83adf3b148892cbd853e188f45a26166e6ea0bca0c29a02c368 plasma-phone-components-6c8ae2501a3c4072ba84a53f3a16b740b9561611.tar.gz
069485a372df96f1b438c026b259bc81a6b417d59f00ef42cfd38e13f0971ce8c63db1d31c7e9603a9a5e0bfedc35ba4a1f2af041b7e24304899f40c10b87432 startplasmamobile
7f4bdbd30cda4c9e23293b7bb1eb6e8536ada056cb3bcc9a6cc3db7bbc2277eac67b519992b7e46afdf5c720df9c696b43a6a9e9f82ed7ebe3937d8c0bf4d55d plasma-mobile.desktop"