# 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.13 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 kbookmarks-dev kcmutils-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev knewstuff-dev kparts-dev kservice-dev kwidgetsaddons-dev kxmlgui-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" 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=" 1f7d099acda1d39382b9d36fc75e301588a4f026e46a363f0ac15f3025a37c2edd2fac20c8097761469f4259adc20874d90acae5fa7b378f2d88e88521952fd8 okteta-0.26.13.tar.xz "