diff options
Diffstat (limited to 'extra/phonon/PKGBUILD')
-rw-r--r-- | extra/phonon/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/phonon/PKGBUILD b/extra/phonon/PKGBUILD new file mode 100644 index 000000000..e93c1dcde --- /dev/null +++ b/extra/phonon/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 116776 2011-03-25 20:41:06Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=phonon +pkgver=4.5.0 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://phonon.kde.org" +license=('LGPL') +pkgdesc="The multimedia framework for KDE4" +depends=('qt' 'phonon-backend' 'libpulse') +optdepends=('pulseaudio: PulseAudio support') +makedepends=('cmake' 'automoc4' 'pulseaudio') +source=("http://download.kde.org/stable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") +md5sums=('32f8d388c18fde2e23dea7bb103f9713') + +build() { + cd ${srcdir} + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_SKIP_RPATH=ON \ + -DWITH_QZeitgeist=OFF + make +} + +package(){ + cd ${srcdir}/build + make DESTDIR=${pkgdir} install +} |