commit:     6d0274e53ce7556db972cedf9102c645407b37cd
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 12:56:00 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 13:40:20 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0274e5

x11-libs/vte: vala support is conditional, also DOCS declaration is not needed 
anymore (#587500 by Amaroun)

Package-Manager: portage-2.3.0

 x11-libs/vte/vte-0.44.2.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/x11-libs/vte/vte-0.44.2.ebuild b/x11-libs/vte/vte-0.44.2.ebuild
index 22cebe1..dcdc00e 100644
--- a/x11-libs/vte/vte-0.44.2.ebuild
+++ b/x11-libs/vte/vte-0.44.2.ebuild
@@ -29,20 +29,20 @@ RDEPEND="
        introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
 "
 DEPEND="${RDEPEND}
-       $(vala_depend)
        >=dev-util/gtk-doc-am-1.13
        >=dev-util/intltool-0.35
        sys-devel/gettext
        virtual/pkgconfig
 
        crypt?  ( >=net-libs/gnutls-3.2.7 )
+       vala? ( $(vala_depend) )
 "
 RDEPEND="${RDEPEND}
        !x11-libs/vte:2.90[glade]
 "
 
 src_prepare() {
-       vala_src_prepare
+       use vala && vala_src_prepare
 
        # build fails because of -Werror with gcc-5.x
        sed -e 's#-Werror=format=2#-Wformat=2#' -i configure || die "sed failed"
@@ -75,7 +75,6 @@ src_configure() {
 }
 
 src_install() {
-       DOCS="AUTHORS ChangeLog HACKING NEWS README"
        gnome2_src_install
        mv "${D}"/etc/profile.d/vte{,-${SLOT}}.sh || die
 }

Reply via email to