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

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

doinst() {
# compile schemas
if [ -x /usr/bin/glib-compile-schemas ]; then
	/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas > /dev/null 2>&1
fi
}

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gst-plugins-bad (a set of plug-ins that need more quality)"
"GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par"
"compared to the rest. They might be close to being good quality, but"
"they're missing something - be it a good code review, some"
"documentation, a set of tests, a real live maintainer, or some actual"
"wide use."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}