summaryrefslogtreecommitdiffstats
path: root/net-misc/nxclient/nxclient-3.5.0.7-r1.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /net-misc/nxclient/nxclient-3.5.0.7-r1.ebuild
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'net-misc/nxclient/nxclient-3.5.0.7-r1.ebuild')
-rw-r--r--net-misc/nxclient/nxclient-3.5.0.7-r1.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/net-misc/nxclient/nxclient-3.5.0.7-r1.ebuild b/net-misc/nxclient/nxclient-3.5.0.7-r1.ebuild
new file mode 100644
index 0000000..d71afb9
--- /dev/null
+++ b/net-misc/nxclient/nxclient-3.5.0.7-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient/nxclient-3.5.0.7.ebuild,v 1.3 2011/08/23 17:20:12 hwoarang Exp $
+
+EAPI=2
+inherit eutils versionator
+
+MAJOR_PV="$(get_version_component_range 1-3)"
+FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
+DESCRIPTION="X11/VNC/NXServer client (remote desktops over low-bandwidth links)"
+HOMEPAGE="http://www.nomachine.com/"
+SRC_URI="amd64? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/nxclient-${FULL_PV}.x86_64.tar.gz )
+ x86? ( http://64.34.161.181/download/${MAJOR_PV}/Linux/nxclient-${FULL_PV}.i386.tar.gz )"
+LICENSE="nomachine"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+RESTRICT="strip"
+
+DEPEND=""
+RDEPEND="dev-libs/expat
+ >=dev-libs/openssl-0.9.8
+ media-libs/audiofile
+ virtual/jpeg:62
+ =media-libs/libpng-1.2*
+ media-libs/freetype
+ media-libs/fontconfig
+ x11-libs/libXft
+ x11-libs/libX11
+ x11-libs/libXdmcp
+ x11-libs/libXrender
+ x11-libs/libXau
+ x11-libs/libXext
+ sys-libs/zlib"
+
+S=${WORKDIR}/NX
+
+src_install()
+{
+ # we install nxclient into /usr/NX, to make sure it doesn't clash
+ # with libraries installed for FreeNX
+ local binaries="nxclient nxesd nxkill nxservice nxssh"
+
+ for x in $binaries; do
+ into /usr/NX
+ dobin bin/$x
+ into /usr
+ make_wrapper $x ./$x /usr/NX/bin /usr/NX/lib || die
+ done
+
+ dodir /usr/NX/lib
+ cp -P lib/libXcompsh.so* lib/libXcomp.so* "${D}"/usr/NX/lib
+
+ dodir /usr/NX/share
+ cp -R share "${D}"/usr/NX
+
+ # Add icons/desktop entries (missing in the tarball)
+ cd share/icons
+ for size in *; do
+ dodir /usr/share/icons/hicolor/${size}/apps
+ for icon in admin desktop icon wizard; do
+ dosym /usr/NX/share/icons/${size}/nxclient-${icon}.png \
+ /usr/share/icons/hicolor/${size}/apps
+ done
+ done
+ make_desktop_entry "nxclient" "NX Client" nxclient-icon
+ make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin
+ make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard
+}