diff --git a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/Manifest b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/Manifest index 62f4f17671..47d874a70e 100644 --- a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/Manifest +++ b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/Manifest @@ -1,2 +1,4 @@ +DIST sgabios-0.1_pre10-bin.tar.xz 2652 BLAKE2B 6dff0152f8553c245796badfd291e0e79f2a6a935a9908d9825dbac760746c05265b7f12a29a2d1fa1b95d16291ca5723fbf2f53b5bb04ff416e64b9c66b0c7d SHA512 6dd43858e91bee57bc0bc6d721eb26abb30bbe8b9c30733b39f3612cdf0dddd9ad8876518a4457a68a48d8a4b911225635c0e8eef1a7e78cfe65c8fcf0af2bab +DIST sgabios-0.1_pre10.tar.gz 31086 BLAKE2B f9577d0009d90c46aa5963e6dea50be4b7ec4b5c597194b33256748adbc4d60b3ac50646ce80befbd6d810ba80e93048fd6234b4d320d15f3506087435ec346c SHA512 cf12a8b8579658c99a3ad8c325637dba1569d364fc5440caf33c85a4f0403d83cf755df61d068151191c75588d568da629329a93d731f49b0b9131c983141fe6 DIST sgabios-0.1_pre8-bins.tar.xz 2704 BLAKE2B 8efcf613a4857467cc3cfbc3f6402bca091892f0b2137ff65caf2b444610c86c1db0e61505bfe48ed8d6ccc9e8928190c2a38693aeddd523e27d22a29e777044 SHA512 46fc02200b3fa2e45c954a2b6e4cd40f10d6969fd05ef4d441402c7390b4e83390250972ef0ea891635400cad22a4d8fd2b66b56afa91d03e1e0b99132e09c0d DIST sgabios-0.1_pre8.tar.xz 27200 BLAKE2B 8ea535f2fcc8f7105a278202648e06722e7463e66ff3ccf824cd3a672a7908e7223f27678ebd4ca73eb19abaff75e082ea7b9bc222332436f31a8840443d7b44 SHA512 68e2a894eb5b99cda2b0e96ade891e24397ac962a777a97dbb526f4570e5734d36a88fde1ef64ed7a887cd8bfc500c91c48849d2c26aca6ce7e36dd80aaf361e diff --git a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/metadata.xml b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/metadata.xml index a1bc76dbe5..59286768ce 100644 --- a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/metadata.xml @@ -1,13 +1,13 @@ - + - cardoe@gentoo.org - Doug Goldstein + tamiko@gentoo.org + Matthias Maier - qemu@gentoo.org - Gentoo QEMU Project + virtualization@gentoo.org + Gentoo Virtualization Project Use pre-built binaries diff --git a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre10.ebuild b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre10.ebuild new file mode 100644 index 0000000000..829c335c77 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre10.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="serial graphics adapter bios option rom for x86" +HOMEPAGE="https://code.google.com/p/sgabios/" +# downloaded from +# https://git.qemu.org/?p=sgabios.git;a=tree;h=a85446adb0e07ccd5211619a6f215bcfc3c5ab29;hb=23d474943dcd55d0550a3d20b3d30e9040a4f15b +SRC_URI="mirror://gentoo/${P}.tar.gz + !binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}.tar.gz ) + binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz )" +S="${WORKDIR}/sgabios-a85446a" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sparc x86" +IUSE="+binary" +REQUIRED_USE="!amd64? ( !x86? ( binary ) )" + +src_compile() { + use binary && return + + tc-ld-disable-gold + tc-export_build_env BUILD_CC + emake -j1 \ + BUILD_CC="${BUILD_CC}" \ + BUILD_CFLAGS="${BUILD_CFLAGS}" \ + BUILD_LDFLAGS="${BUILD_LDFLAGS}" \ + BUILD_CPPFLAGS="${BUILD_CPPFLAGS}" \ + CC="$(tc-getCC)" \ + LD="$(tc-getLD)" \ + AR="$(tc-getAR)" \ + OBJCOPY="$(tc-getOBJCOPY)" +} + +src_install() { + insinto /usr/share/sgabios + doins sgabios.bin +} diff --git a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre8-r1.ebuild b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre8-r1.ebuild index bbf4403ff4..8a87d1c68a 100644 --- a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre8-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre8-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="serial graphics adapter bios option rom for x86" HOMEPAGE="https://code.google.com/p/sgabios/" @@ -13,7 +13,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sparc x86" IUSE="+binary" REQUIRED_USE="!amd64? ( !x86? ( binary ) )" diff --git a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild b/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild deleted file mode 100644 index b062b9588e..0000000000 --- a/sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre8.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils toolchain-funcs - -DESCRIPTION="serial graphics adapter bios option rom for x86" -HOMEPAGE="https://code.google.com/p/sgabios/" -SRC_URI="mirror://gentoo/${P}.tar.xz - https://dev.gentoo.org/~cardoe/distfiles/${P}.tar.xz - https://dev.gentoo.org/~cardoe/distfiles/${P}-bins.tar.xz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" -IUSE="" - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - epatch "${FILESDIR}"/${P}-build-cc.patch #552280 - epatch_user -} - -src_compile() { - if use amd64 || use x86 ; then - tc-ld-disable-gold - tc-export_build_env BUILD_CC - emake \ - BUILD_CC="${BUILD_CC}" \ - BUILD_CFLAGS="${BUILD_CFLAGS}" \ - BUILD_LDFLAGS="${BUILD_LDFLAGS}" \ - BUILD_CPPFLAGS="${BUILD_CPPFLAGS}" \ - CC="$(tc-getCC)" \ - LD="$(tc-getLD)" \ - AR="$(tc-getAR)" \ - OBJCOPY="$(tc-getOBJCOPY)" - fi -} - -src_install() { - insinto /usr/share/sgabios - - if use amd64 || use x86 ; then - doins sgabios.bin - else - doins bins/sgabios.bin - fi -}