core/phonon/PKGBUILD

33 lines
884 B
Bash
Raw Normal View History

2013-11-15 07:19:41 +08:00
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
2013-11-15 08:22:39 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/phonon
2011-01-27 06:20:35 +08:00
pkgname=phonon
2013-11-15 07:19:41 +08:00
pkgver=4.7.0
2013-11-15 08:22:39 +08:00
pkgrel=2
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 \
2013-11-15 08:22:39 +08:00
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
-DCMAKE_INSTALL_LIBDIR=lib
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
}