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

Tobias Powalowski tpowa at archlinux.org
Sat Aug 8 14:21:20 UTC 2009


    Date: Saturday, August 8, 2009 @ 10:21:19
  Author: tpowa
Revision: 49457

upgpkg: kaffeine 1.0pre1-1

Modified:
  kaffeine/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++++++++++++++-----------------------
 1 file changed, 20 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-08-08 12:15:21 UTC (rev 49456)
+++ PKGBUILD	2009-08-08 14:21:19 UTC (rev 49457)
@@ -1,31 +1,28 @@
 # $Id$
-# Maintainer :  Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
 
 pkgname=kaffeine
-pkgver=0.8.8
+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=('kdelibs3' 'libxtst' 'xine-lib' 'libcdio')
-makedepends=('kernel-headers>=2.6.30')
-options=('libtool')
-source=("http://hftom.free.fr/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('d0ce08113e94c0b31f69d2bbf8974515')
+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 \
-		--without-gstreamer \
-		--enable-final
-	make || return 1
-	make DESTDIR=${startdir}/pkg install
-	# remove already provided file by kdelibs3
-	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