summaryrefslogtreecommitdiff
path: root/libva-32/Pkgfile
blob: e32475fa3bb4c68440bd3fea69f6df238846dbba (plain)
    1 # Description: Video Acceleration API to enable hardware accelerated video decode/encode.
    2 # URL: https://01.org/linuxmedia/vaapi
    3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
    4 # Depends on: libdrm-32 libglvnd-32 libva xorg-libxfixes-32
    5 
    6 name=libva-32
    7 version=2.17.0
    8 release=1
    9 source=(https://github.com/intel/libva/archive/$version/libva-$version.tar.gz)
   10 
   11 build() {
   12 	CFLAGS+=" -DENABLE_VA_MESSAGING" \
   13 	meson setup build libva-$version \
   14 		--prefix=/usr \
   15 		--libdir=/usr/lib32 \
   16 		--buildtype=plain \
   17 		--wrap-mode nodownload \
   18 		-D b_lto=true \
   19 		-D b_pie=true
   20 
   21 	meson compile -C build -j ${JOBS:-1}
   22 	DESTDIR=$PKG meson install -C build
   23 
   24 	rm -r $PKG/usr/include
   25 }

Generated by cgit