/[gentoo-x86]/net-misc/sparkleshare/sparkleshare-0.8.4.ebuild
Gentoo

Contents of /net-misc/sparkleshare/sparkleshare-0.8.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat May 5 03:20:40 2012 UTC (2 years, 7 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +2 -2 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 tetromino 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jdhore 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/sparkleshare/sparkleshare-0.8.4.ebuild,v 1.1 2012/05/01 23:51:47 tetromino Exp $
4 tetromino 1.1
5     EAPI="4"
6    
7     GCONF_DEBUG="no" # --enable-debug does not do anything
8     PYTHON_DEPEND="nautilus? 2"
9    
10     inherit gnome2 mono python
11    
12     DESCRIPTION="Git-based collaboration and file sharing tool"
13     HOMEPAGE="http://www.sparkleshare.org"
14     SRC_URI="http://github.com/downloads/hbons/SparkleShare/${PN}-linux-${PV}.tar.gz"
15     LICENSE="GPL-3"
16     KEYWORDS="~amd64 ~x86"
17     SLOT="0"
18     IUSE="nautilus" # ayatana
19    
20     COMMON_DEPEND=">=dev-lang/mono-2.8
21     >=dev-dotnet/glib-sharp-2.12.7
22     >=dev-dotnet/gtk-sharp-2.12.10
23     dev-dotnet/notify-sharp
24     dev-dotnet/webkit-sharp
25     nautilus? ( || (
26     (
27     >=dev-python/nautilus-python-1.1-r1
28     >=gnome-base/nautilus-3 )
29     (
30     <dev-python/nautilus-python-1.1
31     =gnome-base/nautilus-2* )
32     ) )
33     "
34     RDEPEND="${COMMON_DEPEND}
35     >=dev-vcs/git-1.7.3
36     gnome-base/gvfs
37     net-misc/curl[ssl]
38     net-misc/openssh
39     nautilus? ( || (
40     (
41     dev-python/pygobject:3
42     >=gnome-base/nautilus-3[introspection]
43     x11-libs/gtk+:3[introspection] )
44     (
45     dev-python/pygobject:2
46     dev-python/pygtk:2 )
47     ) )
48     "
49     DEPEND="${COMMON_DEPEND}
50     >=dev-util/intltool-0.40.6
51 jdhore 1.2 virtual/pkgconfig
52 tetromino 1.1 "
53    
54     pkg_setup () {
55     DOCS="AUTHORS NEWS TRADEMARK"
56     G2CONF="${G2CONF}
57     --disable-appindicator
58     $(use_enable nautilus nautilus-extension)"
59     # $(use_enable ayatana appindicator)
60     # requires >=appindicator-sharp-0.0.7
61     python_pkg_setup
62     }
63    
64     src_prepare() {
65     gnome2_src_prepare
66    
67     # XXX: check if still needed in >=sparkleshare-0.9
68     sed -e '/ update-desktop-database/ d' \
69     -i SparkleShare/Makefile.in || die "sed failed"
70     }
71    
72     src_compile() {
73     # FIXME: parallel make fails
74     MAKEOPTS="${MAKEOPTS} -j1" gnome2_src_compile
75     }
76    
77     pkg_postinst() {
78     gnome2_pkg_postinst
79     use nautilus && python_mod_optimize /usr/share/nautilus-python/extensions/
80     }
81    
82     pkg_postrm() {
83     gnome2_pkg_postrm
84     use nautilus && python_mod_cleanup /usr/share/nautilus-python/extensions/
85     }

  ViewVC Help
Powered by ViewVC 1.1.20