summaryrefslogtreecommitdiff
path: root/extra/totem/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /extra/totem/PKGBUILD
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'extra/totem/PKGBUILD')
-rw-r--r--extra/totem/PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/extra/totem/PKGBUILD b/extra/totem/PKGBUILD
index c164aa418..a1b0891b4 100644
--- a/extra/totem/PKGBUILD
+++ b/extra/totem/PKGBUILD
@@ -1,9 +1,10 @@
-# $Id: PKGBUILD 150691 2012-02-20 11:01:31Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id: PKGBUILD 156988 2012-04-23 09:10:41Z ibiru $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: Jan de Groot <jgc@archlinux.org>
pkgbase=totem
pkgname=('totem' 'totem-plugin')
-pkgver=3.2.2
+pkgver=3.4.1
pkgrel=1
pkgdesc="A GNOME3 integrated movie player based on Gstreamer."
url="http://www.gnome.org"
@@ -12,15 +13,17 @@ license=('GPL2' 'custom')
depends=('gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'totem-plparser' 'libxxf86vm'
'libxtst' 'desktop-file-utils' 'iso-codes' 'python2' 'libpeas' 'hicolor-icon-theme'
'gnome-icon-theme-symbolic' 'gsettings-desktop-schemas' 'dconf' 'clutter-gst'
- 'clutter-gtk' 'mx')
-makedepends=('intltool' 'gtk-doc' 'python2-gobject' 'nautilus' 'libgdata' 'lirc-utils'
+ 'clutter-gtk' 'mx' 'python2-gobject' 'pylint')
+makedepends=('intltool' 'gtk-doc' 'nautilus' 'libgdata' 'lirc-utils'
'libepc' 'bluez' 'vala' 'grilo')
options=('!libtool' '!emptydirs')
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
-sha256sums=('b065e486e6b70b27d3a589e70c5459ff16a7affeff0b219ead5942585d4d0c9a')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+ browser-plugins.ini)
+sha256sums=('eadf138068c2e31bf8fe31b3d63536cb0fe32f834fcf4fbfb453a3fff5eec7ef'
+ 'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e')
build() {
- cd "$srcdir/$pkgbase-$pkgver"
+ cd "$pkgbase-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/totem \
@@ -44,11 +47,11 @@ package_totem() {
'grilo-plugins: Browse sidebar (remote media)'
'pyxdg: opensubtitles plugin')
- cd "$srcdir/$pkgbase-$pkgver"
+ cd "$pkgbase-$pkgver"
make DESTDIR="${pkgdir}" install
rm -r "$pkgdir/usr/lib/mozilla"
- rm "${pkgdir}/usr/lib/totem/totem-plugin-viewer"
+ 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,plugins/iplayer/iplayer2.py}
@@ -59,12 +62,15 @@ package_totem() {
package_totem-plugin() {
pkgdesc="Totem plugin for web browsers"
depends=("totem=$pkgver")
+ backup=(etc/totem/browser-plugins.ini)
- cd "$srcdir/$pkgbase-$pkgver"
+ 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"
}