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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Oct 15 17:26:04 2011 UTC (8 years, 8 months ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Drop KDE 4.7.0

(Portage version: 2.1.10.27/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.0.ebuild,v 1.2 2011/07/30 12:47:33 dilfridge 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 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 add_blocker kcontrol '<4.3.98'
56 add_blocker konqueror '<4.4.70'
57 add_blocker kdeaccessibility-colorschemes '<4.6.50'
58
59 PATCHES=( "${FILESDIR}/${PN}-4.4.2-xinerama_cmake_automagic.patch" )
60
61 src_unpack() {
62 if use handbook; then
63 KMEXTRA+="
64 doc/kcontrol
65 doc/kfontview
66 "
67 fi
68
69 kde4-meta_src_unpack
70 }
71
72 src_prepare() {
73 sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
74 systemsettings/CMakeLists.txt \
75 || die "Failed to fix systemsettingsrc install location"
76
77 kde4-meta_src_prepare
78 }
79
80 # FIXME: is have_openglxvisual found without screensaver
81 src_configure() {
82 # Old keyboard-detection code is unmaintained,
83 # so we force the new stuff, using libxklavier.
84 mycmakeargs=(
85 -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
86 -DWITH_GLIB2=ON -DWITH_GObject=ON
87 $(cmake-utils_use_with opengl OpenGL)
88 $(cmake-utils_use_with usb)
89 $(cmake-utils_use_with xinerama X11_Xinerama)
90 )
91
92 kde4-meta_src_configure
93 }

  ViewVC Help
Powered by ViewVC 1.1.20