diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 01:46:55 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 01:46:55 (GMT) |
commit | 8c72f00bfb00ec491e8ce3398879de21056d72be (patch) | |
tree | c6c385b7dedf26e748a44fc9fc8277dace3c57f0 /abs/core/projectm/PKGBUILD | |
parent | 4a582a694656a9a5250b3b5fefa952c36e55e585 (diff) | |
download | linhes_pkgbuild-8c72f00bfb00ec491e8ce3398879de21056d72be.zip linhes_pkgbuild-8c72f00bfb00ec491e8ce3398879de21056d72be.tar.gz linhes_pkgbuild-8c72f00bfb00ec491e8ce3398879de21056d72be.tar.bz2 |
projectm: upgrade
Diffstat (limited to 'abs/core/projectm/PKGBUILD')
-rw-r--r-- | abs/core/projectm/PKGBUILD | 41 |
1 files changed, 26 insertions, 15 deletions
diff --git a/abs/core/projectm/PKGBUILD b/abs/core/projectm/PKGBUILD index 4baced2..74bbe88 100644 --- a/abs/core/projectm/PKGBUILD +++ b/abs/core/projectm/PKGBUILD @@ -1,21 +1,32 @@ -# $Id: PKGBUILD 8766 2008-08-16 05:30:47Z eric $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> +# $Id: PKGBUILD 78581 2010-04-26 20:01:05Z andrea $ +# Maintainer: +# Contributor: Alexander Baldeck <alexander@archlinux.org> + pkgname=projectm -pkgver=0.99 +pkgver=2.0.1 pkgrel=2 pkgdesc="A music visualizer which uses 3D accelerated iterative image based rendering" -arch=(i686 x86_64) -url="http://xmms-projectm.sourceforge.net" -license="GPL" -depends=('ftgl' 'glut') -makedepends=('pkgconfig' 'xproto') -install=projectm.install -source=(http://downloads.sourceforge.net/sourceforge/projectm/libprojectM-$pkgver.tar.bz2) -md5sums=('20dc0aa2af96340c3209c9795cc3217d') +arch=('i686' 'x86_64') +url="http://projectm.sourceforge.net/" +license=('LGPL') +depends=('gcc-libs' 'ftgl' 'glew' 'gtkglext') +makedepends=('pkgconfig' 'cmake') +source=(http://downloads.sourceforge.net/${pkgname}/projectM-${pkgver}-Source.tar.gz) +md5sums=('f8bf795878cdbbef54784cf2390b4c89') build() { - cd $startdir/src/libprojectM - ./configure --prefix=/usr - make || return - make DESTDIR=$startdir/pkg install + cd ${srcdir} +# sed -i 's|FTGL/FTGL.h|FTGL/ftgl.h|' Renderer.hpp || return 1 +# sed -i "s|#include <iostream>|#include <cstdio>\n#include <iostream>|" BuiltinParams.cpp || return 1 + mkdir build + cd build + cmake ../projectM-${pkgver}-Source \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/build + make DESTDIR=${pkgdir} install || return 1 } |