summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2013-01-07 15:46:50 -0500
committerVadim Kuznetsov <vadimk@gentoo.org>2013-01-07 15:46:50 -0500
commit12df2d70252f140bd700c04a3ad7a795c8ceb02e (patch)
tree7211cb4e7e0b772e8b06898c7e3cc004c73c149f /app-emulation/vmware-player
parentapply patch to kernel gte 3.7.0 (diff)
downloadvmware-12df2d70252f140bd700c04a3ad7a795c8ceb02e.tar.gz
vmware-12df2d70252f140bd700c04a3ad7a795c8ceb02e.tar.bz2
vmware-12df2d70252f140bd700c04a3ad7a795c8ceb02e.zip
vmware desktop 8.0.5 version bump
Diffstat (limited to 'app-emulation/vmware-player')
-rw-r--r--app-emulation/vmware-player/Manifest8
-rw-r--r--app-emulation/vmware-player/vmware-player-4.0.4.744019-r1.ebuild238
-rw-r--r--app-emulation/vmware-player/vmware-player-4.0.4.744019.ebuild250
-rw-r--r--app-emulation/vmware-player/vmware-player-4.0.5.893925.ebuild (renamed from app-emulation/vmware-player/vmware-player-5.0.0.812388.ebuild)9
4 files changed, 6 insertions, 499 deletions
diff --git a/app-emulation/vmware-player/Manifest b/app-emulation/vmware-player/Manifest
index e91758c..de319cd 100644
--- a/app-emulation/vmware-player/Manifest
+++ b/app-emulation/vmware-player/Manifest
@@ -1,10 +1,6 @@
DIST VMware-Player-3.1.6-744570.i386.bundle 107116126 SHA256 e612fd4dbe45e14426f8fe72cc5eb88325001952f740b560fdd330e529be0272 SHA512 1399a40a3d357805ad585b60ab60cac2b4cd85bd9c78fe397a7bc313759c904e9d071732108128587612bcac43f311a1de80fdbc1817055e20e6c73b6a7e5149 WHIRLPOOL 297182b1a13e9c44796ad869cbf696cbc5d38b73866cf42283504a2175f7ac1e928c7c430d4f713b24b9a8c050d52f6f5171aa7c9448fa3d7721e5427e1a0dd2
DIST VMware-Player-3.1.6-744570.x86_64.bundle 103054014 SHA256 ebf74c876bcce6a06c16dceab6116ab9daab057b8276ee337bf54a9f59cce79d SHA512 023e0ed0f5c4e695b738beb4df6286fce9572485c40acfaaf46e4ffbf49b574ac048f297b219dbea7fafa119dcdc700809cb0943309c328d34d92c30f96d8332 WHIRLPOOL e40a5353a2841aa50687e092aee424aa9d77cf7df32acfc2e66c11b6ff04adce5441b123dacedc68896ab7d7c744f69ca834020344425ea9edb77888e81cc560
-DIST VMware-Player-4.0.4-744019.i386.bundle 131985156 SHA256 2fcf6e6440549b7a53cde12a62deb52e33a2687d4a0f5e099650a348b6a35a0b SHA512 ca5a1e0567f014d8a15a87f2a58a4026f0a2249012e124ce892da408375475f89cc9f0985e200ea6fb3e5ab7dd9482f4e8bfe14061f8c655b4ccea9ae1ecc761 WHIRLPOOL 79f11145c344bf276e1cf69869d136f48fb85532d0e5b1d930049968315c09bd65d0b016534762602e535def1f45b8d1530d74c3cdb94f1e4a5347884bf6e522
-DIST VMware-Player-4.0.4-744019.i386.bundle.tar 131993600 SHA256 d06881c512a11fbc76f1c23d7a6c9d7bd3888c613b1678719fa77ed76243d678 SHA512 c1d763374a5d54759cd791669e846479e3ef009dd3d13f16192ca6fdb8727081b5ec510c0b2bf4a311e3e8f3ad905512c0b33be2c70e33e9b4f7037b8349e560 WHIRLPOOL e21bfdf308ee905d8bc6aefb7097b9e30c546186fa7e8750d556a4d3cb144648da36aae2622e54159918cfb5ddab848ee64f225148a0bfb6111264ce763ab067
-DIST VMware-Player-4.0.4-744019.x86_64.bundle 129698390 SHA256 572fa4cb07894c58e0795ef78ca2cfabb1acb02771c303910f3731137bfb22a9 SHA512 228d9f9f8e04e7d58a11a210f9b8268c25b228ac0c1399e3cfea0e9e48e3f1d93e46a4477a051457cc92814713da320cb26ebf8d9868d2d4909637eed10d0acb WHIRLPOOL 1305a9f144741c508b84799d809b7690b3126c08e5c1bb875d81670f89fb10fe3521fbe49951f4b9c4265cddcb583409d7d43dfa7b62f456b7b8cd91a8490fd9
-DIST VMware-Player-4.0.4-744019.x86_64.bundle.tar 129710080 SHA256 8584e18a4cbed8ce19bd239f8e1cbc2cccd17e2d016faba93fd685a160dade21 SHA512 ba3894fc942e67940d4c2f98f567ee46786a77dc21615ced01314b6dca9919469924bf4c96fdf08ab2443365de03f6a652ca595b6cbb13990ca3671282d01679 WHIRLPOOL ed123a9b22eb1d4fd03afa3b854f3e7d1f12400da75882892f561de3f44860ec67a18a779510ec70715534c03aa21c858721dd92be66a2384152d6a964728ce9
-DIST VMware-Player-5.0.0-812388.i386.bundle.tar 215357440 SHA256 5f9c193265004839e28a85e4d6a9130a50999ee88d89d6a31fa281d0d71d2765 SHA512 6e429db4d23213e134389a85ac82623d90fd6cca69403ae53702bc35117395eb3b820ee5a1a73db5709918f1897f2b59ba06cac46cca3e9bd0bd6c92bb17197e WHIRLPOOL 431522fc37cd18c83bb89953830c4b5bc72b18163cba43ab7e080396968485e54abcd8bc5471c29ea46fcf1463c5a82ef948def40d89076e0ba6cdf61bd771e7
-DIST VMware-Player-5.0.0-812388.x86_64.bundle.tar 183685120 SHA256 730cf701c73bbe52b0470a2abe9f9b2ae4845f61cea6e648fb1ae212a59af4be SHA512 c1217b409178c1e774a45702eff523cb1556ad612c89525fae54b5aeef38e4a5e06184296eeadad972d6f0a40e2f9cf8fc86262954ad47ad049053922a6a5b97 WHIRLPOOL 9f2bd41e034332d70aca0728374de1be13ba2b3bca0fd80efab51e19fd24989b5944aae46a37112fa351c8cd8c4c76083afc08c8ffde2d96bbdca7b4a3f06774
+DIST VMware-Player-4.0.5-893925.i386.bundle.tar 129781760 SHA256 34b48f6603ad204eb019ea07ace4381bdb53b0fb99ae2deebe8e98abdf0c2e41 SHA512 a09c4cddede03a953d63cb5892a88d3abbbf86d91a45e18a5c02f4461810d2ec38a4e5a8af9859082a002aa076e833f84c95043aa0b5e9d4cbc4abf38e65fd64 WHIRLPOOL 9e7c17dac258f9df2a211cfda364548d813f470bfea5790fa8737c02858aa0fad8ffc79a242fd16af54b24f2b298883a5f40502a91c738c5e21ecd99844e2412
+DIST VMware-Player-4.0.5-893925.x86_64.bundle.tar 127262720 SHA256 93454b17065dea2bdb5dd62da74122590162e5e3ef8e5218cc1ebe348189afca SHA512 0b012dd0b28a525500b931fc688286d20c6fac37e2c8e078f3999d9bb5c663e9600e610e9030fbbe3cc55a4dc4b05cf3727cdecb96630cb4ff9010878a471734 WHIRLPOOL 55d8363baced467e97b8718945e7dedd013718353c7a4b4e86234dc774db3456a5ae9ace54e457acd1c724b67df73dcfb95a8d9380aff7ef0e1a07df8db018d0
DIST VMware-Player-5.0.1-894247.i386.bundle.tar 212961280 SHA256 86b73f69b4b933c33bcc3404369302ce46cc05ae0f4e21f0e66f235620e758e0 SHA512 a1fdc3e2d4ec8e02a07185f0a674ee10afebda193d7b4ea2ff9808e3640260d1fd8099508b3d8d6a7013ad3faf22b860712ac1b358f1e90104fdfb723e445824 WHIRLPOOL caf2cd919718f3d568560b3e053d4d6ff80777b6f2fc52359d6e5eb9fdc7b9fff20350196ecfca0a2e1a435c275b1cb54d0b802ba9ae3c2b109027a081e1469c
DIST VMware-Player-5.0.1-894247.x86_64.bundle.tar 179466240 SHA256 32bf1ddc389819abbc81745055a4c8d784fe0137f850b0a91ccefc1734b98b19 SHA512 75c665c1707122c2dbe1619b0e6ab6618a7debd5ab1d2335deedd16a019f1a5b01da042503177d7e6dc854dfef9d5a35dec0a9fdba47b3bc706a3d6bc0431922 WHIRLPOOL a86f1df24690694ad0823a939a075aa6e544ea39fcb25ab5a471e3b35f72a650e8b39f66e17728eb6b80ee2c3cf55b1e6c78540f2222f5b22e4377a0fd722b97
diff --git a/app-emulation/vmware-player/vmware-player-4.0.4.744019-r1.ebuild b/app-emulation/vmware-player/vmware-player-4.0.4.744019-r1.ebuild
deleted file mode 100644
index 94d538c..0000000
--- a/app-emulation/vmware-player/vmware-player-4.0.4.744019-r1.ebuild
+++ /dev/null
@@ -1,238 +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/vmware-player/vmware-player-4.0.4.744019-r1.ebuild,v 1.1 2012/06/17 13:09:54 vadimk Exp $
-
-EAPI="4"
-
-inherit eutils versionator fdo-mime gnome2-utils pax-utils vmware-bundle
-
-MY_PN="VMware-Player"
-MY_PV=$(get_version_component_range 1-3)
-PV_MINOR=$(get_version_component_range 3)
-PV_BUILD=$(get_version_component_range 4)
-MY_P="${MY_PN}-${MY_PV}-${PV_BUILD}"
-
-DESCRIPTION="Emulate a complete PC on your PC without the usual performance overhead of most emulators"
-HOMEPAGE="http://www.vmware.com/products/player/"
-BASE_URI="https://softwareupdate.vmware.com/cds/vmw-desktop/player/${MY_PV}/${PV_BUILD}/linux/core/"
-SRC_URI="
- x86? ( ${BASE_URI}${MY_P}.i386.bundle.tar )
- amd64? ( ${BASE_URI}${MY_P}.x86_64.bundle.tar )
- "
-
-LICENSE="vmware"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="cups doc +vmware-tools"
-RESTRICT="binchecks strip"
-
-# vmware-workstation should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="dev-cpp/cairomm
- dev-cpp/glibmm:2
- dev-cpp/gtkmm:2.4
- dev-cpp/libgnomecanvasmm:2.6
- dev-cpp/libsexymm
- dev-cpp/pangomm:1.4
- dev-libs/atk
- dev-libs/glib:2
- dev-libs/libaio
- dev-libs/libsigc++
- dev-libs/libxml2
- =dev-libs/openssl-0.9.8*
- dev-libs/xmlrpc-c
- gnome-base/libgnomecanvas
- gnome-base/libgtop:2
- gnome-base/librsvg:2
- gnome-base/orbit
- media-libs/fontconfig
- media-libs/freetype
- media-libs/libart_lgpl
- =media-libs/libpng-1.2*
- net-misc/curl
- cups? ( net-print/cups )
- sys-devel/gcc
- sys-fs/fuse
- sys-libs/glibc
- sys-libs/zlib
- x11-libs/cairo
- x11-libs/gtk+:2
- x11-libs/libgksu
- x11-libs/libICE
- x11-libs/libsexy
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXft
- x11-libs/libXi
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pango
- x11-libs/startup-notification
- !app-emulation/vmware-workstation"
-PDEPEND="~app-emulation/vmware-modules-264.${PV_MINOR}
- vmware-tools? ( app-emulation/vmware-tools )"
-
-S=${WORKDIR}
-VM_INSTALL_DIR="/opt/vmware"
-
-src_unpack() {
- default
- local bundle=${A%.tar}
-
- local component ; for component in \
- vmware-player \
- vmware-player-app \
- vmware-vmx \
- vmware-usbarbitrator \
- vmware-network-editor \
- vmware-player-setup
- #vmware-ovftool
- do
- vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}"
- done
-}
-
-src_prepare() {
- rm -f bin/vmware-modconfig
- rm -rf lib/modules/binary
-}
-
-clean_bundled_libs() {
- ebegin 'Removing superfluous libraries'
- # exclude OpenSSL from unbundling until the AES-NI patch gets into the tree
- # see http://forums.gentoo.org/viewtopic-t-835867.html
- # must use shipped libgcr.so.0 or else "undefined symbol: gcr_certificate_widget_new"
- ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> \(/.*\)$:\1 \2:g;t;d' | fgrep -v 'libcrypto.so.0.9.8
-libssl.so.0.9.8
-libgcr.so.0' | while read -r libname libpath ; do
- dosym "${libpath}" "${VM_INSTALL_DIR}/lib/vmware/lib/${libname}/${libname}"
- done
- eend
-}
-
-src_install() {
- # install the binaries
- into "${VM_INSTALL_DIR}"
- dobin bin/* || die "failed to install bin"
-
- # install the libraries
- insinto "${VM_INSTALL_DIR}"/lib/vmware
- doins -r lib/*
-
- # install the ancillaries
- insinto /usr
- doins -r share
-
- if use cups; then
- exeinto $(cups-config --serverbin)/filter
- doexe extras/thnucups
-
- insinto /etc/cups
- doins -r etc/cups/*
- fi
-
- # install documentation
- if use doc; then
- dodoc doc/*
- fi
-
- exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup
- doexe vmware-config
-
- # create symlinks for the various tools
- local tool ; for tool in thnuclnt vmplayer{,-daemon} \
- vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do
- dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
- done
- dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
- dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
-
- # fix permissions
- fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
- fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
- fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
-
- pax-mark -m "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx
-
- # create the environment
- local envd="${T}/90vmware"
- cat > "${envd}" <<-EOF
- PATH='${VM_INSTALL_DIR}/bin'
- ROOTPATH='${VM_INSTALL_DIR}/bin'
- EOF
- doenvd "${envd}" || die
-
- # create the configuration
- dodir /etc/vmware || die
-
- cat > "${D}"/etc/vmware/bootstrap <<-EOF
- BINDIR='${VM_INSTALL_DIR}/bin'
- LIBDIR='${VM_INSTALL_DIR}/lib'
- EOF
-
- cat > "${D}"/etc/vmware/config <<-EOF
- bindir = "${VM_INSTALL_DIR}/bin"
- libdir = "${VM_INSTALL_DIR}/lib/vmware"
- initscriptdir = "/etc/init.d"
- authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
- gksu.rootMethod = "su"
- VMCI_CONFED = "yes"
- VMBLOCK_CONFED = "yes"
- VSOCK_CONFED = "yes"
- NETWORKING = "yes"
- player.product.version = "${MY_PV}"
- product.buildNumber = "${PV_BUILD}"
- EOF
-
- # install the init.d script
- local initscript="${T}/vmware.rc"
-
- sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
- "${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die
- newinitd "${initscript}" vmware || die
-
- # fill in variable placeholders
- sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
- -i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die
- sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
- -i "${D}/usr/share/applications/${PN}.desktop" || die
-}
-
-pkg_config() {
- "${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-
- ewarn "/etc/env.d was updated. Please run:"
- ewarn "env-update && source /etc/profile"
- ewarn ""
- ewarn "Before you can use vmware-player, you must configure a default network setup."
- ewarn "You can do this by running 'emerge --config ${PN}'."
-}
-
-pkg_prerm() {
- einfo "Stopping ${PN} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-emulation/vmware-player/vmware-player-4.0.4.744019.ebuild b/app-emulation/vmware-player/vmware-player-4.0.4.744019.ebuild
deleted file mode 100644
index a2207b2..0000000
--- a/app-emulation/vmware-player/vmware-player-4.0.4.744019.ebuild
+++ /dev/null
@@ -1,250 +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/vmware-player/vmware-player-4.0.2.591240.ebuild,v 1.1 2012/03/10 14:19:47 vadimk Exp $
-
-EAPI="4"
-
-inherit eutils versionator fdo-mime gnome2-utils pax-utils vmware-bundle
-
-MY_PN="VMware-Player"
-MY_PV="$(replace_version_separator 3 - $PV)"
-MY_P="${MY_PN}-${MY_PV}"
-PV_MINOR=$(get_version_component_range 3)
-
-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? ( ${MY_P}.i386.bundle )
- amd64? ( ${MY_P}.x86_64.bundle )
- "
-
-LICENSE="vmware"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="cups doc +vmware-tools"
-RESTRICT="binchecks fetch strip"
-
-# vmware-workstation should not use virtual/libc as this is a
-# precompiled binary package thats linked to glibc.
-RDEPEND="dev-cpp/cairomm
- dev-cpp/glibmm:2
- dev-cpp/gtkmm:2.4
- dev-cpp/libgnomecanvasmm:2.6
- dev-cpp/libsexymm
- dev-cpp/pangomm:1.4
- dev-libs/atk
- dev-libs/glib:2
- dev-libs/libaio
- dev-libs/libsigc++
- dev-libs/libxml2
- =dev-libs/openssl-0.9.8*
- dev-libs/xmlrpc-c
- gnome-base/libgnomecanvas
- gnome-base/libgtop:2
- gnome-base/librsvg:2
- gnome-base/orbit
- media-libs/fontconfig
- media-libs/freetype
- media-libs/libart_lgpl
- =media-libs/libpng-1.2*
- net-misc/curl
- cups? ( net-print/cups )
- sys-devel/gcc
- sys-fs/fuse
- sys-libs/glibc
- sys-libs/zlib
- x11-libs/cairo
- x11-libs/gtk+:2
- x11-libs/libgksu
- x11-libs/libICE
- x11-libs/libsexy
- x11-libs/libSM
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libxcb
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXdmcp
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXft
- x11-libs/libXi
- x11-libs/libXinerama
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pango
- x11-libs/startup-notification
- !app-emulation/vmware-workstation"
-PDEPEND="~app-emulation/vmware-modules-264.${PV_MINOR}
- vmware-tools? ( app-emulation/vmware-tools )"
-
-S=${WORKDIR}
-VM_INSTALL_DIR="/opt/vmware"
-
-pkg_nofetch() {
- local bundle
-
- if use x86; then
- bundle="${MY_P}.i386.bundle"
- elif use amd64; then
- bundle="${MY_P}.x86_64.bundle"
- fi
-
- einfo "Please download ${bundle}"
- einfo "from ${HOMEPAGE}"
- einfo "and place it in ${DISTDIR}"
-}
-
-src_unpack() {
- local component ; for component in \
- vmware-player \
- vmware-player-app \
- vmware-vmx \
- vmware-usbarbitrator \
- vmware-network-editor \
- vmware-player-setup
- #vmware-ovftool
- do
- vmware-bundle_extract-bundle-component "${DISTDIR}/${A}" "${component}" "${S}"
- done
-}
-
-src_prepare() {
- rm -f bin/vmware-modconfig
- rm -rf lib/modules/binary
-}
-
-clean_bundled_libs() {
- ebegin 'Removing superfluous libraries'
- # exclude OpenSSL from unbundling until the AES-NI patch gets into the tree
- # see http://forums.gentoo.org/viewtopic-t-835867.html
- # must use shipped libgcr.so.0 or else "undefined symbol: gcr_certificate_widget_new"
- ldconfig -p | sed 's:^\s\+\([^(]*[^( ]\).*=> \(/.*\)$:\1 \2:g;t;d' | fgrep -v 'libcrypto.so.0.9.8
-libssl.so.0.9.8
-libgcr.so.0' | while read -r libname libpath ; do
- dosym "${libpath}" "${VM_INSTALL_DIR}/lib/vmware/lib/${libname}/${libname}"
- done
- eend
-}
-
-src_install() {
- local major_minor_revision=$(get_version_component_range 1-3 "${PV}")
- local build=$(get_version_component_range 4 "${PV}")
-
- # install the binaries
- into "${VM_INSTALL_DIR}"
- dobin bin/* || die "failed to install bin"
-
- # install the libraries
- insinto "${VM_INSTALL_DIR}"/lib/vmware
- doins -r lib/*
-
- # install the ancillaries
- insinto /usr
- doins -r share
-
- if use cups; then
- exeinto $(cups-config --serverbin)/filter
- doexe extras/thnucups
-
- insinto /etc/cups
- doins -r etc/cups/*
- fi
-
- # install documentation
- if use doc; then
- dodoc doc/*
- fi
-
- exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup
- doexe vmware-config
-
- # create symlinks for the various tools
- local tool ; for tool in thnuclnt vmplayer{,-daemon} \
- vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do
- dosym appLoader "${VM_INSTALL_DIR}"/lib/vmware/bin/"${tool}"
- done
- dosym "${VM_INSTALL_DIR}"/lib/vmware/bin/vmplayer "${VM_INSTALL_DIR}"/bin/vmplayer
- dosym "${VM_INSTALL_DIR}"/lib/vmware/icu /etc/vmware/icu
-
- # fix permissions
- fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/bin/{appLoader,fusermount,launcher.sh,mkisofs,vmware-remotemks}
- fperms 0755 "${VM_INSTALL_DIR}"/lib/vmware/lib/{wrapper-gtk24.sh,libgksu2.so.0/gksu-run-helper}
- fperms 4711 "${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx{,-debug,-stats}
-
- pax-mark -m "${D}${VM_INSTALL_DIR}"/lib/vmware/bin/vmware-vmx
-
- # create the environment
- local envd="${T}/90vmware"
- cat > "${envd}" <<-EOF
- PATH='${VM_INSTALL_DIR}/bin'
- ROOTPATH='${VM_INSTALL_DIR}/bin'
- EOF
- doenvd "${envd}" || die
-
- # create the configuration
- dodir /etc/vmware || die
-
- cat > "${D}"/etc/vmware/bootstrap <<-EOF
- BINDIR='${VM_INSTALL_DIR}/bin'
- LIBDIR='${VM_INSTALL_DIR}/lib'
- EOF
-
- cat > "${D}"/etc/vmware/config <<-EOF
- bindir = "${VM_INSTALL_DIR}/bin"
- libdir = "${VM_INSTALL_DIR}/lib/vmware"
- initscriptdir = "/etc/init.d"
- authd.fullpath = "${VM_INSTALL_DIR}/sbin/vmware-authd"
- gksu.rootMethod = "su"
- VMCI_CONFED = "yes"
- VMBLOCK_CONFED = "yes"
- VSOCK_CONFED = "yes"
- NETWORKING = "yes"
- player.product.version = "${major_minor_revision}"
- product.buildNumber = "${build}"
- EOF
-
- # install the init.d script
- local initscript="${T}/vmware.rc"
-
- sed -e "s:@@BINDIR@@:${VM_INSTALL_DIR}/bin:g" \
- "${FILESDIR}/vmware-3.0.rc" > "${initscript}" || die
- newinitd "${initscript}" vmware || die
-
- # fill in variable placeholders
- sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
- -i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die
- sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
- -i "${D}/usr/share/applications/${PN}.desktop" || die
-}
-
-pkg_config() {
- "${VM_INSTALL_DIR}"/bin/vmware-networks --postinstall ${PN},old,new
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-
- ewarn "/etc/env.d was updated. Please run:"
- ewarn "env-update && source /etc/profile"
- ewarn ""
- ewarn "Before you can use vmware-player, you must configure a default network setup."
- ewarn "You can do this by running 'emerge --config ${PN}'."
-}
-
-pkg_prerm() {
- einfo "Stopping ${PN} for safe unmerge"
- /etc/init.d/vmware stop
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- gnome2_icon_cache_update
-}
diff --git a/app-emulation/vmware-player/vmware-player-5.0.0.812388.ebuild b/app-emulation/vmware-player/vmware-player-4.0.5.893925.ebuild
index 29e6c7e..f41144d 100644
--- a/app-emulation/vmware-player/vmware-player-5.0.0.812388.ebuild
+++ b/app-emulation/vmware-player/vmware-player-4.0.5.893925.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-4.0.4.744019-r1.ebuild,v 1.1 2012/06/17 13:09:54 vadimk Exp $
+# $Header: $
EAPI="4"
@@ -24,7 +24,7 @@ LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="cups doc +vmware-tools"
-RESTRICT="binchecks strip"
+RESTRICT="strip"
# vmware-workstation should not use virtual/libc as this is a
# precompiled binary package thats linked to glibc.
@@ -79,7 +79,7 @@ RDEPEND="dev-cpp/cairomm
x11-libs/pango
x11-libs/startup-notification
!app-emulation/vmware-workstation"
-PDEPEND="~app-emulation/vmware-modules-271.${PV_MINOR}
+PDEPEND="~app-emulation/vmware-modules-264.${PV_MINOR}
vmware-tools? ( app-emulation/vmware-tools )"
S=${WORKDIR}
@@ -211,7 +211,6 @@ src_install() {
sed -e "s:@@LIBCONF_DIR@@:${VM_INSTALL_DIR}/lib/vmware/libconf:g" \
-i "${D}${VM_INSTALL_DIR}"/lib/vmware/libconf/etc/{gtk-2.0/{gdk-pixbuf.loaders,gtk.immodules},pango/pango{.modules,rc}} || die
sed -e "s:@@BINARY@@:${VM_INSTALL_DIR}/bin/vmplayer:g" \
- -e "/^Encoding/d" \
-i "${D}/usr/share/applications/${PN}.desktop" || die
}