Merge pull request #307256 from jchw-forks/adopt/makemkv

makemkv: add jchw to maintainers
This commit is contained in:
Weijia Wang 2024-04-28 04:45:37 +02:00 committed by GitHub
commit ad6acfc305
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,9 +95,12 @@ 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; [ ];
maintainers = with maintainers; [ jchw ];
};
}