diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2009-03-09 09:23:43 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2009-03-09 09:23:43 +0000 |
commit | d24f60e39834c278f76505737a446cd21912d1f6 (patch) | |
tree | cb29c233a778dd6ac5b87cb275a29e9a4a3d5781 /app-emulation | |
parent | Fix bug #261664, thanks to pva for doing all the work (diff) | |
download | gentoo-2-d24f60e39834c278f76505737a446cd21912d1f6.tar.gz gentoo-2-d24f60e39834c278f76505737a446cd21912d1f6.tar.bz2 gentoo-2-d24f60e39834c278f76505737a446cd21912d1f6.zip |
Port to EAPI=2
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/kvm/ChangeLog | 5 | ||||
-rw-r--r-- | app-emulation/kvm/kvm-84.ebuild | 20 |
2 files changed, 12 insertions, 13 deletions
diff --git a/app-emulation/kvm/ChangeLog b/app-emulation/kvm/ChangeLog index f196d9ecd250..f6bf6ff708ff 100644 --- a/app-emulation/kvm/ChangeLog +++ b/app-emulation/kvm/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-emulation/kvm # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm/ChangeLog,v 1.28 2009/02/18 18:17:23 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm/ChangeLog,v 1.29 2009/03/09 09:23:43 fauli Exp $ + + 09 Mar 2009; Christian Faulhammer <fauli@gentoo.org> kvm-84.ebuild: + Port to EAPI=2 *kvm-84 (18 Feb 2009) diff --git a/app-emulation/kvm/kvm-84.ebuild b/app-emulation/kvm/kvm-84.ebuild index 89cb6dab1b8d..452183448c0e 100644 --- a/app-emulation/kvm/kvm-84.ebuild +++ b/app-emulation/kvm/kvm-84.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm/kvm-84.ebuild,v 1.1 2009/02/18 18:17:23 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/kvm/kvm-84.ebuild,v 1.2 2009/03/09 09:23:43 fauli Exp $ -inherit eutils flag-o-matic toolchain-funcs linux-mod +EAPI=2 -EAPI="1" +inherit eutils flag-o-matic toolchain-funcs linux-mod # Patchset git repo is at http://github.com/dang/kvm-patches/tree/master PATCHSET="kvm-patches-20090218" @@ -27,7 +27,7 @@ RDEPEND="sys-libs/zlib pulseaudio? ( media-sound/pulseaudio ) gnutls? ( net-libs/gnutls ) ncurses? ( sys-libs/ncurses ) - sdl? ( >=media-libs/libsdl-1.2.11 ) + sdl? ( >=media-libs/libsdl-1.2.11[X] ) vde? ( net-misc/vde )" # bios? ( @@ -81,16 +81,10 @@ pkg_setup() { die "KVM support not detected!" fi - if use sdl && ! built_with_use media-libs/libsdl X ; then - die "You need to rebuild media-libs/libsdl with the X use flag" - fi - enewgroup kvm } -src_unpack() { - unpack ${A} - +src_prepare() { cd "${S}" # prevent docs to get automatically installed sed -i '/$(DESTDIR)$(docdir)/d' qemu/Makefile @@ -113,7 +107,7 @@ src_unpack() { qemu/qemu-doc.texi qemu/qemu-img.texi qemu/qemu-nbd.texi } -src_compile() { +src_configure() { local mycc conf_opts audio_opts audio_opts="oss" @@ -130,7 +124,9 @@ src_compile() { #conf_opts="$conf_opts --audio-drv-list=\"$audio_opts\"" ./configure ${conf_opts} --audio-drv-list="$audio_opts" || die "econf failed" +} +src_compile() { emake libkvm || die "emake libkvm failed" if use test; then |