mirror of
https://github.com/openwrt/video.git
synced 2026-05-31 06:51:54 +08:00
060d917e70
Bump from 0.18.2 to current upstream stable. Requires libdrm >= 2.4.129 and wayland-protocols 1.48+ with the enum-header generator. Link: https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.0 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
62 lines
1.7 KiB
Makefile
62 lines
1.7 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
PKG_NAME:=wlroots
|
|
PKG_VERSION:=0.20.0
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/$(PKG_NAME)/$(PKG_NAME)/-/archive/$(PKG_VERSION)
|
|
PKG_HASH:=e2d024916ed3bd011e058e78007655469e8c624fc338a28da610b087793b887b
|
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_DEPENDS:=wayland/host
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
define Package/wlroots
|
|
SECTION:=video-frameworks
|
|
CATEGORY:=Video
|
|
SUBMENU:=Frameworks and Toolkits
|
|
TITLE:=modules for building a Wayland compositor
|
|
URL:=https://gitlab.freedesktop.org/wlroots/wlroots
|
|
DEPENDS:=+libmesa +libdisplay-info +libdrm +libinput +libseat +libxkbcommon \
|
|
+libudev +pixman +libwayland +xkeyboard-config
|
|
endef
|
|
|
|
define Package/wlroots/description
|
|
Pluggable, composable, unopinionated modules for building a Wayland compositor;
|
|
or about 60,000 lines of code you were going to write anyway.
|
|
endef
|
|
|
|
MESON_ARGS += \
|
|
-Dxcb-errors=disabled \
|
|
-Dxwayland=disabled \
|
|
-Dexamples=false \
|
|
-Drenderers=gles2 \
|
|
-Dbackends=drm,libinput \
|
|
-Dallocators=gbm \
|
|
-Dsession=enabled \
|
|
-Dcolor-management=disabled \
|
|
-Dlibliftoff=disabled
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so* $(1)/usr/lib/
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig
|
|
endef
|
|
|
|
define Package/wlroots/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,wlroots))
|