blob: 011f04d405be87e2ef7cb5b4fb08c6c3a0926f85 (
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
53
54
55
56
57
58
59
|
# 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"
}
pkg_postinst() {
elog "Cairo-Dock is an app that draws on a RGBA GLX visual."
elog "Some users have noticed that if the dock is launched,"
elog "severals qt4-based applications could crash, like skype or vlc."
elog "If you have this problem, add the following line into your bashrc :"
echo
elog "alias vlc='export XLIB_SKIP_ARGB_VISUALS=1; vlc; unset XLIB_SKIP_ARGB_VISUALS'"
elog "see http://www.qtforum.org/article/26669/qt4-mess-up-the-opengl-context.html for more details."
}
|