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
31 lines
1.2 KiB
Text
31 lines
1.2 KiB
Text
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-camera
|
|
pkgver=1.0_git20200618
|
|
pkgrel=0
|
|
_commit="af2638fb6a1a1642a3b9b3320ca0ac352fdc0e78"
|
|
pkgdesc="Camera application for Plasma Mobile"
|
|
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
|
|
url="https://invent.kde.org/plasma-mobile/plasma-camera"
|
|
license="GPL-3.0-or-later AND BSD-3-Clause"
|
|
depends="kirigami2 qt5-qtmultimedia gst-plugins-bad gst-plugins-good"
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev kcoreaddons-dev ki18n-dev"
|
|
source="https://invent.kde.org/plasma-mobile/plasma-camera/-/archive/$_commit/plasma-camera-$_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="30ec7046e66c79a0eee0233502a5a46b1733886a1ab862d2f7ddcedea9edf4c43a6cd0479b3b7f9f831595478dc09b7d18edcc1592124284332086f99fbfdcdd plasma-camera-af2638fb6a1a1642a3b9b3320ca0ac352fdc0e78.tar.gz"
|