aports/community/ki18n/APKBUILD
2025-04-24 20:33:45 +02:00

51 lines
1.3 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-frameworks
maintainer="team/kde <bribbers@disroot.org>"
pkgname=ki18n
pkgver=6.13.0
pkgrel=0
pkgdesc="Advanced internationalization framework"
# armhf blocked by qt6-qtdeclarative
arch="all !armhf"
url="https://community.kde.org/Frameworks"
license="LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-or-later)"
depends="iso-codes-lang"
depends_dev="
iso-codes-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
"
makedepends="$depends_dev
extra-cmake-modules
doxygen
graphviz
qt6-qtdeclarative-private-dev
qt6-qttools-dev
samurai
"
checkdepends="xvfb-run"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/frameworks/ki18n.git"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/ki18n-$pkgver.tar.xz"
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() {
# kcatalogtest and ktimezonetest are broken
xvfb-run ctest --test-dir build -E "(kcatalog|ktimezone)test"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
f0280af487457fccf069126da753c53668386d40fc0db3285b524860c04afc800a0e15826348036fab8b0efc2c15e93adbab5081e0fd54125c98e85728767515 ki18n-6.13.0.tar.xz
"