mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
sys-firmware/sgabios: update to 0.1_pre10
This commit is contained in:
parent
2265ad8fce
commit
b4b30c3842
@ -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-bins.tar.xz 2704 BLAKE2B 8efcf613a4857467cc3cfbc3f6402bca091892f0b2137ff65caf2b444610c86c1db0e61505bfe48ed8d6ccc9e8928190c2a38693aeddd523e27d22a29e777044 SHA512 46fc02200b3fa2e45c954a2b6e4cd40f10d6969fd05ef4d441402c7390b4e83390250972ef0ea891635400cad22a4d8fd2b66b56afa91d03e1e0b99132e09c0d
|
||||||
DIST sgabios-0.1_pre8.tar.xz 27200 BLAKE2B 8ea535f2fcc8f7105a278202648e06722e7463e66ff3ccf824cd3a672a7908e7223f27678ebd4ca73eb19abaff75e082ea7b9bc222332436f31a8840443d7b44 SHA512 68e2a894eb5b99cda2b0e96ade891e24397ac962a777a97dbb526f4570e5734d36a88fde1ef64ed7a887cd8bfc500c91c48849d2c26aca6ce7e36dd80aaf361e
|
DIST sgabios-0.1_pre8.tar.xz 27200 BLAKE2B 8ea535f2fcc8f7105a278202648e06722e7463e66ff3ccf824cd3a672a7908e7223f27678ebd4ca73eb19abaff75e082ea7b9bc222332436f31a8840443d7b44 SHA512 68e2a894eb5b99cda2b0e96ade891e24397ac962a777a97dbb526f4570e5734d36a88fde1ef64ed7a887cd8bfc500c91c48849d2c26aca6ce7e36dd80aaf361e
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<maintainer type="person">
|
||||||
<email>cardoe@gentoo.org</email>
|
<email>tamiko@gentoo.org</email>
|
||||||
<name>Doug Goldstein</name>
|
<name>Matthias Maier</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>qemu@gentoo.org</email>
|
<email>virtualization@gentoo.org</email>
|
||||||
<name>Gentoo QEMU Project</name>
|
<name>Gentoo Virtualization Project</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<use>
|
||||||
<flag name="binary">Use pre-built binaries</flag>
|
<flag name="binary">Use pre-built binaries</flag>
|
||||||
|
42
sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre10.ebuild
vendored
Normal file
42
sdk_container/src/third_party/portage-stable/sys-firmware/sgabios/sgabios-0.1_pre10.ebuild
vendored
Normal file
@ -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
|
||||||
|
}
|
@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=6
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
inherit toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="serial graphics adapter bios option rom for x86"
|
DESCRIPTION="serial graphics adapter bios option rom for x86"
|
||||||
HOMEPAGE="https://code.google.com/p/sgabios/"
|
HOMEPAGE="https://code.google.com/p/sgabios/"
|
||||||
@ -13,7 +13,7 @@ SRC_URI="mirror://gentoo/${P}.tar.xz
|
|||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="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"
|
IUSE="+binary"
|
||||||
|
|
||||||
REQUIRED_USE="!amd64? ( !x86? ( binary ) )"
|
REQUIRED_USE="!amd64? ( !x86? ( binary ) )"
|
||||||
|
@ -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
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user