media-video/mpv: keep build timestamp in the live version
authorIlya Tumaykin <itumaykin@gmail.com>
Fri, 8 Jan 2016 16:48:37 +0000 (19:48 +0300)
committerIan Delaney <idella4@gentoo.org>
Sat, 9 Jan 2016 05:25:24 +0000 (13:25 +0800)
Package-Manager: portage-2.2.26

media-video/mpv/mpv-9999.ebuild

index ead9006ccb05ead9717eb37a3859cb687784bea1..236fa9e353763b29cee3b5ce83f25195618fbd1d 100644 (file)
@@ -174,7 +174,6 @@ src_configure() {
 
                --disable-libmpv-static
                --disable-static-build
-               --disable-build-date    # Create reproducible build
                --disable-optimize              # Do not add '-O2' to CFLAGS
                --disable-debug-build   # Do not add '-g' to CFLAGS
 
@@ -261,6 +260,9 @@ src_configure() {
                mywafargs+=(--disable-vaapi-x-egl)
        fi
 
+       # Create reproducible non-live builds
+       [[ ${PV} != *9999* ]] && mywafargs+=(--disable-build-date)
+
        waf-utils_src_configure "${mywafargs[@]}"
 }