Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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-protocols
  5. PKG_VERSION:= 1.31
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= a07fa722ed87676ec020d867714bc9a2f24c464da73912f39706eeef5219e238
  8. PKG_DESCR:= wayland protocols
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= meson-host wayland-host
  11. PKG_SITES:= https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$(PKG_VERSION)/downloads/
  12. PKG_OPTS:= dev
  13. include $(ADK_TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,WAYLAND_PROTOCOLS,wayland-protocols,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  15. WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
  16. MESON_FLAGS+= -Dtests=false
  17. CONFIG_STYLE:= meson
  18. BUILD_STYLE:= meson
  19. INSTALL_STYLE:= meson
  20. wayland-protocols-install:
  21. $(INSTALL_DIR) $(IDIR_WAYLAND_PROTOCOLS)/usr/share/wayland-protocols
  22. $(CP) $(WRKINST)/usr/share/wayland-protocols/* \
  23. $(IDIR_WAYLAND_PROTOCOLS)/usr/share/wayland-protocols/
  24. include $(ADK_TOPDIR)/mk/pkg-bottom.mk