mirror of
https://github.com/openwrt/video.git
synced 2026-05-31 06:51:54 +08:00
1b3744b6ab
Major version update from 14.0.2. Drop four downstream DRM backend patches (001-004) and the 100-timespec.patch that have all been merged upstream. Drop the now-removed meson options: -Dbackend-drm-screencast-vaapi -Dscreenshare -Dshell-fullscreen (twice listed) Add -Dshell-lua=false explicitly (default is auto, requires Lua >= 5.4 which is not available on OpenWrt). Add +vulkan-loader to runtime DEPENDS - libweston in 15.x links against libvulkan unconditionally. Link: https://gitlab.freedesktop.org/wayland/weston/-/releases/15.0.1 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
94 lines
2.8 KiB
Makefile
94 lines
2.8 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=weston
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_VERSION:=15.0.1
|
|
PKG_MAJOR_VERSION:=$(firstword $(subst .,$(space),$(PKG_VERSION)))
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/wayland/$(PKG_NAME)/-/releases/$(PKG_VERSION)/downloads/
|
|
PKG_HASH:=551d039bfb0c837ba5a4d027cdb8ee16bded0eedb789821f8025d8a64b791f6d
|
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_DEPENDS:=wayland/host
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
define Package/weston
|
|
SECTION:=video-frameworks
|
|
CATEGORY:=Video
|
|
SUBMENU:=Frameworks and Toolkits
|
|
TITLE:=weston
|
|
URL:=https://wayland.freedesktop.org/
|
|
DEPENDS:=+gstreamer1-plugins-base +libcairo +libevdev +libdisplay-info \
|
|
+libgst1allocators +libgst1app +libgst1video +libgstreamer1 +libinput \
|
|
+libmesa +libpango +libseat +libwayland +libwebp +libxkbcommon +pixman \
|
|
+seatd +vulkan-loader +wayland-protocols +xkeyboard-config
|
|
endef
|
|
|
|
define Package/weston/description
|
|
endef
|
|
|
|
MESON_ARGS += \
|
|
-Dbackend-drm=true \
|
|
-Dbackend-headless=false \
|
|
-Dbackend-pipewire=false \
|
|
-Dbackend-rdp=false \
|
|
-Dbackend-vnc=false \
|
|
-Dbackend-x11=false \
|
|
-Dbackend-wayland=true \
|
|
-Dxwayland=false \
|
|
-Dcolor-management-lcms=false \
|
|
-Dsystemd=false \
|
|
-Dpipewire=false \
|
|
-Dtest-junit-xml=false \
|
|
-Ddemo-clients=true \
|
|
-Drenderer-gl=true \
|
|
-Dshell-desktop=true \
|
|
-Dshell-ivi=true \
|
|
-Dshell-kiosk=true \
|
|
-Dshell-lua=false \
|
|
-Dremoting=false \
|
|
-Dimage-jpeg=true \
|
|
-Dimage-webp=true \
|
|
-Dtools=calibrator,debug,info,terminal,touch-calibrator \
|
|
-Dtests=false \
|
|
-Ddoc=false
|
|
|
|
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/weston/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
|
|
$(INSTALL_DIR) $(1)/usr/lib/libweston-$(PKG_MAJOR_VERSION)
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/lib/libweston-$(PKG_MAJOR_VERSION)/*.so* \
|
|
$(1)/usr/lib/libweston-$(PKG_MAJOR_VERSION)
|
|
$(INSTALL_DIR) $(1)/usr/lib/weston
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/weston/*.so* $(1)/usr/lib/weston
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin
|
|
$(INSTALL_DIR) $(1)/usr/libexec
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/libexec/* $(1)/usr/libexec
|
|
$(INSTALL_DIR) $(1)/usr/share/libweston-$(PKG_MAJOR_VERSION)/protocols
|
|
$(CP) \
|
|
$(PKG_INSTALL_DIR)/usr/share/libweston-$(PKG_MAJOR_VERSION)/protocols/* \
|
|
$(1)/usr/share/libweston-$(PKG_MAJOR_VERSION)/protocols
|
|
$(INSTALL_DIR) $(1)/usr/share/weston
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/weston/* $(1)/usr/share/weston
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,weston))
|