Author: ludo
Date: Tue Oct 19 13:20:24 2010
New Revision: 24365
URL: https://svn.nixos.org/websvn/nix/?rev=24365&sc=1

Log:
GNU EMMS: Add dependency on MP3Info.

Modified:
   nixpkgs/trunk/pkgs/applications/editors/emacs-modes/emms/default.nix

Modified: nixpkgs/trunk/pkgs/applications/editors/emacs-modes/emms/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/editors/emacs-modes/emms/default.nix        
Tue Oct 19 13:20:15 2010        (r24364)
+++ nixpkgs/trunk/pkgs/applications/editors/emacs-modes/emms/default.nix        
Tue Oct 19 13:20:24 2010        (r24365)
@@ -1,5 +1,5 @@
 { stdenv, fetchurl, emacs, texinfo
-, mpg321, vorbisTools, taglib, alsaUtils }:
+, mpg321, vorbisTools, taglib, mp3info, alsaUtils }:
 
 # XXX: EMMS also supports Xine, MPlayer, Jack, etc.
 
@@ -36,12 +36,18 @@
     # Use the libtag info back-end for MP3s since we're building it.
     sed -i "emms-setup.el" \
         -e 's|emms-info-mp3info|emms-info-libtag|g'
+
+    # But use mp3info for the tag editor.
+    sed -i "emms-info-mp3info.el" \
+        -e 
's|emms-info-mp3info-program-name[[:blank:]]\+"mp3info"|emms-info-mp3info-program-name
 "${mp3info}/bin/mp3info"|g'
+    sed -i "emms-tag-editor.el" \
+        -e 's|"mp3info"|"${mp3info}/bin/mp3info"|g'
   '';
 
   postInstall = ''
     ensureDir "$out/bin" && cp emms-print-metadata "$out/bin"
   '';
-  
+
   meta = {
     description = "GNU EMMS, The Emacs Multimedia System";
 
@@ -57,6 +63,10 @@
     '';
 
     homepage = http://www.gnu.org/software/emms/;
+
     license = "GPLv3+";
+
+    maintainers = [ stdenv.lib.maintainers.ludo ];
+    platforms = stdenv.lib.platforms.gnu;
   };
 }
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to