Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/spice: ChangeLog spice-0.7.2.ebuild
Date: Sat, 05 Feb 2011 07:53:16
Message-Id: 20110205075305.04F4920054@flycatcher.gentoo.org
1 dev-zero 11/02/05 07:53:04
2
3 Modified: ChangeLog
4 Added: spice-0.7.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.1.9.35/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 app-emulation/spice/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 5 Jan 2011 15:03:39 -0000 1.6
24 +++ ChangeLog 5 Feb 2011 07:53:04 -0000 1.7
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-emulation/spice
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.6 2011/01/05 15:03:39 dev-zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/ChangeLog,v 1.7 2011/02/05 07:53:04 dev-zero Exp $
30 +
31 +*spice-0.7.2 (05 Feb 2011)
32 +
33 + 05 Feb 2011; Tiziano Müller <dev-zero@g.o> +spice-0.7.2.ebuild:
34 + Version bump.
35
36 05 Jan 2011; Tiziano Müller <dev-zero@g.o> spice-0.7.1.ebuild,
37 +files/spice.protocol, +files/spice.schemas:
38
39
40
41 1.1 app-emulation/spice/spice-0.7.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/spice-0.7.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/spice/spice-0.7.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: spice-0.7.2.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-emulation/spice/spice-0.7.2.ebuild,v 1.1 2011/02/05 07:53:04 dev-zero Exp $
51
52 EAPI=3
53
54 inherit autotools eutils gnome2-utils
55
56 DESCRIPTION="SPICE server and client."
57 HOMEPAGE="http://spice-space.org/"
58 SRC_URI="http://spice-space.org/download/releases/${P}.tar.bz2"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~amd64"
63 IUSE="gnome +gui kde static-libs uri"
64
65 RDEPEND=">=app-emulation/spice-protocol-0.7.0
66 >=x11-libs/pixman-0.17.7
67 media-libs/alsa-lib
68 media-libs/celt:0.5.1
69 dev-libs/openssl
70 >=x11-libs/libXrandr-1.2
71 x11-libs/libX11
72 x11-libs/libXext
73 x11-libs/libXrender
74 x11-libs/libXfixes
75 virtual/jpeg
76 sys-libs/zlib
77 gui? ( =dev-games/cegui-0.6* )
78 uri? ( dev-libs/uriparser
79 gnome? ( gnome-base/gconf ) )"
80 DEPEND="dev-util/pkgconfig
81 ${RDEPEND}"
82
83 # maintainer notes:
84 # * opengl support is currently broken
85
86 src_prepare() {
87 if use uri ; then
88 epatch "${FILESDIR}/0001-Added-initial-connection-url-handling-using-the-urip.patch"
89 eautoreconf
90 fi
91 }
92
93 src_configure() {
94 local myconf=""
95 use gui && myconf+="--enable-gui "
96 econf ${myconf} \
97 $(use_enable static-libs static)
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die "emake install failed"
102 dodoc NEWS TODO
103 use static-libs || rm "${D}"/usr/lib*/*.la
104
105 if use uri ; then
106 if use gnome ; then
107 insinto /etc/gconf/schemas
108 doins "${FILESDIR}/spice.schemas"
109 fi
110 if use kde ; then
111 insinto /usr/share/kde4/services
112 doins "${FILESDIR}/spice.protocol"
113 fi
114 fi
115 }
116
117 pkg_preinst() {
118 use uri && use gnome && gnome2_gconf_savelist
119 }
120 pkg_postinst() {
121 use uri && use gnome && gnome2_gconf_install
122 }
123
124 pkg_prerm() {
125 use uri && use gnome && gnome2_gconf_uninstall
126 }