core/phonon/PKGBUILD
2013-11-14 23:19:41 +00:00

33 lines
865 B
Bash

# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Contributor: abveritas@chakra-project.org
pkgname=phonon
pkgver=4.7.0
pkgrel=1
arch=('x86_64')
url="http://phonon.kde.org"
license=('LGPL')
pkgdesc="The multimedia framework for KDE4"
depends=('pulseaudio' 'libqzeitgeist' 'qtwebkit')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('f5c1a847ac8ae73e67bf762199978278')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPHONON_QT_MKSPECS_INSTALL_DIR=/usr/share/qt/mkspecs/modules \
-DPHONON_QT_PLUGIN_INSTALL_DIR=/usr/lib/qt/plugins/designer
make
}
package(){
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}