### this file is sourced not run
PKGVER=1.14.4
PKGBUILD=1
PKGARCH=i686

# source: post BLFS 8.3 2018-10-16
TARBALL=gst-plugins-ugly-$PKGVER.tar.xz
MD5SUM=90768a0074db071175ce980064d9a1ac
SRC_URL=http://gstreamer.freedesktop.org/src/gst-plugins-ugly/$TARBALL
BUNDLE=

SLACKREQ='gstreamer2_32 gst2-plugins-base32 lame32 libdvdnav32 libdvdread32 liba52_32 \
libmad32 libopencore-amr32 liborc32 twolame32 libx264_32'
SLACKDESC="gst2-plugins-ugly32: gst2-plugins-ugly32 $PKGVER (Gstreamer ugly plugins)  
gst2-plugins-ugly32:  
gst2-plugins-ugly32: The GStreamer Ugly Plug-ins is a set of plug-ins considered 
gst2-plugins-ugly32: by the GStreamer developers to have good quality and correct 
gst2-plugins-ugly32: functionality, but distributing them might pose problems. 
gst2-plugins-ugly32: The license on either the plug-ins or the supporting 
gst2-plugins-ugly32: libraries might not be how the GStreamer developers would 
gst2-plugins-ugly32: like. The code might be widely known to present patent 
gst2-plugins-ugly32: problems.  
gst2-plugins-ugly32: This set of plugins are for gstreamer2 framework.
gst2-plugins-ugly32: This contains 32-bit version of the library
"

### default pkg_download
### default pkg_prepare
### package - only collect the libraries
pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share
}

### 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	
}


