summaryrefslogtreecommitdiff
path: root/kde-unstable/phonon/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kde-unstable/phonon/PKGBUILD')
-rw-r--r--kde-unstable/phonon/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/kde-unstable/phonon/PKGBUILD b/kde-unstable/phonon/PKGBUILD
new file mode 100644
index 000000000..ad7852355
--- /dev/null
+++ b/kde-unstable/phonon/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 125369 2011-05-26 10:11:37Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=phonon
+pkgver=4.5.55
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://phonon.kde.org"
+license=('LGPL')
+pkgdesc="The multimedia framework for KDE4"
+depends=('qt' 'phonon-backend' 'libpulse' 'libqzeitgeist')
+optdepends=('pulseaudio: PulseAudio support')
+makedepends=('cmake' 'automoc4' 'pulseaudio')
+source=("${pkgname}-${pkgver}.tar.bz2"::"http://quickgit.kde.org/?p=phonon.git&a=snapshot&h=37ec84753af68c4f30041d080b37f1a49a89197c&fmt=tbz2")
+#source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('ce1316c88df988320e75a2b4c3cb8804')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON
+ make
+}
+
+package(){
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}