2018-05-13 23:52:43 +00:00
|
|
|
# Contributor Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=plasma-phone-components
|
2018-06-13 22:00:52 +00:00
|
|
|
pkgver=0_git20180610
|
|
|
|
pkgrel=0
|
|
|
|
_commit="efcebd1209c17af86b77ad44d4088c1bc8361253"
|
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"
|
2018-03-02 21:07:18 +00:00
|
|
|
depends="desktop-file-utils qt5-qtgraphicaleffects kactivities qt5-qtquickcontrols2 qt5-qtquickcontrols
|
2018-05-17 06:11:35 +00:00
|
|
|
plasma-pa plasma-nm upower libqofono"
|
2017-11-26 17:08:10 +00:00
|
|
|
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
|
2018-02-27 20:06:46 +00:00
|
|
|
kpackage-dev kwindowsystem-dev kdbusaddons-dev knotifications-dev kwayland-dev
|
|
|
|
telepathy-qt5-dev"
|
2017-08-03 20:14:04 +00:00
|
|
|
install="$pkgname.post-install
|
|
|
|
$pkgname.post-upgrade
|
|
|
|
$pkgname.post-deinstall"
|
2018-02-27 20:06:46 +00:00
|
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kde/$pkgname/archive/$_commit.tar.gz"
|
2017-11-26 17:08:10 +00:00
|
|
|
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
|
|
|
|
2018-06-13 22:00:52 +00:00
|
|
|
sha512sums="92993a61fdd3f77abddce4bcf0b7c9c1e986fcc24eb061ecf74c5a9a56e0f9d5fcc183d3fa72769b21091e816602639b073cdd9e3b392faa625a7fdf90fbac84 plasma-phone-components-0_git20180610.tar.gz"
|