48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=spacebar
|
|
pkgver=0_git20201103
|
|
pkgrel=0
|
|
_commit="025d265297f9fb05a8e735ae32c1f25716424d20"
|
|
pkgdesc="Collection of stuff for running IM on Plasma Mobile"
|
|
url="https://phabricator.kde.org/source/spacebar/"
|
|
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
|
license="GPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL"
|
|
depends="kirigami2"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcontacts-dev
|
|
ki18n-dev
|
|
kirigami2-dev
|
|
knotifications-dev
|
|
kpeople-dev
|
|
qt5-qtbase-dev
|
|
qt5-qtdeclarative-dev
|
|
telepathy-qt-dev
|
|
"
|
|
source="https://github.com/kde/spacebar/archive/$_commit/spacebar-$_commit.tar.gz"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
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
|
|
}
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
|
|
sha512sums="0686148bf9d6630bc4d344c5d1898856796a489ab268cfbe532b03f97b8cb7afde6ce6ffc1fbd2adebdcb3d226d7ed6a58275702fb1abb7f5683419660831eda spacebar-025d265297f9fb05a8e735ae32c1f25716424d20.tar.gz"
|