blob: 332dbe4eed743adc21d6380a06e2065b3efd9b1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kemoticons
pkgver=5.102.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="
c3fe24e01efe121a8db30064f32ddcd3e8532f30f7d66682f9ec1fccf725612ef5333fa992b3f177c7558d1821981a2d67f06ef6b4d095f75a60e70c2ddf1493 kemoticons-5.102.0.tar.xz
"
|