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

EAPI="3"

inherit eutils

DESCRIPTION="Provides GnomeSession Presence status support to Pidgin"
HOMEPAGE="https://sardemff7.github.com/"
SRC_URI="https://github.com/downloads/sardemff7/Purple-Presence/${P}.tar.xz"

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_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
}