# Contributor: Bart Ribbers # Maintainer: Bart Ribbers # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-other pkgname=okteta pkgver=0.26.16 pkgrel=0 pkgdesc="KDE hex editor for viewing and editing the raw data of files" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/utilities/org.kde.okteta" license="(LGPL-2.1-only OR LGPL-3.0-only) AND (GPL-2.0-only OR GPL-3.0-only) AND GFDL-1.2-only" makedepends=" extra-cmake-modules kbookmarks5-dev kcmutils5-dev kcodecs5-dev kcompletion5-dev kconfigwidgets5-dev kcrash5-dev kdbusaddons5-dev kdoctools5-dev ki18n5-dev kiconthemes5-dev kio5-dev knewstuff5-dev kparts5-dev kservice5-dev kwidgetsaddons5-dev kxmlgui5-dev qca-dev qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtscript-dev qt5-qttools-dev qt5-qtxmlpatterns-dev samurai shared-mime-info " checkdepends="xvfb-run" _repo_url="https://invent.kde.org/utilities/okteta.git" source="https://download.kde.org/stable/okteta/$pkgver/src/okteta-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_DESKTOPPROGRAM=ON cmake --build build } check() { xvfb-run ctest -j1 --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" e18f54b4c0ce665dcf91b6a338d3abae4c062fe07bfea6ca14a03b8f2ba91207bdb67e03faa2fd90eaa49ed844b2549046612b75ecb9462cb6dfac71f0c0b141 okteta-0.26.16.tar.xz "