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