mirror of
https://github.com/openwrt/video.git
synced 2026-10-12 05:57:07 +04:00
2.24.0: added the VA_PICTURE_H264_NON_EXISTING flag; security hardening (use secure_getenv instead of getenv in va_x11.c); expanded tracing/ logging for protected session operations (dump input/output data in va_TraceProtectedSessionExecute); fixed the AV1 Doxygen documentation link. 2.24.1: include <unistd.h> for getuid/getgid in the secure_getenv fallback (build fix following the 2.24.0 secure_getenv change). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=libva
|
|
PKG_VERSION:=2.24.1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/intel/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
|
|
PKG_HASH:=0b4a3649ee8d683b9cce2ef094df4fb039d276c0cef7e49337c43d3b297b9f42
|
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
define Package/libva
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
SUBMENU:=Video
|
|
TITLE:=Video Acceleration API
|
|
URL:=https://intel.github.io/libva/
|
|
DEPENDS:=+libdrm +libwayland
|
|
endef
|
|
|
|
define Package/libva/description
|
|
Libva is an implementation for VA-API (Video Acceleration API)
|
|
|
|
VA-API is an open-source library and API specification, which provides access
|
|
to graphics hardware acceleration capabilities for video processing.
|
|
It consists of a main library and driver-specific acceleration backends for
|
|
each supported hardware vendor.
|
|
endef
|
|
|
|
MESON_ARGS += \
|
|
-Ddisable_drm=false \
|
|
-Dwith_x11=no \
|
|
-Dwith_glx=no \
|
|
-Dwith_wayland=yes \
|
|
-Dwith_win32=no \
|
|
-Dwith_legacy= \
|
|
-Denable_docs=false
|
|
|
|
define Package/libva/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so* $(1)/usr/lib/
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include/va
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/va/*.h $(1)/usr/include/va
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libva))
|