diff options
Diffstat (limited to 'package/wayland/Makefile')
| -rw-r--r-- | package/wayland/Makefile | 53 | 
1 files changed, 53 insertions, 0 deletions
| diff --git a/package/wayland/Makefile b/package/wayland/Makefile new file mode 100644 index 000000000..24535f1cf --- /dev/null +++ b/package/wayland/Makefile @@ -0,0 +1,53 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(ADK_TOPDIR)/rules.mk + +PKG_NAME:=		wayland +PKG_VERSION:=		1.24.0 +PKG_RELEASE:=		1 +PKG_HASH:=		82892487a01ad67b334eca83b54317a7c86a03a89cfadacfef5211f11a5d0536 +PKG_DESCR:=		wayland +PKG_SECTION:=		x11/libs +PKG_BUILDDEP:=		wayland-host libffi +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 +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_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* \ +		$(IDIR_WAYLAND)/usr/lib + +include ${ADK_TOPDIR}/mk/host-bottom.mk +include $(ADK_TOPDIR)/mk/pkg-bottom.mk | 
