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

EAPI="3"

inherit autotools git-2

DESCRIPTION="Provides GnomeSession Presence status support to Pidgin"
HOMEPAGE="https://sardemff7.github.com/"
SRC_URI=""
EGIT_REPO_URI="git://github.com/sardemff7/Purple-Presence.git"

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

RDEPEND=">=net-im/pidgin-2.4.0
	>=dev-libs/glib-2.26.0"
DEPEND="${RDEPEND}
	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="${D}" install || die
	find "${ED}" -name '*.la' -exec rm -f '{}' + || die
	dodoc AUTHORS ChangeLog NEWS README
}