[arch-commits] Commit in totem/repos (8 files)

Jan de Groot jgc at nymeria.archlinux.org
Fri Mar 29 14:16:12 UTC 2013


    Date: Friday, March 29, 2013 @ 15:16:12
  Author: jgc
Revision: 181001

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 181000, totem/trunk/PKGBUILD)
  totem/repos/gnome-unstable-i686/browser-plugins.ini
    (from rev 181000, totem/trunk/browser-plugins.ini)
  totem/repos/gnome-unstable-i686/totem.install
    (from rev 181000, totem/trunk/totem.install)
  totem/repos/gnome-unstable-x86_64/
  totem/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 181000, totem/trunk/PKGBUILD)
  totem/repos/gnome-unstable-x86_64/browser-plugins.ini
    (from rev 181000, totem/trunk/browser-plugins.ini)
  totem/repos/gnome-unstable-x86_64/totem.install
    (from rev 181000, totem/trunk/totem.install)

-------------------------------------------+
 gnome-unstable-i686/PKGBUILD              |   71 ++++++++++++++++++++++++++++
 gnome-unstable-i686/browser-plugins.ini   |    2 
 gnome-unstable-i686/totem.install         |   13 +++++
 gnome-unstable-x86_64/PKGBUILD            |   71 ++++++++++++++++++++++++++++
 gnome-unstable-x86_64/browser-plugins.ini |    2 
 gnome-unstable-x86_64/totem.install       |   13 +++++
 6 files changed, 172 insertions(+)

Copied: totem/repos/gnome-unstable-i686/PKGBUILD (from rev 181000, totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2013-03-29 14:16:12 UTC (rev 181001)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=totem
+pkgname=('totem' 'totem-plugin')
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="GNOME3 movie player based on GStreamer"
+url="http://www.gnome.org"
+arch=(i686 x86_64)
+license=(GPL2 custom)
+depends=(gst-plugins-base gst-plugins-good totem-plparser desktop-file-utils iso-codes libpeas
+         hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf clutter-gst
+         clutter-gtk python2-gobject gst-plugins-bad)
+makedepends=(intltool libnautilus-extension lirc-utils vala grilo pylint dbus-glib libzeitgeist itstool docbook-xsl)
+options=('!libtool' '!emptydirs')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+        browser-plugins.ini)
+sha256sums=('74c73a5decb69572cb182005b144493c2f6e7f48d4c57851e6da33e8e76fb039'
+            'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e')
+
+build() {
+  cd "$pkgbase-$pkgver"
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/totem \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-python \
+    --enable-nautilus
+  make
+}
+
+package_totem() {
+  groups=(gnome)
+  install=totem.install
+  optdepends=('gst-plugins-ugly: Extra media codecs'
+              'gst-libav: Extra media codecs'
+              'lirc-utils: Infrared Remote Control plugin'
+              'grilo-plugins: Browse sidebar (remote media)'
+              'pyxdg: opensubtitles plugin'
+              'libzeitgeist: Zeitgeist plugin')
+
+  cd "$pkgbase-$pkgver"
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "$pkgdir/usr/lib/mozilla"
+  rm "$pkgdir/usr/lib/totem/totem-plugin-viewer"
+
+  sed -i "s|#!/usr/bin/python$|#!/usr/bin/python2|" \
+    $pkgdir/usr/lib/totem/totem/totem-bugreport.py
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING"
+}
+
+package_totem-plugin() {
+  pkgdesc="Totem plugin for web browsers"
+  depends=("totem=$pkgver" dbus-glib)
+  backup=(etc/totem/browser-plugins.ini)
+
+  cd "$pkgbase-$pkgver"
+  make -C browser-plugin \
+    plugindir=/usr/lib/mozilla/plugins \
+    xptdir=/usr/lib/mozilla/plugins \
+    DESTDIR="$pkgdir" install
+  
+  install -Dm644 ../browser-plugins.ini "$pkgdir/etc/totem/browser-plugins.ini"
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem-plugin/COPYING"
+}

Copied: totem/repos/gnome-unstable-i686/browser-plugins.ini (from rev 181000, totem/trunk/browser-plugins.ini)
===================================================================
--- gnome-unstable-i686/browser-plugins.ini	                        (rev 0)
+++ gnome-unstable-i686/browser-plugins.ini	2013-03-29 14:16:12 UTC (rev 181001)
@@ -0,0 +1,2 @@
+[Plugins]
+application/x-shockwave-flash.disabled=true

Copied: totem/repos/gnome-unstable-i686/totem.install (from rev 181000, totem/trunk/totem.install)
===================================================================
--- gnome-unstable-i686/totem.install	                        (rev 0)
+++ gnome-unstable-i686/totem.install	2013-03-29 14:16:12 UTC (rev 181001)
@@ -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 181000, totem/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2013-03-29 14:16:12 UTC (rev 181001)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgbase=totem
+pkgname=('totem' 'totem-plugin')
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="GNOME3 movie player based on GStreamer"
+url="http://www.gnome.org"
+arch=(i686 x86_64)
+license=(GPL2 custom)
+depends=(gst-plugins-base gst-plugins-good totem-plparser desktop-file-utils iso-codes libpeas
+         hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf clutter-gst
+         clutter-gtk python2-gobject gst-plugins-bad)
+makedepends=(intltool libnautilus-extension lirc-utils vala grilo pylint dbus-glib libzeitgeist itstool docbook-xsl)
+options=('!libtool' '!emptydirs')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+        browser-plugins.ini)
+sha256sums=('74c73a5decb69572cb182005b144493c2f6e7f48d4c57851e6da33e8e76fb039'
+            'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e')
+
+build() {
+  cd "$pkgbase-$pkgver"
+  ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/totem \
+    --localstatedir=/var \
+    --disable-static \
+    --enable-python \
+    --enable-nautilus
+  make
+}
+
+package_totem() {
+  groups=(gnome)
+  install=totem.install
+  optdepends=('gst-plugins-ugly: Extra media codecs'
+              'gst-libav: Extra media codecs'
+              'lirc-utils: Infrared Remote Control plugin'
+              'grilo-plugins: Browse sidebar (remote media)'
+              'pyxdg: opensubtitles plugin'
+              'libzeitgeist: Zeitgeist plugin')
+
+  cd "$pkgbase-$pkgver"
+  make DESTDIR="${pkgdir}" install
+
+  rm -r "$pkgdir/usr/lib/mozilla"
+  rm "$pkgdir/usr/lib/totem/totem-plugin-viewer"
+
+  sed -i "s|#!/usr/bin/python$|#!/usr/bin/python2|" \
+    $pkgdir/usr/lib/totem/totem/totem-bugreport.py
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem/COPYING"
+}
+
+package_totem-plugin() {
+  pkgdesc="Totem plugin for web browsers"
+  depends=("totem=$pkgver" dbus-glib)
+  backup=(etc/totem/browser-plugins.ini)
+
+  cd "$pkgbase-$pkgver"
+  make -C browser-plugin \
+    plugindir=/usr/lib/mozilla/plugins \
+    xptdir=/usr/lib/mozilla/plugins \
+    DESTDIR="$pkgdir" install
+  
+  install -Dm644 ../browser-plugins.ini "$pkgdir/etc/totem/browser-plugins.ini"
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/totem-plugin/COPYING"
+}

Copied: totem/repos/gnome-unstable-x86_64/browser-plugins.ini (from rev 181000, totem/trunk/browser-plugins.ini)
===================================================================
--- gnome-unstable-x86_64/browser-plugins.ini	                        (rev 0)
+++ gnome-unstable-x86_64/browser-plugins.ini	2013-03-29 14:16:12 UTC (rev 181001)
@@ -0,0 +1,2 @@
+[Plugins]
+application/x-shockwave-flash.disabled=true

Copied: totem/repos/gnome-unstable-x86_64/totem.install (from rev 181000, totem/trunk/totem.install)
===================================================================
--- gnome-unstable-x86_64/totem.install	                        (rev 0)
+++ gnome-unstable-x86_64/totem.install	2013-03-29 14:16:12 UTC (rev 181001)
@@ -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