summaryrefslogtreecommitdiff
path: root/extra/phonon-gstreamer
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-17 19:20:30 +0000
committerroot <root@rshg054.dnsready.net>2012-02-17 19:20:30 +0000
commit4fc59478d1180fd7984003f5b1645fe40954299f (patch)
tree35f3d7dada2cfcb8194cdaed447c431664746934 /extra/phonon-gstreamer
parent76774d40da5ce246c9f2178fdf937706d99af4b2 (diff)
Fri Feb 17 19:20:30 UTC 2012
Diffstat (limited to 'extra/phonon-gstreamer')
-rw-r--r--extra/phonon-gstreamer/PKGBUILD14
-rw-r--r--extra/phonon-gstreamer/phonon-gstreamer.install11
2 files changed, 19 insertions, 6 deletions
diff --git a/extra/phonon-gstreamer/PKGBUILD b/extra/phonon-gstreamer/PKGBUILD
index 203bfc867..c86f0503e 100644
--- a/extra/phonon-gstreamer/PKGBUILD
+++ b/extra/phonon-gstreamer/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 122917 2011-05-07 10:12:53Z andrea $
+# $Id: PKGBUILD 150265 2012-02-16 07:51:52Z andrea $
# Maintainer: Andrea Scarpino <andrea@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 @@ build() {
cd build
cmake ../phonon-backend-gstreamer-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON
make
}
diff --git a/extra/phonon-gstreamer/phonon-gstreamer.install b/extra/phonon-gstreamer/phonon-gstreamer.install
new file mode 100644
index 000000000..ceb7592ef
--- /dev/null
+++ b/extra/phonon-gstreamer/phonon-gstreamer.install
@@ -0,0 +1,11 @@
+post_install(){
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}