Gentoo Archives: gentoo-desktop

From: Ben de Groot <yngwin@g.o>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] kde-sunset: kdepim-kresources broken
Date: Fri, 19 Feb 2010 13:35:23
In Reply to: Re: [gentoo-desktop] kde-sunset: kdepim-kresources broken by Ladislav Laska
On 19 February 2010 13:14, Ladislav Laska <ladislav.laska@×××××.com> wrote:
> Removing this, only src_prepare in ebuild or in base.eclass > can be invoked, both of them will do just fine. > > Unfortunately, src_prepare is eapi=2 thing, so we have to migrate all > packages with patches to eapi 2, but this should not be a problem, > since i've seen someone is already doing that.
If you don't want to port all ebuilds to eapi-2, then you could use a workaround and call kde_src_prepare in kde_src_unpack() when eapi is 0 or 1. Some eclasses in the portage tree use this, see for example git.eclass. Cheers, -- Ben de Groot Gentoo Linux developer (qt, media, lxde, desktop-misc) ______________________________________________________


Subject Author
Re: [gentoo-desktop] kde-sunset: kdepim-kresources broken Ladislav Laska <ladislav.laska@×××××.com>