libgpg-error: fix riscv64
[openadk.git] / package / wayland-protocols / Makefile
blob9c1f8ad1da2fc47964ce6ea0140b9a7fa11deacc
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= wayland-protocols
7 PKG_VERSION:= 1.31
8 PKG_RELEASE:= 1
9 PKG_HASH:= a07fa722ed87676ec020d867714bc9a2f24c464da73912f39706eeef5219e238
10 PKG_DESCR:= wayland protocols
11 PKG_SECTION:= x11/libs
12 PKG_BUILDDEP:= meson-host wayland-host
13 PKG_SITES:= https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$(PKG_VERSION)/downloads/
14 PKG_OPTS:= dev
16 include $(ADK_TOPDIR)/mk/package.mk
18 $(eval $(call PKG_template,WAYLAND_PROTOCOLS,wayland-protocols,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
20 WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
22 MESON_FLAGS+= -Dtests=false
24 CONFIG_STYLE:= meson
25 BUILD_STYLE:= meson
26 INSTALL_STYLE:= meson
28 wayland-protocols-install:
29 $(INSTALL_DIR) $(IDIR_WAYLAND_PROTOCOLS)/usr/share/wayland-protocols
30 $(CP) $(WRKINST)/usr/share/wayland-protocols/* \
31 $(IDIR_WAYLAND_PROTOCOLS)/usr/share/wayland-protocols/
33 include $(ADK_TOPDIR)/mk/pkg-bottom.mk