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

Pierre Schmitz pierre at archlinux.org
Sun May 3 11:20:34 EDT 2009


    Date: Sunday, May 3, 2009 @ 11:20:34
  Author: pierre
Revision: 37632

first kde4 version of kaffeine

Modified:
  kaffeine/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-03 14:57:50 UTC (rev 37631)
+++ PKGBUILD	2009-05-03 15:20:34 UTC (rev 37632)
@@ -1,29 +1,28 @@
 # $Id$
-# Maintainer :  Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=kaffeine
-pkgver=0.8.7
+pkgver=1.0pre1
+_pkgver=1.0-pre1
 pkgrel=1
-pkgdesc="Multimedia Player, based on Xine"
+pkgdesc='KDE media player'
 license=('GPL')
 arch=('i686' 'x86_64')
-url="http://kaffeine.sourceforge.net/"
-depends=('qt3' 'kdelibs3' 'libidn' 'acl' 'libart-lgpl' 'lame' 'cdparanoia' 'xine-lib' 'gstreamer0.10-base')
-options=('libtool')
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('3ce644c3c5a9583e9df7187f2cf1d8de')
+url="http://kaffeine.kde.org"
+depends=('kdelibs' 'kdebase-runtime')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${_pkgver}.tar.gz")
+md5sums=('ecae6fd84103a268daf17b61784d837f')
 
 build() {
-	cd ${startdir}/src/${pkgname}-${pkgver}
-
-	. /etc/profile.d/qt3.sh
-	. /etc/profile.d/kde3.sh
-
-	./configure --prefix=/opt/kde \
-		--without-arts \
-		--enable-final
-	make || return 1
-	make DESTDIR=${startdir}/pkg install
-	# remove already provided file by kdelibs
-	rm ${startdir}/pkg/opt/kde/share/mimelnk/application/x-mplayer2.desktop
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgname}-${_pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_SKIP_RPATH=ON \
+		-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+	make DESTDIR=$pkgdir install
 }
\ No newline at end of file



More information about the arch-commits mailing list