Add game-music-emu, a decoder plugin for mpd (close #5431)

@vcunat: nitpicks and add meta.license.
This commit is contained in:
Kurt Dietrich 2014-12-22 01:49:34 -05:00 committed by Vladimír Čunát
parent 83d9dd40f6
commit f101f632b7
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
version = "0.6.0";
name = "game-music-emu-${version}";
src = fetchurl {
url = "https://game-music-emu.googlecode.com/files/${name}.tar.bz2";
sha256 = "11s9l938nxbrk7qb2k1ppfgizcz00cakbxgv0gajc6hyqv882vjh";
};
buildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = https://code.google.com/p/game-music-emu/;
description = "A collection of video game music file emulators";
license = licenses.lgpl21Plus;
platforms = platforms.all;
maintainers = [ ];
};
}

View File

@ -19,6 +19,7 @@
, aacSupport ? true, faad2
, pulseaudioSupport ? true, pulseaudio
, jackSupport ? true, jack2
, gmeSupport ? true, game-music-emu
, icuSupport ? true, icu
}:
@ -59,6 +60,7 @@ in stdenv.mkDerivation rec {
++ opt zipSupport zziplib
++ opt pulseaudioSupport pulseaudio
++ opt jackSupport jack2
++ opt gmeSupport game-music-emu
++ opt icuSupport icu;
configureFlags =
@ -85,6 +87,7 @@ in stdenv.mkDerivation rec {
(mkFlag jackSupport "jack")
(mkFlag stdenv.isDarwin "osx")
(mkFlag icuSupport "icu")
(mkFlag gmeSupport "gme")
"--enable-debug"
]
++ opt stdenv.isLinux

View File

@ -9991,6 +9991,8 @@ let
fuze = callPackage ../applications/networking/instant-messengers/fuze {};
game-music-emu = callPackage ../applications/audio/game-music-emu { };
gcolor2 = callPackage ../applications/graphics/gcolor2 { };
get_iplayer = callPackage ../applications/misc/get_iplayer {};