Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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.45
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 460dad72a6c84b2a7d80745bee43d96ba117f4e3dfc4d7c45f83f66469ea27df
  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/-/archive/$(PKG_VERSION)/
  12. PKG_OPTS:= dev
  13. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. include $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,WAYLAND_PROTOCOLS,wayland-protocols,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
  16. WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
  17. MESON_FLAGS+= -Dtests=false
  18. CONFIG_STYLE:= meson
  19. BUILD_STYLE:= meson
  20. INSTALL_STYLE:= meson
  21. wayland-protocols-install:
  22. $(INSTALL_DIR) $(IDIR_WAYLAND_PROTOCOLS)/usr/share/wayland-protocols
  23. $(CP) $(WRKINST)/usr/share/wayland-protocols/* \
  24. $(IDIR_WAYLAND_PROTOCOLS)/usr/share/wayland-protocols/
  25. include $(ADK_TOPDIR)/mk/pkg-bottom.mk