[arch-commits] CVS update of extra/gnome/totem (PKGBUILD totem.install)

Jan de Groot jgc at archlinux.org
Sun Sep 23 17:50:31 UTC 2007


    Date: Sunday, September 23, 2007 @ 13:50:31
  Author: jgc
    Path: /home/cvs-extra/extra/gnome/totem

Modified: PKGBUILD (1.52 -> 1.53) totem.install (1.16 -> 1.17)

upgpkg: totem 2.20.0-1
GNOME 2.20


---------------+
 PKGBUILD      |   20 ++++++++------------
 totem.install |   10 ++++++----
 2 files changed, 14 insertions(+), 16 deletions(-)


Index: extra/gnome/totem/PKGBUILD
diff -u extra/gnome/totem/PKGBUILD:1.52 extra/gnome/totem/PKGBUILD:1.53
--- extra/gnome/totem/PKGBUILD:1.52	Sat Aug 25 08:17:20 2007
+++ extra/gnome/totem/PKGBUILD	Sun Sep 23 13:50:31 2007
@@ -1,30 +1,26 @@
-# $Id: PKGBUILD,v 1.52 2007/08/25 12:17:20 jgc Exp $
+# $Id: PKGBUILD,v 1.53 2007/09/23 17:50:31 jgc Exp $
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=totem
-pkgver=2.18.3
+pkgver=2.20.0
 pkgrel=1
 url="http://www.hadess.net/totem.php3"
 pkgdesc="A GNOME2 integrated movie player based on Gstreamer."
 arch=(i686 x86_64)
-depends=('gstreamer0.10-gconf' 'gstreamer0.10-base' "totem-plparser>=${pkgver}" 'gnome-desktop>=2.18.1' 'libxxf86vm' 'libxtst' 'scrollkeeper' 'desktop-file-utils')
-options=('!libtool')
 license=('GPL')
-makedepends=('perlxml' 'nautilus>=2.18.1' 'xulrunner>=1.8.1' 'pkgconfig')
+depends=('gstreamer0.10-gconf' 'gstreamer0.10-base' "totem-plparser>=${pkgver}" 'gnome-desktop>=2.20.0' 'libxxf86vm' 'libxtst' 'desktop-file-utils')
+makedepends=('perlxml' 'nautilus>=2.20.0' 'xulrunner>=1.8.1.6' 'pkgconfig' 'bluez-libs' 'lirc-utils')
+options=('!libtool' '!emptydirs')
 conflicts=('totem-xine')
 groups=('gnome-extra')
 install=totem.install
-source=(http://ftp.gnome.org/pub/gnome/sources/totem/2.18/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('152a0ed2d21f6ce982e3d37066156110')
+source=(http://ftp.gnome.org/pub/gnome/sources/totem/2.20/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('e7f289179b8ac304738d599d4a5c14a9')
 
 build() {
   [ -z "${MOZ_PLUGIN_PATH}" ] && . /etc/profile.d/mozilla-common.sh
 
   cd ${startdir}/src/${pkgname}-${pkgver}
-  if [ -f omf.make ]; then
-    find . -name Makefile.in -exec sed -i -e 's/-scrollkeeper-update.*//' {} \;
-    sed -i -e 's/-scrollkeeper-update.*//' omf.make
-  fi
   ./configure --prefix=/usr --sysconfdir=/etc \
               --libexecdir=/usr/lib/totem \
               --localstatedir=/var --disable-static \
@@ -34,7 +30,7 @@
 	      --disable-scrollkeeper --disable-vanity
   make || return 1
   
-  sed -i -e 's/SUBDIRS = backend plparse/SUBDIRS = backend/' src/Makefile
+  sed -i -e 's/SUBDIRS = plugins backend plparse/SUBDIRS = plugins backend/' src/Makefile
   sed -i -e 's/install-data-am$//' Makefile
   
   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
Index: extra/gnome/totem/totem.install
diff -u extra/gnome/totem/totem.install:1.16 extra/gnome/totem/totem.install:1.17
--- extra/gnome/totem/totem.install:1.16	Sat Aug 25 08:17:20 2007
+++ extra/gnome/totem/totem.install	Sun Sep 23 13:50:31 2007
@@ -2,14 +2,17 @@
 
 post_install() {
   usr/sbin/gconfpkg --install ${pkgname}
-  scrollkeeper-update -q -p var/lib/scrollkeeper
   update-desktop-database -q
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
   cat << _EOF
 
 ==> Totem has been built with GStreamer. By default, totem does not depend
 ==> on any GStreamer plugin.
-==> To play media files, install the corresponding gstreamer0.10-[codec] package.
+==> To play media files, each required codec has a gstreamer0.10-[codec]
+==> package.
+==>
+==> There's also a xine build of Totem available, install totem-xine instead of
+==> this package if you want xine to play your media files.
 
 _EOF
 
@@ -24,13 +27,12 @@
 }
 
 pre_remove() {
-  usr/sbin/gconfpkg --install ${pkgname}
+  usr/sbin/gconfpkg --uninstall ${pkgname}
 }
 
 post_remove() {
   update-desktop-database -q
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  scrollkeeper-update -q -p var/lib/scrollkeeper
 }
 
 op=$1




More information about the arch-commits mailing list