xkeyboard-config: add recipe

This commit is contained in:
Gerasim Troeglazov
2022-11-17 20:23:35 +10:00
parent 4aa55067bd
commit 8c7645cd70

View File

@@ -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
}