summaryrefslogtreecommitdiff
path: root/package/wayland/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/wayland/Makefile')
-rw-r--r--package/wayland/Makefile26
1 files changed, 20 insertions, 6 deletions
diff --git a/package/wayland/Makefile b/package/wayland/Makefile
index c23942924..796af73f6 100644
--- a/package/wayland/Makefile
+++ b/package/wayland/Makefile
@@ -4,14 +4,14 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= wayland
-PKG_VERSION:= 1.19.0
+PKG_VERSION:= 1.22.0
PKG_RELEASE:= 1
-PKG_HASH:= baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15
+PKG_HASH:= 1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842
PKG_DESCR:= wayland
PKG_SECTION:= x11/libs
-PKG_BUILDDEP:= wayland-host meson-host
-HOST_BUILDDEP:= expat-host libxml2-host
-PKG_SITES:= https://wayland.freedesktop.org/releases/
+PKG_BUILDDEP:= wayland-host
+HOST_BUILDDEP:= meson-host expat-host libxml2-host libffi-host
+PKG_SITES:= https://gitlab.freedesktop.org/wayland/wayland/-/releases/$(PKG_VERSION)/downloads/
PKG_OPTS:= dev
include $(ADK_TOPDIR)/mk/host.mk
@@ -20,16 +20,30 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,WAYLAND,wayland,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,WAYLAND,wayland,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
-HOST_CONFIGURE_ARGS+= --disable-documentation
+HOST_MESON_FLAGS+= -Ddocumentation=false \
+ -Dtests=false \
+ -Dscanner=true
MESON_FLAGS+= -Ddocumentation=false \
+ -Dtests=false \
+ -Dlibraries=true \
-Dscanner=false
WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+HOST_STYLE:= meson
CONFIG_STYLE:= meson
BUILD_STYLE:= meson
INSTALL_STYLE:= meson
+hostpost-install:
+ $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/bin
+ $(INSTALL_BIN) $(WRKBUILD)/src/wayland-scanner \
+ $(STAGING_HOST_DIR)/usr/bin
+ $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/lib/pkgconfig
+ $(CP) $(WRKBUILD)/meson-private/wayland-scanner.pc \
+ $(STAGING_HOST_DIR)/usr/lib/pkgconfig
+
+
wayland-install:
$(INSTALL_DIR) $(IDIR_WAYLAND)/usr/lib
$(CP) $(WRKINST)/usr/lib/libwayland*.so* \