Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-dev-announce] built_with_use removal
Date: Mon, 25 Jan 2010 00:13:26
Message-Id: 4B5CC87D.3020207@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-dev-announce] built_with_use removal by "Diego Elio “Flameeyes” Pettenò"
1 On 01/24/2010 10:12 PM, Diego Elio “Flameeyes” Pettenò wrote:
2 > Il giorno dom, 24/01/2010 alle 18.51 +0200, Petteri Räty ha scritto:
3 >>
4 >> There should be no legitimate reason for the number to go up so please
5 >> whenever bumping ebuilds, remove the usage of built_with_use.
6 >
7 > There is still legitimate use when you're not using it for dependencies.
8 >
9 > See for instance PulseAudio ebuild:
10 >
11 > local pkg="media-plugins/alsa-plugins"
12 > if has_version ${pkg} && ! built_with_use --missing false ${pkg}
13 > pulseaudio; then
14 > elog
15 > elog "You have alsa support enabled so you probably want to
16 > install"
17 > elog "${pkg} with pulseaudio support to have"
18 > elog "alsa using applications route their sound through
19 > pulseaudio"
20 > fi
21 >
22 >
23
24 Use EAPI 2 and has_version ${pkg}[use]
25
26 Regards,
27 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature