# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils gnome2 flag-o-matic DESCRIPTION="XML editor for the GNOME environment" HOMEPAGE="http://www.freespiders.org/projects/gmlview/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~x86-interix ~amd64-linux ~x86-linux" IUSE="" RDEPEND=">=dev-libs/libxml2-2.6.11 >=dev-libs/libxslt-1.1.8 >=dev-libs/glib-2.4.6 dev-cpp/libglademm:2.4 >=x11-libs/gtk+-2.4.3 >=gnome-base/libglade-2.4 >=gnome-base/libgnome-2.6.1 >=gnome-base/gconf-2.6.2 =x11-libs/gtksourceview-1* sys-libs/zlib" DEPEND="${RDEPEND} >=dev-util/intltool-0.33 >=dev-util/pkgconfig-0.9" DOCS="AUTHORS BRANCHES ChangeLog COPYRIGHT NEWS README" pkg_setup() { # see bug #179819 append-ldflags $(no-as-needed) } src_unpack() { gnome2_src_unpack # Small corrections for mlview.desktop epatch "${FILESDIR}/${P}-dot_desktop.patch" # gcc-4.4 compat, solves extra qualification ... on member ... epatch "${FILESDIR}/${P}-gcc-4.4.patch" }