void-packages/srcpkgs/kf6-ki18n/template

34 lines
1.0 KiB
Bash
Raw Normal View History

2024-04-18 07:12:17 +02:00
# Template file for 'kf6-ki18n'
pkgname=kf6-ki18n
2024-06-12 08:04:09 +02:00
version=6.3.0
2024-04-18 07:12:17 +02:00
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools gettext python3"
makedepends="qt6-declarative-devel"
depends="iso-codes"
short_desc="KDE Gettext-based UI text internationalization"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/ki18n"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
2024-06-12 08:04:09 +02:00
checksum=4d95341eba2070fec3901396eb0a68f4a8423337de5ea23fb86b0ea70c957282
2024-04-18 07:12:17 +02:00
do_check() {
cd build
# disable failing tests
2024-06-12 08:04:09 +02:00
ctest -E "kcountrytest|kcountrysubdivisiontest|ki18n-klocalizedstringtest|kcatalogtest"
2024-04-18 07:12:17 +02:00
}
kf6-ki18n-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}