b5a159e98550cda6bd621aa9be987d092a8b33cc
[feed/video.git] / frameworks / wayland-protocols / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=wayland-protocols
4 PKG_VERSION:=1.21
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:=b99945842d8be18817c26ee77dafa157883af89268e15f4a5a1a1ff3ffa4cde5
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
19 include $(INCLUDE_DIR)/package.mk
20 include $(INCLUDE_DIR)/meson.mk
21
22 MESON_ARGS += \
23 -Dtests=false
24
25 define Package/wayland-protocols
26 SECTION:=libs
27 CATEGORY:=Video
28 SUBMENU:=Frameworks and Toolkits
29 TITLE:=wayland-protocols
30 URL:=https://wayland.freedesktop.org/
31 PKGARCH:=all
32 endef
33
34 define Package/wayland-protocols/description
35 endef
36
37 define Build/InstallDev
38 $(INSTALL_DIR) $(1)/usr/share/wayland-protocols
39 $(CP) $(PKG_INSTALL_DIR)/usr/share/wayland-protocols/* $(1)/usr/share/wayland-protocols
40 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
41 $(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/*.pc $(1)/usr/lib/pkgconfig
42 endef
43
44 define Package/wayland-protocols/install
45 $(INSTALL_DIR) $(1)/usr/share/wayland-protocols
46 $(CP) $(PKG_INSTALL_DIR)/usr/share/wayland-protocols/* $(1)/usr/share/wayland-protocols
47 endef
48
49 $(eval $(call BuildPackage,wayland-protocols))