git » vlc.git » commit 9d63030

Fixing FS#22940

author Ángel Velásquez
2011-02-19 16:39:03 UTC
committer Ángel Velásquez
2011-02-19 16:39:03 UTC
parent f0897dc4b40278a6901722df544e146b8adfdca9

Fixing FS#22940

PKGBUILD +2 -2
vlc.install +2 -0

diff --git a/PKGBUILD b/PKGBUILD
index 4bea71e..a42a4c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
 pkgbase=vlc
 pkgname=('vlc' 'vlc-plugin')
 pkgver=1.1.7
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://www.videolan.org/vlc/"
 license=('GPL')
@@ -53,7 +53,7 @@ package_vlc() {
            'lua' 'v4l-utils' 'libcddb' 'smbclient' 'zvbi'
            'taglib' 'sysfsutils' 'libmpcdec' 'ffmpeg' 'faad2'
            'libshout' 'libmad' 'fribidi' 'libmpeg2' 'libmodplug'
-           'ttf-freefont' 'libxv' 'libass' 'xdg-utils')
+           'ttf-freefont' 'libxv' 'libass' 'xdg-utils' 'desktop-file-utils')
   optdepends=('avahi: for service discovery using bonjour protocol'
               'libnotify: for notification plugin'
               'ncurses: for ncurses interface support'
diff --git a/vlc.install b/vlc.install
index ec31dd1..4a1091b 100644
--- a/vlc.install
+++ b/vlc.install
@@ -1,6 +1,7 @@
 post_install() {
     xdg-icon-resource forceupdate --theme hicolor &> /dev/null
     usr/lib/vlc/vlc-cache-gen -f usr/lib/vlc/plugins
+    update-desktop-database -q
 }
 
 post_upgrade() {
@@ -13,4 +14,5 @@ pre_remove() {
 
 post_remove() {
     xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+    update-desktop-database -q
 }