diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2021-12-24 00:02:14 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2022-02-10 13:28:20 +0100 |
commit | 9879794a9be40d98570d8983885b8090da06aa4b (patch) | |
tree | 1e08686346a6c995291cb4e52c0bd418b5d7b779 /package/wayland/Makefile | |
parent | 694fdfb78db45ffb88e48f18c703020a10bdd9fa (diff) |
proof-of-concept weston/wayland packaging
Diffstat (limited to 'package/wayland/Makefile')
-rw-r--r-- | package/wayland/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/package/wayland/Makefile b/package/wayland/Makefile new file mode 100644 index 000000000..c23942924 --- /dev/null +++ b/package/wayland/Makefile @@ -0,0 +1,39 @@ +# 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.19.0 +PKG_RELEASE:= 1 +PKG_HASH:= baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15 +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_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_CONFIGURE_ARGS+= --disable-documentation +MESON_FLAGS+= -Ddocumentation=false \ + -Dscanner=false + +WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj + +CONFIG_STYLE:= meson +BUILD_STYLE:= meson +INSTALL_STYLE:= meson + +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 |