From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-973698-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EFE541396D1 for <garchives@archives.gentoo.org>; Tue, 19 Sep 2017 10:09:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CE4CE0BE2; Tue, 19 Sep 2017 10:09:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DDC97E0BE2 for <gentoo-commits@lists.gentoo.org>; Tue, 19 Sep 2017 10:09:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E100B33E4AD for <gentoo-commits@lists.gentoo.org>; Tue, 19 Sep 2017 10:08:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A95379083 for <gentoo-commits@lists.gentoo.org>; Tue, 19 Sep 2017 10:08:58 +0000 (UTC) From: "Bernard Cafarelli" <voyageur@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" <voyageur@gentoo.org> Message-ID: <1505815702.41d13d8533375682009e199e5d5a7a8d9b111ddd.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/x2goclient/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/x2goclient/Manifest net-misc/x2goclient/x2goclient-4.1.0.1.ebuild X-VCS-Directories: net-misc/x2goclient/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 41d13d8533375682009e199e5d5a7a8d9b111ddd X-VCS-Branch: master Date: Tue, 19 Sep 2017 10:08:58 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8eba2515-4fe0-4903-bea2-78fbf25c137f X-Archives-Hash: 08cb94d47777b51d70855078b5829fee commit: 41d13d8533375682009e199e5d5a7a8d9b111ddd Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Tue Sep 19 08:48:46 2017 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Tue Sep 19 10:08:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41d13d85 net-misc/x2goclient: 4.1.0.1 bump Package-Manager: Portage-2.3.8, Repoman-2.3.3 net-misc/x2goclient/Manifest | 1 + net-misc/x2goclient/x2goclient-4.1.0.1.ebuild | 104 ++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) diff --git a/net-misc/x2goclient/Manifest b/net-misc/x2goclient/Manifest index dcc27172d22..b1a42dd2774 100644 --- a/net-misc/x2goclient/Manifest +++ b/net-misc/x2goclient/Manifest @@ -1,2 +1,3 @@ DIST x2goclient-4.0.3.2.tar.gz 1560536 SHA256 f65a70463eae3d6d9fe6e4379f4ffacda50080a11f196d2792742f5b67fa0c6f SHA512 e390948360cb93db553b157b8146c0222f10a070a7b3f699a0e3be94bba0498b6fc6c0e064b6ecf753afc25a7447e5162f44305688fc2e68423a5530d73f0431 WHIRLPOOL 3d0b6aec77a8096541e810bf0a70d73caf63f34121d6931f5d3c2a721c4cd8b70e0eef1c902decc6733feb9a1cb09d3146baf4429532a60a013d0c36727059f7 DIST x2goclient-4.1.0.0.tar.gz 1889861 SHA256 4b5915bc3666228910342810a34f7a03fb6967c6b9c796633d9cdf8b89cc2b6a SHA512 cb7023b0b9de6d83ee8206bc0a36be0306cea19a3a8fc081ffe704691ae8744848bc3c329b3bf475e838b93c2ee4b9c96af20fae34e6d4822fcf7feb9c3cf6d0 WHIRLPOOL c2f3de5f164ae6794f439c8b59e72782f54ca802ee7ce5f3f52e0cd79625b372d61e8f5d8a6b2127fa3520545922150fc761a1874640ad1e3fbf7b5066ce3ade +DIST x2goclient-4.1.0.1.tar.gz 1891484 SHA256 0681b8a11b02652643cf1451a75d812c3ce9f3ee33c348b34178c130dcf77484 SHA512 6cbfb70fb7f522f0a5557ab36b6e15b6cae9ad184bd1d51b6c2f2acfa7b22d8fd9344bbfee141f2d5bd71f5adf9d3bd6d2c7db7b774cd8f8af5bcd25144de98d WHIRLPOOL cb4510229b20fcb5574ba8cdaf7e313ab9d37db99fb39a16d6088f545f39c7587f844f890c02c941674f8021fd5f5425d51aaaee34704f7c66c0addad98cf4ea diff --git a/net-misc/x2goclient/x2goclient-4.1.0.1.ebuild b/net-misc/x2goclient/x2goclient-4.1.0.1.ebuild new file mode 100644 index 00000000000..4774046e76f --- /dev/null +++ b/net-misc/x2goclient/x2goclient-4.1.0.1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit nsplugins qmake-utils + +DESCRIPTION="The X2Go Qt client" +HOMEPAGE="http://www.x2go.org" +SRC_URI="http://code.x2go.org/releases/source/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ldap nsplugin qt5" + +REQUIRED_USE="nsplugin? ( !qt5 )" + +DEPEND=">=net-libs/libssh-0.6.0_rc1 + net-print/cups + x11-libs/libXpm + ldap? ( net-nds/openldap ) + !qt5? ( + dev-qt/qtcore:4[ssl] + dev-qt/qtgui:4 + dev-qt/qtsvg:4 + ) + qt5? ( + 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 + ) +" +RDEPEND="${DEPEND} + net-misc/nx" + +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 + + mkdir -p "${CLIENT_BUILD}" || die + if use nsplugin; then + mkdir -p "${PLUGIN_BUILD}" || die + fi +} + +src_configure() { + cd "${CLIENT_BUILD}" || die + + if use qt5; then + eqmake5 "${S}"/x2goclient.pro + else + eqmake4 "${S}"/x2goclient.pro + fi + + if use nsplugin; then + cd "${PLUGIN_BUILD}" || die + X2GO_CLIENT_TARGET=plugin eqmake4 "${S}"/x2goclient.pro + fi +} + +src_compile() { + cd "${CLIENT_BUILD}" || die + emake + + if use nsplugin; then + cd "${PLUGIN_BUILD}" || die + emake + fi +} + +src_install() { + dobin "${CLIENT_BUILD}"/${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/icons/hildon/${PN}_hildon.svg ${PN}.svg + + insinto /usr/share/pixmaps + doins res/img/icons/${PN}.xpm + + domenu desktop/${PN}.desktop + doman man/man?/* + + if use nsplugin; then + # PLUGINS_DIR comes from nsplugins.eclass + exeinto /usr/$(get_libdir)/${PLUGINS_DIR} + doexe "${PLUGIN_BUILD}"/libx2goplugin.so + fi + + emake DESTDIR="${D}" PREFIX=/usr install_pluginprovider +}