2019-06-17 13:42:31 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=spacebar
|
2021-01-24 14:06:14 +00:00
|
|
|
pkgver=0_git20210122
|
2019-12-05 14:38:51 +00:00
|
|
|
pkgrel=0
|
2021-01-24 14:06:14 +00:00
|
|
|
_commit="7303da304589affbdefc1f3eae7628ed7f78458a"
|
2019-09-07 21:48:56 +00:00
|
|
|
pkgdesc="Collection of stuff for running IM on Plasma Mobile"
|
2021-01-24 14:06:14 +00:00
|
|
|
url="https://invent.kde.org/plasma-mobile/spacebar"
|
2020-07-30 16:02:20 +00:00
|
|
|
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
2020-06-18 08:04:05 +00:00
|
|
|
license="GPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL"
|
|
|
|
depends="kirigami2"
|
2020-11-03 10:30:58 +00:00
|
|
|
makedepends="
|
|
|
|
extra-cmake-modules
|
|
|
|
kcontacts-dev
|
|
|
|
ki18n-dev
|
|
|
|
kirigami2-dev
|
|
|
|
knotifications-dev
|
|
|
|
kpeople-dev
|
|
|
|
qt5-qtbase-dev
|
|
|
|
qt5-qtdeclarative-dev
|
|
|
|
telepathy-qt-dev
|
|
|
|
"
|
2021-01-24 14:06:14 +00:00
|
|
|
source="https://invent.kde.org/plasma-mobile/spacebar/-/archive/$_commit/spacebar-$_commit.tar.gz"
|
2020-06-18 08:04:05 +00:00
|
|
|
options="!check" # No tests
|
2019-06-17 13:42:31 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-06-17 13:42:31 +00:00
|
|
|
build() {
|
2020-03-18 16:31:10 +00:00
|
|
|
cmake -B build \
|
2020-02-22 14:00:45 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
2019-06-17 13:42:31 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-06-18 08:04:05 +00:00
|
|
|
cmake --build build
|
2019-06-17 13:42:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2021-01-24 14:06:14 +00:00
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
2019-06-17 13:42:31 +00:00
|
|
|
}
|
|
|
|
|
2021-01-24 14:06:14 +00:00
|
|
|
sha512sums="e2c7c297201af004f3ea736c8d56d6130101e868bf085e3650d7c1b011ef80f496e6a0b6a685abc85b3fae944f07244844d63f3af6b219456e6e7373396cf1a7 spacebar-7303da304589affbdefc1f3eae7628ed7f78458a.tar.gz"
|