diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-20 14:54:46 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-20 14:54:46 -0500 |
| commit | 1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0 (patch) | |
| tree | 18e2e784f9fb0dbc3546537acc42ad51b366d90e /sys-firmware/vgabios | |
| parent | 9f6a581d94412ab1cf4b35c33101f6be0ddc7777 (diff) | |
| download | baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.gz baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.tar.xz baldeagleos-repo-1a4479b4e0368c8d5ff241ebad17b2541a7e3ba0.zip | |
Adding metadata
Diffstat (limited to 'sys-firmware/vgabios')
| -rw-r--r-- | sys-firmware/vgabios/vgabios-0.7a-r1.ebuild | 67 | ||||
| -rw-r--r-- | sys-firmware/vgabios/vgabios-0.7a.ebuild | 69 |
2 files changed, 136 insertions, 0 deletions
diff --git a/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild b/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild new file mode 100644 index 000000000000..84a7f9b665bc --- /dev/null +++ b/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Can't really call them backports when they're fixes that upstream +# won't carry +FIXES=1 + +DESCRIPTION="VGA BIOS implementation" +HOMEPAGE="http://www.nongnu.org/vgabios/" +SRC_URI="https://savannah.gnu.org/download/${PN}/${P}.tgz + https://dev.gentoo.org/~cardoe/distfiles/${P}-fixes-${FIXES}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" +IUSE="binary debug" +BDEPEND="!binary? ( sys-devel/dev86 )" + +src_prepare() { + if [[ -n ${FIXES} ]] ; then + eapply patches/*.patch + fi + + default +} + +src_compile() { + if ! use binary ; then + emake clean # Necessary to clean up the pre-built pieces + emake biossums + emake + fi +} + +src_install() { + insinto /usr/share/vgabios + + # Stock VGABIOS + newins VGABIOS-lgpl-latest.bin vgabios.bin + use debug && newins VGABIOS-lgpl-latest.debug.bin vgabios.debug.bin + + # Cirrus + newins VGABIOS-lgpl-latest.cirrus.bin vgabios-cirrus.bin + use debug && newins VGABIOS-lgpl-latest.cirrus.debug.bin \ + vgabios-cirrus.debug.bin + + if ! use binary ; then + # QXL + newins VGABIOS-lgpl-latest.qxl.bin vgabios-qxl.bin + use debug && newins VGABIOS-lgpl-latest.qxl.debug.bin \ + vgabios-qxl.debug.bin + + # Standard VGA + newins VGABIOS-lgpl-latest.stdvga.bin vgabios-stdvga.bin + use debug && newins VGABIOS-lgpl-latest.stdvga.debug.bin \ + vgabios-stdvga.debug.bin + + # VMWare + newins VGABIOS-lgpl-latest.vmware.bin vgabios-vmware.bin + use debug && newins VGABIOS-lgpl-latest.vmware.debug.bin \ + vgabios-vmware.debug.bin + else + ewarn "USE=binary only includes default & cirrus bios builds" + fi +} diff --git a/sys-firmware/vgabios/vgabios-0.7a.ebuild b/sys-firmware/vgabios/vgabios-0.7a.ebuild new file mode 100644 index 000000000000..85d6d4c72bce --- /dev/null +++ b/sys-firmware/vgabios/vgabios-0.7a.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Can't really call them backports when they're fixes that upstream +# won't carry +FIXES=1 + +DESCRIPTION="VGA BIOS implementation" +HOMEPAGE="http://www.nongnu.org/vgabios/" +SRC_URI="https://savannah.gnu.org/download/${PN}/${P}.tgz + https://dev.gentoo.org/~cardoe/distfiles/${P}-fixes-${FIXES}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug" + +BDEPEND="amd64? ( sys-devel/dev86 ) + x86? ( sys-devel/dev86 )" + +src_prepare() { + if [[ -n ${FIXES} ]] ; then + eapply patches/*.patch + fi + + default +} + +src_compile() { + if use amd64 || use x86 ; then + emake clean # Necessary to clean up the pre-built pieces + emake biossums + emake + fi +} + +src_install() { + insinto /usr/share/vgabios + + if use amd64 || use x86 ; then + # Stock VGABIOS + newins VGABIOS-lgpl-latest.bin vgabios.bin + use debug && newins VGABIOS-lgpl-latest.debug.bin vgabios.debug.bin + + # Cirrus + newins VGABIOS-lgpl-latest.cirrus.bin vgabios-cirrus.bin + use debug && newins VGABIOS-lgpl-latest.cirrus.debug.bin \ + vgabios-cirrus.debug.bin + + # QXL + newins VGABIOS-lgpl-latest.qxl.bin vgabios-qxl.bin + use debug && newins VGABIOS-lgpl-latest.qxl.debug.bin \ + vgabios-qxl.debug.bin + + # Standard VGA + newins VGABIOS-lgpl-latest.stdvga.bin vgabios-stdvga.bin + use debug && newins VGABIOS-lgpl-latest.stdvga.debug.bin \ + vgabios-stdvga.debug.bin + + # VMWare + newins VGABIOS-lgpl-latest.vmware.bin vgabios-vmware.bin + use debug && newins VGABIOS-lgpl-latest.vmware.debug.bin \ + vgabios-vmware.debug.bin + else + doins bins/* + fi +} |
