The actual plugin is somewhat limited right now, supporting only the most common streaming video formats. Still, works quite effectively... The only problem I can find is that the embedded config button doesn't seem to do anything. Given what I've seen from Tagtool and the behavior of its buttons, I wonder if this is an LDFLAGS issue...
Anyway:
# $Id: PKGBUILD,v 1.1 2005/05/31 15:55:00 jgc Exp $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=totem-xine
pkgver=1.1.2
pkgrel=1
url="http://www.hadess.net/totem.php3"
pkgdesc="GNOME2 integrated movie player based on Xine"
depends=('xine-lib' 'nautilus-cd-burner' 'musicbrainz' 'iso-codes')
makedepends=('intltool')
install=totem.install
conflicts=totem
source=(http://ftp.gnome.org/pub/gnome/sources/totem/1.0/totem-$pkgver.tar.bz2)
md5sums=('2228bbb4c1656c932233ecfd0d5c54da')
build() {
[ "$GNOMEDIR" = "" ] && . /etc/profile.d/gnome.sh
cd $startdir/src/totem-$pkgver
find . -name Makefile.in -exec sed -i -e 's/-scrollkeeper-update.*//' {} ;
if [ -f omf.make ]; then
sed -i -e 's/-scrollkeeper-update.*//' omf.make
fi
./configure --prefix=/opt/gnome --disable-lirc
--enable-nautilus --enable-vanity
--disable-gstreamer --enable-mozilla
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$startdir/pkg install
}
The totem.install file does not need alteration, as far as I can tell.
Edit: Here is the totem.install file:
pkgname=totem-xine
post_install() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
scrolls=(`pacman -Ql $pkgname | grep 'share/omf/.*.omf$' | awk '{ print $2 }'`)
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-install-rule "$schema" >/dev/null 2>&1
done
for scroll in "${scrolls[@]}" ; do
scrollkeeper-install -q -p var/lib/scrollkeeper "$scroll"
done
kill -s HUP `pidof /opt/gnome/bin/gconfd-2` > /dev/null 2>&1
update-desktop-database -q
update-mime-database opt/gnome/share/mime > /dev/null 2>&1
}
pre_upgrade() {
pre_remove $1
}
post_upgrade() {
post_install $1
}
pre_remove() {
schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
scrolls=(`pacman -Ql $pkgname | grep 'share/omf/.*.omf$' | awk '{ print $2 }'`)
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
for schema in "${schemas[@]}" ; do
opt/gnome/bin/gconftool-2 --makefile-uninstall-rule "$schema" >/dev/null 2>&1
done
for scroll in "${scrolls[@]}" ; do
scrollkeeper-uninstall -q -p var/lib/scrollkeeper "$scroll"
done
kill -s HUP `pidof /opt/gnome/bin/gconfd-2` >/dev/null 2>&1
}
post_remove() {
update-desktop-database -q
update-mime-database opt/gnome/share/mime > /dev/null 2>&1
}
op=$1
shift
$op $*
This is not altered from the original totem-xine totem.install at all. I'm wondering, are there any changes to it that I should make?
]]>