diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-09 12:52:58 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-09 12:52:58 +0200 |
commit | 1163b241973ad44a1d783fdcf9eacd84c95218c7 (patch) | |
tree | a9282f85379e3910b01f0a0dc79627fb068e2712 | |
parent | 756dfccb6ab03650d6617a85b63a15218a80d3ee (diff) | |
download | nutyx-pakxe-1163b241973ad44a1d783fdcf9eacd84c95218c7.tar.gz nutyx-pakxe-1163b241973ad44a1d783fdcf9eacd84c95218c7.tar.bz2 nutyx-pakxe-1163b241973ad44a1d783fdcf9eacd84c95218c7.tar.xz nutyx-pakxe-1163b241973ad44a1d783fdcf9eacd84c95218c7.zip |
Ajout de akode#2.0.2-2
-rw-r--r-- | extra/akode/.footprint | 46 | ||||
-rw-r--r-- | extra/akode/.md5sum | 3 | ||||
-rw-r--r-- | extra/akode/Pkgfile | 21 | ||||
-rw-r--r-- | extra/akode/akode-2.0.2-flac14.patch | 12 | ||||
-rw-r--r-- | extra/akode/gcc43.patch | 47 |
5 files changed, 129 insertions, 0 deletions
diff --git a/extra/akode/.footprint b/extra/akode/.footprint new file mode 100644 index 000000000..8411642c3 --- /dev/null +++ b/extra/akode/.footprint @@ -0,0 +1,46 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/akode-config +-rwxr-xr-x root/root usr/bin/akodeplay +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/akode/ +-rw-r--r-- root/root usr/include/akode/akode_export.h +-rw-r--r-- root/root usr/include/akode/akodelib.h +-rw-r--r-- root/root usr/include/akode/audiobuffer.h +-rw-r--r-- root/root usr/include/akode/audioconfiguration.h +-rw-r--r-- root/root usr/include/akode/audioframe.h +-rw-r--r-- root/root usr/include/akode/auto_sink.h +-rw-r--r-- root/root usr/include/akode/buffered_decoder.h +-rw-r--r-- root/root usr/include/akode/bytebuffer.h +-rw-r--r-- root/root usr/include/akode/converter.h +-rw-r--r-- root/root usr/include/akode/crossfader.h +-rw-r--r-- root/root usr/include/akode/decoder.h +-rw-r--r-- root/root usr/include/akode/encoder.h +-rw-r--r-- root/root usr/include/akode/fast_resampler.h +-rw-r--r-- root/root usr/include/akode/file.h +-rw-r--r-- root/root usr/include/akode/framedecoder.h +-rw-r--r-- root/root usr/include/akode/localfile.h +-rw-r--r-- root/root usr/include/akode/magic.h +-rw-r--r-- root/root usr/include/akode/mmapfile.h +-rw-r--r-- root/root usr/include/akode/player.h +-rw-r--r-- root/root usr/include/akode/pluginhandler.h +-rw-r--r-- root/root usr/include/akode/resampler.h +-rw-r--r-- root/root usr/include/akode/sink.h +-rw-r--r-- root/root usr/include/akode/void_sink.h +-rw-r--r-- root/root usr/include/akode/volumefilter.h +-rw-r--r-- root/root usr/include/akode/wav_decoder.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libakode.la +lrwxrwxrwx root/root usr/lib/libakode.so -> libakode.so.2.0.0 +lrwxrwxrwx root/root usr/lib/libakode.so.2 -> libakode.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libakode.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libakode_alsa_sink.la +-rwxr-xr-x root/root usr/lib/libakode_alsa_sink.so +-rwxr-xr-x root/root usr/lib/libakode_mpc_decoder.la +-rwxr-xr-x root/root usr/lib/libakode_mpc_decoder.so +-rwxr-xr-x root/root usr/lib/libakode_oss_sink.la +-rwxr-xr-x root/root usr/lib/libakode_oss_sink.so +-rwxr-xr-x root/root usr/lib/libakode_src_resampler.la +-rwxr-xr-x root/root usr/lib/libakode_src_resampler.so +-rwxr-xr-x root/root usr/lib/libakode_xiph_decoder.la +-rwxr-xr-x root/root usr/lib/libakode_xiph_decoder.so diff --git a/extra/akode/.md5sum b/extra/akode/.md5sum new file mode 100644 index 000000000..cf5e441ae --- /dev/null +++ b/extra/akode/.md5sum @@ -0,0 +1,3 @@ +659ced0c9c735cb3e55b9138ff02342c 30375-akode-2.0.2.tar.bz2 +41823c2df53a91044f6de9b3b2c1231e akode-2.0.2-flac14.patch +6e22d4a54a06443b1a63437932a633d6 gcc43.patch diff --git a/extra/akode/Pkgfile b/extra/akode/Pkgfile new file mode 100644 index 000000000..7f8cefb16 --- /dev/null +++ b/extra/akode/Pkgfile @@ -0,0 +1,21 @@ +# Description: Librairie audio pour KDE4 +# URL: http://carewolf.com/akode/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=akode +version=2.0.2 +release=2 +source=(http://www.kde-apps.org/CONTENT/content-files/30375-akode-$version.tar.bz2 \ + akode-2.0.2-flac14.patch gcc43.patch) +build() { + cd $name-$version +# patch -Np0 -i ../akode-2.0.2-flac14.patch + patch -Np0 -i ../gcc43.patch + ./configure --prefix=/usr \ + --without-flac \ + --without-ffmpeg + make + make DESTDIR=$PKG install +} diff --git a/extra/akode/akode-2.0.2-flac14.patch b/extra/akode/akode-2.0.2-flac14.patch new file mode 100644 index 000000000..b50b8e56f --- /dev/null +++ b/extra/akode/akode-2.0.2-flac14.patch @@ -0,0 +1,12 @@ +--- akode/plugins/xiph_decoder/flac113_decoder.cpp.orig 2007-06-12 06:59:28.000000000 +0000 ++++ akode/plugins/xiph_decoder/flac113_decoder.cpp 2007-06-12 07:07:23.000000000 +0000 +@@ -108,7 +108,7 @@ + static FLAC__StreamDecoderReadStatus flac_read_callback( + const FLAC__StreamDecoder *, + FLAC__byte buffer[], +- unsigned *bytes, ++ size_t *bytes, + void *client_data) + { + FLACDecoder::private_data *data = (FLACDecoder::private_data*)client_data; + diff --git a/extra/akode/gcc43.patch b/extra/akode/gcc43.patch new file mode 100644 index 000000000..0f763082f --- /dev/null +++ b/extra/akode/gcc43.patch @@ -0,0 +1,47 @@ +--- akode/lib/auto_sink.cpp~ 2007-04-01 14:45:16.000000000 +0000 ++++ akode/lib/auto_sink.cpp 2007-04-01 14:45:23.000000000 +0000 +@@ -21,6 +21,7 @@ + #include "audioframe.h" + #include "auto_sink.h" + ++#include <cstdlib> + #include <iostream> + + namespace aKode { +--- akode/akodeplay/akodeplay.cpp~ 2007-04-01 14:45:59.000000000 +0000 ++++ akode/akodeplay/akodeplay.cpp 2007-04-01 14:46:06.000000000 +0000 +@@ -25,6 +25,8 @@ + #include "../lib/sink.h" + #include "../lib/decoder.h" + ++#include <cstdlib> ++ + #ifdef HAVE_GNU_GETOPT + #include <getopt.h> + #else + +--- akode/lib/player.cpp~ 2006-11-05 14:37:48.000000000 +0000 ++++ akode/lib/player.cpp 2008-12-24 09:57:03.000000000 +0000 +@@ -34,10 +34,12 @@ + #include "converter.h" + #include "resampler.h" + #include "magic.h" ++#include <cstring> + + #include "player.h" + + #ifndef NDEBUG ++#include <cstdlib> + #include <iostream> + #define AKODE_DEBUG(x) {std::cerr << "akode: " << x << "\n";} + #else +--- akode/lib/magic.cpp~ 2005-10-20 20:47:17.000000000 +0000 ++++ akode/lib/magic.cpp 2008-12-24 09:58:30.000000000 +0000 +@@ -22,6 +22,7 @@ + #include "magic.h" + #include "file.h" + #include <iostream> ++#include <cstring> + using std::cerr; + + namespace aKode { |