1b7d532bb9
Since the Qt upgrade, Plasma Mobile boots into a black screen, even on the current version in the master branch. Bhushan recommended we update to the latest plasma framework anyway (which is possible now due to the newer Qt version) and try to fix it from there. See #159. [skip ci].
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=plasma-camera
|
|
pkgver=0_git20181118
|
|
pkgrel=0
|
|
_commit="2783a773856083a5ff4a17d3a64955662e230020"
|
|
pkgdesc="Simple camera application for mobile devices"
|
|
arch="all"
|
|
url="https://community.kde.org/Plasma/Mobile"
|
|
license="GPL-2.0"
|
|
depends=""
|
|
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 "$builddir"/.. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
sha512sums="e61f72baaef6b5243b639d39745044c715e0b869445148c16e663a81f5bebddba14539e42b0c73edb5c1e2382e98f2c210589e6103f3b73b0c1be238b8814b8c plasma-camera-2783a773856083a5ff4a17d3a64955662e230020.tar.gz"
|