Diff vgabios-0.7a-r1 with a vgabios-0.8a
/usr/portage/sys-firmware/vgabios/vgabios-0.8a.ebuild 2023-10-09 14:52:35.500368502 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
# Can't really call them backports when they're fixes that upstream |
|
7 |
# won't carry |
|
8 |
FIXES=1 |
|
9 | ||
10 | 6 |
DESCRIPTION="VGA BIOS implementation" |
11 | 7 |
HOMEPAGE="http://www.nongnu.org/vgabios/" |
12 |
SRC_URI="https://savannah.gnu.org/download/${PN}/${P}.tgz |
|
13 |
https://dev.gentoo.org/~cardoe/distfiles/${P}-fixes-${FIXES}.tar.bz2" |
|
8 |
SRC_URI="https://savannah.gnu.org/download/${PN}/${P}.tgz" |
|
14 | 9 | |
15 | 10 |
LICENSE="LGPL-2.1" |
16 | 11 |
SLOT="0" |
... | ... | |
18 | 13 |
IUSE="binary debug" |
19 | 14 |
BDEPEND="!binary? ( sys-devel/dev86 )" |
20 | 15 | |
21 |
src_prepare() { |
|
22 |
if [[ -n ${FIXES} ]] ; then |
|
23 |
eapply patches/*.patch |
|
24 |
fi |
|
25 | ||
26 |
default |
|
27 |
} |
|
28 | ||
29 | 16 |
src_compile() { |
30 | 17 |
if ! use binary ; then |
31 | 18 |
emake clean # Necessary to clean up the pre-built pieces |
... | ... | |
46 | 33 |
use debug && newins VGABIOS-lgpl-latest.cirrus.debug.bin \ |
47 | 34 |
vgabios-cirrus.debug.bin |
48 | 35 | |
49 |
if ! use binary ; then |
|
50 |
# QXL |
|
51 |
newins VGABIOS-lgpl-latest.qxl.bin vgabios-qxl.bin |
|
52 |
use debug && newins VGABIOS-lgpl-latest.qxl.debug.bin \ |
|
53 |
vgabios-qxl.debug.bin |
|
54 | ||
55 |
# Standard VGA |
|
56 |
newins VGABIOS-lgpl-latest.stdvga.bin vgabios-stdvga.bin |
|
57 |
use debug && newins VGABIOS-lgpl-latest.stdvga.debug.bin \ |
|
58 |
vgabios-stdvga.debug.bin |
|
59 | ||
60 |
# VMWare |
|
61 |
newins VGABIOS-lgpl-latest.vmware.bin vgabios-vmware.bin |
|
62 |
use debug && newins VGABIOS-lgpl-latest.vmware.debug.bin \ |
|
63 |
vgabios-vmware.debug.bin |
|
64 |
else |
|
65 |
ewarn "USE=binary only includes default & cirrus bios builds" |
|
66 |
fi |
|
36 |
# Banshee |
|
37 |
newins VGABIOS-lgpl-latest.banshee.bin vgabios-banshee.bin |
|
38 | ||
67 | 39 |
} |