python3: update to 3.11.10
[openadk.git] / package / wayland / Makefile
bloba546ebb51502ae94a7f926ffa1342ab1e781b3d8
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
7 PKG_VERSION:= 1.23.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 05b3e1574d3e67626b5974f862f36b5b427c7ceeb965cb36a4e6c2d342e45ab2
10 PKG_DESCR:= wayland
11 PKG_SECTION:= x11/libs
12 PKG_BUILDDEP:= wayland-host
13 HOST_BUILDDEP:= meson-host expat-host libxml2-host libffi-host
14 PKG_SITES:= https://gitlab.freedesktop.org/wayland/wayland/-/releases/$(PKG_VERSION)/downloads/
15 PKG_OPTS:= dev
17 include $(ADK_TOPDIR)/mk/host.mk
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call HOST_template,WAYLAND,wayland,$(PKG_VERSION)-${PKG_RELEASE}))
21 $(eval $(call PKG_template,WAYLAND,wayland,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
23 HOST_MESON_FLAGS+= -Ddocumentation=false \
24 -Dtests=false \
25 -Dscanner=true
26 MESON_FLAGS+= -Ddocumentation=false \
27 -Dtests=false \
28 -Dlibraries=true \
29 -Dscanner=false
31 WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
33 HOST_STYLE:= meson
34 CONFIG_STYLE:= meson
35 BUILD_STYLE:= meson
36 INSTALL_STYLE:= meson
38 hostpost-install:
39 $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
40 $(INSTALL_BIN) $(WRKBUILD)/src/wayland-scanner \
41 $(STAGING_HOST_DIR)/usr/bin
42 $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/lib/pkgconfig
43 $(CP) $(WRKBUILD)/meson-private/wayland-scanner.pc \
44 $(STAGING_HOST_DIR)/usr/lib/pkgconfig
47 wayland-install:
48 $(INSTALL_DIR) $(IDIR_WAYLAND)/usr/lib
49 $(CP) $(WRKINST)/usr/lib/libwayland*.so* \
50 $(IDIR_WAYLAND)/usr/lib
52 include ${ADK_TOPDIR}/mk/host-bottom.mk
53 include $(ADK_TOPDIR)/mk/pkg-bottom.mk