pmaports/kde/plasma-camera/APKBUILD
Minecrell a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00

31 lines
1.1 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-camera
pkgver=0_git20200305
pkgrel=0
_commit="54db509bc66ca990678d7c6fdb2e0ed88654ea96"
pkgdesc="Simple camera application for mobile devices"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://community.kde.org/Plasma/Mobile"
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 kpackage-dev kcoreaddons-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev"
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/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
make -C build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" make -C build install
}
sha512sums="66cad2ac38fc4962b564970962994acffce4ade1d289d350f51b0d45e9ccb2a09f5a317d0d04b34c6227e2b0e051af22949c3db7d7a92dd2bf3c7dbda4dbd159 plasma-camera-54db509bc66ca990678d7c6fdb2e0ed88654ea96.tar.gz"