diff mbox series

[1/4] package/mpv: fix reproducible build issues

Message ID 20210618192237.808519-1-bernd.kuhls@t-online.de
State Accepted
Headers show
Series [1/4] package/mpv: fix reproducible build issues | expand

Commit Message

Bernd Kuhls June 18, 2021, 7:22 p.m. UTC
Do not include the build date when creating reproducible builds.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mpv/mpv.mk | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Thomas Petazzoni July 18, 2021, 9:33 p.m. UTC | #1
On Fri, 18 Jun 2021 21:22:34 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:

> Do not include the build date when creating reproducible builds.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/mpv/mpv.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Series applied, thanks!

Thomas
Peter Korsgaard Aug. 4, 2021, 1:43 p.m. UTC | #2
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Do not include the build date when creating reproducible builds.
 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Committed to 2021.02.x and 2021.05.x, thanks.
diff mbox series

Patch

diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk
index 25ac783b52..30f377054f 100644
--- a/package/mpv/mpv.mk
+++ b/package/mpv/mpv.mk
@@ -28,6 +28,10 @@  MPV_CONF_OPTS = \
 	--disable-uchardet \
 	--disable-vapoursynth
 
+ifeq ($(BR2_REPRODUCIBLE),y)
+MPV_CONF_OPTS += --disable-build-date
+endif
+
 ifeq ($(BR2_STATIC_LIBS),y)
 MPV_CONF_OPTS += --disable-libmpv-shared --enable-libmpv-static
 else