diff options
Diffstat (limited to 'kde-base/systemsettings/systemsettings-4.3.5.ebuild')
-rw-r--r-- | kde-base/systemsettings/systemsettings-4.3.5.ebuild | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/kde-base/systemsettings/systemsettings-4.3.5.ebuild b/kde-base/systemsettings/systemsettings-4.3.5.ebuild new file mode 100644 index 000000000000..e9d191abc3ec --- /dev/null +++ b/kde-base/systemsettings/systemsettings-4.3.5.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/systemsettings/systemsettings-4.3.5.ebuild,v 1.1 2010/01/25 17:43:51 scarabeus Exp $ + +EAPI="2" + +KMNAME="kdebase-workspace" +OPENGL_REQUIRED="optional" +inherit kde4-meta + +DESCRIPTION="System settings utility" +IUSE="debug +handbook +usb xinerama" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" + +COMMONDEPEND=" + dev-libs/glib:2 + media-libs/fontconfig + >=media-libs/freetype-2 + >=x11-libs/libxklavier-3.2 + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXft + x11-libs/libXrandr + x11-libs/libXtst + opengl? ( virtual/opengl ) + usb? ( =virtual/libusb-0* ) + xinerama? ( x11-libs/libXinerama ) +" +DEPEND="${COMMONDEPEND} + x11-proto/kbproto + x11-proto/xextproto + xinerama? ( x11-proto/xineramaproto ) +" +RDEPEND="${COMMONDEPEND} + x11-apps/setxkbmap + x11-misc/xkeyboard-config +" + +KMEXTRA=" + kcontrol/ +" +KMEXTRACTONLY=" + krunner/dbus/org.kde.krunner.App.xml + krunner/dbus/org.kde.screensaver.xml + kwin/ + libs/ + plasma/ +" + +src_unpack() { + if use handbook; then + KMEXTRA="${KMEXTRA} + doc/kcontrol + " + 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) + $(cmake-utils_use_with xinerama X11_Xinerama) + ) + + kde4-meta_src_configure +} |