package/mpv: fix reproducible build issues
authorBernd Kuhls <bernd.kuhls@t-online.de>
Fri, 18 Jun 2021 19:22:34 +0000 (21:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 18 Jul 2021 21:31:31 +0000 (23:31 +0200)
Do not include the build date when creating reproducible builds.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mpv/mpv.mk

index 25ac783b520f249d82a65c0effaad20b93087679..30f377054f2969aa66e975ba6068b0c63fed0195 100644 (file)
@@ -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