#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=gst-plugins-ugly
pkgver=0.10.19
pkgrel=1rl
source=("http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.xz")
docs=("about-nls" "readme" "install" "copying" "changelog" "authors" "news" "todo" "release" "requirements")
url="http://gstreamer.freedesktop.org/"
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gst-plugins-ugly (plug-ins which might have distribution problems)"
"GStreamer Ugly Plug-ins is a set of plug-ins that have good quality"
"and correct functionality, but distributing them might pose problems."
"The license on either the plug-ins or the supporting libraries might"
"not be how we'd like. The code might be widely known to present patent"
"problems."
)


build() {
	cd $startdir/src/$pkgname-$pkgver

	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-static \
		--disable-examples \
		--disable-amrnb \
		--disable-amrwb \
		--build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}