LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
SLOT="0/2"
-IUSE="acl apparmor audit build cryptsetup curl dns-over-tls elfutils +gcrypt gnuefi gnutls http idn importd +kmod libidn2 +lz4 lzma nat pam pcre policykit qrcode +resolvconf +seccomp selinux +split-usr +sysv-utils test vanilla xkb"
+IUSE="acl apparmor audit build cryptsetup curl dns-over-tls elfutils +gcrypt gnuefi http idn importd +kmod libidn2 +lz4 lzma nat pam pcre policykit qrcode +resolvconf +seccomp selinux +split-usr +sysv-utils test vanilla xkb"
REQUIRED_USE="importd? ( curl gcrypt lzma )"
RESTRICT="!test? ( test )"
audit? ( >=sys-process/audit-2:0= )
cryptsetup? ( >=sys-fs/cryptsetup-1.6:0= )
curl? ( net-misc/curl:0= )
- dns-over-tls? (
- gnutls? ( >=net-libs/gnutls-3.5.3:0= )
- !gnutls? ( >=dev-libs/openssl-1.1.0:0= )
- )
+ dns-over-tls? ( >=net-libs/gnutls-3.5.3:0= )
elfutils? ( >=dev-libs/elfutils-0.158:0= )
gcrypt? ( >=dev-libs/libgcrypt-1.4.5:0=[${MULTILIB_USEDEP}] )
http? (
>=net-libs/libmicrohttpd-0.9.33:0=
- gnutls? ( >=net-libs/gnutls-3.1.4:0= )
+ >=net-libs/gnutls-3.1.4:0=
)
idn? (
libidn2? ( net-dns/libidn2:= )
-Daudit=$(meson_multilib_native_use audit)
-Dlibcryptsetup=$(meson_multilib_native_use cryptsetup)
-Dlibcurl=$(meson_multilib_native_use curl)
+ -Ddns-over-tls=$(meson_multilib_native_use dns-over-tls)
-Delfutils=$(meson_multilib_native_use elfutils)
-Dgcrypt=$(meson_use gcrypt)
-Dgnu-efi=$(meson_multilib_native_use gnuefi)
- -Dgnutls=$(meson_multilib_native_use gnutls)
-Defi-libdir="${EPREFIX}/usr/$(get_libdir)"
-Dmicrohttpd=$(meson_multilib_native_use http)
-Dimportd=$(meson_multilib_native_use importd)
)
fi
- if multilib_is_native_abi && use dns-over-tls; then
- myconf+=(
- -Ddns-over-tls=true
- -Dopenssl=$(usex !gnutls true false)
- )
- else
- myconf+=( -Ddns-over-tls=false -Dopenssl=false )
- fi
-
meson_src_configure "${myconf[@]}"
}
LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
SLOT="0/2"
-IUSE="acl apparmor audit build cryptsetup curl dns-over-tls elfutils +gcrypt gnuefi gnutls http idn importd +kmod libidn2 +lz4 lzma nat pam pcre policykit qrcode +resolvconf +seccomp selinux +split-usr +sysv-utils test vanilla xkb"
+IUSE="acl apparmor audit build cryptsetup curl dns-over-tls elfutils +gcrypt gnuefi http idn importd +kmod libidn2 +lz4 lzma nat pam pcre policykit qrcode +resolvconf +seccomp selinux +split-usr +sysv-utils test vanilla xkb"
REQUIRED_USE="importd? ( curl gcrypt lzma )"
RESTRICT="!test? ( test )"
audit? ( >=sys-process/audit-2:0= )
cryptsetup? ( >=sys-fs/cryptsetup-1.6:0= )
curl? ( net-misc/curl:0= )
- dns-over-tls? (
- gnutls? ( >=net-libs/gnutls-3.5.3:0= )
- !gnutls? ( >=dev-libs/openssl-1.1.0:0= )
- )
+ dns-over-tls? ( >=net-libs/gnutls-3.5.3:0= )
elfutils? ( >=dev-libs/elfutils-0.158:0= )
gcrypt? ( >=dev-libs/libgcrypt-1.4.5:0=[${MULTILIB_USEDEP}] )
http? (
>=net-libs/libmicrohttpd-0.9.33:0=
- gnutls? ( >=net-libs/gnutls-3.1.4:0= )
+ >=net-libs/gnutls-3.1.4:0=
)
idn? (
libidn2? ( net-dns/libidn2:= )
-Daudit=$(meson_multilib_native_use audit)
-Dlibcryptsetup=$(meson_multilib_native_use cryptsetup)
-Dlibcurl=$(meson_multilib_native_use curl)
+ -Ddns-over-tls=$(meson_multilib_native_use dns-over-tls)
-Delfutils=$(meson_multilib_native_use elfutils)
-Dgcrypt=$(meson_use gcrypt)
-Dgnu-efi=$(meson_multilib_native_use gnuefi)
- -Dgnutls=$(meson_multilib_native_use gnutls)
-Defi-libdir="${EPREFIX}/usr/$(get_libdir)"
-Dmicrohttpd=$(meson_multilib_native_use http)
-Dimportd=$(meson_multilib_native_use importd)
)
fi
- if multilib_is_native_abi && use dns-over-tls; then
- myconf+=(
- -Ddns-over-tls=true
- -Dopenssl=$(usex !gnutls true false)
- )
- else
- myconf+=( -Ddns-over-tls=false -Dopenssl=false )
- fi
-
meson_src_configure "${myconf[@]}"
}