| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/vte/vte-0.32.2.ebuild,v 1.10 2012/10/28 16:37:11 armin76 Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GCONF_DEBUG="yes"
|
| 7 |
GNOME2_LA_PUNT="yes"
|
| 8 |
|
| 9 |
inherit eutils gnome2
|
| 10 |
|
| 11 |
DESCRIPTION="GNOME terminal widget"
|
| 12 |
HOMEPAGE="https://live.gnome.org/VTE"
|
| 13 |
|
| 14 |
LICENSE="LGPL-2+"
|
| 15 |
SLOT="2.90"
|
| 16 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
| 17 |
IUSE="debug doc glade +introspection"
|
| 18 |
|
| 19 |
PDEPEND="x11-libs/gnome-pty-helper"
|
| 20 |
RDEPEND=">=dev-libs/glib-2.31.13:2
|
| 21 |
>=x11-libs/gtk+-3.1.9:3[introspection?]
|
| 22 |
>=x11-libs/pango-1.22.0
|
| 23 |
|
| 24 |
sys-libs/ncurses
|
| 25 |
x11-libs/libX11
|
| 26 |
x11-libs/libXft
|
| 27 |
|
| 28 |
glade? ( >=dev-util/glade-3.9:3.10 )
|
| 29 |
introspection? ( >=dev-libs/gobject-introspection-0.9.0 )"
|
| 30 |
DEPEND="${RDEPEND}
|
| 31 |
>=dev-util/intltool-0.35
|
| 32 |
virtual/pkgconfig
|
| 33 |
sys-devel/gettext
|
| 34 |
doc? ( >=dev-util/gtk-doc-1.13 )"
|
| 35 |
|
| 36 |
pkg_setup() {
|
| 37 |
# Python bindings are via gobject-introspection
|
| 38 |
# Ex: from gi.repository import Vte
|
| 39 |
# Do not disable gnome-pty-helper, bug #401389
|
| 40 |
G2CONF="${G2CONF}
|
| 41 |
--disable-deprecation
|
| 42 |
--disable-static
|
| 43 |
$(use_enable debug)
|
| 44 |
$(use_enable glade glade-catalogue)
|
| 45 |
$(use_enable introspection)"
|
| 46 |
|
| 47 |
if [[ ${CHOST} == *-interix* ]]; then
|
| 48 |
G2CONF="${G2CONF} --disable-Bsymbolic"
|
| 49 |
|
| 50 |
# interix stropts.h is empty...
|
| 51 |
export ac_cv_header_stropts_h=no
|
| 52 |
fi
|
| 53 |
|
| 54 |
DOCS="AUTHORS ChangeLog HACKING NEWS README"
|
| 55 |
}
|
| 56 |
|
| 57 |
src_prepare() {
|
| 58 |
# https://bugzilla.gnome.org/show_bug.cgi?id=663779
|
| 59 |
epatch "${FILESDIR}/${PN}-0.30.1-alt-meta.patch"
|
| 60 |
|
| 61 |
gnome2_src_prepare
|
| 62 |
}
|
| 63 |
|
| 64 |
src_install() {
|
| 65 |
gnome2_src_install
|
| 66 |
rm -v "${ED}usr/libexec/gnome-pty-helper" || die
|
| 67 |
}
|