mirror of
https://github.com/openwrt/video.git
synced 2026-10-12 05:57:07 +04:00
Adds new and updated Wayland protocol definitions. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.49 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=wayland-protocols
|
|
PKG_VERSION:=1.49
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$(PKG_VERSION)/downloads/
|
|
PKG_HASH:=ec4c8f74942d6dff7ace8b4ce4764f0ef9ff618a935d974ea77edee2ad240b14
|
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_BUILD_DEPENDS:=wayland
|
|
HOST_BUILD_DEPENDS:=wayland/host
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
MESON_ARGS += \
|
|
-Dtests=false
|
|
|
|
define Package/wayland-protocols
|
|
SECTION:=libs
|
|
CATEGORY:=Video
|
|
SUBMENU:=Frameworks and Toolkits
|
|
TITLE:=wayland-protocols
|
|
URL:=https://wayland.freedesktop.org/
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/wayland-protocols/description
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/share/wayland-protocols
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/wayland-protocols/* $(1)/usr/share/wayland-protocols
|
|
$(INSTALL_DIR) $(1)/usr/include/wayland-protocols
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/wayland-protocols/*.h $(1)/usr/include/wayland-protocols
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/*.pc $(1)/usr/lib/pkgconfig
|
|
endef
|
|
|
|
define Package/wayland-protocols/install
|
|
$(INSTALL_DIR) $(1)/usr/share/wayland-protocols
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/wayland-protocols/* $(1)/usr/share/wayland-protocols
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,wayland-protocols))
|