| 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/libwnck/libwnck-2.31.0.ebuild,v 1.10 2012/12/16 07:01:38 tetromino Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GNOME2_LA_PUNT="yes"
|
| 7 |
GCONF_DEBUG="no"
|
| 8 |
|
| 9 |
inherit flag-o-matic gnome2
|
| 10 |
|
| 11 |
DESCRIPTION="A window navigation construction kit"
|
| 12 |
HOMEPAGE="http://www.gnome.org/"
|
| 13 |
|
| 14 |
LICENSE="LGPL-2+"
|
| 15 |
SLOT="1"
|
| 16 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
| 17 |
|
| 18 |
IUSE="doc +introspection startup-notification"
|
| 19 |
|
| 20 |
RDEPEND=">=x11-libs/gtk+-2.19.7:2[introspection?]
|
| 21 |
>=dev-libs/glib-2.16:2
|
| 22 |
x11-libs/libX11
|
| 23 |
x11-libs/libXres
|
| 24 |
x11-libs/libXext
|
| 25 |
introspection? ( >=dev-libs/gobject-introspection-0.6.14 )
|
| 26 |
startup-notification? ( >=x11-libs/startup-notification-0.4 )"
|
| 27 |
DEPEND="${RDEPEND}
|
| 28 |
dev-util/gtk-doc-am
|
| 29 |
>=dev-util/intltool-0.40
|
| 30 |
sys-devel/gettext
|
| 31 |
virtual/pkgconfig
|
| 32 |
x86-interix? ( sys-libs/itx-bind )"
|
| 33 |
# eautoreconf needs
|
| 34 |
# gnome-base/gnome-common
|
| 35 |
|
| 36 |
src_prepare() {
|
| 37 |
G2CONF="${G2CONF}
|
| 38 |
--disable-static
|
| 39 |
$(use_enable introspection)
|
| 40 |
$(use_enable startup-notification)"
|
| 41 |
DOCS="AUTHORS ChangeLog HACKING NEWS README"
|
| 42 |
|
| 43 |
# Regenerate pregenerated marshalers for <glib-2.31 compatibility
|
| 44 |
rm -v libwnck/wnck-marshal.{c,h} || die "rm failed"
|
| 45 |
|
| 46 |
gnome2_src_prepare
|
| 47 |
|
| 48 |
if use x86-interix; then
|
| 49 |
# activate the itx-bind package...
|
| 50 |
append-flags "-I${EPREFIX}/usr/include/bind"
|
| 51 |
append-ldflags "-L${EPREFIX}/usr/lib/bind"
|
| 52 |
fi
|
| 53 |
}
|