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

# source: BLFS SVN 09102018
TARBALL=gst-plugins-good-$PKGVER.tar.xz
MD5SUM=fd3c475bf35b742d6a523c744a2649a3
SRC_URL=http://distro.ibiblio.org/fatdog/source/800/$TARBALL
#SRC_URL=http://gstreamer.freedesktop.org/src/gst-plugins-good/$TARBALL
BUNDLE=

SLACKREQ='gstreamer2 gst2-plugins-base cairo libflac libjpeg-turbo 
libpng libspeex libjack2' # v4l-utils not included
SLACKDESC="gst2-plugins-good: gst2-plugins-good $PKGVER (Gstreamer good plugins)  
gst2-plugins-good:  
gst2-plugins-good: The GStreamer Good Plug-ins is a set of plug-ins considered 
gst2-plugins-good: by the GStreamer developers to have good quality code, 
gst2-plugins-good: correct functionality, and the preferred license (LGPL for 
gst2-plugins-good: the plug-in code, LGPL or LGPL-compatible for the supporting 
gst2-plugins-good: library). A wide range of video and audio decoders, 
gst2-plugins-good: encoders, and filters are included.  
gst2-plugins-good: 
gst2-plugins-good: This set of plugins are for gstreamer2 framework.
gst2-plugins-good:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/gst*
	
	# don't use libv4l2, sometimes it's buggy
	
	./configure $CONFFLAGS --with-package-name="GStreamer Good Plugins $PKGVER BLFS" \
            --with-package-origin="http://www.linuxfromscratch.org/blfs/view/svn/" \
            --disable-jack --disable-oss4 --with-libv4l2=no --disable-maintainer-mode --disable-debug --disable-examples &&
    make $MAKEFLAGS && make install &&
	pkg_build_slackdesc
}


