09ce31ca20
[skip ci]: too many packages changed, build won't finish in time. ollieparanoid made sure that this builds for x86_64, aarch64, armhf, armv7. Also he tested that this boots up in qemu-amd64.
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-camera
|
|
pkgver=0_git20190208
|
|
pkgrel=0
|
|
_commit="4735a656eb57350173072f57de73c73e671884d7"
|
|
pkgdesc="Simple camera application for mobile devices"
|
|
arch="all"
|
|
url="https://community.kde.org/Plasma/Mobile"
|
|
license="GPL-3.0"
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev kpackage-dev kcoreaddons-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev"
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
|
builddir="$srcdir/$pkgname-$_commit/build"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
mkdir "$builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="ab475b420115ca6f9fc52cadae90e512f37e98afd87e0eb57992edba702ad33520b950fde76ddafe51f01d6be8c7ced9dbc0a55b4a80b69598dabcf6f75420e3 plasma-camera-4735a656eb57350173072f57de73c73e671884d7.tar.gz"
|