diff options
Diffstat (limited to 'extra/kdegraphics/PKGBUILD')
-rw-r--r-- | extra/kdegraphics/PKGBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/extra/kdegraphics/PKGBUILD b/extra/kdegraphics/PKGBUILD index 37ac0ab2e..a6ea11d92 100644 --- a/extra/kdegraphics/PKGBUILD +++ b/extra/kdegraphics/PKGBUILD @@ -14,13 +14,16 @@ pkgname=('kdegraphics-gwenview' 'kdegraphics-okular') pkgver=4.6.5 pkgrel=2 -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://www.kde.org' license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegraphics') makedepends=('pkgconfig' 'cmake' 'automoc4' 'qimageblitz' 'sane' 'lcms' 'libxxf86vm' 'poppler-qt' 'libspectre' 'chmlib' 'djvulibre' 'ebook-tools' 'kdebase-runtime') +[ "$CARCH" = "mips64el" ] && makedepends=('pkgconfig' 'cmake' 'automoc4' 'qimageblitz' 'lcms' + 'libxxf86vm' 'poppler-qt' 'libspectre' 'djvulibre' + 'ebook-tools' 'kdebase-runtime') source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2") sha1sums=('1e64698993d0754dfae1296d8d16ba9370f9a08c') @@ -28,6 +31,7 @@ build() { cd ${srcdir} mkdir build cd build + CXX="g++" \ cmake ../${pkgbase}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ @@ -115,12 +119,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 @@ -132,6 +139,9 @@ package_kdegraphics-okular() { pkgdesc='Document Viewer' depends=('kdebase-runtime' 'qimageblitz' 'poppler-qt' 'chmlib' 'djvulibre' 'ebook-tools' 'libspectre') +[ "$CARCH" = "mips64el" ] && \ + depends=('kdebase-runtime' 'qimageblitz' 'poppler-qt' 'djvulibre' + 'ebook-tools' 'libspectre') url="http://kde.org/applications/graphics/okular/" install='kdegraphics.install' cd $srcdir/build/okular |