mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kemoticons
|
|
pkgver=5.105.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
|
|
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="
|
|
52e4575a3bc25463b97f33ceb0c13f810221924e57fff81adc5820252eed1e386538e03301526e7104827514b93d6b19f24452fc8ff4f9040e2648cb9336c08c kemoticons-5.105.0.tar.xz
|
|
"
|