Commit ae0f776b authored by Andrew Marshall's avatar Andrew Marshall
Browse files

makemkv: make reproducible

parent 9805b907
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -39,6 +39,8 @@ in mkDerivation {

  sourceRoot = "makemkv-oss-${version}";

  patches = [ ./r13y.patch ];

  nativeBuildInputs = [ autoPatchelfHook pkg-config ];

  buildInputs = [ ffmpeg openssl qtbase zlib ];
+13 −0
Original line number Diff line number Diff line
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)/