Add vmware-horizon-client-bin. Broken is some aspects, should be corrected/updated
This commit is contained in:
		
							parent
							
								
									2d7362289c
								
							
						
					
					
						commit
						2fdfc8c4c4
					
				
					 2 changed files with 126 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								app-emulation/vmware-horizon-client-bin/Manifest
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								app-emulation/vmware-horizon-client-bin/Manifest
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
DIST vmware-horizon-client-bin-8.12.1.tar.gz 667668309 BLAKE2B 7b65d7ffb05ed21f3049cd859f078d54e715665595a11184ee0b60d5f3cc0e1ed4e3676861b1f3bdeb8e60113c954aca1a761bf71f0a42c4bab497294cd97b0f SHA512 4ad647b67ab0266f47475657618bb9f98727da2339a0c9251de58aa45b563aaccddffafe8412c1e3cf9e896e4e6a43de35c1e67d1dcc7875d7c4675c7a516888
 | 
			
		||||
EBUILD vmware-horizon-client-bin-8.12.1.ebuild 2869 BLAKE2B c4a158a036ce2af151556cd851667348db684edbdd7425de71f3a60a4c3ab7fd5e013fd1bbc338a0346e4dcaf76c3178a668c89b465e74a3d4aebdf4a805e344 SHA512 5a85f96a23b7bfa69c4590f936966b94475edbd74d00e131a8bef91697e096c9ab311bc58e67ae605edce80dcf4446d805d19391a2b46d5345c03df0eb91bb2b
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,124 @@
 | 
			
		|||
# Copyright 1999-2024 Gentoo Authors
 | 
			
		||||
# Distributed under the terms of the GNU General Public License v2
 | 
			
		||||
 | 
			
		||||
EAPI=8
 | 
			
		||||
 | 
			
		||||
inherit xdg-utils
 | 
			
		||||
 | 
			
		||||
DESCRIPTION="VMware Horizon View client"
 | 
			
		||||
HOMEPAGE="https://docs.omnissa.com/de-DE/bundle/HorizonOverviewDeployment/page/AboutHorizon8.html"
 | 
			
		||||
SRC_URI="https://redrise.ru/pub/Soft_Unix/VMware-Horizon-Client-Linux-2312.1-${PV}-23543969.tar.gz -> ${PF}.tar.gz"
 | 
			
		||||
 | 
			
		||||
RESTRICT="mirror"
 | 
			
		||||
 | 
			
		||||
LICENSE="vmware"
 | 
			
		||||
SLOT="0/2312.1"
 | 
			
		||||
KEYWORDS="~amd64"
 | 
			
		||||
IUSE=""
 | 
			
		||||
 | 
			
		||||
DEPEND="
 | 
			
		||||
	app-arch/bzip2
 | 
			
		||||
	dev-libs/atk
 | 
			
		||||
	dev-libs/expat
 | 
			
		||||
	dev-libs/fribidi
 | 
			
		||||
	dev-libs/glib
 | 
			
		||||
	dev-libs/icu
 | 
			
		||||
	dev-libs/libbsd
 | 
			
		||||
	dev-libs/libffi
 | 
			
		||||
	dev-libs/libpcre
 | 
			
		||||
	dev-libs/libsigc++
 | 
			
		||||
	dev-libs/libxml2
 | 
			
		||||
	media-gfx/graphite2
 | 
			
		||||
	media-libs/fontconfig
 | 
			
		||||
	media-libs/freetype
 | 
			
		||||
	media-libs/harfbuzz
 | 
			
		||||
	media-libs/libpng
 | 
			
		||||
	sys-apps/util-linux
 | 
			
		||||
	sys-devel/gcc
 | 
			
		||||
	sys-libs/glibc
 | 
			
		||||
	sys-libs/zlib
 | 
			
		||||
	sys-libs/libudev-compat
 | 
			
		||||
	x11-libs/cairo
 | 
			
		||||
	x11-libs/gdk-pixbuf:2
 | 
			
		||||
	x11-libs/gtk+:3
 | 
			
		||||
	x11-libs/libX11
 | 
			
		||||
	x11-libs/libXScrnSaver
 | 
			
		||||
	x11-libs/libXau
 | 
			
		||||
	x11-libs/libXcomposite
 | 
			
		||||
	x11-libs/libXcursor
 | 
			
		||||
	x11-libs/libXdamage
 | 
			
		||||
	x11-libs/libXdmcp
 | 
			
		||||
	x11-libs/libXext
 | 
			
		||||
	x11-libs/libXfixes
 | 
			
		||||
	x11-libs/libXi
 | 
			
		||||
	x11-libs/libXinerama
 | 
			
		||||
	x11-libs/libXrandr
 | 
			
		||||
	x11-libs/libXrender
 | 
			
		||||
	x11-libs/libXtst
 | 
			
		||||
	x11-libs/libxcb
 | 
			
		||||
	x11-libs/libxkbfile
 | 
			
		||||
	x11-libs/pango
 | 
			
		||||
	x11-libs/pixman
 | 
			
		||||
"
 | 
			
		||||
RDEPEND="${DEPEND}"
 | 
			
		||||
 | 
			
		||||
QA_PREBUILT="
 | 
			
		||||
	usr/lib64/*
 | 
			
		||||
	usr/lib64/pcoip/vchan_plugins/*
 | 
			
		||||
	usr/lib64/vmware/gcc/*
 | 
			
		||||
	usr/lib64/vmware/*
 | 
			
		||||
	usr/lib64/vmware/view/vdpService/*
 | 
			
		||||
	usr/lib64/vmware/view/software/*
 | 
			
		||||
	usr/lib64/vmware/view/vaapi/*
 | 
			
		||||
	usr/lib64/vmware/view/lib/*
 | 
			
		||||
	usr/lib64/vmware/view/vaapi2.7/*
 | 
			
		||||
	usr/lib64/vmware/view/vdpau/*
 | 
			
		||||
	usr/lib64/vmware/view/vaapi2/*
 | 
			
		||||
"
 | 
			
		||||
 | 
			
		||||
src_unpack() {
 | 
			
		||||
	default
 | 
			
		||||
	# getting client from tgz
 | 
			
		||||
	unpack "${WORKDIR}"/*/x64/VMware-Horizon-Client-Linux-ClientSDK-${SLOT#*/}-${PV}-*.tar.gz
 | 
			
		||||
	unpack "${WORKDIR}"/*/x64/VMware-Horizon-Client-${SLOT#*/}-${PV}-*.tar.gz
 | 
			
		||||
 | 
			
		||||
	# make the client the new source
 | 
			
		||||
	mv "${WORKDIR}"/VMware-Horizon-Client-${SLOT#*/}-${PV}-*.x64 ${S}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_prepare() {
 | 
			
		||||
	default
 | 
			
		||||
 | 
			
		||||
	# correcting lib path (strict-multilib)
 | 
			
		||||
	mv "${S}"/usr/lib "${S}"/usr/lib64
 | 
			
		||||
 | 
			
		||||
	# removing un-needed docs (willl reinstall them later)
 | 
			
		||||
	mv "${S}"/usr/share/doc/vmware-horizon-client "${WORKDIR}/${P}_docs"
 | 
			
		||||
 | 
			
		||||
	# patching lib-path inside binaries
 | 
			
		||||
	sed -i 's~/usr/lib/~/usr/lib64/~g' "${S}"/usr/bin/vmware-* || die "couldn't patch library path"
 | 
			
		||||
 | 
			
		||||
	# copying libs into client directory
 | 
			
		||||
	cp -a "${WORKDIR}"/VMware-Horizon-Client-Linux-ClientSDK-${SLOT#*/}-${PV}-*.x64/lib/* "${S}"/usr/lib64/
 | 
			
		||||
 | 
			
		||||
	# correcting desktop-file
 | 
			
		||||
	sed -i 's~Application;Network;~Network;~g' "${S}"/usr/share/applications/vmware-view.desktop || \
 | 
			
		||||
		die "couldn't patch library path"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
src_install() {
 | 
			
		||||
	# installing aplication
 | 
			
		||||
	cp -a usr "${D}"
 | 
			
		||||
 | 
			
		||||
	# installing docs
 | 
			
		||||
	dodoc "${WORKDIR}/${P}_docs/"*.txt
 | 
			
		||||
	dodoc "${WORKDIR}/${P}_docs/patches/"*
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pkg_postinst() {
 | 
			
		||||
	xdg_desktop_database_update
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pkg_postrm() {
 | 
			
		||||
	xdg_desktop_database_update
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in a new issue