pmaports/kde/plasma-settings/APKBUILD
Bart Ribbers eef97ce49d Lots of Plasma Shell improvements (#440)
* Add postmarketos-ui-plasma-mobile
* Add more required packages
* Upgrade plasma sources
* Modernize APKBUILDs
* Make it run in general
* Support RGB32 framebuffer with BGR order (thanks @zhuowei!)
2017-11-26 17:08:10 +00:00

42 lines
1.3 KiB
Text

pkgname=plasma-settings
pkgver=0_git20171031
pkgrel=0
_commit=79d8f48a5ad8be41ebd7183a3c740cff4db7d501
pkgdesc="Plasma Settings"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="GPL-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="https://github.com/kde/$pkgname/archive/$_commit.tar.gz"
builddir="$srcdir/build"
prepare() {
mkdir "$builddir"
}
build() {
cd "$builddir"
cmake "$srcdir"/$pkgname-$_commit \
-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="bb45b3c1f0cc851e68b7fceab2d58d95c0ed75287a61fdaa3605f2248e6d20e0585ed2ee398364cb1c4a15fedcdd764e2e2839702763c53116fdf3e61c2cc0a7 79d8f48a5ad8be41ebd7183a3c740cff4db7d501.tar.gz"