diff options
Diffstat (limited to 'base/wavpack')
-rw-r--r-- | base/wavpack/.footprint | 15 | ||||
-rw-r--r-- | base/wavpack/.md5sum | 2 | ||||
-rwxr-xr-x | base/wavpack/Pkgfile | 22 | ||||
-rw-r--r-- | base/wavpack/gcc44.patch | 24 |
4 files changed, 63 insertions, 0 deletions
diff --git a/base/wavpack/.footprint b/base/wavpack/.footprint new file mode 100644 index 000000000..f89043cd1 --- /dev/null +++ b/base/wavpack/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/wavpack +-rwxr-xr-x root/root usr/bin/wvgain +-rwxr-xr-x root/root usr/bin/wvunpack +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/wavpack/ +-rw-r--r-- root/root usr/include/wavpack/wavpack.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libwavpack.la +lrwxrwxrwx root/root usr/lib/libwavpack.so -> libwavpack.so.1.0.3 +lrwxrwxrwx root/root usr/lib/libwavpack.so.1 -> libwavpack.so.1.0.3 +-rwxr-xr-x root/root usr/lib/libwavpack.so.1.0.3 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/wavpack.pc diff --git a/base/wavpack/.md5sum b/base/wavpack/.md5sum new file mode 100644 index 000000000..df7e9490e --- /dev/null +++ b/base/wavpack/.md5sum @@ -0,0 +1,2 @@ +75320685d1b2fbc8b880c56bd85d25b7 gcc44.patch +2c9d7e3672f60070d4fd2c86c924a3b4 wavpack-4.50.1.tar.bz2 diff --git a/base/wavpack/Pkgfile b/base/wavpack/Pkgfile new file mode 100755 index 000000000..9fa54f4e7 --- /dev/null +++ b/base/wavpack/Pkgfile @@ -0,0 +1,22 @@ +# Description: Format de compression audio ouvert et sans perte +# URL: http://www.wavpack.com/ +# Maintainer: NuTyX core team +# Packager: fred.galusik at gmail.com +# Depends on: + +name=wavpack +version=4.50.1 +release=2 +source=(http://www.wavpack.com/$name-$version.tar.bz2\ + gcc44.patch) + +build() { +cd $name-$version +patch -Np0 -i ../gcc44.patch + ./configure --prefix=/usr \ + --enable-mmx \ + --enable-static=no + make + make DESTDIR=$PKG install +} + diff --git a/base/wavpack/gcc44.patch b/base/wavpack/gcc44.patch new file mode 100644 index 000000000..0ee4b1e76 --- /dev/null +++ b/base/wavpack/gcc44.patch @@ -0,0 +1,24 @@ +--- src/wavpack_local.h.orig 2009-04-07 10:34:58.000000000 -0400 ++++ src/wavpack_local.h 2009-04-07 11:03:45.000000000 -0400 +@@ -745,9 +745,17 @@ + + #define _m_paddd(m1, m2) __builtin_ia32_paddd (m1, m2) + #define _m_pcmpeqd(m1, m2) __builtin_ia32_pcmpeqd (m1, m2) +-#define _m_pslldi(m1, m2) __builtin_ia32_pslld (m1, m2) +-#define _m_psradi(m1, m2) __builtin_ia32_psrad (m1, m2) +-#define _m_psrldi(m1, m2) __builtin_ia32_psrld (m1, m2) ++ ++#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) || __GNUC__ > 4 ++# define _m_pslldi(m1, m2) __builtin_ia32_pslldi ((__m64)m1, m2) ++# define _m_psradi(m1, m2) __builtin_ia32_psradi ((__m64)m1, m2) ++# define _m_psrldi(m1, m2) __builtin_ia32_psrldi ((__m64)m1, m2) ++#else ++# define _m_pslldi(m1, m2) __builtin_ia32_pslld (m1, m2) ++# define _m_psradi(m1, m2) __builtin_ia32_psrad (m1, m2) ++# define _m_psrldi(m1, m2) __builtin_ia32_psrld (m1, m2) ++#endif ++ + #define _m_psubd(m1, m2) __builtin_ia32_psubd (m1, m2) + #define _m_punpckhdq(m1, m2) __builtin_ia32_punpckhdq (m1, m2) + #define _m_punpckldq(m1, m2) __builtin_ia32_punpckldq (m1, m2) + |