Want more features on Pastebin? Sign Up, it's FREE!
Guest

[FREQTWEAK] by SpepS

By: a guest on Sep 17th, 2010  |  syntax: None  |  size: 0.90 KB  |  views: 155  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Gael Lane Lepine <galalep at gmail dot com>
  2. # Contributor: SpepS <dreamspepser at yahoo dot it>
  3.  
  4. pkgname=(freqtweak)
  5. pkgver=0.7.2
  6. pkgrel=1
  7. pkgdesc="A tool for FFT-based realtime audio spectral manipulation and display"
  8. arch=('i686' 'x86_64')
  9. url="http://freqtweak.sourceforge.net/"
  10. license=('GPL')
  11. depends=('jack' 'fftw' 'wxgtk' 'libsigcpp1.2')
  12. conflicts=('freqtweak-x86_64')
  13. install=
  14. source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
  15. md5sums=('36a2ae6d0ed836c3e187fb922c1bc6c8')
  16.  
  17. build() {
  18.   cd $srcdir/$pkgname-$pkgver
  19.  
  20.   sed '26 i#include <stdint.h>' -i src/FTutils.hpp || return 1
  21.   sed 's_unsigned)_unsigned long)_g' -i src/FTprocOrderDialog.cpp || return 1
  22.  
  23.   ./configure --prefix=/usr --enable-float || return 1
  24.   make || return 1
  25. }
  26.  
  27. package() {
  28.  
  29.   cd $srcdir/$pkgname-$pkgver
  30.  
  31.   make DESTDIR=$pkgdir install || return 1
  32. }
clone this paste RAW Paste Data