Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-base/systemsettings/
Date: Wed, 17 Feb 2016 15:06:50
Message-Id: 1455721594.4ece473698732ef089b4f6c51818d50646118f29.kensington@gentoo
1 commit: 4ece473698732ef089b4f6c51818d50646118f29
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Mon Feb 15 18:49:18 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 17 15:06:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ece4736
7
8 kde-base/systemsettings: Fix file collision w/ oxygen-icons:5 (bug 574778)
9
10 RDEPEND on new package kde-base/legacy-icons or alternatively
11 >=kde-frameworks/oxygen-icons-5.19.0
12
13 Package-Manager: portage-2.2.27
14
15 .../systemsettings-4.11.22-r1.ebuild | 103 +++++++++++++++++++++
16 1 file changed, 103 insertions(+)
17
18 diff --git a/kde-base/systemsettings/systemsettings-4.11.22-r1.ebuild b/kde-base/systemsettings/systemsettings-4.11.22-r1.ebuild
19 new file mode 100644
20 index 0000000..b322ed0
21 --- /dev/null
22 +++ b/kde-base/systemsettings/systemsettings-4.11.22-r1.ebuild
23 @@ -0,0 +1,103 @@
24 +# Copyright 1999-2016 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +# $Id$
27 +
28 +EAPI=5
29 +
30 +KDE_HANDBOOK="optional"
31 +KMNAME="kde-workspace"
32 +OPENGL_REQUIRED="optional"
33 +VIRTUALX_REQUIRED="test"
34 +VIRTUALDBUS_TEST="true"
35 +inherit kde4-meta
36 +
37 +DESCRIPTION="System settings utility"
38 +HOMEPAGE+=" https://userbase.kde.org/System_Settings"
39 +IUSE="debug gtk +kscreen +usb"
40 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
41 +
42 +COMMONDEPEND="
43 + app-misc/strigi
44 + dev-libs/glib:2
45 + $(add_kdebase_dep kwin)
46 + $(add_kdebase_dep libkworkspace)
47 + media-libs/fontconfig
48 + >=media-libs/freetype-2
49 + >=x11-libs/libxklavier-3.2
50 + x11-libs/libX11
51 + x11-libs/libXcursor
52 + x11-libs/libXext
53 + x11-libs/libXfixes
54 + x11-libs/libXft
55 + x11-libs/libXi
56 + x11-libs/libxkbfile
57 + x11-libs/libXrandr
58 + x11-libs/libXtst
59 + opengl? ( virtual/opengl )
60 + usb? ( virtual/libusb:0 )
61 +"
62 +DEPEND="${COMMONDEPEND}
63 + x11-proto/kbproto
64 + x11-proto/xextproto
65 +"
66 +RDEPEND="${COMMONDEPEND}
67 + sys-libs/timezone-data
68 + x11-apps/setxkbmap
69 + x11-misc/xkeyboard-config
70 + gtk? ( kde-misc/kde-gtk-config )
71 + kscreen? ( kde-misc/kscreen:4 )
72 + || ( $(add_kdebase_dep legacy-icons) >=kde-frameworks/oxygen-icons-5.19.0:5 )
73 +"
74 +
75 +KMEXTRA="
76 + kcontrol/
77 +"
78 +KMEXTRACTONLY="
79 + krunner/dbus/org.kde.krunner.App.xml
80 + krunner/dbus/org.kde.screensaver.xml
81 + ksmserver/screenlocker/dbus/org.kde.screensaver.xml
82 + kwin/
83 + libs/
84 + plasma/
85 +"
86 +# fails to connect to a kded instance
87 +RESTRICT="test"
88 +
89 +PATCHES=( "${FILESDIR}/${PN}-kcm-randr.patch" )
90 +
91 +src_unpack() {
92 + if use handbook; then
93 + KMEXTRA+="
94 + doc/kcontrol
95 + doc/kfontview
96 + "
97 + fi
98 +
99 + kde4-meta_src_unpack
100 +}
101 +
102 +src_prepare() {
103 + sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \
104 + systemsettings/CMakeLists.txt \
105 + || die "Failed to fix systemsettingsrc install location"
106 +
107 + sed -i -e '/kde4_install_icons/ s/^/#/' kcontrol/kfontinst/kio/CMakeLists.txt \
108 + || die "Failed to disable icons"
109 +
110 + kde4-meta_src_prepare
111 +}
112 +
113 +# FIXME: is have_openglxvisual found without screensaver
114 +src_configure() {
115 + # Old keyboard-detection code is unmaintained,
116 + # so we force the new stuff, using libxklavier.
117 + local mycmakeargs=(
118 + -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON
119 + -DWITH_GLIB2=ON -DWITH_GObject=ON
120 + -DBUILD_KCM_RANDR=$(usex !kscreen)
121 + $(cmake-utils_use_with opengl OpenGL)
122 + $(cmake-utils_use_with usb)
123 + )
124 +
125 + kde4-meta_src_configure
126 +}