pmaports/kde/plasma-phone-components/APKBUILD
Bart Ribbers 1d0437072f
kde/plasma-phone-components: update to latest git (!199)
Resolves #170 (screen brightness gets set to 0 after booting).
2019-02-08 10:14:02 +01:00

46 lines
1.7 KiB
Text

# Contributor Bart Ribbers <bribbers@disroot.org>
# Maintainer Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-phone-components
pkgver=0_git20190207
pkgrel=0
_commit="d6f0b8b2fc014bbc2b867d64e3dcffc09e3aa3ff"
pkgdesc="Modules providing phone functionality for Plasma"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="GPL-2.0 LGPL-2.1+"
depends="desktop-file-utils qt5-qtgraphicaleffects kactivities qt5-qtquickcontrols2 qt5-qtquickcontrols
plasma-pa plasma-nm upower libqofono"
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-qt5-dev libphonenumber-dev"
install="$pkgname.post-install
$pkgname.post-upgrade
$pkgname.post-deinstall"
source="$pkgname-$pkgver.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
build() {
cd "$builddir"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=RELEASE
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="f7e48c1c4e957b6efdacd001766d99d17861e56c8e91904b6620323056e3abdf0337a26a0a4ae2b58e5098fc140b64fdf83b7a354ed86c5b8c2f30556261cacd plasma-phone-components-0_git20190207.tar.gz"