Files
alr-repo/kcodecs/alr.sh

72 lines
1.6 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name='kcodecs'
version='5.116'
release='2'
desc='Provide a collection of methods to manipulate strings using various encodings.'
desc_ru='Коллекция методов для работы со строками в различных кодировках'
homepage='https://community.kde.org/Frameworks'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('amd64')
license=('LGPL-2.0-only' 'LGPL-3.0-only')
deps=(
'libgcc'
'glibc'
'qt6-qtbase'
)
deps_alt=(
'libgcc'
'glibc-core'
'qt6-base'
)
deps_arch=("${deps[@]}" 'qt6-base')
deps_debian=(
'libgcc-s1'
'libc6'
'qt6-base-dev'
)
deps_fedora=("${deps[@]}")
deps_redos=("${deps[@]}")
deps_rhel=("${deps[@]}")
deps_rosa=("${deps[@]}")
build_deps=(
'doxygen'
'extra-cmake-modules'
'gperf'
'qt6-doctools'
'qt6-qttools-devel'
)
build_deps_alt=("${build_deps[@]}" 'qt6-tools')
build_deps_arch=("${build_deps[@]}" 'qt6-tools' 'cmake')
build_deps_debian=("${build_deps[@]}" 'qt6-tools-dev' 'cmake')
build_deps_fedora=("${build_deps[@]}" 'cmake')
build_deps_redos=("${build_deps[@]}" 'cmake')
build_deps_rhel=("${build_deps[@]}" 'cmake')
build_deps_rosa=("${build_deps[@]}" 'cmake')
sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz")
checksums=('SKIP')
build() {
cmake -B build -S $name-$version \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
cmake --build build -j$(($(nproc) - 1))
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
files() {
files-find-lib
files-find-include
files-find-share
}