blob: 3c668a4e02bbb9ad7590f3d938d5353c3bb4d675 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-hotkeys/pidgin-hotkeys-0.2.3.ebuild,v 1.10 2008/01/07 23:09:51 tester Exp $
inherit eutils
DESCRIPTION="pidgin-hotkeys is a Pidgin plugin that allows you to define global hotkeys for various actions such as toggling buddy list, fetching queued messages, opening preferences or account dialog."
HOMEPAGE="http://gaim-hotkeys.sourceforge.net"
SRC_URI="mirror://sourceforge/gaim-hotkeys/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 hppa ppc x86"
IUSE=""
RDEPEND="net-im/pidgin
>=x11-libs/gtk+-2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
pkg_setup() {
if ! built_with_use net-im/pidgin gtk; then
eerror "You need to compile net-im/pidgin with USE=gtk"
die "Missing gtk USE flag on net-im/pidgin"
fi
}
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die
}
|