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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Wed Jun 3 18:36:13 2009 UTC (11 years, 2 months ago) by alexxy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Drop KDE 4.2.2
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 alexxy 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 alexxy 1.6 # $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.2.2.ebuild,v 1.5 2009/05/16 09:18:47 robbat2 Exp $
4 alexxy 1.1
5     EAPI="2"
6    
7     KMNAME="kdebase-workspace"
8     OPENGL_REQUIRED="optional"
9     inherit kde4-meta
10    
11     DESCRIPTION="System settings utility"
12     IUSE="debug doc +usb xinerama"
13 alexxy 1.3 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
14 alexxy 1.1
15     COMMONDEPEND="
16     >=dev-libs/glib-2
17     media-libs/fontconfig
18     >=media-libs/freetype-2
19     >=x11-libs/libxklavier-3.2
20     x11-libs/libXcursor
21     x11-libs/libXext
22     x11-libs/libXfixes
23     x11-libs/libXft
24     x11-libs/libXrandr
25     x11-libs/libXtst
26     opengl? ( virtual/opengl )
27 robbat2 1.5 usb? ( =virtual/libusb-0* )
28 alexxy 1.1 xinerama? ( x11-libs/libXinerama )
29     "
30     DEPEND="${COMMONDEPEND}
31     x11-proto/kbproto
32     x11-proto/xextproto
33     xinerama? ( x11-proto/xineramaproto )
34     "
35     RDEPEND="${COMMONDEPEND}
36     >=kde-base/kcontrol-${PV}:${SLOT}[kdeprefix=]
37     x11-apps/setxkbmap
38 remi 1.4 x11-misc/xkeyboard-config
39 alexxy 1.1 "
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     PATCHES=( "$FILESDIR/20_use_dejavu_as_default_font.patch" )
53    
54     src_unpack() {
55     if use doc; then
56     KMEXTRA="${KMEXTRA}
57     doc/kcontrol
58     "
59     fi
60    
61     kde4-meta_src_unpack
62     }
63    
64     src_prepare() {
65     sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
66     systemsettings/CMakeLists.txt \
67     || die "Failed to fix systemsettingsrc install location"
68    
69 gengor 1.2 if ! version_is_at_least 4.1.2 "$(gcc-fullversion)" ; then
70     ewarn
71     ewarn "The kxkb module will be built without keyboard hot-plugging"
72     ewarn "support. GCC version 4.1.2 or greater is required to build"
73     ewarn "kxkb's keyboard hot-plugging code."
74     ewarn
75     ebeep 5
76     epatch "$FILESDIR/${PN}-4.2.1-kxkb-strip-hot_plugging-support.patch"
77     fi
78    
79 alexxy 1.1 kde4-meta_src_prepare
80     }
81    
82     # FIXME: is have_openglxvisual found without screensaver
83     src_configure() {
84     # Old keyboard-detection code is unmaintained,
85     # so we force the new stuff, using libxklavier.
86     mycmakeargs="${mycmakeargs}
87     -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
88     -DWITH_GLIB2=ON -DWITH_GObject=ON
89     $(cmake-utils_use_with opengl OpenGL)
90     $(cmake-utils_use_with usb USB)
91     $(cmake-utils_use_with xinerama X11_Xinerama)"
92    
93     kde4-meta_src_configure
94     }

  ViewVC Help
Powered by ViewVC 1.1.20