summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/qemu-meego/Manifest2
-rw-r--r--app-emulation/qemu-meego/files/98qemu-meego2
-rw-r--r--app-emulation/qemu-meego/qemu-meego-9999.ebuild130
3 files changed, 0 insertions, 134 deletions
diff --git a/app-emulation/qemu-meego/Manifest b/app-emulation/qemu-meego/Manifest
deleted file mode 100644
index fdc3c2a..0000000
--- a/app-emulation/qemu-meego/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-AUX 98qemu-meego 66 RMD160 db2f70be354a3527291dcadc6276aa5e139f04fd SHA1 09080fc53763e8f60df65e118d338abfe9678df3 SHA256 e98b3683214157e83079fbfa7e395e034b319879c0c066b35585849694f500a3
-EBUILD qemu-meego-9999.ebuild 3880 RMD160 360ef1926a17911a6a8718214da111c68956999c SHA1 8c721c24f77a4e834e4583bc62f2651b2f77c260 SHA256 4fb7279dcde45ca9fa2bd0708641ede908031e5936da3db1cb52bb1b336501ae
diff --git a/app-emulation/qemu-meego/files/98qemu-meego b/app-emulation/qemu-meego/files/98qemu-meego
deleted file mode 100644
index 707cf13..0000000
--- a/app-emulation/qemu-meego/files/98qemu-meego
+++ /dev/null
@@ -1,2 +0,0 @@
-PATH="/opt/dgles2/bin"
-LDPATH="/opt/dgles2/lib:/opt/dgles2/lib64"
diff --git a/app-emulation/qemu-meego/qemu-meego-9999.ebuild b/app-emulation/qemu-meego/qemu-meego-9999.ebuild
deleted file mode 100644
index 86d7208..0000000
--- a/app-emulation/qemu-meego/qemu-meego-9999.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-kvm/qemu-kvm-9999.ebuild,v 1.6 2010/03/28 17:24:11 jmbsvicetto Exp $
-
-EAPI="2"
-
-EGIT_REPO_URI="git://gitorious.org/qemu-maemo/qemu.git"
-
-inherit eutils flag-o-matic git linux-info toolchain-funcs multilib
-
-SRC_URI=""
-KEYWORDS=""
-DESCRIPTION="QEMU with patches for meego support"
-HOMEPAGE="http://meego.gitorious.org/qemu-maemo/"
-
-LICENSE="GPL-2"
-SLOT="0"
-# xen is disabled until the deps are fixed
-IUSE="+aio alsa bluetooth curl esd gnutls fdt hardened kvm-trace ncurses \
-pulseaudio sasl sdl static vde"
-
-RESTRICT="test"
-
-RDEPEND="
- sys-apps/pciutils
- >=sys-apps/util-linux-2.16.0
- sys-libs/zlib
- aio? ( dev-libs/libaio )
- alsa? ( >=media-libs/alsa-lib-1.0.13 )
- bluetooth? ( net-wireless/bluez )
- curl? ( net-misc/curl )
- esd? ( media-sound/esound )
- fdt? ( sys-apps/dtc )
- gnutls? ( net-libs/gnutls )
- ncurses? ( sys-libs/ncurses )
- pulseaudio? ( media-sound/pulseaudio )
- qemu-ifup? ( sys-apps/iproute2 net-misc/bridge-utils )
- sasl? ( dev-libs/cyrus-sasl )
- sdl? ( >=media-libs/libsdl-1.2.11[X] )
- vde? ( net-misc/vde )
- media-libs/dgles2
-"
-
-DEPEND="${RDEPEND}
- app-text/texi2html
- >=sys-kernel/linux-headers-2.6.29
- gnutls? ( dev-util/pkgconfig )"
-
-src_prepare() {
- # prevent docs to get automatically installed
- sed -i '/$(DESTDIR)$(docdir)/d' Makefile || die
- # Alter target makefiles to accept CFLAGS set via flag-o
- sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
- Makefile Makefile.target || die
- # append CFLAGS while linking
- sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak || die
-}
-
-src_configure() {
- local conf_opts audio_opts softmmu_targets user_targets
-
- # Fix QA issues. QEMU needs executable heaps and we need to mark it as such
- conf_opts="${conf_opts} --extra-ldflags=-Wl,-z,execheap"
-
- # Add support for static builds
- use static && conf_opts="${conf_opts} --static"
-
- #config options
- use bluetooth || conf_opts="${conf_opts} --disable-bluez"
- conf_opts="${conf_opts} $(use_enable curl)"
- use gnutls || conf_opts="${conf_opts} --disable-vnc-tls"
- conf_opts="${conf_opts} $(use_enable fdt)"
- use hardened && conf_opts="${conf_opts} --enable-user-pie"
- 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"
- conf_opts="${conf_opts} --disable-xen"
- conf_opts="${conf_opts} --disable-darwin-user --disable-bsd-user"
-
- # audio options
- audio_opts="oss"
- 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}"
- ./configure --prefix=/usr \
- --disable-strip \
- --enable-nptl \
- --enable-uuid \
- ${conf_opts} \
- --audio-drv-list="${audio_opts}" \
- --target-list="arm-softmmu" \
- --enable-gles2 \
- --gles2dir=/opt/dgles2 \
- --prefix=/opt/dgles2 \
- --cc=$(tc-getCC) \
- --host-cc=$(tc-getBUILD_CC) \
- || die "configure failed"
-
- # this is for qemu upstream's threaded support which is
- # in development and broken
- # the kvm project has its own support for threaded IO
- # which is always on and works
-# --enable-io-thread \
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "make install 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
- # rename binaries and manpages
- cd "${D}"/opt/dgles2/bin
- for binary in *
- do
- mv $binary ${binary/qemu/meego-qemu}
- done
- cd ../share/man/man1
- for manpage in *
- do
- mv $manpage ${manpage/qemu/meego-qemu}
- done
- cd ../man8
- for manpage in *
- do
- mv $manpage ${manpage/qemu/meego-qemu}
- done
- doenvd ${FILESDIR}/98qemu-meego
-}