mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-09 00:10:21 +03:00
sys-apps/fwupd-efi: drop old
Signed-off-by: Filip Kobierski <fkobi@pm.me> Closes: https://github.com/gentoo/gentoo/pull/37821 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
d8cda82af7
commit
db23069f52
@@ -1,3 +1 @@
|
||||
DIST fwupd-efi-1.4.tar.xz 35984 BLAKE2B 24ce9788500781aac5b856740dc17d94bec79cf57f4f1a0359f42e6be4b9600d34259794a88f69bf83aa38ee5976b26228b20813f717edce5cc627c163585b40 SHA512 c330409861a8c1e332a0d4fd49c54ef2c5bf7cdaca99d14de39b50fb35f0c490e9f7f7a4c9dd48181bd509cd358c43eb23659536aea93408c1fefb47629e4991
|
||||
DIST fwupd-efi-1.5.tar.xz 38460 BLAKE2B fe2d06e9d9a588b524a6a26afc401898f8dd1d3bd49fa608cfaa6c32ec71a88f125d2158e3892a44706cc2f8349ed379ee8d7b62bfbe8ba38990d1545eff9f94 SHA512 b1edaa1fa4b7e768ee822c92bdd2858343993f19edde6445e333fad470f997420aeab10dd36e5abff90cb0a87d8f3b2a0de9e7cf49a03758e0e1c9c2fd06ef19
|
||||
DIST fwupd-efi-1.6.tar.xz 39940 BLAKE2B 906f90a3187fb7d180dab22941d255220e3d56c2058ff6a5a260b0cd62c90e9c784a7c091da376111f23d02561abdec71958afec63c54134a77aac71deec20bc SHA512 37d3c1348bdead620e626a3e602dc6cd774c47d24ca18a3bf6aee071300d658bc4d37e6ec74fcd20f9b345141d69ea3343d44b9408af4759ad65ef10b72ead69
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit meson python-any-r1 secureboot toolchain-funcs
|
||||
|
||||
DESCRIPTION="EFI executable for fwupd"
|
||||
HOMEPAGE="https://fwupd.org"
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/fwupd/fwupd-efi.git"
|
||||
else
|
||||
SRC_URI="https://github.com/fwupd/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="$(python_gen_any_dep '
|
||||
dev-python/pefile[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/pkgconfig"
|
||||
|
||||
DEPEND="sys-boot/gnu-efi"
|
||||
|
||||
RDEPEND="!<sys-apps/fwupd-1.6.0"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4-efi_ld_override.patch # Bug #892339
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/pefile[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
secureboot_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
python_fix_shebang "${S}/efi"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Defi-ld="$(tc-getLD)"
|
||||
-Defi-libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
-Defi_sbat_distro_id="gentoo"
|
||||
-Defi_sbat_distro_summary="Gentoo GNU/Linux"
|
||||
-Defi_sbat_distro_pkgname="${PN}"
|
||||
-Defi_sbat_distro_version="${PVR}"
|
||||
-Defi_sbat_distro_url="https://packages.gentoo.org/packages/${CATEGORY}/${PN}"
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
secureboot_auto_sign
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit meson python-any-r1 secureboot
|
||||
|
||||
DESCRIPTION="EFI executable for fwupd"
|
||||
HOMEPAGE="https://fwupd.org"
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/fwupd/fwupd-efi.git"
|
||||
else
|
||||
SRC_URI="https://github.com/fwupd/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="$(python_gen_any_dep '
|
||||
dev-python/pefile[${PYTHON_USEDEP}]
|
||||
')
|
||||
virtual/pkgconfig"
|
||||
|
||||
DEPEND="sys-boot/gnu-efi"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/pefile[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
secureboot_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
python_fix_shebang "${S}/efi"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Defi-libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
-Defi_sbat_distro_id="gentoo"
|
||||
-Defi_sbat_distro_summary="Gentoo GNU/Linux"
|
||||
-Defi_sbat_distro_pkgname="${PN}"
|
||||
-Defi_sbat_distro_version="${PVR}"
|
||||
-Defi_sbat_distro_url="https://packages.gentoo.org/packages/${CATEGORY}/${PN}"
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
secureboot_auto_sign
|
||||
}
|
||||
Reference in New Issue
Block a user