0c7bf2ff3a
This workaround made plasma-workspace compile for armhf when I just tested it.
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=ki18n
|
|
pkgver=5.45.0
|
|
_pkgver=5.44.0
|
|
pkgrel=2
|
|
pkgdesc='Advanced internationalization framework'
|
|
arch="all"
|
|
url='https://community.kde.org/Frameworks'
|
|
license="LGPL-2.1"
|
|
depends=""
|
|
depends_dev="qt5-qtdeclarative-dev qt5-qtscript-dev"
|
|
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
|
|
source="https://download.kde.org/stable/frameworks/${_pkgver%.*}/${pkgname}-${_pkgver}.tar.xz
|
|
pretend-to-be-5.45.0.patch"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
options="!check"
|
|
|
|
builddir="$srcdir/ki18n-$_pkgver"
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="92acb91807970f83182f35a3f356e8b9b70e7b3e1b07347ab4f16ef3200d5d95b6819218891b66bd43eee3efa5c17ee4c91c195ef1a05440b6dec7c34747ffa5 ki18n-5.44.0.tar.xz
|
|
8b1e53f302a4a8535d62ae124326e0756cb5c968f52a4a252e325aafba1c5f8dcc944ab1b895a3c444f0819efd604dee114fecbf8a547107c8cc2aa17c868bab pretend-to-be-5.45.0.patch"
|