#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=gst123
pkgver=0.3.1
pkgrel=1rl
source=("http://space.twc.de/~stefan/gst123/gst123-$pkgver.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://space.twc.de/~stefan/gst123.php

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gst123 (a GStreamer command line multimedia player)"
"gst123 is designed to be a more flexible command line player in the"
"spirit of ogg123 and mpg123, based on gstreamer. It plays all file"
"formats gstreamer understands, so if you have a music collection which"
"contains different file formats, like flac, ogg and mp3, you can use"
"gst123 to play all your music files."
"Since gst123-0.1.0 support for watching videos has been added; however"
"gst123 should run fine in situations where no X11 display is"
"available."
)


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