2022-04-05 13:16:49 +02:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2010-10-04 21:24:16 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2023-07-20 20:28:34 +02:00
|
|
|
EAPI=7
|
2021-07-01 16:49:09 +02:00
|
|
|
WX_GTK_VER="3.0"
|
2010-10-04 21:24:16 +02:00
|
|
|
|
2023-07-20 20:28:34 +02:00
|
|
|
inherit wxwidgets git-r3
|
2010-10-04 21:24:16 +02:00
|
|
|
|
|
|
|
DESCRIPTION="OpenNX is an OSS drop-in replacement for Nomachine's nxclient"
|
2022-04-05 13:16:49 +02:00
|
|
|
HOMEPAGE="https://sourceforge.net/projects/opennx/"
|
2021-07-01 16:49:09 +02:00
|
|
|
#SRC_URI="mirror://sourceforge/opennx/opennx/CI-source/${P}.tar.gz"
|
|
|
|
EGIT_REPO_URI="https://github.com/dimbor-ru/opennx.git"
|
2010-10-04 21:24:16 +02:00
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
2022-04-05 13:16:49 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2010-10-04 21:24:16 +02:00
|
|
|
IUSE=""
|
|
|
|
|
2021-07-01 16:49:09 +02:00
|
|
|
DEPEND="x11-libs/wxGTK:3.0
|
2010-10-04 21:24:16 +02:00
|
|
|
dev-libs/opensc
|
|
|
|
net-print/cups
|
2022-04-05 13:20:59 +02:00
|
|
|
virtual/libusb:1
|
2010-10-04 21:24:16 +02:00
|
|
|
net-fs/samba[client]
|
2021-07-01 16:49:09 +02:00
|
|
|
net-misc/nx
|
|
|
|
net-misc/curl
|
|
|
|
x11-libs/libXau
|
|
|
|
x11-libs/libXmu"
|
|
|
|
|
2010-10-04 21:24:16 +02:00
|
|
|
RDEPEND="${DEPEND}
|
|
|
|
!net-misc/nxclient"
|
|
|
|
|
|
|
|
PROVIDE="virtual/nxclient"
|
|
|
|
|
2021-07-01 16:49:09 +02:00
|
|
|
#S="${WORKDIR}/opennx-0.16"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
emake -f Makefile.am
|
|
|
|
default
|
|
|
|
}
|
2013-11-27 21:23:00 +01:00
|
|
|
|
2010-10-04 21:24:16 +02:00
|
|
|
src_configure() {
|
2013-11-27 21:23:00 +01:00
|
|
|
need-wxwidgets unicode
|
2010-10-04 21:24:16 +02:00
|
|
|
|
|
|
|
econf \
|
|
|
|
--with-wx-config="${WX_CONFIG}" || die "econf failed"
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
make DESTDIR="${D}" install || die "make install failed"
|
|
|
|
# nxssh expects the client to be named nxclient so create a symlink
|
|
|
|
# to make this hardcoded app happy
|
|
|
|
dosym opennx /usr/bin/nxclient || die "failed creating symlink"
|
|
|
|
dodoc ChangeLog
|
|
|
|
}
|