mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
Merge pull request #254117 from amarshall/makemkv-reproducible
makemkv: make reproducible, enable parallel building, clarify license
This commit is contained in:
commit
1168b1af50
@ -39,6 +39,10 @@ in mkDerivation {
|
||||
|
||||
sourceRoot = "makemkv-oss-${version}";
|
||||
|
||||
patches = [ ./r13y.patch ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook pkg-config ];
|
||||
|
||||
buildInputs = [ ffmpeg openssl qtbase zlib ];
|
||||
@ -80,7 +84,7 @@ in mkDerivation {
|
||||
expiration date.
|
||||
'';
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.unfree;
|
||||
license = [ licenses.unfree licenses.lgpl21 ];
|
||||
homepage = "http://makemkv.com";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ titanous ];
|
||||
|
13
pkgs/applications/video/makemkv/r13y.patch
Normal file
13
pkgs/applications/video/makemkv/r13y.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 61c47fc..e08ffac 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -27,7 +27,7 @@ INSTALL=@INSTALL@
|
||||
OBJCOPY=@OBJCOPY@
|
||||
LD=@LD@
|
||||
BUILDINFO_ARCH_NAME=$(shell $(GCC) -dumpmachine)
|
||||
-BUILDINFO_BUILD_DATE=$(shell date)
|
||||
+BUILDINFO_BUILD_DATE=$(shell date -d @${SOURCE_DATE_EPOCH})
|
||||
|
||||
top_srcdir ?= .
|
||||
INCF=-I$(top_srcdir)/
|
Loading…
Reference in New Issue
Block a user