# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A simple HTML editor for GTK+/GNOME" SRC_URI="mirror://sourceforge/peacock/${P}.tar.gz" HOMEPAGE="http://peacock.sourceforge.net/" LICENSE="GPL-2" KEYWORDS="x86 ppc" SLOT="0" IUSE="" RDEPEND=" >=gnome-base/gconf-2 >=dev-libs/glib-2 >=x11-libs/gtk+-2 >=x11-libs/gtksourceview-0.5 >=gnome-base/libgnomeui-2 >=gnome-base/libbonoboui-2 >=gnome-base/libglade-2 >=gnome-base/libgnomecanvas-2 >=gnome-base/libgnome-2 >=gnome-base/gnome-vfs-2 >=gnome-base/orbit-2 >=gnome-extra/gtkhtml-3 app-text/gnome-spell virtual/aspell-dict" DEPEND="${RDEPEND} dev-util/pkgconfig app-text/scrollkeeper" DOCS="AUTHORS ChangeLog NEWS README TODO" src_unpack() { unpack ${A} cd ${S} #Change to work with latest GtkHTML sed -i -e 's/GNOME_GtkHTML_Editor:3.0/GNOME_GtkHTML_Editor:3.8/' src/peacock-file-client.c src/peacock-mdi.c || die "Sed failed!" } src_compile() { econf || die "configure failed" emake || die "make failed" } src_install() { make DESTDIR=${D} install || die "make install failed" dodoc AUTHORS ChangeLog NEWS README TODO # menu item insinto /usr/share/applications/ doins ${FILESDIR}/${PN}.desktop }