git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/vmware@1577 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-11-29 09:55:26 +00:00
parent 374cce71d4
commit 56aba4155f
2 changed files with 107 additions and 0 deletions

View File

@ -8,8 +8,10 @@ AUX wiper-warning-fix.patch 418 RMD160 d3595ca361e1b330e22ec10b33b19813df94ff82
DIST open-vm-tools-2009.05.22-167859.tar.gz 3417843 RMD160 c8403e0fe1ff32ec356ce997b7e621ee7fe87d22 SHA1 a38e16e8cc6bb3b9d9ce88244aef8332a233b7e4 SHA256 99f3726f86e53abac4efcf70a871e2003d2f245fd83b663ae8ad756322c48a2b
DIST open-vm-tools-2009.06.18-172495.tar.gz 3424675 RMD160 7fceacdc3e2e1857a85fd348625ed906383bb52f SHA1 3f2273e2366dc8bca60a3f84e0933580aa4c066d SHA256 27d529553c9a62172876a9a88289102d77bc6307b6fc10b7a2bc17cbbb54251e
DIST open-vm-tools-2009.07.22-179896.tar.gz 3455624 RMD160 5d6b7bc27cf93061d6fb250db8271c8891699721 SHA1 66aae7773445dc3589420278b0b55bc8a107cb5b SHA256 50eff9fc275b2ceb73cac64cd671ddbd0602337c7190cfda85103c290805a556
DIST open-vm-tools-2009.11.16-210370.tar.gz 3514530 RMD160 f2ded66b6f9178c7e58145c52a9975d546a321fd SHA1 5b22e28400988ce74a48bdebd213b42452844d09 SHA256 d0eb942bc913350526c734e71661c7824085292f7d21f1b00a5b9dc44152b495
EBUILD open-vm-tools-0.0.2009.05.22_p167859.ebuild 2330 RMD160 95591bd7ed4bb5ba9d07fb725d6deceea0c538cd SHA1 3d9fe2096ecf7ae8d2c3148d83b0f656960283f2 SHA256 a3a43bc3d8e93245db6ab7f01e572d2fdf0c898f78b5d284b64ec9a35ac2f7f4
EBUILD open-vm-tools-0.1.2009.06.18_p172495.ebuild 2332 RMD160 6bc13ad30488c390b90bce56faf780f0b1b20920 SHA1 93453fe8ac44dff42933e2eedacd59750aa09c54 SHA256 dba620d4e83212952471715854d0a78cffb0fb8ae4cd4cb09cce672021153ecd
EBUILD open-vm-tools-0.1.2009.07.22_p179896.ebuild 2332 RMD160 6bc13ad30488c390b90bce56faf780f0b1b20920 SHA1 93453fe8ac44dff42933e2eedacd59750aa09c54 SHA256 dba620d4e83212952471715854d0a78cffb0fb8ae4cd4cb09cce672021153ecd
EBUILD open-vm-tools-0.1.2009.11.16_p210370.ebuild 2332 RMD160 6bc13ad30488c390b90bce56faf780f0b1b20920 SHA1 93453fe8ac44dff42933e2eedacd59750aa09c54 SHA256 dba620d4e83212952471715854d0a78cffb0fb8ae4cd4cb09cce672021153ecd
MISC ChangeLog 1923 RMD160 f395b14e586294dd615c31375a4b8bb0dd39a2fb SHA1 114a02c5077a0ba78f4d84ca88894750ac23a0ce SHA256 3782bca65a1eabac0bfab5a3240634395aad0ec377cd71218b418666a3365835
MISC metadata.xml 273 RMD160 868f3e6ce2b19d6874be333eb73f9320df75605f SHA1 a5fa804bbe72aee73c241218da87736c81ff3815 SHA256 3528eb8ce4ae248c296a08cd9c3d252fbb4421fe5369ec3b5353b3c4f0da025d

View File

@ -0,0 +1,105 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit pam eutils autotools
MY_PP="${P/0.1./}"
MY_P="${MY_PP/_p/-}"
VMWARE_GROUP="vmware"
DESCRIPTION="Opensourced tools for VMware guests"
HOMEPAGE="http://open-vm-tools.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="X xinerama icu unity gtkmm"
DEPEND="virtual/linux-sources
sys-apps/ethtool
X? (
x11-libs/libX11
x11-libs/gtk+
)
unity? (
x11-libs/libXScrnSaver
dev-libs/uriparser
)
xinerama? (
x11-libs/libXinerama
)
gtkmm? (
dev-cpp/gtkmm
)
!app-emulation/vmware-workstation-tools
!app-emulation/vmware-server-tools
!app-emulation/vmware-esx-tools
sys-process/procps
dev-libs/libdnet
icu? ( dev-libs/icu )
"
RDEPEND="${DEPEND/virtual\/linux\-sources/}
virtual/pam
X? (
x11-base/xorg-server
x11-drivers/xf86-video-vmware
x11-drivers/xf86-input-vmmouse
)
unity? (
x11-libs/libXScrnSaver
dev-libs/uriparser
app-emulation/open-vm-modules )
"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
use unity && ! use xinerama && \
die 'The Unity USE flag requires USE="xinerama" as well'
enewgroup ${VMWARE_GROUP}
}
src_prepare() {
epatch "${FILESDIR}/default-scripts.patch"
# epatch "${FILESDIR}/wiper-warning-fix.patch"
# epatch "${FILESDIR}/open-vm-tools-build-fix.patch"
epatch "${FILESDIR}/open-vm-tools-2009.05.22-167859-libproc-1.patch"
eautoreconf
}
src_configure() {
econf \
--without-kernel-modules \
$(use_with icu) \
$(use_with X x) \
$(use_with gtkmm) \
$(use_enable unity) \
$(use_enable xinerama multimon) \
|| die "Error: econf failed!"
}
src_install() {
pamd_mimic_system vmware-guestd auth account
emake install DESTDIR="${D}" || die "Failed to install"
newinitd "${FILESDIR}/open-vm.initd" vmware-tools
newconfd "${FILESDIR}/open-vm.confd" vmware-tools
if use X;
then
insinto /etc/xdg/autostart
doins "${FILESDIR}/open-vm-tools.desktop"
elog "To be able to use the drag'n'drop feature of VMware for file"
elog "exchange, you need to do this:"
elog " Add 'vmware-tools' to your default runlevel"
elog " Add the users which should have access to this function"
elog " to the group 'vmware'"
fi
}