diff options
author | Matthias Maier <tamiko@gentoo.org> | 2021-04-04 19:39:11 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2021-04-04 20:05:18 -0500 |
commit | afa05e382f12210b9c8ef60ab903910288080fec (patch) | |
tree | 1ac11473d023179942b5e06495c5449c18eb05a6 /sys-firmware | |
parent | sys-firmware/seabios: version bump to 1.14.0 (diff) | |
download | gentoo-afa05e382f12210b9c8ef60ab903910288080fec.tar.gz gentoo-afa05e382f12210b9c8ef60ab903910288080fec.tar.bz2 gentoo-afa05e382f12210b9c8ef60ab903910288080fec.zip |
sys-firmware/sgabios: version bump to 0.1_pre10
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sys-firmware')
-rw-r--r-- | sys-firmware/sgabios/Manifest | 2 | ||||
-rw-r--r-- | sys-firmware/sgabios/sgabios-0.1_pre10.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-firmware/sgabios/Manifest b/sys-firmware/sgabios/Manifest index 62f4f1767132..47d874a70e85 100644 --- a/sys-firmware/sgabios/Manifest +++ b/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/sys-firmware/sgabios/sgabios-0.1_pre10.ebuild b/sys-firmware/sgabios/sgabios-0.1_pre10.ebuild new file mode 100644 index 000000000000..9c9379f63aad --- /dev/null +++ b/sys-firmware/sgabios/sgabios-0.1_pre10.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils 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 )" + +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 ) )" + +S="${WORKDIR}/sgabios-a85446a" + +src_prepare() { + if use binary; then + eapply_user + return + fi + default +} + +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 +} |