fix broken fwupd ebuild
This commit is contained in:
parent
d67683bb1d
commit
ceafee24ca
@ -20,12 +20,10 @@ fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE="amdgpu amt +archive bash-completion bluetooth cbor elogind fastboot flashrom gnutls gtk-doc introspection logitech lzma minimal modemmanager nvme policykit spi +sqlite synaptics systemd test tpm uefi"
|
||||
IUSE="amt +archive bash-completion bluetooth cbor flashrom gnutls gtk-doc introspection minimal modemmanager policykit spi systemd test uefi"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
^^ ( elogind minimal systemd )
|
||||
^^ ( minimal systemd )
|
||||
minimal? ( !introspection )
|
||||
spi? ( lzma )
|
||||
synaptics? ( gnutls )
|
||||
test? ( archive )
|
||||
uefi? ( gnutls )
|
||||
"
|
||||
@ -62,17 +60,12 @@ COMMON_DEPEND="${PYTHON_DEPS}
|
||||
>=net-misc/curl-7.62.0
|
||||
archive? ( app-arch/libarchive:= )
|
||||
cbor? ( >=dev-libs/libcbor-0.7.0:= )
|
||||
elogind? ( >=sys-auth/elogind-211 )
|
||||
flashrom? ( >=sys-apps/flashrom-1.2-r3 )
|
||||
gnutls? ( >=net-libs/gnutls-3.6.0 )
|
||||
virtual/libusb:1
|
||||
logitech? ( dev-libs/protobuf-c:= )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
modemmanager? ( net-misc/modemmanager[mbim,qmi] )
|
||||
policykit? ( >=sys-auth/polkit-0.114 )
|
||||
sqlite? ( dev-db/sqlite )
|
||||
systemd? ( >=sys-apps/systemd-211 )
|
||||
tpm? ( app-crypt/tpm2-tss:= )
|
||||
uefi? (
|
||||
sys-apps/fwupd-efi
|
||||
sys-boot/efibootmgr
|
||||
@ -88,10 +81,6 @@ RDEPEND="
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
x11-libs/pango[introspection]
|
||||
amdgpu? (
|
||||
sys-kernel/linux-headers
|
||||
x11-libs/libdrm[video_cards_amdgpu]
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
@ -107,21 +96,9 @@ src_prepare() {
|
||||
|
||||
src_configure() {
|
||||
local plugins=(
|
||||
-Dplugin_gpio="enabled"
|
||||
-Dplugin_uf2="enabled"
|
||||
$(meson_feature amdgpu plugin_amdgpu)
|
||||
$(meson_feature amt plugin_intel_me)
|
||||
$(meson_feature fastboot plugin_fastboot)
|
||||
$(meson_feature flashrom plugin_flashrom)
|
||||
$(meson_feature logitech plugin_logitech_bulkcontroller)
|
||||
$(meson_feature modemmanager plugin_modem_manager)
|
||||
$(meson_feature nvme plugin_nvme)
|
||||
$(meson_feature synaptics plugin_synaptics_mst)
|
||||
$(meson_feature synaptics plugin_synaptics_rmi)
|
||||
$(meson_feature tpm plugin_tpm)
|
||||
$(meson_feature uefi plugin_uefi_capsule)
|
||||
$(meson_use uefi plugin_uefi_capsule_splash)
|
||||
$(meson_feature uefi plugin_uefi_pk)
|
||||
)
|
||||
if use ppc64 || use riscv ; then
|
||||
plugins+=( -Dplugin_msr="disabled" )
|
||||
@ -130,8 +107,6 @@ src_configure() {
|
||||
local emesonargs=(
|
||||
--localstatedir "${EPREFIX}"/var
|
||||
-Dbuild="$(usex minimal standalone all)"
|
||||
-Dconsolekit="disabled"
|
||||
-Dcurl="enabled"
|
||||
-Defi_binary="false"
|
||||
-Dman="true"
|
||||
-Dsupported_build="enabled"
|
||||
@ -140,13 +115,10 @@ src_configure() {
|
||||
$(meson_use bash-completion bash_completion)
|
||||
$(meson_feature bluetooth bluez)
|
||||
$(meson_feature cbor)
|
||||
$(meson_feature elogind)
|
||||
$(meson_feature gnutls)
|
||||
$(meson_feature gtk-doc docs)
|
||||
$(meson_feature lzma)
|
||||
$(meson_feature introspection)
|
||||
$(meson_feature policykit polkit)
|
||||
$(meson_feature sqlite)
|
||||
$(meson_feature systemd)
|
||||
$(meson_use test tests)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user