pmaports/kde/qrca/APKBUILD
Oliver Smith 35015139f3
*/*: disable armv7 for plasma programs
"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
2020-07-29 12:19:04 +02:00

31 lines
1.1 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qrca
pkgver=0_git20200625
pkgrel=0
_commit="3098679f37be8cb0968b17e719dff487957c294f"
pkgdesc="QR-Code scanner for Plasma Mobile"
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
url="https://invent.kde.org/kde/qrca"
license="GPL-3.0-or-later"
depends="kirigami2 purpose"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev qt5-qtmultimedia-dev kirigami2-dev purpose-dev ki18n-dev kcontacts-dev kcoreaddons-dev zxing-cpp-dev"
source="https://invent.kde.org/kde/qrca/-/archive/$_commit/qrca-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="b16206ccf81ab5d300326b1078630e17d6913b924225af032c96f9fcf98d4f7b23e2dc81f0d4f3083f967b3326a128f21f1ed055d5a37de20e0c595737f5ae4e qrca-3098679f37be8cb0968b17e719dff487957c294f.tar.gz"