From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd-efi/
Date: Sun, 10 Nov 2024 16:03:21 +0000 (UTC) [thread overview]
Message-ID: <1731254558.0b9e39c602b773cb6b745ce67281714e127dca8c.sam@gentoo> (raw)
commit: 0b9e39c602b773cb6b745ce67281714e127dca8c
Author: John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Fri Nov 1 05:12:32 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 16:02:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b9e39c6
sys-apps/fwupd-efi: add 1.7
Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-apps/fwupd-efi/Manifest | 1 +
sys-apps/fwupd-efi/fwupd-efi-1.7.ebuild | 64 +++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/sys-apps/fwupd-efi/Manifest b/sys-apps/fwupd-efi/Manifest
index 6cd1574ace71..01bac6f319c7 100644
--- a/sys-apps/fwupd-efi/Manifest
+++ b/sys-apps/fwupd-efi/Manifest
@@ -1 +1,2 @@
DIST fwupd-efi-1.6.tar.xz 39940 BLAKE2B 906f90a3187fb7d180dab22941d255220e3d56c2058ff6a5a260b0cd62c90e9c784a7c091da376111f23d02561abdec71958afec63c54134a77aac71deec20bc SHA512 37d3c1348bdead620e626a3e602dc6cd774c47d24ca18a3bf6aee071300d658bc4d37e6ec74fcd20f9b345141d69ea3343d44b9408af4759ad65ef10b72ead69
+DIST fwupd-efi-1.7.gh.tar.gz 44913 BLAKE2B 4e73eb5eea70817beeff52d4bfebb988ced1359299eb3d53db989ae70dbc6fa77ff98ced703a00fbea2b41f5a856e246ecafecdc457d1a35499dd60a57a9a2a8 SHA512 db0857e76964c6e36dd8708fe3b4a0b56290543c374e40a9e1f0919e0016d59de6bd6d2e4f43fb2ddd706841917b60d36da086e1290d3351283504d287083a7e
diff --git a/sys-apps/fwupd-efi/fwupd-efi-1.7.ebuild b/sys-apps/fwupd-efi/fwupd-efi-1.7.ebuild
new file mode 100644
index 000000000000..b0e4efb7b1cf
--- /dev/null
+++ b/sys-apps/fwupd-efi/fwupd-efi-1.7.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+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}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+
+# uswid is used as a CLI tool, hence no Pythonic stuff
+BDEPEND="$(python_gen_any_dep '
+ dev-python/pefile[${PYTHON_USEDEP}]
+ ')
+ sys-apps/uswid
+ virtual/pkgconfig"
+
+DEPEND=">=sys-boot/gnu-efi-3.0.18"
+
+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
+}
next reply other threads:[~2024-11-10 16:03 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-10 16:03 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-11 9:33 [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd-efi/ WANG Xuerui
2024-12-16 7:51 Arthur Zamarin
2024-12-16 7:51 Arthur Zamarin
2024-11-10 16:03 Sam James
2024-10-24 17:42 Sam James
2024-10-24 17:42 Sam James
2024-09-19 1:26 Sam James
2024-09-19 1:26 Sam James
2024-08-05 7:18 Joonas Niilola
2024-05-29 14:43 Jakov Smolić
2024-05-29 11:47 Sam James
2024-04-24 17:28 Arthur Zamarin
2024-04-24 14:07 Sam James
2024-04-24 14:07 Sam James
2024-04-24 12:16 Marek Szuba
2024-04-24 11:58 Marek Szuba
2024-04-07 18:26 Marek Szuba
2023-08-09 18:14 Piotr Karbowski
2023-07-20 11:33 Andrew Ammerlaan
2023-03-30 11:31 Marek Szuba
2023-03-30 9:56 Sam James
2023-03-30 9:30 Sam James
2023-02-24 22:20 Sam James
2023-01-28 7:44 Arthur Zamarin
2023-01-27 22:49 Marek Szuba
2022-08-30 8:06 Marek Szuba
2022-08-26 23:27 Sam James
2022-08-26 5:46 Sam James
2022-07-28 13:03 Marek Szuba
2022-07-28 13:03 Marek Szuba
2022-07-27 13:30 Marek Szuba
2022-07-03 18:42 Piotr Karbowski
2022-06-29 10:59 Marek Szuba
2022-04-15 9:38 Lars Wendler
2022-01-26 2:31 Thomas Deutschmann
2021-12-27 14:13 Agostino Sarubbo
2021-12-27 9:52 Jakov Smolić
2021-06-20 16:03 Thomas Deutschmann
2021-06-16 9:27 Thomas Deutschmann
2021-06-15 23:04 Thomas Deutschmann
2021-06-15 23:04 Thomas Deutschmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1731254558.0b9e39c602b773cb6b745ce67281714e127dca8c.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox