desktop/kmplayer/PKGBUILD

32 lines
883 B
Bash
Raw Normal View History

# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# Contributor: abveritas[at]chakra-project[dot]org>
2011-01-15 03:55:26 +08:00
pkgname=kmplayer
pkgver=0.11.3.1
_pkgver=0.11.3d
pkgrel=2
2011-01-15 03:55:26 +08:00
pkgdesc="Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE"
arch=('x86_64')
2011-01-15 03:55:26 +08:00
license=('GPL' 'LGPL' 'FDL')
url="http://kmplayer.kde.org"
depends=('kde-runtime' 'pango' 'gstreamer0.10' 'xine-lib' 'mplayer' 'ffmpeg')
2011-01-15 03:55:26 +08:00
makedepends=('pkgconfig' 'cmake' 'automoc4' 'docbook-xsl')
install=${pkgname}.install
categories=('multimedia')
source=("http://kmplayer.kde.org/pkgs/$pkgname-$_pkgver.tar.bz2")
md5sums=('a652d00370e0940e6bd9cf51b32770c4')
2011-01-15 03:55:26 +08:00
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${_pkgver} \
2011-01-15 03:55:26 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}