blob: 57f0c4c2eeb6b5cca4c8a8984a32a4da5e5db834 (
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
45
46
47
48
49
50
51
52
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit eutils autotools
DESCRIPTION="Cairo-dock is a fast, responsive, Mac OS X-like dock."
HOMEPAGE="http://www.cairo-dock.org"
SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="glitz xcomposite"
RDEPEND="dev-libs/dbus-glib
dev-libs/glib:2
x11-libs/gtk+:2
x11-libs/gtkglext
x11-libs/libXrender
dev-libs/libxml2
gnome-base/librsvg
sys-apps/dbus
x11-libs/cairo
xcomposite? (
x11-libs/libXtst
x11-libs/libXcomposite
x11-libs/libXinerama
)
glitz? ( media-libs/glitz )
"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-util/intltool
sys-devel/gettext"
#FIXME: May be a sed expression which solves the problem
# would be better ?
src_prepare() {
# Fix infinite loop while processing po/Makefile.in
eautoreconf
}
src_configure() {
econf $(use_enable glitz) $(use_enable xcomposite xextend)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
|