Gentoo Archives: gentoo-dev

From: Peter Stuge <peter@×××××.se>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds.
Date: Thu, 03 Jan 2013 00:15:13
Message-Id: 20130103001428.27218.qmail@stuge.se
In Reply to: Re: [gentoo-dev] [PATCH] autotools-multilib: wrapper eclass for multilib builds. by Alexis Ballier
1 Alexis Ballier wrote:
2 > - I have package foo and package bar, both depending on ffmpeg and
3 > canditates for a multilib build. However, package foo does not link to
4 > ffmpeg but simply spawns the 'ffmpeg' binary to process some files,
5 > package bar links to libavcodec. You need ffmpeg[multilib] for a
6 > multilib build of bar but not for foo. How do you distinguish between
7 > the two ?
8
9 foo.ebuild has RDEPEND=ffmpeg
10 bar.ebuild has DEPEND=ffmpeg[multilib?]
11
12 Right?
13
14
15 > - When an out-of-tree build is possible, it is more efficient to do it
16 > that way while multilib-portage will probably run the full src_*
17 > phases twice.
18
19 Certainly.
20
21
22 //Peter