From 6ca11940446fc579b8b58d05ea34843b13fe16f5 Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Thu, 2 Feb 2012 23:04:13 +0100 Subject: Disable kdebase-workspace gles support, since a dependency is missing. --- extra/kdebase-workspace/PKGBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'extra/kdebase-workspace/PKGBUILD') diff --git a/extra/kdebase-workspace/PKGBUILD b/extra/kdebase-workspace/PKGBUILD index a65a817be..95443c5ad 100644 --- a/extra/kdebase-workspace/PKGBUILD +++ b/extra/kdebase-workspace/PKGBUILD @@ -17,7 +17,8 @@ groups=('kde') depends=('kdepim-runtime' 'lm_sensors' 'libraw1394' 'libqalculate' 'qimageblitz' 'polkit-kde' 'consolekit' 'xorg-xprop' 'libxdamage' 'libxklavier' 'xorg-xsetroot' 'libxcomposite' 'libxinerama' - 'xorg-xrdb' 'libgles' 'libegl' 'kactivities' 'libxres' 'libxtst') + 'xorg-xrdb' 'kactivities' 'libxres' 'libxtst') +[ "$CARCH" = "mips64el" ] || depends+=('libgles' 'libegl') makedepends=('cmake' 'automoc4' 'boost' 'kdebindings-python' 'networkmanager') optdepends=('kde-wallpapers: wallpapers for KDE Plasma Workspaces') replaces=('kdmtheme' 'kde-common' 'guidance-power-manager' 'policykit-kde' @@ -48,6 +49,12 @@ build() { patch -p0 -i "${srcdir}"/fixpath.patch patch -p0 -i "${srcdir}"/terminate-server.patch + if [ "$CARCH" = mips64el ] ; then + extraconf="-DWITH_OpenGLES=OFF -DKWIN_BUILD_WITH_OPENGLES=OFF" + else + extraconf="-DWITH_OpenGLES=ON -DKWIN_BUILD_WITH_OPENGLES=ON" + fi + cd "${srcdir}" mkdir build cd build @@ -58,9 +65,8 @@ build() { -DWITH_Xmms=OFF \ -DWITH_Googlegadgets=OFF \ -DWITH_libgps=OFF \ - -DWITH_OpenGLES=ON \ - -DKWIN_BUILD_WITH_OPENGLES=ON \ - -DPYTHON_EXECUTABLE=/usr/bin/python2 + -DPYTHON_EXECUTABLE=/usr/bin/python2 \ + $extraconf make } -- cgit v1.2.3-54-g00ecf