[vlc-devel] [PATCHv2 3/8] contrib: add rust rules
Rémi Denis-Courmont
remi at remlab.net
Wed Aug 26 16:50:57 CEST 2020
Le keskiviikkona 26. elokuuta 2020, 17.41.53 EEST Thomas Guillem a écrit :
> On Wed, Aug 26, 2020, at 16:30, Rémi Denis-Courmont wrote:
> > Le keskiviikkona 26. elokuuta 2020, 15.42.00 EEST Thomas Guillem a écrit :
> > > This adds CARGO_INSTALL and CARGOC_INSTALL, using the correct cargo path
> > > (from contribs) and using the correct install arguments.
> > >
> > > This also adds rules for managing 'cargo vendor' archives:
> > > - .cargo-vendor-sum-<project>:
> >
> > > - .cargo-vendor-<project>:
> > I don't see why Rust is such a special snowflake that it needs its own so
> > very special source rules.
>
> Originally, I used only ".sum-rav1e" with
>
> 140995820053e4ac8de5f31fcd430e991e47642c34b9433abea618ed6262ec593b777e9334e5
> f138aa34854e0bdd044d1d2dadc3c917394641193643b4e92e0c rav1e-0.3.2.tar.gz
> f1ee7f62f9c4a0de779f53f7c4bed512b753470180a979aeb2801845facb48c305cdd1c2f20
> 1d2f689803f338b31a3be9d16f75e9de53c6864dc96f64db18ded
> rav1e-0.3.2-vendor.taz.bz2
>
> This made the original checksum (.sum-rav1e) fails if the
> rav1e-0.3.2-vendor.taz.bz2 file was not downloaded (the case when the
> vendor archive is not uploaded by an admin).
Of course it does. You're not supposed to have two different sources for the
same package (unless they are *both* required to build it).
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list