core/phonon/PKGBUILD

33 lines
865 B
Bash
Raw Normal View History

2013-11-15 07:19:41 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Contributor: abveritas@chakra-project.org
2011-01-27 06:20:35 +08:00
pkgname=phonon
2013-11-15 07:19:41 +08:00
pkgver=4.7.0
pkgrel=1
arch=('x86_64')
2011-01-27 06:20:35 +08:00
url="http://phonon.kde.org"
2010-05-17 16:01:47 +08:00
license=('LGPL')
pkgdesc="The multimedia framework for KDE4"
2013-11-15 07:19:41 +08:00
depends=('pulseaudio' 'libqzeitgeist' 'qtwebkit')
makedepends=('cmake' 'automoc4')
2013-11-15 07:19:41 +08:00
source=("http://download.kde.org/stable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz")
md5sums=('f5c1a847ac8ae73e67bf762199978278')
2010-05-17 16:01:47 +08:00
build() {
cd "${srcdir}"
2011-01-27 06:20:35 +08:00
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
2011-01-27 06:20:35 +08:00
make
2010-05-17 16:01:47 +08:00
}
2011-01-27 06:20:35 +08:00
package(){
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
2013-11-15 07:19:41 +08:00
}