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

# source: BLFS 11.3 updated to SVN r890
TARBALL=gst-plugins-base-$PKGVER.tar.xz
MD5SUM=7d495970b0b7078c50d064d228b8d93f
SRC_URL=http://gstreamer.freedesktop.org/src/gst-plugins-base/$TARBALL
BUNDLE=

SLACKREQ='gstreamer2 pango alsa-lib libogg libtheora libvorbis'
SLACKDESC="gst2-plugins-base: gst2-plugins-base $PKGVER (Basic Gstreamer plugins)  
gst2-plugins-base:  
gst2-plugins-base: The GStreamer Base Plug-ins is a well-groomed and 
gst2-plugins-base: well-maintained collection of GStreamer plug-ins and 
gst2-plugins-base: elements, spanning the range of possible types of elements 
gst2-plugins-base: one would want to write for GStreamer. It also contains 
gst2-plugins-base: helper libraries and base classes useful for writing 
gst2-plugins-base: elements. A wide range of video and audio decoders, 
gst2-plugins-base: encoders, and filters are included.  
gst2-plugins-base: 
gst2-plugins-base: This set of plugins are for gstreamer2 framework.
"

### 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/ \
		-Dpackage-name="GStreamer $PKGVER BLFS" \
		--wrap-mode=nodownload           \
		--libexec=/usr/$LIBDIR/gstreamer \
	.. &&
	ninja $NINJAFLAGS &&
	ninja $NINJAINSTALLFLAGS install &&

	pkg_build_slackdesc &&

	# multilib
	mv -v /usr/share/gir-1.0/* /usr/share/gir-1.0-$USE_ARCH	&&
	rm -r /usr/share/gir-1.0
	
}


