summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/libvisual-projectm/PKGBUILD33
1 files changed, 19 insertions, 14 deletions
diff --git a/abs/core/libvisual-projectm/PKGBUILD b/abs/core/libvisual-projectm/PKGBUILD
index 5b217e8..ea20118 100644
--- a/abs/core/libvisual-projectm/PKGBUILD
+++ b/abs/core/libvisual-projectm/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+# $Id: PKGBUILD 61634 2009-12-20 18:27:47Z andrea $
+# Contributor: Alexander Baldeck <alexander@archlinux.org>
+
pkgname=libvisual-projectm
-pkgver=0.99
+pkgver=2.0.1
pkgrel=1
pkgdesc="ProjectM XMMS plugin"
-arch=(i686)
-url="http://xmms-projectm.sourceforge.net"
-license="GPL"
-depends=('projectm' 'libvisual>=0.4.0' 'sdl')
-makedepends=('pkgconfig')
-options=(!libtool)
-source=(http://superb-east.dl.sourceforge.net/sourceforge/projectm/libvisual-projectM-$pkgver.tar.bz2)
+arch=('i686' 'x86_64')
+url="http://projectm.sourceforge.net/"
+license=('GPL')
+depends=('projectm>=2.0.1' 'libvisual' 'sdl')
+makedepends=('pkgconfig' 'cmake' 'libxext')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/projectm/projectM_libvisual-${pkgver}-Source.tar.gz)
+md5sums=('35e09b09210d48b437e3574bd00b15a8')
build() {
- cd $startdir/src/libvisual-projectM
- ./configure --prefix=/usr
+ cd ${srcdir}
+ mkdir build
+ cd build
+ cmake ../projectM_libvisual-${pkgver}-Source \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release || return 1
make || return
- make DESTDIR=$startdir/pkg install
+ make DESTDIR=${pkgdir} install || return
}
-md5sums=('be076af79aff508fb75241b061937c04')