Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=fb412b5204ec41c884b7d51aa1972857582527e2

commit fb412b5204ec41c884b7d51aa1972857582527e2
Author: crazy <[EMAIL PROTECTED]>
Date:   Fri Jan 18 22:06:53 2008 +0100

traverso-0.42.0-1-i686
* New package

diff --git a/source/xmultimedia-extra/traverso/FrugalBuild 
b/source/xmultimedia-extra/traverso/FrugalBuild
new file mode 100644
index 0000000..cffeb86
--- /dev/null
+++ b/source/xmultimedia-extra/traverso/FrugalBuild
@@ -0,0 +1,33 @@
+# Compiling Time: 1.93 SBU
+# Maintainer: crazy <[EMAIL PROTECTED]>
+
+pkgname=traverso
+pkgver=0.42.0
+pkgrel=1
+pkgdesc="Professional Audio Tools for GNU/Linux"
+url="http://traverso-daw.org/";
+depends=('libice' 'libxrender' 'libxext' 'libqtxml' 'libsamplerate' 'wavpack' 
'libvorbis' 'flac' 'librdf' 'libmad' \
+       'lame' 'libqtopengl' 'jack' 'libgcc' 'curl' 'libxslt' 'libgl' 
'libxdamage')
+groups=('xmultimedia-extra')
+archs=('i686')
+_F_cmake_confopts="-DWANT_MP3_ENCODE:BOOL=ON -DWANT_OPENGL:BOOL=ON"
+Finclude cmake
+up2date="lynx -dump 
http://traverso-daw.org/download/releases/current/|Flasttar"
+source=(http://traverso-daw.org/download/releases/current/$pkgname-$pkgver.tar.gz
 \
+       traverso-0.42.0-strictaliasing.patch)
+sha1sums=('7ad1c4555f93b380e44ce2941cbc88babc5f1064' \
+          'e67161bc7b92ca616f5f22b141334e3d7d437815')
+
+
+build()
+{
+       Fcd
+       Fmkdir usr/share/icons/hicolor usr/share/{$pkgname,applications}
+       cp -r resources/freedesktop/icons/* $Fdestdir/usr/share/icons/hicolor 
|| Fdie
+       cp -r resources/themes $Fdestdir/usr/share/$pkgname || Fdie
+       cp -r resources/*.desktop $Fdestdir/usr/share/applications || Fdie
+       ## figure what the other files in resources are good for =)
+       CMake_build
+}
+
+# optimization OK
diff --git 
a/source/xmultimedia-extra/traverso/traverso-0.42.0-strictaliasing.patch 
b/source/xmultimedia-extra/traverso/traverso-0.42.0-strictaliasing.patch
new file mode 100644
index 0000000..70eae12
--- /dev/null
+++ b/source/xmultimedia-extra/traverso/traverso-0.42.0-strictaliasing.patch
@@ -0,0 +1,18 @@
+Index: traverso-0.42.0/src/common/fpu.cc
+===================================================================
+--- traverso-0.42.0.orig/src/common/fpu.cc
++++ traverso-0.42.0/src/common/fpu.cc
+@@ -75,11 +75,12 @@ FPU::FPU ()
+       if (cpuflags & (1 << 24)) {
+
+               char* fxbuf = 0;
++              char** temp = &fxbuf;
+
+ #ifdef NO_POSIX_MEMALIGN
+               if ((fxbuf = (char *) malloc(512)) == 0)
+ #else
+-              if (posix_memalign ((void**)&fxbuf, 16, 512))
++              if (posix_memalign ((void**)temp, 16, 512))
+ #endif
+               {
+                       printf("FPU() ERROR: cannot allocate 16 byte aligned 
buffer for h/w feature detection");
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to