Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: "Rémi Cardona" <remi@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: USE=libav as replacement for broken || ( libav:= ffmpeg:= )
Date: Mon, 19 Jan 2015 22:41:03
Message-Id: 20150119234044.7db04287@pomiot.lan
In Reply to: Re: [gentoo-dev] RFC: USE=libav as replacement for broken || ( libav:= ffmpeg:= ) by "Rémi Cardona"
1 Dnia 2015-01-19, o godz. 23:09:55
2 Rémi Cardona <remi@g.o> napisał(a):
3
4 > Why not :
5 >
6 > libav? ( media-libs/libav:= )
7 > ffmpeg? ( media-libs/ffmpeg:= )
8 >
9 > + REQUIRED_USE="^^ ( libav ffmpeg )"
10 >
11 > I for one would never expect USE=-libav to enable ffmpeg (nor
12 > USE=-ffmpeg to enable libav FWIW).
13
14 Two reasons:
15
16 1. Compatibility. USE=ffmpeg is already used for || ( libav ffmpeg ) in
17 a lot of packages. If we changed the meaning, libav users will end up
18 switching '-ffmpeg libav' per-package. Ugly.
19
20 2. Feature-oriented flags. USE=ffmpeg represents the generic feature,
21 USE=libav is auxiliary implementation-switch flag. Well, maybe we could
22 use, say, USE=avcodec to avoid ambiguity but that's a larger change.
23
24
25 --
26 Best regards,
27 Michał Górny

Replies