git.iko.soy/typeable/nixpkgs
on master help sign in
id3v2 0.1.11 -> 0.1.12
commitade440fa8467106c914b4a01b64880eb055a3a7c authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateSun 19 Apr 2015, 03:29 (12 years ago) parent63727ff
2 files changed+10−24
pkgs/applications/audio/id3v2/default.nix+10−10 pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patch−14
pkgs/applications/audio/id3v2/default.nix+10−10
@@ -1,28 +1,28 @@
11{stdenv, fetchurl, id3lib, groff, zlib}:
22
3+let version = "0.1.12"; in
34stdenv.mkDerivation rec {
4− name = "id3v2-0.1.11";
5+ name = "id3v2-${version}";
56 src = fetchurl {
67 url = "mirror://sourceforge/id3v2/${name}.tar.gz";
7− sha256 = "00r6f9yzmkrqa62dnkm8njg5cjzhmy0l17nj1ba15nrrm0mnand4";
8+ sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
89 };
910
10− patches = [ ./id3v2-0.1.11-track-bad-free.patch ];
11−
1211 nativeBuildInputs = [ groff ];
1312 buildInputs = [ id3lib zlib ];
1413
15− configurePhase = ''
16− export makeFlags=PREFIX=$out
17− '';
14+ makeFlags = "PREFIX=$(out)";
15+ buildFlags = "clean all";
1816
1917 preInstall = ''
20− mkdir -p $out/bin $out/man/man1
18+ mkdir -p $out/{bin,share/man/man1}
2119 '';
2220
23− meta = {
21+ meta = with stdenv.lib; {
22+ inherit version;
2423 description = "A command line editor for id3v2 tags";
2524 homepage = http://id3v2.sourceforge.net/;
26− license = stdenv.lib.licenses.gpl2Plus;
25+ license = licenses.gpl2Plus;
26+ maintainers = with maintainers; [ nckx ];
2727 };
2828}
pkgs/applications/audio/id3v2/id3v2-0.1.11-track-bad-free.patchdeleted−14
@@ -1,14 +0,0 @@
1−http://sourceforge.net/tracker/index.php?func=detail&aid=1252035&group_id=4193&atid=304193
2−
3−diff -up id3v2-0.1.11/id3v2.cpp~ id3v2-0.1.11/id3v2.cpp
4−--- id3v2-0.1.11/id3v2.cpp~ 2004-05-04 21:30:15.000000000 +0300
5−+++ id3v2-0.1.11/id3v2.cpp 2008-01-03 21:22:02.000000000 +0200
6−@@ -423,7 +423,7 @@ int main( int argc, char *argv[])
7− {
8− // check if there is a total track number and if we only have
9− // the track number for this file. In this case combine them.
10−- char *currentTrackNum, *newTrackNum;
11−+ char *currentTrackNum, *newTrackNum = NULL;
12−
13− if (pFrame != NULL)
14− {