2023-09-25 16:10:43 +03:00
|
|
|
distributable:
|
|
|
|
url: https://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/xkeyboard-config-{{version.marketing}}.tar.xz
|
|
|
|
strip-components: 1
|
|
|
|
versions:
|
|
|
|
url: https://xorg.freedesktop.org/archive/individual/data/xkeyboard-config/
|
|
|
|
match: /xkeyboard-config-\d+\.\d+\.tar\.xz/
|
|
|
|
strip:
|
|
|
|
- /^xkeyboard-config-/
|
|
|
|
- /\.tar\.xz/
|
2023-09-25 18:32:08 +03:00
|
|
|
runtime:
|
|
|
|
env:
|
2023-09-30 19:15:42 +03:00
|
|
|
XDG_CONFIG_HOME: '{{prefix}}/share/X11'
|
|
|
|
XKB_CONFIG_EXTRA_PATH: '{{prefix}}/share/locale'
|
2023-09-25 16:10:43 +03:00
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
gnu.org/gettext: '*'
|
|
|
|
mesonbuild.com: '*'
|
|
|
|
ninja-build.org: '*'
|
|
|
|
freedesktop.org/pkg-config: '*'
|
|
|
|
python.org: ^3.11
|
|
|
|
gnome.org/libxslt: '*'
|
|
|
|
script:
|
|
|
|
- meson setup build $MESON_ARGS
|
|
|
|
- meson compile -C build --verbose
|
|
|
|
- meson install -C build
|
|
|
|
env:
|
|
|
|
MESON_ARGS:
|
|
|
|
- --prefix="{{prefix}}"
|
|
|
|
- --libdir="{{prefix}}/lib"
|
|
|
|
- --buildtype=release
|
|
|
|
- --wrap-mode=nofallback
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
freedesktop.org/pkg-config: '*'
|
|
|
|
script:
|
|
|
|
- ls {{prefix}}/share/man/man7 | grep "xkeyboard-config.7"
|
|
|
|
- pkg-config --variable=xkb_base xkeyboard-config | grep "share/X11/xkb"
|
|
|
|
- pkg-config --modversion xkeyboard-config | grep {{version.marketing}}
|