1 |
On 02/10/16 04:59 PM, James Le Cuirot wrote: |
2 |
> On Sun, 2 Oct 2016 21:48:04 +0100 |
3 |
> James Le Cuirot <chewi@g.o> wrote: |
4 |
> |
5 |
>> SRC_URI="gogdownloader://tomb_raider_1/en1installer1 -> |
6 |
>> setup_tomb_raider_${PV}.exe" IUSE="gogdownloader" |
7 |
>> RESTRICT="!gogdownloader? ( fetch ) mirror" |
8 |
>> DEPEND="games-util/lgogdownloader" |
9 |
> |
10 |
> Probably goes without saying but that should have been: |
11 |
> DEPEND="gogdownloader? ( games-util/lgogdownloader )" |
12 |
> |
13 |
|
14 |
So I think the idea of supporting this is great, but I think the best |
15 |
way to go about it is to support it in the same manner that the VCS |
16 |
eclasses do -- that is, DONT use SRC_URI but instead use GOG_URI , and |
17 |
have the gog eclass within src_unpack handle the actual fetching. |
18 |
|
19 |
If in a future EAPI we get src_fetch() and the ability to specify |
20 |
custom fetching, then this can be improved, but for now I'd say do it |
21 |
the same as the VCS eclasses do. |