2020-03-23 13:49:49 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=plasma-dialer
|
2020-09-04 19:46:59 +00:00
|
|
|
pkgver=0.1_git20200829
|
2020-05-11 09:13:55 +00:00
|
|
|
pkgrel=0
|
2020-09-04 19:46:59 +00:00
|
|
|
_commit="a0f1423e8bc919d837123e4bf07ee2833f7133e6"
|
2020-03-23 13:49:49 +00:00
|
|
|
pkgdesc="A dialer for Plasma Mobile"
|
2020-07-30 16:02:20 +00:00
|
|
|
arch="all !armhf" # Blocked qt5-qtdeclarative
|
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-09-04 19:46:59 +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
|
|
|
|
"
|
2020-05-11 09:13:55 +00:00
|
|
|
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"
|
|
|
|
|
2020-09-11 13:40:04 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
|
|
|
|
# qmlplugindump fails for armv7+qemu (pmb#1970). This is purely for
|
|
|
|
# packager knowledge and doesn't affect runtime, so we can disable it.
|
|
|
|
if [ "$CARCH" = "armv7" ]; then
|
|
|
|
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" CMakeLists.txt
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2020-03-23 13:49:49 +00:00
|
|
|
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-09-04 19:46:59 +00:00
|
|
|
sha512sums="59e86967c539bd9a1a096de647be6383c1f746232ef3c555d7ed2b9b3cc14eb2294af697bd238826418b3de0bc3a4c28b62bf9a0d69155ffdedeeaa90b7d1525 plasma-dialer-a0f1423e8bc919d837123e4bf07ee2833f7133e6.tar.gz"
|