### this file is sourced not run
PKGVER=1.22.4
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 11.3 updated to SVN r890
TARBALL=gstreamer-vaapi-$PKGVER.tar.xz
MD5SUM=5521a495f1f3de5be8f3abb1c37b80a1
SRC_URL=https://gstreamer.freedesktop.org/src/gstreamer-vaapi/$TARBALL
BUNDLE=

SLACKREQ='gtk3 gstreamer2'
SLACKDESC="gst2-vaapi: gst2-vaapi $PKGVER (VAAPI plugin for Gstreamer)
gst2-vaapi: 
gst2-vaapi: The gstreamer-vaapi package contains a gstreamer plugin for hardware 
gst2-vaapi: accelerated video decode/encode for the prevailing coding standards 
gst2-vaapi: today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).
gst2-vaapi: 
gst2-vaapi: 
gst2-vaapi: 
gst2-vaapi: 
gst2-vaapi: 
gst2-vaapi: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/gst*

	mkdir build &&
	cd build &&
	meson setup $MESONFLAGS \
		-Dpackage-origin=https://www.linuxfromscratch.org/blfs/view/11.3/ \
		--wrap-mode=nodownload           \
		--libexec=/usr/$LIBDIR/gstreamer \
	.. &&
	ninja $NINJAFLAGS &&
	ninja $NINJAINSTALLFLAGS install &&

	pkg_build_slackdesc
}


