commit:     8f9f5e9c5e13ed61de409d2b60722f5dd8fa60a0
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 27 21:23:24 2016 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Wed Apr 27 21:23:24 2016 +0000
URL:        https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=8f9f5e9c

mozconfig-v6.45.eclass: do not require newer libvpx on thunderbird-45.0

 eclass/mozconfig-v6.45.eclass | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/eclass/mozconfig-v6.45.eclass b/eclass/mozconfig-v6.45.eclass
index 4347827..6d1586b 100644
--- a/eclass/mozconfig-v6.45.eclass
+++ b/eclass/mozconfig-v6.45.eclass
@@ -120,10 +120,18 @@ RDEPEND=">=app-text/hunspell-1.2
        system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
        system-libevent? ( =dev-libs/libevent-2.0*:0= )
        system-sqlite? ( >=dev-db/sqlite-3.9.1:3[secure-delete,debug=] )
-       system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc,svc] )
        system-harfbuzz? ( >=media-libs/harfbuzz-1.1.3:0=[graphite2,icu] 
>=media-gfx/graphite2-1.3.8 )
 "
 
+if [[ ${PV} == "45.0" ]]; then
+       RDEPEND+="
+       system-libvpx? ( >=media-libs/libvpx-1.3.0:0=[postproc] )"
+else
+       # 45.1.0 and above bumped the libvpx requirement
+       RDEPEND+="
+       system-libvpx? ( >=media-libs/libvpx-1.5.0:0=[postproc] )"
+fi
+
 if [[ -n ${MOZCONFIG_OPTIONAL_GTK3} ]]; then
        if [[ ${MOZCONFIG_OPTIONAL_GTK3} = "enabled" ]]; then
                IUSE+=" +gtk3"

Reply via email to