[arch-commits] Commit in kmplayer/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Thu Jul 24 21:06:13 EDT 2008


    Date: Thursday, July 24, 2008 @ 21:06:13
  Author: pierre
Revision: 6550

upgpkg: kmplayer 0.11.0-1

Modified:
  kmplayer/trunk/PKGBUILD

----------+
 PKGBUILD |   36 ++++++++++++++++--------------------
 1 file changed, 16 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-25 00:44:49 UTC (rev 6549)
+++ PKGBUILD	2008-07-25 01:06:13 UTC (rev 6550)
@@ -1,30 +1,26 @@
 # $Id$
 # Maintainer: damir <damir at archlinux.org>
-# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 
 pkgname=kmplayer
-pkgver=0.10.0.c
-origver=0.10.0c
-force=y
+pkgver=0.11.0
+_origver=0.11.0-rc4
 pkgrel=1
 pkgdesc="Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE"
 arch=("i686" "x86_64")
-license=('GPL2')
+license=('GPL' 'LGPL' 'FDL')
 url="http://kmplayer.kde.org"
-depends=('libx11' 'libxv' 'cairo' 'kdelibs>=3.5.8' 'gstreamer0.10-base' 'xine-lib' 'dbus-glib' 'qt3' 'dbus-qt3' 'gtk2')
-# gtk2 and dbus-glib is needed only by opt/kde/bin/knpplayer so it probably may be also made optional if needed
-source=($url/pkgs/$pkgname-$origver.tar.bz2)
+depends=('kdelibs>=4.1' 'gtk2')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+source=("http://kmplayer.kde.org/pkgs/kmplayer-${_origver}.tar.bz2")
+md5sums=('ec9267dd78db1b6148c103c6a38116a3')
 
 build() {
-  export MAKEFLAGS="-j1"
-  cd $startdir/src/$pkgname-$origver
-   
-  ./configure --prefix=/opt/kde
-  make || return 1
-  make prefix=$startdir/pkg/opt/kde install
-
-  rm -f ${startdir}/pkg/opt/kde/share/mimelnk/application/x-mplayer2.desktop
-}
-
-
-md5sums=('3e76147784b2642891c9efbfe260e4c4')
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${_origver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+	make DESTDIR=$pkgdir install
+}
\ No newline at end of file





More information about the arch-commits mailing list