From ca2ed429c280e696647b2b8d59af96c2ad744ff1 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Thu, 17 Nov 2022 13:49:33 +1000 Subject: [PATCH] wayland_protocols: add recipe --- .../wayland_protocols-1.29.recipe | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 dev-libs/wayland-protocols/wayland_protocols-1.29.recipe diff --git a/dev-libs/wayland-protocols/wayland_protocols-1.29.recipe b/dev-libs/wayland-protocols/wayland_protocols-1.29.recipe new file mode 100644 index 000000000..d23b367df --- /dev/null +++ b/dev-libs/wayland-protocols/wayland_protocols-1.29.recipe @@ -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 +}