mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #105189 from AndersonTorres/wip-qmplay
QMPlay2: init at 20.07.04
This commit is contained in:
commit
208d049eab
2 changed files with 76 additions and 0 deletions
74
pkgs/applications/video/qmplay2/default.nix
Normal file
74
pkgs/applications/video/qmplay2/default.nix
Normal file
|
@ -0,0 +1,74 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, cmake
|
||||
, alsaLib
|
||||
, ffmpeg
|
||||
, libass
|
||||
, libcddb
|
||||
, libcdio
|
||||
, libgme
|
||||
, libpulseaudio
|
||||
, libsidplayfp
|
||||
, libva
|
||||
, libXv
|
||||
, taglib
|
||||
, qtbase
|
||||
, qttools
|
||||
, vulkan-headers
|
||||
, vulkan-tools
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "qmplay2";
|
||||
version = "20.07.04";
|
||||
in stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zaps166";
|
||||
repo = "QMPlay2";
|
||||
rev = version;
|
||||
sha256 = "sha256-sUDucxSvsdD2C2FSVrrXeHdNdrjECtJSXVr106OdHzA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
||||
buildInputs = [
|
||||
alsaLib
|
||||
ffmpeg
|
||||
libass
|
||||
libcddb
|
||||
libcdio
|
||||
libgme
|
||||
libpulseaudio
|
||||
libsidplayfp
|
||||
libva
|
||||
libXv
|
||||
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 = with stdenv.lib; {
|
||||
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.
|
||||
'';
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
|
@ -23390,6 +23390,8 @@ in
|
|||
boost = boost17x;
|
||||
};
|
||||
|
||||
qmplay2 = libsForQt5.callPackage ../applications/video/qmplay2 { };
|
||||
|
||||
qmetro = callPackage ../applications/misc/qmetro { };
|
||||
|
||||
qmidiarp = callPackage ../applications/audio/qmidiarp {};
|
||||
|
|
Loading…
Reference in a new issue