Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140462 Details for
Bug 204675
app-emulation/qemu-0.9.1: version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for qemu-softmmu-0.9.1
qemu-softmmu-0.9.1.ebuild (text/plain), 2.81 KB, created by
Carlo Marcelo Arenas Belon
on 2008-01-08 11:34:31 UTC
(
hide
)
Description:
ebuild for qemu-softmmu-0.9.1
Filename:
MIME Type:
Creator:
Carlo Marcelo Arenas Belon
Created:
2008-01-08 11:34:31 UTC
Size:
2.81 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils flag-o-matic toolchain-funcs > >DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator" >HOMEPAGE="http://fabrice.bellard.free.fr/qemu/" >SRC_URI="${HOMEPAGE}${P/-softmmu/}.tar.gz" > >LICENSE="GPL-2 LGPL-2.1" >SLOT="0" >KEYWORDS="-alpha ~amd64 ~ppc -sparc ~x86" >IUSE="sdl kqemu gnutls alsa" >RESTRICT="strip test" > >DEPEND="virtual/libc > sys-libs/zlib > sdl? ( media-libs/libsdl ) > !<=app-emulation/qemu-0.7.0 > kqemu? ( >=app-emulation/kqemu-1.3.0_pre10 ) > gnutls? ( > dev-util/pkgconfig > net-libs/gnutls > ) > app-text/texi2html" >RDEPEND="sys-libs/zlib > sdl? ( media-libs/libsdl ) > gnutls? ( net-libs/gnutls ) > alsa? ( media-libs/alsa-lib )" > >S="${WORKDIR}/${P/-softmmu/}" > >QA_EXECSTACK="usr/bin/qemu-system-cris > usr/bin/qemu-system-m68k > usr/bin/qemu-system-sh4 > usr/bin/qemu-system-sh4eb > usr/bin/qemu-system-sparc > usr/share/qemu/openbios-sparc32" > >pkg_setup() { > if [ "$(gcc-major-version)" == "4" ]; then > eerror "qemu requires gcc-3 in order to build and work correctly" > eerror "please compile it switching to gcc-3." > eerror "We are aware that qemu can guess a gcc-3 but this feature" > eerror "could be harmful." > die "gcc 4 cannot build qemu" > fi >} > >src_unpack() { > unpack ${A} > > cd ${S} > # 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 > # Ensure mprotect restrictions are relaxed for emulator binaries > [[ -x /sbin/paxctl ]] && \ > sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ > Makefile.target > # Prevent install of kernel module by qemu's makefile > sed -i 's/\(.\/install.sh\)/#\1/' Makefile > # avoid strip > sed -i 's:$(INSTALL) -m 755 -s:$(INSTALL) -m 755:' Makefile Makefile.target >} > >src_compile() { > #Let the application set its cflags > unset CFLAGS > > # Switch off hardened tech > filter-flags -fpie -fstack-protector > > myconf="--disable-gcc-check" > if use alsa; then > myconf="$myconf --enable-alsa" > fi > if ! use gnutls; then > myconf="$myconf --disable-vnc-tls" > fi > if ! use kqemu; then > myconf="$myconf --disable-kqemu" > fi > if ! use sdl ; then > myconf="$myconf --disable-sdl --disable-gfx-check" > fi > ./configure \ > --prefix=/usr \ > --enable-adlib \ > --cc=$(tc-getCC) \ > --host-cc=$(tc-getCC) \ > --disable-linux-user \ > --enable-system \ > ${myconf} \ > || die "could not configure" > > emake || die "make failed" >} > >src_install() { > make install \ > prefix=${D}/usr \ > bindir=${D}/usr/bin \ > datadir=${D}/usr/share/qemu \ > docdir=${D}/usr/share/doc/${P} \ > mandir=${D}/usr/share/man || die > > chmod -x ${D}/usr/share/man/*/* >} > >pkg_postinst() { > einfo "You will need the Universal TUN/TAP driver compiled into" > einfo "kernel or as a module to use the virtual network device." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 204675
:
140328
|
140462
|
140546