diff options
author | Sam James <sam@gentoo.org> | 2021-04-12 01:52:12 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-12 02:14:18 +0100 |
commit | 164fbf77f37ced8173e527a1aa1d36b293b99d80 (patch) | |
tree | 7adcbf2dc821db69417e01d8390983323962f3d1 /net-misc/nxplayer | |
parent | net-im/kouchat: eutils->desktop (diff) | |
download | gentoo-164fbf77f37ced8173e527a1aa1d36b293b99d80.tar.gz gentoo-164fbf77f37ced8173e527a1aa1d36b293b99d80.tar.bz2 gentoo-164fbf77f37ced8173e527a1aa1d36b293b99d80.zip |
net-misc/nxplayer: eutils->wrapper
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/nxplayer')
-rw-r--r-- | net-misc/nxplayer/nxplayer-5.1.24.1.ebuild | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net-misc/nxplayer/nxplayer-5.1.24.1.ebuild b/net-misc/nxplayer/nxplayer-5.1.24.1.ebuild index 67c1b6331100..ea546bdea493 100644 --- a/net-misc/nxplayer/nxplayer-5.1.24.1.ebuild +++ b/net-misc/nxplayer/nxplayer-5.1.24.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils versionator + +inherit versionator wrapper MY_P="nomachine-enterprise-client_$(get_version_component_range 1-3)_$(get_version_component_range 4)" @@ -10,30 +11,29 @@ DESCRIPTION="Client for NoMachine remote servers" HOMEPAGE="https://www.nomachine.com" SRC_URI="amd64? ( http://download.nomachine.com/download/$(get_version_component_range 1-2)/Linux/${MY_P}_x86_64.tar.gz ) x86? ( http://download.nomachine.com/download/$(get_version_component_range 1-2)/Linux/${MY_P}_i686.tar.gz )" +S="${WORKDIR}"/NX/etc/NX/player/packages + LICENSE="nomachine" SLOT="0" KEYWORDS="-* ~amd64 ~x86" -IUSE="" RESTRICT="strip" -DEPEND="" -RDEPEND="dev-libs/glib:2 - dev-libs/openssl:0" - -S=${WORKDIR}/NX/etc/NX/player/packages +RDEPEND=" + dev-libs/glib:2 + dev-libs/openssl:0 +" QA_PREBUILT="*" -src_install() -{ +src_install() { local NXROOT=/opt/NX -# dodir /etc/NX/localhost -# echo 'PlayerRoot = "'"${NXROOT}"'"' > ${D}/etc/NX/localhost/player.cfg + #dodir /etc/NX/localhost + #echo 'PlayerRoot = "'"${NXROOT}"'"' > ${D}/etc/NX/localhost/player.cfg dodir /opt - tar xozf nxclient.tar.gz -C "${D}"/opt - tar xozf nxplayer.tar.gz -C "${D}"/opt + tar xozf nxclient.tar.gz -C "${ED}"/opt + tar xozf nxplayer.tar.gz -C "${ED}"/opt make_wrapper nxplayer ${NXROOT}/bin/nxplayer ${NXROOT} ${NXROOT}/lib /opt/bin } |