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-10-03 11:43:40 +00:00
|
|
|
pkgver=0_git20191009
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2019-10-03 11:43:40 +00:00
|
|
|
_commit="8a25b3d931dc6f7c8474f37ff42ce5e2e680f91d"
|
2019-07-23 16:45:41 +00:00
|
|
|
pkgdesc="Settings application for Plasma Mobile"
|
2017-11-26 17:08:10 +00:00
|
|
|
arch="all"
|
|
|
|
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-10-03 11:43:40 +00:00
|
|
|
sha512sums="4dcf58d940630082208a2a0f340886a0a24a3b6542eb9711a7feab4ef99e7f24dc42950c852dd4889a2a7425981c8a1aa145c7e79fa6fcf45aeaac96bfea89d5 plasma-settings-8a25b3d931dc6f7c8474f37ff42ce5e2e680f91d.tar.gz"
|