summaryrefslogtreecommitdiff
path: root/extra/phonon-xine/PKGBUILD
blob: 6cd12592a348716c1bd647ef5280883f79cabd67 (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
# $Id$
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=phonon-xine
pkgver=4.4.4
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
url="http://phonon.kde.org"
pkgdesc="Phonon Xine backend"
license=('LGPL')
depends=('xine-lib')
makedepends=('cmake' 'automoc4' 'phonon')
provides=('phonon-backend')
source=("http://download.kde.org/stable/phonon/phonon-backend-xine/${pkgver}/src/phonon-backend-xine-${pkgver}.tar.bz2")
md5sums=('b127104e67538e573adeed3b2fb3bf55')

build() {
  cd ${srcdir}
  mkdir build
  cd build
  cmake ../phonon-backend-xine-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

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