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

# source: BLFS SVN 09102018
TARBALL=gst-plugins-base-$PKGVER.tar.xz
MD5SUM=a5f074ec93b58792afee5f7fe3cd4f3a
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
#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*
	
	./configure $CONFFLAGS --with-package-name="GStreamer $PKGVER BLFS" \
            --with-package-origin="http://www.linuxfromscratch.org/blfs/view/svn/" --disable-maintainer-mode --disable-debug --disable-examples &&
    make $MAKEFLAGS && make 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
	
}


