blob: 5c8e90f156696329302789c0dd06e08a1d1396cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 74519 2012-07-29 21:16:13Z ebelanger $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=projectm
pkgver=2.0.1
pkgrel=6
pkgdesc='A music visualizer which uses 3D accelerated iterative image based rendering.'
arch=('i686' 'x86_64')
url='http://projectm.sourceforge.net/'
license=('LGPL')
depends=('gcc-libs' 'ftgl' 'glew' 'gtkglext')
makedepends=('pkg-config' 'cmake')
source=("http://downloads.sourceforge.net/${pkgname}/projectM-${pkgver}-Source.tar.gz"
'libprojectM-2.0.1-pkg-config.patch'
'libprojectM-2.0.1-fix-linking.patch')
md5sums=('f8bf795878cdbbef54784cf2390b4c89'
'4f258f4e7c2ab612931936bfd7f1f0fb'
'5c178cadf1e00ee4baf32cd9ccbc818c')
build() {
cd "${srcdir}/projectM-${pkgver}-Source"
patch -Np1 -i "${srcdir}/libprojectM-2.0.1-pkg-config.patch"
patch -Np1 -i "${srcdir}/libprojectM-2.0.1-fix-linking.patch"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "${srcdir}/projectM-${pkgver}-Source"
make DESTDIR="${pkgdir}" install
}
|