wayland_protocols: add recipe

This commit is contained in:
Gerasim Troeglazov
2022-11-17 13:49:33 +10:00
parent 7675fe181b
commit ca2ed429c2

View File

@@ -0,0 +1,56 @@
SUMMARY="Wayland protocol development"
DESCRIPTION="wayland-protocols contains Wayland protocols that add functionality not available \
in the Wayland core protocol. Such protocols either add completely new functionality, or extend \
the functionality of some other protocol either in Wayland core, or some other protocol in \
wayland-protocols.
A protocol in wayland-protocols consists of a directory containing a set of XML files containing \
the protocol specification, and a README file containing detailed state and a list of maintainers."
HOMEPAGE="https://gitlab.freedesktop.org/wayland/wayland-protocols"
COPYRIGHT="2008-2013 Kristian Høgsberg
2010-2013 Intel Corporation
2013 Rafael Antognolli
2013 Jasper St. Pierre
2014 Jonas Ådahl
2014 Jason Ekstrand
2014-2015 Collabora, Ltd.
2015 Red Hat Inc."
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$portVersion/downloads/wayland-protocols-$portVersion.tar.xz"
CHECKSUM_SHA256="e25e9ab75ac736704ddefe92e8f9ac8730beab6f564db62f7ad695bba4ff9ed8"
SOURCE_DIR="wayland-protocols-$portVersion"
ARCHITECTURES="any"
PROVIDES="
wayland_protocols = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc
cmd:meson
cmd:ninja
cmd:pkg_config
"
BUILD()
{
meson build --buildtype=release \
--prefix=$prefix \
--datadir=$dataDir \
-Dtests=false
ninja -C build
}
INSTALL()
{
ninja -C build install
}