[arch-commits] Commit in totem/repos (8 files)
Jan Steffens
heftig at archlinux.org
Fri Sep 25 15:28:37 UTC 2015
Date: Friday, September 25, 2015 @ 17:28:37
Author: heftig
Revision: 247428
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 247427, totem/trunk/PKGBUILD)
totem/repos/gnome-unstable-i686/bugreport.patch
(from rev 247427, totem/trunk/bugreport.patch)
totem/repos/gnome-unstable-i686/totem.install
(from rev 247427, totem/trunk/totem.install)
totem/repos/gnome-unstable-x86_64/
totem/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 247427, totem/trunk/PKGBUILD)
totem/repos/gnome-unstable-x86_64/bugreport.patch
(from rev 247427, totem/trunk/bugreport.patch)
totem/repos/gnome-unstable-x86_64/totem.install
(from rev 247427, totem/trunk/totem.install)
---------------------------------------+
gnome-unstable-i686/PKGBUILD | 53 ++++++++++++++++++++++++++++++++
gnome-unstable-i686/bugreport.patch | 22 +++++++++++++
gnome-unstable-i686/totem.install | 13 +++++++
gnome-unstable-x86_64/PKGBUILD | 53 ++++++++++++++++++++++++++++++++
gnome-unstable-x86_64/bugreport.patch | 22 +++++++++++++
gnome-unstable-x86_64/totem.install | 13 +++++++
6 files changed, 176 insertions(+)
Copied: totem/repos/gnome-unstable-i686/PKGBUILD (from rev 247427, totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2015-09-25 15:28:37 UTC (rev 247428)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=totem
+pkgver=3.18.0
+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 gsettings-desktop-schemas dconf
+ python-gobject python-xdg
+ gst-plugins-base gst-plugins-good gst-plugins-bad gnome-desktop)
+makedepends=(intltool libnautilus-extension lirc vala zeitgeist
+ itstool docbook-xsl python-pylint gobject-introspection)
+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'
+ 'python-dbus: MPRIS plugin')
+groups=(gnome)
+options=('!emptydirs')
+install=totem.install
+conflicts=(totem-plugin)
+replaces=(totem-plugin)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('1b6a7e66414df4b2e2427a9c5f1fee5a5f286beb098fdbe0902e37e3663e3e89')
+
+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 247427, totem/trunk/bugreport.patch)
===================================================================
--- gnome-unstable-i686/bugreport.patch (rev 0)
+++ gnome-unstable-i686/bugreport.patch 2015-09-25 15:28:37 UTC (rev 247428)
@@ -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 247427, totem/trunk/totem.install)
===================================================================
--- gnome-unstable-i686/totem.install (rev 0)
+++ gnome-unstable-i686/totem.install 2015-09-25 15:28:37 UTC (rev 247428)
@@ -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 247427, totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2015-09-25 15:28:37 UTC (rev 247428)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=totem
+pkgver=3.18.0
+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 gsettings-desktop-schemas dconf
+ python-gobject python-xdg
+ gst-plugins-base gst-plugins-good gst-plugins-bad gnome-desktop)
+makedepends=(intltool libnautilus-extension lirc vala zeitgeist
+ itstool docbook-xsl python-pylint gobject-introspection)
+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'
+ 'python-dbus: MPRIS plugin')
+groups=(gnome)
+options=('!emptydirs')
+install=totem.install
+conflicts=(totem-plugin)
+replaces=(totem-plugin)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('1b6a7e66414df4b2e2427a9c5f1fee5a5f286beb098fdbe0902e37e3663e3e89')
+
+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 247427, totem/trunk/bugreport.patch)
===================================================================
--- gnome-unstable-x86_64/bugreport.patch (rev 0)
+++ gnome-unstable-x86_64/bugreport.patch 2015-09-25 15:28:37 UTC (rev 247428)
@@ -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 247427, totem/trunk/totem.install)
===================================================================
--- gnome-unstable-x86_64/totem.install (rev 0)
+++ gnome-unstable-x86_64/totem.install 2015-09-25 15:28:37 UTC (rev 247428)
@@ -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
+}
More information about the arch-commits
mailing list