aboutsummaryrefslogtreecommitdiff
blob: 441e1fe334c1b26d973bf7d5d985defe83d00219 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
inherit autotools eutils dotnet

MY_P=${PN}-${PV#*_pre}

DESCRIPTION="a C# client implementation for Desktop Notifications"
HOMEPAGE="http://www.ndesk.org/NotifySharp"
#SRC_URI="mirror://gentoo/${MY_P}.tar.bz2"
SRC_URI="https://github.com/meebey/notify-sharp/archive/${PV}.tar.gz"

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

RDEPEND=">=dev-lang/mono-4.0.2.5
	>=dev-dotnet/gtk-sharp-2.12.21:2
	>=dev-dotnet/dbus-sharp-0.7
	>=dev-dotnet/dbus-sharp-glib-0.5
	>=x11-libs/libnotify-0.4.5"
DEPEND="${RDEPEND}"

S=${WORKDIR}/${MY_P}

src_prepare() {
	sed -i "s@gmcs@mcs@g" configure.ac || die
	sed -i "s@dbus-sharp-1.0@dbus-sharp-2.0@g" configure.ac || die
	sed -i "s@dbus-sharp-glib-1.0@dbus-sharp-glib-2.0@g" configure.ac || die
	eautoreconf
	default
}

src_configure() {
	econf $(use_enable doc docs)
}