diff options
Diffstat (limited to 'extra/kdegraphics/PKGBUILD')
-rw-r--r-- | extra/kdegraphics/PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extra/kdegraphics/PKGBUILD b/extra/kdegraphics/PKGBUILD index eacf66276..e0f3951f8 100644 --- a/extra/kdegraphics/PKGBUILD +++ b/extra/kdegraphics/PKGBUILD @@ -14,7 +14,7 @@ pkgname=('kdegraphics-gwenview' 'kdegraphics-okular') pkgver=4.6.3 pkgrel=1 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegraphics') @@ -28,6 +28,7 @@ build() { cd ${srcdir} mkdir build cd build + CXX="g++" \ cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ @@ -115,12 +116,15 @@ package_kdegraphics-libs() { pkgdesc='Support library for KDE Graphics Software' groups=() depends=('kdelibs' 'sane' 'lcms') +[ "$CARCH" = "mips64el" ] && \ + depends=('kdelibs' 'lcms') conflicts=('kdegraphics-ksaneplugin' 'kdegraphics-strigi-analyzer' 'kdegraphics-svgpart' 'kdegraphics-thumbnailers') replaces=('libkexiv2' 'libkdcraw' 'kdegraphics-ksaneplugin' 'kdegraphics-strigi-analyzer' 'kdegraphics-svgpart' 'kdegraphics-thumbnailers') install='kdegraphics.install' for i in libs ksaneplugin strigi-analyzer svgpart thumbnailers; do + [ "$CARCH" = "mips64el" -a $i = ksaneplugin ] && continue cd $srcdir/build/${i} make DESTDIR=$pkgdir install done |