diff options
-rw-r--r-- | extra/flac/.footprint | 47 | ||||
-rw-r--r-- | extra/flac/.md5sum | 2 | ||||
-rwxr-xr-x | extra/flac/Pkgfile | 29 | ||||
-rw-r--r-- | extra/flac/gcc4.patch | 21 |
4 files changed, 99 insertions, 0 deletions
diff --git a/extra/flac/.footprint b/extra/flac/.footprint new file mode 100644 index 000000000..493d64a43 --- /dev/null +++ b/extra/flac/.footprint @@ -0,0 +1,47 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/flac +-rwxr-xr-x root/root usr/bin/metaflac +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/FLAC++/ +-rw-r--r-- root/root usr/include/FLAC++/all.h +-rw-r--r-- root/root usr/include/FLAC++/decoder.h +-rw-r--r-- root/root usr/include/FLAC++/encoder.h +-rw-r--r-- root/root usr/include/FLAC++/export.h +-rw-r--r-- root/root usr/include/FLAC++/metadata.h +drwxr-xr-x root/root usr/include/FLAC/ +-rw-r--r-- root/root usr/include/FLAC/all.h +-rw-r--r-- root/root usr/include/FLAC/assert.h +-rw-r--r-- root/root usr/include/FLAC/callback.h +-rw-r--r-- root/root usr/include/FLAC/export.h +-rw-r--r-- root/root usr/include/FLAC/format.h +-rw-r--r-- root/root usr/include/FLAC/metadata.h +-rw-r--r-- root/root usr/include/FLAC/ordinals.h +-rw-r--r-- root/root usr/include/FLAC/stream_decoder.h +-rw-r--r-- root/root usr/include/FLAC/stream_encoder.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libFLAC++.a +-rwxr-xr-x root/root usr/lib/libFLAC++.la +lrwxrwxrwx root/root usr/lib/libFLAC++.so -> libFLAC++.so.6.2.0 +lrwxrwxrwx root/root usr/lib/libFLAC++.so.6 -> libFLAC++.so.6.2.0 +-rwxr-xr-x root/root usr/lib/libFLAC++.so.6.2.0 +-rw-r--r-- root/root usr/lib/libFLAC.a +-rwxr-xr-x root/root usr/lib/libFLAC.la +lrwxrwxrwx root/root usr/lib/libFLAC.so -> libFLAC.so.8.2.0 +lrwxrwxrwx root/root usr/lib/libFLAC.so.8 -> libFLAC.so.8.2.0 +-rwxr-xr-x root/root usr/lib/libFLAC.so.8.2.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/flac++.pc +-rw-r--r-- root/root usr/lib/pkgconfig/flac.pc +drwxr-xr-x root/root usr/lib/xmms/ +drwxr-xr-x root/root usr/lib/xmms/Input/ +-rwxr-xr-x root/root usr/lib/xmms/Input/libxmms-flac.la +-rwxr-xr-x root/root usr/lib/xmms/Input/libxmms-flac.so +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/aclocal/ +-rw-r--r-- root/root usr/share/aclocal/libFLAC++.m4 +-rw-r--r-- root/root usr/share/aclocal/libFLAC.m4 +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/flac.1.gz +-rw-r--r-- root/root usr/share/man/man1/metaflac.1.gz diff --git a/extra/flac/.md5sum b/extra/flac/.md5sum new file mode 100644 index 000000000..96524d485 --- /dev/null +++ b/extra/flac/.md5sum @@ -0,0 +1,2 @@ +153c8b15a54da428d1f0fadc756c22c7 flac-1.2.1.tar.gz +8313857dbfa93d3370b8d1bb0cd251ca gcc4.patch diff --git a/extra/flac/Pkgfile b/extra/flac/Pkgfile new file mode 100755 index 000000000..f4346b18d --- /dev/null +++ b/extra/flac/Pkgfile @@ -0,0 +1,29 @@ +# Description: Similaire au codec MP3 mais sans perte d'information dans la compression donc sans perte de qualité +# URL: http://flac.sourceforge.net/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: libogg, xmms + +name=flac +version=1.2.1 +release=1 +source=( http://downloads.sourceforge.net/$name/$name-$version.tar.gz\ + gcc4.patch) + + +build() { + export MAKEFLAGS="-j1" + cd $name-$version + patch -Np0 -i ../gcc4.patch + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --enable-shared \ + --disable-sse \ + --disable-thorough-tests \ + --disable-rpath \ + --with-pic + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/share/doc +} diff --git a/extra/flac/gcc4.patch b/extra/flac/gcc4.patch new file mode 100644 index 000000000..627ee9f63 --- /dev/null +++ b/extra/flac/gcc4.patch @@ -0,0 +1,21 @@ +--- examples/cpp/encode/file/main.cpp.orig 2007-09-13 09:58:03.000000000 -0600 ++++ examples/cpp/encode/file/main.cpp 2007-11-18 12:59:45.000000000 -0600 +@@ -30,6 +30,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <cstring> + #include "FLAC++/metadata.h" + #include "FLAC++/encoder.h" + +--- examples/cpp/decode/file/main.cpp.orig 2008-09-14 20:37:05.000000000 +0200 ++++ examples/cpp/decode/file/main.cpp 2008-09-14 20:37:19.000000000 +0200 +@@ -30,6 +30,7 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <cstring> + #include "FLAC++/decoder.h" + + static FLAC__uint64 total_samples = 0; + |