summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-firmware/seabios')
-rw-r--r--sys-firmware/seabios/ChangeLog64
-rw-r--r--sys-firmware/seabios/metadata.xml10
-rw-r--r--sys-firmware/seabios/seabios-1.6.3.ebuild65
-rw-r--r--sys-firmware/seabios/seabios-1.7.0.ebuild68
4 files changed, 207 insertions, 0 deletions
diff --git a/sys-firmware/seabios/ChangeLog b/sys-firmware/seabios/ChangeLog
new file mode 100644
index 000000000000..76d990cfbdd0
--- /dev/null
+++ b/sys-firmware/seabios/ChangeLog
@@ -0,0 +1,64 @@
+# ChangeLog for sys-apps/seabios
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/ChangeLog,v 1.1 2012/07/28 22:16:03 cardoe Exp $
+
+ 26 Jul 2012; Richard Yao <ryao@gentoo.org> seabios-1.7.0.ebuild:
+ Keyword ~amd64-fbsd and ~x86-fbsd
+
+ 21 Jul 2012; Doug Goldstein <cardoe@gentoo.org> seabios-1.7.0.ebuild:
+ Include pre-built versions for systems that don't support compiling this.
+
+*seabios-1.7.0 (28 Jun 2012)
+
+ 28 Jun 2012; Doug Goldstein <cardoe@gentoo.org> +seabios-1.7.0.ebuild:
+ Version bump. bug #423925
+
+ 28 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> seabios-1.6.3.ebuild:
+ x86 stable wrt bug #399219
+
+ 24 Jan 2012; Mike Frysinger <vapier@gentoo.org> seabios-1.6.3.ebuild:
+ Add depend on python-2 since we need it to build.
+
+ 20 Jan 2012; Agostino Sarubbo <ago@gentoo.org> seabios-1.6.3.ebuild:
+ Stable for amd64, wrt bug #399219
+
+ 17 Jan 2012; Doug Goldstein <cardoe@gentoo.org>
+ -seabios-0.6.3_pre20110817.ebuild:
+ Remove older version.
+
+ 25 Oct 2011; Diego E. Pettenò <flameeyes@gentoo.org> seabios-1.6.3.ebuild:
+ QA: Actually use the damn tarball.
+
+ 24 Oct 2011; Doug Goldstein <cardoe@gentoo.org>
+ -seabios-0.6.3_pre20010817.ebuild:
+ Actually remove wrong version name
+
+*seabios-1.6.3 (24 Oct 2011)
+
+ 24 Oct 2011; Doug Goldstein <cardoe@gentoo.org> +seabios-1.6.3.ebuild:
+ Version bump to released version
+
+*seabios-0.6.3_pre20110817 (24 Oct 2011)
+
+ 24 Oct 2011; Doug Goldstein <cardoe@gentoo.org>
+ +seabios-0.6.3_pre20110817.ebuild:
+ Fix bad version name
+
+ 24 Oct 2011; Doug Goldstein <cardoe@gentoo.org>
+ seabios-0.6.3_pre20010817.ebuild:
+ Set the active Python to 2.x since this doesn't build with 3.x
+
+ 21 Oct 2011; Doug Goldstein <cardoe@gentoo.org>
+ seabios-0.6.3_pre20010817.ebuild:
+ Update blockers so we mark the versions of qemu-kvm we'll work with.
+
+ 19 Sep 2011; Doug Goldstein <cardoe@gentoo.org>
+ seabios-0.6.3_pre20010817.ebuild:
+ Update install path to match package name.
+
+*seabios-0.6.3_pre20010817 (25 Aug 2011)
+
+ 25 Aug 2011; Doug Goldstein <cardoe@gentoo.org>
+ +seabios-0.6.3_pre20010817.ebuild, +metadata.xml:
+ Add initial version of seabios
+
diff --git a/sys-firmware/seabios/metadata.xml b/sys-firmware/seabios/metadata.xml
new file mode 100644
index 000000000000..e2d6ffdc83e2
--- /dev/null
+++ b/sys-firmware/seabios/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>virtualization</herd>
+ <maintainer>
+ <email>cardoe@gentoo.org</email>
+ <name>Doug Goldstein</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/sys-firmware/seabios/seabios-1.6.3.ebuild b/sys-firmware/seabios/seabios-1.6.3.ebuild
new file mode 100644
index 000000000000..48edbcf1ceaa
--- /dev/null
+++ b/sys-firmware/seabios/seabios-1.6.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/seabios-1.6.3.ebuild,v 1.1 2012/07/28 22:16:03 cardoe Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+
+#BACKPORTS=1
+
+if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
+ EGIT_REPO_URI="git://git.seabios.org/seabios.git"
+ GIT_ECLASS="git-2"
+ SRC_URI=""
+else
+ SRC_URI="http://www.linuxtogo.org/~kevin/SeaBIOS/${P}.tar.gz
+ ${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
+fi
+
+inherit ${GIT_ECLASS} python
+
+if [[ ${PV} != *9999* ]]; then
+ KEYWORDS="amd64 x86"
+fi
+
+DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS"
+HOMEPAGE="http://www.seabios.org"
+
+LICENSE="LGPL-3 GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ !app-emulation/qemu
+ !<=app-emulation/qemu-kvm-0.15.0"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ if [[ -z "${EGIT_COMMIT}" ]]; then
+ sed -e "s/VERSION=.*/VERSION=${PV}/" \
+ -i "${S}/Makefile"
+ else
+ sed -e "s/VERSION=.*/VERSION=${PV}_pre${EGIT_COMMIT}/" \
+ -i "${S}/Makefile"
+ fi
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ emake out/bios.bin
+# emake out/vgabios.bin
+}
+
+src_install() {
+ insinto /usr/share/seabios
+ doins out/bios.bin
+# doins out/vgabios.bin
+}
diff --git a/sys-firmware/seabios/seabios-1.7.0.ebuild b/sys-firmware/seabios/seabios-1.7.0.ebuild
new file mode 100644
index 000000000000..fdbc14b20754
--- /dev/null
+++ b/sys-firmware/seabios/seabios-1.7.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/seabios/seabios-1.7.0.ebuild,v 1.1 2012/07/28 22:16:03 cardoe Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+
+inherit python
+
+#BACKPORTS=1
+
+if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
+ EGIT_REPO_URI="git://git.seabios.org/seabios.git"
+ inherit git-2
+ KEYWORDS=""
+ SRC_URI=""
+else
+ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
+ SRC_URI="http://www.linuxtogo.org/~kevin/SeaBIOS/${P}.tar.gz
+ http://dev.gentoo.org/~cardoe/distfiles/${P}-bins.tar.xz
+ ${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${P}-bp-${BACKPORTS}.tar.bz2}"
+fi
+
+DESCRIPTION="Open Source implementation of a 16-bit x86 BIOS"
+HOMEPAGE="http://www.seabios.org"
+
+LICENSE="LGPL-3 GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ !app-emulation/qemu
+ !<=app-emulation/qemu-kvm-0.15.0"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ if [[ -z "${EGIT_COMMIT}" ]]; then
+ sed -e "s/VERSION=.*/VERSION=${PV}/" \
+ -i "${S}/Makefile"
+ else
+ sed -e "s/VERSION=.*/VERSION=${PV}_pre${EGIT_COMMIT}/" \
+ -i "${S}/Makefile"
+ fi
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ if use amd64 || use x86 ; then
+ emake out/bios.bin
+ fi
+}
+
+src_install() {
+ insinto /usr/share/seabios
+ if use amd64 || use x86 ; then
+ doins out/bios.bin
+ else
+ doins bins/bios.bin
+ fi
+}