diff options
author | root <root@rshg054.dnsready.net> | 2012-10-20 01:22:20 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-20 01:22:20 -0700 |
commit | 9598f5141ea75ffa72a3c7c85639c6f296020ef1 (patch) | |
tree | 36488f90eaa723f707c26f79ba771bb2910e8368 /community-staging | |
parent | dcc55a1cfa32068d0759c1c8307f6c07c11aec99 (diff) |
Sat Oct 20 01:22:19 PDT 2012
Diffstat (limited to 'community-staging')
-rw-r--r-- | community-staging/projectm/PKGBUILD | 53 |
1 files changed, 30 insertions, 23 deletions
diff --git a/community-staging/projectm/PKGBUILD b/community-staging/projectm/PKGBUILD index 23f53e984..8116c5f2b 100644 --- a/community-staging/projectm/PKGBUILD +++ b/community-staging/projectm/PKGBUILD @@ -1,34 +1,41 @@ -# $Id: PKGBUILD 74455 2012-07-28 21:25:54Z tdziedzic $ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> +# $Id: PKGBUILD 78506 2012-10-20 02:05:41Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: 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') +pkgbase=projectm +pkgname=('projectm' 'libvisual-projectm') +pkgver=2.1.0 +pkgrel=2 +arch=('x86_64' 'i686') 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') +makedepends=('cmake' 'ftgl' 'glew' 'gtkglext' 'libvisual' 'sdl' 'libxext') +source=("http://downloads.sourceforge.net/$pkgname/projectM-complete-$pkgver-Source.tar.gz") +sha256sums=('513204f033006bd3dcdf8aada196d816d6b7187266ddcbb1594d0285cc9406ee') build() { - cd "${srcdir}/projectM-${pkgver}-Source" + cd $srcdir/projectM-complete-$pkgver-Source/src + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DINCLUDE-PROJECTM-QT=OFF \ + -DINCLUDE-PROJECTM-PULSEAUDIO=OFF -DINCLUDE-PROJECTM-TEST=OFF + make +} - patch -Np1 -i "${srcdir}/libprojectM-2.0.1-pkg-config.patch" - patch -Np1 -i "${srcdir}/libprojectM-2.0.1-fix-linking.patch" +package_projectm() { + pkgdesc='Music visualizer which uses 3D accelerated iterative image based rendering' + depends=('ftgl' 'glew' 'gtkglext') - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release - make + cd $srcdir/projectM-complete-$pkgver-Source/src/libprojectM + make DESTDIR=$pkgdir install + install -m644 fonts/Vera.ttf $pkgdir/usr/share/projectM/fonts/Vera.ttf } -package() { - cd "${srcdir}/projectM-${pkgver}-Source" - make DESTDIR="${pkgdir}" install +package_libvisual-projectm() { + pkgdesc='ProjectM XMMS plugin' + depends=("projectm>=$pkgver" 'libvisual' 'sdl') + + cd $srcdir/projectM-complete-$pkgver-Source/src/projectM-libvisual + make DESTDIR=$pkgdir install } + +# vim:set ts=2 sw=2 et: |