Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/rdesktop: ChangeLog rdesktop-1.8.2.ebuild
Date: Wed, 21 May 2014 08:30:16
Message-Id: 20140521083012.1CD812004C@flycatcher.gentoo.org
1 voyageur 14/05/21 08:30:12
2
3 Modified: ChangeLog
4 Added: rdesktop-1.8.2.ebuild
5 Log:
6 Version bump, includes fix for #499858
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
9
10 Revision Changes Path
11 1.156 net-misc/rdesktop/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/ChangeLog?rev=1.156&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/ChangeLog?rev=1.156&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/ChangeLog?r1=1.155&r2=1.156
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/rdesktop/ChangeLog,v
20 retrieving revision 1.155
21 retrieving revision 1.156
22 diff -u -r1.155 -r1.156
23 --- ChangeLog 31 Jan 2014 23:32:25 -0000 1.155
24 +++ ChangeLog 21 May 2014 08:30:11 -0000 1.156
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/rdesktop
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/ChangeLog,v 1.155 2014/01/31 23:32:25 voyageur Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/ChangeLog,v 1.156 2014/05/21 08:30:11 voyageur Exp $
30 +
31 +*rdesktop-1.8.2 (21 May 2014)
32 +
33 + 21 May 2014; Bernard Cafarelli <voyageur@g.o> +rdesktop-1.8.2.ebuild:
34 + Version bump, includes fix for #499858
35
36 31 Jan 2014; Bernard Cafarelli <voyageur@g.o> -rdesktop-1.8.0.ebuild,
37 rdesktop-1.8.1.ebuild:
38
39
40
41 1.1 net-misc/rdesktop/rdesktop-1.8.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/rdesktop-1.8.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/rdesktop-1.8.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rdesktop-1.8.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/rdesktop-1.8.2.ebuild,v 1.1 2014/05/21 08:30:11 voyageur Exp $
51
52 EAPI=5
53
54 inherit autotools eutils
55
56 MY_PV=${PV/_/-}
57
58 DESCRIPTION="A Remote Desktop Protocol Client"
59 HOMEPAGE="http://rdesktop.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
61
62 LICENSE="GPL-3"
63 SLOT="0"
64 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"
65 IUSE="alsa ao debug ipv6 kerberos libsamplerate oss pcsc-lite"
66
67 S=${WORKDIR}/${PN}-${MY_PV}
68
69 RDEPEND=">=dev-libs/openssl-0.9.6b
70 x11-libs/libX11
71 x11-libs/libXext
72 x11-libs/libXau
73 x11-libs/libXdmcp
74 alsa? ( media-libs/alsa-lib )
75 ao? ( >=media-libs/libao-0.8.6 )
76 kerberos? ( net-libs/libgssglue )
77 libsamplerate? ( media-libs/libsamplerate )
78 pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 )"
79 DEPEND="${RDEPEND}
80 virtual/pkgconfig
81 x11-libs/libXt"
82
83 src_prepare() {
84 # Prevent automatic stripping
85 local strip="$(echo '$(STRIP) $(DESTDIR)$(bindir)/rdesktop')"
86 sed -i -e "s:${strip}::" Makefile.in \
87 || die "sed failed in Makefile.in"
88
89 # Automagic dependency on libsamplerate
90 epatch "${FILESDIR}"/${PN}-1.6.0-sound_configure.patch
91 # bug #280923
92 epatch "${FILESDIR}"/${PN}-1.7.0-libao_crash.patch
93
94 epatch_user
95
96 eautoreconf
97 }
98
99 src_configure() {
100 if use ao; then
101 sound_conf=$(use_with ao sound libao)
102 else if use alsa; then
103 sound_conf=$(use_with alsa sound alsa)
104 else
105 sound_conf=$(use_with oss sound oss)
106 fi
107 fi
108
109 econf \
110 --with-openssl="${EPREFIX}"/usr \
111 $(use_with debug) \
112 $(use_with ipv6) \
113 $(use_with libsamplerate) \
114 $(use_enable kerberos credssp) \
115 $(use_enable pcsc-lite smartcard) \
116 ${sound_conf}
117 }
118
119 src_install() {
120 emake DESTDIR="${D}" install
121 dodoc doc/HACKING doc/TODO doc/keymapping.txt
122
123 # For #180313 - applies to versions >= 1.5.0
124 # Fixes sf.net bug
125 # http://sourceforge.net/tracker/index.php?func=detail&aid=1725634&group_id=24366&atid=381349
126 # check for next version to see if this needs to be removed
127 insinto /usr/share/rdesktop/keymaps
128 newins "${FILESDIR}/rdesktop-keymap-additional" additional
129 newins "${FILESDIR}/rdesktop-keymap-cs" cs
130 newins "${FILESDIR}/rdesktop-keymap-sk" sk
131 }