9b18e344dd
* Add NetworkManager and PulseAudio applets to Plasma * This crashes plasma mobile on armhf (where it is not usable due to performance problems anyway), except on mainlined kernels with hardware accelerated graphics. This is mentioned in the pkgdesc of postmarketos-ui-plasma-mobile now.
43 lines
1.5 KiB
Text
43 lines
1.5 KiB
Text
pkgname=plasma-phone-components
|
|
pkgver=0_git20180221
|
|
pkgrel=0
|
|
_commit="9222d501fa6b86b93382e0dd1a7c965668960cee"
|
|
pkgdesc="Modules providing phone functionality for Plasma"
|
|
arch="all"
|
|
url="https://community.kde.org/Plasma/Mobile"
|
|
license="GPL3"
|
|
depends="desktop-file-utils qt5-qtgraphicaleffects kactivities qt5-qtquickcontrols2 qt5-qtquickcontrols
|
|
plasma-pa plasma-nm upower"
|
|
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"
|
|
install="$pkgname.post-install
|
|
$pkgname.post-upgrade
|
|
$pkgname.post-deinstall"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kde/$pkgname/archive/$_commit.tar.gz"
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
build() {
|
|
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="dc9752bc05f0822671be254d419a467fde64e0382748700f2440a8a1230dfa2cfcca9213011dd25fca4d08e4a87b1631538bd2db22fe95da6a0f28004075fdb2 plasma-phone-components-0_git20180221.tar.gz"
|