1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
{ lib
, stdenv
, fetchFromGitHub
, alsa-lib
, cmake
, ffmpeg
, fribidi
, game-music-emu
, libXdmcp
, libXv
, libass
, libcddb
, libcdio
, libpulseaudio
, libsidplayfp
, libva
, libxcb
, pkg-config
, qtbase
, qttools
, taglib
, vulkan-headers
, vulkan-tools
, wrapQtAppsHook
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qmplay2";
version = "24.04.07";
src = fetchFromGitHub {
owner = "zaps166";
repo = "QMPlay2";
rev = finalAttrs.version;
fetchSubmodules = true;
hash = "sha256-WIDGApvl+aaB3Vdv0sHY+FHWqzreWWd3/xOLV11YfxM=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];
buildInputs = [
alsa-lib
ffmpeg
fribidi
game-music-emu
libXdmcp
libXv
libass
libcddb
libcdio
libpulseaudio
libsidplayfp
libva
libxcb
qtbase
qttools
taglib
vulkan-headers
vulkan-tools
];
postInstall = ''
# Because we think it is better to use only lowercase letters!
ln -s $out/bin/QMPlay2 $out/bin/qmplay2
'';
meta = {
homepage = "https://github.com/zaps166/QMPlay2/";
description = "Qt-based Multimedia player";
longDescription = ''
QMPlay2 is a video and audio player. It can play all formats supported by
FFmpeg, libmodplug (including J2B and SFX). It also supports Audio CD, raw
files, Rayman 2 music and chiptunes. It contains YouTube and MyFreeMP3
browser.
'';
changelog = "https://github.com/zaps166/QMPlay2/releases/tag/${finalAttrs.version}";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ AndersonTorres kashw2 ];
platforms = lib.platforms.linux;
};
})
|