summaryrefslogtreecommitdiff
path: root/extra/phonon-vlc/PKGBUILD
blob: 06f5807ce73e794fb5fc52ed0fb4e79448eab455 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 202703 2013-12-25 15:37:00Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=phonon-vlc
pkgver=0.7.1
pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
url='http://phonon.kde.org/'
pkgdesc="Phonon VLC backend"
license=('LGPL')
depends=('vlc')
makedepends=('cmake' 'automoc4' 'phonon-qt4')
provides=('phonon-backend')
source=("http://download.kde.org/stable/phonon/phonon-backend-vlc/${pkgver}/phonon-backend-vlc-${pkgver}.tar.xz")
md5sums=('3c41a3d141d40cedd2819676cdca5ea4')

prepare() {
  mkdir build
}

build() {
  cd build
  cmake ../phonon-backend-vlc-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_SKIP_RPATH=ON \
    -DPLUGIN_INSTALL_DIR=/usr/lib/kde4
  make
}

package() {
  cd build
  make DESTDIR="${pkgdir}" install
}