# 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=bluedevil pkgver=5.27.7 pkgrel=1 pkgdesc="Integrate the Bluetooth technology within KDE workspace and applications" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://kde.org/plasma-desktop/" license="GPL-2.0-or-later AND LGPL-2.0-or-later AND ( LGPL-2.1-only OR LGPL-3.0-only )" depends=" bluez bluez-obexd kded " makedepends=" bluez-qt-dev extra-cmake-modules kcmutils-dev kcoreaddons-dev kdbusaddons-dev kded-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev knotifications-dev kwidgetsaddons-dev kwindowsystem-dev plasma-framework-dev qt5-qtbase-dev qt5-qtdeclarative-dev samurai shared-mime-info " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac _repo_url="https://invent.kde.org/plasma/bluedevil.git" source="https://download.kde.org/$_rel/plasma/$pkgver/bluedevil-$pkgver.tar.xz" subpackages="$pkgname-doc $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/bluedevil.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=MinSizeRel \ -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=" 7000ceb0b8626065c242ea3d2c29d37d5e285107e9761e3cb54f04967a7c3760cc51baec9f30f0aff2a1872060f9b634888082b50eb4de3f613c3b889a1bfea6 bluedevil-5.27.7.tar.xz "