diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-09-17 19:10:21 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-09-17 19:10:21 +0000 |
commit | 2c5de6132761328a58a89e6813eef856f0c606a9 (patch) | |
tree | b07fabdf24d8ea31fa839f7c8f913164751849eb /pkgs/applications/audio | |
parent | 28841f686c8c93d1974c39fcf39a2bc0be784dc4 (diff) | |
parent | 83bfd425349459898b1cf16330518c9a330b32ec (diff) | |
download | nixpkgs-2c5de6132761328a58a89e6813eef856f0c606a9.tar nixpkgs-2c5de6132761328a58a89e6813eef856f0c606a9.tar.gz nixpkgs-2c5de6132761328a58a89e6813eef856f0c606a9.tar.bz2 nixpkgs-2c5de6132761328a58a89e6813eef856f0c606a9.tar.lz nixpkgs-2c5de6132761328a58a89e6813eef856f0c606a9.tar.xz nixpkgs-2c5de6132761328a58a89e6813eef856f0c606a9.tar.zst nixpkgs-2c5de6132761328a58a89e6813eef856f0c606a9.zip |
Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23840
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/abcde/default.nix | 6 | ||||
-rw-r--r-- | pkgs/applications/audio/audacious/default.nix | 8 | ||||
-rw-r--r-- | pkgs/applications/audio/id3v2/default.nix | 28 | ||||
-rw-r--r-- | pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch | 14 |
4 files changed, 49 insertions, 7 deletions
diff --git a/pkgs/applications/audio/abcde/default.nix b/pkgs/applications/audio/abcde/default.nix index 2b581f7e532..e7da594e4bc 100644 --- a/pkgs/applications/audio/abcde/default.nix +++ b/pkgs/applications/audio/abcde/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libcdio, cddiscid, wget, bash, vorbisTools +{ stdenv, fetchurl, libcdio, cddiscid, wget, bash, vorbisTools, id3v2, lame , makeWrapper }: let version = "2.3.99.6"; @@ -40,7 +40,7 @@ in --replace '#!/bin/bash' '#!${bash}/bin/bash' wrapProgram "$out/bin/abcde" --prefix PATH ":" \ - "$out/bin:${libcdio}/bin:${cddiscid}/bin:${wget}/bin:${vorbisTools}/bin" + "$out/bin:${libcdio}/bin:${cddiscid}/bin:${wget}/bin:${vorbisTools}/bin:${id3v2}/bin:${lame}/bin" wrapProgram "$out/bin/cddb-tool" --prefix PATH ":" \ "${wget}/bin" @@ -58,4 +58,4 @@ in format, and tags them, all in one go. ''; }; - } \ No newline at end of file + } diff --git a/pkgs/applications/audio/audacious/default.nix b/pkgs/applications/audio/audacious/default.nix index 08548aa8b57..66db7efa3e6 100644 --- a/pkgs/applications/audio/audacious/default.nix +++ b/pkgs/applications/audio/audacious/default.nix @@ -4,16 +4,16 @@ }: stdenv.mkDerivation rec { - name = "audacious-2.3"; + name = "audacious-2.4.0"; src = fetchurl { url = "http://distfiles.atheme.org/${name}.tgz"; - sha256 = "0vs16y1vrlkzcbaw8imc36b9lncva69zkdkp38ikbidssiskm6xi"; + sha256 = "1n6mfy2j7lqv5d9r92n1frbs7acplfip5vssqp0j9z5qkidx98pj"; }; pluginsSrc = fetchurl { - url = "http://distfiles.atheme.org/audacious-plugins-2.3.tgz"; - sha256 = "0hdami52qpiyim3nz3qnml85wgjzpmx6g2wahfnsdvncmhm4v93x"; + url = "http://distfiles.atheme.org/audacious-plugins-2.4.0.tgz"; + sha256 = "04rsfh7c54ffz6qavl3li5haa7jnaa42m4p1w0s4qpiiw3pvbaf5"; }; # `--enable-amidiplug' is to prevent configure from looking in /proc/asound. diff --git a/pkgs/applications/audio/id3v2/default.nix b/pkgs/applications/audio/id3v2/default.nix new file mode 100644 index 00000000000..7f062b1799f --- /dev/null +++ b/pkgs/applications/audio/id3v2/default.nix @@ -0,0 +1,28 @@ +{stdenv, fetchurl, id3lib, groff}: + +stdenv.mkDerivation rec { + name = "id3v2-0.1.11"; + src = fetchurl { + url = "mirror://sourceforge/id3v2/${name}.tar.gz"; + sha256 = "00r6f9yzmkrqa62dnkm8njg5cjzhmy0l17nj1ba15nrrm0mnand4"; + }; + + patches = [ ./id3v2-0.1.11-track-bad-free.patch ]; + + buildNativeInputs = [ groff ]; + buildInputs = [ id3lib ]; + + configurePhase = '' + export makeFlags=PREFIX=$out + ''; + + preInstall = '' + ensureDir $out/bin $out/man/man1 + ''; + + meta = { + description = "A command line editor for id3v2 tags"; + homepage = http://id3v2.sourceforge.net/; + license = "GPLv2+"; + }; +} diff --git a/pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch b/pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch new file mode 100644 index 00000000000..3222fc7f41c --- /dev/null +++ b/pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch @@ -0,0 +1,14 @@ +http://sourceforge.net/tracker/index.php?func=detail&aid=1252035&group_id=4193&atid=304193 + +diff -up id3v2-0.1.11/id3v2.cpp~ id3v2-0.1.11/id3v2.cpp +--- id3v2-0.1.11/id3v2.cpp~ 2004-05-04 21:30:15.000000000 +0300 ++++ id3v2-0.1.11/id3v2.cpp 2008-01-03 21:22:02.000000000 +0200 +@@ -423,7 +423,7 @@ int main( int argc, char *argv[]) + { + // check if there is a total track number and if we only have + // the track number for this file. In this case combine them. +- char *currentTrackNum, *newTrackNum; ++ char *currentTrackNum, *newTrackNum = NULL; + + if (pFrame != NULL) + { |