temp/xkeyboard-config: enable Nokia N900 keyboard (MR 5613)
upstream erroneously dropped N900 configuration in xkeyboard-config 2.42. until this is fixed upstream, fork the package. set it to build only for armv7 to reduce any possible effect on other devices in pmos. Closes: https://gitlab.com/postmarketOS/pmaports/-/issues/2923 [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
6ac02b55e8
commit
07abf676aa
33
temp/xkeyboard-config/APKBUILD
Normal file
33
temp/xkeyboard-config/APKBUILD
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Maintainer: Sicelo A. Mhlongo <absicsz@gmail.com>
|
||||||
|
pkgname=xkeyboard-config
|
||||||
|
pkgver=9999
|
||||||
|
_pkgver=2.41
|
||||||
|
pkgrel=0
|
||||||
|
pkgdesc="X keyboard configuration files"
|
||||||
|
url="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config"
|
||||||
|
arch="armv7"
|
||||||
|
license="MIT"
|
||||||
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
||||||
|
depends_dev="$pkgname"
|
||||||
|
makedepends="gettext meson perl libxslt"
|
||||||
|
checkdepends="gawk"
|
||||||
|
source="https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/archive/xkeyboard-config-$_pkgver/xkeyboard-config-xkeyboard-config-$_pkgver.tar.gz
|
||||||
|
"
|
||||||
|
builddir="$srcdir"/xkeyboard-config-xkeyboard-config-$_pkgver
|
||||||
|
|
||||||
|
build() {
|
||||||
|
abuild-meson . output
|
||||||
|
meson compile -C output
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
meson test --no-rebuild --print-errorlogs -C output
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="
|
||||||
|
bae6ce7441154b8582cb431256899d748f8f45e24a28898e767e212d1233ea55d52de608ff760f37bb9930e47f1d0d840d085fd4129927e4a1ad3ab446f5b908 xkeyboard-config-xkeyboard-config-2.41.tar.gz
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user