| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/yelp/yelp-3.4.2.ebuild,v 1.2 2012/05/20 21:39:27 tetromino Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
GCONF_DEBUG="yes"
|
| 7 |
GNOME2_LA_PUNT="yes"
|
| 8 |
|
| 9 |
inherit autotools eutils gnome2
|
| 10 |
|
| 11 |
DESCRIPTION="Help browser for GNOME"
|
| 12 |
HOMEPAGE="http://www.gnome.org/"
|
| 13 |
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
SLOT="0"
|
| 16 |
KEYWORDS="~amd64 ~mips ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
| 17 |
# FIXME: gtk-doc scanner fails assertion in gtk_icon_theme_get_for_screen().
|
| 18 |
# How? Why?
|
| 19 |
IUSE="" # doc
|
| 20 |
|
| 21 |
# yelp-xsl-3.1.1 neded due to commit ee830ed9
|
| 22 |
RDEPEND="
|
| 23 |
app-arch/bzip2
|
| 24 |
>=app-arch/xz-utils-4.9
|
| 25 |
dev-db/sqlite:3
|
| 26 |
>=dev-libs/dbus-glib-0.71
|
| 27 |
>=dev-libs/glib-2.25.11:2
|
| 28 |
>=dev-libs/libxml2-2.6.5:2
|
| 29 |
>=dev-libs/libxslt-1.1.4
|
| 30 |
>=gnome-extra/yelp-xsl-3.3.2
|
| 31 |
>=net-libs/webkit-gtk-1.3.2:3
|
| 32 |
>=x11-libs/gtk+-2.91.8:3
|
| 33 |
x11-themes/gnome-icon-theme-symbolic"
|
| 34 |
DEPEND="${RDEPEND}
|
| 35 |
>=dev-util/intltool-0.41.0
|
| 36 |
dev-util/itstool
|
| 37 |
>=sys-devel/gettext-0.17
|
| 38 |
virtual/pkgconfig
|
| 39 |
gnome-base/gnome-common"
|
| 40 |
# doc? ( >=dev-util/gtk-doc-1.13 )
|
| 41 |
# If eautoreconf:
|
| 42 |
# gnome-base/gnome-common
|
| 43 |
|
| 44 |
pkg_setup() {
|
| 45 |
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
| 46 |
G2CONF="${G2CONF}
|
| 47 |
--disable-static
|
| 48 |
--disable-schemas-compile
|
| 49 |
--enable-bz2
|
| 50 |
--enable-lzma"
|
| 51 |
}
|
| 52 |
|
| 53 |
src_prepare() {
|
| 54 |
# Fix compatibility with Gentoo's sys-apps/man
|
| 55 |
# https://bugzilla.gnome.org/show_bug.cgi?id=648854
|
| 56 |
epatch "${FILESDIR}/${PN}-3.0.3-man-compatibility.patch"
|
| 57 |
|
| 58 |
eautoreconf
|
| 59 |
|
| 60 |
gnome2_src_prepare
|
| 61 |
}
|