pmaports/kde/plasma-settings/APKBUILD
Bart Ribbers 1b7d532bb9
kde/*: upgrade plasma framework to 5.14.4 (!120)
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].
2019-01-02 07:28:31 +01:00

44 lines
1.5 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-settings
pkgver=0_git20181205
pkgrel=0
_commit="bd252d8caf4b0d296fdd8aaac83234fc14bded70"
pkgdesc="Plasma Settings"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="LGPL-2.0+"
depends="kirigami2 kded"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kwindowsystem-dev kcoreaddons-dev
solid-dev kconfig-dev kauth-dev kdbusaddons-dev ki18n-dev kdeclarative-dev
kio-dev kdelibs4support-dev karchive-dev kservice-dev kpackage-dev kconfigwidgets-dev
kbookmarks-dev kcrash-dev kcompletion-dev kdesignerplugin-dev kdesignerplugin
kjobwidgets-dev kdoctools-dev kemoticons-dev kguiaddons-dev kitemmodels-dev
kinit-dev knotifications-dev kparts-dev kunitconversion-dev plasma-framework-dev"
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit/build"
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="ff255ef8f17a462eb6bd6c4eae6a731cc70368677da9cf7f3990495b59636bbacdf3b8815589ffeb8729dc1b8cb45430db299886fc95c9d3b1049d49a0fc55df plasma-settings-bd252d8caf4b0d296fdd8aaac83234fc14bded70.tar.gz"