[arch-commits] Commit in totem (gnome-unstable gnome-unstable/PKGBUILD)

Jan de Groot jgc at archlinux.org
Mon Sep 7 20:10:25 UTC 2009


    Date: Monday, September 7, 2009 @ 16:10:25
  Author: jgc
Revision: 51366

Update to 2.27.2

Added:
  totem/gnome-unstable/
Modified:
  totem/gnome-unstable/PKGBUILD

----------+
 PKGBUILD |   64 +++++++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 41 insertions(+), 23 deletions(-)

Modified: gnome-unstable/PKGBUILD
===================================================================
--- trunk/PKGBUILD	2009-09-06 19:59:41 UTC (rev 51272)
+++ gnome-unstable/PKGBUILD	2009-09-07 20:10:25 UTC (rev 51366)
@@ -1,42 +1,47 @@
 # $Id$
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
-pkgname=totem
-pkgver=2.26.3
+pkgbase=totem
+pkgname=('totem' 'totem-plugin')
+pkgver=2.27.2
 pkgrel=1
 url="http://www.hadess.net/totem.php3"
-pkgdesc="A GNOME2 integrated movie player based on Gstreamer."
 arch=(i686 x86_64)
 license=('GPL2' 'custom')
-depends=('gstreamer0.10-good-plugins' 'totem-plparser>=2.26.2' 'libxxf86vm' 'libxtst' 'desktop-file-utils' 'iso-codes>=3.10.1' 'libepc>=0.3.10' 'python>=2.6' 'startup-notification' 'python-gdata')
-makedepends=('nautilus>=2.26.3' 'xulrunner>=1.9.1' 'pkgconfig' 'bluez>=4.30' 'lirc-utils' 'gnome-doc-utils>=0.16.0' 'gnome-control-center>=2.26.0' 'libtracker' 'intltool' 'pygtk')
-optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
-            'gstreamer0.10-bad-plugins: Extra media codecs'
-            'gstreamer0.10-ffmpeg: Extra media codecs')
+makedepends=('gstreamer0.10-good-plugins' 'totem-plparser>=2.27.2' 'libxxf86vm' 'libxtst' 'desktop-file-utils' 'iso-codes>=3.10.1' 'libepc>=0.3.10' 'python>=2.6' 'libgdata>=0.4.0' 'nautilus>=2.27.91' 'xulrunner>=1.9.1' 'pkgconfig' 'bluez>=4.39' 'lirc-utils' 'gnome-doc-utils>=0.17.4' 'gnome-control-center>=2.27.91' 'libtracker>=0.6.95' 'intltool' 'pygtk>=2.16.0')
 options=('!libtool' '!emptydirs')
-conflicts=('totem-xine')
-replaces=('totem-xine')
-groups=('gnome-extra')
-install=totem.install
-source=(http://ftp.gnome.org/pub/gnome/sources/totem/2.26/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('f8f7390f5d93268cd200086a1b4f765a')
+source=(http://ftp.gnome.org/pub/gnome/sources/totem/2.27/${pkgbase}-${pkgver}.tar.bz2)
+sha256sums=('9b35bb8d84b54250c0042161a8fae4e4c6738c52185534449198e1158be9f4f1')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  LD_PRELOAD="" ./configure --enable-python || return 1
-  LD_PRELOAD="" ./configure --prefix=/usr --sysconfdir=/etc \
-                    --libexecdir=/usr/lib/totem \
-                    --localstatedir=/var --disable-static \
-                    --enable-python --enable-nautilus \
-                    --with-dbus --disable-scrollkeeper || return 1
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --libexecdir=/usr/lib/totem \
+      --localstatedir=/var --disable-static \
+      --enable-python --enable-nautilus \
+      --with-dbus --disable-scrollkeeper || return 1
   make || return 1
-  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
-       DESTDIR="${pkgdir}" install || return 1
+}
 
+package_totem() {
+  pkgdesc="A GNOME2 integrated movie player based on Gstreamer."
+  depends=('gstreamer0.10-good-plugins' 'totem-plparser>=2.27.2' 'libxxf86vm' 'libxtst' 'desktop-file-utils' 'iso-codes>=3.10.1' 'libepc>=0.3.10' 'python>=2.6'  'libgdata>=0.4.0' 'libunique>=1.1.2')
+  groups=('gnome-extra')
+  install=totem.install
+  optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
+              'gstreamer0.10-bad-plugins: Extra media codecs'
+              'gstreamer0.10-ffmpeg: Extra media codecs')
+  conflicts=('totem-xine')
+  replaces=('totem-xine')
+
+  cd "${srcdir}/${pkgbase}-${pkgver}"
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+
   rm -f ${pkgdir}/usr/share/totem/vanity.*
   rm -f "${pkgdir}/usr/share/pixmaps/vanity.png"
 
   rm -rf "${pkgdir}/usr/lib/mozilla"
+  rm -f "${pkgdir}/usr/lib/totem/totem-plugin-viewer" || return 1
 
   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain totem ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
@@ -45,3 +50,16 @@
   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
 }
+
+package_totem-plugin() {
+  pkgdesc="Totem mozilla/firefox plugin"
+  depends="totem=${pkgver}"
+
+  cd "${srcdir}/${pkgbase}-${pkgver}/browser-plugin"
+  make plugindir=/usr/lib/mozilla/plugins \
+      xptdir=/usr/lib/mozilla/plugins \
+      DESTDIR="${pkgdir}" install || return 1
+
+  rm -rf "${pkgdir}/usr/share"
+}
+




More information about the arch-commits mailing list