diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2009-03-22 23:19:01 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2009-03-22 23:19:01 +0000 |
commit | 7d6092c4c5d0ecf514c2d595d65dd3508c98924c (patch) | |
tree | d1cedc1df31a91f5b17e9b7561abe97ec3636e6e /app-emulation | |
parent | Require swi-prolog built with USE=gmp for bug #263368. Drop old. Shorten (diff) | |
download | gentoo-2-7d6092c4c5d0ecf514c2d595d65dd3508c98924c.tar.gz gentoo-2-7d6092c4c5d0ecf514c2d595d65dd3508c98924c.tar.bz2 gentoo-2-7d6092c4c5d0ecf514c2d595d65dd3508c98924c.zip |
bugfix release
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/qemu-softmmu/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/qemu-softmmu/qemu-softmmu-0.10.1.ebuild | 105 |
2 files changed, 112 insertions, 1 deletions
diff --git a/app-emulation/qemu-softmmu/ChangeLog b/app-emulation/qemu-softmmu/ChangeLog index 8acefe9e52ab..8c3cc95fa616 100644 --- a/app-emulation/qemu-softmmu/ChangeLog +++ b/app-emulation/qemu-softmmu/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emulation/qemu-softmmu # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-softmmu/ChangeLog,v 1.62 2009/03/21 01:23:17 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-softmmu/ChangeLog,v 1.63 2009/03/22 23:19:01 lu_zero Exp $ + +*qemu-softmmu-0.10.1 (22 Mar 2009) + + 22 Mar 2009; Luca Barbato <lu_zero@gentoo.org> + +qemu-softmmu-0.10.1.ebuild: + Bugfix release 21 Mar 2009; Luca Barbato <lu_zero@gentoo.org> qemu-softmmu-0.10.0.ebuild: typo, thanks to Jonathan-Christofer Demay <jcdemay@gmail.com> for spotting diff --git a/app-emulation/qemu-softmmu/qemu-softmmu-0.10.1.ebuild b/app-emulation/qemu-softmmu/qemu-softmmu-0.10.1.ebuild new file mode 100644 index 000000000000..c0e148f003b3 --- /dev/null +++ b/app-emulation/qemu-softmmu/qemu-softmmu-0.10.1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-softmmu/qemu-softmmu-0.10.1.ebuild,v 1.1 2009/03/22 23:19:01 lu_zero Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +EAPI=1 + +MY_PN=${PN/-softmmu/} +MY_P=${P/-softmmu/} + +SRC_URI="http://savannah.nongnu.org/download/${MY_PN}/${MY_P}.tar.gz" + +DESCRIPTION="Open source processor emulator" +HOMEPAGE="http://bellard.org/qemu/index.html" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc ~ppc64" + +IUSE="alsa esd gnutls ncurses pulseaudio +sdl vde kqemu" +RESTRICT="test" + +RDEPEND="sys-libs/zlib + alsa? ( >=media-libs/alsa-lib-1.0.13 ) + esd? ( media-sound/esound ) + pulseaudio? ( media-sound/pulseaudio ) + gnutls? ( net-libs/gnutls ) + ncurses? ( sys-libs/ncurses ) + sdl? ( >=media-libs/libsdl-1.2.11 ) + vde? ( net-misc/vde ) + kqemu? ( >=app-emulation/kqemu-1.4.0_pre1 )" +# fdt? ( sys-apps/dtc ) + +DEPEND="${RDEPEND} + gnutls? ( dev-util/pkgconfig ) + app-text/texi2html" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + + cd "${S}" + # avoid fdt till an updated release appears + sed -i -e 's:fdt="yes":fdt="no":' configure + # prevent docs to get automatically installed + sed -i '/$(DESTDIR)$(docdir)/d' Makefile + # Alter target makefiles to accept CFLAGS set via flag-o + sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \ + Makefile Makefile.target + [[ -x /sbin/paxctl ]] && \ + sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ + Makefile.target + # avoid strip + sed -i 's/$(INSTALL) -m 755 -s/$(INSTALL) -m 755/' Makefile +} + +src_compile() { + local mycc conf_opts audio_opts + + audio_opts="oss" + conf_opts="--disable-linux-user --disable-darwin-user --disable-bsd-user" + use gnutls || conf_opts="$conf_opts --disable-vnc-tls" + use ncurses || conf_opts="$conf_opts --disable-curses" + use sdl || conf_opts="$conf_opts --disable-gfx-check --disable-sdl" + use vde || conf_opts="$conf_opts --disable-vde" + use kqemu || conf_opts="$conf_opts --disable-kqemu" +# use fdt || conf_opts="--disable-fdt" + + conf_opts="$conf_opts --prefix=/usr --disable-bluez --disable-kvm" + + use alsa && audio_opts="alsa $audio_opts" + use esd && audio_opts="esd $audio_opts" + use pulseaudio && audio_opts="pa $audio_opts" + use sdl && audio_opts="sdl $audio_opts" + + filter-flags -fpie -fstack-protector + + ./configure ${conf_opts} --audio-drv-list="$audio_opts" || die "econf failed" + + emake || die "emake qemu failed" + +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + insinto /etc/qemu + dobin "${FILESDIR}/qemu-ifup" + dobin "${FILESDIR}/qemu-ifdown" + + dodoc pc-bios/README + dodoc qemu-doc.html + dodoc qemu-tech.html +} + +pkg_postinst() { + elog "You will need the Universal TUN/TAP driver compiled into your" + elog "kernel or loaded as a module to use the virtual network device" + elog "if using -net tap. You will also need support for 802.1d" + elog "Ethernet Bridging and a configured bridge if using the provided" + elog "qemu-ifup script from /etc/qemu." + echo +} |