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

pkgname=gnome-mplayer
pkgver=1.0.8
pkgrel=1gv
source=("https://gnome-mplayer.googlecode.com/files/gnome-mplayer-$pkgver.tar.gz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=https://code.google.com/p/gnome-mplayer/
options=('noautodotnew')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"gnome-mplayer (A GTK2 interface for MPlayer)"
"gnome-mplayer is a GTK2 interface to MPlayer. The power of MPlayer"
"combined with a friendly interface for your desktop; You can play all"
"your multimedia, organize, sort and create playlists, take screenshots"
"while playing videos, be notified about media changes." 
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure \
		--prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--disable-schemas-install \
		--disable-gtk3 \
		--with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}