git » vlc.git » commit 941972f

Trigger plugin cache update when installing qt4 (FS#51541)

author Antonio Rojas
2016-11-03 19:32:16 UTC
committer Antonio Rojas
2016-11-03 19:32:16 UTC
parent 40545bcbb434f5076f9b96711125cddca471df41

Trigger plugin cache update when installing qt4 (FS#51541)

PKGBUILD +2 -2
update-vlc-plugin-cache.hook +6 -0

diff --git a/PKGBUILD b/PKGBUILD
index e510aed..1990c7e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=vlc
 pkgver=2.2.4
-pkgrel=4
+pkgrel=5
 pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
 arch=('i686' 'x86_64')
 url="http://www.videolan.org/vlc/"
@@ -61,7 +61,7 @@ source=("http://download.videolan.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.
 validpgpkeys=(65F7C6B4206BD057A7EB73787180713BE58D1ADC) # VideoLAN Release Signing Key
 md5sums=('55666c9898f658c7fcca12725bf7dd1b'
          'SKIP'
-         '6fdaca3aa56c0676e9c88049b8650324'
+         '6449d0d26bd34bca009eed58a4c20c83'
          '96d3b346d9149ffb1b430066dfb6249a')
 
 prepare() {
diff --git a/update-vlc-plugin-cache.hook b/update-vlc-plugin-cache.hook
index 89fbd21..f767242 100644
--- a/update-vlc-plugin-cache.hook
+++ b/update-vlc-plugin-cache.hook
@@ -5,6 +5,12 @@ Operation = Upgrade
 Operation = Remove
 Target = usr/lib/vlc/plugins/*
 
+[Trigger]
+Type = Package
+Operation = Install
+Operation = Remove
+Target = qt4
+
 [Action]
 Description = Updating the vlc plugin cache...
 When = PostTransaction