/[gentoo-x86]/kde-base/systemsettings/systemsettings-4.8.5.ebuild
Gentoo

Contents of /kde-base/systemsettings/systemsettings-4.8.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Aug 7 11:05:02 2012 UTC (8 years ago) by johu
Branch: MAIN
Version bump KDE SC 4.8.5

(Portage version: 2.2.0_alpha120/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 KMNAME="kde-workspace"
9 OPENGL_REQUIRED="optional"
10 VIRTUALX_REQUIRED="test"
11 VIRTUALDBUS_TEST="true"
12 inherit kde4-meta
13
14 DESCRIPTION="System settings utility"
15 IUSE="debug gtk +usb"
16 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
17
18 COMMONDEPEND="
19 dev-libs/glib:2
20 $(add_kdebase_dep libkworkspace)
21 media-libs/fontconfig
22 >=media-libs/freetype-2
23 >=x11-libs/libxklavier-3.2
24 x11-libs/libXcursor
25 x11-libs/libXext
26 x11-libs/libXfixes
27 x11-libs/libXft
28 x11-libs/libXrandr
29 x11-libs/libXtst
30 opengl? ( virtual/opengl )
31 usb? ( virtual/libusb:0 )
32 "
33 DEPEND="${COMMONDEPEND}
34 x11-proto/kbproto
35 x11-proto/xextproto
36 "
37 RDEPEND="${COMMONDEPEND}
38 sys-libs/timezone-data
39 x11-apps/setxkbmap
40 x11-misc/xkeyboard-config
41 gtk? ( kde-misc/kde-gtk-config )
42 "
43
44 KMEXTRA="
45 kcontrol/
46 "
47 KMEXTRACTONLY="
48 krunner/dbus/org.kde.krunner.App.xml
49 krunner/dbus/org.kde.screensaver.xml
50 kwin/
51 libs/
52 plasma/
53 "
54
55 add_blocker kdeaccessibility-colorschemes '<4.6.50'
56
57 src_unpack() {
58 if use handbook; then
59 KMEXTRA+="
60 doc/kcontrol
61 doc/kfontview
62 "
63 fi
64
65 kde4-meta_src_unpack
66 }
67
68 src_prepare() {
69 sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
70 systemsettings/CMakeLists.txt \
71 || die "Failed to fix systemsettingsrc install location"
72
73 kde4-meta_src_prepare
74 }
75
76 # FIXME: is have_openglxvisual found without screensaver
77 src_configure() {
78 # Old keyboard-detection code is unmaintained,
79 # so we force the new stuff, using libxklavier.
80 mycmakeargs=(
81 -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
82 -DWITH_GLIB2=ON -DWITH_GObject=ON
83 $(cmake-utils_use_with opengl OpenGL)
84 $(cmake-utils_use_with usb)
85 )
86
87 kde4-meta_src_configure
88 }

  ViewVC Help
Powered by ViewVC 1.1.20