commit: 312944615b0c62fc08120beff86decd1bc8647fe
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
AuthorDate: Fri Jan 8 16:48:37 2016 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Sat Jan 9 05:25:24 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31294461
media-video/mpv: keep build timestamp in the live version
Package-Manager: portage-2.2.26
media-video/mpv/mpv-9999.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index ead9006..236fa9e 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -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[@]}"
}