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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Tue Jul 2 08:06:35 2013 UTC (7 years, 1 month ago) by ago
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for ppc64, wrt to bug #473942

(Portage version: 2.1.12.2/cvs/Linux ppc64, RepoMan options: --force, signed Manifest commit with key 7194459F)

1 johu 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.5 # $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.10.4.ebuild,v 1.4 2013/07/01 09:08:16 ago Exp $
4 johu 1.1
5     EAPI=5
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 ago 1.5 KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
17 johu 1.1
18     COMMONDEPEND="
19     app-misc/strigi
20     dev-libs/glib:2
21     $(add_kdebase_dep kwin)
22     $(add_kdebase_dep libkworkspace)
23     media-libs/fontconfig
24     >=media-libs/freetype-2
25     >=x11-libs/libxklavier-3.2
26     x11-libs/libX11
27     x11-libs/libXcursor
28     x11-libs/libXext
29     x11-libs/libXfixes
30     x11-libs/libXft
31     x11-libs/libXi
32     x11-libs/libxkbfile
33     x11-libs/libXrandr
34     x11-libs/libXtst
35     opengl? ( virtual/opengl )
36     usb? ( virtual/libusb:0 )
37     "
38     DEPEND="${COMMONDEPEND}
39     x11-proto/kbproto
40     x11-proto/xextproto
41     "
42     RDEPEND="${COMMONDEPEND}
43     sys-libs/timezone-data
44     x11-apps/setxkbmap
45     x11-misc/xkeyboard-config
46     gtk? ( kde-misc/kde-gtk-config )
47     "
48    
49     KMEXTRA="
50     kcontrol/
51     "
52     KMEXTRACTONLY="
53     krunner/dbus/org.kde.krunner.App.xml
54     krunner/dbus/org.kde.screensaver.xml
55     ksmserver/screenlocker/dbus/org.kde.screensaver.xml
56     kwin/
57     libs/
58     plasma/
59     "
60    
61     add_blocker kdeaccessibility-colorschemes '<4.6.50'
62    
63     PATCHES=( "${FILESDIR}/${PN}-4.10.1-noplasmalock.patch" )
64    
65     src_unpack() {
66     if use handbook; then
67     KMEXTRA+="
68     doc/kcontrol
69     doc/kfontview
70     "
71     fi
72    
73     kde4-meta_src_unpack
74     }
75    
76     src_prepare() {
77     sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
78     systemsettings/CMakeLists.txt \
79     || die "Failed to fix systemsettingsrc install location"
80    
81     kde4-meta_src_prepare
82     }
83    
84     # FIXME: is have_openglxvisual found without screensaver
85     src_configure() {
86     # Old keyboard-detection code is unmaintained,
87     # so we force the new stuff, using libxklavier.
88     mycmakeargs=(
89     -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
90     -DWITH_GLIB2=ON -DWITH_GObject=ON
91     $(cmake-utils_use_with opengl OpenGL)
92     $(cmake-utils_use_with usb)
93     )
94    
95     kde4-meta_src_configure
96     }

  ViewVC Help
Powered by ViewVC 1.1.20