/[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.2 - (show annotations) (download)
Tue Aug 21 20:21:58 2012 UTC (7 years, 11 months ago) by johu
Branch: MAIN
Changes since 1.1: +3 -1 lines
Add upstream patch to fix build with aggressive parallel compile options wrt bug #430940.

(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.8.5.ebuild,v 1.1 2012/08/07 11:05:02 johu Exp $
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 PATCHES=( "${FILESDIR}/${PN}-4.9.0-parallel-build.patch" )
56
57 add_blocker kdeaccessibility-colorschemes '<4.6.50'
58
59 src_unpack() {
60 if use handbook; then
61 KMEXTRA+="
62 doc/kcontrol
63 doc/kfontview
64 "
65 fi
66
67 kde4-meta_src_unpack
68 }
69
70 src_prepare() {
71 sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
72 systemsettings/CMakeLists.txt \
73 || die "Failed to fix systemsettingsrc install location"
74
75 kde4-meta_src_prepare
76 }
77
78 # FIXME: is have_openglxvisual found without screensaver
79 src_configure() {
80 # Old keyboard-detection code is unmaintained,
81 # so we force the new stuff, using libxklavier.
82 mycmakeargs=(
83 -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
84 -DWITH_GLIB2=ON -DWITH_GObject=ON
85 $(cmake-utils_use_with opengl OpenGL)
86 $(cmake-utils_use_with usb)
87 )
88
89 kde4-meta_src_configure
90 }

  ViewVC Help
Powered by ViewVC 1.1.20