makemkv: reformat according to RFC166
This commit is contained in:
parent
ea146adef3
commit
6512417588
@ -1,16 +1,17 @@
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, pkg-config
|
||||
, curl
|
||||
, ffmpeg
|
||||
, openssl
|
||||
, qtbase
|
||||
, zlib
|
||||
{
|
||||
lib,
|
||||
mkDerivation,
|
||||
fetchurl,
|
||||
autoPatchelfHook,
|
||||
pkg-config,
|
||||
curl,
|
||||
ffmpeg,
|
||||
openssl,
|
||||
qtbase,
|
||||
zlib,
|
||||
|
||||
, withJava ? true
|
||||
, jre_headless
|
||||
withJava ? true,
|
||||
jre_headless,
|
||||
}:
|
||||
|
||||
let
|
||||
@ -30,12 +31,15 @@ let
|
||||
];
|
||||
sha256 = "2dtNdyv0+QYWQrfrIu5RQKSN4scSWKuLFNlJZXpxDUM=";
|
||||
};
|
||||
|
||||
in mkDerivation {
|
||||
in
|
||||
mkDerivation {
|
||||
pname = "makemkv";
|
||||
inherit version;
|
||||
|
||||
srcs = [ src_bin src_oss ];
|
||||
srcs = [
|
||||
src_bin
|
||||
src_oss
|
||||
];
|
||||
|
||||
sourceRoot = "makemkv-oss-${version}";
|
||||
|
||||
@ -43,18 +47,25 @@ in mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ ffmpeg openssl qtbase zlib ];
|
||||
buildInputs = [
|
||||
ffmpeg
|
||||
openssl
|
||||
qtbase
|
||||
zlib
|
||||
];
|
||||
|
||||
runtimeDependencies = [ (lib.getLib curl) ];
|
||||
|
||||
qtWrapperArgs =
|
||||
let
|
||||
binPath = lib.makeBinPath [ jre_headless ];
|
||||
in lib.optionals withJava [
|
||||
"--prefix PATH : ${binPath}"
|
||||
];
|
||||
in
|
||||
lib.optionals withJava [ "--prefix PATH : ${binPath}" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
@ -84,7 +95,10 @@ in mkDerivation {
|
||||
expiration date.
|
||||
'';
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
license = [ licenses.unfree licenses.lgpl21 ];
|
||||
license = [
|
||||
licenses.unfree
|
||||
licenses.lgpl21
|
||||
];
|
||||
homepage = "http://makemkv.com";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ ];
|
||||
|
Loading…
Reference in New Issue
Block a user