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.7.1.ebuild
Date: Tue, 10 Jan 2012 21:50:15
Message-Id: 20120110214958.315662004B@flycatcher.gentoo.org
1 voyageur 12/01/10 21:49:58
2
3 Modified: ChangeLog
4 Added: rdesktop-1.7.1.ebuild
5 Log:
6 Version bump, mostly bugfixes
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.132 net-misc/rdesktop/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/ChangeLog?rev=1.132&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/ChangeLog?rev=1.132&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/ChangeLog?r1=1.131&r2=1.132
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/rdesktop/ChangeLog,v
20 retrieving revision 1.131
21 retrieving revision 1.132
22 diff -u -r1.131 -r1.132
23 --- ChangeLog 22 Aug 2011 10:02:51 -0000 1.131
24 +++ ChangeLog 10 Jan 2012 21:49:58 -0000 1.132
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/rdesktop
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/ChangeLog,v 1.131 2011/08/22 10:02:51 voyageur Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/ChangeLog,v 1.132 2012/01/10 21:49:58 voyageur Exp $
31 +
32 +*rdesktop-1.7.1 (10 Jan 2012)
33 +
34 + 10 Jan 2012; Bernard Cafarelli <voyageur@g.o> +rdesktop-1.7.1.ebuild:
35 + Version bump, mostly bugfixes
36
37 22 Aug 2011; Bernard Cafarelli <voyageur@g.o> rdesktop-1.7.0.ebuild,
38 rdesktop-1.7.0-r1.ebuild:
39
40
41
42 1.1 net-misc/rdesktop/rdesktop-1.7.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/rdesktop-1.7.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/rdesktop/rdesktop-1.7.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rdesktop-1.7.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-misc/rdesktop/rdesktop-1.7.1.ebuild,v 1.1 2012/01/10 21:49:58 voyageur Exp $
52
53 EAPI=4
54
55 inherit autotools eutils
56
57 MY_PV=${PV/_/-}
58
59 DESCRIPTION="A Remote Desktop Protocol Client"
60 HOMEPAGE="http://rdesktop.sourceforge.net/"
61 SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
62
63 LICENSE="GPL-3"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE="alsa ao debug ipv6 libsamplerate oss pcsc-lite"
67
68 S=${WORKDIR}/${PN}-${MY_PV}
69
70 RDEPEND=">=dev-libs/openssl-0.9.6b
71 x11-libs/libX11
72 x11-libs/libXext
73 x11-libs/libXau
74 x11-libs/libXdmcp
75 alsa? ( media-libs/alsa-lib )
76 ao? ( >=media-libs/libao-0.8.6 )
77 libsamplerate? ( media-libs/libsamplerate )
78 pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 )"
79 DEPEND="${RDEPEND}
80 dev-util/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 # Fix --enable-smartcard logic
92 epatch "${FILESDIR}"/${PN}-1.6.0-smartcard_configure.patch
93 # bug #280923
94 epatch "${FILESDIR}"/${PN}-1.7.0-libao_crash.patch
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=/usr \
111 $(use_with debug) \
112 $(use_with ipv6) \
113 $(use_with libsamplerate) \
114 $(use_enable pcsc-lite smartcard) \
115 ${sound_conf}
116 }
117
118 src_install() {
119 emake DESTDIR="${D}" install
120 dodoc doc/HACKING doc/TODO doc/keymapping.txt
121
122 # For #180313 - applies to versions >= 1.5.0
123 # Fixes sf.net bug
124 # http://sourceforge.net/tracker/index.php?func=detail&aid=1725634&group_id=24366&atid=381349
125 # check for next version to see if this needs to be removed
126 insinto /usr/share/rdesktop/keymaps
127 newins "${FILESDIR}/rdesktop-keymap-additional" additional
128 newins "${FILESDIR}/rdesktop-keymap-cs" cs
129 newins "${FILESDIR}/rdesktop-keymap-sk" sk
130 }