Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= wayland
  5. PKG_VERSION:= 1.19.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15
  8. PKG_DESCR:= wayland
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= wayland-host meson-host
  11. HOST_BUILDDEP:= expat-host libxml2-host
  12. PKG_SITES:= https://wayland.freedesktop.org/releases/
  13. PKG_OPTS:= dev
  14. include $(ADK_TOPDIR)/mk/host.mk
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,WAYLAND,wayland,$(PKG_VERSION)-${PKG_RELEASE}))
  17. $(eval $(call PKG_template,WAYLAND,wayland,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  18. HOST_CONFIGURE_ARGS+= --disable-documentation
  19. MESON_FLAGS+= -Ddocumentation=false \
  20. -Dscanner=false
  21. WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
  22. CONFIG_STYLE:= meson
  23. BUILD_STYLE:= meson
  24. INSTALL_STYLE:= meson
  25. wayland-install:
  26. $(INSTALL_DIR) $(IDIR_WAYLAND)/usr/lib
  27. $(CP) $(WRKINST)/usr/lib/libwayland*.so* \
  28. $(IDIR_WAYLAND)/usr/lib
  29. include ${ADK_TOPDIR}/mk/host-bottom.mk
  30. include $(ADK_TOPDIR)/mk/pkg-bottom.mk