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

# source: post BLFS 2016-01-06
TARBALL=gst-plugins-ugly-$PKGVER.tar.xz
MD5SUM=0f0e30336e3155443cd5bfec5c215d56
SRC_URL=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/$TARBALL
BUNDLE=

SLACKREQ='gstreamer2 gst2-plugins-base lame libdvdnav libdvdread liba52 \
libmad libopencore-amr liborc twolame libx264'
SLACKDESC="gst2-plugins-ugly: gst2-plugins-ugly $PKGVER (Gstreamer ugly plugins)  
gst2-plugins-ugly:  
gst2-plugins-ugly: The GStreamer Ugly Plug-ins is a set of plug-ins considered 
gst2-plugins-ugly: by the GStreamer developers to have good quality and correct 
gst2-plugins-ugly: functionality, but distributing them might pose problems. 
gst2-plugins-ugly: The license on either the plug-ins or the supporting 
gst2-plugins-ugly: libraries might not be how the GStreamer developers would 
gst2-plugins-ugly: like. The code might be widely known to present patent 
gst2-plugins-ugly: problems.  
gst2-plugins-ugly: 
gst2-plugins-ugly: This set of plugins are for gstreamer2 framework.
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/gst-*
	export AMRWB_CFLAGS=-I/usr/include/opencore-amrwb
	export AMRNB_CFLAGS=-I/usr/include/opencore-amrnb
	
	./configure $CONFFLAGS --with-package-name="GStreamer Ugly Plugins $PKGVER BLFS" \
            --with-package-origin="http://www.linuxfromscratch.org/blfs/view/svn/" &&
    make $MAKEFLAGS && make install &&
	
	pkg_build_slackdesc	
}


