From 7ed7ae3080ffef253bdee60ffe53dcce941beffd Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 25 Sep 2023 16:10:43 +0300 Subject: [PATCH] freedesktop.org/XKeyboardConfig (#3416) --- .../XKeyboardConfig/package.yml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 projects/freedesktop.org/XKeyboardConfig/package.yml diff --git a/projects/freedesktop.org/XKeyboardConfig/package.yml b/projects/freedesktop.org/XKeyboardConfig/package.yml new file mode 100644 index 00000000..5ca44af9 --- /dev/null +++ b/projects/freedesktop.org/XKeyboardConfig/package.yml @@ -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}}