wayland-protocols: update to version 1.24
[feed/video.git] / frameworks / wayland-protocols / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=wayland-protocols
4 PKG_VERSION:=1.24
5 PKG_RELEASE:=$(AUTORELEASE)
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
8 PKG_SOURCE_URL:=https://wayland.freedesktop.org/releases/
9 PKG_HASH:=bff0d8cffeeceb35159d6f4aa6bab18c807b80642c9d50f66cba52ecf7338bc2
10
11 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
12 PKG_LICENSE:=MIT
13 PKG_LICENSE_FILES:=COPYING
14
15 PKG_INSTALL:=1
16
17 PKG_BUILD_DEPENDS:=wayland
18 HOST_BUILD_DEPENDS:=wayland/host
19
20 include $(INCLUDE_DIR)/package.mk
21 include $(INCLUDE_DIR)/meson.mk
22
23 MESON_ARGS += \
24 -Dtests=false
25
26 define Package/wayland-protocols
27 SECTION:=libs
28 CATEGORY:=Video
29 SUBMENU:=Frameworks and Toolkits
30 TITLE:=wayland-protocols
31 URL:=https://wayland.freedesktop.org/
32 PKGARCH:=all
33 endef
34
35 define Package/wayland-protocols/description
36 endef
37
38 define Build/InstallDev
39 $(INSTALL_DIR) $(1)/usr/share/wayland-protocols
40 $(CP) $(PKG_INSTALL_DIR)/usr/share/wayland-protocols/* $(1)/usr/share/wayland-protocols
41 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
42 $(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/*.pc $(1)/usr/lib/pkgconfig
43 endef
44
45 define Package/wayland-protocols/install
46 $(INSTALL_DIR) $(1)/usr/share/wayland-protocols
47 $(CP) $(PKG_INSTALL_DIR)/usr/share/wayland-protocols/* $(1)/usr/share/wayland-protocols
48 endef
49
50 $(eval $(call BuildPackage,wayland-protocols))