From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2A2431388C1 for ; Tue, 10 Nov 2015 13:01:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26B9AE0801; Tue, 10 Nov 2015 13:01:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7EC42E0801 for ; Tue, 10 Nov 2015 13:01:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63A2333E3A9 for ; Tue, 10 Nov 2015 13:01:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66575A44 for ; Tue, 10 Nov 2015 13:01:29 +0000 (UTC) From: "Bernard Cafarelli" 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" Message-ID: <1447160456.05c2aeab2f37471e5a1fcd1a7216b072cc7d238f.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rdesktop/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/rdesktop/rdesktop-1.8.3-r2.ebuild X-VCS-Directories: net-misc/rdesktop/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 05c2aeab2f37471e5a1fcd1a7216b072cc7d238f X-VCS-Branch: master Date: Tue, 10 Nov 2015 13:01:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 23477eb5-d4e6-4cb2-b40d-f9cf5bdc8f9d X-Archives-Hash: 2852d017da0245098cd3432a6a5ccc84 commit: 05c2aeab2f37471e5a1fcd1a7216b072cc7d238f Author: Bernard Cafarelli gentoo org> AuthorDate: Tue Nov 10 11:04:31 2015 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Tue Nov 10 13:00:56 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05c2aeab net-misc/rdesktop: add libressl support, bug #565252 Package-Manager: portage-2.2.24 net-misc/rdesktop/rdesktop-1.8.3-r2.ebuild | 77 ++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/net-misc/rdesktop/rdesktop-1.8.3-r2.ebuild b/net-misc/rdesktop/rdesktop-1.8.3-r2.ebuild new file mode 100644 index 0000000..e887598 --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.8.3-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +MY_PV=${PV/_/-} + +DESCRIPTION="A Remote Desktop Protocol Client" +HOMEPAGE="http://rdesktop.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="alsa ao debug ipv6 kerberos libressl libsamplerate oss pcsc-lite xrandr" + +S=${WORKDIR}/${PN}-${MY_PV} + +RDEPEND=" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl:= ) + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXau + x11-libs/libXdmcp + alsa? ( media-libs/alsa-lib ) + ao? ( >=media-libs/libao-0.8.6 ) + kerberos? ( net-libs/libgssglue ) + libsamplerate? ( media-libs/libsamplerate ) + pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 ) + xrandr? ( x11-libs/libXrandr )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/libXt" + +src_prepare() { + # Prevent automatic stripping + local strip="$(echo '$(STRIP) $(DESTDIR)$(bindir)/rdesktop')" + sed -i -e "s:${strip}::" Makefile.in \ + || die "sed failed in Makefile.in" + + # Automagic dependencies + epatch "${FILESDIR}"/${PN}-1.6.0-sound_configure.patch + epatch "${FILESDIR}"/${P}-xrandr_configure.patch + + epatch_user + + eautoreconf +} + +src_configure() { + if use ao; then + sound_conf=$(use_with ao sound libao) + else if use alsa; then + sound_conf=$(use_with alsa sound alsa) + else + sound_conf=$(use_with oss sound oss) + fi + fi + + econf \ + --with-openssl="${EPREFIX}"/usr \ + $(use_with debug) \ + $(use_with ipv6) \ + $(use_with libsamplerate) \ + $(use_with xrandr) \ + $(use_enable kerberos credssp) \ + $(use_enable pcsc-lite smartcard) \ + ${sound_conf} +} + +src_install() { + emake DESTDIR="${D}" install + dodoc doc/HACKING doc/TODO doc/keymapping.txt +}