summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/kdebase-workspace/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
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
}