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

Andrea Scarpino andrea at archlinux.org
Thu Feb 16 07:51:23 UTC 2012


    Date: Thursday, February 16, 2012 @ 02:51:23
  Author: andrea
Revision: 150264

upgpkg: phonon-gstreamer 4.6.0-1

Upstream release

Added:
  phonon-gstreamer/trunk/phonon-gstreamer.install
Modified:
  phonon-gstreamer/trunk/PKGBUILD

--------------------------+
 PKGBUILD                 |   12 +++++++-----
 phonon-gstreamer.install |   11 +++++++++++
 2 files changed, 18 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-16 07:41:53 UTC (rev 150263)
+++ PKGBUILD	2012-02-16 07:51:23 UTC (rev 150264)
@@ -2,17 +2,18 @@
 # Maintainer: Andrea Scarpino <andrea at archlinux.org>
 
 pkgname=phonon-gstreamer
-pkgver=4.5.1
+pkgver=4.6.0
 pkgrel=1
 arch=('i686' 'x86_64')
-url="http://phonon.kde.org"
+url='http://phonon.kde.org/'
 pkgdesc="Phonon GStreamer backend"
 license=('LGPL')
 depends=('gstreamer0.10-base-plugins')
 makedepends=('cmake' 'automoc4' 'phonon' 'mesa')
 provides=('phonon-backend')
-source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/src/phonon-backend-gstreamer-${pkgver}.tar.bz2")
-md5sums=('021cf7740208e7212b7ce91adb6a349b')
+install="${pkgname}.install"
+source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/src/phonon-backend-gstreamer-${pkgver}.tar.xz")
+md5sums=('cc380c7612aaaa87294185ded702f88a')
 
 build() {
   cd "${srcdir}"
@@ -20,7 +21,8 @@
   cd build
   cmake ../phonon-backend-gstreamer-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON
   make
 }
 

Added: phonon-gstreamer.install
===================================================================
--- phonon-gstreamer.install	                        (rev 0)
+++ phonon-gstreamer.install	2012-02-16 07:51:23 UTC (rev 150264)
@@ -0,0 +1,11 @@
+post_install(){
+    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list