summaryrefslogtreecommitdiff
path: root/net-im/synapse/synapse-9999.ebuild
blob: 1e97ce7de192e88a665193bfd3df03a245680564 (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
54
55
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

KDE_REQUIRED="never"
inherit kde4-base mono git autotools

DESCRIPTION="XMPP client written in .Net"
HOMEPAGE="http://synapse.im/"
EGIT_REPO_URI="git://github.com/FireRabbit/synapse.git"

LICENSE="GPL-3"
KEYWORDS=""
SLOT="4"
IUSE=""

COMMONDEPEND="
	dev-dotnet/dbus-glib-sharp
	dev-dotnet/glib-sharp
	dev-dotnet/gtk-sharp
	>=dev-dotnet/mono-addins-0.3.1
	>=dev-dotnet/notify-sharp-0.4.0_pre
	>=kde-base/kdebindings-csharp-${KDE_MINIMAL}[webkit]
"
DEPEND="${COMMONDEPEND}
"
RDEPEND="${COMMONDEPEND}
"

EGIT_PATCHES=(
	"${FILESDIR}/${PN}-unbundle-libs.patch"
	"${FILESDIR}/${PN}-fix-libdir.patch"
)

src_prepare() {
	git_src_prepare

	rm -f contrib/Hyena.Gui.dll* contrib/Mono.Addins.* contrib/NDesk.Dbus.dll*

	eautoreconf
}

src_configure() {
	default
}

src_compile() {
	default
}

src_install() {
	emake DESTDIR="${D}" install || die
}