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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Fri Dec 11 00:07:08 2009 UTC (10 years, 8 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Drop KDE SC-4.3.1.
(Portage version: 2.2_rc58/cvs/Linux i686, RepoMan options: --force)

1 tampakrap 1.1 # Copyright 1999-2009 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 scarabeus 1.6 # $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.3.1.ebuild,v 1.5 2009/10/18 16:59:38 maekke Exp $
4 tampakrap 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 +handbook +usb xinerama"
13 maekke 1.5 KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 x86"
14 tampakrap 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     usb? ( =virtual/libusb-0* )
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 scarabeus 1.3 x11-misc/xkeyboard-config
39 tampakrap 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     src_unpack() {
53     if use handbook; then
54     KMEXTRA="${KMEXTRA}
55     doc/kcontrol
56     "
57     fi
58    
59     kde4-meta_src_unpack
60     }
61    
62     src_prepare() {
63     sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
64     systemsettings/CMakeLists.txt \
65     || die "Failed to fix systemsettingsrc install location"
66    
67     kde4-meta_src_prepare
68     }
69    
70     # FIXME: is have_openglxvisual found without screensaver
71     src_configure() {
72     # Old keyboard-detection code is unmaintained,
73     # so we force the new stuff, using libxklavier.
74     mycmakeargs="${mycmakeargs}
75     -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
76     -DWITH_GLIB2=ON -DWITH_GObject=ON
77     $(cmake-utils_use_with opengl OpenGL)
78     $(cmake-utils_use_with usb)
79     $(cmake-utils_use_with xinerama X11_Xinerama)"
80    
81     kde4-meta_src_configure
82     }

  ViewVC Help
Powered by ViewVC 1.1.20