updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kmplayer / PKGBUILD
blobc2e5b17045ed27a6ff0b80b84f8f1e7784223d5a
1 # Maintainer: A Rojas <nqn1976 @ gmail.com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: damir <damir@archlinux.org>
5 pkgname=kmplayer
6 pkgver=0.11.3.a
7 _pkgver=0.11.3a
8 pkgrel=1
9 pkgdesc="Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE"
10 arch=('i686' 'x86_64')
11 license=('GPL' 'LGPL' 'FDL')
12 url="http://kmplayer.kde.org"
13 depends=('kdebase-runtime' 'cairo' 'dbus-glib')
14 makedepends=('cmake' 'automoc4')
15 install=${pkgname}.install
16 source=("http://kmplayer.kde.org/pkgs/${pkgname}-${_pkgver}.tar.bz2")
17 md5sums=('5d37eaea3bfbf8040e4ed303b878c43d')
19 build() {
20   cd ${srcdir}
21   # compile translations
22   echo "add_subdirectory( po )" >> ${pkgname}-${_pkgver}/CMakeLists.txt
23   mkdir build
24   cd build
25   cmake ../${pkgname}-${_pkgver} \
26     -DCMAKE_BUILD_TYPE=Release \
27     -DCMAKE_INSTALL_PREFIX=/usr
28   make
31 package() {
32   cd ${srcdir}/build
33   make DESTDIR=${pkgdir} install