Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-firmware/seabios: seabios-1.7.5.ebuild ChangeLog
Date: Mon, 09 Jun 2014 06:48:21
Message-Id: 20140609064817.1E37A2004E@flycatcher.gentoo.org
1 patrick 14/06/09 06:48:17
2
3 Modified: ChangeLog
4 Added: seabios-1.7.5.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.33 sys-firmware/seabios/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/seabios/ChangeLog?rev=1.33&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/seabios/ChangeLog?rev=1.33&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/seabios/ChangeLog?r1=1.32&r2=1.33
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-firmware/seabios/ChangeLog,v
20 retrieving revision 1.32
21 retrieving revision 1.33
22 diff -u -r1.32 -r1.33
23 --- ChangeLog 4 Jun 2014 16:04:55 -0000 1.32
24 +++ ChangeLog 9 Jun 2014 06:48:16 -0000 1.33
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sys-firmware/seabios
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/ChangeLog,v 1.32 2014/06/04 16:04:55 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/ChangeLog,v 1.33 2014/06/09 06:48:16 patrick Exp $
30 +
31 +*seabios-1.7.5 (09 Jun 2014)
32 +
33 + 09 Jun 2014; Patrick Lauer <patrick@g.o> +seabios-1.7.5.ebuild:
34 + Bump
35
36 04 Jun 2014; Agostino Sarubbo <ago@g.o> seabios-1.7.4.ebuild:
37 Stable for x86, wrt bug #507796
38
39
40
41 1.1 sys-firmware/seabios/seabios-1.7.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/seabios/seabios-1.7.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-firmware/seabios/seabios-1.7.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: seabios-1.7.5.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/seabios-1.7.5.ebuild,v 1.1 2014/06/09 06:48:16 patrick Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_6,2_7} )
55
56 inherit eutils toolchain-funcs python-any-r1
57
58 #BACKPORTS=1
59
60 # SeaBIOS maintainers sometimes don't release stable tarballs or stable
61 # binaries to generate the stable tarball the following is necessary:
62 # git clone git://git.seabios.org/seabios.git && cd seabios
63 # git archive --output seabios-${PV}.tar.gz --prefix seabios-${PV}/ rel-${PV}
64
65 if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
66 EGIT_REPO_URI="git://git.seabios.org/seabios.git"
67 inherit git-2
68 else
69 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
70 SRC_URI="http://code.coreboot.org/p/seabios/downloads/get/${P}.tar.gz
71 http://code.coreboot.org/p/seabios/downloads/get/bios.bin-${PV}.gz
72 http://dev.gentoo.org/~cardoe/distfiles/${P}.tar.gz
73 http://dev.gentoo.org/~cardoe/distfiles/bios.bin-${PV}.gz
74 ${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
75 fi
76
77 DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS"
78 HOMEPAGE="http://www.seabios.org"
79
80 LICENSE="LGPL-3 GPL-3"
81 SLOT="0"
82 IUSE="+binary"
83
84 REQUIRED_USE="ppc? ( binary )
85 ppc64? ( binary )"
86
87 DEPEND="
88 !binary? (
89 >=sys-power/iasl-20060912
90 ${PYTHON_DEPS}
91 )"
92 RDEPEND=""
93
94 pkg_pretend() {
95 if ! use binary; then
96 ewarn "You have decided to compile your own SeaBIOS. This is not"
97 ewarn "supported by upstream unless you use their recommended"
98 ewarn "toolchain (which you are not)."
99 elog
100 ewarn "If you are intending to use this build with QEMU, realize"
101 ewarn "you will not receive any support if you have compiled your"
102 ewarn "own SeaBIOS. Virtual machines subtly fail based on changes"
103 ewarn "in SeaBIOS."
104 fi
105
106 local myld=$(tc-getLD)
107
108 ${myld} -v | grep -q "GNU gold" && \
109 ewarn "gold linker unable to handle 16-bit code using ld.bfd. bug #438058"
110 }
111
112 pkg_setup() {
113 use binary || python-any-r1_pkg_setup
114 }
115
116 src_prepare() {
117 if [[ -z "${EGIT_COMMIT}" ]]; then
118 sed -e "s/VERSION=.*/VERSION=${PV}/" \
119 -i "${S}/Makefile"
120 else
121 sed -e "s/VERSION=.*/VERSION=${PV}_pre${EGIT_COMMIT}/" \
122 -i "${S}/Makefile"
123 fi
124
125 epatch_user
126 }
127
128 src_configure() {
129 :
130 }
131
132 src_compile() {
133 if ! use binary ; then
134 LANG=C emake \
135 CC=$(tc-getCC) \
136 LD="$(tc-getLD).bfd" \
137 AR=$(tc-getAR) \
138 OBJCOPY=$(tc-getOBJCOPY) \
139 RANLIB=$(tc-getRANLIB) \
140 OBJDUMP=$(tc-getPROG OBJDUMP objdump) \
141 HOST_CC=$(tc-getBUILD_CC) \
142 out/bios.bin
143 fi
144 }
145
146 src_install() {
147 insinto /usr/share/seabios
148 if ! use binary ; then
149 doins out/bios.bin
150 else
151 newins ../bios.bin-${PV} bios.bin
152 fi
153 }