mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Add game-music-emu, a decoder plugin for mpd (close #5431)
@vcunat: nitpicks and add meta.license.
This commit is contained in:
parent
83d9dd40f6
commit
f101f632b7
21
pkgs/applications/audio/game-music-emu/default.nix
Normal file
21
pkgs/applications/audio/game-music-emu/default.nix
Normal 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 = [ ];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user