2019-02-08 12:48:21 +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
|
2019-05-07 14:15:59 +00:00
|
|
|
pkgver=0_git20190505
|
2019-05-21 15:09:25 +00:00
|
|
|
pkgrel=2
|
2019-05-07 14:15:59 +00:00
|
|
|
_commit="cec97e231b6106eb5c69fd9b774769cd3c8e72b1"
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc="Modules providing phone functionality for Plasma"
|
|
|
|
arch="all"
|
|
|
|
url="https://community.kde.org/Plasma/Mobile"
|
2019-02-12 15:04:21 +00:00
|
|
|
license="GPL-2.0 LGPL-2.1-or-later"
|
2019-02-08 12:48:21 +00:00
|
|
|
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"
|
2017-08-03 20:14:04 +00:00
|
|
|
install="$pkgname.post-install
|
2018-11-07 09:03:26 +00:00
|
|
|
$pkgname.post-upgrade
|
|
|
|
$pkgname.post-deinstall"
|
2019-02-09 16:11:49 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
2017-11-26 17:08:10 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2019-02-07 18:23:16 +00:00
|
|
|
cd "$builddir"
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2019-05-21 15:09:25 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-11 13:36:33 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
2019-02-12 15:04:21 +00:00
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
2017-08-03 20:14:04 +00:00
|
|
|
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"
|
2018-12-29 20:27:48 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
2019-05-07 14:15:59 +00:00
|
|
|
sha512sums="2c941ecc1b4c054c09753c19db1cf00157d5d51b3f2f0067125e67a6311eb26419a295df6fec52467e1019a833ee054e62db2ca58ad0219061bbcb7ca961393a plasma-phone-components-cec97e231b6106eb5c69fd9b774769cd3c8e72b1.tar.gz"
|