dev-vcs/gitoxide: add 0.27.0, drop 0.26.0
[gentoo-zh.git] / net-misc / nomachine-enterprise-client / nomachine-enterprise-client-7.9.2.1.ebuild
blob3ecef774df7ede03ce9e2226ca1b65b547fbd14b
1 # Copyright 1999-2022 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=7
6 inherit wrapper desktop
8 MY_V=$(ver_cut 1-2)
9 MY_PV=$(ver_rs 3 '_')
11 DESCRIPTION="NoMachine Enterprise Client"
12 HOMEPAGE="https://www.nomachine.com"
13 SRC_URI="https://download.nomachine.com/download/${MY_V}/Linux/${PN}_${MY_PV}_x86_64.tar.gz"
14 S="${WORKDIR}/NX/etc/NX/player/packages"
16 LICENSE="nomachine"
17 SLOT="0"
18 KEYWORDS="~amd64"
19 IUSE=""
20 RESTRICT="strip"
22 DEPEND=""
23 BDEPEND=""
24 RDEPEND="dev-libs/glib:2
25 sys-libs/libudev-compat
26 virtual/libcrypt:0
27 dev-libs/openssl:0"
29 QA_PREBUILT="*"
31 src_install() {
32 local NXROOT=/opt/NX
34 doicon "${FILESDIR}/${PN}.png"
35 make_desktop_entry "nxplayer" "NoMachine Enterprise Client" "" "Network"
36 dodir /opt
37 tar xzof nxclient.tar.gz -C "${D}"/opt
38 tar xzof nxplayer.tar.gz -C "${D}"/opt
40 make_wrapper nxplayer ${NXROOT}/bin/nxplayer ${NXROOT} ${NXROOT}/lib /opt/bin