[arch-commits] Commit in totem/trunk (PKGBUILD browser-plugins.ini)

Jan Steffens heftig at archlinux.org
Sun Mar 11 16:01:40 UTC 2012


    Date: Sunday, March 11, 2012 @ 12:01:40
  Author: heftig
Revision: 153039

disable vegas plugin by default, as it overrides adobe flash

Added:
  totem/trunk/browser-plugins.ini
Modified:
  totem/trunk/PKGBUILD

---------------------+
 PKGBUILD            |   11 ++++++++---
 browser-plugins.ini |    2 ++
 2 files changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-11 15:46:23 UTC (rev 153038)
+++ PKGBUILD	2012-03-11 16:01:40 UTC (rev 153039)
@@ -4,7 +4,7 @@
 pkgbase=totem
 pkgname=('totem' 'totem-plugin')
 pkgver=3.3.90
-pkgrel=1
+pkgrel=2
 pkgdesc="A GNOME3 integrated movie player based on Gstreamer."
 url="http://www.gnome.org"
 arch=('i686' 'x86_64')
@@ -16,8 +16,10 @@
 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=('13e779d69a937d4c2b3087a1c90aed6cc906a4bf87c3649b498b5fda22c8d308')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+        browser-plugins.ini)
+sha256sums=('13e779d69a937d4c2b3087a1c90aed6cc906a4bf87c3649b498b5fda22c8d308'
+            'a50a3bbf35f0535f7e8e20af1893446a2e5711015484f9ae6d1ff91af3b23c4e')
 
 build() {
   cd "$pkgbase-$pkgver"
@@ -59,12 +61,15 @@
 package_totem-plugin() {
   pkgdesc="Totem plugin for web browsers"
   depends=("totem=$pkgver")
+  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"
 }

Added: browser-plugins.ini
===================================================================
--- browser-plugins.ini	                        (rev 0)
+++ browser-plugins.ini	2012-03-11 16:01:40 UTC (rev 153039)
@@ -0,0 +1,2 @@
+[Plugins]
+application/x-shockwave-flash.disabled=true




More information about the arch-commits mailing list