blob: 86070c62ee2d31e0ead310baf128f1112218d90d (
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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kwin/kwin-4.3.5-r1.ebuild,v 1.4 2010/06/21 15:53:08 scarabeus Exp $
EAPI="2"
KMNAME="kdebase-workspace"
OPENGL_REQUIRED="optional"
inherit kde4-meta
DESCRIPTION="KDE window manager"
KEYWORDS="~alpha amd64 ~arm ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
IUSE="debug xcomposite xinerama"
# NOTE disabled for now: captury? ( media-libs/libcaptury )
COMMONDEPEND="
$(add_kdebase_dep kephal)
$(add_kdebase_dep libkworkspace)
x11-libs/libXdamage
x11-libs/libXfixes
>=x11-libs/libXrandr-1.2.1
x11-libs/libXrender
opengl? ( virtual/opengl )
xcomposite? ( x11-libs/libXcomposite )
xinerama? ( x11-libs/libXinerama )
"
DEPEND="${COMMONDEPEND}
x11-proto/damageproto
x11-proto/fixesproto
x11-proto/randrproto
x11-proto/renderproto
xcomposite? ( x11-proto/compositeproto )
xinerama? ( x11-proto/xineramaproto )
"
RDEPEND="${COMMONDEPEND}"
PATCHES=(
"${FILESDIR}/4.3.3-fix_no_opengl.patch"
"${FILESDIR}/${PV}-magiclamp-minimize.patch"
)
src_prepare() {
# NOTE uncomment when enabled again by upstream
# if ! use captury; then
# sed -e 's:^PKGCONFIG..libcaptury:#DONOTFIND &:' \
# -i kwin/effects/CMakeLists.txt || \
# die "Making captury optional failed."
# fi
kde4-meta_src_prepare
}
src_configure() {
mycmakeargs=(
$(cmake-utils_use_with opengl OpenGL)
)
kde4-meta_src_configure
}
|