[arch-commits] Commit in vlc/trunk (PKGBUILD vlc.install)

Ionut Biru ibiru at archlinux.org
Thu Jul 22 12:48:15 EDT 2010


    Date: Thursday, July 22, 2010 @ 12:48:14
  Author: ibiru
Revision: 85940

upgpkg: vlc 1.1.1-2 generating caching for plugins, delete RPATH from mozilla plugin

Modified:
  vlc/trunk/PKGBUILD
  vlc/trunk/vlc.install

-------------+
 PKGBUILD    |    7 ++++---
 vlc.install |   11 ++++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-22 16:16:59 UTC (rev 85939)
+++ PKGBUILD	2010-07-22 16:48:14 UTC (rev 85940)
@@ -7,7 +7,7 @@
 pkgname=('vlc'
          'vlc-plugin')
 pkgver=1.1.1
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 url="http://www.videolan.org/vlc/"
 license=('GPL')
@@ -19,7 +19,7 @@
              'avahi' 'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'libxpm'
              'xulrunner' 'pkgconfig' 'live-media' 'libnotify' 'libcdio'
              'flac' 'libtheora' 'alsa-lib' 'jack' 'kdelibs' 'udev'
-             'libraw1394' 'libdc1394' 'libavc1394' 'libva')
+             'libraw1394' 'libdc1394' 'libavc1394' 'libva' 'chrpath')
 
 source=("http://download.videolan.org/pub/videolan/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.bz2")
 md5sums=('7e177faa61450ce752b0fd89ecc81fed')
@@ -77,7 +77,8 @@
 
 package_vlc-plugin() {
   pkgdesc="VLC mozilla browser plugin"
-  depends=("${pkgbase}=${pkgver}" 'nspr' 'xulrunner')
+  depends=("${pkgbase}=${pkgver}" 'nspr' 'xulrunner' 'libxpm')
   cd "${srcdir}/${pkgbase}-${pkgver}"
   install -Dm755 projects/mozilla/.libs/libvlcplugin.so ${pkgdir}/usr/lib/mozilla/plugins/libvlcplugin.so
+  chrpath -d ${pkgdir}/usr/lib/mozilla/plugins/libvlcplugin.so
 }

Modified: vlc.install
===================================================================
--- vlc.install	2010-07-22 16:16:59 UTC (rev 85939)
+++ vlc.install	2010-07-22 16:48:14 UTC (rev 85940)
@@ -1,11 +1,16 @@
 post_install() {
-	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    usr/lib/vlc/vlc-cache-gen -f usr/lib/vlc/plugins
 }
 
 post_upgrade() {
-	post_install
+    post_install
 }
 
+pre_remove() {
+    rm -f usr/lib/vlc/plugins/plugins-*.dat
+}
+
 post_remove() {
-	post_install
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
 }



More information about the arch-commits mailing list