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_git20190224
|
|
pkgrel=0
|
|
_commit="32bcff515ef91f37b1202780344cbd184202d7dc"
|
|
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="cd2cdd2b3343850f39017fa9b10bedacec029e0071682d14d791861edf28bcaa69d6794fc2fe9a9499fbca42de56673e5b0dc3ebc077e97ff4d75c3f790f643c plasma-phone-components-32bcff515ef91f37b1202780344cbd184202d7dc.tar.gz"
|