### this file is sourced not run
PKGVER=1.4
PKGBUILD=1
PKGARCH=i686

# source: BLFS 7.5
TARBALL=libvdpau-$PKGVER.tar.bz2
MD5SUM=a664cc2cfe9c30536d2e11c928cbea35
SRC_URL=https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$PKGVER/$TARBALL
BUNDLE=

SLACKREQ=libX11_32 # xorg libraries
SLACKDESC="libvdpau32: libvdpau $PKGVER (Video Playback Acceleration library)"'
libvdpau32:  
libvdpau32: VDPAU (Video Decode and Presentation API for Unix) is an open source 
libvdpau32: library (libvdpau) and API originally designed by Nvidia for its 
libvdpau32: GeForce 8 series and later GPU hardware targeted at the X Window 
libvdpau32: System This VDPAU API allows video programs to offload portions of 
libvdpau32: the video decoding process and video post-processing to the GPU 
libvdpau32: video-hardware.  
libvdpau32: 
libvdpau32: This contains 32-bit version of the library. 
libvdpau32:
'

### default pkg_download
### default pkg_prepare 
### package - only collect the libraries
pkg_package() {
	rm -rf etc bin sbin usr/bin usr/sbin usr/include usr/share
}

### build
pkg_build() {	
	MESONFLAGS="$MESONFLAGS --prefix=$XORG_PREFIX"
	pkg_build_meson && pkg_build_slackdesc
}
