summaryrefslogtreecommitdiff
path: root/extra/totem/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-06-20 15:25:33 -0300
commitcebf33d7109e0157a80f34d6136e212f0a28d274 (patch)
treea6464302c970f72581105b50ff0896e1f56def3d /extra/totem/PKGBUILD
parent1a65caeb80e2cc8c7b39262d72255124d0c8614e (diff)
parent5cb95ceee39e4691f768ea2fef60b8a106e92209 (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'extra/totem/PKGBUILD')
-rw-r--r--extra/totem/PKGBUILD36
1 files changed, 23 insertions, 13 deletions
diff --git a/extra/totem/PKGBUILD b/extra/totem/PKGBUILD
index e68efbb37..29125de86 100644
--- a/extra/totem/PKGBUILD
+++ b/extra/totem/PKGBUILD
@@ -1,25 +1,35 @@
-# $Id: PKGBUILD 183323 2013-04-21 22:06:42Z heftig $
+# $Id: PKGBUILD 186680 2013-05-30 12:54:23Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgbase=totem
pkgname=('totem' 'totem-plugin')
-pkgver=3.8.0
-pkgrel=1
+pkgver=3.8.2
+pkgrel=2
pkgdesc="GNOME3 movie player based on GStreamer"
url="http://www.gnome.org"
arch=('i686' 'x86_64' 'mips64el')
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 vala grilo pylint dbus-glib libzeitgeist itstool docbook-xsl)
+ clutter-gtk python-gobject python-xdg gst-plugins-bad)
+makedepends=(intltool libnautilus-extension vala grilo dbus-glib libzeitgeist
+ itstool docbook-xsl python-pylint)
[ "$CARCH" != "mips64el" ] && makedepends+=('lirc-utils')
options=('!libtool' '!emptydirs')
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
- browser-plugins.ini)
-sha256sums=('74c73a5decb69572cb182005b144493c2f6e7f48d4c57851e6da33e8e76fb039'
- 'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e')
+ browser-plugins.ini bugreport.patch)
+sha256sums=('eda9e0a016bb2ac14f7cd7c8c03b8ee1ab3f1b3ba6558f65c64514e5d2583e01'
+ 'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e'
+ '30481dab7e21b66257e3238f5a8b708e1a5c4797d7da904f7ebaba4c2c2ef167')
+
+
+prepare() {
+ cd "$pkgbase-$pkgver"
+
+ # Make compatible with Python 3 and Gstreamer 1.0
+ patch -Np1 -i ../bugreport.patch
+}
build() {
cd "$pkgbase-$pkgver"
@@ -30,6 +40,10 @@ build() {
--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
}
@@ -40,7 +54,6 @@ package_totem() {
'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"
@@ -49,9 +62,6 @@ package_totem() {
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"
}
@@ -65,7 +75,7 @@ package_totem-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"