From 2054a6df41fe63be0a67dc4e60aa9dbd650daa88 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Wed, 16 Jun 2021 00:28:32 +0200 Subject: sys-apps/fwupd-efi: initial import Thanks-to: Joakim Tjernlund Closes: https://bugs.gentoo.org/791307 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann --- sys-apps/fwupd-efi/Manifest | 1 + sys-apps/fwupd-efi/fwupd-efi-1.0.ebuild | 51 +++++++++++++++++++++++++++++++++ sys-apps/fwupd-efi/metadata.xml | 12 ++++++++ 3 files changed, 64 insertions(+) create mode 100644 sys-apps/fwupd-efi/Manifest create mode 100644 sys-apps/fwupd-efi/fwupd-efi-1.0.ebuild create mode 100644 sys-apps/fwupd-efi/metadata.xml (limited to 'sys-apps') diff --git a/sys-apps/fwupd-efi/Manifest b/sys-apps/fwupd-efi/Manifest new file mode 100644 index 000000000000..bd3ce666cfba --- /dev/null +++ b/sys-apps/fwupd-efi/Manifest @@ -0,0 +1 @@ +DIST fwupd-efi-1.0.tar.gz 37465 BLAKE2B 89824d2f32d618802f56ebdb67838eed2759a86556a54a9da4f303220d99fbd2465673181d3d2806f4665061746cf7faebf633d4de8249e2c3f269fe0c22b679 SHA512 fd2fde665e90f40fb8c2235f09fc17618d8cb3f87a23ef37f7940a36c4f4b0f9ccef90745bdca1dd8827f60060e5fd95c139883ce08aedb00a249f6e809703a4 diff --git a/sys-apps/fwupd-efi/fwupd-efi-1.0.ebuild b/sys-apps/fwupd-efi/fwupd-efi-1.0.ebuild new file mode 100644 index 000000000000..a7b3986d18d8 --- /dev/null +++ b/sys-apps/fwupd-efi/fwupd-efi-1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7..10} ) + +inherit meson python-any-r1 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}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="" + +BDEPEND="${PYTHON_DEPS} + virtual/pkgconfig" + +DEPEND="sys-boot/gnu-efi" + +RDEPEND="" + +src_prepare() { + default + + python_fix_shebang "${S}/efi" +} + +src_configure() { + local emesonargs=( + -Defi-cc="$(tc-getCC)" + -Defi-ld="$(tc-getLD)" + -Defi-objcopy="$(tc-getOBJCOPY)" + -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 +} diff --git a/sys-apps/fwupd-efi/metadata.xml b/sys-apps/fwupd-efi/metadata.xml new file mode 100644 index 000000000000..f1b7df54bcf4 --- /dev/null +++ b/sys-apps/fwupd-efi/metadata.xml @@ -0,0 +1,12 @@ + + + + + polynomial-c@gentoo.org + Lars Wendler + + + https://github.com/fwupd/fwupd-efi/issues + fwupd/fwupd-efi + + -- cgit v1.2.3-65-gdbad