2018-12-29 20:27:48 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgname=plasma-camera
|
2020-03-09 10:35:35 +00:00
|
|
|
pkgver=0_git20200305
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2020-03-09 10:35:35 +00:00
|
|
|
_commit="54db509bc66ca990678d7c6fdb2e0ed88654ea96"
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgdesc="Simple camera application for mobile devices"
|
2020-01-06 02:30:56 +00:00
|
|
|
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
2017-11-26 17:08:10 +00:00
|
|
|
url="https://community.kde.org/Plasma/Mobile"
|
2019-07-17 17:19:54 +00:00
|
|
|
license="GPL-3.0-or-later AND BSD-3-Clause"
|
2020-03-09 10:35:35 +00:00
|
|
|
depends="kirigami2 qt5-qtmultimedia gst-plugins-bad gst-plugins-good"
|
2019-05-21 15:09:25 +00:00
|
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev kpackage-dev kcoreaddons-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev"
|
2019-12-06 17:39:23 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/plasma-camera/-/archive/$_commit/plasma-camera-$_commit.tar.gz"
|
2019-07-17 17:19:54 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
build() {
|
2020-03-09 10:35:35 +00:00
|
|
|
cmake -B build \
|
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-07-17 17:19:54 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-03-09 10:35:35 +00:00
|
|
|
make -C build
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2020-03-09 10:35:35 +00:00
|
|
|
cd build
|
2017-11-26 17:08:10 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-03-09 10:35:35 +00:00
|
|
|
DESTDIR="$pkgdir" make -C build install
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
2020-03-09 10:35:35 +00:00
|
|
|
sha512sums="66cad2ac38fc4962b564970962994acffce4ade1d289d350f51b0d45e9ccb2a09f5a317d0d04b34c6227e2b0e051af22949c3db7d7a92dd2bf3c7dbda4dbd159 plasma-camera-54db509bc66ca990678d7c6fdb2e0ed88654ea96.tar.gz"
|