2017-08-03 20:14:04 +00:00
|
|
|
pkgname=plasma-phone-components
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgver=0_git20171123
|
|
|
|
pkgrel=0
|
|
|
|
_commit=15c3acdc61ac6f3ff37b3ed75ec2d73ccea0fdb4
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc="Modules providing phone functionality for Plasma"
|
|
|
|
arch="all"
|
|
|
|
url="https://community.kde.org/Plasma/Mobile"
|
|
|
|
license="GPL3"
|
2017-11-26 17:08:10 +00:00
|
|
|
depends="desktop-file-utils qt5-qtgraphicaleffects kactivities qt5-qtquickcontrols2 qt5-qtquickcontrols"
|
|
|
|
makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-dev
|
2017-08-17 16:19:36 +00:00
|
|
|
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"
|
2017-08-03 20:14:04 +00:00
|
|
|
install="$pkgname.post-install
|
|
|
|
$pkgname.post-upgrade
|
|
|
|
$pkgname.post-deinstall"
|
2017-11-26 17:08:10 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kde/$pkgname/archive/$_commit.tar.gz
|
|
|
|
unset-telepathy-dep.patch"
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DLIB_INSTALL_DIR=lib \
|
|
|
|
-DLIBEXEC_INSTALL_DIR=lib \
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
sha512sums="8d295cf3727bea6e5f31b09e15516dccd8e31b8c5055ce42400458142be12e5c61a1397ff1cecf7b548b89fb7049b35d3d557265b75c86f82e80ea862f4e6626 plasma-phone-components-0_git20171123.tar.gz
|
|
|
|
deba478c29403c04e44a3007e64927fedaaf21e9207b834cd4c8574714d86f2e4f4bce0e6694d74eb151f11c4a8164b9a2e21c864aa823394a026395582dbccf unset-telepathy-dep.patch"
|