2020-03-23 13:49:49 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=plasma-dialer
|
2020-06-18 13:33:32 +00:00
|
|
|
pkgver=0.1_git20200618
|
2020-05-11 09:13:55 +00:00
|
|
|
pkgrel=0
|
2020-06-18 13:33:32 +00:00
|
|
|
_commit="6be48498b6b93a8ce18ce923c2ea2d8f3d357e8b"
|
2020-03-23 13:49:49 +00:00
|
|
|
pkgdesc="A dialer for Plasma Mobile"
|
2020-07-29 10:15:11 +00:00
|
|
|
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
|
2020-05-11 09:13:55 +00:00
|
|
|
url="https://invent.kde.org/plasma-mobile/plasma-dialer"
|
2020-03-23 13:49:49 +00:00
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
depends="kirigami2"
|
2020-05-11 09:13:55 +00:00
|
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kpeople-dev kdbusaddons-dev knotifications-dev pulseaudio-dev telepathy-qt-dev libphonenumber-dev"
|
|
|
|
source="https://invent.kde.org/plasma-mobile/plasma-dialer/-/archive/$_commit/plasma-dialer-$_commit.tar.gz"
|
2020-03-23 13:49:49 +00:00
|
|
|
options="!check" # No tests
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake -B build \
|
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-05-11 09:13:55 +00:00
|
|
|
cmake --build build
|
2020-03-23 13:49:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd build
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-05-11 09:13:55 +00:00
|
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
2020-03-23 13:49:49 +00:00
|
|
|
}
|
2020-06-18 13:33:32 +00:00
|
|
|
sha512sums="67e9ad2e5f80946598cbf573fd81f9e695d780d7001fc18afd736f3861ef19a7ba1227468ce2ff8d7b8adb9bcde4b1bf5c75958e824c1c52519c89ec4461e438 plasma-dialer-6be48498b6b93a8ce18ce923c2ea2d8f3d357e8b.tar.gz"
|