From fb896d9837cb5d04fef04c29d059a0087c2af6cc Mon Sep 17 00:00:00 2001 From: tnut Date: Fri, 18 Dec 2009 19:34:33 +0100 Subject: wavpack, déplacé dans base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/wavpack/.footprint | 15 +++++++++++++++ base/wavpack/.md5sum | 2 ++ base/wavpack/Pkgfile | 22 ++++++++++++++++++++++ base/wavpack/gcc44.patch | 24 ++++++++++++++++++++++++ extra/wavpack/.footprint | 15 --------------- extra/wavpack/.md5sum | 2 -- extra/wavpack/Pkgfile | 22 ---------------------- extra/wavpack/gcc44.patch | 24 ------------------------ 8 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 base/wavpack/.footprint create mode 100644 base/wavpack/.md5sum create mode 100755 base/wavpack/Pkgfile create mode 100644 base/wavpack/gcc44.patch delete mode 100644 extra/wavpack/.footprint delete mode 100644 extra/wavpack/.md5sum delete mode 100755 extra/wavpack/Pkgfile delete mode 100644 extra/wavpack/gcc44.patch 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) + diff --git a/extra/wavpack/.footprint b/extra/wavpack/.footprint deleted file mode 100644 index f89043cd1..000000000 --- a/extra/wavpack/.footprint +++ /dev/null @@ -1,15 +0,0 @@ -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/extra/wavpack/.md5sum b/extra/wavpack/.md5sum deleted file mode 100644 index df7e9490e..000000000 --- a/extra/wavpack/.md5sum +++ /dev/null @@ -1,2 +0,0 @@ -75320685d1b2fbc8b880c56bd85d25b7 gcc44.patch -2c9d7e3672f60070d4fd2c86c924a3b4 wavpack-4.50.1.tar.bz2 diff --git a/extra/wavpack/Pkgfile b/extra/wavpack/Pkgfile deleted file mode 100755 index 09f6c6851..000000000 --- a/extra/wavpack/Pkgfile +++ /dev/null @@ -1,22 +0,0 @@ -# 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: glibc - -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/extra/wavpack/gcc44.patch b/extra/wavpack/gcc44.patch deleted file mode 100644 index 0ee4b1e76..000000000 --- a/extra/wavpack/gcc44.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- 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) - -- cgit v1.2.3-70-g09d2