1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="Transforms the images and the sounds using single FFT (or DCT/DST,etc)."
8 url="http://hypermammut.sourceforge.net/"
10 depends=('wxgtk' 'imagemagick' 'libjpeg' 'audiofile' 'fftw')
12 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
13 md5sums=('483fcbd63300641847d16fb36c5eeca6')
16 cd "$srcdir/$pkgname-$pkgver/src"
19 sed -e "s!wx-config --libs!&|sed \\\"s|-Wl,--as-needed||\\\"!" \
20 -e "s|macros|& -I/usr/include/ImageMagick|" \
25 sed -i "s|(int)this|\*((int \*)this)|" Process/Generator/Random.cpp
27 # include missing wxwidget header
28 sed -i "25i#include <wx/button.h>" UI/ParametersDialog.cpp
34 cd "$srcdir/$pkgname-$pkgver/src"
36 install -Dm755 test_s2i2s "$pkgdir/usr/bin/$pkgname"
39 # vim:set ts=2 sw=2 et: