aboutsummaryrefslogtreecommitdiff
blob: 747626a3b731e9636dbdd16b3c21f5c1c8264216 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v3
# $Header: $

EAPI="3"

inherit autotools git-2

DESCRIPTION="Pidgin-Libnotify+ plugin provides libnotify popups to Pidgin"
HOMEPAGE="https://sardemff7.github.com/"
SRC_URI=""
EGIT_REPO_URI="git://github.com/sardemff7/Pidgin-Libnotify-plus.git"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug nls"

RDEPEND=">=net-im/pidgin-2.4.0[gtk]
	>=x11-libs/libnotify-0.4.5"
DEPEND="${RDEPEND}
	sys-devel/gettext
	dev-util/pkgconfig"

src_prepare() {
	mkdir -p ${S}/m4
	intltoolize --force --copy --automake || die
	eautoreconf || die
}

src_configure() {
	econf \
		$(use_enable debug) \
		$(use_enable nls) \
		--disable-static
}

src_install() {
	emake DESTDIR="${ED}" install || die
	find "${ED}" -name '*.la' -exec rm -f '{}' + || die
	dodoc AUTHORS ChangeLog NEWS README
}