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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Feb 7 04:57:09 2013 UTC (7 years, 7 months ago) by alexxy
Branch: MAIN
Add KDE SC 4.10.0

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key F82F92E6)

1 alexxy 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
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     KEYWORDS="~amd64 ~arm ~ppc ~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     ksmserver/screenlocker/dbus/org.kde.screensaver.xml
51     kwin/
52     libs/
53     plasma/
54     "
55    
56     add_blocker kdeaccessibility-colorschemes '<4.6.50'
57    
58     src_unpack() {
59     if use handbook; then
60     KMEXTRA+="
61     doc/kcontrol
62     doc/kfontview
63     "
64     fi
65    
66     kde4-meta_src_unpack
67     }
68    
69     src_prepare() {
70     sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
71     systemsettings/CMakeLists.txt \
72     || die "Failed to fix systemsettingsrc install location"
73    
74     kde4-meta_src_prepare
75     }
76    
77     # FIXME: is have_openglxvisual found without screensaver
78     src_configure() {
79     # Old keyboard-detection code is unmaintained,
80     # so we force the new stuff, using libxklavier.
81     mycmakeargs=(
82     -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
83     -DWITH_GLIB2=ON -DWITH_GObject=ON
84     $(cmake-utils_use_with opengl OpenGL)
85     $(cmake-utils_use_with usb)
86     )
87    
88     kde4-meta_src_configure
89     }

  ViewVC Help
Powered by ViewVC 1.1.20