3d0b44dded
Built and tested on x86_64, everything works as expected. [ci:skip-build]: ollieparanoid made sure, that this builds for all relevant arches. With crossdirect, so that means it is pretty stable now \o/
38 lines
1.7 KiB
Text
38 lines
1.7 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-phone-components
|
|
pkgver=0_git20190304
|
|
pkgrel=1
|
|
_commit="113b2b6b47d301e65388cba30ebff032fb7044e8"
|
|
pkgdesc="Modules providing phone functionality for Plasma"
|
|
arch="all"
|
|
url="https://community.kde.org/Plasma/Mobile"
|
|
license="GPL-2.0 LGPL-2.1-or-later"
|
|
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-$_commit.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 \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=RELEASE \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="202866227f9f31e6a2adf264c69abf79c6beda54ae399ac2716e9c7620a568db3610ad9994d05efee1c9bb98f82abd47117b792b3fde0ab469cc76bddcf8acbf plasma-phone-components-113b2b6b47d301e65388cba30ebff032fb7044e8.tar.gz"
|