From 203cd9756099ee406cd44979cff863f55bafc4cf Mon Sep 17 00:00:00 2001 From: Paul de Vrieze Date: Wed, 24 Apr 2013 18:47:05 +0000 Subject: More improved version based upon debian (and unofficial fedora) package svn path=/trunk/overlay/; revision=148 --- app-emulation/vmware-view-client/Manifest | 5 ++++- .../files/vmware-view-client-vmware.png | Bin 0 -> 7213 bytes .../files/vmware-view-client.desktop | 8 ++++++++ .../vmware-view-client/files/vmware-view.wrapper | 6 ++++++ .../vmware-view-client-1.7.0.0.ebuild | 18 ++++++++++++++++-- 5 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 app-emulation/vmware-view-client/files/vmware-view-client-vmware.png create mode 100644 app-emulation/vmware-view-client/files/vmware-view-client.desktop create mode 100644 app-emulation/vmware-view-client/files/vmware-view.wrapper diff --git a/app-emulation/vmware-view-client/Manifest b/app-emulation/vmware-view-client/Manifest index ffa5ad3..4d88ab9 100644 --- a/app-emulation/vmware-view-client/Manifest +++ b/app-emulation/vmware-view-client/Manifest @@ -1,2 +1,5 @@ +AUX vmware-view-client-vmware.png 7213 SHA256 49bae736888697dd113857f635e8151e67a63eb392476770ce00747ba0795bd6 SHA512 715cf05152442609084e72cc1274578fd16b0ad05610534d72af02a97d3fb6aa3cb72bfc2986ef6e83bac8e72fedcf54d830ef16459f11e58d88c5b379fd65b1 WHIRLPOOL 982cdfc5eb94ebfab58ed8f8bc28052df01e1a043dc8dfe6e58260a6569cd04d2b633359f88d5d098be0c12ef5c708221b23855704ccb40fd042a2c80c6dbff2 +AUX vmware-view-client.desktop 223 SHA256 85076f797b1e05220a9b52ed67e56515c9bc2bbf264939f611bfc4a1dc080f97 SHA512 4f5262349c2830340e8770eb375638dcaa85bd6960b219c717b6d0b1f15e119133c43ffa57047fa6750e67249421b35e44422601e5ac2d53984dfeaf26d5d7ae WHIRLPOOL 13261ec9114fda34d2484a34e89debcf08f17f15ce8e41c80fed8065b095c19ebc7dd6891af8f8f1ebc5125ab8b1f5421bb0fdbb1e555714913b2590f75a5ef2 +AUX vmware-view.wrapper 102 SHA256 a502633eb4149ae1fa2a74032fc6bd7f197d348c8452f1a4d945470c91a4645f SHA512 322ac5fb6636cd047ca91fafa2d0cc514bd2f638f6121f55136adf9a2c89d54f07d846eddb806a47ae92b4edd5b8ceedb669b5797c20a72b53adfc60627d012e WHIRLPOOL 23a0098b3b19b090ccfe87f91e7849107695be5c173104ffa64d328b5ac9ae797c5e7fa74f40f95ec1896b69889ee7f0d17d1047b52c35ebb0005593c622c92b DIST vmware-view-client_1.7.0.0.orig.tar.gz 14201768 SHA256 6d148d3fec05a015f702269b14812b5d56e3e65212eeb2e2174b3c5ec178e2d4 SHA512 25f6fc387e46f2581c107a49f9fb344dca021714a99042982e39bd08c2629aa93a77236c036a9b983e4651904fdfd4a9f55e65f5fd6541e16beac4779e8ae778 WHIRLPOOL 45c858e69d95ec14b847214be455a1e576fa1e4adac968affa193ef2bc4bb1254a13e0e7492a2401100f22ccb60636159fcb0dd170093fd2bb8dbfef64298498 -EBUILD vmware-view-client-1.7.0.0.ebuild 1184 SHA256 54f6f6290e20c9ceabc162321e9c7690de50e582a6fb26e8258068a3bfab89d3 SHA512 b3449b0254e1dbd7b2d32b1b6a37ff600acb5e4c06aa9b7620ed821b2115b8ce92d03c3aae0cfaa1467a29525811504ce9d1d371967f5aad01ba3cb6967c384f WHIRLPOOL 213b0631f1250e0c9d21c05e43c4852dc9f9b6f35a29735723706c08b79c7946f396efc0de5f9c9ade2d5959f39e16c7f4c363662c36ab0f931cee199cd346fb +EBUILD vmware-view-client-1.7.0.0.ebuild 1953 SHA256 60250d79edbbdb5ee82879458a07021917f41337555f606590a3495b8c0d861b SHA512 9c6d845c6440ac8c17901edffdd07549b9ccbe5719153d458846ac0fc6936c6c39a87c5697e566459900966391d6e81c075df4b56517d36bbe93d0e54327f1df WHIRLPOOL 3f5f016b77bc4630048906d35a7c9d2fe2c55dc3b5ae7344bd291a73dbd54ef980124b3ded60ee3abf418424dea2a0f1d0b1cceee12d83d6de57c934dfca161c diff --git a/app-emulation/vmware-view-client/files/vmware-view-client-vmware.png b/app-emulation/vmware-view-client/files/vmware-view-client-vmware.png new file mode 100644 index 0000000..18efbb0 Binary files /dev/null and b/app-emulation/vmware-view-client/files/vmware-view-client-vmware.png differ diff --git a/app-emulation/vmware-view-client/files/vmware-view-client.desktop b/app-emulation/vmware-view-client/files/vmware-view-client.desktop new file mode 100644 index 0000000..ca2826c --- /dev/null +++ b/app-emulation/vmware-view-client/files/vmware-view-client.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Icon=vmware-view-client-vmware +Exec=vmware-view +Categories=Application;Network; +Name=VMware View Client +Comment=Deliver rich, personalized virtual desktops with VMware View 5 diff --git a/app-emulation/vmware-view-client/files/vmware-view.wrapper b/app-emulation/vmware-view-client/files/vmware-view.wrapper new file mode 100644 index 0000000..43ecb81 --- /dev/null +++ b/app-emulation/vmware-view-client/files/vmware-view.wrapper @@ -0,0 +1,6 @@ +#!/bin/sh + +export PATH="${PATH}:/usr/libexec/vmware/" + +# run the real thing +exec vmware-view.bin "$@" diff --git a/app-emulation/vmware-view-client/vmware-view-client-1.7.0.0.ebuild b/app-emulation/vmware-view-client/vmware-view-client-1.7.0.0.ebuild index ba691fa..f2c1b54 100644 --- a/app-emulation/vmware-view-client/vmware-view-client-1.7.0.0.ebuild +++ b/app-emulation/vmware-view-client/vmware-view-client-1.7.0.0.ebuild @@ -28,14 +28,24 @@ KEYWORDS="~x86 ~amd64 -*" IUSE="" -DEPEND="!app-emulation/vmware-view-open-client" +DEPEND="!app-emulation/vmware-view-open-client + || ( >=net-misc/freerdp-1.0.2 net-misc/rdesktop )" RDEPEND="" +RESTRICT="strip" + #S=${WORKDIR}/${P} src_configure() { - mv ${S}/usr/lib ${S}/usr/lib32 + mv ${S}/usr/lib ${S}/usr/lib32 || die "Failure 1" + mkdir -p ${S}/usr/lib/vmware || die "Failure 2" + mv ${S}/usr/lib32/vmware/vmware-* ${S}/usr/lib32/vmware/xkeymap/ ${S}/usr/lib/vmware/ || die "Moving failed" + mkdir -p ${S}/usr/libexec/vmware || die "Failure 4" + mv ${S}/usr/lib/vmware/vmware-view-usbd ${S}/usr/libexec/vmware/vmware-view-usb || die "Failure 5" + mv ${S}/usr/bin/vmware-view ${S}/usr/bin/vmware-view.bin || die "Failure 5" + cp ${FILESDIR}/vmware-view.wrapper ${S}/usr/bin/vmware-view || die "Failure 6" + chmod a+x ${S}/usr/bin/vmware-view || die "Failure 7" # Only relocate to other package } @@ -46,4 +56,8 @@ src_compile() { src_install() { cp -dr --preserve=mode,timestamps ${S}/* ${D}/ + insinto /usr/share/pixmaps + doins ${FILESDIR}/vmware-view-client-vmware.png + insinto /usr/share/applications + doins ${FILESDIR}/vmware-view-client.desktop } -- cgit v1.2.3-65-gdbad