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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jan 17 13:29:00 2012 UTC (8 years, 5 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove KDE SC 4.7.3.

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.7.3-r1.ebuild,v 1.4 2012/01/17 12:06:26 johu Exp $
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 KMNAME="kde-workspace"
9 OPENGL_REQUIRED="optional"
10 inherit kde4-meta
11
12 DESCRIPTION="System settings utility"
13 IUSE="debug gtk +usb xinerama"
14 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
15
16 COMMONDEPEND="
17 dev-libs/glib:2
18 $(add_kdebase_dep libkworkspace)
19 media-libs/fontconfig
20 >=media-libs/freetype-2
21 >=x11-libs/libxklavier-3.2
22 x11-libs/libXcursor
23 x11-libs/libXext
24 x11-libs/libXfixes
25 x11-libs/libXft
26 x11-libs/libXrandr
27 x11-libs/libXtst
28 opengl? ( virtual/opengl )
29 usb? ( =virtual/libusb-0* )
30 xinerama? ( x11-libs/libXinerama )
31 "
32 DEPEND="${COMMONDEPEND}
33 x11-proto/kbproto
34 x11-proto/xextproto
35 xinerama? ( x11-proto/xineramaproto )
36 "
37 RDEPEND="${COMMONDEPEND}
38 sys-libs/timezone-data
39 x11-apps/setxkbmap
40 x11-misc/xkeyboard-config
41 gtk? ( kde-misc/kcm-gtk-config )
42 "
43
44 RESTRICT="test"
45 # bug 393133
46
47 KMEXTRA="
48 kcontrol/
49 "
50 KMEXTRACTONLY="
51 krunner/dbus/org.kde.krunner.App.xml
52 krunner/dbus/org.kde.screensaver.xml
53 kwin/
54 libs/
55 plasma/
56 "
57
58 add_blocker kdeaccessibility-colorschemes '<4.6.50'
59
60 PATCHES=(
61 "${FILESDIR}/${PN}-4.4.2-xinerama_cmake_automagic.patch"
62 "${FILESDIR}/${P}-fix-keyboard-layout-switch.patch"
63 )
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 $(cmake-utils_use_with xinerama X11_Xinerama)
94 )
95
96 kde4-meta_src_configure
97 }

  ViewVC Help
Powered by ViewVC 1.1.20