diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-27 09:09:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-27 09:09:50 +0100 |
commit | 2be230a2a252e8e744f11a8b38e9a0097ddc9b25 (patch) | |
tree | c7c6cd81169223a110c28f74dfc1b82b3f52bcb1 /sys-firmware/seabios | |
parent | 8d3ae5c288a62253ed3bc3d71336bf2061cfdb51 (diff) |
gentoo auto-resync : 27:09:2022 - 09:09:50
Diffstat (limited to 'sys-firmware/seabios')
-rw-r--r-- | sys-firmware/seabios/Manifest | 11 | ||||
-rw-r--r-- | sys-firmware/seabios/seabios-1.12.0-r1.ebuild | 171 | ||||
-rw-r--r-- | sys-firmware/seabios/seabios-1.12.0.ebuild | 145 | ||||
-rw-r--r-- | sys-firmware/seabios/seabios-1.14.0-r1.ebuild | 172 | ||||
-rw-r--r-- | sys-firmware/seabios/seabios-1.14.0-r2.ebuild | 2 | ||||
-rw-r--r-- | sys-firmware/seabios/seabios-1.14.0.ebuild | 166 | ||||
-rw-r--r-- | sys-firmware/seabios/seabios-1.16.0.ebuild | 4 |
7 files changed, 5 insertions, 666 deletions
diff --git a/sys-firmware/seabios/Manifest b/sys-firmware/seabios/Manifest index 6aafacea3e8d..b7de89a0bccf 100644 --- a/sys-firmware/seabios/Manifest +++ b/sys-firmware/seabios/Manifest @@ -7,16 +7,9 @@ AUX seavgabios/config.vga-qxl 128 BLAKE2B f627711caa7dfbb236b4e9e83104d3d5c7d07a AUX seavgabios/config.vga-stdvga 59 BLAKE2B 7c10706c7d261f64e181d85c268375aa3b6b362bf3e5f1f391c52a6a3644a498a44c9627f60b6c47893c4fad24cc4667e816ab98e6bdcdb97b7d8f7463a8bf10 SHA512 4a1b7fcc729d78dc8fd4e73d1cb6258ed9d49f8a91e6e00cc184e07c89a304f8d38ef5446d1c4ba5e8e929c82693d82c21526e42992ad6e1a008f39bb7c90448 AUX seavgabios/config.vga-virtio 128 BLAKE2B 98237322784b56cdff2c7d7298a419b18ab77031dfad9da743af73c3073a5b766be3940694a320c82ffda65c8a48e028eccd974d37ccd44f9ba0720b5787b53e SHA512 4d627be11d79f0b8bd814a49e608826375aba6b59a0189dcba9afe24a181347b92e6ab18e0d9199e2f7a78f8fb02f03dad84c63fbbc2ffe9af76777ef28c5f8a AUX seavgabios/config.vga-vmware 128 BLAKE2B 8ab374ee7b0ad5cd8f732ccc4983f2251a8ba4843bab358cb3e84e12a572e4e348094e762ecfaa94f704ad05d718bfebd34048b1db3076dae2309d7963794437 SHA512 2a82f75ca6dbf48546ffa5a756136dd7085855d9411c3b37a74cc53281027b4916cf628dba784bcad915682d94705b5f8116f7a1b7ec6a99d9b2fb3fffba01c0 -DIST seabios-1.12.0-bin.tar.xz 162492 BLAKE2B 9a5a349226ed7efbed328493dc057e232203b251677a23f1f09c133743ff0ca6b05270c9d27460be1d8897888fe23ff7bdfa122023fa8ddb23af03d5b9b6f8dd SHA512 f7a0395d621245093bb9a278d95ecc3d4e8d23f620058cd4fddaf885c8b86256f6258f3fd8173c1d24c03306f44d180e768bf8005ee123bc4b699b9f0ca371be -DIST seabios-1.12.0.tar.gz 613542 BLAKE2B f145c2db716996bfa9e5c014086ccfaa8ae96ebc158f34303b122b7bf209408c567665d8691364df8d8e886f63e0e72a3f3cd319dfa86ef581023201b5d94e53 SHA512 e52c5363e5bb37b5286e55545aa06bd126218f9d0e3a06ac2e189de68fe3de3256c11ca1bb13357a9c384d7e3af6284083ff3aa587688b5de04ef11b97bdfa27 -DIST seabios-1.14.0-bin.tar.xz 170160 BLAKE2B 1ab471ce0c6e27633ec42a66e3069496be84de713baab5de4f297821bd0da26404f7f70abc82e223ec5aa317a878889ae92b019988c72d24f77e7dcc5865f916 SHA512 7964e9bb7dff4fd6593f5d6d64efc4b1460750461b86635dbe5255d2086d619f51711d7a35e4dc20e556f705091c0950afabeddcd2e8876f05ce14f9ca73ed71 DIST seabios-1.14.0-r2-bin.tar.xz 132256 BLAKE2B 7d38949de254d6e3699d463a66c363156aa36bfe16c18bea48c55a61bdc423184175fd5427d3246a78d9c6335e61e5baa982f67e7406c5525e405b4383530d41 SHA512 5ce0e407b97e878842fbd7ad2f9e8a65f2565a5aa43d08e01cff024352780f55f8669958c58d20770db7f90e87cc52c860af831cefe3846227e7b45cd9dc33ee DIST seabios-1.14.0.tar.gz 628985 BLAKE2B cc1126925dab1551a655680d20d06ebf28c12c386500d1ee4df9e1a99403b4c5bc6a66c2cc5ef58b4c3d6d7226f35007506a6a1855c2cf2742469dcb7aba05bb SHA512 215c42f59425f8abd062be7b11fc0e39c977cee5001a2381551b0f851ac337d0dd53c065267e6dee0e710ffd700fa635f9007b89da8dfce0f47122c984ee8146 DIST seabios-1.16.0.tar.gz 635419 BLAKE2B b645f20bae341d56ce4fc4a7044446050d8490c6c136377f6dccf02c88100b0644bc13d210b4a517a8be6002d5671b0fba77120a2aca3a9bafbad5e88d037e40 SHA512 9daefcfb1c9edda4462a4b080c9bac552154d577ae19703a914928e43005e7a52edd86869c6507e94a7f0c61ce8b3e6f5dea38cd5146628cb138a130947c522f -EBUILD seabios-1.12.0-r1.ebuild 4058 BLAKE2B 960efadabb9000c6aecde46e41760d414f92f7b915ae546faf831cd52954b8f78e98419faeb54200189d0210c2d72057fa05997fa848fc10a42cbdff3d665a47 SHA512 9a9fe25e5766f9fc88fc22ac3fe796a3229a36bdba5c08a7648df8dcea0e8502fa9ada2ab3ab1aee2466f67bbb678e3e500ee99e2fe24b3e8b77c4bdded33a32 -EBUILD seabios-1.12.0.ebuild 3439 BLAKE2B 4e88e25af3df5c52d44259b8078f2c6a7baf5d88dfd572ab7e25c1d0a35737eca941002fb2e111a70143d95af61b012bbeb1da7e33a1b900471a4c3720cd6f70 SHA512 7e9a0e45766736bfc4aa71736aeee1e5301a044cb84f0ea7060be4cfc2e6f7da97ca789d136b85911d05a25aa1abcc6f644ebdf2da3c5e7a4371171d18614423 -EBUILD seabios-1.14.0-r1.ebuild 3922 BLAKE2B 28456deb4ae6bb85deae3f815372db3815bb84789c3107f6f8e47bf83d89f06f519c7ba0d4ed61838d90e476b7ebfb2d221158506ec6f79bbba9ef6f5de9eee6 SHA512 02d60543a35f653e2cfd17df4e8cbd6739d6a90ed444ad7783d1bf047af46424030efc0f425e469f3aca0ef5280422bd5993f7bfb7ac673e778bbc3dfff3278e -EBUILD seabios-1.14.0-r2.ebuild 4312 BLAKE2B ddb719c9cb15130b786708227ff200b51a615806b2a1ba0b7aafb2c6076ccb6cb89629d3e046bd084360114b2d48111244b34cac12260d9b1020b199d1b29c24 SHA512 f8324420c74cc1d55a613c50e7b87fb8b30c787b550cd764c80f5d5188f2f372090deaa581663d7a50227adb85fe98001d940ae9bd235bbbfdc06885f3948197 -EBUILD seabios-1.14.0.ebuild 3773 BLAKE2B 3ae3a072999d39f6d639d5c06454a8c33cafcb90014e4a77c5811bc176a536e9b43b144cc12da1e85c21c958dd6b985921902e6129381a3c670aa074d4b1bf81 SHA512 054cda4d92a31852e9cd97dd79182f206c7270f332ffd2e4642890f17b57e89621f3add65ad62e20707c7ef2a929f732d82ee154b7ed47c3dbfbc8c0da5da7c0 -EBUILD seabios-1.16.0.ebuild 3398 BLAKE2B a5add1f7e4bcd07e77d520e32d3c8021e33244a82d990d5ac68a6b043f0347db2653595e4b8f2f6a8d858039a4f998b1a0d0fa4d415e0118236c2a77ada81739 SHA512 a7a157c830ff9a1f216476b4d427ff41f52e7d7a8c743fec74a8a95755f979b59308ce5a0c9069fe7d81e780731be7298b31f74e8650cf9785fc82b8db54b89a +EBUILD seabios-1.14.0-r2.ebuild 4316 BLAKE2B 02a8fe7a44853f2dde852553e09c3c46de9931c1c572f0cf8146784f186a5715db31a11324f4d2a4a2323488a098a95d5d53c4b33396c1fd60bbd0bd46bdc9df SHA512 3e843dc4d966b8b80e4dd293a5778fc8a5c179216bb26f89e80a250fa3bc897dfa551cc8c78fadc2ec96d68ebc48169a85d3d67f753dd461f94f88937a826422 +EBUILD seabios-1.16.0.ebuild 3401 BLAKE2B f6fced8fa9f8c3a85576fabe8bc5fb7eb9d5a35803dc4fac97fa22e66788ceab19e570e2e2fb3e4a3378100b08cfe4421faf86df5496bde003897ffcfc65daf0 SHA512 7ff0b5f7818ee812647eaf45973d5cf010868f71c133ac2129faebd2aef88c0b19c272a77407a6d0a6dbab7e392ae7721585f866548814c6fb65ea6c10e8f368 MISC metadata.xml 552 BLAKE2B c04d6ed849a522fa91d5698915ce4a2344cf68301fa7a4a1b1c3644be4892a36920b1daa83afff6c4296877617e394a2565699c3ba34e92acb9b6dc52be34adf SHA512 4c92f35b58ee8f41b2a9457f830ef33962f831e854fe87982579a78c65df7ae5d74c54fb7a90ab837e51229a8ca0d75ae84c989e92c2f679ec9a91ed5ebb7561 diff --git a/sys-firmware/seabios/seabios-1.12.0-r1.ebuild b/sys-firmware/seabios/seabios-1.12.0-r1.ebuild deleted file mode 100644 index 03b9cd8cd76c..000000000000 --- a/sys-firmware/seabios/seabios-1.12.0-r1.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit toolchain-funcs python-any-r1 - -# SeaBIOS maintainers sometimes don't release stable tarballs or stable -# binaries to generate the stable tarball the following is necessary: -# git clone git://git.seabios.org/seabios.git && cd seabios -# git archive --output seabios-${PV}.tar.gz --prefix seabios-${PV}/ rel-${PV} - -if [[ ${PV} == *9999* || -n "${EGIT_COMMIT}" ]] ; then - EGIT_REPO_URI="git://git.seabios.org/seabios.git" - inherit git-r3 -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" - - # Binary versions taken from fedora: - # http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/s/ - # seabios-bin-1.12.1-2.fc31.noarch.rpm - # seavgabios-bin-1.12.1-2.fc31.noarch.rpm - SRC_URI=" - !binary? ( https://code.coreboot.org/p/seabios/downloads/get/${P}.tar.gz ) - binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz )" -fi - -DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS" -HOMEPAGE="https://www.seabios.org/" - -LICENSE="LGPL-3 GPL-3" -SLOT="0" -IUSE="+binary debug +seavgabios" - -REQUIRED_USE="debug? ( !binary )" - -SOURCE_DEPEND=" - >=sys-power/iasl-20060912 - ${PYTHON_DEPS}" -DEPEND=" - !binary? ( - ${SOURCE_DEPEND} - )" -RDEPEND="" - -choose_target_chost() { - if [[ -n "${CC}" ]]; then - ${CC} -dumpmachine - return - fi - - if use amd64 || use x86; then - # Use the native compiler - echo "${CHOST}" - return - fi - - local i - for i in x86_64 i686 i586 i486 i386 ; do - i=${i}-pc-linux-gnu - type -P ${i}-gcc > /dev/null && echo ${i} && return - done -} - -pkg_pretend() { - if ! use binary; then - ewarn "You have decided to compile your own SeaBIOS. This is not" - ewarn "supported by upstream unless you use their recommended" - ewarn "toolchain (which you are not)." - elog - ewarn "If you are intending to use this build with QEMU, realize" - ewarn "you will not receive any support if you have compiled your" - ewarn "own SeaBIOS. Virtual machines subtly fail based on changes" - ewarn "in SeaBIOS." - if [[ -z "$(choose_target_chost)" ]]; then - elog - eerror "Before you can compile ${PN}[-binary], you need to install a x86 cross-compiler" - eerror "Run the following commands:" - eerror " emerge crossdev" - eerror " crossdev --stable -t x86_64-pc-linux-gnu" - die "cross-compiler is needed" - fi - fi -} - -pkg_setup() { - use binary || python-any-r1_pkg_setup -} - -src_unpack() { - default - - # This simplifies the logic between binary & source builds. - mkdir -p "${S}" -} - -src_prepare() { - default - - # Ensure precompiled iasl files are never used - find "${WORKDIR}" -name '*.hex' -delete || die -} - -src_configure() { - use binary && return - - tc-ld-disable-gold #438058 - - if use debug ; then - echo "CONFIG_DEBUG_LEVEL=8" >.config - fi - _emake config -} - -_emake() { - LANG=C \ - emake V=1 \ - CC="$(tc-getCC)" \ - LD="$(tc-getLD)" \ - AR="$(tc-getAR)" \ - AS="$(tc-getAS)" \ - OBJCOPY="$(tc-getOBJCOPY)" \ - RANLIB="$(tc-getRANLIB)" \ - OBJDUMP="$(tc-getOBJDUMP)" \ - HOST_CC="$(tc-getBUILD_CC)" \ - VERSION="Gentoo/${EGIT_COMMIT:-${PVR}}" \ - "$@" -} - -src_compile() { - use binary && return - - local TARGET_CHOST=$(choose_target_chost) - - cp "${FILESDIR}/seabios/config.seabios-256k" .config || die - _emake oldnoconfig - CHOST="${TARGET_CHOST}" _emake iasl - CHOST="${TARGET_CHOST}" _emake out/bios.bin - mv out/bios.bin ../bios-256k.bin || die - - if use seavgabios ; then - local config t targets=( - cirrus - isavga - qxl - stdvga - virtio - vmware - ) - for t in "${targets[@]}" ; do - emake clean distclean - cp "${FILESDIR}/seavgabios/config.vga-${t}" .config || die - _emake oldnoconfig - CHOST="${TARGET_CHOST}" _emake out/vgabios.bin - cp out/vgabios.bin ../vgabios-${t}.bin || die - done - fi -} - -src_install() { - insinto /usr/share/seabios - use binary && doins ../bios.bin - doins ../bios-256k.bin - - if use seavgabios ; then - insinto /usr/share/seavgabios - doins ../vgabios*.bin - fi -} diff --git a/sys-firmware/seabios/seabios-1.12.0.ebuild b/sys-firmware/seabios/seabios-1.12.0.ebuild deleted file mode 100644 index 375070e32da8..000000000000 --- a/sys-firmware/seabios/seabios-1.12.0.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit toolchain-funcs python-any-r1 - -# SeaBIOS maintainers sometimes don't release stable tarballs or stable -# binaries to generate the stable tarball the following is necessary: -# git clone git://git.seabios.org/seabios.git && cd seabios -# git archive --output seabios-${PV}.tar.gz --prefix seabios-${PV}/ rel-${PV} - -if [[ ${PV} == *9999* || -n "${EGIT_COMMIT}" ]] ; then - EGIT_REPO_URI="git://git.seabios.org/seabios.git" - inherit git-r3 -else - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sparc x86" - - # Binary versions taken from fedora: - # http://download.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/Packages/s/ - # seabios-bin-1.12.1-2.fc31.noarch.rpm - # seavgabios-bin-1.12.1-2.fc31.noarch.rpm - SRC_URI=" - !binary? ( https://code.coreboot.org/p/seabios/downloads/get/${P}.tar.gz ) - binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz )" -fi - -DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS" -HOMEPAGE="https://www.seabios.org/" - -LICENSE="LGPL-3 GPL-3" -SLOT="0" -IUSE="+binary debug +seavgabios" - -REQUIRED_USE="debug? ( !binary ) - !amd64? ( !x86? ( binary ) )" - -# The amd64/x86 check is needed to workaround #570892. -SOURCE_DEPEND=" - >=sys-power/iasl-20060912 - ${PYTHON_DEPS}" -DEPEND=" - !binary? ( - amd64? ( ${SOURCE_DEPEND} ) - x86? ( ${SOURCE_DEPEND} ) - )" -RDEPEND="" - -pkg_pretend() { - if ! use binary; then - ewarn "You have decided to compile your own SeaBIOS. This is not" - ewarn "supported by upstream unless you use their recommended" - ewarn "toolchain (which you are not)." - elog - ewarn "If you are intending to use this build with QEMU, realize" - ewarn "you will not receive any support if you have compiled your" - ewarn "own SeaBIOS. Virtual machines subtly fail based on changes" - ewarn "in SeaBIOS." - fi -} - -pkg_setup() { - use binary || python-any-r1_pkg_setup -} - -src_unpack() { - default - - # This simplifies the logic between binary & source builds. - mkdir -p "${S}" -} - -src_prepare() { - default - - # Ensure precompiled iasl files are never used - find "${WORKDIR}" -name '*.hex' -delete || die -} - -src_configure() { - use binary && return - - tc-ld-disable-gold #438058 - - if use debug ; then - echo "CONFIG_DEBUG_LEVEL=8" >.config - fi - _emake config -} - -_emake() { - LANG=C \ - emake V=1 \ - CC="$(tc-getCC)" \ - LD="$(tc-getLD)" \ - AR="$(tc-getAR)" \ - AS="$(tc-getAS)" \ - OBJCOPY="$(tc-getOBJCOPY)" \ - RANLIB="$(tc-getRANLIB)" \ - OBJDUMP="$(tc-getOBJDUMP)" \ - HOST_CC="$(tc-getBUILD_CC)" \ - VERSION="Gentoo/${EGIT_COMMIT:-${PVR}}" \ - "$@" -} - -src_compile() { - use binary && return - - cp "${FILESDIR}/seabios/config.seabios-256k" .config || die - _emake oldnoconfig - _emake iasl - _emake out/bios.bin - mv out/bios.bin ../bios-256k.bin || die - - if use seavgabios ; then - local config t targets=( - cirrus - isavga - qxl - stdvga - virtio - vmware - ) - for t in "${targets[@]}" ; do - emake clean distclean - cp "${FILESDIR}/seavgabios/config.vga-${t}" .config || die - _emake oldnoconfig - _emake out/vgabios.bin - cp out/vgabios.bin ../vgabios-${t}.bin || die - done - fi -} - -src_install() { - insinto /usr/share/seabios - use binary && doins ../bios.bin - doins ../bios-256k.bin - - if use seavgabios ; then - insinto /usr/share/seavgabios - doins ../vgabios*.bin - fi -} diff --git a/sys-firmware/seabios/seabios-1.14.0-r1.ebuild b/sys-firmware/seabios/seabios-1.14.0-r1.ebuild deleted file mode 100644 index 92b326728a8d..000000000000 --- a/sys-firmware/seabios/seabios-1.14.0-r1.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit toolchain-funcs python-any-r1 - -# SeaBIOS maintainers sometimes don't release stable tarballs or stable -# binaries to generate the stable tarball the following is necessary: -# git clone git://git.seabios.org/seabios.git && cd seabios -# git archive --output seabios-${PV}.tar.gz --prefix seabios-${PV}/ rel-${PV} - -if [[ ${PV} == *9999* || -n "${EGIT_COMMIT}" ]] ; then - EGIT_REPO_URI="git://git.seabios.org/seabios.git" - inherit git-r3 -else - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" - - SRC_URI=" - !binary? ( https://www.seabios.org/downloads/${P}.tar.gz ) - binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz )" -fi - -DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS" -HOMEPAGE="https://www.seabios.org/" - -LICENSE="LGPL-3 GPL-3" -SLOT="0" -IUSE="+binary debug +seavgabios" - -REQUIRED_USE="debug? ( !binary )" - -SOURCE_DEPEND=" - >=sys-power/iasl-20060912 - ${PYTHON_DEPS}" -DEPEND=" - !binary? ( - ${SOURCE_DEPEND} - )" -RDEPEND="" - -choose_target_chost() { - if [[ -n "${CC}" ]]; then - ${CC} -dumpmachine - return - fi - - if use amd64 || use x86; then - # Use the native compiler - echo "${CHOST}" - return - fi - - local i - for i in x86_64 i686 i586 i486 i386 ; do - i=${i}-pc-linux-gnu - type -P ${i}-gcc > /dev/null && echo ${i} && return - done -} - -pkg_pretend() { - if ! use binary; then - ewarn "You have decided to compile your own SeaBIOS. This is not" - ewarn "supported by upstream unless you use their recommended" - ewarn "toolchain (which you are not)." - elog - ewarn "If you are intending to use this build with QEMU, realize" - ewarn "you will not receive any support if you have compiled your" - ewarn "own SeaBIOS. Virtual machines subtly fail based on changes" - ewarn "in SeaBIOS." - if [[ -z "$(choose_target_chost)" ]]; then - elog - eerror "Before you can compile ${PN}[-binary], you need to install a x86 cross-compiler" - eerror "Run the following commands:" - eerror " emerge crossdev" - eerror " crossdev --stable -t x86_64-pc-linux-gnu" - die "cross-compiler is needed" - fi - fi -} - -pkg_setup() { - use binary || python-any-r1_pkg_setup -} - -src_unpack() { - default - - # This simplifies the logic between binary & source builds. - mkdir -p "${S}" -} - -src_prepare() { - default - - if ! use binary; then - eapply "${FILESDIR}"/${PN}-1.14.0-binutils-2.36.patch - fi - - # Ensure precompiled iasl files are never used - find "${WORKDIR}" -name '*.hex' -delete || die -} - -src_configure() { - use binary && return - - tc-ld-disable-gold #438058 - - if use debug ; then - echo "CONFIG_DEBUG_LEVEL=8" >.config - fi - _emake config -} - -_emake() { - LANG=C \ - emake V=1 \ - CPP="$(tc-getPROG CPP cpp)" \ - CC="$(tc-getCC)" \ - LD="$(tc-getLD)" \ - AR="$(tc-getAR)" \ - AS="$(tc-getAS)" \ - OBJCOPY="$(tc-getOBJCOPY)" \ - RANLIB="$(tc-getRANLIB)" \ - OBJDUMP="$(tc-getOBJDUMP)" \ - STRIP="$(tc-getSTRIP)" \ - HOST_CC="$(tc-getBUILD_CC)" \ - VERSION="Gentoo/${EGIT_COMMIT:-${PVR}}" \ - "$@" -} - -src_compile() { - use binary && return - - local TARGET_CHOST=$(choose_target_chost) - - cp "${FILESDIR}/seabios/config.seabios-256k" .config || die - _emake oldnoconfig - CHOST="${TARGET_CHOST}" _emake iasl - CHOST="${TARGET_CHOST}" _emake out/bios.bin - mv out/bios.bin ../bios-256k.bin || die - - if use seavgabios ; then - local config t targets=( - cirrus - isavga - qxl - stdvga - virtio - vmware - ) - for t in "${targets[@]}" ; do - _emake clean distclean - cp "${FILESDIR}/seavgabios/config.vga-${t}" .config || die - _emake oldnoconfig - CHOST="${TARGET_CHOST}" _emake out/vgabios.bin - cp out/vgabios.bin ../vgabios-${t}.bin || die - done - fi -} - -src_install() { - insinto /usr/share/seabios - doins ../bios-256k.bin - - if use seavgabios ; then - insinto /usr/share/seavgabios - doins ../vgabios*.bin - fi -} diff --git a/sys-firmware/seabios/seabios-1.14.0-r2.ebuild b/sys-firmware/seabios/seabios-1.14.0-r2.ebuild index b9e722164d1c..20707bc4b7c0 100644 --- a/sys-firmware/seabios/seabios-1.14.0-r2.ebuild +++ b/sys-firmware/seabios/seabios-1.14.0-r2.ebuild @@ -3,7 +3,7 @@ EAPI="7" -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit toolchain-funcs python-any-r1 diff --git a/sys-firmware/seabios/seabios-1.14.0.ebuild b/sys-firmware/seabios/seabios-1.14.0.ebuild deleted file mode 100644 index 67cefdec6735..000000000000 --- a/sys-firmware/seabios/seabios-1.14.0.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit toolchain-funcs python-any-r1 - -# SeaBIOS maintainers sometimes don't release stable tarballs or stable -# binaries to generate the stable tarball the following is necessary: -# git clone git://git.seabios.org/seabios.git && cd seabios -# git archive --output seabios-${PV}.tar.gz --prefix seabios-${PV}/ rel-${PV} - -if [[ ${PV} == *9999* || -n "${EGIT_COMMIT}" ]] ; then - EGIT_REPO_URI="git://git.seabios.org/seabios.git" - inherit git-r3 -else - KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sparc x86" - - SRC_URI=" - !binary? ( https://www.seabios.org/downloads/${P}.tar.gz ) - binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz )" -fi - -DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS" -HOMEPAGE="https://www.seabios.org/" - -LICENSE="LGPL-3 GPL-3" -SLOT="0" -IUSE="+binary debug +seavgabios" - -REQUIRED_USE="debug? ( !binary )" - -SOURCE_DEPEND=" - >=sys-power/iasl-20060912 - ${PYTHON_DEPS}" -DEPEND=" - !binary? ( - ${SOURCE_DEPEND} - )" -RDEPEND="" - -choose_target_chost() { - if [[ -n "${CC}" ]]; then - ${CC} -dumpmachine - return - fi - - if use amd64 || use x86; then - # Use the native compiler - echo "${CHOST}" - return - fi - - local i - for i in x86_64 i686 i586 i486 i386 ; do - i=${i}-pc-linux-gnu - type -P ${i}-gcc > /dev/null && echo ${i} && return - done -} - -pkg_pretend() { - if ! use binary; then - ewarn "You have decided to compile your own SeaBIOS. This is not" - ewarn "supported by upstream unless you use their recommended" - ewarn "toolchain (which you are not)." - elog - ewarn "If you are intending to use this build with QEMU, realize" - ewarn "you will not receive any support if you have compiled your" - ewarn "own SeaBIOS. Virtual machines subtly fail based on changes" - ewarn "in SeaBIOS." - if [[ -z "$(choose_target_chost)" ]]; then - elog - eerror "Before you can compile ${PN}[-binary], you need to install a x86 cross-compiler" - eerror "Run the following commands:" - eerror " emerge crossdev" - eerror " crossdev --stable -t x86_64-pc-linux-gnu" - die "cross-compiler is needed" - fi - fi -} - -pkg_setup() { - use binary || python-any-r1_pkg_setup -} - -src_unpack() { - default - - # This simplifies the logic between binary & source builds. - mkdir -p "${S}" -} - -src_prepare() { - default - - # Ensure precompiled iasl files are never used - find "${WORKDIR}" -name '*.hex' -delete || die -} - -src_configure() { - use binary && return - - tc-ld-disable-gold #438058 - - if use debug ; then - echo "CONFIG_DEBUG_LEVEL=8" >.config - fi - _emake config -} - -_emake() { - LANG=C \ - emake V=1 \ - CC="$(tc-getCC)" \ - LD="$(tc-getLD)" \ - AR="$(tc-getAR)" \ - AS="$(tc-getAS)" \ - OBJCOPY="$(tc-getOBJCOPY)" \ - RANLIB="$(tc-getRANLIB)" \ - OBJDUMP="$(tc-getOBJDUMP)" \ - HOST_CC="$(tc-getBUILD_CC)" \ - VERSION="Gentoo/${EGIT_COMMIT:-${PVR}}" \ - "$@" -} - -src_compile() { - use binary && return - - local TARGET_CHOST=$(choose_target_chost) - - cp "${FILESDIR}/seabios/config.seabios-256k" .config || die - _emake oldnoconfig - CHOST="${TARGET_CHOST}" _emake iasl - CHOST="${TARGET_CHOST}" _emake out/bios.bin - mv out/bios.bin ../bios-256k.bin || die - - if use seavgabios ; then - local config t targets=( - cirrus - isavga - qxl - stdvga - virtio - vmware - ) - for t in "${targets[@]}" ; do - emake clean distclean - cp "${FILESDIR}/seavgabios/config.vga-${t}" .config || die - _emake oldnoconfig - CHOST="${TARGET_CHOST}" _emake out/vgabios.bin - cp out/vgabios.bin ../vgabios-${t}.bin || die - done - fi -} - -src_install() { - insinto /usr/share/seabios - doins ../bios-256k.bin - - if use seavgabios ; then - insinto /usr/share/seavgabios - doins ../vgabios*.bin - fi -} diff --git a/sys-firmware/seabios/seabios-1.16.0.ebuild b/sys-firmware/seabios/seabios-1.16.0.ebuild index 4ba443b19f0b..b6dc35043258 100644 --- a/sys-firmware/seabios/seabios-1.16.0.ebuild +++ b/sys-firmware/seabios/seabios-1.16.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit toolchain-funcs python-any-r1 @@ -17,7 +17,7 @@ if [[ ${PV} == *9999* || -n "${EGIT_COMMIT}" ]] ; then inherit git-r3 else SRC_URI="https://www.seabios.org/downloads/${P}.tar.gz" - #KEYWORDS="~alpha ~amd64 ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~x86" + KEYWORDS="~alpha ~amd64 ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~x86" fi DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS" |