From: | "Markos Chandras (hwoarang)" <hwoarang@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in gnome-extra/nautilus-dropbox: metadata.xml ChangeLog nautilus-dropbox-0.6.7.ebuild |
Date: | Fri, 28 Jan 2011 16:51:15 |
Message-Id: | 20110128165100.9F84120054@flycatcher.gentoo.org |
1 | hwoarang 11/01/28 16:51:00 |
2 | |
3 | Added: metadata.xml ChangeLog |
4 | nautilus-dropbox-0.6.7.ebuild |
5 | Log: |
6 | Moved from sunrise overlay. Thanks to everybody from bug 237433 that helped developing this ebuild |
7 | |
8 | (Portage version: 2.1.9.35/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.1 gnome-extra/nautilus-dropbox/metadata.xml |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/nautilus-dropbox/metadata.xml?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/nautilus-dropbox/metadata.xml?rev=1.1&content-type=text/plain |
15 | |
16 | Index: metadata.xml |
17 | =================================================================== |
18 | <?xml version="1.0" encoding="UTF-8"?> |
19 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 | <pkgmetadata> |
21 | <herd>no-herd</herd> |
22 | <maintainer> |
23 | <email>hwoarang@g.o</email> |
24 | <name>Markos Chandras</name> |
25 | </maintainer> |
26 | <longdescription lang="en"> |
27 | </longdescription> |
28 | </pkgmetadata> |
29 | |
30 | |
31 | |
32 | |
33 | 1.1 gnome-extra/nautilus-dropbox/ChangeLog |
34 | |
35 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/nautilus-dropbox/ChangeLog?rev=1.1&view=markup |
36 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/nautilus-dropbox/ChangeLog?rev=1.1&content-type=text/plain |
37 | |
38 | Index: ChangeLog |
39 | =================================================================== |
40 | # ChangeLog for gnome-extra/nautilus-dropbox |
41 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
42 | # $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-dropbox/ChangeLog,v 1.1 2011/01/28 16:51:00 hwoarang Exp $ |
43 | |
44 | *nautilus-dropbox-0.6.7 (28 Jan 2011) |
45 | |
46 | 28 Jan 2011; Markos Chandras <hwoarang@g.o> |
47 | +nautilus-dropbox-0.6.7.ebuild, +metadata.xml: |
48 | Moved from sunrise overlay. Thanks to everybody from bug 237433 that helped |
49 | developing this ebuild |
50 | |
51 | |
52 | |
53 | |
54 | 1.1 gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.7.ebuild |
55 | |
56 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.7.ebuild?rev=1.1&view=markup |
57 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.7.ebuild?rev=1.1&content-type=text/plain |
58 | |
59 | Index: nautilus-dropbox-0.6.7.ebuild |
60 | =================================================================== |
61 | # Copyright 1999-2011 Gentoo Foundation |
62 | # Distributed under the terms of the GNU General Public License v2 |
63 | # $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.7.ebuild,v 1.1 2011/01/28 16:51:00 hwoarang Exp $ |
64 | |
65 | EAPI="3" |
66 | PYTHON_DEPEND="2" |
67 | inherit eutils python linux-info gnome2 |
68 | |
69 | DESCRIPTION="Store, Sync and Share Files Online" |
70 | HOMEPAGE="http://www.dropbox.com/" |
71 | SRC_URI="http://www.dropbox.com/download?dl=packages/${P}.tar.bz2" |
72 | |
73 | LICENSE="GPL-2" |
74 | SLOT="0" |
75 | KEYWORDS="~amd64 ~x86" |
76 | IUSE="debug" |
77 | |
78 | RDEPEND="gnome-base/nautilus |
79 | dev-libs/glib:2 |
80 | dev-python/pygtk |
81 | x11-libs/gtk+:2 |
82 | x11-libs/libnotify |
83 | x11-libs/libXinerama" |
84 | |
85 | DEPEND="${RDEPEND} |
86 | dev-util/pkgconfig |
87 | dev-python/docutils" |
88 | |
89 | DOCS="AUTHORS ChangeLog NEWS README" |
90 | G2CONF="${G2CONF} $(use_enable debug) --disable-static" |
91 | |
92 | CONFIG_CHECK="INOTIFY_USER" |
93 | |
94 | pkg_setup () { |
95 | check_extra_config |
96 | enewgroup dropbox |
97 | python_pkg_setup |
98 | } |
99 | |
100 | src_install () { |
101 | gnome2_src_install |
102 | |
103 | local extensiondir="$(pkg-config --variable=extensiondir libnautilus-extension)" |
104 | [ -z ${extensiondir} ] && die "pkg-config unable to get nautilus extensions dir" |
105 | |
106 | find "${D}" -name '*.la' -exec rm -f {} + || die |
107 | |
108 | fowners root:dropbox "${extensiondir}"/libnautilus-dropbox.so |
109 | fperms o-rwx "${extensiondir}"/libnautilus-dropbox.so |
110 | } |
111 | |
112 | pkg_postinst () { |
113 | gnome2_pkg_postinst |
114 | |
115 | elog |
116 | elog "Add any users who wish to have access to the dropbox nautilus" |
117 | elog "plugin to the group 'dropbox'. You need to setup a drobox account" |
118 | elog "before using this plugin. Visit ${HOMEPAGE} for more information." |
119 | elog |
120 | } |