summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com>2009-09-24 17:05:31 +0000
committerFabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com>2009-09-24 17:05:31 +0000
commit9c5a16dac71e5ae28148dc7060f2830777247d1d (patch)
tree5c9c1577504a0c56fe40f8a7d100768813ea6fb5
parentnet-im/qutecom: drop dependency on obsolete virtual/x11 (diff)
downloadsunrise-9c5a16dac71e5ae28148dc7060f2830777247d1d.tar.gz
sunrise-9c5a16dac71e5ae28148dc7060f2830777247d1d.tar.bz2
sunrise-9c5a16dac71e5ae28148dc7060f2830777247d1d.zip
gnome-extra/nautilus-dropbox: Added kernel configuration option check. Ebuild improvement, thanks to ssuominen
svn path=/sunrise/; revision=9285
-rw-r--r--gnome-extra/nautilus-dropbox/ChangeLog5
-rw-r--r--gnome-extra/nautilus-dropbox/Manifest4
-rw-r--r--gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild20
3 files changed, 18 insertions, 11 deletions
diff --git a/gnome-extra/nautilus-dropbox/ChangeLog b/gnome-extra/nautilus-dropbox/ChangeLog
index fc51c2cea..c9ff04ecc 100644
--- a/gnome-extra/nautilus-dropbox/ChangeLog
+++ b/gnome-extra/nautilus-dropbox/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 24 Sep 2009; Fabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com>
+ nautilus-dropbox-0.6.1.ebuild:
+ Added kernel configuration option check. Ebuild improvement, thanks to
+ ssuominen
+
03 Sep 2009; Fabiano Francesconi (elbryan) <fabiano.francesconi@gmail.com>
nautilus-dropbox-0.6.1.ebuild:
Added libXinerama dep to ebuild
diff --git a/gnome-extra/nautilus-dropbox/Manifest b/gnome-extra/nautilus-dropbox/Manifest
index 482830617..375096703 100644
--- a/gnome-extra/nautilus-dropbox/Manifest
+++ b/gnome-extra/nautilus-dropbox/Manifest
@@ -1,4 +1,4 @@
DIST nautilus-dropbox-0.6.1.tar.bz2 306545 RMD160 52638938e453dc3b7e13d52fda41c964d6338892 SHA1 c22c91a368fc03daac44db95d43fb9aa6ff0a92a SHA256 104520fc0a16c733cfd1e9a4ffa0ab1f4ad9a2a5dbf15357011ea3b9c331e36f
-EBUILD nautilus-dropbox-0.6.1.ebuild 1521 RMD160 6d9e0726ed8c518abb8d1ff1d6e0bbdeb0a87f59 SHA1 a4bec0b3148eaf62b82ac51ad1b9081a65c6aa4e SHA256 02828cc6df237cbda21d465d2f90da90cf080483a05cf1b88190d356831f6d91
-MISC ChangeLog 593 RMD160 e47e08a5c770dc00ee9a81f15f91752bf36277af SHA1 1a9ca8074ae265ed10bf8692e8fadb5fce5d8f8e SHA256 a7e2012ecf419bd1c0c2dd65ad2a7fe85dc1006b76feb10e481ba57d50552360
+EBUILD nautilus-dropbox-0.6.1.ebuild 1565 RMD160 28ba44c5c71107ebd901e4f762b049acfa896074 SHA1 d21f926e8b14c387a338acb7a4f1e55aa6d4f977 SHA256 1e99f188f10fdfb53025d603a33ae45242886e84b6f6d49a61e1f0bb8f911012
+MISC ChangeLog 789 RMD160 63176a25152a7d15b998fbe13d1327b6bdee6a34 SHA1 18bb9f46a4b55fe378111e33b47d399e3226b8bb SHA256 d206807c79b0ad7b2fb74bc4cd7c4b3791a98bf468b36cc93b8fe184282c6976
MISC metadata.xml 171 RMD160 ed284df01c230fc7990a6b5888b39166d23f29ba SHA1 f3d64a69044b710e23fb874b3ee4cd338858c8b4 SHA256 a7b30fbacd0e4c312c07a3efac112a3794c81d134442d8104325734d03425adf
diff --git a/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild b/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild
index 27294b9cf..279a08468 100644
--- a/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild
+++ b/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild
@@ -2,7 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils gnome2
+EAPI="2"
+
+inherit eutils linux-info gnome2
DESCRIPTION="Store, Sync and Share Files Online"
HOMEPAGE="http://www.getdropbox.com/"
@@ -25,25 +27,25 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README"
+CONFIG_CHECK="INOTIFY_USER"
+
pkg_setup () {
+ linux-info_pkg_setup
+
# create the group for the daemon, if necessary
# truthfully this should be run for any dropbox plugin
enewgroup dropbox
}
-src_install () {
- gnome2_src_install
+pkg_postinst () {
+ gnome2_pkg_postinst
# Allow only for users in the dropbox group
# see http://forums.getdropbox.com/topic.php?id=3329&replies=5#post-22898
local extensiondir="$(pkg-config --variable=extensiondir libnautilus-extension)"
[ -z ${extensiondir} ] && die "pkg-config unable to get nautilus extensions dir"
- fowners root:dropbox "${extensiondir}"/libnautilus-dropbox.{a,la,so} || die "fowners failed"
- fperms o-rwx "${extensiondir}"/libnautilus-dropbox.{a,la,so} || die "fperms failed"
-}
-
-pkg_postinst () {
- gnome2_pkg_postinst
+ chown root:dropbox "${ROOT}${extensiondir}"/libnautilus-dropbox.{a,la,so} || die "fowners failed"
+ chmod o-rwx "${ROOT}${extensiondir}"/libnautilus-dropbox.{a,la,so} || die "fperms failed"
elog "Add any users who wish to have access to the dropbox nautilus"
elog "plugin to the group 'dropbox'."