#Maintainer: George Vlahavas (vlahavas~AT~gmail~DOT~com) pkgname=totem-gstreamer pkgver=2.26.3 pkgrel=1gv arch=i486 source=("http://ftp.acc.umu.se/pub/GNOME/sources/totem/2.26/totem-2.26.3.tar.bz2" "http://pnboy.pinguix.com/gapan/sources/$pkgname/totem-2.24.3-nohelp.patch") docs=("readme" "install" "copying*" "changelog" "authors" "news" "todo") url=www.gnome.org options=('noautodotnew') doinst() { # update the mime desktop database if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database -q fi # update the mime database if [ -x usr/bin/update-mime-database ]; then usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "totem-gstreamer - a movie player that uses the gstreamer backend" "Totem is the official movie player of the GNOME desktop environment." "This package is build using the gstreamer backend. Totem features a" "playlist, a full-screen mode, seek and volume controls, as well as" "keyboard navigation. It also provides thumbnailer functionality to" "file managers like nautilus." ) build() { cd $startdir/src/totem-$pkgver patch -p1 < $startdir/src/totem-2.24.3-nohelp.patch ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --disable-python --enable-browser-plugins --disable-scrollkeeper --disable-easy-codec-installation --disable-nautilus --disable-static --disable-schemas-install --with-omf-dir=/usr/share/omf --with-gconf-source="xml::/etc/gconf/gconf.xml.defaults" --with-dbus --with-plugins=thumbnail,ontop make || return 1 make install DESTDIR=$startdir/pkg # gconf stuff export GCONF_CONFIG_SOURCE="xml::$startdir/pkg/etc/gconf/gconf.xml.defaults" if [ -d $startdir/pkg/etc/gconf/schemas ]; then install -v -d -m755 $startdir/pkg/etc/gconf/gconf.xml.defaults SCHEMAS=$startdir/pkg/etc/gconf/schemas for schema in $SCHEMAS/*.schemas; do gconftool-2 --makefile-install-rule $schema done # Reset / Verify correct permissions ( cd $startdir/pkg/etc/gconf ; find . -type d -exec chmod 755 {} \; ) ( cd $startdir/pkg/etc/gconf ; find . -type f -exec chmod 644 {} \; ) fi # enable youtube and bbc plugins by default #gconftool-2 --direct --config-source xml::$startdir/pkg/etc/gconf/gconf.xml.defaults --type boolean --set /apps/totem/plugins/youtube/active true #gconftool-2 --direct --config-source xml::$startdir/pkg/etc/gconf/gconf.xml.defaults --type boolean --set /apps/totem/plugins/jamendo/active true # Remove help files (we removed the menu entry anyway) rm -rf $startdir/pkg/usr/share/gnome rm -rf $startdir/pkg/usr/share/omf rm -rf $startdir/pkg/usr/share/gtk-doc }