x11-libs/vte: vala support is conditional, also DOCS declaration is not needed anymor...
authorPacho Ramos <pacho@gentoo.org>
Sat, 9 Jul 2016 12:56:00 +0000 (14:56 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sat, 9 Jul 2016 13:40:20 +0000 (15:40 +0200)
Package-Manager: portage-2.3.0

x11-libs/vte/vte-0.44.2.ebuild

index 22cebe164f9c516cbd0a9271ab6ceef587e04b56..dcdc00eb75ade8f430dacc26fdeb938e348b0336 100644 (file)
@@ -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
 }