summaryrefslogtreecommitdiff
path: root/extra/phonon-gstreamer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/phonon-gstreamer/PKGBUILD')
-rw-r--r--extra/phonon-gstreamer/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/phonon-gstreamer/PKGBUILD b/extra/phonon-gstreamer/PKGBUILD
index 933136ffc..ec27a594e 100644
--- a/extra/phonon-gstreamer/PKGBUILD
+++ b/extra/phonon-gstreamer/PKGBUILD
@@ -1,32 +1,35 @@
-# $Id: PKGBUILD 176838 2013-02-01 08:12:28Z andrea $
+# $Id: PKGBUILD 198817 2013-11-05 19:40:13Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=phonon-gstreamer
-pkgver=4.6.3
+pkgver=4.7.0
pkgrel=1
arch=('i686' 'x86_64')
url='http://phonon.kde.org/'
pkgdesc="Phonon GStreamer backend"
license=('LGPL')
depends=('gstreamer0.10-base-plugins')
-makedepends=('cmake' 'automoc4' 'phonon' 'mesa')
+makedepends=('cmake' 'automoc4' 'phonon-qt4')
provides=('phonon-backend')
install="${pkgname}.install"
source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/src/phonon-backend-gstreamer-${pkgver}.tar.xz")
-md5sums=('d7b0b6245f380347c52c09033a814931')
+md5sums=('f00a1529d43158ce9faea516814562d3')
-build() {
- cd "${srcdir}"
+prepare() {
mkdir build
+}
+
+build() {
cd build
cmake ../phonon-backend-gstreamer-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_LIBDIR=lib
make
}
package() {
- cd "${srcdir}/build"
+ cd build
make DESTDIR="${pkgdir}" install
}