Сравнение vgabios-0.7a с vgabios-0.7a-r1
| /usr/portage/sys-firmware/vgabios/vgabios-0.7a-r1.ebuild 2023-10-09 14:52:35.500368502 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2020 Gentoo Authors |
|
| 1 |
# Copyright 1999-2021 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=7 |
| ... | ... | |
| 14 | 14 | |
| 15 | 15 |
LICENSE="LGPL-2.1" |
| 16 | 16 |
SLOT="0" |
| 17 |
KEYWORDS="amd64 x86" |
|
| 18 |
IUSE="debug" |
|
| 19 | ||
| 20 |
BDEPEND="amd64? ( sys-devel/dev86 ) |
|
| 21 |
x86? ( sys-devel/dev86 )" |
|
| 17 |
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" |
|
| 18 |
IUSE="binary debug" |
|
| 19 |
BDEPEND="!binary? ( sys-devel/dev86 )" |
|
| 22 | 20 | |
| 23 | 21 |
src_prepare() {
|
| 24 | 22 |
if [[ -n ${FIXES} ]] ; then
|
| ... | ... | |
| 29 | 27 |
} |
| 30 | 28 | |
| 31 | 29 |
src_compile() {
|
| 32 |
if use amd64 || use x86 ; then |
|
| 30 |
if ! use binary ; then |
|
| 33 | 31 |
emake clean # Necessary to clean up the pre-built pieces |
| 34 | 32 |
emake biossums |
| 35 | 33 |
emake |
| ... | ... | |
| 39 | 37 |
src_install() {
|
| 40 | 38 |
insinto /usr/share/vgabios |
| 41 | 39 | |
| 42 |
if use amd64 || use x86 ; then |
|
| 43 |
# Stock VGABIOS |
|
| 44 |
newins VGABIOS-lgpl-latest.bin vgabios.bin |
|
| 45 |
use debug && newins VGABIOS-lgpl-latest.debug.bin vgabios.debug.bin |
|
| 46 | ||
| 47 |
# Cirrus |
|
| 48 |
newins VGABIOS-lgpl-latest.cirrus.bin vgabios-cirrus.bin |
|
| 49 |
use debug && newins VGABIOS-lgpl-latest.cirrus.debug.bin \ |
|
| 50 |
vgabios-cirrus.debug.bin |
|
| 40 |
# Stock VGABIOS |
|
| 41 |
newins VGABIOS-lgpl-latest.bin vgabios.bin |
|
| 42 |
use debug && newins VGABIOS-lgpl-latest.debug.bin vgabios.debug.bin |
|
| 43 | ||
| 44 |
# Cirrus |
|
| 45 |
newins VGABIOS-lgpl-latest.cirrus.bin vgabios-cirrus.bin |
|
| 46 |
use debug && newins VGABIOS-lgpl-latest.cirrus.debug.bin \ |
|
| 47 |
vgabios-cirrus.debug.bin |
|
| 51 | 48 | |
| 49 |
if ! use binary ; then |
|
| 52 | 50 |
# QXL |
| 53 | 51 |
newins VGABIOS-lgpl-latest.qxl.bin vgabios-qxl.bin |
| 54 | 52 |
use debug && newins VGABIOS-lgpl-latest.qxl.debug.bin \ |
| ... | ... | |
| 64 | 62 |
use debug && newins VGABIOS-lgpl-latest.vmware.debug.bin \ |
| 65 | 63 |
vgabios-vmware.debug.bin |
| 66 | 64 |
else |
| 67 |
doins bins/* |
|
| 65 |
ewarn "USE=binary only includes default & cirrus bios builds" |
|
| 68 | 66 |
fi |
| 69 | 67 |
} |