diff options
Diffstat (limited to 'kde-base/systemsettings/systemsettings-4.11.3.ebuild')
-rw-r--r-- | kde-base/systemsettings/systemsettings-4.11.3.ebuild | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/kde-base/systemsettings/systemsettings-4.11.3.ebuild b/kde-base/systemsettings/systemsettings-4.11.3.ebuild new file mode 100644 index 000000000000..955707126433 --- /dev/null +++ b/kde-base/systemsettings/systemsettings-4.11.3.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.11.3.ebuild,v 1.1 2013/11/05 22:22:56 dilfridge Exp $ + +EAPI=5 + +KDE_HANDBOOK="optional" +KMNAME="kde-workspace" +OPENGL_REQUIRED="optional" +VIRTUALX_REQUIRED="test" +VIRTUALDBUS_TEST="true" +inherit kde4-meta + +DESCRIPTION="System settings utility" +HOMEPAGE+=" http://userbase.kde.org/System_Settings" +IUSE="debug gtk semantic-desktop +usb" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" + +COMMONDEPEND=" + app-misc/strigi + 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-misc/kde-gtk-config ) + semantic-desktop? ( $(add_kdebase_dep nepomuk) ) +" + +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/ +" + +PATCHES=( "${FILESDIR}/${PN}-4.10.1-noplasmalock.patch" ) + +src_unpack() { + if use handbook; then + KMEXTRA+=" + doc/kcontrol + doc/kfontview + " + fi + + kde4-meta_src_unpack +} + +src_prepare() { + sed -i -e 's/systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR}/systemsettingsrc DESTINATION ${CONFIG_INSTALL_DIR}/' \ + systemsettings/CMakeLists.txt \ + || die "Failed to fix systemsettingsrc install location" + + 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. + mycmakeargs=( + -DUSE_XKLAVIER=ON -DWITH_LibXKlavier=ON + -DWITH_GLIB2=ON -DWITH_GObject=ON + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with usb) + ) + + kde4-meta_src_configure +} |