summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-07-22 13:44:19 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-07-22 13:44:19 +0000
commit188b462b2b0151d47a29ca9bf88f08cf8e434cc8 (patch)
treee639ab9e0b7b57782349d3ac7daeb087a6f07c3c
parentCrossover Office 6.1.0. (diff)
downloadphilantrop-188b462b2b0151d47a29ca9bf88f08cf8e434cc8.tar.gz
philantrop-188b462b2b0151d47a29ca9bf88f08cf8e434cc8.tar.bz2
philantrop-188b462b2b0151d47a29ca9bf88f08cf8e434cc8.zip
Launcher application for qemu.
svn path=/trunk/; revision=12
-rw-r--r--app-emulation/qemulaunch/Manifest15
-rw-r--r--app-emulation/qemulaunch/files/digest-qemulaunch-99990
-rw-r--r--app-emulation/qemulaunch/files/qemulaunch_launcher_kvm.patch35
-rw-r--r--app-emulation/qemulaunch/files/qemulaunch_makefile_prefix.patch11
-rw-r--r--app-emulation/qemulaunch/qemulaunch-9999.ebuild33
5 files changed, 94 insertions, 0 deletions
diff --git a/app-emulation/qemulaunch/Manifest b/app-emulation/qemulaunch/Manifest
new file mode 100644
index 0000000..f555d1e
--- /dev/null
+++ b/app-emulation/qemulaunch/Manifest
@@ -0,0 +1,15 @@
+AUX qemulaunch_launcher_kvm.patch 1019 RMD160 c3e7fb60b6abecab6fccf3e7b06096a57c9169d6 SHA1 2652f2a4544fb564bceca986837df109c8cd81ec SHA256 a9cd79d1c29038d28ee37ae59d9a4194200b5703a86611200de9f263277a2f87
+MD5 077737bf979b752696eb8b2793ce2455 files/qemulaunch_launcher_kvm.patch 1019
+RMD160 c3e7fb60b6abecab6fccf3e7b06096a57c9169d6 files/qemulaunch_launcher_kvm.patch 1019
+SHA256 a9cd79d1c29038d28ee37ae59d9a4194200b5703a86611200de9f263277a2f87 files/qemulaunch_launcher_kvm.patch 1019
+AUX qemulaunch_makefile_prefix.patch 343 RMD160 cf18cee270d6b33fb0794990136448d85dd52e63 SHA1 fc0b61866293434604bb92d1d94023c30d73148c SHA256 fef60eb272efbd1c65b6b41ff41738f3de5e2b504591d32c8f96d63dbb149bf7
+MD5 9aeb5e05cb73e15f156baf98362734e9 files/qemulaunch_makefile_prefix.patch 343
+RMD160 cf18cee270d6b33fb0794990136448d85dd52e63 files/qemulaunch_makefile_prefix.patch 343
+SHA256 fef60eb272efbd1c65b6b41ff41738f3de5e2b504591d32c8f96d63dbb149bf7 files/qemulaunch_makefile_prefix.patch 343
+EBUILD qemulaunch-9999.ebuild 648 RMD160 fb25130178cd2fb5c089bd1f9d2ccc0af13e3d77 SHA1 5457f27aa2dcca63e840ee4a175afb748d543ed0 SHA256 215dd54720ee5a9e3b4b44270a77ef621580bcc3317f3c083e689e7527a0a9ea
+MD5 a44238bebf2494afc33252c5484937b2 qemulaunch-9999.ebuild 648
+RMD160 fb25130178cd2fb5c089bd1f9d2ccc0af13e3d77 qemulaunch-9999.ebuild 648
+SHA256 215dd54720ee5a9e3b4b44270a77ef621580bcc3317f3c083e689e7527a0a9ea qemulaunch-9999.ebuild 648
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-qemulaunch-9999 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-qemulaunch-9999 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-qemulaunch-9999 0
diff --git a/app-emulation/qemulaunch/files/digest-qemulaunch-9999 b/app-emulation/qemulaunch/files/digest-qemulaunch-9999
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app-emulation/qemulaunch/files/digest-qemulaunch-9999
diff --git a/app-emulation/qemulaunch/files/qemulaunch_launcher_kvm.patch b/app-emulation/qemulaunch/files/qemulaunch_launcher_kvm.patch
new file mode 100644
index 0000000..5dbf480
--- /dev/null
+++ b/app-emulation/qemulaunch/files/qemulaunch_launcher_kvm.patch
@@ -0,0 +1,35 @@
+--- qemulaunch.orig/qemu-launcher.pl 2007-02-14 20:23:24.000000000 +0100
++++ qemulaunch/qemu-launcher.pl 2007-02-14 20:31:10.000000000 +0100
+@@ -35,7 +35,7 @@
+ our $home_dir = $ENV{'HOME'};
+ our $data_dir = undef;
+
+-our $config_dir = $home_dir.'/.config';
++our $config_dir = $home_dir.'/qemu';
+ our $prefer_dir = $config_dir.'/qemu-launcher';
+ our $vmconf_dir = $prefer_dir.'/vmconfigs';
+
+@@ -118,12 +118,14 @@
+ 'qemu-system-sparc64',
+ 'qemu-system-mips',
+ 'qemu-system-mipsel',
+- 'kvm'
++ 'kvm',
++ 'kvm-system-x86_64'
+ );
+
+ our %arch_by_emu = (
+ 'qemu' => 'x86',
+ 'qemu-system-x86_64' => 'x86_64',
++ 'kvm-system-x86_64' => 'x86_64',
+ 'qemu-system-arm' => 'arm',
+ 'qemu-system-armeb' => 'armeb',
+ 'qemu-system-ppc' => 'ppc',
+@@ -137,6 +139,7 @@
+ our %emu_by_arch = (
+ 'x86' => 'qemu',
+ 'x86_64' => 'qemu-system-x86_64',
++ 'x86_64' => 'kvm-system-x86_64',
+ 'arm' => 'qemu-system-arm',
+ 'armeb' => 'qemu-system-armeb',
+ 'ppc' => 'qemu-system-ppc',
diff --git a/app-emulation/qemulaunch/files/qemulaunch_makefile_prefix.patch b/app-emulation/qemulaunch/files/qemulaunch_makefile_prefix.patch
new file mode 100644
index 0000000..a16c2cc
--- /dev/null
+++ b/app-emulation/qemulaunch/files/qemulaunch_makefile_prefix.patch
@@ -0,0 +1,11 @@
+--- qemulaunch.orig/Makefile 2007-02-14 20:19:19.000000000 +0100
++++ qemulaunch/Makefile 2007-02-14 20:22:36.000000000 +0100
+@@ -2,7 +2,7 @@
+ SHELL = /bin/sh
+
+ # Intall things to the following directories
+-PREFIX = /usr/local
++PREFIX = /usr
+ MANDIR = $(PREFIX)/share/man/man1
+ BINDIR = $(PREFIX)/bin
+ SHAREDIR = $(PREFIX)/share/qemu-launcher
diff --git a/app-emulation/qemulaunch/qemulaunch-9999.ebuild b/app-emulation/qemulaunch/qemulaunch-9999.ebuild
new file mode 100644
index 0000000..b3d8904
--- /dev/null
+++ b/app-emulation/qemulaunch/qemulaunch-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit subversion eutils
+
+ESVN_REPO_URI="http://svn.gna.org/svn/qemulaunch/trunk"
+
+DESCRIPTION="Qemu Launcher is a Gtk front-end for the Qemu x86 PC emulator."
+HOMEPAGE="http://emeitner.f2o.org/qemu_launcher"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+src_unpack() {
+
+ subversion_src_unpack
+
+ cd "${S}"
+
+ epatch ${FILESDIR}/qemulaunch_makefile_prefix.patch
+ epatch ${FILESDIR}/qemulaunch_launcher_kvm.patch
+}
+
+src_compile() {
+ emake || die "make failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+}