git.iko.soy/typeable/nixpkgs
on master help sign in
QMPlay2: init at 20.07.04
commita843501673f355b48458f9cd08e03861e5d4a969 authorAndersonTorres <torres.anderson.85@protonmail.com> dateFri 27 Nov 2020, 21:02 (6 years ago) parent498ef04
2 files changed+76
pkgs/applications/video/qmplay2/default.nix+74 pkgs/top-level/all-packages.nix+2
pkgs/applications/video/qmplay2/default.nixnew file+74
@@ -0,0 +1,74 @@
1+{ stdenv
2+, fetchFromGitHub
3+, pkg-config
4+, cmake
5+, alsaLib
6+, ffmpeg
7+, libass
8+, libcddb
9+, libcdio
10+, libgme
11+, libpulseaudio
12+, libsidplayfp
13+, libva
14+, libXv
15+, taglib
16+, qtbase
17+, qttools
18+, vulkan-headers
19+, vulkan-tools
20+, wrapQtAppsHook
21+}:
22+
23+let
24+ pname = "qmplay2";
25+ version = "20.07.04";
26+in stdenv.mkDerivation {
27+ inherit pname version;
28+
29+ src = fetchFromGitHub {
30+ owner = "zaps166";
31+ repo = "QMPlay2";
32+ rev = version;
33+ sha256 = "sha256-sUDucxSvsdD2C2FSVrrXeHdNdrjECtJSXVr106OdHzA=";
34+ fetchSubmodules = true;
35+ };
36+
37+ nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
38+ buildInputs = [
39+ alsaLib
40+ ffmpeg
41+ libass
42+ libcddb
43+ libcdio
44+ libgme
45+ libpulseaudio
46+ libsidplayfp
47+ libva
48+ libXv
49+ qtbase
50+ qttools
51+ taglib
52+ vulkan-headers
53+ vulkan-tools
54+ ];
55+
56+ postInstall = ''
57+ # Because we think it is better to use only lowercase letters!
58+ ln -s $out/bin/QMPlay2 $out/bin/qmplay2
59+ '';
60+
61+ meta = with stdenv.lib; {
62+ homepage = "https://github.com/zaps166/QMPlay2/";
63+ description = "Qt-based Multimedia player";
64+ longDescription = ''
65+ QMPlay2 is a video and audio player. It can play all formats supported by
66+ FFmpeg, libmodplug (including J2B and SFX). It also supports Audio CD, raw
67+ files, Rayman 2 music and chiptunes. It contains YouTube and MyFreeMP3
68+ browser.
69+ '';
70+ license = licenses.lgpl3Plus;
71+ maintainers = with maintainers; [ AndersonTorres ];
72+ platforms = with platforms; linux;
73+ };
74+}
pkgs/top-level/all-packages.nix+2
@@ -23371,6 +23371,8 @@ in
2337123371 boost = boost17x;
2337223372 };
2337323373
23374+ qmplay2 = libsForQt5.callPackage ../applications/video/qmplay2 { };
23375+
2337423376 qmetro = callPackage ../applications/misc/qmetro { };
2337523377
2337623378 qmidiarp = callPackage ../applications/audio/qmidiarp {};