From 8c7645cd705c5676d9416769b0ab4fbfd4638d04 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Thu, 17 Nov 2022 20:23:35 +1000 Subject: [PATCH] xkeyboard-config: add recipe --- .../xkeyboard_config-2.37.recipe | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 x11-libs/xkeyboard-config/xkeyboard_config-2.37.recipe diff --git a/x11-libs/xkeyboard-config/xkeyboard_config-2.37.recipe b/x11-libs/xkeyboard-config/xkeyboard_config-2.37.recipe new file mode 100644 index 000000000..a2998df14 --- /dev/null +++ b/x11-libs/xkeyboard-config/xkeyboard_config-2.37.recipe @@ -0,0 +1,53 @@ +SUMMARY="X keyboard configuration database" +DESCRIPTION="This package contains configuration data used by the X Keyboard Extension (XKB), \ +which allows selection of keyboard layouts when using a graphical interface." +HOMEPAGE="https://github.com/freedesktop/xkeyboard-config" +COPYRIGHT="1996 Joseph Moss + 2002-2007 Free Software Foundation, Inc. + 2003-2004 Dmitry Golubev + 2004, Gregory Mokhin + 2006 Erdal Ronahî" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://github.com/freedesktop/xkeyboard-config/archive/refs/tags/xkeyboard-config-$portVersion.tar.gz" +CHECKSUM_SHA256="3f578ae674d9a01a6d0bba23f3ff55b9e07c335e7bb81e9eb192eb8efde0176b" +SOURCE_DIR="xkeyboard-config-xkeyboard-config-$portVersion" + +ARCHITECTURES="all" + +PROVIDES=" + xkeyboard_config = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:gcc + cmd:meson + cmd:ninja + cmd:perl + " + +BUILD() +{ + meson build \ + --buildtype=release \ + --prefix=$prefix \ + --datadir=$dataDir \ + --mandir=$manDir + ninja -C build +} + +INSTALL() +{ + ninja -C build install +} + +TEST() +{ + ninja -C build test +}