mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kcodecs
|
|
pkgver=5.103.0
|
|
pkgrel=0
|
|
pkgdesc="Provide a collection of methods to manipulate strings using various encodings"
|
|
arch="all !armhf" # armhf blocked by extra-cmake-modules
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL-2.1-only AND LGPL-2.1-or-later"
|
|
makedepends="
|
|
doxygen
|
|
extra-cmake-modules
|
|
gperf
|
|
graphviz
|
|
qt5-qttools-dev
|
|
samurai
|
|
"
|
|
checkdepends="xvfb-run"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcodecs-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
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
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "(rfc2047|kcharsets)test"
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
501b84a1ecc65af00c89f120d6fd392feb45928e6e6a06b925fceb25203e8650914819820da9d05b5532f155076f2ff53433c85197849846fb0d2d903877cf12 kcodecs-5.103.0.tar.xz
|
|
"
|