summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-03-09 09:23:43 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-03-09 09:23:43 +0000
commitb910ff2a2061102b0fd38aa381c670a0b4710f10 (patch)
tree0f401247c2b6c9295edc73162a41c3278aaefcb4 /app-emulation/kvm
parentFix bug #261664, thanks to pva for doing all the work (diff)
downloadhistorical-b910ff2a2061102b0fd38aa381c670a0b4710f10.tar.gz
historical-b910ff2a2061102b0fd38aa381c670a0b4710f10.tar.bz2
historical-b910ff2a2061102b0fd38aa381c670a0b4710f10.zip
Port to EAPI=2
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'app-emulation/kvm')
-rw-r--r--app-emulation/kvm/ChangeLog5
-rw-r--r--app-emulation/kvm/Manifest10
-rw-r--r--app-emulation/kvm/kvm-84.ebuild20
3 files changed, 17 insertions, 18 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/Manifest b/app-emulation/kvm/Manifest
index c3aedc344d2a..6ad9d8017bcd 100644
--- a/app-emulation/kvm/Manifest
+++ b/app-emulation/kvm/Manifest
@@ -27,13 +27,13 @@ EBUILD kvm-79.ebuild 6844 RMD160 b81124ea07c87970460fc62168f7d6be46d50596 SHA1 4
EBUILD kvm-81.ebuild 6994 RMD160 4ad0d79d6543c836f6d9c6b4f0d34daf400b1f1d SHA1 33d30a519f6ff405ea89351691b28a271adad931 SHA256 241a3422de81b30b083969c9ece3d34f55af89affeb4b3af3dd430ca04f999fd
EBUILD kvm-82.ebuild 6950 RMD160 f379ec52f9ca2957bef915c507195a2ce6fff45c SHA1 30c211ef5f192fbb0438d036d44a9fc28ceffcdf SHA256 02b34f93f24b5ce9245dce2e8ac8e77bb3b5b6af6f2c98cd80b5ac1a09dc59e3
EBUILD kvm-83.ebuild 7026 RMD160 22762b31ff3fcfede53eba6e0e3c469d13e422af SHA1 c258b36a2fb5d2c75449ab1e4ab46bce458b8fda SHA256 2b22318aa2af01591ecd51cd6771d4dcd50885b5beb652a3d82bb16c6fab9f14
-EBUILD kvm-84.ebuild 7085 RMD160 190a549b7c3cf2f2f60afe32ea6b094bfab05a0a SHA1 48193dfab35d8c221e4b64a8675ee67ecb28ff25 SHA256 f64ec3dd325561c4a843682230e1e94c02ed7b81df05a0df7975340297e6be10
-MISC ChangeLog 7768 RMD160 6adcc1076bd2f93e915412e3beae3b83afd89d11 SHA1 fecffb0f04e93a60b22309d19aa25ec43e23a644 SHA256 9cf4f3c41f864e077a8790ac20199d3f43c7bf1711226bba805c00923e839d40
+EBUILD kvm-84.ebuild 6964 RMD160 b8bf1f8f88c2375e320ceebcaf186cad35106faf SHA1 9611f3d0cb1f8018fd9292845fdaa2873d75c0f1 SHA256 0c33cecd84f7d742f5192a998604dc95ffc704d642faed829284bad5761b5393
+MISC ChangeLog 7857 RMD160 6d363b9eca7bf1c671dda4e10957e7a7501d2a77 SHA1 ec0ec679597db5e9a8afff633e34a3bd354a448e SHA256 ee65ff9acbe8a5b0705325b2401bede422df2c52f2e8d3168756837ace7d1615
MISC metadata.xml 1282 RMD160 2c8cc65da23f96cfd73f757000192d4af7b29e9f SHA1 3b84cbafe2190715df0310fe8bde8dc6d483e6df SHA256 af8ea32fd7dedeb7401d4df31016c3e6a4a12d9720577bbb9673d4ae22b3dc54
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFJnFDAomPajV0RnrERAlxcAJ9SFDzW73a8NH4GgjK1Iizw8HoxrQCfb7FC
-zCiWkHpzWUeofG+l+p+n/zE=
-=LG2n
+iEYEARECAAYFAkm04EAACgkQNQqtfCuFneMcrgCdGMZ+tzPDt5/We6DwkLAojqYU
+glAAnRxcDXubmmbbl5cWLaFDUb1j6J8e
+=XuHX
-----END PGP SIGNATURE-----
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