Date: Monday, September 8, 2014 @ 23:43:49
  Author: jgc
Revision: 221225

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  totem/repos/gnome-unstable-i686/
  totem/repos/gnome-unstable-i686/PKGBUILD
    (from rev 221224, totem/trunk/PKGBUILD)
  totem/repos/gnome-unstable-i686/bugreport.patch
    (from rev 221224, totem/trunk/bugreport.patch)
  totem/repos/gnome-unstable-i686/totem.install
    (from rev 221224, totem/trunk/totem.install)
  totem/repos/gnome-unstable-x86_64/
  totem/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 221224, totem/trunk/PKGBUILD)
  totem/repos/gnome-unstable-x86_64/bugreport.patch
    (from rev 221224, totem/trunk/bugreport.patch)
  totem/repos/gnome-unstable-x86_64/totem.install
    (from rev 221224, totem/trunk/totem.install)

---------------------------------------+
 gnome-unstable-i686/PKGBUILD          |   61 ++++++++++++++++++++++++++++++++
 gnome-unstable-i686/bugreport.patch   |   22 +++++++++++
 gnome-unstable-i686/totem.install     |   13 ++++++
 gnome-unstable-x86_64/PKGBUILD        |   61 ++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/bugreport.patch |   22 +++++++++++
 gnome-unstable-x86_64/totem.install   |   13 ++++++
 6 files changed, 192 insertions(+)

Copied: totem/repos/gnome-unstable-i686/PKGBUILD (from rev 221224, 
totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD                                (rev 0)
+++ gnome-unstable-i686/PKGBUILD        2014-09-08 21:43:49 UTC (rev 221225)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+# Contributor: Jan de Groot <j...@archlinux.org>
+
+pkgname=totem
+pkgver=3.13.92
+pkgrel=1
+pkgdesc="GNOME3 movie player based on GStreamer"
+url="http://www.gnome.org";
+arch=(i686 x86_64)
+license=(GPL2 custom)
+depends=(totem-plparser desktop-file-utils iso-codes libpeas clutter-gtk 
clutter-gst grilo
+         hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf
+         python-gobject python-xdg
+         gst-plugins-base gst-plugins-good gst-plugins-bad gnome-desktop)
+makedepends=(intltool libnautilus-extension lirc-utils vala zeitgeist
+             itstool docbook-xsl python-pylint)
+optdepends=('gst-plugins-ugly: Extra media codecs'
+            'gst-libav: Extra media codecs'
+            'lirc-utils: Infrared Remote Control plugin'
+            'grilo-plugins: Media discovery'
+            'zeitgeist: Zeitgeist plugin')
+groups=(gnome)
+options=('!emptydirs')
+install=totem.install
+conflicts=(totem-plugin)
+replaces=(totem-plugin)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        bugreport.patch)
+sha256sums=('15920c7a7d98cdbf7c4159b0ffee9f3f90017fd5ba52b45d79b094cf62236451'
+            '30481dab7e21b66257e3238f5a8b708e1a5c4797d7da904f7ebaba4c2c2ef167')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # Make compatible with Python 3 and Gstreamer 1.0
+  patch -Np1 -i ../bugreport.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/totem \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-python \
+    --enable-nautilus
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING"
+}

Copied: totem/repos/gnome-unstable-i686/bugreport.patch (from rev 221224, 
totem/trunk/bugreport.patch)
===================================================================
--- gnome-unstable-i686/bugreport.patch                         (rev 0)
+++ gnome-unstable-i686/bugreport.patch 2014-09-08 21:43:49 UTC (rev 221225)
@@ -0,0 +1,22 @@
+diff -u -r totem-3.8.2/data/totem-bugreport.py 
totem-3.8.2-bugreport/data/totem-bugreport.py
+--- totem-3.8.2/data/totem-bugreport.py        2013-03-13 16:34:44.000000000 
+0100
++++ totem-3.8.2-bugreport/data/totem-bugreport.py      2013-05-14 
13:54:04.243699665 +0200
+@@ -4,7 +4,7 @@
+ from gi.repository import Gtk
+ 
+ # Get the GStreamer version
+-if os.system ('gst-typefind-0.10 --version') == 0:
++if os.system ('gst-typefind-1.0 --version') == 0:
+       # List the formats of the last files played
+       last_visited = 0
+       recent_manager = Gtk.RecentManager.get_default ()
+@@ -15,7 +15,7 @@
+                               last = recent.get_uri_display ()
+ 
+       if last != None:
+-              file_handle = os.popen ('gst-typefind-0.10 "%s"' % (last))
++              file_handle = os.popen ('gst-typefind-1.0 "%s"' % (last))
+               parts = file_handle.read ().split (' ')
+               date = datetime.fromtimestamp (last_visited)
+-              print 'Listened to a "%s" file on %s' % (parts.pop ().strip (), 
date.isoformat ())
++              print('Listened to a "%s" file on %s' % (parts.pop ().strip (), 
date.isoformat ()))

Copied: totem/repos/gnome-unstable-i686/totem.install (from rev 221224, 
totem/trunk/totem.install)
===================================================================
--- gnome-unstable-i686/totem.install                           (rev 0)
+++ gnome-unstable-i686/totem.install   2014-09-08 21:43:49 UTC (rev 221225)
@@ -0,0 +1,13 @@
+post_install() {
+  /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Copied: totem/repos/gnome-unstable-x86_64/PKGBUILD (from rev 221224, 
totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD                              (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD      2014-09-08 21:43:49 UTC (rev 221225)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com>
+# Contributor: Jan de Groot <j...@archlinux.org>
+
+pkgname=totem
+pkgver=3.13.92
+pkgrel=1
+pkgdesc="GNOME3 movie player based on GStreamer"
+url="http://www.gnome.org";
+arch=(i686 x86_64)
+license=(GPL2 custom)
+depends=(totem-plparser desktop-file-utils iso-codes libpeas clutter-gtk 
clutter-gst grilo
+         hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf
+         python-gobject python-xdg
+         gst-plugins-base gst-plugins-good gst-plugins-bad gnome-desktop)
+makedepends=(intltool libnautilus-extension lirc-utils vala zeitgeist
+             itstool docbook-xsl python-pylint)
+optdepends=('gst-plugins-ugly: Extra media codecs'
+            'gst-libav: Extra media codecs'
+            'lirc-utils: Infrared Remote Control plugin'
+            'grilo-plugins: Media discovery'
+            'zeitgeist: Zeitgeist plugin')
+groups=(gnome)
+options=('!emptydirs')
+install=totem.install
+conflicts=(totem-plugin)
+replaces=(totem-plugin)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        bugreport.patch)
+sha256sums=('15920c7a7d98cdbf7c4159b0ffee9f3f90017fd5ba52b45d79b094cf62236451'
+            '30481dab7e21b66257e3238f5a8b708e1a5c4797d7da904f7ebaba4c2c2ef167')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # Make compatible with Python 3 and Gstreamer 1.0
+  patch -Np1 -i ../bugreport.patch
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/totem \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-python \
+    --enable-nautilus
+
+  # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING"
+}

Copied: totem/repos/gnome-unstable-x86_64/bugreport.patch (from rev 221224, 
totem/trunk/bugreport.patch)
===================================================================
--- gnome-unstable-x86_64/bugreport.patch                               (rev 0)
+++ gnome-unstable-x86_64/bugreport.patch       2014-09-08 21:43:49 UTC (rev 
221225)
@@ -0,0 +1,22 @@
+diff -u -r totem-3.8.2/data/totem-bugreport.py 
totem-3.8.2-bugreport/data/totem-bugreport.py
+--- totem-3.8.2/data/totem-bugreport.py        2013-03-13 16:34:44.000000000 
+0100
++++ totem-3.8.2-bugreport/data/totem-bugreport.py      2013-05-14 
13:54:04.243699665 +0200
+@@ -4,7 +4,7 @@
+ from gi.repository import Gtk
+ 
+ # Get the GStreamer version
+-if os.system ('gst-typefind-0.10 --version') == 0:
++if os.system ('gst-typefind-1.0 --version') == 0:
+       # List the formats of the last files played
+       last_visited = 0
+       recent_manager = Gtk.RecentManager.get_default ()
+@@ -15,7 +15,7 @@
+                               last = recent.get_uri_display ()
+ 
+       if last != None:
+-              file_handle = os.popen ('gst-typefind-0.10 "%s"' % (last))
++              file_handle = os.popen ('gst-typefind-1.0 "%s"' % (last))
+               parts = file_handle.read ().split (' ')
+               date = datetime.fromtimestamp (last_visited)
+-              print 'Listened to a "%s" file on %s' % (parts.pop ().strip (), 
date.isoformat ())
++              print('Listened to a "%s" file on %s' % (parts.pop ().strip (), 
date.isoformat ()))

Copied: totem/repos/gnome-unstable-x86_64/totem.install (from rev 221224, 
totem/trunk/totem.install)
===================================================================
--- gnome-unstable-x86_64/totem.install                         (rev 0)
+++ gnome-unstable-x86_64/totem.install 2014-09-08 21:43:49 UTC (rev 221225)
@@ -0,0 +1,13 @@
+post_install() {
+  /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+  update-desktop-database -q
+  gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Reply via email to