diff options
author | root <root@rshg047.dnsready.net> | 2011-05-29 22:47:27 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-29 22:47:27 +0000 |
commit | c399070d50c89903ec1dea55aa4aa5147a367565 (patch) | |
tree | 13b71e682dd1e75ccb4c76cfb39934288a7c184e /community/projectm/PKGBUILD | |
parent | a0a7a3e16a1399233b436e64dba17a6cca315393 (diff) |
Sun May 29 22:47:27 UTC 2011
Diffstat (limited to 'community/projectm/PKGBUILD')
-rw-r--r-- | community/projectm/PKGBUILD | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/community/projectm/PKGBUILD b/community/projectm/PKGBUILD index 74bbe8876..84d40eeb8 100644 --- a/community/projectm/PKGBUILD +++ b/community/projectm/PKGBUILD @@ -1,32 +1,31 @@ -# $Id: PKGBUILD 78581 2010-04-26 20:01:05Z andrea $ -# Maintainer: +# $Id: PKGBUILD 48148 2011-05-29 00:07:23Z lfleischer $ +# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Alexander Baldeck <alexander@archlinux.org> pkgname=projectm pkgver=2.0.1 -pkgrel=2 -pkgdesc="A music visualizer which uses 3D accelerated iterative image based rendering" +pkgrel=3 +pkgdesc='A music visualizer which uses 3D accelerated iterative image based rendering.' arch=('i686' 'x86_64') -url="http://projectm.sourceforge.net/" +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') +source=("http://downloads.sourceforge.net/${pkgname}/projectM-${pkgver}-Source.tar.gz" + 'libprojectM-2.0.1-pkg-config.patch') +md5sums=('f8bf795878cdbbef54784cf2390b4c89' + 'c271ec8c541eb281f1294287bdbc3488') build() { - 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 + cd "${srcdir}/projectM-${pkgver}-Source" + + patch -p0 -i ../libprojectM-2.0.1-pkg-config.patch + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + make } package() { - cd ${srcdir}/build - make DESTDIR=${pkgdir} install || return 1 + cd "${srcdir}/projectM-${pkgver}-Source" + make DESTDIR="${pkgdir}" install } |