mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
3b1e15140c
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/qmmp/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/wmri4qc7h7p1xb90x82fjknxpq8mr50c-qmmp-1.2.2/bin/qmmp had a zero exit code or showed the expected version - 0 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 1.2.2 with grep in /nix/store/wmri4qc7h7p1xb90x82fjknxpq8mr50c-qmmp-1.2.2 - directory tree listing: https://gist.github.com/5df37ecfd2a1e3650a65dec2b57cef84 - du listing: https://gist.github.com/49d55015de390d6d3f1477dad43024ac
65 lines
1.9 KiB
Nix
65 lines
1.9 KiB
Nix
{ stdenv, fetchurl, cmake, pkgconfig, xlibsWrapper
|
|
, qtbase, qttools, qtmultimedia, qtx11extras
|
|
# transports
|
|
, curl, libmms
|
|
# input plugins
|
|
, libmad, taglib, libvorbis, libogg, flac, libmpcdec, libmodplug, libsndfile
|
|
, libcdio, cdparanoia, libcddb, faad2, ffmpeg, wildmidi
|
|
# output plugins
|
|
, alsaLib, libpulseaudio
|
|
# 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-1.2.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2";
|
|
sha256 = "01nnyg8m3p3px1fj3lfsqqv9zh1388dwx1bm2qv4v87jywimgp79";
|
|
};
|
|
|
|
buildInputs =
|
|
[ # basic requirements
|
|
cmake pkgconfig xlibsWrapper
|
|
qtbase qttools qtmultimedia qtx11extras
|
|
# transports
|
|
curl libmms
|
|
# input plugins
|
|
libmad taglib libvorbis libogg flac libmpcdec libmodplug libsndfile
|
|
libcdio cdparanoia libcddb faad2 ffmpeg wildmidi
|
|
# output plugins
|
|
alsaLib libpulseaudio
|
|
# effect plugins
|
|
libsamplerate
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Qt-based audio player that looks like Winamp";
|
|
homepage = http://qmmp.ylsoftware.com/;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
repositories.svn = http://qmmp.googlecode.com/svn/;
|
|
};
|
|
}
|