Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/nxplayer/
Date: Thu, 01 Jul 2021 06:27:14
Message-Id: 1625120823.511234aca7a2a192a316be017ee62c7cf3af589c.juippis@gentoo
1 commit: 511234aca7a2a192a316be017ee62c7cf3af589c
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 1 06:21:48 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 1 06:27:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=511234ac
7
8 net-misc/nxplayer: ebuild enhancement for 7.6.2.4
9
10 - EAPI-8, libcrypt dep.
11
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 net-misc/nxplayer/nxplayer-7.6.2.4.ebuild | 18 ++++++++----------
15 1 file changed, 8 insertions(+), 10 deletions(-)
16
17 diff --git a/net-misc/nxplayer/nxplayer-7.6.2.4.ebuild b/net-misc/nxplayer/nxplayer-7.6.2.4.ebuild
18 index 03b09921d4c..c1df02810a6 100644
19 --- a/net-misc/nxplayer/nxplayer-7.6.2.4.ebuild
20 +++ b/net-misc/nxplayer/nxplayer-7.6.2.4.ebuild
21 @@ -1,7 +1,7 @@
22 # Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=7
26 +EAPI=8
27
28 MY_P="nomachine-enterprise-client_$(ver_cut 1-3)_$(ver_cut 4)"
29
30 @@ -14,9 +14,12 @@ S="${WORKDIR}"/NX/etc/NX/player/packages
31 LICENSE="nomachine"
32 SLOT="0"
33 KEYWORDS="-* ~amd64 ~x86"
34 -RESTRICT="strip"
35
36 RDEPEND="
37 + || (
38 + sys-libs/glibc[crypt(+)]
39 + sys-libs/libxcrypt[compat]
40 + )
41 dev-libs/glib:2
42 dev-libs/openssl:0
43 "
44 @@ -24,15 +27,10 @@ RDEPEND="
45 QA_PREBUILT="*"
46
47 src_install() {
48 - local NXROOT=/opt/NX
49 -
50 - #dodir /etc/NX/localhost
51 - #echo 'PlayerRoot = "'"${NXROOT}"'"' > ${D}/etc/NX/localhost/player.cfg
52 -
53 dodir /opt
54 - tar xozf nxclient.tar.gz -C "${ED}"/opt
55 - tar xozf nxplayer.tar.gz -C "${ED}"/opt
56 + tar xozf nxclient.tar.gz -C "${ED}"/opt || die
57 + tar xozf nxplayer.tar.gz -C "${ED}"/opt || die
58
59 doenvd "${FILESDIR}"/50nxplayer
60 - dosym ${NXROOT}/bin/nxplayer /opt/bin/nxplayer
61 + dosym -r /opt/NX/bin/nxplayer /opt/bin/nxplayer
62 }