pmaports/kde/plasma-settings/APKBUILD
Bart Ribbers 5267dd0301
kde/*: cleanups and updated git-based packages (!375)
All packages are now built as RelWithDebugInfo rather than Release. This
should make debugging these packages easier.

I've also updated all Plasma packages without releases (git-based) to
their latest masters. plasma-angelfish now has it's first release, and a
new dependency called "purpose".

Calindori had a typo in the pkgver causing it to look like it was
released in the 30th month of the year. Because of this, the old package
will have to explicitly be removed from the repository. Let's hope no
one uses that package yet, or they will have to wait till 2020 before
it'll get updated again on their system lol.

[skip ci]: it does not finish in time. ollieparanoid made sure that it
           builds on all arches. Usually we would use [ci:skip-build]
           instead of [skip-ci], but now that [ci:skip-build] also
           verifies that downloading sources is working as expected,
           and for some reason gitlab CI can't download one source file
           even when retrying [1] (cache on their end?), let's skip it
           this time.

[1] https://gitlab.com/postmarketOS/pmaports/-/jobs/219539514
2019-05-26 19:49:43 +02:00

39 lines
1.5 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-settings
pkgver=0_git20190504
pkgrel=0
_commit="8d9acc969ec02ee6041ced4fef63c9cc2fe66695"
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 .. \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=true ctest
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="14adc4c031748d319efa1a888d0274606b590aa6d2fea4ade5d43c3736f2ddb897d93104efc41b6d67b4d5e87f47fe3e360a5b776c385338cf87da859011d171 plasma-settings-8d9acc969ec02ee6041ced4fef63c9cc2fe66695.tar.gz"