public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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: Thu, 19 Sep 2024 01:26:38 +0000 (UTC)	[thread overview]
Message-ID: <1726709152.d5402132e52f817a7c2d046042f9c8c96951bcdf.sam@gentoo> (raw)

commit:     d5402132e52f817a7c2d046042f9c8c96951bcdf
Author:     John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Sun Sep 15 21:02:03 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 01:25:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5402132

sys-apps/fwupd-efi: add 1.6-r1

Update PYTHON_COMPAT for python3_13.

Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/fwupd-efi/fwupd-efi-1.6-r1.ebuild | 64 ++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/sys-apps/fwupd-efi/fwupd-efi-1.6-r1.ebuild b/sys-apps/fwupd-efi/fwupd-efi-1.6-r1.ebuild
new file mode 100644
index 000000000000..7406eca63ae0
--- /dev/null
+++ b/sys-apps/fwupd-efi/fwupd-efi-1.6-r1.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}/releases/download/${PV}/${P}.tar.xz"
+	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
+}


             reply	other threads:[~2024-09-19  1:26 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-19  1:26 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-19  1:26 [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd-efi/ 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=1726709152.d5402132e52f817a7c2d046042f9c8c96951bcdf.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