From: | "Tiziano Mueller (dev-zero)" <dev-zero@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/spice-gtk: spice-gtk-0.5.ebuild ChangeLog metadata.xml |
Date: | Thu, 24 Feb 2011 13:46:19 |
Message-Id: | 20110224134609.B745820054@flycatcher.gentoo.org |
1 | dev-zero 11/02/24 13:46:09 |
2 | |
3 | Added: spice-gtk-0.5.ebuild ChangeLog metadata.xml |
4 | Log: |
5 | Initial commit, ebuild written by me (bug #353780). |
6 | |
7 | (Portage version: 2.1.9.39/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/spice-gtk/spice-gtk-0.5.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.5.ebuild?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.5.ebuild?rev=1.1&content-type=text/plain |
14 | |
15 | Index: spice-gtk-0.5.ebuild |
16 | =================================================================== |
17 | # Copyright 1999-2011 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/spice-gtk-0.5.ebuild,v 1.1 2011/02/24 13:46:09 dev-zero Exp $ |
20 | |
21 | EAPI=3 |
22 | |
23 | inherit python gnome2-utils |
24 | |
25 | PYTHON_DEPEND="python? 2" |
26 | |
27 | DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI." |
28 | HOMEPAGE="http://spice-space.org http://gitorious.org/spice-gtk" |
29 | SRC_URI="http://spice-space.org/download/gtk/${P}.tar.bz2" |
30 | |
31 | LICENSE="LGPL-2.1" |
32 | SLOT="0" |
33 | KEYWORDS="~amd64" |
34 | IUSE="+cairo doc gnome gstreamer introspection kde +pulseaudio python static-libs" |
35 | |
36 | RDEPEND="pulseaudio? ( !gstreamer? ( media-sound/pulseaudio ) ) |
37 | gstreamer? ( media-libs/gstreamer ) |
38 | >=app-emulation/spice-protocol-0.6.3 |
39 | >=x11-libs/pixman-0.17.7 |
40 | >=media-libs/celt-0.5.1.1:0.5.1 |
41 | dev-libs/openssl |
42 | x11-libs/gtk+:2 |
43 | dev-libs/glib:2 |
44 | >=x11-libs/cairo-1.2 |
45 | virtual/jpeg |
46 | sys-libs/zlib |
47 | introspection? ( dev-libs/gobject-introspection ) |
48 | python? ( dev-python/pygtk:2 ) |
49 | gnome? ( gnome-base/gconf )" |
50 | DEPEND="${RDEPEND} |
51 | dev-lang/python |
52 | dev-lang/perl |
53 | dev-perl/Text-CSV |
54 | dev-python/pyparsing |
55 | dev-util/pkgconfig" |
56 | |
57 | pkg_setup() { |
58 | if use gstreamer && use pulseaudio ; then |
59 | ewarn "spice-gtk can use only one audio backend: gstreamer will be used since you enabled both." |
60 | fi |
61 | } |
62 | |
63 | src_configure() { |
64 | local audio="no" |
65 | use pulseaudio && audio="pulse" |
66 | use gstreamer && audio="gstreamer" |
67 | |
68 | econf \ |
69 | $(use_enable static-libs static) \ |
70 | $(use_enable introspection) \ |
71 | --with-audio="${audio}" \ |
72 | $(use_with !cairo x11) \ |
73 | $(use_with python) |
74 | |
75 | } |
76 | |
77 | src_install() { |
78 | emake -j1 DESTDIR="${D}" install || die "emake install failed" |
79 | |
80 | use static-libs || rm -rf "${D}"/usr/lib*/*.la |
81 | use python && rm -rf "${D}"/usr/lib*/python*/site-packages/*.la |
82 | use doc || rm -rf "${D}/usr/share/gtk-doc" |
83 | |
84 | dodoc AUTHORS NEWS README TODO |
85 | |
86 | if use gnome ; then |
87 | insinto /etc/gconf/schemas |
88 | doins "${FILESDIR}/spice.schemas" |
89 | fi |
90 | if use kde ; then |
91 | insinto /usr/share/kde4/services |
92 | doins "${FILESDIR}/spice.protocol" |
93 | fi |
94 | |
95 | } |
96 | |
97 | pkg_preinst() { |
98 | use gnome && gnome2_gconf_savelist |
99 | } |
100 | |
101 | pkg_postinst() { |
102 | use gnome && gnome2_gconf_install |
103 | } |
104 | |
105 | pkg_prerm() { |
106 | use gnome && gnome2_gconf_uninstall |
107 | } |
108 | |
109 | |
110 | |
111 | 1.1 net-misc/spice-gtk/ChangeLog |
112 | |
113 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?rev=1.1&view=markup |
114 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/ChangeLog?rev=1.1&content-type=text/plain |
115 | |
116 | Index: ChangeLog |
117 | =================================================================== |
118 | # ChangeLog for net-misc/spice-gtk |
119 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
120 | # $Header: /var/cvsroot/gentoo-x86/net-misc/spice-gtk/ChangeLog,v 1.1 2011/02/24 13:46:09 dev-zero Exp $ |
121 | |
122 | *spice-gtk-0.5 (24 Feb 2011) |
123 | |
124 | 24 Feb 2011; Tiziano Müller <dev-zero@g.o> +spice-gtk-0.5.ebuild, |
125 | +files/spice.protocol, +files/spice.schemas, +metadata.xml: |
126 | Initial commit, ebuild written by me (bug #353780). |
127 | |
128 | |
129 | |
130 | |
131 | 1.1 net-misc/spice-gtk/metadata.xml |
132 | |
133 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/metadata.xml?rev=1.1&view=markup |
134 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/spice-gtk/metadata.xml?rev=1.1&content-type=text/plain |
135 | |
136 | Index: metadata.xml |
137 | =================================================================== |
138 | <?xml version="1.0" encoding="UTF-8"?> |
139 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
140 | <pkgmetadata> |
141 | <herd>no-herd</herd> |
142 | <maintainer> |
143 | <email>dev-zero@g.o</email> |
144 | <name>Tiziano Müller</name> |
145 | </maintainer> |
146 | <use> |
147 | <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag> |
148 | </use> |
149 | </pkgmetadata> |