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

Contents of /kde-base/systemsettings/systemsettings-4.2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Apr 17 06:48:47 2009 UTC (11 years, 3 months ago) by alexxy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Restore accidentally dropped ~hppa keyword as reported by jer bug #266459
(Portage version: 2.2_rc30/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.2.1-r1.ebuild,v 1.4 2009/04/13 22:56:02 gengor Exp $
4
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 +usb xinerama"
13 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
14
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 usb? ( dev-libs/libusb )
28 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 || (
39 x11-misc/xkbdata
40 x11-misc/xkeyboard-config
41 )
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/20_use_dejavu_as_default_font.patch" )
56
57 src_prepare() {
58 sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
59 systemsettings/CMakeLists.txt \
60 || die "Failed to fix systemsettingsrc install location"
61
62 if ! version_is_at_least 4.1.2 "$(gcc-fullversion)" ; then
63 ewarn
64 ewarn "The kxkb module will be built without keyboard hot-plugging"
65 ewarn "support. GCC version 4.1.2 or greater is required to build"
66 ewarn "kxkb's keyboard hot-plugging code."
67 ewarn
68 ebeep 5
69 epatch "$FILESDIR/${P}-kxkb-strip-hot_plugging-support.patch"
70 fi
71
72 kde4-meta_src_prepare
73 }
74
75 # FIXME: is have_openglxvisual found without screensaver
76 src_configure() {
77 # Old keyboard-detection code is unmaintained,
78 # so we force the new stuff, using libxklavier.
79 mycmakeargs="${mycmakeargs}
80 -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
81 -DWITH_GLIB2=ON -DWITH_GObject=ON
82 $(cmake-utils_use_with opengl OpenGL)
83 $(cmake-utils_use_with usb USB)
84 $(cmake-utils_use_with xinerama X11_Xinerama)"
85
86 MAKEOPTS="${MAKEOPTS} -j1"
87
88 kde4-meta_src_configure
89 }

  ViewVC Help
Powered by ViewVC 1.1.20