sys-apps/fwupd: drop 2.1.3

I didn't mean to push this yet.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-05-25 01:03:06 +01:00
parent f44e5b09cd
commit 95f113fbd6
2 changed files with 0 additions and 205 deletions

View File

@@ -5,5 +5,3 @@ DIST fwupd-2.1.1.tar.xz 5222632 BLAKE2B aab16941695d04417d140958435304a9b6fce6ee
DIST fwupd-2.1.1.tar.xz.asc 488 BLAKE2B 6ca785878673c05866492f46c0180f3d4561533b55663e44f4e926aba95267be3f9552ad1b6144d3382406967e1e49c713e372ddf8d8f01d784ff4c09bf7d189 SHA512 77af140e23bf2bc476a6a39b2ea80d6952df81f2d882d0492d76a025ecccd7247699a21afb490652ffc03dc3bf4f8b2c8a0130b46bf4e87682c03ee25f3f4611
DIST fwupd-2.1.2.tar.xz 5287488 BLAKE2B 137551e1f4ecc547b29758dde6ea33eff1c8d2462e55a5b3d3f63dd3c2f7865111c0cbaecd2c0f98bed87f46d2c928fd12ea95e3f6a6dc66f9685ff94187149b SHA512 d97e21f036d857c208d02b090ab9e0ef50b924c953a28fe9be8b2098daa7c1a0becf431cac480c7629953da16c2fecb593dae84ec5d2d229bebbf1c86243a6b6
DIST fwupd-2.1.2.tar.xz.asc 488 BLAKE2B 05b272d772fc4dfdf46a8293380353053630cef6b53c7ae29c102b579fb7b53ce165807c4b5fb00d3828918ebe5558602586f1de455d41698bf15f33313afb3e SHA512 53512a2b4d11c591d25cd422e86ba35e0b22646eccf75a349ab71063acaa9072d2e2ba4c1e371f7044f3c5f0a8f46cb8baa4ee48fb06f5feb5425fd1f6d42a67
DIST fwupd-2.1.3.tar.xz 5302768 BLAKE2B 61822e9c83f5db16c2b579ee34a10310b4ef385a914604e16be9bd12c814fdeafc0fd40442d8c1a89ec39b30f84cbd983450ee5b9eb44eb833e6847e5562facf SHA512 5a8a3dfd24991099b43669147f21b21e170b678576bdb16b5bc96a3176e7eb34c30e795230e1efc0603b50e0f28ef676439cf9f639e187996eb884994259db37
DIST fwupd-2.1.3.tar.xz.asc 488 BLAKE2B 7b5c2fe9f881207d322eb920328f222863c9dcf1de0f7a17856587c386ee4b8d725e5888721ce57297a0ef04a05d5e4ffa7e899728bc3a1d1beabb78919c9094 SHA512 1ef3e77f0ec7abab48a805916c0d4c8ad6483a4340f9e2fb6e48fb7c8c742af65b886ce7e4daf449d26feae273d4647a7e59b1a5c8213f41299a0a7795e407bb

View File

@@ -1,203 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/hughsie.asc
inherit meson python-single-r1 vala verify-sig udev xdg
DESCRIPTION="Aims to make updating firmware on Linux automatic, safe and reliable"
HOMEPAGE="https://fwupd.org"
SRC_URI="
https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz
verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz.asc )
"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE="amdgpu bash-completion bluetooth elogind flashrom gnutls gtk-doc introspection minimal modemmanager policykit selinux seccomp systemd test tpm readline uefi"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
?? ( elogind systemd )
minimal? ( !introspection )
seccomp? ( systemd )
uefi? ( gnutls )
"
# DBus permission failures in 2.0.20 and then other new issues in 2.1.1
# Likely needs wrangling for ebuild environment
RESTRICT="!test? ( test ) test"
COMMON_DEPEND="
${PYTHON_DEPS}
>=app-arch/gcab-1.0
app-arch/xz-utils
dev-db/sqlite:3
>=dev-libs/glib-2.72:2
>=dev-libs/libjcat-0.2.0[pkcs7]
>=dev-libs/libxmlb-0.3.19:=[introspection?]
$(python_gen_cond_dep '
dev-python/pygobject:3[${PYTHON_USEDEP}]
')
net-libs/libmnl:=
>=net-misc/curl-7.62.0
sys-apps/util-linux
virtual/libusb:1
virtual/zlib:=
amdgpu? (
>=x11-libs/libdrm-2.4.113[video_cards_amdgpu]
)
elogind? ( >=sys-auth/elogind-211 )
flashrom? ( >=sys-apps/flashrom-1.2-r3 )
gnutls? ( >=net-libs/gnutls-3.6.0:= )
modemmanager? ( >=net-misc/modemmanager-1.22.0[mbim,qmi] )
policykit? ( >=sys-auth/polkit-0.114 )
readline? ( sys-libs/readline:= )
seccomp? ( sys-apps/systemd[seccomp] )
systemd? ( >=sys-apps/systemd-249:= )
tpm? ( app-crypt/tpm2-tss:= )
uefi? (
sys-apps/fwupd-efi
sys-boot/efibootmgr
sys-fs/udisks
sys-libs/efivar
)
"
RDEPEND="
${COMMON_DEPEND}
sys-apps/dbus
selinux? ( sec-policy/selinux-fwupd )
"
DEPEND="
${COMMON_DEPEND}
x11-libs/pango[introspection]
virtual/os-headers
"
BDEPEND="
$(vala_depend)
$(python_gen_cond_dep '
dev-python/jinja2[${PYTHON_USEDEP}]
')
>=dev-build/meson-1.3.2
sys-apps/hwdata
virtual/pkgconfig
gtk-doc? (
$(python_gen_cond_dep '
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
')
>=dev-util/gi-docgen-2021.1
)
bash-completion? ( >=app-shells/bash-completion-2.0 )
introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2 )
test? (
net-libs/gnutls[tools]
)
uefi? (
$(python_gen_cond_dep '
dev-python/pygobject:3[cairo]
')
)
verify-sig? ( sec-keys/openpgp-keys-hughsie )
"
src_prepare() {
default
vala_setup
sed -i -e "/install_dir.*'doc'/s/doc/gtk-doc/" \
docs/meson.build || die
python_fix_shebang "${S}"/contrib/*.py
}
src_configure() {
# Automagic dependency on sys-apps/uswid for SBOMs
local native_file="${T}"/meson.${CHOST}.${ABI}.ini.local
cat >> ${native_file} <<-EOF || die
[binaries]
uswid='uswid-falseified'
EOF
local plugins=(
$(meson_feature flashrom plugin_flashrom)
$(meson_feature amdgpu libdrm)
$(meson_feature modemmanager plugin_modem_manager)
$(meson_feature tpm hsi)
$(meson_use uefi plugin_uefi_capsule_splash)
)
local emesonargs=(
--native-file "${native_file}"
--localstatedir "${EPREFIX}"/var
-Dbuild="$(usex minimal standalone all)"
-Dblkid=enabled
-Defi_binary="false"
-Defi_os_dir="gentoo"
-Dman="true"
-Dsupported_build="enabled"
-Dsystemd_unit_user=""
# Unpackaged dependency
-Dpassim=disabled
-Dlibmnl=enabled
$(meson_use bash-completion bash_completion)
$(meson_feature bluetooth bluez)
$(meson_feature gnutls)
$(meson_feature gtk-doc docs)
$(meson_feature introspection)
$(meson_feature policykit polkit)
$(meson_feature readline)
$(meson_feature systemd)
$(meson_use test tests)
$(meson_feature test umockdev_tests)
${plugins[@]}
)
if use elogind || use systemd ; then
emesonargs+=( -Dlogind=enabled )
else
emesonargs+=( -Dlogind=disabled )
fi
export CACHE_DIRECTORY="${T}"
meson_src_configure
}
src_test() {
LC_ALL="C.UTF-8" meson_src_test
}
src_install() {
meson_src_install
if ! use minimal ; then
newinitd "${FILESDIR}"/${PN}-r2 ${PN}
fi
if use test; then
# Preventing tests from being installed in the first place is a moving target,
# just axe them all afterwards.
rm -rf \
"${ED}"/usr/libexec/installed-tests \
"${ED}"/usr/share/fwupd/device-tests \
"${ED}"/usr/share/fwupd/host-emulate.d/thinkpad-p1-iommu.json.gz \
"${ED}"/usr/share/fwupd/remotes.d/fwupd-tests.conf \
"${ED}"/usr/share/installed-tests \
|| die
fi
}
pkg_postinst() {
xdg_pkg_postinst
use minimal || udev_reload
}
pkg_postrm() {
xdg_pkg_postrm
use minimal || udev_reload
}