mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
freedesktop.org/XKeyboardConfig (#3416)
This commit is contained in:
parent
02e46af1d3
commit
7ed7ae3080
1 changed files with 35 additions and 0 deletions
35
projects/freedesktop.org/XKeyboardConfig/package.yml
Normal file
35
projects/freedesktop.org/XKeyboardConfig/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
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/
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
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}}
|
Loading…
Reference in a new issue