mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
makemkv: make reproducible
This commit is contained in:
parent
9805b9075e
commit
ae0f776b72
@ -39,6 +39,8 @@ in mkDerivation {
|
||||
|
||||
sourceRoot = "makemkv-oss-${version}";
|
||||
|
||||
patches = [ ./r13y.patch ];
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook pkg-config ];
|
||||
|
||||
buildInputs = [ ffmpeg openssl qtbase zlib ];
|
||||
|
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