[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] The gx86 multilib project -- masterplan
From: Maciej Mrozowski <reavertm () gmail ! com>
Date: 2013-01-30 0:39:16
Message-ID: 5077395.5cxRqm3cgm () lebrodyl
[Download RAW message or body]
On Sunday 27 of January 2013 19:11:16 Michał Górny wrote:
> On Sun, 27 Jan 2013 21:04:14 +0300
>
> Sergei Trofimovich <slyfox@gentoo.org> wrote:
> > On Sun, 27 Jan 2013 17:30:22 +0100
> >
> > Michał Górny <mgorny@gentoo.org> wrote:
> > > On Sun, 27 Jan 2013 16:07:48 +0000
> > >
> > > Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote:
> > > > On Sun, 27 Jan 2013 16:12:37 +0100
> > > >
> > > > Michał Górny <mgorny@gentoo.org> wrote:
> > > > > RDEPEND="dev-libs/libfoo[${MULTILIB_USEDEP}]
> > > > >
> > > > > dev-libs/libbar[ssl,${MULTILIB_USEDEP}]"
> > > >
> > > > This looks like it might be a bit fragile. Is it something better
> > > > addressed by an EAPI extension?
> > >
> > > I have no idea. This one's clear and simple. Not sure how you could be
> > > able to do that better in EAPI.
> >
> > EAPI might allow lib[multiple?][use?][flags?] as an alias of
> > [multiple?,use?,flags?].
> I still don't think that would be really helpful.
>
> dev-libs/libfoo[ssl][${MULTILIB_USEDEP}]
>
> is IMO just more confusing than the usual [ssl,...] -- people start
> thinking 'does it mean something special?'
>
> Unless you mean adding the brackets to the variable itself -- but that
> will be just scary...
>
> dev-libs/libfoo${MULTILIB_USEDEP}
Alternatively, less fragile but more verbose would be eclass function to
produce dependency string. While it may sound as overkill - we already do it
in KDE:
'add_kdebase_dep':
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/kde4-
functions.eclass?view=markup
Example usage:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/kde-
base/pykde4/pykde4-4.9.5.ebuild?view=markup
--
regards
MM
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic