makemkv: make reproducible

This commit is contained in:
Andrew Marshall 2023-09-08 17:14:27 -04:00
parent 9805b9075e
commit ae0f776b72
2 changed files with 15 additions and 0 deletions

View File

@ -39,6 +39,8 @@ in mkDerivation {
sourceRoot = "makemkv-oss-${version}";
patches = [ ./r13y.patch ];
nativeBuildInputs = [ autoPatchelfHook pkg-config ];
buildInputs = [ ffmpeg openssl qtbase zlib ];

View 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)/