# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kemoticons pkgver=9999_git1688827274 pkgrel=0 pkgdesc="Support for emoticons and emoticons themes" arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)" depends_dev=" karchive-dev kconfig-dev kcoreaddons-dev kservice-dev " makedepends="$depends_dev doxygen extra-cmake-modules qt5-qttools-dev samurai " checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kemoticons-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build # kemoticons-kemoticontest and kemoticons-ktexttohtmlplugintest are broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "kemoticons-(kemoticon|ktexttohtmlplugin)test" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" b5ba424592675ba128a2ab17afccc54eeead93717bc585e710474a81008cc245a20fcc4144e44c47d29d62881b7f0a880679b16f04d9febd965f61212f98f914 kemoticons-5.108.0.tar.xz " options="$options !strip"