summaryrefslogtreecommitdiff
path: root/extra/libpeas
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libpeas')
-rw-r--r--extra/libpeas/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/libpeas/PKGBUILD b/extra/libpeas/PKGBUILD
index 5ab3a569a..bfac9d035 100644
--- a/extra/libpeas/PKGBUILD
+++ b/extra/libpeas/PKGBUILD
@@ -5,13 +5,16 @@ pkgname=libpeas
pkgver=1.8.0
pkgrel=2
pkgdesc="A GObject-based plugins engine"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=(GPL2)
depends=(gtk3 hicolor-icon-theme gobject-introspection)
-makedepends=(gtk-doc intltool python-gobject python2-gobject gjs seed glade)
-optdepends=('gjs: gobject-based plugin engine - gjs runtime loader'
- 'seed: gobject-based plugin engine - seed runtime loader')
+makedepends=(gtk-doc intltool python-gobject python2-gobject seed glade)
+optdepends=('seed: gobject-based plugin engine - seed runtime loader')
+if [ "$CARCH" != "mips64el" ]; then
+ makedepends+=(gjs)
+ optdepends+=('gjs: gobject-based plugin engine - gjs runtime loader')
+fi
options=('!libtool')
install=libpeas.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz
@@ -23,7 +26,7 @@ build() {
cd $pkgname-$pkgver
patch -Np1 -i ../js17.patch
./configure --prefix=/usr \
- --sysconfdir=/etc --localstatedir=/var
+ --sysconfdir=/etc --localstatedir=/var --enable-compile-warnings=no
make
}