diff options
author | Evgeny Egorochkin <phreedom@yandex.ru> | 2013-05-19 09:51:56 -0700 |
---|---|---|
committer | Evgeny Egorochkin <phreedom@yandex.ru> | 2013-05-19 09:51:56 -0700 |
commit | a22f94b4f27ebfe5142eff7da60b1c5e2e557880 (patch) | |
tree | 94df87cfd30c06b75c221df047ab9c50f64fb6b0 /pkgs/applications | |
parent | 677090cad93bc93c9c5c31d122541510328f1abb (diff) | |
parent | b274308c0c6850535a71b4555685f28239b6eea7 (diff) | |
download | nixlib-a22f94b4f27ebfe5142eff7da60b1c5e2e557880.tar nixlib-a22f94b4f27ebfe5142eff7da60b1c5e2e557880.tar.gz nixlib-a22f94b4f27ebfe5142eff7da60b1c5e2e557880.tar.bz2 nixlib-a22f94b4f27ebfe5142eff7da60b1c5e2e557880.tar.lz nixlib-a22f94b4f27ebfe5142eff7da60b1c5e2e557880.tar.xz nixlib-a22f94b4f27ebfe5142eff7da60b1c5e2e557880.tar.zst nixlib-a22f94b4f27ebfe5142eff7da60b1c5e2e557880.zip |
Merge pull request #543 from bjornfor/qmmp
Add Qmmp audio player (plus dependencies)
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/qmmp/default.nix | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/pkgs/applications/audio/qmmp/default.nix b/pkgs/applications/audio/qmmp/default.nix new file mode 100644 index 000000000000..b865bc788c69 --- /dev/null +++ b/pkgs/applications/audio/qmmp/default.nix @@ -0,0 +1,57 @@ +{ stdenv, fetchurl, cmake, qt4, pkgconfig, x11 +# transports +, curl, libmms +# input plugins +, libmad, taglib, libvorbis, libogg, flac, libmpcdec, libmodplug, libsndfile +, libcdio, cdparanoia, libcddb, faad2, ffmpeg, wildmidi +# output plugins +, alsaLib, pulseaudio +# effect plugins +, libsamplerate +}: + +# Additional plugins that can be added: +# wavpack (http://www.wavpack.com/) +# gme (Game music support) +# Ogg Opus support +# BS2B effect plugin (http://bs2b.sourceforge.net/) +# JACK audio support +# ProjectM visualization plugin + +# To make MIDI work we must tell Qmmp what instrument configuration to use (and +# this can unfortunately not be set at configure time): +# Go to settings (ctrl-p), navigate to the WildMidi plugin and click on +# Preferences. In the instrument configuration field, type the path to +# /nix/store/*wildmidi*/etc/wildmidi.cfg (or your own custom cfg file). + +# Qmmp installs working .desktop file(s) all by itself, so we don't need to +# handle that. + +stdenv.mkDerivation rec { + name = "qmmp-0.7.0"; + + src = fetchurl { + url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2"; + sha256 = "0g8qcs82y3dy06lsgam2w6gh2ccx0frlw9fp4xg947vi3a16g6ig"; + }; + + buildInputs = + [ # basic requirements + cmake qt4 pkgconfig x11 + # transports + curl libmms + # input plugins + libmad taglib libvorbis libogg flac libmpcdec libmodplug libsndfile + libcdio cdparanoia libcddb faad2 ffmpeg wildmidi + # output plugins + alsaLib pulseaudio + # effect plugins + libsamplerate + ]; + + meta = { + description = "Qt-based audio player that looks like Winamp"; + homepage = http://qmmp.ylsoftware.com/; + license = stdenv.lib.licenses.gpl2; + }; +} |