diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-02 23:04:13 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-02-02 23:04:13 +0100 |
commit | 6ca11940446fc579b8b58d05ea34843b13fe16f5 (patch) | |
tree | 995c159ad71312cf5e094f0e2f6a8523a900cf8b /extra | |
parent | d34ddeba738962dc3ffe3fa38eff5a9ef1a4dbdf (diff) |
Disable kdebase-workspace gles support, since a dependency is missing.
Diffstat (limited to 'extra')
-rw-r--r-- | extra/kdebase-workspace/PKGBUILD | 14 |
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 } |