summaryrefslogtreecommitdiff
blob: bc57ea7677cf8618591f33e53d0857c29efdbb94 (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
# Copyright 2000-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils gnome2 mono

DESCRIPTION="Makes giving files to others very simple"
HOMEPAGE="http://code.google.com/p/giver"
SRC_URI="http://giver.googlecode.com/files/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND=">=dev-dotnet/gtk-sharp-2
	>=dev-dotnet/gnome-sharp-2
	>=dev-dotnet/notify-sharp-0.4.0
	>=net-dns/avahi-0.6.10"

DEPEND="${RDEPEND}"

pkg_setup() {

	if ! built_with_use net-dns/avahi mono; then
		eerror "We need avahi-sharp"
		eerror "Please recompile net-dns/avahi with USE=\"mono\""
		die
	fi

}

src_unpack() {
	unpack ${A}
	cd ${S}/src
	epatch ${FILESDIR}/${PN}-username_face2.patch

	gnome2_omf_fix
}

pkg_postinst() {

	elog " To get this working avahi must be started, do this by issueing:"
	elog
	elog " $ /etc/init.d/avahi-daemon start"
	elog
	elog " Or you might just add it to the default runlevel for constant use:"
	elog
	elog " $ rc-update add avahi-daemon default"

}