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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Mon Aug 9 04:29:52 2010 UTC (10 years ago) by josejx
Branch: MAIN
Changes since 1.3: +2 -2 lines
Marked ppc stable for bug #322791.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20