WIP: Add a new variant type for mappings, and use it for crypto libraries
You can now specify variants that are key-value pairs by specifying
variant=value
as the variant, f.ex., the first mapping-variant is
crypto-library
:
$ cerbero-uninstalled -v crypto-library=openssl package gstreamer-1.0
-
is automatically converted to _
when setting the variant.
For recipes that can use either gnutls or openssl, this will select
the one you want to use. The default is crypto-library=gnutls
, which
is the same as before.
Features that require openssl:
- dtls plugin in -bad
Features that require gnutls:
- glib-networking.recipe (needs bump to support openssl)
- librtmp.recipe (does not build with openssl)
Features that can use either:
- libnice.recipe
- srt.recipe
- hls-crypto in -bad
Edited by Nirbheek Chauhan