summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2008-03-22 10:45:35 +0000
committerMike Auty <ikelos@gentoo.org>2008-03-22 10:45:35 +0000
commitaf150b37efb7dfdd3a13e6ae09de7fad7217aaea (patch)
tree4e93372c1fae02dddb072ced357fca84b979f744 /app-emulation/vmware-player/vmware-player-2.0.3.80004.ebuild
parentAdd longdescription to metadata. (diff)
downloadhistorical-af150b37efb7dfdd3a13e6ae09de7fad7217aaea.tar.gz
historical-af150b37efb7dfdd3a13e6ae09de7fad7217aaea.tar.bz2
historical-af150b37efb7dfdd3a13e6ae09de7fad7217aaea.zip
Version bump 1.0.6 and 2.0.3, to fix bug 213548.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-emulation/vmware-player/vmware-player-2.0.3.80004.ebuild')
-rw-r--r--app-emulation/vmware-player/vmware-player-2.0.3.80004.ebuild109
1 files changed, 109 insertions, 0 deletions
diff --git a/app-emulation/vmware-player/vmware-player-2.0.3.80004.ebuild b/app-emulation/vmware-player/vmware-player-2.0.3.80004.ebuild
new file mode 100644
index 000000000000..bc37c2abbef4
--- /dev/null
+++ b/app-emulation/vmware-player/vmware-player-2.0.3.80004.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-2.0.3.80004.ebuild,v 1.1 2008/03/22 10:45:35 ikelos Exp $
+
+inherit vmware eutils versionator
+
+MY_PN="VMware-player-$(get_version_component_range 1-3)-$(get_version_component_range 4)"
+
+DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
+HOMEPAGE="http://www.vmware.com/products/player/"
+SRC_URI="x86? ( mirror://vmware/software/vmplayer/${MY_PN}.i386.tar.gz )
+ amd64? ( mirror://vmware/software/vmplayer/${MY_PN}.x86_64.tar.gz )"
+
+LICENSE="vmware"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND="${RDEPEND} virtual/os-headers
+ !app-emulation/vmware-workstation"
+# vmware-player should not use virtual/libc as this is a
+# precompiled binary package thats linked to glibc.
+RDEPEND="sys-libs/glibc
+ amd64? (
+ x11-libs/libXrandr
+ x11-libs/libXcursor
+ x11-libs/libXinerama
+ x11-libs/libXi
+ x11-libs/libview
+ dev-cpp/libsexymm
+ dev-cpp/cairomm
+ dev-cpp/libgnomecanvasmm
+ virtual/xft )
+ x86? (
+ x11-libs/libXrandr
+ x11-libs/libXcursor
+ x11-libs/libXinerama
+ x11-libs/libXi
+ x11-libs/libview
+ dev-cpp/libsexymm
+ virtual/xft )
+ !app-emulation/vmware-workstation
+ !app-emulation/vmware-server
+ ~app-emulation/vmware-modules-1.0.0.17
+ !<app-emulation/vmware-modules-1.0.0.17
+ !>=app-emulation/vmware-modules-1.0.0.18
+ >=dev-lang/perl-5
+ sys-apps/pciutils"
+
+S=${WORKDIR}/vmware-player-distrib
+
+ANY_ANY=""
+RUN_UPDATE="no"
+
+dir=/opt/vmware/player
+Ddir=${D}/${dir}
+
+QA_TEXTRELS_x86="${dir:1}/lib/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0"
+QA_EXECSTACK_x86="${dir:1}/bin/vmnet-bridge
+ ${dir:1}/bin/vmnet-dhcpd
+ ${dir:1}/bin/vmnet-natd
+ ${dir:1}/bin/vmnet-netifup
+ ${dir:1}/bin/vmnet-sniffer
+ ${dir:1}/bin/vmware-ping
+ ${dir:1}/lib/bin/vmware-vmx
+ ${dir:1}/lib/bin/vmrun
+ ${dir:1}/lib/bin/vmplayer
+ ${dir:1}/lib/bin-debug/vmware-vmx
+ ${dir:1}/lib/lib/libpixops.so.2.0.1/libpixops.so.2.0.1"
+
+QA_TEXTRELS_amd64="${dir:1}/lib/lib/libgdk-x11-2.0.so.0/libgdk-x11-2.0.so.0"
+QA_EXECSTACK_amd64="${dir:1}/bin/vmnet-bridge
+ ${dir:1}/bin/vmnet-dhcpd
+ ${dir:1}/bin/vmnet-natd
+ ${dir:1}/bin/vmnet-netifup
+ ${dir:1}/bin/vmnet-sniffer
+ ${dir:1}/bin/vmware-ping
+ ${dir:1}/lib/bin/vmware-vmx
+ ${dir:1}/lib/bin/vmrun
+ ${dir:1}/lib/bin/vmplayer
+ ${dir:1}/lib/bin-debug/vmware-vmx
+ ${dir:1}/lib/lib/libpixops.so.2.0.1/libpixops.so.2.0.1"
+
+pkg_setup() {
+ if use x86; then
+ MY_P="${MY_PN}.i386"
+ elif use amd64; then
+ MY_P="${MY_PN}.x86_64"
+ fi
+
+ if ! built_with_use ">=dev-cpp/gtkmm-2.4" accessibility ; then
+ eerror "Rebuild dev-cpp/gtkmm with USE=\"accessibility\""
+ die "VMware workstation only works with gtkmm built with USE=\"accessibility\"."
+ fi
+
+ vmware_pkg_setup
+}
+
+src_install() {
+ vmware_src_install
+
+ doicon lib/share/pixmaps/vmware-player.png
+ make_desktop_entry vmplayer "VMWare Player" vmware-player.png System
+
+ # Nasty hack to ensure the EULA is included
+ insinto /opt/vmware/player/lib/share
+ newins doc/EULA EULA.txt
+}