summaryrefslogtreecommitdiff
blob: af7e30b86c5c8b63356e17cdc8f1a50ae9e0762d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-volume-manager/gnome-volume-manager-1.5.1.ebuild,v 1.3 2005/10/11 01:41:26 allanonjl Exp $

inherit eutils gnome2

DESCRIPTION="Daemon that enforces volume-related policies"
HOMEPAGE="http://www.gnome.org/"
SRC_URI="http://primates.ximian.com/~fejj/gvm//${P}.tar.gz
	http://dev.gentoo.org/~cardoe/files/${PN}-1.3.3-reconnect_dbus.patch.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="doc crypt"

RDEPEND=">=x11-libs/gtk+-2.6
	>=sys-apps/dbus-0.31
	>=sys-apps/hal-0.5.0
	>=gnome-base/libglade-2
	>=gnome-base/libgnomeui-2
	sys-apps/pmount"

DEPEND="${RDEPEND}
	dev-util/pkgconfig
	>=dev-util/intltool-0.27.2"

DOCS="AUTHORS ChangeLog README HACKING NEWS TODO"
USE_DESTDIR="1"


pkg_setup() {
	G2CONF="--with-eject-command=/usr/bin/eject"
}

src_unpack() {
	unpack ${A}
	cd ${S}

	#epatch ${FILESDIR}/gnome-volume-manager-1.3.2-set_defaults.patch
	epatch ${DISTDIR}/gnome-volume-manager-1.3.3-reconnect_dbus.patch.bz2
	# Doesn't apply to current cvs.  Must look at leater.
	#epatch ${FILESDIR}/gnome-volume-manager-1.3.3-pmount_crypt.patch
	epatch ${FILESDIR}/gnome-volume-manager-1.5.1-use-pmount-2.patch
}

pkg_postinst() {
	gnome2_pkg_postinst

	einfo "To start the gnome-volume-manager daemon you need to configure"
	einfo "it through it's preferences capplet. Also the HAL daemon (hald)"
	einfo "needs to be running or it will shut down."
}