2018-12-29 20:27:48 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgname=plasma-settings
|
2019-12-06 17:35:17 +00:00
|
|
|
pkgver=0_git20191204
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2019-12-06 17:35:17 +00:00
|
|
|
_commit="2b9ad2da7bde81512bbe7ad420024d6cd5fe4298"
|
2019-07-23 16:45:41 +00:00
|
|
|
pkgdesc="Settings application for Plasma Mobile"
|
2020-03-21 15:22:34 +00:00
|
|
|
arch="all !armhf"
|
2017-11-26 17:08:10 +00:00
|
|
|
url="https://community.kde.org/Plasma/Mobile"
|
2019-07-23 16:45:41 +00:00
|
|
|
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
|
|
|
|
depends="kirigami2 qt5-qtquickcontrols2 kded"
|
2019-02-11 13:36:33 +00:00
|
|
|
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"
|
2019-07-23 16:45:41 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/plasma-settings/-/archive/$_commit/plasma-settings-$_commit.tar.gz"
|
|
|
|
options="!check" # No tests
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
prepare() {
|
2019-07-23 16:45:41 +00:00
|
|
|
default_prepare
|
|
|
|
|
|
|
|
mkdir "$builddir"/build
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-07-23 16:45:41 +00:00
|
|
|
cd "$builddir"/build
|
|
|
|
cmake "$builddir" \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
2017-11-26 17:08:10 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-07-23 16:45:41 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2017-11-26 17:08:10 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2019-07-23 16:45:41 +00:00
|
|
|
cd "$builddir"/build
|
2019-02-11 13:36:33 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=true ctest
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-07-23 16:45:41 +00:00
|
|
|
cd "$builddir"/build
|
2019-05-21 15:09:25 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
2019-12-06 17:35:17 +00:00
|
|
|
sha512sums="5b944efd9726a7cc95edc2348978671fa59921eb92650d637678d6688add3ae371520027c3a297325b0fdbc176fe04cc20042df47510685877c87adddb11a520 plasma-settings-2b9ad2da7bde81512bbe7ad420024d6cd5fe4298.tar.gz"
|