2007-01-23 19:40:13 +01:00
|
|
|
# Description: X keyboard configuration database
|
2018-07-10 22:52:38 +02:00
|
|
|
# URL: https://cgit.freedesktop.org/xkeyboard-config/
|
2012-07-14 10:15:51 +02:00
|
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
2021-10-05 00:17:33 +02:00
|
|
|
# Depends on: libxslt xorg-xkbcomp
|
|
|
|
# Optional: intltool
|
2007-01-23 19:40:13 +01:00
|
|
|
|
|
|
|
name=xkeyboard-config
|
2023-02-05 11:35:06 +01:00
|
|
|
version=2.38
|
2020-04-06 15:46:21 +02:00
|
|
|
release=1
|
2022-02-13 23:01:21 +01:00
|
|
|
source=(https://www.x.org/releases/individual/data/$name/$name-$version.tar.xz)
|
2007-01-23 19:40:13 +01:00
|
|
|
|
|
|
|
build() {
|
2021-10-05 00:17:33 +02:00
|
|
|
meson setup $name-$version build \
|
2020-10-12 12:59:27 +02:00
|
|
|
--prefix=/usr \
|
2022-02-13 23:01:21 +01:00
|
|
|
--buildtype plain \
|
2021-10-05 00:17:33 +02:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2022-02-13 23:01:21 +01:00
|
|
|
-D xkb-base="/usr/share/X11/xkb" \
|
|
|
|
-D compat-rules=true \
|
2021-10-05 00:17:33 +02:00
|
|
|
-D xorg-rules-symlinks=true
|
2022-02-13 23:01:21 +01:00
|
|
|
|
2021-10-05 00:17:33 +02:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2007-07-18 18:57:24 +02:00
|
|
|
|
2022-02-13 23:01:21 +01:00
|
|
|
install -m755 -d $PKG/var/lib/xkb
|
2012-07-14 10:15:51 +02:00
|
|
|
find $PKG -name README -delete
|
2021-10-05 00:17:33 +02:00
|
|
|
rm -r $PKG/usr/share/locale
|
2007-01-23 19:40:13 +01:00
|
|
|
}
|