Add new pacakges
This commit is contained in:
4
net-misc/nxclient/Manifest
Normal file
4
net-misc/nxclient/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
DIST nxclient-3.5.0-7.i386.tar.gz 4390184 BLAKE2B d1ff4bee11ef4a1675495b9894b75e2ab56faf0decf9f01232dea37db0a92f947c3e2e9bc9d8c4e6c2329945f28fb1a158f9a5a82d205c5b6a17ecd9250859fb SHA512 df14edc2cde518172439350407c23683b8275ec93b75d5da52108ef45deaf312cb56b872d76b9ff458fe187e9a0c3c8dfbb75bd0b12a2f1f424e1f629b89f397
|
||||
DIST nxclient-3.5.0-7.x86_64.tar.gz 4577325 BLAKE2B 9eae09d432065892ff1f9dd4c123f98eac25c7b0975313bb9caa2ab187fda6710668b81c7b36649550905ab436ae82e512abc2d47fd376f6c3582fdfcbb0c473 SHA512 37fb1fe5f4ba5be20076a7e8f9a99e66c894dd8c884a7dc1e6d5a4393d25e7db829564c4666e86c0fc897786dde79565257bdfafcc244c64357ccb59717fa875
|
||||
DIST nxfixglibc1190.tar.gz 5103 BLAKE2B 0cea4ef1c47a63591bc6c2ecbb0f5a1f3c22b67f487811f257a999cf3e604abfa4edaa54eaeaebe0a5856b9f6f9f7582a7a21868ab3c7cc00bb18c53fdfe0845 SHA512 0b9d0aa04b7d830b64f5b5d29bab72fc185abab1525367816f54f0bb6ef09895ad4b2ffeb93c8aa7a26d6952c8b028f7b40a5e6269a59f6785591f82bc083d37
|
||||
EBUILD nxclient-3.5.0.7.ebuild 2585 BLAKE2B 8bc720612dd24c96bb56dff6ddd44a45e34a9443fc0a169ccc45feeddecd781764d30cd1c754086ddd639ad06ce612960016e5bd9a4b55dbcdb97b31f06c80e6 SHA512 cf7e9584badcc88439705a5db87394ae6fd60a38c32d5553def3692e7450616fd0a50035f83b4e865b8480086a78574f30241941122ba8b604e96b5f08ce3b12
|
||||
82
net-misc/nxclient/nxclient-3.5.0.7.ebuild
Normal file
82
net-misc/nxclient/nxclient-3.5.0.7.ebuild
Normal file
@@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2013 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.4 2013/08/01 20:54:56 ssuominen Exp $
|
||||
|
||||
EAPI=6
|
||||
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://ftp.disconnected-by-peer.at/NX/Linux/nxclient-${FULL_PV}.x86_64.tar.gz )
|
||||
x86? ( http://ftp.disconnected-by-peer.at/NX/Linux/nxclient-${FULL_PV}.i386.tar.gz )
|
||||
https://github.com/dimbor-ru/freenx-server/files/4128228/nxfixglibc1190.tar.gz"
|
||||
LICENSE="nomachine"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE="cups"
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="dev-libs/expat
|
||||
dev-libs/openssl-compat:0.9.8
|
||||
media-libs/audiofile
|
||||
virtual/jpeg-compat:62
|
||||
media-libs/libpng-compat:1.2
|
||||
media-libs/freetype
|
||||
media-libs/fontconfig
|
||||
cups? ( net-print/cups )
|
||||
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_compile() {
|
||||
$(tc-getCC) -shared -ldl -fPIC ${WORKDIR}/nxfixglibc1190/nxfixglibc1190.c -o ${WORKDIR}/NX/lib/nxfixglibc1190.so
|
||||
default
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
# we install nxclient into /usr/NX, to make sure it doesn't clash
|
||||
# with libraries installed for FreeNX
|
||||
local binaries="nxclient nxclient.bin nxesd nxkill nxservice nxssh"
|
||||
use cups && binaries="$binaries nxprint"
|
||||
|
||||
cp bin/nxclient bin/nxclient.bin
|
||||
echo '#!/bin/sh' > bin/nxclient
|
||||
echo 'LD_PRELOAD=/usr/NX/lib/nxfixglibc1190.so /usr/NX/bin/nxclient.bin $@' >> bin/nxclient
|
||||
|
||||
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* lib/nxfixglibc1190.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
|
||||
#doicon -s ${size} share/icons/hicolor/${size}/apps
|
||||
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/nxclient-${icon}.png
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user