On 02/10/16 04:59 PM, James Le Cuirot wrote: > On Sun, 2 Oct 2016 21:48:04 +0100 > James Le Cuirot <[email protected]> wrote: > >> SRC_URI="gogdownloader://tomb_raider_1/en1installer1 -> >> setup_tomb_raider_${PV}.exe" IUSE="gogdownloader" >> RESTRICT="!gogdownloader? ( fetch ) mirror" >> DEPEND="games-util/lgogdownloader" > > Probably goes without saying but that should have been: > DEPEND="gogdownloader? ( games-util/lgogdownloader )" >
So I think the idea of supporting this is great, but I think the best way to go about it is to support it in the same manner that the VCS eclasses do -- that is, DONT use SRC_URI but instead use GOG_URI , and have the gog eclass within src_unpack handle the actual fetching. If in a future EAPI we get src_fetch() and the ability to specify custom fetching, then this can be improved, but for now I'd say do it the same as the VCS eclasses do.
signature.asc
Description: OpenPGP digital signature
