summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-10-20 16:40:31 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-10-20 16:40:31 +0000
commitf5cce0be7d707e03953559b5161d7fa5c7b401c1 (patch)
treeca6f360b5208cc13ea535b82cc551c9740bec937 /app-emulation/qemu
parentalpha/ia64/s390/sh/sparc stable wrt #433235 (diff)
downloadhistorical-f5cce0be7d707e03953559b5161d7fa5c7b401c1.tar.gz
historical-f5cce0be7d707e03953559b5161d7fa5c7b401c1.tar.bz2
historical-f5cce0be7d707e03953559b5161d7fa5c7b401c1.zip
Remove older version from the tree.
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'app-emulation/qemu')
-rw-r--r--app-emulation/qemu/ChangeLog6
-rw-r--r--app-emulation/qemu/Manifest5
-rw-r--r--app-emulation/qemu/qemu-0.11.1-r1.ebuild149
-rw-r--r--app-emulation/qemu/qemu-0.11.1.ebuild148
4 files changed, 6 insertions, 302 deletions
diff --git a/app-emulation/qemu/ChangeLog b/app-emulation/qemu/ChangeLog
index 838d94b13b14..2963bdf001dd 100644
--- a/app-emulation/qemu/ChangeLog
+++ b/app-emulation/qemu/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/qemu
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v 1.130 2012/10/20 16:28:36 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/ChangeLog,v 1.131 2012/10/20 16:40:31 cardoe Exp $
+
+ 20 Oct 2012; Doug Goldstein <cardoe@gentoo.org> -qemu-0.11.1.ebuild,
+ -qemu-0.11.1-r1.ebuild:
+ Remove older version from the tree.
20 Oct 2012; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
Remove unused USE flag descriptions.
diff --git a/app-emulation/qemu/Manifest b/app-emulation/qemu/Manifest
index 86bb95d49132..93abb2fcae62 100644
--- a/app-emulation/qemu/Manifest
+++ b/app-emulation/qemu/Manifest
@@ -11,18 +11,15 @@ AUX qemu-ifdown 478 SHA256 7d90c39184fd7531d9b8ae787122b68ac768b41afeb0ef2b3baa6
AUX qemu-ifup 554 SHA256 eae9b50680442acc29c65a245a2d26a63756ad4cb894e08cb5ea249686801f1d SHA512 dd1fab3db7fa6e8b8ce3ef27e09996629c0eea9e3d4f6489523af71f25eb0f801d30614a5e0f191b6977b34d13b588e64a5cec8fcc731e6ff7dbfdebc759f028 WHIRLPOOL fb665f63982a47fe47c5186036524981c848ad22902886bc10425e2ea7d06dafdd9b4fe86027e4d9ae3847d81b0fc9c2d6fe7dcf63e55cd943cd0a63503b7450
AUX qemu-kvm 60 SHA256 ded08eb1c74a9581912a9ca7876de6f33d1c545ed2a7d275f9b1749539feb7ee SHA512 d973d70ffeb7f4cdc61b25a30bf7174ac05b8c136234478782367a16668ff617756e9862a9cd94acd4b6636fda36410762e069a2eccca99410aa6e3b4294e363 WHIRLPOOL 41937bf752a2f643085fbd04643fb7a5cb898fabe8625d80b730c9e930f48f8d63245d5acdffbe31ecede1e1eb83fd3a73aad925f020e5c016f1b6559e7426d3
AUX qemu-kvm-1.0-e1000-bounds-packet-size-against-buffer-size.patch 1412 SHA256 9a06665c47b76b2501f148713c46f8ce0b14ed03da5e6cb03c0d141f5d91900a SHA512 ce0cb894819ff4a97de54a0f8935a8311f563c3ef4f7b71f15d83f333481febce947697430db92bf3fe95fbbc921312cb163bc6f214d1cf7c4275d4c4d331587 WHIRLPOOL a526113ef51e6d65ba01db9a8310a161f857b80672a588b52d468540d4ee715b378164ca6c1b7eac68b359895a7b938df67f2a68fc7f2d44ac9d804f7e0afa1d
-DIST qemu-0.11.1.tar.gz 3830070 SHA256 2ecd2fc0af2ce5d96067ae82cc98a08275c596de53fc929484bedee1d6e7893a SHA512 3e9ad01223010abbdbe36a2ca87c8360cc8dfaed60d6eabc23317c19b487a5a018efed54b3150046538ddb6148294784d77a3bfd4310bb282c4308f1b6bfad69 WHIRLPOOL c4d148460e84f19795602c4c09200748809ca82f8c7b1d6505976efe0967ad89f60888997e9f117d5390a380fa73a037174900d865c353c95cc2764dbfe5df33
DIST qemu-kvm-1.1.1-bp-1.tar.xz 2908 SHA256 16b7cd2e10b3a05d20006898bcfdb26eb596f7c7d3c0e18fb216cb2b2026af40 SHA512 781eae1fdc1cb7482d3d6fd1cf81e0d565588e3987fc4cab92abc06741b1b57d999b0de1fffce7270f50033b53c5707e4ef477ca3b7ddfca3dc1a432c1e15cc7 WHIRLPOOL 3f80b4cc9902021686bea823a41af136d21dd5a6b8aa59913aeb8697c3a38acc02d92ee59b9d052b6d161830a72d709fe684beb95f756a92216fe79cce4c5d9a
DIST qemu-kvm-1.1.1.tar.gz 6599376 SHA256 c6fab57ccadcad5deb34728623840a0141a0f3c8f29d0c253db577f059c796df SHA512 1106a35212cdac1fe5b043af6754595d03232f22bf74cdab86973759adb3cff2d3d7b42290883d2d99d97d163fe274de0108a05eed906ffdc3349c0631f52492 WHIRLPOOL 4d9b2b788a7f87104032635b3b6e2cd96275b92683e3003510b0951536ed6bcb959959bc7529e3f912a7a2055b5c1710b9310d591a8b443a17a231e5b86f6105
DIST qemu-kvm-1.1.2-2612b38e.tar.xz 4736 SHA256 c1a00380591b1b2b902c2aa1ea881c216997f18e33b466108b8c52178a829258 SHA512 f27e52bbb8f7c8c5a6f3b3de2966d7000d77178c6522a6311abd366913fc40582106b27fb7b37620c0a2a39346b6edd8827a2a4f31c654bd32adadb023ff325d WHIRLPOOL a5aefd25af0dccf177e7897690433841aaba8629ef6bf8e40a22176508ef4fec5a0f65a9b618b74bb8ab3420f36604b9a736a1a5ba665dee52e6a471693b88f3
DIST qemu-kvm-1.1.2.tar.gz 6605075 SHA256 2be9cb9986c0b67ef97a2d21a51a945e91c4032b8c4229297461d8ed91f95178 SHA512 c1fc6a91276347ec2188c9fa8750b51ed14116ea0a7afc74e0ddf305e9f175a6c16d3dc6ef1ee52926c4d8b9bd0fd5465041f32ec24ce315059062a078e2df82 WHIRLPOOL f21af6107de2343c6a45cbd6aa97cbc58e36a37c37db42110397658a2c303d63e5af96b84b778b5f08e958a5e65a84088c596e1b83cbdcd4009efff64dab4d09
DIST qemu-kvm-1.2.0.tar.gz 6839420 SHA256 e98ab96c24337e312864f2341016695ac11cb9a04be83548a8da89596d591b05 SHA512 c21354127d4585397ab400600ab1ac9aac80cc0431bbf615c8e906819075b00373f382954fbd9fa39bf6479126d8d8e3321b3713346d04abe2c249edfa4eb6fd WHIRLPOOL 3d0662b39174eee0cd8750f6bea5baf57e2dfa82b490c3f1e54f44720ddd05ad029c3011425f651e745973ddb03aaca310bc8acf9f8e656bbb8390a262f7013c
-EBUILD qemu-0.11.1-r1.ebuild 4894 SHA256 25ef257efc5ee950d5f93ad3dc059c24cc8104e094b62840477ec719c66bd5f5 SHA512 0afcc745a78a23a8fba3cdd518595894f4ed12b4048b128c55be3f53c96f97d7701dd5bebbfcbb06cf37da617a78f3813f847792542e27e85e932ba9395eb542 WHIRLPOOL 3b606df1b67a37b61f858a0e76133867b2c281d0cde1024c510cf4bcdb433e25db117bd817e6e91eadf0d42246c55873e69078bb5f4c212122fc89a36cd7c5c4
-EBUILD qemu-0.11.1.ebuild 4826 SHA256 7aaf359e5b09721faeb9b97ff0fd8ac4c91ba8906d8f9439ac21550af786fcda SHA512 5a9631fe38c86b1fd56519544f381ab4fdb064004a1b229adda361916724ef88451dd72713c61b092a056111a7a66143d9dd0e4b5638a69f9c782f21b63d2289 WHIRLPOOL 2c50d082e32176108d661a199dd9633c4d5bdd94288921d443148c62657cf9f8f24db268f0babf4fdc707d24e3f317e0a019670104849b6b00b272cb505a2006
EBUILD qemu-1.1.1-r1.ebuild 12073 SHA256 7f408c7425a3e34d31e48a6c886d4a415a970e7d2fb4ffaf58b44f9d9e88f50c SHA512 efd0c757fab7fa7e06b86e32fcedd0347f8728a7ea0bf67718b34b3b0c0135450276fc13ec02755d173626a5e69f09d5382afe2e901c310f3b50efb2e3e2f21a WHIRLPOOL 63949afad70876a426db6808a60d09d0fcf98e221afc24005181114203bb6586509620dee18b9009cf602c57cc0429cb8e718fc89c44a1d64ac2d7309f9ddb67
EBUILD qemu-1.1.2-r1.ebuild 12070 SHA256 5f3b8052bebdbf6eb27755fb7635c363b0639f54aa2bfa2e5c1bbb054cf0f46f SHA512 0eeca6486a6906ba7a90431f3b4177ae220efde83cb6b6857a058d5fd98f1bcac4cdfa9af4f891dfc167387ef5c456784bcd563e8ff1db89df552f69cfe4fbf8 WHIRLPOOL 430b799979dc5d9412fab9a7f6a5d342081d7a3f1b8264d70d8b09ce99c719ef742c55f176209dc7b60390fb58c5c310bb53059178ab4e0f3c4e2c89484a5114
EBUILD qemu-1.1.2.ebuild 12064 SHA256 5943cf3394891d8fd046f6e8e350af67417ee648c97935fcd44efd3e17d713a4 SHA512 245e913027ab3dda208582f36d35258d3fc0bbb44edf8de13eb31f5e04f289364ae814ee39c12f271fc9d501038838d3377df605044bc4a595a62f6b11fd47fe WHIRLPOOL a5a43d4660bebac1e257d1fed3bcf6aecca53dbba45fb50c77ea1200334cb677d6867be1e05b3a15414f87472332bab2e43a75247ac162894fa475e65fceebdc
EBUILD qemu-1.2.0.ebuild 12864 SHA256 d87928c65e9d4c0156b4a044c94b577f519935dc1e6ed2e714ee5c65588c1bd5 SHA512 dd0c3c42c65def32f147d4ad02424e385da488a9ec43dec9365c5e30ea88d764996035a530e0ad4927d367a464f014b77b56a37c4545e56ec00c9abedc330146 WHIRLPOOL 75ad3ca36bbbcc7a7c41c5b448a02520dbbdbe8fa70492762b2ecd5de327de760cf21b1646f5179e23ee2c05ed8205f2db9ddca13395f0a7b01d4bdf6761fdc2
EBUILD qemu-9999.ebuild 12834 SHA256 f0e9ef23ebe1b7d16269620237cc12fd6c2158dad5bd001c4c6d3007dc2cbd88 SHA512 ee609002815e041ee022ac3aa738ba7bfb38a40457fc99724c9f155f51a0a2b760f5346ddb42c5da051a375a6206c178f5db197e5c3d4f109f177d0105d1f306 WHIRLPOOL a09d752353ed41e437916525d38a70848c29fe8f7b93b234e71dd84c829967ed3158dba4e6f1c08ae9538d50e2d0107a5d3048986f56db91db477db3a0275e66
-MISC ChangeLog 20017 SHA256 1373ab16498c5b9908095e4a0ad78bd2bef0d0525a73994d91d29aaec205cfe9 SHA512 1a8328a521dafab2f863e25fecc0003b1136e59f050aea1c41ea7d516f890ac2c6cec9641b9041303180c8ea0a1463caab993c1ff29810041318f1c041350965 WHIRLPOOL 1dc152572ff799b20b275bfcdc2a4f0f5748ded9bcfa2359dc22383b72dd18c8f816696a4091a849f1444e888b7546b0caf83d98a47c39eabd2531e92af1d092
+MISC ChangeLog 20153 SHA256 3d65ac91cbbd832d83f1099078c09a0a839a50430b66eeef9dad84761fecc848 SHA512 3343cc0e642be60ca6dff5dc1ff47fa60b94b4562b08eb9fefc085b868ef3065a65207a392d47c0f1d395268005bfad8bddc4b753783d8a0781b1431021a1bfc WHIRLPOOL d992ef33dc35ace805548ef42cbd5cae2a734a9a1e3b03e84044e21ff8ec4f60bfae20d227bc10f418d4e18df4621c1476f9db269c8b3552c845a0513643ddc1
MISC metadata.xml 2701 SHA256 81a75acd430e88c1527edcdd3c7fa223e6fbc762fd8c6ace2f3d82e265aff961 SHA512 fe3eabbda1268be8f8921e5808616429429955d4273dbd2ac19a754e90c5d595f0e8b9f7f071f0399250bfe6569f3b490d8a5fd0d904064e35d3bdc41fcb7eed WHIRLPOOL 1f60aad74213f1151f9df98e302286f674e2fd845a9515b4ece176cc9486d0df7c93b50446180fe5b7d7b552901e9b263d9930579b8b51919e992619ce0d5e07
diff --git a/app-emulation/qemu/qemu-0.11.1-r1.ebuild b/app-emulation/qemu/qemu-0.11.1-r1.ebuild
deleted file mode 100644
index 791ebd2a2f6f..000000000000
--- a/app-emulation/qemu/qemu-0.11.1-r1.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.11.1-r1.ebuild,v 1.4 2012/05/03 18:49:05 jdhore Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic toolchain-funcs linux-info
-
-DESCRIPTION="QEMU emulator and ABI wrapper"
-HOMEPAGE="http://www.qemu.org"
-SRC_URI="http://download.savannah.gnu.org/releases/qemu/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="alsa bluetooth gnutls ncurses pulseaudio sasl +sdl vde kqemu kvm"
-
-COMMON_TARGETS="i386 x86_64 arm cris m68k mips mipsel mips64 mips64el ppc ppc64 sh4 sh4eb sparc"
-
-IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} ppcemb"
-IUSE_USER_TARGETS="${COMMON_TARGETS} alpha armeb ppc64abi32 sparc64 sparc32plus"
-
-for target in ${IUSE_SOFTMMU_TARGETS}; do
- IUSE="${IUSE} +qemu_softmmu_targets_${target}"
-done
-
-for target in ${IUSE_USER_TARGETS}; do
- IUSE="${IUSE} +qemu_user_targets_${target}"
-done
-
-RDEPEND="
- !app-emulation/qemu-user
- sys-libs/zlib
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- pulseaudio? ( media-sound/pulseaudio )
- gnutls? ( net-libs/gnutls )
- ncurses? ( sys-libs/ncurses )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( >=media-libs/libsdl-1.2.11 )
- vde? ( net-misc/vde )
- kvm? ( >=sys-kernel/linux-headers-2.6.29 )
- bluetooth? ( net-wireless/bluez )
- kqemu? ( >=app-emulation/kqemu-1.4.0_pre1 )"
-# fdt? ( sys-apps/dtc )
-
-DEPEND="${RDEPEND}
- gnutls? ( virtual/pkgconfig )
- app-text/texi2html"
-
-src_prepare() {
- # 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 tests/Makefile
- [[ -x /sbin/paxctl ]] && \
- sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \
- Makefile.target
- # Append CFLAGS while linking
- sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak
- epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
- epatch "${FILESDIR}/qemu-0.11.1-CVE-2012-0029-backport.patch"
- epatch "${FILESDIR}"/${P}-cfg-pulse.patch #384847
-}
-
-src_configure() {
- local mycc conf_opts audio_opts softmmu_targets user_targets target_list
-
- for target in ${IUSE_SOFTMMU_TARGETS} ; do
- use "qemu_softmmu_targets_${target}" && \
- softmmu_targets="${softmmu_targets} ${target}-softmmu"
- done
-
- for target in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${target}" && \
- user_targets="${user_targets} ${target}-linux-user"
- done
-
- conf_opts="--disable-darwin-user --disable-bsd-user --disable-strip"
-
- if test ! -z "${softmmu_targets}" ; then
- einfo "Building following softmmu targets: ${softmmu_targets}"
- use gnutls || conf_opts="$conf_opts --disable-vnc-tls"
- use ncurses || conf_opts="$conf_opts --disable-curses"
- use sasl || conf_opts="$conf_opts --disable-vnc-sasl"
- use sdl || conf_opts="$conf_opts --disable-sdl"
- use vde || conf_opts="$conf_opts --disable-vde"
- use bluetooth || conf_opts="$conf_opts --disable-bluez"
- use kqemu || conf_opts="$conf_opts --disable-kqemu"
- use kvm || conf_opts="$conf_opts --disable-kvm"
-
- audio_opts="oss"
- use alsa && audio_opts="alsa $audio_opts"
- use pulseaudio && audio_opts="pa $audio_opts"
- use sdl && audio_opts="sdl $audio_opts"
- else
- einfo "Disabling softmmu emulation (no softmmu targets specified)"
- conf_opts="$conf_opts --disable-system --disable-vnc-tls \
- --disable-curses --disable-sdl --disable-vde \
- --disable-kqemu --disable-kvm"
- fi
-
- if test ! -z "${user_targets}" ; then
- einfo "Building following user targets: ${user_targets}"
- conf_opts="$conf_opts --enable-linux-user"
- else
- einfo "Disabling usermode emulation (no usermode targets specified)"
- conf_opts="$conf_opts --disable-linux-user"
- fi
-
-# use fdt || conf_opts="$conf_opts --disable-fdt"
-
- conf_opts="$conf_opts --prefix=/usr"
-
- target_list="${softmmu_targets} ${user_targets}"
-
- filter-flags -fPIE
-
- ./configure ${conf_opts} \
- --audio-drv-list="$audio_opts" \
- --cc="$(tc-getCC)" --host-cc="$(tc-getCC)" \
- --target-list="${target_list}" \
- || die "configure failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- exeinto /etc/qemu
- doexe \
- "${FILESDIR}/qemu-ifup" \
- "${FILESDIR}/qemu-ifdown" \
- || die "qemu interface scripts failed"
-
- dodoc Changelog MAINTAINERS TODO pci-ids.txt || die
- newdoc pc-bios/README README.pc-bios || die
- dohtml qemu-doc.html qemu-tech.html || die
-}
-
-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
-}
diff --git a/app-emulation/qemu/qemu-0.11.1.ebuild b/app-emulation/qemu/qemu-0.11.1.ebuild
deleted file mode 100644
index b63db07c0442..000000000000
--- a/app-emulation/qemu/qemu-0.11.1.ebuild
+++ /dev/null
@@ -1,148 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-0.11.1.ebuild,v 1.10 2012/05/03 18:49:05 jdhore Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic toolchain-funcs linux-info
-
-DESCRIPTION="QEMU emulator and ABI wrapper"
-HOMEPAGE="http://www.qemu.org"
-SRC_URI="http://download.savannah.gnu.org/releases/qemu/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86"
-IUSE="alsa bluetooth gnutls ncurses pulseaudio sasl +sdl vde kqemu kvm"
-
-COMMON_TARGETS="i386 x86_64 arm cris m68k mips mipsel mips64 mips64el ppc ppc64 sh4 sh4eb sparc"
-
-IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} ppcemb"
-IUSE_USER_TARGETS="${COMMON_TARGETS} alpha armeb ppc64abi32 sparc64 sparc32plus"
-
-for target in ${IUSE_SOFTMMU_TARGETS}; do
- IUSE="${IUSE} +qemu_softmmu_targets_${target}"
-done
-
-for target in ${IUSE_USER_TARGETS}; do
- IUSE="${IUSE} +qemu_user_targets_${target}"
-done
-
-RDEPEND="
- !app-emulation/qemu-user
- sys-libs/zlib
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- pulseaudio? ( media-sound/pulseaudio )
- gnutls? ( net-libs/gnutls )
- ncurses? ( sys-libs/ncurses )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( >=media-libs/libsdl-1.2.11 )
- vde? ( net-misc/vde )
- kvm? ( >=sys-kernel/linux-headers-2.6.29 )
- bluetooth? ( net-wireless/bluez )
- kqemu? ( >=app-emulation/kqemu-1.4.0_pre1 )"
-# fdt? ( sys-apps/dtc )
-
-DEPEND="${RDEPEND}
- gnutls? ( virtual/pkgconfig )
- app-text/texi2html"
-
-src_prepare() {
- # 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 tests/Makefile
- [[ -x /sbin/paxctl ]] && \
- sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \
- Makefile.target
- # Append CFLAGS while linking
- sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak
- epatch "${FILESDIR}/qemu-0.11.0-mips64-user-fix.patch"
- epatch "${FILESDIR}"/${P}-cfg-pulse.patch #384847
-}
-
-src_configure() {
- local mycc conf_opts audio_opts softmmu_targets user_targets target_list
-
- for target in ${IUSE_SOFTMMU_TARGETS} ; do
- use "qemu_softmmu_targets_${target}" && \
- softmmu_targets="${softmmu_targets} ${target}-softmmu"
- done
-
- for target in ${IUSE_USER_TARGETS} ; do
- use "qemu_user_targets_${target}" && \
- user_targets="${user_targets} ${target}-linux-user"
- done
-
- conf_opts="--disable-darwin-user --disable-bsd-user --disable-strip"
-
- if test ! -z "${softmmu_targets}" ; then
- einfo "Building following softmmu targets: ${softmmu_targets}"
- use gnutls || conf_opts="$conf_opts --disable-vnc-tls"
- use ncurses || conf_opts="$conf_opts --disable-curses"
- use sasl || conf_opts="$conf_opts --disable-vnc-sasl"
- use sdl || conf_opts="$conf_opts --disable-sdl"
- use vde || conf_opts="$conf_opts --disable-vde"
- use bluetooth || conf_opts="$conf_opts --disable-bluez"
- use kqemu || conf_opts="$conf_opts --disable-kqemu"
- use kvm || conf_opts="$conf_opts --disable-kvm"
-
- audio_opts="oss"
- use alsa && audio_opts="alsa $audio_opts"
- use pulseaudio && audio_opts="pa $audio_opts"
- use sdl && audio_opts="sdl $audio_opts"
- else
- einfo "Disabling softmmu emulation (no softmmu targets specified)"
- conf_opts="$conf_opts --disable-system --disable-vnc-tls \
- --disable-curses --disable-sdl --disable-vde \
- --disable-kqemu --disable-kvm"
- fi
-
- if test ! -z "${user_targets}" ; then
- einfo "Building following user targets: ${user_targets}"
- conf_opts="$conf_opts --enable-linux-user"
- else
- einfo "Disabling usermode emulation (no usermode targets specified)"
- conf_opts="$conf_opts --disable-linux-user"
- fi
-
-# use fdt || conf_opts="$conf_opts --disable-fdt"
-
- conf_opts="$conf_opts --prefix=/usr"
-
- target_list="${softmmu_targets} ${user_targets}"
-
- filter-flags -fPIE
-
- ./configure ${conf_opts} \
- --audio-drv-list="$audio_opts" \
- --cc="$(tc-getCC)" --host-cc="$(tc-getCC)" \
- --target-list="${target_list}" \
- || die "configure failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
-
- exeinto /etc/qemu
- doexe \
- "${FILESDIR}/qemu-ifup" \
- "${FILESDIR}/qemu-ifdown" \
- || die "qemu interface scripts failed"
-
- dodoc Changelog MAINTAINERS TODO pci-ids.txt || die
- newdoc pc-bios/README README.pc-bios || die
- dohtml qemu-doc.html qemu-tech.html || die
-}
-
-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
-}