mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 00:54:11 +00:00
8defac9e45
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 binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.2.1 with grep in /nix/store/bdsg5rzda3rj5k535f56rkbjwsqy4h07-qmmp-1.2.1 - directory tree listing: https://gist.github.com/fed0e3b824b6157facab85accd329d15
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.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2";
|
|
sha256 = "1ag8wh11dq394zjqdyz5g1srjnm4fnq4cwlhpb9k89gpmlk42cdr";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|