From 1ecff7f605ea1f3d3b840c1a4061764fc1ce3e18 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 22 Nov 2016 16:24:50 +0100 Subject: add new packages libva/libva-intel-driver --- package/libva/Makefile | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 package/libva/Makefile (limited to 'package/libva/Makefile') diff --git a/package/libva/Makefile b/package/libva/Makefile new file mode 100644 index 000000000..832109b70 --- /dev/null +++ b/package/libva/Makefile @@ -0,0 +1,37 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(ADK_TOPDIR)/rules.mk + +PKG_NAME:= libva +PKG_VERSION:= 1.7.3 +PKG_RELEASE:= 1 +PKG_HASH:= 22bc139498065a7950d966dbdb000cad04905cbd3dc8f3541f80d36c4670b9d9 +PKG_DESCR:= video acceleration api library +PKG_SECTION:= libs/video +PKG_URL:= https://www.freedesktop.org/wiki/Software/vaapi/ +PKG_SITES:= https://www.freedesktop.org/software/vaapi/releases/libva/ +PKG_OPTS:= dev + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,LIBVA,libva,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) + +CONFIGURE_ARGS+= --disable-wayland \ + --disable-docs \ + --enable-glx \ + --enable-drm \ + --enable-x11 \ + --with-drivers-path=/usr/lib/va/drivers + +libva-install: + $(INSTALL_DIR) $(IDIR_LIBVA)/usr/lib + $(CP) $(WRKINST)/usr/lib/libva*.so* \ + $(IDIR_LIBVA)/usr/lib + $(INSTALL_DIR) $(IDIR_LIBVA)/usr/bin + $(CP) $(WRKINST)/usr/bin/* \ + $(IDIR_LIBVA)/usr/bin + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk -- cgit v1.2.3