diff options
author | Joonas Niilola <juippis@gentoo.org> | 2021-07-01 09:21:48 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-07-01 09:27:03 +0300 |
commit | 511234aca7a2a192a316be017ee62c7cf3af589c (patch) | |
tree | 4e6b0e47a17f856fef9022300fd2c69326e7bdf6 /net-misc/nxplayer | |
parent | net-misc/nxplayer: bump to 7.6.2.4 (diff) | |
download | gentoo-511234aca7a2a192a316be017ee62c7cf3af589c.tar.gz gentoo-511234aca7a2a192a316be017ee62c7cf3af589c.tar.bz2 gentoo-511234aca7a2a192a316be017ee62c7cf3af589c.zip |
net-misc/nxplayer: ebuild enhancement for 7.6.2.4
- EAPI-8, libcrypt dep.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/nxplayer')
-rw-r--r-- | net-misc/nxplayer/nxplayer-7.6.2.4.ebuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/net-misc/nxplayer/nxplayer-7.6.2.4.ebuild b/net-misc/nxplayer/nxplayer-7.6.2.4.ebuild index 03b09921d4c5..c1df02810a65 100644 --- a/net-misc/nxplayer/nxplayer-7.6.2.4.ebuild +++ b/net-misc/nxplayer/nxplayer-7.6.2.4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 MY_P="nomachine-enterprise-client_$(ver_cut 1-3)_$(ver_cut 4)" @@ -14,9 +14,12 @@ S="${WORKDIR}"/NX/etc/NX/player/packages LICENSE="nomachine" SLOT="0" KEYWORDS="-* ~amd64 ~x86" -RESTRICT="strip" RDEPEND=" + || ( + sys-libs/glibc[crypt(+)] + sys-libs/libxcrypt[compat] + ) dev-libs/glib:2 dev-libs/openssl:0 " @@ -24,15 +27,10 @@ RDEPEND=" QA_PREBUILT="*" src_install() { - local NXROOT=/opt/NX - - #dodir /etc/NX/localhost - #echo 'PlayerRoot = "'"${NXROOT}"'"' > ${D}/etc/NX/localhost/player.cfg - dodir /opt - tar xozf nxclient.tar.gz -C "${ED}"/opt - tar xozf nxplayer.tar.gz -C "${ED}"/opt + tar xozf nxclient.tar.gz -C "${ED}"/opt || die + tar xozf nxplayer.tar.gz -C "${ED}"/opt || die doenvd "${FILESDIR}"/50nxplayer - dosym ${NXROOT}/bin/nxplayer /opt/bin/nxplayer + dosym -r /opt/NX/bin/nxplayer /opt/bin/nxplayer } |