archrelease: copy trunk to extra-x86_64
[arch-packages.git] / phonon / trunk / PKGBUILD
blobe72d25b22443d07d227854888fa095cdf51e80cd
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 pkgbase=phonon
5 pkgname=(phonon-qt5)
6 pkgdesc="The multimedia framework by KDE"
7 pkgver=4.11.1
8 pkgrel=2
9 arch=(x86_64)
10 url='https://community.kde.org/Phonon'
11 license=(LGPL)
12 depends=(libpulse qt5-base)
13 optdepends=('pulseaudio: PulseAudio support' 'qt5-tools: Designer plugin')
14 makedepends=(extra-cmake-modules qt5-tools)
15 source=("https://download.kde.org/stable/$pkgbase/$pkgver/$pkgbase-$pkgver.tar.xz"{,.sig})
16 sha256sums=('b4431ea2600df8137a717741ad9ebc7f7ec1649fa3e138541d8f42597144de2d'
17             'SKIP')
18 validpgpkeys=(CB9387521E1EE0127DA804843FDBB55084CC5D84) # Harald Sitter <sitter@kde.org>
20 prepare() {
21   mkdir -p build
24 build() {
25   cd build
26   cmake ../$pkgbase-$pkgver
27   make
30 package_phonon-qt5(){
31   depends+=(phonon-qt5-backend)
32   cd build
33   make DESTDIR="$pkgdir" install