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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Fri Mar 23 07:37:15 2012 UTC (8 years, 4 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove KDE SC 4.8.0

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

1 johu 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 johu 1.2 # $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.8.0.ebuild,v 1.1 2012/01/25 18:17:10 johu Exp $
4 johu 1.1
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 ~x86 ~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     )
63    
64     src_unpack() {
65     if use handbook; then
66     KMEXTRA+="
67     doc/kcontrol
68     doc/kfontview
69     "
70     fi
71    
72     kde4-meta_src_unpack
73     }
74    
75     src_prepare() {
76     sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
77     systemsettings/CMakeLists.txt \
78     || die "Failed to fix systemsettingsrc install location"
79    
80     kde4-meta_src_prepare
81     }
82    
83     # FIXME: is have_openglxvisual found without screensaver
84     src_configure() {
85     # Old keyboard-detection code is unmaintained,
86     # so we force the new stuff, using libxklavier.
87     mycmakeargs=(
88     -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
89     -DWITH_GLIB2=ON -DWITH_GObject=ON
90     $(cmake-utils_use_with opengl OpenGL)
91     $(cmake-utils_use_with usb)
92     $(cmake-utils_use_with xinerama X11_Xinerama)
93     )
94    
95     kde4-meta_src_configure
96     }

  ViewVC Help
Powered by ViewVC 1.1.20