#Packager: George Vlahavas pkgname=parole pkgver=0.3.0.3 pkgrel=1rl source=("http://archive.xfce.org/src/apps/parole/0.3/parole-0.3.0.3.tar.bz2" "xv_toggle.patch" "he.po") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "thanks") url=http://goodies.xfce.org/projects/applications/parole slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "parole (a modern media player for Xfce)" "Parole is a modern simple media player based on the GStreamer" "framework and written to fit well in the Xfce desktop. Parole is" "designed with simplicity, speed and resource usage in mind." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < $startdir/src/xv_toggle.patch || exit 1 # Let parole play webm files echo "video/webm" >> data/mime/mime-type-list.txt ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --disable-gtk-doc-html make || return 1 make install DESTDIR=$startdir/pkg # update some translations for i in he; do mkdir -p $startdir/pkg/usr/share/locale/$i/LC_MESSAGES msgfmt -o $startdir/pkg/usr/share/locale/$i/LC_MESSAGES/parole.mo $startdir/src/$i.po done }