| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gtkhtml/gtkhtml-4.4.4.ebuild,v 1.4 2013/03/29 22:46:26 eva Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GCONF_DEBUG="no"
|
| 7 |
GNOME2_LA_PUNT="yes"
|
| 8 |
|
| 9 |
inherit gnome2 eutils
|
| 10 |
|
| 11 |
DESCRIPTION="Lightweight HTML rendering/printing/editing engine"
|
| 12 |
HOMEPAGE="http://projects.gnome.org/evolution/"
|
| 13 |
|
| 14 |
LICENSE="GPL-2+ LGPL-2+"
|
| 15 |
SLOT="4.0"
|
| 16 |
KEYWORDS="alpha"
|
| 17 |
IUSE=""
|
| 18 |
|
| 19 |
# orbit is referenced in configure, but is not used anywhere else
|
| 20 |
RDEPEND=">=x11-libs/gtk+-3.0.2:3
|
| 21 |
>=x11-libs/cairo-1.10
|
| 22 |
x11-libs/pango
|
| 23 |
>=x11-themes/gnome-icon-theme-2.22.0
|
| 24 |
>=app-text/enchant-1.1.7
|
| 25 |
gnome-base/gsettings-desktop-schemas
|
| 26 |
>=app-text/iso-codes-0.49
|
| 27 |
>=net-libs/libsoup-2.26.0:2.4"
|
| 28 |
DEPEND="${RDEPEND}
|
| 29 |
x11-proto/xproto
|
| 30 |
sys-devel/gettext
|
| 31 |
>=dev-util/intltool-0.40.0
|
| 32 |
virtual/pkgconfig"
|
| 33 |
|
| 34 |
pkg_setup() {
|
| 35 |
ELTCONF="--reverse-deps"
|
| 36 |
G2CONF="${G2CONF}
|
| 37 |
--disable-static"
|
| 38 |
DOCS="AUTHORS BUGS ChangeLog NEWS README TODO"
|
| 39 |
}
|
| 40 |
|
| 41 |
src_prepare() {
|
| 42 |
# Regenerate marshallers for <glib-2.31 compatibility
|
| 43 |
rm -v components/editor/gtkhtml-spell-marshal.{c,h} \
|
| 44 |
components/editor/gtkhtml-editor-marshal.{c,h} || die
|
| 45 |
gnome2_src_prepare
|
| 46 |
}
|
| 47 |
|
| 48 |
src_install() {
|
| 49 |
gnome2_src_install
|
| 50 |
|
| 51 |
elog "The gtkhtml-editor-test utility is now called gtkhtml-editor-test-${SLOT}"
|
| 52 |
# Don't collide with 3.14 slot
|
| 53 |
mv "${ED}"/usr/bin/gtkhtml-editor-test{,-${SLOT}} || die
|
| 54 |
}
|