summaryrefslogtreecommitdiff
path: root/net-misc/x2goclient
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/x2goclient')
-rw-r--r--net-misc/x2goclient/Manifest2
-rw-r--r--net-misc/x2goclient/x2goclient-4.1.2.3.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/net-misc/x2goclient/Manifest b/net-misc/x2goclient/Manifest
index 09cfd294a6f2..01bf726b9b7b 100644
--- a/net-misc/x2goclient/Manifest
+++ b/net-misc/x2goclient/Manifest
@@ -1,3 +1,5 @@
DIST x2goclient-4.1.2.2.tar.gz 2576404 BLAKE2B 2a29f73516282af119cc4ea0a511c29156cdb71564adcdbf307f60298b87c2a7eee0ca121a3e165a63c110130c2704b49b90b3b9abc6a39b6105b1f22ac5afd0 SHA512 85e6db6a34629512be64376883c205d8bf0696c4697cf216970b57a91ffe68dcf7f38bfda0d396c104602f6991b596c5fb0934e75fa4a93f7d0e41c2b3f5ac4d
+DIST x2goclient-4.1.2.3.tar.gz 2582072 BLAKE2B ee167d7f8b293220ce5d9a315dc11997ba9cf8bc5c9840155888ddbf816d18a39553659ccd363619f6198d1e7ebadc9932327082ddfc2bb83970df61ada86778 SHA512 1bd59efaaf560bf36dad979cbb67cf90df13943688e1259e86d441ba17677d523ad1f69061d2f65b0ca8eee9e7d00ee242e95c555b4446d72f37acef70a9b435
EBUILD x2goclient-4.1.2.2-r1.ebuild 1260 BLAKE2B 5d5d3f2ac8938f530f273573ff0cfeccdf2043ab70f66169a87feda0f6bc586ab440884e16e5cb363013b6f25a88f78b5cb3905eea065f1ceea27dfb6f0becae SHA512 b3a54be7590fb0e4ed75166c00b0535970867070a6925105d849a1749d5d753139329405f1bc3872e8f4b7678a0c4215217d753225d4970bcf796c7d0940a207
+EBUILD x2goclient-4.1.2.3.ebuild 1257 BLAKE2B c8fc8f7618f3e0fdbfb3d880c02521f37295949f8e6a705b992d21f76d20afd858c0d0182bc2922cf04fcd3f57b7bb21fe4cbf3d3c5604ccec43bbe9f7a47b2e SHA512 bff1a3036869c35b964fdf14d82c7cf94c7fc45accace16e47cb106b3532c929ca43d3576837c416ea2fccb4a6c94e8ac8ecac8ad0ab6a3b5714aabe0b871f3b
MISC metadata.xml 253 BLAKE2B 8557c513beef73e834b0a000c523a3241da961c6307b6e98ac857dad0888c4bbd028c98f8499f01086c24e8f2f57c64bc75db20154dab232adefc2510fccac03 SHA512 67dd372ef7b684101d9198c6199a6403f8750132d80aab4f4daa4b31ebaea3d82eb9a18e904734e2ac10c77b237d67210055949ff1c6d5aad4f75951a096884a
diff --git a/net-misc/x2goclient/x2goclient-4.1.2.3.ebuild b/net-misc/x2goclient/x2goclient-4.1.2.3.ebuild
new file mode 100644
index 000000000000..8738dcc0114d
--- /dev/null
+++ b/net-misc/x2goclient/x2goclient-4.1.2.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop qmake-utils xdg
+
+DESCRIPTION="The X2Go Qt client"
+HOMEPAGE="https://wiki.x2go.org/doku.php"
+SRC_URI="https://code.x2go.org/releases/source/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ldap"
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ >=net-libs/libssh-0.7.5-r2
+ net-print/cups
+ x11-libs/libXpm
+ ldap? ( net-nds/openldap:= )"
+RDEPEND="${DEPEND}
+ net-misc/nx"
+BDEPEND="dev-qt/linguist-tools:5"
+
+CLIENT_BUILD="${WORKDIR}"/${P}.client_build
+PLUGIN_BUILD="${WORKDIR}"/${P}.plugin_build
+
+src_prepare() {
+ default
+
+ if ! use ldap; then
+ sed -e "s/-lldap//" -i x2goclient.pro || die
+ sed -e "s/#define USELDAP//" -i src/x2goclientconfig.h || die
+ fi
+}
+
+src_configure() {
+ eqmake5 "${S}"/x2goclient.pro
+}
+
+src_install() {
+ dobin ${PN}
+
+ local size
+ for size in 16 32 48 64 128 ; do
+ doicon -s ${size} res/img/icons/${size}x${size}/${PN}.png
+ done
+ newicon -s scalable res/img/x2go-logos/x2go-logo.svg ${PN}.svg
+
+ insinto /usr/share/pixmaps
+ doins res/img/icons/${PN}.xpm
+
+ domenu desktop/${PN}.desktop
+ doman man/man?/*
+}