summaryrefslogtreecommitdiff
blob: a5c56faee1676627ab16ed2d960947d92de54989 (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
44
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit git gnome2-utils

EGIT_REPO_URI="git://anongit.opencompositing.org/users/crdlb/${PN}"
COMPIZ_RELEASE="0.5.2"

DESCRIPTION="Compiz Fusion Tray Icon and Manager (git)"
HOMEPAGE="http://opencompositing.org"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="gtk qt3 qt4"

RDEPEND="|| ( ~x11-wm/compiz-${PV} =x11-wm/compiz-${COMPIZ_RELEASE} )
	|| ( ~dev-python/compizconfig-python-${PV} =dev-python/compizconfig-python-${COMPIZ_RELEASE} )
	gtk? ( >=dev-python/pygtk-2.10 )
	qt3? ( dev-python/PyQt
	dev-python/ctypes )
	qt4? ( dev-python/PyQt4 )"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.19"

S="${WORKDIR}/${PN}"

src_install() {
	if use gtk ; then interfaces="${interfaces} gtk" ; fi
	if use qt3 ; then interfaces="${interfaces} qt3" ; fi
	if use qt4 ; then interfaces="${interfaces} qt4" ; fi
	make "interfaces=${interfaces}" DESTDIR="${D}" install || die "make install failed"
}

pkg_postinst() {
	if use gtk ; then gnome2_icon_cache_update ; fi

	ewarn "DO NOT report bugs to Gentoo's bugzilla"
	einfo "Please report all bugs at http://forums.gentoo-xeffects.org/"
	einfo "Thank you on behalf of the Gentoo Xeffects team"
}