summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2016-01-08 19:48:37 +0300
committerIan Delaney <idella4@gentoo.org>2016-01-09 13:25:24 +0800
commit312944615b0c62fc08120beff86decd1bc8647fe (patch)
treeaa8174cfa16aa9d9cad0a7c9bdd4f13f55fb4f85 /media-video/mpv
parentmedia-video/mpv: drop unneeded --disable-wasapi configure option (diff)
downloadgentoo-312944615b0c62fc08120beff86decd1bc8647fe.tar.gz
gentoo-312944615b0c62fc08120beff86decd1bc8647fe.tar.bz2
gentoo-312944615b0c62fc08120beff86decd1bc8647fe.zip
media-video/mpv: keep build timestamp in the live version
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-video/mpv')
-rw-r--r--media-video/mpv/mpv-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index ead9006ccb05..236fa9e35376 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[@]}"
}