blob: adfa63035aba361ff5e290f0bffc20ec1d4c7e11 (
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
60
61
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.0.2.ebuild,v 1.1 2008/03/11 00:06:57 philantrop Exp $
EAPI="1"
KMNAME=kdebase-workspace
OPENGL_REQUIRED="optional"
inherit kde4-meta
DESCRIPTION="System settings utility"
IUSE="debug htmlhandbook opengl +usb xinerama"
KEYWORDS="~amd64 ~x86"
COMMONDEPEND="
>=app-misc/strigi-0.5.7
>=dev-libs/glib-2
media-libs/fontconfig
>=media-libs/freetype-2
>=x11-libs/libxklavier-3.2
x11-libs/libXcursor
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXft
>=x11-libs/libXrandr-1.2.1
x11-libs/libXtst
opengl? ( virtual/opengl )
usb? ( >=dev-libs/libusb-0.1.10a )
xinerama? ( x11-libs/libXinerama )"
DEPEND="${COMMONDEPEND}
x11-proto/xextproto
x11-proto/kbproto
xinerama? ( x11-proto/xineramaproto )"
RDEPEND="${COMMONDEPEND}
|| ( x11-misc/xkeyboard-config
x11-misc/xkbdata )
x11-apps/setxkbmap"
KMEXTRA="kcontrol/"
KMEXTRACTONLY="krunner/org.kde.krunner.App.xml
krunner/org.kde.screensaver.xml
kwin/
libs/
plasma/"
PATCHES="${FILESDIR}/${P}-opengl.patch"
# FIXME: is have_openglxvisual found without screensaver
src_compile() {
# Old keyboard-detection code is unmaintained,
# so we force the new stuff, using libxklavier.
mycmakeargs="${mycmakeargs}
-DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
-DWITH_GLIB2=ON -DWITH_GObject=ON
$(cmake-utils_use_with opengl OpenGL)
$(cmake-utils_use_with usb USB)
$(cmake-utils_use_with xinerama X11_Xinerama)"
kde4-meta_src_compile
}
|