pmaports/kde/plasma-camera/APKBUILD
Bart Ribbers 40c126b925
kde/plasma*: upgrade to 5.15.4 (!298)
[ci:skip-build]: ollieparanoid made sure that this builds for x86_64,
                 armhf, armv7, aarch64
2019-04-08 21:12:15 +02:00

40 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-camera
pkgver=0_git20190403
pkgrel=0
_commit="75c5262d7437ecd75a5938e828f76b531af2ab2b"
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="ab76fd7aeaaf4c9a3bbf0624ff85ebfdddaa1c4ef4c9b860317089c3d8a48b367fd407f8fa31c3ddcbe50ca1986afbd3bfe104b546287c168b3e9aaf4c736682 plasma-camera-75c5262d7437ecd75a5938e828f76b531af2ab2b.tar.gz"