From: | "Alexandre Rostovtsev (tetromino)" <tetromino@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/sparkleshare: metadata.xml ChangeLog sparkleshare-0.8.4.ebuild |
Date: | Tue, 01 May 2012 23:52:06 |
Message-Id: | 20120501235147.47BCD2004B@flycatcher.gentoo.org |
1 | tetromino 12/05/01 23:51:47 |
2 | |
3 | Added: metadata.xml ChangeLog sparkleshare-0.8.4.ebuild |
4 | Log: |
5 | New ebuild for a Dropbox-like collaboration and sharing tool (bug #362295); thanks to Sven Mueller, Christoph Brill (egore), Aurélien Delogu, and Travis Hansen. |
6 | |
7 | (Portage version: 2.2.0_alpha101/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/sparkleshare/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sparkleshare/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sparkleshare/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>gnome</herd> |
21 | <use> |
22 | <flag name="nautilus">Build the <pkg>gnome-base/nautilus</pkg> extension</flag> |
23 | </use> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 net-misc/sparkleshare/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sparkleshare/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sparkleshare/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for net-misc/sparkleshare |
36 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/net-misc/sparkleshare/ChangeLog,v 1.1 2012/05/01 23:51:47 tetromino Exp $ |
38 | |
39 | *sparkleshare-0.8.4 (01 May 2012) |
40 | |
41 | 01 May 2012; Alexandre Rostovtsev <tetromino@g.o> |
42 | +sparkleshare-0.8.4.ebuild, +metadata.xml: |
43 | New ebuild for a Dropbox-like collaboration and sharing tool (bug #362295); |
44 | thanks to Sven Mueller, Christoph Brill (egore), Aurélien Delogu, and Travis |
45 | Hansen. |
46 | |
47 | |
48 | |
49 | |
50 | 1.1 net-misc/sparkleshare/sparkleshare-0.8.4.ebuild |
51 | |
52 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sparkleshare/sparkleshare-0.8.4.ebuild?rev=1.1&view=markup |
53 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/sparkleshare/sparkleshare-0.8.4.ebuild?rev=1.1&content-type=text/plain |
54 | |
55 | Index: sparkleshare-0.8.4.ebuild |
56 | =================================================================== |
57 | # Copyright 1999-2012 Gentoo Foundation |
58 | # Distributed under the terms of the GNU General Public License v2 |
59 | # $Header: /var/cvsroot/gentoo-x86/net-misc/sparkleshare/sparkleshare-0.8.4.ebuild,v 1.1 2012/05/01 23:51:47 tetromino Exp $ |
60 | |
61 | EAPI="4" |
62 | |
63 | GCONF_DEBUG="no" # --enable-debug does not do anything |
64 | PYTHON_DEPEND="nautilus? 2" |
65 | |
66 | inherit gnome2 mono python |
67 | |
68 | DESCRIPTION="Git-based collaboration and file sharing tool" |
69 | HOMEPAGE="http://www.sparkleshare.org" |
70 | SRC_URI="http://github.com/downloads/hbons/SparkleShare/${PN}-linux-${PV}.tar.gz" |
71 | LICENSE="GPL-3" |
72 | KEYWORDS="~amd64 ~x86" |
73 | SLOT="0" |
74 | IUSE="nautilus" # ayatana |
75 | |
76 | COMMON_DEPEND=">=dev-lang/mono-2.8 |
77 | >=dev-dotnet/glib-sharp-2.12.7 |
78 | >=dev-dotnet/gtk-sharp-2.12.10 |
79 | dev-dotnet/notify-sharp |
80 | dev-dotnet/webkit-sharp |
81 | nautilus? ( || ( |
82 | ( |
83 | >=dev-python/nautilus-python-1.1-r1 |
84 | >=gnome-base/nautilus-3 ) |
85 | ( |
86 | <dev-python/nautilus-python-1.1 |
87 | =gnome-base/nautilus-2* ) |
88 | ) ) |
89 | " |
90 | RDEPEND="${COMMON_DEPEND} |
91 | >=dev-vcs/git-1.7.3 |
92 | gnome-base/gvfs |
93 | net-misc/curl[ssl] |
94 | net-misc/openssh |
95 | nautilus? ( || ( |
96 | ( |
97 | dev-python/pygobject:3 |
98 | >=gnome-base/nautilus-3[introspection] |
99 | x11-libs/gtk+:3[introspection] ) |
100 | ( |
101 | dev-python/pygobject:2 |
102 | dev-python/pygtk:2 ) |
103 | ) ) |
104 | " |
105 | DEPEND="${COMMON_DEPEND} |
106 | >=dev-util/intltool-0.40.6 |
107 | dev-util/pkgconfig |
108 | " |
109 | |
110 | pkg_setup () { |
111 | DOCS="AUTHORS NEWS TRADEMARK" |
112 | G2CONF="${G2CONF} |
113 | --disable-appindicator |
114 | $(use_enable nautilus nautilus-extension)" |
115 | # $(use_enable ayatana appindicator) |
116 | # requires >=appindicator-sharp-0.0.7 |
117 | python_pkg_setup |
118 | } |
119 | |
120 | src_prepare() { |
121 | gnome2_src_prepare |
122 | |
123 | # XXX: check if still needed in >=sparkleshare-0.9 |
124 | sed -e '/ update-desktop-database/ d' \ |
125 | -i SparkleShare/Makefile.in || die "sed failed" |
126 | } |
127 | |
128 | src_compile() { |
129 | # FIXME: parallel make fails |
130 | MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile |
131 | } |
132 | |
133 | pkg_postinst() { |
134 | gnome2_pkg_postinst |
135 | use nautilus && python_mod_optimize /usr/share/nautilus-python/extensions/ |
136 | } |
137 | |
138 | pkg_postrm() { |
139 | gnome2_pkg_postrm |
140 | use nautilus && python_mod_cleanup /usr/share/nautilus-python/extensions/ |
141 | } |