# maintainer: Neophytos Kolokotronis # contributions from ArchLinux: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kaffeine pkgname=kaffeine pkgver=1.2.2 pkgrel=5 pkgdesc='KDE media player' license=('GPL') arch=('x86_64') url="http://kaffeine.kde.org" depends=('kdelibs' 'kde-runtime' 'xine-lib') makedepends=('pkg-config' 'cmake' 'automoc4') categories=('multimedia') install=kaffeine.install source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'kaffeine-1.2.2-gcc4.7.patch') md5sums=('690e48d2e5fe123887109aa9b1bc1c31' 'f82890d4164d29fae518268165f06960') build() { cd ${pkgname}-${pkgver} patch -p1 -i "${srcdir}/kaffeine-1.2.2-gcc4.7.patch" cd "$srcdir" mkdir -p build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "$srcdir/build" make DESTDIR="$pkgdir" install }