# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kemoticons pkgver=5.69.0 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 kservice-dev kcoreaddons-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kemoticons-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="c2d2338657e94f8759ea7bdc8c3a9f2c3a2d6daa13e2b1fde072f4fe1ffd9316558c92e22073775571769640c7f617b561bbf45d88bfe814a2f93eca6bcc4116 kemoticons-5.69.0.tar.xz"