{% set version = "2.38" %}

package:
  name: xkeyboard-config
  version: {{ version }}

source:
  url: http://www.x.org/releases/individual/data/xkeyboard-config/xkeyboard-config-{{ version }}.tar.xz
  sha256: 0690a91bab86b18868f3eee6d41e9ec4ce6894f655443d490a2184bfac56c872

build:
  number: 0
  skip: true  # [not linux]

requirements:
  build:
    - {{ compiler('c') }}
    - meson
    - make
  host:
    - xorg-xproto
    - xorg-libx11

test:
  commands:
    - test -f "${PREFIX}/share/X11/xkb/geometry/hp"

about:
  home: https://www.freedesktop.org/wiki/Software/XKeyboardConfig/
  license: MIT
  license_family: MIT
  license_file: COPYING
  summary: The non-arch keyboard configuration database for X Windows
  description: |
    The goal is to provide the consistent, well-structured, frequently
    released open source of X keyboard configuration data for X Window
    System implementations (free, open source and commercial).
    The project is targeted to XKB-based systems.
  doc_url: https://www.freedesktop.org/wiki/Software/XKeyboardConfig/
  dev_url: https://www.freedesktop.org/wiki/Software/XKeyboardConfig/Development/

extra:
  recipe-maintainers:
    - scopatz
    - hmaarrfk
