35015139f3
"plasma" and some related packages are currently missing in Alpine edge armv7 due to a cyclic dependency. Let's disable all packages depending on plasma for armv7 temporarily, to get the pmOS edge armv7 repo up again. [ci:skip-build], [ci:skip-vercheck]: only arch line changed Related: build.postmarketos.org#72
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kpublictransport
|
|
pkgver=0_git20200327
|
|
pkgrel=0
|
|
_commit="5c6f65553d87e84ae5ebbf1c6aecdb96cb68ac6d"
|
|
pkgdesc="Library to assist with accessing public transport timetables and other information"
|
|
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
|
|
url="https://github.com/kde/kpublictransport"
|
|
license="LGPL-2.0-or-later"
|
|
checkdepends="tzdata"
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev zlib-dev"
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/kde/kpublictransport/archive/$_commit/kpublictransport-$_commit.tar.gz"
|
|
subpackages="$pkgname-dev"
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
make -C build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" make -C build install
|
|
}
|
|
sha512sums="3b791bb04d12d000055a96384a61d7c61987aebf8e16be9e79b44ebd0b6339d337fea4afdb7f16c9773fb05fd91e7e3a2e4c278388393fb8ff6b43f6a769bf90 kpublictransport-5c6f65553d87e84ae5ebbf1c6aecdb96cb68ac6d.tar.gz"
|