diff options
author | Johannes Huber <johu@gentoo.org> | 2016-11-06 11:37:41 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2016-11-06 11:37:58 +0100 |
commit | 7d60189c96304004cde7c6dd9776df65f57d7ec6 (patch) | |
tree | 3fa9e52b4cbc31f7cd12bed807200003bf3c0eb3 /kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild | |
parent | x11-wm/xmonad: disable tests (diff) | |
download | gentoo-7d60189c96304004cde7c6dd9776df65f57d7ec6.tar.gz gentoo-7d60189c96304004cde7c6dd9776df65f57d7ec6.tar.bz2 gentoo-7d60189c96304004cde7c6dd9776df65f57d7ec6.zip |
kde-base/systemsettings -> kde-plasma/systemsettings
Diffstat (limited to 'kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild')
-rw-r--r-- | kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild b/kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild new file mode 100644 index 000000000000..665deb46dad5 --- /dev/null +++ b/kde-plasma/systemsettings/systemsettings-4.11.22-r2.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="optional" +KMNAME="kde-workspace" +OPENGL_REQUIRED="optional" +VIRTUALX_REQUIRED="test" +VIRTUALDBUS_TEST="true" +inherit kde4-meta + +DESCRIPTION="System settings utility" +HOMEPAGE+=" https://userbase.kde.org/System_Settings" +IUSE="debug gtk +kscreen +usb" +KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux" + +COMMONDEPEND=" + dev-libs/glib:2 + $(add_kdebase_dep kwin) + $(add_kdebase_dep libkworkspace) + media-libs/fontconfig + >=media-libs/freetype-2 + >=x11-libs/libxklavier-3.2 + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXft + x11-libs/libXi + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXtst + opengl? ( virtual/opengl ) + usb? ( virtual/libusb:0 ) +" +DEPEND="${COMMONDEPEND} + x11-proto/kbproto + x11-proto/xextproto +" +RDEPEND="${COMMONDEPEND} + sys-libs/timezone-data + x11-apps/setxkbmap + x11-misc/xkeyboard-config + gtk? ( kde-plasma/kde-gtk-config:4 ) + kscreen? ( kde-plasma/kscreen:4 ) + || ( $(add_kdebase_dep legacy-icons) >=kde-frameworks/oxygen-icons-5.19.0:5 ) +" + +KMEXTRA=" + kcontrol/ +" +KMEXTRACTONLY=" + krunner/dbus/org.kde.krunner.App.xml + krunner/dbus/org.kde.screensaver.xml + ksmserver/screenlocker/dbus/org.kde.screensaver.xml + kwin/ + libs/ + plasma/ +" +# fails to connect to a kded instance +RESTRICT="test" + +PATCHES=( + "${FILESDIR}/${PN}-kcm-randr.patch" +) + +src_unpack() { + if use handbook; then + KMEXTRA+=" + doc/kcontrol + doc/kfontview + " + fi + + kde4-meta_src_unpack +} + +src_prepare() { + eapply "${FILESDIR}/${P}-strigi-removal.patch" + + sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \ + systemsettings/CMakeLists.txt \ + || die "Failed to fix systemsettingsrc install location" + + sed -i -e '/kde4_install_icons/ s/^/#/' kcontrol/kfontinst/kio/CMakeLists.txt \ + || die "Failed to disable icons" + + kde4-meta_src_prepare +} + +# FIXME: is have_openglxvisual found without screensaver +src_configure() { + # Old keyboard-detection code is unmaintained, + # so we force the new stuff, using libxklavier. + local mycmakeargs=( + -DUSE_XKLAVIER=ON + -DWITH_LibXKlavier=ON + -DWITH_GLIB2=ON + -DWITH_GObject=ON + -DBUILD_KCM_RANDR=$(usex !kscreen) + -DWITH_OpenGL=$(usex opengl) + -DWITH_USB=$(usex usb) + ) + + kde4-meta_src_configure +} |