# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-plasma pkgname=oxygen pkgver=5.27.7 pkgrel=1 pkgdesc="Artwork, styles and assets for the Oxygen visual style for the Plasma Desktop" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/plasma-desktop/" license="LGPL-2.1-or-later" makedepends=" extra-cmake-modules frameworkintegration-dev kcmutils-dev kcompletion-dev kconfig-dev kdecoration-dev kguiaddons-dev ki18n-dev kservice-dev kwayland-dev kwidgetsaddons-dev kwindowsystem-dev qt5-qtbase-dev samurai xcb-util-dev " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac _repo_url="https://invent.kde.org/plasma/oxygen.git" source="https://download.kde.org/$_rel/plasma/$pkgver/oxygen-$pkgver.tar.xz" subpackages="$pkgname-lang" _commit="" snapshot() { clean makedepends="git xz rsync tar" deps mkdir -p "$srcdir" && cd "$srcdir" git clone --filter=tree:0 https://invent.kde.org/plasma/oxygen.git . git archive --format tar --prefix=$pkgname/ $_commit > ../$pkgname-$_commit.tar xz -vv -T0 -9 -e ../$pkgname-$_commit.tar } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" c28b4988d27c8307a09a4d5f3d11004cb395592d1792746095152b6ca78f5d84008674f119700eba0b97a8bcb7e5ff010946092e51ff31b911734eb5f7dbc536 oxygen-5.27.7.tar.xz "