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

pkgname=gst-plugins-ugly
pkgver=1.18.6
pkgrel=1gv
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."
""
"This is for gstreamer version 1.x"
)


build() {
	cd $startdir/src/gst-plugins-ugly-$pkgver

	meson setup \
		--prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--infodir=/usr/info \
		--localstatedir=/var \
		--mandir=/usr/man \
		--sysconfdir=/etc \
		--strip \
		build
	meson compile -C build -j $numjobs
	meson install -C build --destdir $startdir/pkg/	
}