summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/a2ps/PKGBUILD2
-rw-r--r--extra/a52dec/PKGBUILD8
-rw-r--r--extra/a52dec/configure.patch18
-rw-r--r--extra/aalib/PKGBUILD4
-rw-r--r--extra/abook/PKGBUILD2
-rw-r--r--extra/accountsservice/PKGBUILD2
-rw-r--r--extra/aiksaurus/PKGBUILD4
-rw-r--r--extra/aisleriot/PKGBUILD2
-rw-r--r--extra/akonadi/PKGBUILD3
-rw-r--r--extra/allegro4/PKGBUILD6
-rw-r--r--extra/alsa-lib/PKGBUILD2
-rw-r--r--extra/alsa-oss/PKGBUILD2
-rw-r--r--extra/alsa-plugins/PKGBUILD2
-rw-r--r--extra/alsa-plugins/gcc-4.7.patch13
-rw-r--r--extra/alsa-tools/PKGBUILD10
-rw-r--r--extra/alsa-tools/alsa-tools-1.0.27-mips.patch13
-rw-r--r--extra/alsa-utils/PKGBUILD2
-rw-r--r--extra/alsaplayer/PKGBUILD2
-rw-r--r--extra/amarok/PKGBUILD2
-rw-r--r--extra/amule/PKGBUILD2
-rw-r--r--extra/anjuta-extras/PKGBUILD2
-rw-r--r--extra/anjuta/PKGBUILD2
-rw-r--r--extra/anthy/PKGBUILD4
-rw-r--r--extra/apache/PKGBUILD2
-rw-r--r--extra/appmenu-qt/PKGBUILD2
-rw-r--r--extra/apr-util/PKGBUILD2
-rw-r--r--extra/apr/PKGBUILD2
-rw-r--r--extra/apricots/PKGBUILD4
-rw-r--r--extra/ardour/PKGBUILD7
-rw-r--r--extra/arj/PKGBUILD2
-rw-r--r--extra/asio/PKGBUILD2
-rw-r--r--extra/aspell-de/PKGBUILD2
-rw-r--r--extra/aspell-en/PKGBUILD4
-rw-r--r--extra/aspell-es/PKGBUILD4
-rw-r--r--extra/aspell-fr/PKGBUILD4
-rw-r--r--extra/aspell-hu/PKGBUILD4
-rw-r--r--extra/aspell-it/PKGBUILD4
-rw-r--r--extra/aspell-nl/PKGBUILD4
-rw-r--r--extra/aspell-pt/PKGBUILD2
-rw-r--r--extra/aspell-ru/PKGBUILD4
-rw-r--r--extra/aspell/PKGBUILD4
-rw-r--r--extra/asymptote/PKGBUILD2
-rw-r--r--extra/at-spi/PKGBUILD4
-rw-r--r--extra/at-spi2-atk/PKGBUILD2
-rw-r--r--extra/at-spi2-core/PKGBUILD2
-rw-r--r--extra/atk/PKGBUILD2
-rw-r--r--extra/atkmm/PKGBUILD2
-rw-r--r--extra/attica/PKGBUILD2
-rw-r--r--extra/aubio/PKGBUILD4
-rw-r--r--extra/audacious/PKGBUILD4
-rw-r--r--extra/audacity/PKGBUILD5
-rw-r--r--extra/audiofile/PKGBUILD2
-rw-r--r--extra/autogen/PKGBUILD2
-rw-r--r--extra/automoc4/PKGBUILD2
-rw-r--r--extra/avahi/PKGBUILD15
-rw-r--r--extra/avidemux/PKGBUILD8
-rw-r--r--extra/avogadro/PKGBUILD2
-rw-r--r--extra/avogadro/avogadro-1.1.0-textrel.patch21
-rw-r--r--extra/babl/PKGBUILD4
-rw-r--r--extra/baobab/PKGBUILD2
-rw-r--r--extra/barcode/PKGBUILD2
-rw-r--r--extra/basket/PKGBUILD4
-rw-r--r--extra/bc/PKGBUILD4
-rw-r--r--extra/beep/PKGBUILD4
-rw-r--r--extra/bftpd/PKGBUILD2
-rw-r--r--extra/bigloo/PKGBUILD2
-rw-r--r--extra/bijiben/PKGBUILD2
-rw-r--r--extra/bin86/PKGBUILD11
-rw-r--r--extra/bin86/bin86-0.16.19-inttypes.patch13
-rw-r--r--extra/bluedevil/PKGBUILD2
-rw-r--r--extra/bluefish/PKGBUILD2
-rw-r--r--extra/bluez/PKGBUILD2
-rw-r--r--extra/bluez4/PKGBUILD2
-rw-r--r--extra/boost/PKGBUILD7
-rw-r--r--extra/bootchart/PKGBUILD2
-rw-r--r--extra/brasero/PKGBUILD2
-rw-r--r--extra/brltty/PKGBUILD2
-rw-r--r--extra/burp/PKGBUILD2
-rw-r--r--extra/bzflag/PKGBUILD2
-rw-r--r--extra/bzr/PKGBUILD2
-rw-r--r--extra/c-ares/PKGBUILD2
-rw-r--r--extra/cagibi/PKGBUILD2
-rw-r--r--extra/cairo-perl/PKGBUILD2
-rw-r--r--extra/cairo/PKGBUILD5
-rw-r--r--extra/cairomm/PKGBUILD2
-rw-r--r--extra/calligra/PKGBUILD5
-rw-r--r--extra/capi4hylafax/PKGBUILD2
-rw-r--r--extra/capseo/PKGBUILD4
-rw-r--r--extra/caribou/PKGBUILD2
-rw-r--r--extra/ccache/PKGBUILD2
-rw-r--r--extra/ccrtp/PKGBUILD2
-rw-r--r--extra/cd-discid/PKGBUILD2
-rw-r--r--extra/cdparanoia/PKGBUILD2
-rw-r--r--extra/cdrdao/PKGBUILD5
-rw-r--r--extra/celestia/PKGBUILD2
-rw-r--r--extra/celt/PKGBUILD2
-rw-r--r--extra/celt0.5.1/PKGBUILD2
-rw-r--r--extra/cfitsio/PKGBUILD2
-rw-r--r--extra/check/PKGBUILD2
-rw-r--r--extra/cheese/PKGBUILD2
-rw-r--r--extra/chemtool/PKGBUILD4
-rw-r--r--extra/chmlib/PKGBUILD14
-rw-r--r--extra/chmlib/src_chm_lib.c.diff58
-rw-r--r--extra/chromaprint/PKGBUILD2
-rw-r--r--extra/cifs-utils/PKGBUILD2
-rw-r--r--extra/cinepaint/PKGBUILD2
-rw-r--r--extra/clamav/PKGBUILD2
-rw-r--r--extra/clisp/PKGBUILD6
-rw-r--r--extra/cln/PKGBUILD21
-rw-r--r--extra/clucene/PKGBUILD2
-rw-r--r--extra/clutter-gst/PKGBUILD2
-rw-r--r--extra/clutter-gtk/PKGBUILD2
-rw-r--r--extra/clutter/PKGBUILD2
-rw-r--r--extra/cmake/PKGBUILD2
-rw-r--r--extra/cmt/PKGBUILD4
-rw-r--r--extra/cogl/PKGBUILD2
-rw-r--r--extra/colord-gtk/PKGBUILD2
-rw-r--r--extra/colord/PKGBUILD2
-rw-r--r--extra/compface/PKGBUILD2
-rw-r--r--extra/conky/PKGBUILD2
-rw-r--r--extra/convertlit/PKGBUILD2
-rw-r--r--extra/cpio/PKGBUILD2
-rw-r--r--extra/cppunit/PKGBUILD2
-rw-r--r--extra/crypto++/GNUmakefile.parabola94
-rw-r--r--extra/crypto++/PKGBUILD13
-rw-r--r--extra/cscope/PKGBUILD2
-rw-r--r--extra/ctags/PKGBUILD4
-rw-r--r--extra/cups-pdf/PKGBUILD2
-rw-r--r--extra/cups-pk-helper/PKGBUILD2
-rw-r--r--extra/cups/PKGBUILD2
-rw-r--r--extra/cvs/PKGBUILD2
-rw-r--r--extra/cvsps/PKGBUILD2
-rw-r--r--extra/cyrus-sasl/PKGBUILD4
-rw-r--r--extra/dasher/PKGBUILD2
-rw-r--r--extra/datefudge/PKGBUILD2
-rw-r--r--extra/davfs2/PKGBUILD2
-rw-r--r--extra/dbus-c++/PKGBUILD4
-rw-r--r--extra/dbus-glib/PKGBUILD2
-rw-r--r--extra/dbus-python/PKGBUILD2
-rw-r--r--extra/dconf/PKGBUILD2
-rw-r--r--extra/dcraw/PKGBUILD2
-rw-r--r--extra/ddd/PKGBUILD2
-rw-r--r--extra/ddrescue/PKGBUILD2
-rw-r--r--extra/desktop-file-utils/PKGBUILD2
-rw-r--r--extra/devhelp/PKGBUILD2
-rw-r--r--extra/dhcp/PKGBUILD2
-rw-r--r--extra/di/PKGBUILD2
-rw-r--r--extra/diffstat/PKGBUILD2
-rw-r--r--extra/digikam/PKGBUILD2
-rw-r--r--extra/djvulibre/PKGBUILD4
-rw-r--r--extra/dmapi/PKGBUILD2
-rw-r--r--extra/dmidecode/PKGBUILD2
-rw-r--r--extra/dnsmasq/PKGBUILD2
-rw-r--r--extra/dnsutils/PKGBUILD2
-rw-r--r--extra/docker/PKGBUILD2
-rw-r--r--extra/dotconf/PKGBUILD2
-rw-r--r--extra/dovecot/PKGBUILD2
-rw-r--r--extra/doxygen/PKGBUILD8
-rw-r--r--extra/dssi/PKGBUILD2
-rw-r--r--extra/dvd+rw-tools/PKGBUILD4
-rw-r--r--extra/dvdauthor/PKGBUILD2
-rw-r--r--extra/dvgrab/PKGBUILD4
-rw-r--r--extra/e_dbus/PKGBUILD2
-rw-r--r--extra/easytag/PKGBUILD2
-rw-r--r--extra/ebook-tools/PKGBUILD3
-rw-r--r--extra/ecl/PKGBUILD2
-rw-r--r--extra/eclipse/PKGBUILD2
-rw-r--r--extra/ecore/PKGBUILD2
-rw-r--r--extra/edje/PKGBUILD2
-rw-r--r--extra/eet/PKGBUILD2
-rw-r--r--extra/eeze/PKGBUILD2
-rw-r--r--extra/efreet/PKGBUILD2
-rw-r--r--extra/eina/PKGBUILD2
-rw-r--r--extra/eio/PKGBUILD2
-rw-r--r--extra/ekiga/PKGBUILD2
-rw-r--r--extra/elementary/PKGBUILD2
-rw-r--r--extra/elfutils/PKGBUILD4
-rw-r--r--extra/emacs/PKGBUILD2
-rw-r--r--extra/embryo/PKGBUILD2
-rw-r--r--extra/emotion/PKGBUILD2
-rw-r--r--extra/empathy/PKGBUILD2
-rw-r--r--extra/enblend-enfuse/PKGBUILD2
-rw-r--r--extra/enca/PKGBUILD2
-rw-r--r--extra/enchant/PKGBUILD4
-rw-r--r--extra/enlightenment/PKGBUILD4
-rw-r--r--extra/enlightenment17/PKGBUILD2
-rw-r--r--extra/eog-plugins/PKGBUILD2
-rw-r--r--extra/eog/PKGBUILD2
-rw-r--r--extra/epplet-base/PKGBUILD2
-rw-r--r--extra/ethstatus/PKGBUILD4
-rw-r--r--extra/ethtool/PKGBUILD2
-rw-r--r--extra/ethumb/PKGBUILD2
-rw-r--r--extra/evas/PKGBUILD2
-rw-r--r--extra/evas_generic_loaders/PKGBUILD2
-rw-r--r--extra/eventlog/PKGBUILD2
-rw-r--r--extra/evince/PKGBUILD2
-rw-r--r--extra/evolution-data-server/PKGBUILD2
-rw-r--r--extra/evolution-ews/PKGBUILD2
-rw-r--r--extra/evolution/PKGBUILD2
-rw-r--r--extra/exempi/PKGBUILD2
-rw-r--r--extra/exiv2/PKGBUILD2
-rw-r--r--extra/exo/PKGBUILD4
-rw-r--r--extra/expect/PKGBUILD2
-rw-r--r--extra/f2fs-tools/PKGBUILD2
-rw-r--r--extra/faad2/PKGBUILD2
-rw-r--r--extra/facile/PKGBUILD14
-rw-r--r--extra/facile/facile-1.1-ocaml.patch66
-rw-r--r--extra/fakechroot/PKGBUILD2
-rw-r--r--extra/farstream-0.1/PKGBUILD8
-rw-r--r--extra/farstream/PKGBUILD6
-rw-r--r--extra/fastjar/PKGBUILD4
-rw-r--r--extra/fbida/PKGBUILD2
-rw-r--r--extra/fbset/PKGBUILD2
-rw-r--r--extra/fcgi/PKGBUILD4
-rw-r--r--extra/feh/PKGBUILD2
-rw-r--r--extra/festival/PKGBUILD16
-rw-r--r--extra/festival/speech_tools-2.1-build.patch81
-rw-r--r--extra/fetchmail/PKGBUILD2
-rw-r--r--extra/ffcall/PKGBUILD16
-rw-r--r--extra/ffcall/mipsn32.patch11
-rw-r--r--extra/ffmpeg-compat/PKGBUILD9
-rw-r--r--extra/ffmpeg/PKGBUILD21
-rw-r--r--extra/ffmpeg/ffmpeg-loongson.patch1767
-rw-r--r--extra/ffmpegthumbnailer/PKGBUILD2
-rw-r--r--extra/fftw/PKGBUILD18
-rw-r--r--extra/five-or-more/PKGBUILD2
-rw-r--r--extra/flac/PKGBUILD7
-rw-r--r--extra/fltk/PKGBUILD2
-rw-r--r--extra/fluidsynth/PKGBUILD2
-rw-r--r--extra/fluxbox/PKGBUILD2
-rw-r--r--extra/fluxter/PKGBUILD2
-rw-r--r--extra/folks/PKGBUILD2
-rw-r--r--extra/fontconfig/PKGBUILD2
-rw-r--r--extra/fontforge/PKGBUILD2
-rw-r--r--extra/foobillard++/PKGBUILD2
-rw-r--r--extra/foomatic/PKGBUILD57
-rw-r--r--extra/four-in-a-row/PKGBUILD2
-rw-r--r--extra/fping/PKGBUILD2
-rw-r--r--extra/fprintd/PKGBUILD2
-rw-r--r--extra/freealut/PKGBUILD2
-rw-r--r--extra/freeciv/PKGBUILD2
-rw-r--r--extra/freeglut/PKGBUILD2
-rw-r--r--extra/freetds/PKGBUILD2
-rw-r--r--extra/freetype2/PKGBUILD2
-rw-r--r--extra/fribidi/PKGBUILD2
-rw-r--r--extra/frozen-bubble/PKGBUILD2
-rw-r--r--extra/fsarchiver/PKGBUILD2
-rw-r--r--extra/ftgl/PKGBUILD4
-rw-r--r--extra/ftjam/PKGBUILD4
-rw-r--r--extra/fuse/PKGBUILD2
-rw-r--r--extra/fvwm/PKGBUILD2
-rw-r--r--extra/fyre/PKGBUILD2
-rw-r--r--extra/gamin/PKGBUILD2
-rw-r--r--extra/garcon/PKGBUILD2
-rw-r--r--extra/gc/PKGBUILD2
-rw-r--r--extra/gcin/PKGBUILD2
-rw-r--r--extra/gconf-editor/PKGBUILD2
-rw-r--r--extra/gconf-perl/PKGBUILD2
-rw-r--r--extra/gconf/PKGBUILD2
-rw-r--r--extra/gconfmm/PKGBUILD4
-rw-r--r--extra/gcr/PKGBUILD2
-rw-r--r--extra/gd/PKGBUILD2
-rw-r--r--extra/gdb/PKGBUILD2
-rw-r--r--extra/gdk-pixbuf2/PKGBUILD2
-rw-r--r--extra/gdl/PKGBUILD2
-rw-r--r--extra/gdm/PKGBUILD2
-rw-r--r--extra/gdome2/PKGBUILD17
-rw-r--r--extra/gedit/PKGBUILD2
-rw-r--r--extra/geeqie/PKGBUILD2
-rw-r--r--extra/gegl/PKGBUILD2
-rw-r--r--extra/genius/PKGBUILD2
-rw-r--r--extra/geoclue/PKGBUILD2
-rw-r--r--extra/geoip/PKGBUILD2
-rw-r--r--extra/ghc/PKGBUILD2
-rw-r--r--extra/ghex/PKGBUILD2
-rw-r--r--extra/giblib/PKGBUILD2
-rw-r--r--extra/gif2png/PKGBUILD2
-rw-r--r--extra/giflib/PKGBUILD2
-rw-r--r--extra/gifsicle/PKGBUILD2
-rw-r--r--extra/gimp/PKGBUILD2
-rw-r--r--extra/git/PKGBUILD10
-rw-r--r--extra/gjs/PKGBUILD2
-rw-r--r--extra/gksu/PKGBUILD4
-rw-r--r--extra/glade-perl/PKGBUILD2
-rw-r--r--extra/glade/PKGBUILD2
-rw-r--r--extra/glew/PKGBUILD2
-rw-r--r--extra/glhack/PKGBUILD2
-rw-r--r--extra/glib-networking/PKGBUILD2
-rw-r--r--extra/glib-perl/PKGBUILD2
-rw-r--r--extra/glib/PKGBUILD4
-rw-r--r--extra/glibmm/PKGBUILD2
-rw-r--r--extra/glpk/PKGBUILD4
-rw-r--r--extra/glu/PKGBUILD2
-rw-r--r--extra/gmetadom/PKGBUILD4
-rw-r--r--extra/gmime/PKGBUILD4
-rw-r--r--extra/gnet/PKGBUILD2
-rw-r--r--extra/gnome-alsamixer/PKGBUILD2
-rw-r--r--extra/gnome-bluetooth/PKGBUILD2
-rw-r--r--extra/gnome-calculator/PKGBUILD2
-rw-r--r--extra/gnome-chess/PKGBUILD2
-rw-r--r--extra/gnome-clocks/PKGBUILD2
-rw-r--r--extra/gnome-color-manager/PKGBUILD2
-rw-r--r--extra/gnome-contacts/PKGBUILD2
-rw-r--r--extra/gnome-control-center/PKGBUILD2
-rw-r--r--extra/gnome-desktop/PKGBUILD4
-rw-r--r--extra/gnome-desktop2/PKGBUILD6
-rw-r--r--extra/gnome-dictionary/PKGBUILD2
-rw-r--r--extra/gnome-disk-utility/PKGBUILD2
-rw-r--r--extra/gnome-documents/PKGBUILD2
-rw-r--r--extra/gnome-font-viewer/PKGBUILD2
-rw-r--r--extra/gnome-keyring/PKGBUILD2
-rw-r--r--extra/gnome-klotski/PKGBUILD2
-rw-r--r--extra/gnome-mahjongg/PKGBUILD2
-rw-r--r--extra/gnome-menus/PKGBUILD2
-rw-r--r--extra/gnome-mines/PKGBUILD2
-rw-r--r--extra/gnome-nettool/PKGBUILD2
-rw-r--r--extra/gnome-nibbles/PKGBUILD2
-rw-r--r--extra/gnome-online-accounts/PKGBUILD2
-rw-r--r--extra/gnome-perl/PKGBUILD2
-rw-r--r--extra/gnome-photos/PKGBUILD2
-rw-r--r--extra/gnome-power-manager/PKGBUILD2
-rw-r--r--extra/gnome-python-desktop/PKGBUILD2
-rw-r--r--extra/gnome-python-extras/PKGBUILD2
-rw-r--r--extra/gnome-python/PKGBUILD4
-rw-r--r--extra/gnome-robots/PKGBUILD2
-rw-r--r--extra/gnome-screenshot/PKGBUILD2
-rw-r--r--extra/gnome-search-tool/PKGBUILD2
-rw-r--r--extra/gnome-session/PKGBUILD2
-rw-r--r--extra/gnome-settings-daemon/PKGBUILD2
-rw-r--r--extra/gnome-shell/PKGBUILD2
-rw-r--r--extra/gnome-speech/PKGBUILD9
-rw-r--r--extra/gnome-system-log/PKGBUILD2
-rw-r--r--extra/gnome-system-monitor/PKGBUILD2
-rw-r--r--extra/gnome-terminal/PKGBUILD2
-rw-r--r--extra/gnome-tetravex/PKGBUILD2
-rw-r--r--extra/gnome-themes-standard/PKGBUILD2
-rw-r--r--extra/gnome-user-share/PKGBUILD2
-rw-r--r--extra/gnome-vfs-perl/PKGBUILD2
-rw-r--r--extra/gnome-vfs/PKGBUILD2
-rw-r--r--extra/gnome-vfsmm/PKGBUILD4
-rw-r--r--extra/gnome-weather/PKGBUILD2
-rw-r--r--extra/gnomecanvas-perl/PKGBUILD2
-rw-r--r--extra/gnu-netcat/PKGBUILD4
-rw-r--r--extra/gnucash/PKGBUILD2
-rw-r--r--extra/gnugo/PKGBUILD4
-rw-r--r--extra/gnumeric/PKGBUILD2
-rw-r--r--extra/gnuplot/PKGBUILD2
-rw-r--r--extra/gnutls/PKGBUILD5
-rw-r--r--extra/gob2/PKGBUILD2
-rw-r--r--extra/gobject-introspection/PKGBUILD2
-rw-r--r--extra/goffice/PKGBUILD2
-rw-r--r--extra/goffice0.8/PKGBUILD2
-rw-r--r--extra/gpart/PKGBUILD4
-rw-r--r--extra/gparted/PKGBUILD2
-rw-r--r--extra/gperf/PKGBUILD4
-rw-r--r--extra/gphoto2/PKGBUILD2
-rw-r--r--extra/gpsd/PKGBUILD2
-rw-r--r--extra/gptfdisk/PKGBUILD2
-rw-r--r--extra/grantlee/PKGBUILD2
-rw-r--r--extra/graphicsmagick/PKGBUILD2
-rw-r--r--extra/graphite/PKGBUILD2
-rw-r--r--extra/graphviz/PKGBUILD14
-rw-r--r--extra/grilo-plugins/PKGBUILD2
-rw-r--r--extra/grilo/PKGBUILD2
-rw-r--r--extra/grip/PKGBUILD4
-rw-r--r--extra/gsasl/PKGBUILD2
-rw-r--r--extra/gsl/PKGBUILD2
-rw-r--r--extra/gsm/PKGBUILD4
-rw-r--r--extra/gssdp/PKGBUILD2
-rw-r--r--extra/gst-libav/PKGBUILD2
-rw-r--r--extra/gst-plugins-base/PKGBUILD2
-rw-r--r--extra/gst-plugins-good/PKGBUILD2
-rw-r--r--extra/gst-plugins-ugly/PKGBUILD2
-rw-r--r--extra/gstreamer/PKGBUILD6
-rw-r--r--extra/gstreamer0.10-base/PKGBUILD8
-rw-r--r--extra/gstreamer0.10-ffmpeg/PKGBUILD4
-rw-r--r--extra/gstreamer0.10-good/PKGBUILD6
-rw-r--r--extra/gstreamer0.10-python/PKGBUILD4
-rw-r--r--extra/gstreamer0.10-ugly/PKGBUILD6
-rw-r--r--extra/gstreamer0.10/PKGBUILD6
-rw-r--r--extra/gthumb/PKGBUILD2
-rw-r--r--extra/gtk-engines/PKGBUILD4
-rw-r--r--extra/gtk-vnc/PKGBUILD6
-rw-r--r--extra/gtk-xfce-engine/PKGBUILD2
-rw-r--r--extra/gtk/PKGBUILD2
-rw-r--r--extra/gtk2-perl/PKGBUILD2
-rw-r--r--extra/gtk2/PKGBUILD2
-rw-r--r--extra/gtk3/PKGBUILD2
-rw-r--r--extra/gtkglext/PKGBUILD6
-rw-r--r--extra/gtkglextmm/PKGBUILD2
-rw-r--r--extra/gtkhtml/PKGBUILD6
-rw-r--r--extra/gtkhtml4/PKGBUILD2
-rw-r--r--extra/gtkimageview/PKGBUILD4
-rw-r--r--extra/gtkmathview/0005-gcc-4.7-build-fixes.patch57
-rw-r--r--extra/gtkmathview/PKGBUILD12
-rw-r--r--extra/gtkmathview/missingLib.diff925
-rw-r--r--extra/gtkmm/PKGBUILD2
-rw-r--r--extra/gtkmm3/PKGBUILD2
-rw-r--r--extra/gtksourceview2/PKGBUILD4
-rw-r--r--extra/gtksourceview3/PKGBUILD2
-rw-r--r--extra/gtkspell/PKGBUILD2
-rw-r--r--extra/gts/PKGBUILD2
-rw-r--r--extra/gucharmap/PKGBUILD2
-rw-r--r--extra/guile/PKGBUILD2
-rw-r--r--extra/guile1.8/PKGBUILD2
-rw-r--r--extra/gupnp-av/PKGBUILD2
-rw-r--r--extra/gupnp-dlna/PKGBUILD2
-rw-r--r--extra/gupnp-igd/PKGBUILD2
-rw-r--r--extra/gupnp/PKGBUILD2
-rw-r--r--extra/gutenprint/PKGBUILD2
-rw-r--r--extra/gv/PKGBUILD2
-rw-r--r--extra/gvfs/PKGBUILD2
-rw-r--r--extra/gweled/PKGBUILD4
-rw-r--r--extra/habak/PKGBUILD6
-rw-r--r--extra/harfbuzz/PKGBUILD2
-rw-r--r--extra/hddtemp/PKGBUILD2
-rw-r--r--extra/hdf5-cpp-fortran/PKGBUILD2
-rw-r--r--extra/hdf5-openmpi/PKGBUILD2
-rw-r--r--extra/hdf5/PKGBUILD2
-rw-r--r--extra/hefur/PKGBUILD2
-rw-r--r--extra/help2man/PKGBUILD2
-rw-r--r--extra/hexedit/PKGBUILD2
-rw-r--r--extra/hspell/PKGBUILD4
-rw-r--r--extra/htdig/PKGBUILD2
-rw-r--r--extra/htop/PKGBUILD4
-rw-r--r--extra/hugin/PKGBUILD2
-rw-r--r--extra/hunspell/PKGBUILD2
-rw-r--r--extra/hwloc/PKGBUILD2
-rw-r--r--extra/hylafax/PKGBUILD2
-rw-r--r--extra/hyphen/PKGBUILD2
-rw-r--r--extra/i8kutils/PKGBUILD2
-rw-r--r--extra/iagno/PKGBUILD2
-rw-r--r--extra/ibus/PKGBUILD2
-rw-r--r--extra/icewm/PKGBUILD6
-rw-r--r--extra/icu/PKGBUILD2
-rw-r--r--extra/id3/PKGBUILD4
-rw-r--r--extra/id3lib/PKGBUILD2
-rw-r--r--extra/id3v2/PKGBUILD2
-rw-r--r--extra/idnkit/PKGBUILD4
-rw-r--r--extra/ifplugd/PKGBUILD2
-rw-r--r--extra/ilmbase/PKGBUILD9
-rw-r--r--extra/ilmbase/ilmbase-IexMath.patch6
-rw-r--r--extra/imagemagick/PKGBUILD10
-rw-r--r--extra/imake/PKGBUILD2
-rw-r--r--extra/imap/PKGBUILD4
-rw-r--r--extra/imlib/PKGBUILD2
-rw-r--r--extra/imlib2/PKGBUILD2
-rw-r--r--extra/indent/PKGBUILD2
-rw-r--r--extra/iniparser/PKGBUILD2
-rw-r--r--extra/inkscape/PKGBUILD2
-rw-r--r--extra/intel-tbb/PKGBUILD2
-rw-r--r--extra/iptraf-ng/0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch127
-rw-r--r--extra/iptraf-ng/PKGBUILD16
-rw-r--r--extra/irqbalance/PKGBUILD2
-rw-r--r--extra/irssi/PKGBUILD2
-rw-r--r--extra/ispell/PKGBUILD4
-rw-r--r--extra/jack/PKGBUILD8
-rw-r--r--extra/jade/PKGBUILD2
-rw-r--r--extra/jasper/PKGBUILD2
-rw-r--r--extra/java-access-bridge/PKGBUILD2
-rw-r--r--extra/java-commons-daemon/PKGBUILD2
-rw-r--r--extra/js/PKGBUILD1
-rw-r--r--extra/js185/PKGBUILD12
-rw-r--r--extra/json-c/PKGBUILD2
-rw-r--r--extra/json-glib/PKGBUILD2
-rw-r--r--extra/jsoncpp/PKGBUILD2
-rw-r--r--extra/k3b/PKGBUILD2
-rw-r--r--extra/kactivities/PKGBUILD2
-rw-r--r--extra/kaffeine/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-jovie/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-kaccessible/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-kmag/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-kmousetool/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-kmouth/PKGBUILD2
-rw-r--r--extra/kdeadmin-kcron/PKGBUILD2
-rw-r--r--extra/kdeadmin-ksystemlog/PKGBUILD2
-rw-r--r--extra/kdeadmin-kuser/PKGBUILD2
-rw-r--r--extra/kdeartwork/PKGBUILD2
-rw-r--r--extra/kdebase-konsole/PKGBUILD2
-rw-r--r--extra/kdebase-workspace/PKGBUILD2
-rw-r--r--extra/kdebase/PKGBUILD17
-rw-r--r--extra/kdebase/kdebase-konqueror.install12
-rw-r--r--extra/kdebindings-korundum/PKGBUILD2
-rw-r--r--extra/kdebindings-kross/PKGBUILD2
-rw-r--r--extra/kdebindings-perlkde/PKGBUILD2
-rw-r--r--extra/kdebindings-perlqt/PKGBUILD2
-rw-r--r--extra/kdebindings-python/PKGBUILD2
-rw-r--r--extra/kdebindings-qtruby/PKGBUILD2
-rw-r--r--extra/kdebindings-smokegen/PKGBUILD2
-rw-r--r--extra/kdebindings-smokekde/PKGBUILD2
-rw-r--r--extra/kdebindings-smokeqt/PKGBUILD2
-rw-r--r--extra/kdeedu-analitza/PKGBUILD2
-rw-r--r--extra/kdeedu-blinken/PKGBUILD2
-rw-r--r--extra/kdeedu-cantor/PKGBUILD2
-rw-r--r--extra/kdeedu-kalgebra/PKGBUILD2
-rw-r--r--extra/kdeedu-kalzium/PKGBUILD2
-rw-r--r--extra/kdeedu-kanagram/PKGBUILD2
-rw-r--r--extra/kdeedu-kbruch/PKGBUILD2
-rw-r--r--extra/kdeedu-kgeography/PKGBUILD2
-rw-r--r--extra/kdeedu-khangman/PKGBUILD2
-rw-r--r--extra/kdeedu-kig/PKGBUILD2
-rw-r--r--extra/kdeedu-kiten/PKGBUILD2
-rw-r--r--extra/kdeedu-klettres/PKGBUILD2
-rw-r--r--extra/kdeedu-kmplot/PKGBUILD2
-rw-r--r--extra/kdeedu-kstars/PKGBUILD2
-rw-r--r--extra/kdeedu-ktouch/PKGBUILD2
-rw-r--r--extra/kdeedu-kturtle/PKGBUILD2
-rw-r--r--extra/kdeedu-kwordquiz/PKGBUILD2
-rw-r--r--extra/kdeedu-marble/PKGBUILD2
-rw-r--r--extra/kdeedu-pairs/PKGBUILD2
-rw-r--r--extra/kdeedu-parley/PKGBUILD2
-rw-r--r--extra/kdeedu-rocs/PKGBUILD2
-rw-r--r--extra/kdeedu-step/PKGBUILD2
-rw-r--r--extra/kdegames-bomber/PKGBUILD2
-rw-r--r--extra/kdegames-bovo/PKGBUILD2
-rw-r--r--extra/kdegames-granatier/PKGBUILD2
-rw-r--r--extra/kdegames-kapman/PKGBUILD2
-rw-r--r--extra/kdegames-katomic/PKGBUILD2
-rw-r--r--extra/kdegames-kblackbox/PKGBUILD2
-rw-r--r--extra/kdegames-kblocks/PKGBUILD2
-rw-r--r--extra/kdegames-kbounce/PKGBUILD2
-rw-r--r--extra/kdegames-kbreakout/PKGBUILD2
-rw-r--r--extra/kdegames-kdiamond/PKGBUILD2
-rw-r--r--extra/kdegames-kfourinline/PKGBUILD2
-rw-r--r--extra/kdegames-kgoldrunner/PKGBUILD2
-rw-r--r--extra/kdegames-kigo/PKGBUILD2
-rw-r--r--extra/kdegames-killbots/PKGBUILD2
-rw-r--r--extra/kdegames-kiriki/PKGBUILD2
-rw-r--r--extra/kdegames-kjumpingcube/PKGBUILD2
-rw-r--r--extra/kdegames-klickety/PKGBUILD2
-rw-r--r--extra/kdegames-klines/PKGBUILD2
-rw-r--r--extra/kdegames-kmahjongg/PKGBUILD2
-rw-r--r--extra/kdegames-kmines/PKGBUILD2
-rw-r--r--extra/kdegames-knavalbattle/PKGBUILD2
-rw-r--r--extra/kdegames-knetwalk/PKGBUILD2
-rw-r--r--extra/kdegames-kolf/PKGBUILD2
-rw-r--r--extra/kdegames-kollision/PKGBUILD2
-rw-r--r--extra/kdegames-konquest/PKGBUILD2
-rw-r--r--extra/kdegames-kpatience/PKGBUILD2
-rw-r--r--extra/kdegames-kreversi/PKGBUILD2
-rw-r--r--extra/kdegames-kshisen/PKGBUILD2
-rw-r--r--extra/kdegames-ksirk/PKGBUILD2
-rw-r--r--extra/kdegames-ksnakeduel/PKGBUILD2
-rw-r--r--extra/kdegames-kspaceduel/PKGBUILD2
-rw-r--r--extra/kdegames-ksquares/PKGBUILD2
-rw-r--r--extra/kdegames-ksudoku/PKGBUILD2
-rw-r--r--extra/kdegames-ktuberling/PKGBUILD2
-rw-r--r--extra/kdegames-kubrick/PKGBUILD2
-rw-r--r--extra/kdegames-lskat/PKGBUILD2
-rw-r--r--extra/kdegames-palapeli/PKGBUILD2
-rw-r--r--extra/kdegames-picmi/PKGBUILD2
-rw-r--r--extra/kdegraphics-gwenview/PKGBUILD2
-rw-r--r--extra/kdegraphics-kamera/PKGBUILD2
-rw-r--r--extra/kdegraphics-kcolorchooser/PKGBUILD2
-rw-r--r--extra/kdegraphics-kgamma/PKGBUILD2
-rw-r--r--extra/kdegraphics-kolourpaint/PKGBUILD2
-rw-r--r--extra/kdegraphics-kruler/PKGBUILD2
-rw-r--r--extra/kdegraphics-ksaneplugin/PKGBUILD2
-rw-r--r--extra/kdegraphics-ksnapshot/PKGBUILD2
-rw-r--r--extra/kdegraphics-mobipocket/PKGBUILD2
-rw-r--r--extra/kdegraphics-okular/PKGBUILD2
-rw-r--r--extra/kdegraphics-strigi-analyzer/PKGBUILD2
-rw-r--r--extra/kdegraphics-svgpart/PKGBUILD2
-rw-r--r--extra/kdegraphics-thumbnailers/PKGBUILD2
-rw-r--r--extra/kdemultimedia-audiocd-kio/PKGBUILD2
-rw-r--r--extra/kdemultimedia-dragonplayer/PKGBUILD2
-rw-r--r--extra/kdemultimedia-ffmpegthumbs/PKGBUILD2
-rw-r--r--extra/kdemultimedia-juk/PKGBUILD2
-rw-r--r--extra/kdemultimedia-kmix/PKGBUILD2
-rw-r--r--extra/kdemultimedia-kscd/PKGBUILD2
-rw-r--r--extra/kdemultimedia-mplayerthumbs/PKGBUILD2
-rw-r--r--extra/kdenetwork-filesharing/PKGBUILD2
-rw-r--r--extra/kdenetwork-kdnssd/PKGBUILD2
-rw-r--r--extra/kdenetwork-kget/PKGBUILD2
-rw-r--r--extra/kdenetwork-kppp/PKGBUILD2
-rw-r--r--extra/kdenetwork-krdc/PKGBUILD2
-rw-r--r--extra/kdenetwork-krfb/PKGBUILD2
-rw-r--r--extra/kdenetwork-strigi-analyzers/PKGBUILD2
-rw-r--r--extra/kdepim-runtime/PKGBUILD2
-rw-r--r--extra/kdepim/kdepim-akregator.install12
-rw-r--r--extra/kdepim/kdepim-kleopatra.install12
-rw-r--r--extra/kdepim/kdepim-kmail.install12
-rw-r--r--extra/kdepim/kdepim-knode.install12
-rw-r--r--extra/kdepim/kdepim-korganizer.install12
-rw-r--r--extra/kdepim/kdepim-ktnef.install12
-rw-r--r--extra/kdepim/kdepim.install11
-rw-r--r--extra/kdepimlibs/PKGBUILD2
-rw-r--r--extra/kdeplasma-addons/PKGBUILD2
-rw-r--r--extra/kdesdk-cervisia/PKGBUILD2
-rw-r--r--extra/kdesdk-dev-scripts/PKGBUILD2
-rw-r--r--extra/kdesdk-dev-utils/PKGBUILD2
-rw-r--r--extra/kdesdk-dolphin-plugins/PKGBUILD2
-rw-r--r--extra/kdesdk-kapptemplate/PKGBUILD2
-rw-r--r--extra/kdesdk-kate/PKGBUILD2
-rw-r--r--extra/kdesdk-kcachegrind/PKGBUILD2
-rw-r--r--extra/kdesdk-kioslaves/PKGBUILD2
-rw-r--r--extra/kdesdk-kompare/PKGBUILD2
-rw-r--r--extra/kdesdk-lokalize/PKGBUILD2
-rw-r--r--extra/kdesdk-okteta/PKGBUILD2
-rw-r--r--extra/kdesdk-poxml/PKGBUILD2
-rw-r--r--extra/kdesdk-strigi-analyzers/PKGBUILD2
-rw-r--r--extra/kdesdk-thumbnailers/PKGBUILD2
-rw-r--r--extra/kdesdk-umbrello/PKGBUILD2
-rw-r--r--extra/kdetoys-amor/PKGBUILD2
-rw-r--r--extra/kdetoys-kteatime/PKGBUILD2
-rw-r--r--extra/kdetoys-ktux/PKGBUILD2
-rw-r--r--extra/kdeutils-filelight/PKGBUILD2
-rw-r--r--extra/kdeutils-kcalc/PKGBUILD2
-rw-r--r--extra/kdeutils-kcharselect/PKGBUILD2
-rw-r--r--extra/kdeutils-kdf/PKGBUILD2
-rw-r--r--extra/kdeutils-kfloppy/PKGBUILD2
-rw-r--r--extra/kdeutils-kgpg/PKGBUILD2
-rw-r--r--extra/kdeutils-kremotecontrol/PKGBUILD2
-rw-r--r--extra/kdeutils-ktimer/PKGBUILD2
-rw-r--r--extra/kdeutils-kwallet/PKGBUILD2
-rw-r--r--extra/kdeutils-print-manager/PKGBUILD2
-rw-r--r--extra/kdeutils-superkaramba/PKGBUILD2
-rw-r--r--extra/kdeutils-sweeper/PKGBUILD2
-rw-r--r--extra/kdevelop-pg-qt/PKGBUILD2
-rw-r--r--extra/kdevelop-php/PKGBUILD2
-rw-r--r--extra/kdevelop-python/PKGBUILD2
-rw-r--r--extra/kdevelop/PKGBUILD2
-rw-r--r--extra/kdevplatform/PKGBUILD2
-rw-r--r--extra/kdewebdev/PKGBUILD2
-rw-r--r--extra/kdiff3/PKGBUILD2
-rw-r--r--extra/kexec-tools/PKGBUILD2
-rw-r--r--extra/kino/PKGBUILD2
-rw-r--r--extra/kismet/PKGBUILD5
-rw-r--r--extra/kobodeluxe/PKGBUILD2
-rw-r--r--extra/konversation/PKGBUILD2
-rw-r--r--extra/kscreen/PKGBUILD2
-rw-r--r--extra/ktorrent/PKGBUILD2
-rw-r--r--extra/kwebkitpart/PKGBUILD2
-rw-r--r--extra/lablgtk2/PKGBUILD2
-rw-r--r--extra/ladspa/PKGBUILD4
-rw-r--r--extra/lame/PKGBUILD2
-rw-r--r--extra/lapack/PKGBUILD2
-rw-r--r--extra/latex2rtf/PKGBUILD2
-rw-r--r--extra/lbreakout2/PKGBUILD2
-rw-r--r--extra/lcab/PKGBUILD4
-rw-r--r--extra/lcms/PKGBUILD2
-rw-r--r--extra/lcms2/PKGBUILD2
-rw-r--r--extra/ldb/PKGBUILD2
-rw-r--r--extra/leafpad/PKGBUILD4
-rw-r--r--extra/lensfun/PKGBUILD9
-rw-r--r--extra/lesstif/PKGBUILD5
-rw-r--r--extra/lftp/PKGBUILD2
-rw-r--r--extra/libaccounts-glib/PKGBUILD2
-rw-r--r--extra/libaccounts-qt/PKGBUILD2
-rw-r--r--extra/libaio/PKGBUILD13
-rw-r--r--extra/libao/PKGBUILD2
-rw-r--r--extra/libart-lgpl/PKGBUILD2
-rw-r--r--extra/libass/PKGBUILD2
-rw-r--r--extra/libasyncns/PKGBUILD2
-rw-r--r--extra/libatasmart/PKGBUILD2
-rw-r--r--extra/libavc1394/PKGBUILD2
-rw-r--r--extra/libbluedevil/PKGBUILD2
-rw-r--r--extra/libbluray/PKGBUILD2
-rw-r--r--extra/libbonobo/PKGBUILD2
-rw-r--r--extra/libbonoboui/PKGBUILD4
-rw-r--r--extra/libbsd/PKGBUILD2
-rw-r--r--extra/libburn/PKGBUILD2
-rw-r--r--extra/libcaca/PKGBUILD2
-rw-r--r--extra/libcanberra/PKGBUILD2
-rw-r--r--extra/libcap-ng/PKGBUILD2
-rw-r--r--extra/libcdaudio/PKGBUILD2
-rw-r--r--extra/libcddb/PKGBUILD2
-rw-r--r--extra/libcdio-paranoia/PKGBUILD2
-rw-r--r--extra/libcdio/PKGBUILD2
-rw-r--r--extra/libchamplain/PKGBUILD2
-rw-r--r--extra/libchewing/PKGBUILD2
-rw-r--r--extra/libconfig/PKGBUILD4
-rw-r--r--extra/libcroco/PKGBUILD4
-rw-r--r--extra/libcryptui/PKGBUILD2
-rw-r--r--extra/libcue/PKGBUILD2
-rw-r--r--extra/libdaemon/PKGBUILD4
-rw-r--r--extra/libdatrie/PKGBUILD2
-rw-r--r--extra/libdbusmenu-qt/PKGBUILD2
-rw-r--r--extra/libdc1394/PKGBUILD2
-rw-r--r--extra/libdca/PKGBUILD2
-rw-r--r--extra/libdiscid/PKGBUILD2
-rw-r--r--extra/libdmapsharing/PKGBUILD2
-rw-r--r--extra/libdmtx/PKGBUILD2
-rw-r--r--extra/libdmx/PKGBUILD2
-rw-r--r--extra/libdrm/PKGBUILD6
-rw-r--r--extra/libdv/PKGBUILD2
-rw-r--r--extra/libdvbpsi/PKGBUILD2
-rw-r--r--extra/libdvdcss/PKGBUILD2
-rw-r--r--extra/libdvdnav/PKGBUILD4
-rw-r--r--extra/libdvdread/PKGBUILD4
-rw-r--r--extra/libebml/PKGBUILD2
-rw-r--r--extra/libepc/PKGBUILD2
-rw-r--r--extra/libetpan/PKGBUILD2
-rw-r--r--extra/libevdev/PKGBUILD2
-rw-r--r--extra/libexif/PKGBUILD2
-rw-r--r--extra/libffado/PKGBUILD4
-rw-r--r--extra/libfontenc/PKGBUILD2
-rw-r--r--extra/libfprint/PKGBUILD2
-rw-r--r--extra/libfs/PKGBUILD2
-rw-r--r--extra/libftdi/PKGBUILD2
-rw-r--r--extra/libgadu/PKGBUILD2
-rw-r--r--extra/libgda/PKGBUILD2
-rw-r--r--extra/libgdata/PKGBUILD2
-rw-r--r--extra/libgdiplus/PKGBUILD2
-rw-r--r--extra/libgee/PKGBUILD2
-rw-r--r--extra/libgee06/PKGBUILD2
-rw-r--r--extra/libgksu/PKGBUILD6
-rw-r--r--extra/libglade/PKGBUILD2
-rw-r--r--extra/libglademm/PKGBUILD4
-rw-r--r--extra/libgme/PKGBUILD4
-rw-r--r--extra/libgnome-keyring/PKGBUILD2
-rw-r--r--extra/libgnome/PKGBUILD2
-rw-r--r--extra/libgnomecanvas/PKGBUILD4
-rw-r--r--extra/libgnomecanvasmm/PKGBUILD4
-rw-r--r--extra/libgnomekbd/PKGBUILD2
-rw-r--r--extra/libgnomemm/PKGBUILD4
-rw-r--r--extra/libgnomeui/PKGBUILD4
-rw-r--r--extra/libgnomeuimm/PKGBUILD4
-rw-r--r--extra/libgphoto2/PKGBUILD2
-rw-r--r--extra/libgpod/PKGBUILD12
-rw-r--r--extra/libgsf/PKGBUILD2
-rw-r--r--extra/libgtop/PKGBUILD2
-rw-r--r--extra/libguess/PKGBUILD4
-rw-r--r--extra/libgusb/PKGBUILD2
-rw-r--r--extra/libgweather/PKGBUILD2
-rw-r--r--extra/libgxps/PKGBUILD2
-rw-r--r--extra/libhangul/PKGBUILD2
-rw-r--r--extra/libical/PKGBUILD2
-rw-r--r--extra/libice/PKGBUILD2
-rw-r--r--extra/libid3tag/PKGBUILD2
-rw-r--r--extra/libidl2/PKGBUILD2
-rw-r--r--extra/libidn/PKGBUILD2
-rw-r--r--extra/libiec61883/PKGBUILD4
-rw-r--r--extra/libieee1284/PKGBUILD2
-rw-r--r--extra/libifp/PKGBUILD2
-rw-r--r--extra/libimobiledevice/PKGBUILD2
-rw-r--r--extra/libindi/PKGBUILD2
-rw-r--r--extra/libiodbc/PKGBUILD2
-rw-r--r--extra/libirman/PKGBUILD2
-rw-r--r--extra/libisoburn/PKGBUILD2
-rw-r--r--extra/libisofs/PKGBUILD2
-rw-r--r--extra/libjpeg-turbo/PKGBUILD2
-rw-r--r--extra/libkate/PKGBUILD2
-rw-r--r--extra/libkcddb/PKGBUILD2
-rw-r--r--extra/libkcompactdisc/PKGBUILD2
-rw-r--r--extra/libkdcraw/PKGBUILD2
-rw-r--r--extra/libkdeedu/PKGBUILD2
-rw-r--r--extra/libkdegames/PKGBUILD2
-rw-r--r--extra/libkexiv2/PKGBUILD2
-rw-r--r--extra/libkeybinder3/PKGBUILD2
-rw-r--r--extra/libkfbapi/PKGBUILD2
-rw-r--r--extra/libkgapi/PKGBUILD2
-rw-r--r--extra/libkipi/PKGBUILD2
-rw-r--r--extra/libkmahjongg/PKGBUILD2
-rw-r--r--extra/libkolab/PKGBUILD2
-rw-r--r--extra/libkolabxml/PKGBUILD2
-rw-r--r--extra/libksane/PKGBUILD2
-rw-r--r--extra/libkscreen/PKGBUILD2
-rw-r--r--extra/libktorrent/PKGBUILD2
-rw-r--r--extra/liblastfm/PKGBUILD2
-rw-r--r--extra/liblo/PKGBUILD2
-rw-r--r--extra/liblouis/PKGBUILD2
-rw-r--r--extra/liblqr/PKGBUILD2
-rw-r--r--extra/liblrdf/PKGBUILD2
-rw-r--r--extra/libmad/PKGBUILD4
-rw-r--r--extra/libmatroska/PKGBUILD2
-rw-r--r--extra/libmbim/PKGBUILD2
-rw-r--r--extra/libmcrypt/PKGBUILD4
-rw-r--r--extra/libmikmod/PKGBUILD2
-rw-r--r--extra/libmms/PKGBUILD4
-rw-r--r--extra/libmng/PKGBUILD2
-rw-r--r--extra/libmodplug/PKGBUILD2
-rw-r--r--extra/libmowgli/PKGBUILD2
-rw-r--r--extra/libmp3splt/PKGBUILD2
-rw-r--r--extra/libmp4v2/PKGBUILD4
-rw-r--r--extra/libmpcdec/PKGBUILD4
-rw-r--r--extra/libmpd/PKGBUILD2
-rw-r--r--extra/libmpdclient/PKGBUILD2
-rw-r--r--extra/libmpeg2/PKGBUILD2
-rw-r--r--extra/libmsn/PKGBUILD14
-rw-r--r--extra/libmsn/gcc47.patch11
-rw-r--r--extra/libmspack/PKGBUILD2
-rw-r--r--extra/libmtp/PKGBUILD2
-rw-r--r--extra/libmusicbrainz3/PKGBUILD2
-rw-r--r--extra/libmusicbrainz5/PKGBUILD2
-rw-r--r--extra/libmygpo-qt/PKGBUILD2
-rw-r--r--extra/libmythes/PKGBUILD2
-rw-r--r--extra/libnet/PKGBUILD4
-rw-r--r--extra/libnice/PKGBUILD2
-rw-r--r--extra/libnl1/PKGBUILD2
-rw-r--r--extra/libnotify/PKGBUILD2
-rw-r--r--extra/libnova/PKGBUILD2
-rw-r--r--extra/liboauth/PKGBUILD2
-rw-r--r--extra/libofa/PKGBUILD2
-rw-r--r--extra/libofa/gcc47.patch22
-rw-r--r--extra/libofx/PKGBUILD2
-rw-r--r--extra/libogg/PKGBUILD2
-rw-r--r--extra/liboil/PKGBUILD2
-rw-r--r--extra/liborigin2/PKGBUILD2
-rw-r--r--extra/libotf/PKGBUILD2
-rw-r--r--extra/libotr/PKGBUILD2
-rw-r--r--extra/libotr3/PKGBUILD2
-rw-r--r--extra/libots/PKGBUILD5
-rw-r--r--extra/libpano13/PKGBUILD7
-rw-r--r--extra/libpciaccess/PKGBUILD2
-rw-r--r--extra/libpeas/PKGBUILD14
-rw-r--r--extra/libplist/PKGBUILD2
-rw-r--r--extra/libpng/PKGBUILD2
-rw-r--r--extra/libproxy/PKGBUILD10
-rw-r--r--extra/libpst/PKGBUILD2
-rw-r--r--extra/libpwquality/PKGBUILD2
-rw-r--r--extra/libqalculate/PKGBUILD2
-rw-r--r--extra/libqmi/PKGBUILD2
-rw-r--r--extra/libquvi/PKGBUILD2
-rw-r--r--extra/libqzeitgeist/PKGBUILD2
-rw-r--r--extra/libraw1394/PKGBUILD2
-rw-r--r--extra/librsvg/PKGBUILD2
-rw-r--r--extra/libsamplerate/PKGBUILD2
-rw-r--r--extra/libseccomp/PKGBUILD2
-rw-r--r--extra/libsecret/PKGBUILD2
-rw-r--r--extra/libsexy/PKGBUILD4
-rw-r--r--extra/libshout/PKGBUILD2
-rw-r--r--extra/libsidplay/PKGBUILD4
-rw-r--r--extra/libsidplayfp/PKGBUILD2
-rw-r--r--extra/libsigc++/PKGBUILD2
-rw-r--r--extra/libsigsegv/PKGBUILD4
-rw-r--r--extra/libsm/PKGBUILD2
-rw-r--r--extra/libsmbios/PKGBUILD2
-rw-r--r--extra/libsndfile/PKGBUILD2
-rw-r--r--extra/libsocialweb/PKGBUILD2
-rw-r--r--extra/libsoup/PKGBUILD2
-rw-r--r--extra/libspectre/PKGBUILD4
-rw-r--r--extra/libspiro/PKGBUILD2
-rw-r--r--extra/libsrtp/PKGBUILD2
-rw-r--r--extra/libssh/PKGBUILD2
-rw-r--r--extra/libstdc++5/PKGBUILD2
-rw-r--r--extra/libstroke/PKGBUILD2
-rw-r--r--extra/libtar/PKGBUILD2
-rw-r--r--extra/libtasn1/PKGBUILD2
-rw-r--r--extra/libtextcat/PKGBUILD2
-rw-r--r--extra/libthai/PKGBUILD2
-rw-r--r--extra/libtheora/PKGBUILD4
-rw-r--r--extra/libtiff/PKGBUILD2
-rw-r--r--extra/libtiger/PKGBUILD4
-rw-r--r--extra/libtorrent-rasterbar/PKGBUILD2
-rw-r--r--extra/libtxc_dxtn/PKGBUILD2
-rw-r--r--extra/libunique/PKGBUILD4
-rw-r--r--extra/libunique3/PKGBUILD4
-rw-r--r--extra/libunistring/PKGBUILD2
-rw-r--r--extra/libupnp/PKGBUILD2
-rw-r--r--extra/libusb-compat/PKGBUILD2
-rw-r--r--extra/libutempter/PKGBUILD2
-rw-r--r--extra/libva/PKGBUILD2
-rw-r--r--extra/libva/libva-1.1.0-wayland1.patch336
-rw-r--r--extra/libvdpau/PKGBUILD2
-rw-r--r--extra/libvisual-plugins/PKGBUILD2
-rw-r--r--extra/libvisual/PKGBUILD4
-rw-r--r--extra/libvncserver/PKGBUILD2
-rw-r--r--extra/libvorbis/PKGBUILD4
-rw-r--r--extra/libvpx/PKGBUILD18
-rw-r--r--extra/libvpx/mips64el.patch37
-rw-r--r--extra/libwacom/PKGBUILD2
-rw-r--r--extra/libwebp/PKGBUILD2
-rw-r--r--extra/libwmf/PKGBUILD2
-rw-r--r--extra/libwnck/PKGBUILD4
-rw-r--r--extra/libwnck3/PKGBUILD2
-rw-r--r--extra/libwpd/PKGBUILD2
-rw-r--r--extra/libwpg/PKGBUILD2
-rw-r--r--extra/libwps/PKGBUILD2
-rw-r--r--extra/libx11/PKGBUILD2
-rw-r--r--extra/libxau/PKGBUILD2
-rw-r--r--extra/libxaw/PKGBUILD2
-rw-r--r--extra/libxcb/PKGBUILD2
-rw-r--r--extra/libxcomposite/PKGBUILD2
-rw-r--r--extra/libxcursor/PKGBUILD2
-rw-r--r--extra/libxdamage/PKGBUILD2
-rw-r--r--extra/libxdmcp/PKGBUILD4
-rw-r--r--extra/libxevie/PKGBUILD2
-rw-r--r--extra/libxext/PKGBUILD2
-rw-r--r--extra/libxfce4ui/PKGBUILD2
-rw-r--r--extra/libxfce4util/PKGBUILD2
-rw-r--r--extra/libxfcegui4/PKGBUILD4
-rw-r--r--extra/libxfixes/PKGBUILD2
-rw-r--r--extra/libxfont/PKGBUILD2
-rw-r--r--extra/libxft/PKGBUILD2
-rw-r--r--extra/libxi/PKGBUILD2
-rw-r--r--extra/libxinerama/PKGBUILD2
-rw-r--r--extra/libxkbcommon/PKGBUILD2
-rw-r--r--extra/libxkbfile/PKGBUILD4
-rw-r--r--extra/libxkbui/PKGBUILD2
-rw-r--r--extra/libxklavier/PKGBUILD2
-rw-r--r--extra/libxmi/PKGBUILD5
-rw-r--r--extra/libxml++/PKGBUILD2
-rw-r--r--extra/libxml2/PKGBUILD2
-rw-r--r--extra/libxmu/PKGBUILD2
-rw-r--r--extra/libxp/PKGBUILD2
-rw-r--r--extra/libxpm/PKGBUILD2
-rw-r--r--extra/libxrandr/PKGBUILD2
-rw-r--r--extra/libxrender/PKGBUILD2
-rw-r--r--extra/libxres/PKGBUILD2
-rw-r--r--extra/libxslt/PKGBUILD2
-rw-r--r--extra/libxss/PKGBUILD2
-rw-r--r--extra/libxt/PKGBUILD2
-rw-r--r--extra/libxtst/PKGBUILD2
-rw-r--r--extra/libxv/PKGBUILD2
-rw-r--r--extra/libxvmc/PKGBUILD2
-rw-r--r--extra/libxxf86dga/PKGBUILD2
-rw-r--r--extra/libxxf86vm/PKGBUILD2
-rw-r--r--extra/libytnef/PKGBUILD4
-rw-r--r--extra/libzapojit/PKGBUILD2
-rw-r--r--extra/libzeitgeist/PKGBUILD2
-rw-r--r--extra/libzip/PKGBUILD2
-rw-r--r--extra/libzrtpcpp/PKGBUILD2
-rw-r--r--extra/libzvt/PKGBUILD11
-rw-r--r--extra/libzvt/libzvt-2.0.1-correct_glib_include.patch11
-rw-r--r--extra/licq/PKGBUILD2
-rw-r--r--extra/lightsoff/PKGBUILD2
-rw-r--r--extra/lighttpd/PKGBUILD2
-rw-r--r--extra/lilv/PKGBUILD2
-rw-r--r--extra/link-grammar/PKGBUILD2
-rw-r--r--extra/liquidwar/PKGBUILD3
-rw-r--r--extra/live-media/PKGBUILD2
-rw-r--r--extra/llvm/PKGBUILD2
-rw-r--r--extra/lm_sensors/PKGBUILD2
-rw-r--r--extra/loudmouth/PKGBUILD2
-rw-r--r--extra/lpsolve/PKGBUILD2
-rw-r--r--extra/lsof/PKGBUILD2
-rw-r--r--extra/ltrace/PKGBUILD2
-rw-r--r--extra/lua/PKGBUILD2
-rw-r--r--extra/lua51/PKGBUILD6
-rw-r--r--extra/lv2/PKGBUILD2
-rw-r--r--extra/lynx/PKGBUILD5
-rw-r--r--extra/lyx/PKGBUILD2
-rw-r--r--extra/lzo/PKGBUILD4
-rw-r--r--extra/lzop/PKGBUILD2
-rw-r--r--extra/m17n-lib/PKGBUILD2
-rw-r--r--extra/manedit/PKGBUILD4
-rw-r--r--extra/mariadb/PKGBUILD5
-rw-r--r--extra/mash/PKGBUILD2
-rw-r--r--extra/maxima/PKGBUILD15
-rw-r--r--extra/mcpp/PKGBUILD2
-rw-r--r--extra/mediastreamer/PKGBUILD2
-rw-r--r--extra/memcached/PKGBUILD2
-rw-r--r--extra/mercurial/PKGBUILD2
-rw-r--r--extra/mesa/PKGBUILD22
-rw-r--r--extra/mesa/mesa-loongson.patch11
-rw-r--r--extra/metalog/PKGBUILD2
-rw-r--r--extra/mhash/PKGBUILD2
-rw-r--r--extra/minicom/PKGBUILD2
-rw-r--r--extra/mirage/PKGBUILD4
-rw-r--r--extra/miro/PKGBUILD2
-rw-r--r--extra/mjpegtools/PKGBUILD4
-rw-r--r--extra/mkvtoolnix/PKGBUILD2
-rw-r--r--extra/moc/PKGBUILD2
-rw-r--r--extra/mod_dnssd/PKGBUILD4
-rw-r--r--extra/mod_fcgid/PKGBUILD2
-rw-r--r--extra/mod_perl/PKGBUILD2
-rw-r--r--extra/modemmanager/PKGBUILD2
-rw-r--r--extra/most/PKGBUILD2
-rw-r--r--extra/mousepad/PKGBUILD2
-rw-r--r--extra/mousetweaks/PKGBUILD2
-rw-r--r--extra/mp3splt/PKGBUILD2
-rw-r--r--extra/mp3wrap/PKGBUILD4
-rw-r--r--extra/mpc/PKGBUILD2
-rw-r--r--extra/mpd/PKGBUILD2
-rw-r--r--extra/mpg123/PKGBUILD2
-rw-r--r--extra/msmtp/PKGBUILD2
-rw-r--r--extra/mtdev/PKGBUILD2
-rw-r--r--extra/mtools/PKGBUILD2
-rw-r--r--extra/mtr/PKGBUILD2
-rw-r--r--extra/muparser/PKGBUILD2
-rw-r--r--extra/musicbrainz/PKGBUILD2
-rw-r--r--extra/mutt/PKGBUILD2
-rw-r--r--extra/mutter/PKGBUILD2
-rw-r--r--extra/mysql-python/PKGBUILD2
-rw-r--r--extra/naim/PKGBUILD4
-rw-r--r--extra/nautilus-open-terminal/PKGBUILD2
-rw-r--r--extra/nautilus-sendto/PKGBUILD2
-rw-r--r--extra/nautilus/PKGBUILD2
-rw-r--r--extra/nawk/PKGBUILD2
-rw-r--r--extra/ncftp/PKGBUILD5
-rw-r--r--extra/ncmpc/PKGBUILD2
-rw-r--r--extra/nedit/PKGBUILD2
-rw-r--r--extra/neon/PKGBUILD2
-rw-r--r--extra/nepomuk-core/PKGBUILD2
-rw-r--r--extra/nepomuk-widgets/PKGBUILD2
-rw-r--r--extra/net-snmp/PKGBUILD2
-rw-r--r--extra/netcdf-cxx/PKGBUILD2
-rw-r--r--extra/netcdf-fortran/PKGBUILD2
-rw-r--r--extra/netcdf/PKGBUILD2
-rw-r--r--extra/netkit-bsd-finger/PKGBUILD2
-rw-r--r--extra/netpbm/PKGBUILD4
-rw-r--r--extra/nettle/PKGBUILD2
-rw-r--r--extra/network-manager-applet/PKGBUILD2
-rw-r--r--extra/networkmanager-openconnect/PKGBUILD2
-rw-r--r--extra/networkmanager-openvpn/PKGBUILD4
-rw-r--r--extra/networkmanager-pptp/PKGBUILD2
-rw-r--r--extra/networkmanager-vpnc/PKGBUILD4
-rw-r--r--extra/networkmanager/PKGBUILD2
-rw-r--r--extra/neverball/PKGBUILD2
-rw-r--r--extra/nitrogen/PKGBUILD6
-rw-r--r--extra/nmap/PKGBUILD2
-rw-r--r--extra/nspr/PKGBUILD2
-rw-r--r--extra/nss-mdns/PKGBUILD4
-rw-r--r--extra/nss/PKGBUILD2
-rw-r--r--extra/nss_ldap/PKGBUILD3
-rw-r--r--extra/ntfs-3g_ntfsprogs/PKGBUILD2
-rw-r--r--extra/ntp/PKGBUILD2
-rw-r--r--extra/numactl/PKGBUILD2
-rw-r--r--extra/nx/PKGBUILD2
-rw-r--r--extra/obex-data-server/PKGBUILD2
-rw-r--r--extra/obexd/PKGBUILD2
-rw-r--r--extra/obexftp/PKGBUILD2
-rw-r--r--extra/ocaml/PKGBUILD19
-rw-r--r--extra/ocaml/fix-caml_int64_float_of_bits-n32.patch12
-rw-r--r--extra/ocrad/PKGBUILD2
-rw-r--r--extra/octave/PKGBUILD2
-rw-r--r--extra/ode/PKGBUILD2
-rw-r--r--extra/ogmtools/PKGBUILD4
-rw-r--r--extra/opal/PKGBUILD2
-rw-r--r--extra/openal/PKGBUILD15
-rw-r--r--extra/openal/fpu.patch57
-rw-r--r--extra/openbabel/PKGBUILD4
-rw-r--r--extra/openconnect/PKGBUILD2
-rw-r--r--extra/opencore-amr/PKGBUILD4
-rw-r--r--extra/opencv/PKGBUILD19
-rw-r--r--extra/opengtl/PKGBUILD2
-rw-r--r--extra/openjpeg/PKGBUILD2
-rw-r--r--extra/openmpi/PKGBUILD13
-rw-r--r--extra/openobex/PKGBUILD2
-rw-r--r--extra/openslp/PKGBUILD2
-rw-r--r--extra/opensp/PKGBUILD2
-rw-r--r--extra/opus/PKGBUILD2
-rw-r--r--extra/orage/PKGBUILD2
-rw-r--r--extra/orbit2/PKGBUILD4
-rw-r--r--extra/orc/PKGBUILD2
-rw-r--r--extra/ortp/PKGBUILD2
-rw-r--r--extra/ossp/PKGBUILD2
-rw-r--r--extra/oxygen-gtk2/PKGBUILD2
-rw-r--r--extra/oxygen-gtk3/PKGBUILD2
-rw-r--r--extra/p11-kit/PKGBUILD2
-rw-r--r--extra/pam_ldap/PKGBUILD5
-rw-r--r--extra/pango-perl/PKGBUILD2
-rw-r--r--extra/pango/PKGBUILD2
-rw-r--r--extra/pangomm/PKGBUILD2
-rw-r--r--extra/pangox-compat/PKGBUILD4
-rw-r--r--extra/paprefs/PKGBUILD4
-rw-r--r--extra/parted/PKGBUILD2
-rw-r--r--extra/pathological/PKGBUILD2
-rw-r--r--extra/pavucontrol/PKGBUILD2
-rw-r--r--extra/perl-alien-sdl/PKGBUILD2
-rw-r--r--extra/perl-async-interrupt/PKGBUILD2
-rw-r--r--extra/perl-bit-vector/PKGBUILD2
-rw-r--r--extra/perl-compress-bzip2/PKGBUILD2
-rw-r--r--extra/perl-crypt-openssl-bignum/PKGBUILD2
-rw-r--r--extra/perl-crypt-openssl-random/PKGBUILD2
-rw-r--r--extra/perl-crypt-openssl-rsa/PKGBUILD2
-rw-r--r--extra/perl-crypt-ssleay/PKGBUILD2
-rw-r--r--extra/perl-dbd-mysql/PKGBUILD2
-rw-r--r--extra/perl-dbd-sqlite/PKGBUILD2
-rw-r--r--extra/perl-dbi/PKGBUILD2
-rw-r--r--extra/perl-digest-nilsimsa/PKGBUILD2
-rw-r--r--extra/perl-digest-sha1/PKGBUILD2
-rw-r--r--extra/perl-ev/PKGBUILD2
-rw-r--r--extra/perl-fcgi/PKGBUILD2
-rw-r--r--extra/perl-guard/PKGBUILD2
-rw-r--r--extra/perl-html-parser/PKGBUILD2
-rw-r--r--extra/perl-libintl-perl/PKGBUILD2
-rw-r--r--extra/perl-list-moreutils/PKGBUILD2
-rw-r--r--extra/perl-locale-gettext/PKGBUILD2
-rw-r--r--extra/perl-net-dns/PKGBUILD2
-rw-r--r--extra/perl-net-ssleay/PKGBUILD2
-rw-r--r--extra/perl-net-upnp/PKGBUILD2
-rw-r--r--extra/perl-netaddr-ip/PKGBUILD2
-rw-r--r--extra/perl-sdl/PKGBUILD2
-rw-r--r--extra/perl-socket6/PKGBUILD2
-rw-r--r--extra/perl-template-toolkit/PKGBUILD2
-rw-r--r--extra/perl-term-readkey/PKGBUILD2
-rw-r--r--extra/perl-text-iconv/PKGBUILD2
-rw-r--r--extra/perl-tk/PKGBUILD2
-rw-r--r--extra/perl-xml-parser/PKGBUILD2
-rw-r--r--extra/perl-yaml-syck/PKGBUILD2
-rw-r--r--extra/pgbouncer/PKGBUILD2
-rw-r--r--extra/phonon-gstreamer/PKGBUILD2
-rw-r--r--extra/phonon-vlc/PKGBUILD2
-rw-r--r--extra/php-xcache/PKGBUILD2
-rw-r--r--extra/php/PKGBUILD2
-rw-r--r--extra/physfs/PKGBUILD2
-rw-r--r--extra/pidgin/PKGBUILD2
-rw-r--r--extra/pigeonhole/PKGBUILD2
-rw-r--r--extra/pixman/PKGBUILD2
-rw-r--r--extra/pkgfile/PKGBUILD2
-rw-r--r--extra/plotutils/PKGBUILD2
-rw-r--r--extra/pm-utils/PKGBUILD2
-rw-r--r--extra/polkit-kde/PKGBUILD4
-rw-r--r--extra/polkit-qt/PKGBUILD2
-rw-r--r--extra/polkit/PKGBUILD3
-rw-r--r--extra/poppler/PKGBUILD2
-rw-r--r--extra/postfix/PKGBUILD2
-rw-r--r--extra/postgresql-old-upgrade/PKGBUILD2
-rw-r--r--extra/postgresql/PKGBUILD2
-rw-r--r--extra/potrace/PKGBUILD2
-rw-r--r--extra/prison/PKGBUILD2
-rw-r--r--extra/procmail/PKGBUILD2
-rw-r--r--extra/progsreiserfs/PKGBUILD2
-rw-r--r--extra/psiconv/PKGBUILD2
-rw-r--r--extra/pstoedit/PKGBUILD2
-rw-r--r--extra/ptlib/PKGBUILD2
-rw-r--r--extra/pulseaudio/PKGBUILD7
-rw-r--r--extra/purple-plugin-pack/PKGBUILD4
-rw-r--r--extra/putty/PKGBUILD3
-rw-r--r--extra/pyalpm/PKGBUILD2
-rw-r--r--extra/pycrypto/PKGBUILD2
-rw-r--r--extra/pycups/PKGBUILD2
-rw-r--r--extra/pycurl/PKGBUILD2
-rw-r--r--extra/pygobject/PKGBUILD2
-rw-r--r--extra/pygobject/fix-pycairo-capi-declaration.patch17
-rw-r--r--extra/pygobject2/PKGBUILD2
-rw-r--r--extra/pygtk/PKGBUILD4
-rw-r--r--extra/pygtksourceview2/PKGBUILD4
-rw-r--r--extra/pyopenssl/PKGBUILD2
-rw-r--r--extra/pyorbit/PKGBUILD4
-rw-r--r--extra/pyqt4/PKGBUILD2
-rw-r--r--extra/pysmbc/PKGBUILD2
-rw-r--r--extra/python-cairo/PKGBUILD2
-rw-r--r--extra/python-egenix-mx-base/PKGBUILD2
-rw-r--r--extra/python-geoip/PKGBUILD2
-rw-r--r--extra/python-iwscan/PKGBUILD2
-rw-r--r--extra/python-lxml/PKGBUILD2
-rw-r--r--extra/python-markupsafe/PKGBUILD2
-rw-r--r--extra/python-notify/PKGBUILD2
-rwxr-xr-xextra/python-numpy/PKGBUILD2
-rw-r--r--extra/python-pygame/PKGBUILD2
-rw-r--r--extra/python-pyspi/PKGBUILD2
-rw-r--r--extra/python-pysqlite/PKGBUILD2
-rw-r--r--extra/python-telepathy/PKGBUILD10
-rw-r--r--extra/python-telepathy/telepathy-python-generated-errors.patch18
-rw-r--r--extra/python-urwid/PKGBUILD2
-rw-r--r--extra/python-wpactrl/PKGBUILD2
-rw-r--r--extra/python/PKGBUILD15
-rw-r--r--extra/python2-cairo/PKGBUILD4
-rw-r--r--extra/python2/PKGBUILD2
-rw-r--r--extra/pywebkitgtk/PKGBUILD2
-rw-r--r--extra/qalculate-gtk/PKGBUILD2
-rw-r--r--extra/qca-gnupg/PKGBUILD2
-rw-r--r--extra/qca-ossl/PKGBUILD2
-rw-r--r--extra/qca/PKGBUILD2
-rw-r--r--extra/qhull/PKGBUILD4
-rw-r--r--extra/qimageblitz/PKGBUILD3
-rw-r--r--extra/qjackctl/PKGBUILD2
-rw-r--r--extra/qjson/PKGBUILD2
-rw-r--r--extra/qoauth/PKGBUILD2
-rw-r--r--extra/qpdf/PKGBUILD2
-rw-r--r--extra/qrencode/PKGBUILD2
-rw-r--r--extra/qscintilla/PKGBUILD2
-rw-r--r--extra/qsynth/PKGBUILD2
-rw-r--r--extra/qt-assistant-compat/PKGBUILD2
-rw-r--r--extra/qt-gstreamer/PKGBUILD2
-rw-r--r--extra/qt3/PKGBUILD2
-rw-r--r--extra/qt4/PKGBUILD23
-rw-r--r--extra/qt4/declarative-fix-sigbus.patch33
-rw-r--r--extra/qt5/PKGBUILD36
-rw-r--r--extra/qt5/qatomic-before-mips32.patch34
-rw-r--r--extra/qtchooser/PKGBUILD2
-rw-r--r--extra/qtiplot/PKGBUILD2
-rw-r--r--extra/qtscriptgenerator/PKGBUILD2
-rw-r--r--extra/qtwebkit/LLIntCLoop32BigEndian.patch72
-rw-r--r--extra/qtwebkit/PKGBUILD20
-rw-r--r--extra/quadrapassel/PKGBUILD2
-rw-r--r--extra/quota-tools/PKGBUILD2
-rw-r--r--extra/qwt/PKGBUILD2
-rw-r--r--extra/qwtplot3d/PKGBUILD2
-rw-r--r--extra/r/PKGBUILD2
-rw-r--r--extra/racket/PKGBUILD2
-rw-r--r--extra/raptor/PKGBUILD2
-rw-r--r--extra/rarian/PKGBUILD2
-rw-r--r--extra/rasqal/PKGBUILD2
-rw-r--r--extra/razor/PKGBUILD2
-rw-r--r--extra/rcs/PKGBUILD2
-rw-r--r--extra/rdesktop/PKGBUILD2
-rw-r--r--extra/re-alpine/PKGBUILD2
-rw-r--r--extra/re2c/PKGBUILD4
-rw-r--r--extra/recode/PKGBUILD5
-rw-r--r--extra/redland/PKGBUILD2
-rw-r--r--extra/rest/PKGBUILD2
-rw-r--r--extra/rhythmbox/PKGBUILD2
-rw-r--r--extra/rosegarden/PKGBUILD2
-rw-r--r--extra/rrdtool/PKGBUILD2
-rw-r--r--extra/rsync/PKGBUILD2
-rw-r--r--extra/rtkit/PKGBUILD2
-rw-r--r--extra/rtmpdump/PKGBUILD2
-rw-r--r--extra/rubberband/PKGBUILD2
-rw-r--r--extra/ruby/PKGBUILD2
-rw-r--r--extra/rygel/PKGBUILD2
-rw-r--r--extra/samba/PKGBUILD2
-rw-r--r--extra/sane-frontends/PKGBUILD2
-rw-r--r--extra/sane/PKGBUILD2
-rw-r--r--extra/sbc/PKGBUILD2
-rw-r--r--extra/sbcl/PKGBUILD10
-rw-r--r--extra/sbcl/mips-arch.h.diff20
-rw-r--r--extra/schedtool/PKGBUILD2
-rw-r--r--extra/schroedinger/PKGBUILD2
-rw-r--r--extra/scim-anthy/PKGBUILD2
-rw-r--r--extra/scim-chewing/PKGBUILD2
-rw-r--r--extra/scim-hangul/PKGBUILD2
-rw-r--r--extra/scim-hangul/unistd.patch11
-rw-r--r--extra/scim-m17n/PKGBUILD2
-rw-r--r--extra/scim-pinyin/PKGBUILD2
-rw-r--r--extra/scim-tables/PKGBUILD2
-rw-r--r--extra/scim-uim/PKGBUILD2
-rw-r--r--extra/scim/PKGBUILD2
-rw-r--r--extra/screen/PKGBUILD4
-rw-r--r--extra/sdl_gfx/PKGBUILD4
-rw-r--r--extra/sdl_image/PKGBUILD2
-rw-r--r--extra/sdl_mixer/PKGBUILD4
-rw-r--r--extra/sdl_net/PKGBUILD4
-rw-r--r--extra/sdl_pango/PKGBUILD2
-rw-r--r--extra/sdl_sound/PKGBUILD4
-rw-r--r--extra/sdl_ttf/PKGBUILD2
-rw-r--r--extra/seahorse-nautilus/PKGBUILD2
-rw-r--r--extra/seahorse/PKGBUILD3
-rw-r--r--extra/seed/PKGBUILD2
-rw-r--r--extra/serd/PKGBUILD4
-rw-r--r--extra/serf/PKGBUILD2
-rw-r--r--extra/setserial/PKGBUILD2
-rw-r--r--extra/sg3_utils/PKGBUILD2
-rw-r--r--extra/shared-mime-info/PKGBUILD2
-rw-r--r--extra/sharutils/PKGBUILD2
-rw-r--r--extra/signon/PKGBUILD2
-rw-r--r--extra/sip/PKGBUILD2
-rw-r--r--extra/slang/PKGBUILD2
-rw-r--r--extra/slim/PKGBUILD2
-rw-r--r--extra/smartmontools/PKGBUILD2
-rw-r--r--extra/smb4k/PKGBUILD2
-rw-r--r--extra/smpeg/PKGBUILD4
-rw-r--r--extra/smplayer/PKGBUILD2
-rw-r--r--extra/snappy/PKGBUILD2
-rw-r--r--extra/snarf/PKGBUILD2
-rw-r--r--extra/socat/PKGBUILD2
-rw-r--r--extra/sofia-sip/PKGBUILD2
-rw-r--r--extra/sonata/PKGBUILD2
-rw-r--r--extra/soprano/PKGBUILD5
-rw-r--r--extra/sord/PKGBUILD2
-rw-r--r--extra/sound-juicer/PKGBUILD2
-rw-r--r--extra/soundtouch/PKGBUILD12
-rw-r--r--extra/soundtouch/disable-mmx.patch115
-rw-r--r--extra/source-highlight/PKGBUILD2
-rw-r--r--extra/sox/PKGBUILD4
-rw-r--r--extra/spamassassin/PKGBUILD2
-rw-r--r--extra/spandsp/PKGBUILD2
-rw-r--r--extra/speech-dispatcher/PKGBUILD2
-rw-r--r--extra/speex/PKGBUILD2
-rw-r--r--extra/sqlite/PKGBUILD29
-rw-r--r--extra/sratom/PKGBUILD2
-rw-r--r--extra/srm/PKGBUILD2
-rw-r--r--extra/sshfs/PKGBUILD4
-rw-r--r--extra/ssmtp/PKGBUILD2
-rw-r--r--extra/startup-notification/PKGBUILD2
-rw-r--r--extra/stellarium/PKGBUILD2
-rw-r--r--extra/strace/PKGBUILD2
-rw-r--r--extra/streamripper/PKGBUILD4
-rw-r--r--extra/strigi/PKGBUILD2
-rw-r--r--extra/subversion/PKGBUILD16
-rw-r--r--extra/suil/PKGBUILD2
-rw-r--r--extra/suitesparse/PKGBUILD2
-rw-r--r--extra/sushi/PKGBUILD2
-rw-r--r--extra/sweep/PKGBUILD4
-rw-r--r--extra/swell-foop/PKGBUILD2
-rw-r--r--extra/swh-plugins/PKGBUILD8
-rw-r--r--extra/swig/PKGBUILD2
-rw-r--r--extra/system-config-printer/PKGBUILD2
-rw-r--r--extra/t1lib/PKGBUILD2
-rw-r--r--extra/taglib-extras/PKGBUILD2
-rw-r--r--extra/taglib/PKGBUILD2
-rw-r--r--extra/tali/PKGBUILD2
-rw-r--r--extra/talloc/PKGBUILD2
-rw-r--r--extra/tamu-anova/PKGBUILD2
-rw-r--r--extra/tcl/PKGBUILD2
-rw-r--r--extra/tcpdump/PKGBUILD2
-rw-r--r--extra/tdb/PKGBUILD2
-rw-r--r--extra/telepathy-farstream/PKGBUILD2
-rw-r--r--extra/telepathy-gabble/PKGBUILD2
-rw-r--r--extra/telepathy-glib/PKGBUILD2
-rw-r--r--extra/telepathy-haze/PKGBUILD2
-rw-r--r--extra/telepathy-idle/PKGBUILD2
-rw-r--r--extra/telepathy-kde-accounts-kcm/PKGBUILD2
-rw-r--r--extra/telepathy-kde-approver/PKGBUILD2
-rw-r--r--extra/telepathy-kde-auth-handler/PKGBUILD2
-rw-r--r--extra/telepathy-kde-common-internals/PKGBUILD2
-rw-r--r--extra/telepathy-kde-contact-list/PKGBUILD2
-rw-r--r--extra/telepathy-kde-contact-runner/PKGBUILD2
-rw-r--r--extra/telepathy-kde-desktop-applets/PKGBUILD2
-rw-r--r--extra/telepathy-kde-filetransfer-handler/PKGBUILD2
-rw-r--r--extra/telepathy-kde-integration-module/PKGBUILD2
-rw-r--r--extra/telepathy-kde-send-file/PKGBUILD2
-rw-r--r--extra/telepathy-kde-text-ui/PKGBUILD2
-rw-r--r--extra/telepathy-logger-qt/PKGBUILD2
-rw-r--r--extra/telepathy-logger/PKGBUILD2
-rw-r--r--extra/telepathy-mission-control/PKGBUILD2
-rw-r--r--extra/telepathy-qt/PKGBUILD2
-rw-r--r--extra/telepathy-rakia/PKGBUILD2
-rw-r--r--extra/telepathy-salut/PKGBUILD2
-rw-r--r--extra/testdisk/PKGBUILD2
-rw-r--r--extra/tevent/PKGBUILD2
-rw-r--r--extra/texmacs/PKGBUILD5
-rw-r--r--extra/tftp-hpa/PKGBUILD2
-rw-r--r--extra/thinkfinger/PKGBUILD2
-rw-r--r--extra/thunar-archive-plugin/PKGBUILD2
-rw-r--r--extra/thunar-media-tags-plugin/PKGBUILD2
-rw-r--r--extra/thunar-volman/PKGBUILD2
-rw-r--r--extra/thunar/PKGBUILD2
-rw-r--r--extra/tidyhtml/PKGBUILD2
-rw-r--r--extra/time/PKGBUILD2
-rw-r--r--extra/timidity++/PKGBUILD2
-rw-r--r--extra/tinycdb/PKGBUILD2
-rw-r--r--extra/tk/PKGBUILD2
-rw-r--r--extra/totem-plparser/PKGBUILD2
-rw-r--r--extra/totem/PKGBUILD3
-rw-r--r--extra/tracker/PKGBUILD2
-rw-r--r--extra/transcode/PKGBUILD2
-rw-r--r--extra/transfig/PKGBUILD2
-rw-r--r--extra/transmission/PKGBUILD2
-rw-r--r--extra/trayer/PKGBUILD2
-rw-r--r--extra/tree/PKGBUILD4
-rw-r--r--extra/tsocks/PKGBUILD5
-rw-r--r--extra/tumbler/PKGBUILD2
-rw-r--r--extra/tuxpuck/PKGBUILD2
-rw-r--r--extra/twisted/PKGBUILD2
-rw-r--r--extra/ucommon/PKGBUILD2
-rw-r--r--extra/udisks/PKGBUILD2
-rw-r--r--extra/udisks2/PKGBUILD2
-rw-r--r--extra/uim/PKGBUILD4
-rw-r--r--extra/unison/PKGBUILD2
-rw-r--r--extra/unixodbc/PKGBUILD2
-rw-r--r--extra/upower/PKGBUILD2
-rw-r--r--extra/usbmuxd/PKGBUILD2
-rw-r--r--extra/v4l-utils/PKGBUILD2
-rw-r--r--extra/v86d/PKGBUILD2
-rw-r--r--extra/vala/PKGBUILD2
-rw-r--r--extra/vamp-plugin-sdk/PKGBUILD2
-rw-r--r--extra/varnish/PKGBUILD2
-rw-r--r--extra/vcdimager/PKGBUILD2
-rw-r--r--extra/vde2/PKGBUILD2
-rw-r--r--extra/vice/PKGBUILD2
-rw-r--r--extra/vigra/PKGBUILD2
-rw-r--r--extra/vim/PKGBUILD6
-rw-r--r--extra/vinagre/PKGBUILD2
-rw-r--r--extra/vino/PKGBUILD2
-rw-r--r--extra/virtuoso/PKGBUILD2
-rw-r--r--extra/vlc/PKGBUILD34
-rw-r--r--extra/vorbis-tools/PKGBUILD4
-rw-r--r--extra/vpnc/PKGBUILD2
-rw-r--r--extra/vte/PKGBUILD4
-rw-r--r--extra/vte3/PKGBUILD2
-rw-r--r--extra/w3m/GC_set_warn_proc.patch12
-rw-r--r--extra/w3m/PKGBUILD7
-rw-r--r--extra/watchdog/PKGBUILD2
-rw-r--r--extra/wavpack/PKGBUILD5
-rw-r--r--extra/wayland/PKGBUILD2
-rw-r--r--extra/wcslib/PKGBUILD4
-rw-r--r--extra/webkitgtk/0001-https-bugs.webkit.org-show_bug.cgi-id-112141.patch64
-rw-r--r--extra/webkitgtk/PKGBUILD32
-rw-r--r--extra/webkitgtk2/PKGBUILD19
-rw-r--r--extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch24
-rw-r--r--extra/webrtc-audio-processing/PKGBUILD14
-rw-r--r--extra/weechat/PKGBUILD2
-rw-r--r--extra/wget/PKGBUILD2
-rw-r--r--extra/whois/PKGBUILD2
-rw-r--r--extra/wildmidi/PKGBUILD4
-rw-r--r--extra/windowmaker/PKGBUILD2
-rw-r--r--extra/wipe/PKGBUILD11
-rw-r--r--extra/wpa_supplicant_gui/PKGBUILD2
-rw-r--r--extra/wv/PKGBUILD2
-rw-r--r--extra/wxgtk/PKGBUILD2
-rw-r--r--extra/wxmaxima/PKGBUILD2
-rw-r--r--extra/wxpython/PKGBUILD6
-rw-r--r--extra/x11-ssh-askpass/PKGBUILD2
-rw-r--r--extra/x11vnc/PKGBUILD2
-rw-r--r--extra/x264/PKGBUILD2
-rw-r--r--extra/x2goclient/PKGBUILD2
-rw-r--r--extra/x2goserver/PKGBUILD2
-rw-r--r--extra/xaos/PKGBUILD2
-rw-r--r--extra/xaw3d/PKGBUILD4
-rw-r--r--extra/xawtv/PKGBUILD5
-rw-r--r--extra/xbase/PKGBUILD2
-rw-r--r--extra/xbill/PKGBUILD4
-rw-r--r--extra/xcb-util-image/PKGBUILD2
-rw-r--r--extra/xcb-util-keysyms/PKGBUILD2
-rw-r--r--extra/xcb-util-renderutil/PKGBUILD4
-rw-r--r--extra/xcb-util-wm/PKGBUILD2
-rw-r--r--extra/xcb-util/PKGBUILD2
-rw-r--r--extra/xchm/PKGBUILD6
-rw-r--r--extra/xclip/PKGBUILD4
-rw-r--r--extra/xcompmgr/PKGBUILD4
-rw-r--r--extra/xdg-user-dirs-gtk/PKGBUILD2
-rw-r--r--extra/xdg-user-dirs/PKGBUILD2
-rw-r--r--extra/xerces-c/PKGBUILD2
-rw-r--r--extra/xf86-input-acecad/PKGBUILD2
-rw-r--r--extra/xf86-input-aiptek/PKGBUILD2
-rw-r--r--extra/xf86-input-evdev/PKGBUILD2
-rw-r--r--extra/xf86-input-joystick/PKGBUILD2
-rw-r--r--extra/xf86-input-synaptics/PKGBUILD2
-rw-r--r--extra/xf86-input-void/PKGBUILD2
-rw-r--r--extra/xf86-input-wacom/PKGBUILD2
-rw-r--r--extra/xf86-video-dummy/PKGBUILD2
-rw-r--r--extra/xf86-video-fbdev/PKGBUILD2
-rw-r--r--extra/xf86-video-modesetting/PKGBUILD2
-rw-r--r--extra/xf86-video-siliconmotion/0001-Remove-miInitializeBackingStore.patch26
-rw-r--r--extra/xf86-video-siliconmotion/98_sm712_CRT_enable.diff14
-rw-r--r--extra/xf86-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff160
-rw-r--r--extra/xf86-video-siliconmotion/PKGBUILD12
-rw-r--r--extra/xf86-video-siliconmotion/medanr04.diff81
-rw-r--r--extra/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.5-loongson-video-accl.patch139
-rw-r--r--extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion-2.2.8-medan.r04.patch104
-rw-r--r--extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion_1.7.5-1loongson2.diff707
-rw-r--r--extra/xf86-video-sis/PKGBUILD2
-rwxr-xr-xextra/xfburn/PKGBUILD4
-rw-r--r--extra/xfce4-appfinder/PKGBUILD2
-rw-r--r--extra/xfce4-battery-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-clipman-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-cpufreq-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-cpugraph-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-datetime-plugin/PKGBUILD3
-rw-r--r--extra/xfce4-dev-tools/PKGBUILD2
-rw-r--r--extra/xfce4-dict/PKGBUILD2
-rw-r--r--extra/xfce4-diskperf-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-eyes-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-fsguard-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-genmon-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-mailwatch-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-mixer/PKGBUILD2
-rw-r--r--extra/xfce4-mount-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-mpc-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-netload-plugin/PKGBUILD4
-rw-r--r--extra/xfce4-notes-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-notifyd/PKGBUILD2
-rw-r--r--extra/xfce4-panel/PKGBUILD2
-rw-r--r--extra/xfce4-power-manager/PKGBUILD2
-rw-r--r--extra/xfce4-quicklauncher-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-screenshooter/PKGBUILD2
-rw-r--r--extra/xfce4-sensors-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-session/PKGBUILD2
-rw-r--r--extra/xfce4-settings/PKGBUILD2
-rw-r--r--extra/xfce4-smartbookmark-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-systemload-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-taskmanager/PKGBUILD4
-rw-r--r--extra/xfce4-terminal/PKGBUILD2
-rwxr-xr-xextra/xfce4-time-out-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-timer-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-verve-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-wavelan-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-weather-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-xkb-plugin/PKGBUILD2
-rw-r--r--extra/xfconf/PKGBUILD2
-rw-r--r--extra/xfdesktop/PKGBUILD2
-rw-r--r--extra/xfig/PKGBUILD2
-rw-r--r--extra/xfwm4/PKGBUILD2
-rw-r--r--extra/xine-lib/PKGBUILD20
-rw-r--r--extra/xmahjongg/PKGBUILD4
-rw-r--r--extra/xmlsec/PKGBUILD2
-rw-r--r--extra/xmlto/PKGBUILD4
-rw-r--r--extra/xmms/PKGBUILD4
-rw-r--r--extra/xorg-appres/PKGBUILD2
-rw-r--r--extra/xorg-bdftopcf/PKGBUILD2
-rw-r--r--extra/xorg-font-util/PKGBUILD4
-rw-r--r--extra/xorg-iceauth/PKGBUILD2
-rw-r--r--extra/xorg-luit/PKGBUILD2
-rw-r--r--extra/xorg-mkfontscale/PKGBUILD2
-rw-r--r--extra/xorg-oclock/PKGBUILD4
-rw-r--r--extra/xorg-server/PKGBUILD7
-rw-r--r--extra/xorg-server/loongson.patch56
-rw-r--r--extra/xorg-sessreg/PKGBUILD2
-rw-r--r--extra/xorg-setxkbmap/PKGBUILD2
-rw-r--r--extra/xorg-smproxy/PKGBUILD4
-rw-r--r--extra/xorg-twm/PKGBUILD2
-rw-r--r--extra/xorg-x11perf/PKGBUILD4
-rw-r--r--extra/xorg-xauth/PKGBUILD2
-rw-r--r--extra/xorg-xbacklight/PKGBUILD4
-rw-r--r--extra/xorg-xbiff/PKGBUILD4
-rw-r--r--extra/xorg-xcalc/PKGBUILD2
-rw-r--r--extra/xorg-xclipboard/PKGBUILD2
-rw-r--r--extra/xorg-xclock/PKGBUILD2
-rw-r--r--extra/xorg-xcmsdb/PKGBUILD4
-rw-r--r--extra/xorg-xconsole/PKGBUILD2
-rw-r--r--extra/xorg-xcursorgen/PKGBUILD2
-rw-r--r--extra/xorg-xdm/PKGBUILD2
-rw-r--r--extra/xorg-xdpyinfo/PKGBUILD2
-rw-r--r--extra/xorg-xdriinfo/PKGBUILD4
-rw-r--r--extra/xorg-xedit/PKGBUILD2
-rw-r--r--extra/xorg-xev/PKGBUILD2
-rw-r--r--extra/xorg-xeyes/PKGBUILD4
-rw-r--r--extra/xorg-xfd/PKGBUILD2
-rw-r--r--extra/xorg-xfontsel/PKGBUILD2
-rw-r--r--extra/xorg-xgamma/PKGBUILD2
-rw-r--r--extra/xorg-xhost/PKGBUILD2
-rw-r--r--extra/xorg-xinit/PKGBUILD2
-rw-r--r--extra/xorg-xinput/PKGBUILD2
-rw-r--r--extra/xorg-xkbcomp/PKGBUILD2
-rw-r--r--extra/xorg-xkbevd/PKGBUILD2
-rw-r--r--extra/xorg-xkbutils/PKGBUILD2
-rw-r--r--extra/xorg-xkill/PKGBUILD2
-rw-r--r--extra/xorg-xload/PKGBUILD2
-rw-r--r--extra/xorg-xlogo/PKGBUILD2
-rw-r--r--extra/xorg-xlsatoms/PKGBUILD2
-rw-r--r--extra/xorg-xlsclients/PKGBUILD2
-rw-r--r--extra/xorg-xmag/PKGBUILD2
-rw-r--r--extra/xorg-xman/PKGBUILD2
-rw-r--r--extra/xorg-xmessage/PKGBUILD2
-rw-r--r--extra/xorg-xmodmap/PKGBUILD2
-rw-r--r--extra/xorg-xpr/PKGBUILD2
-rw-r--r--extra/xorg-xprop/PKGBUILD2
-rw-r--r--extra/xorg-xrandr/PKGBUILD2
-rw-r--r--extra/xorg-xrdb/PKGBUILD2
-rw-r--r--extra/xorg-xrefresh/PKGBUILD2
-rw-r--r--extra/xorg-xset/PKGBUILD2
-rw-r--r--extra/xorg-xsetroot/PKGBUILD2
-rw-r--r--extra/xorg-xvidtune/PKGBUILD2
-rw-r--r--extra/xorg-xvinfo/PKGBUILD2
-rw-r--r--extra/xorg-xwd/PKGBUILD2
-rw-r--r--extra/xorg-xwininfo/PKGBUILD2
-rw-r--r--extra/xorg-xwud/PKGBUILD2
-rw-r--r--extra/xournal/PKGBUILD2
-rw-r--r--extra/xsane/PKGBUILD2
-rw-r--r--extra/xsd/PKGBUILD2
-rw-r--r--extra/xterm/PKGBUILD2
-rw-r--r--extra/xvidcore/PKGBUILD2
-rw-r--r--extra/yajl/PKGBUILD2
-rw-r--r--extra/yakuake/PKGBUILD2
-rw-r--r--extra/yasm/PKGBUILD2
-rw-r--r--extra/yelp/PKGBUILD2
-rw-r--r--extra/yp-tools/PKGBUILD2
-rw-r--r--extra/ypbind-mt/PKGBUILD3
-rw-r--r--extra/ypserv/PKGBUILD2
-rw-r--r--extra/zeitgeist/PKGBUILD2
-rw-r--r--extra/zenity/PKGBUILD2
-rw-r--r--extra/zip/PKGBUILD4
-rw-r--r--extra/zsh/PKGBUILD2
-rw-r--r--extra/zvbi/PKGBUILD2
-rw-r--r--extra/zziplib/PKGBUILD2
1539 files changed, 7841 insertions, 2036 deletions
diff --git a/extra/a2ps/PKGBUILD b/extra/a2ps/PKGBUILD
index 8c0eed41e..8cbe130fb 100644
--- a/extra/a2ps/PKGBUILD
+++ b/extra/a2ps/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=a2ps
pkgver=4.14
pkgrel=5
pkgdesc="An Any to PostScript filter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/a2ps/"
license=('GPL3')
depends=('ghostscript' 'psutils' 'imagemagick')
diff --git a/extra/a52dec/PKGBUILD b/extra/a52dec/PKGBUILD
index 83c9d446c..399550ddf 100644
--- a/extra/a52dec/PKGBUILD
+++ b/extra/a52dec/PKGBUILD
@@ -8,13 +8,15 @@ pkgver=0.7.4
pkgrel=8
pkgdesc="A free library for decoding ATSC A/52 streams"
url="http://liba52.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc')
source=("http://liba52.sourceforge.net/files/${pkgname}-${pkgver}.tar.gz"
- 'a52dec-0.7.4-build.patch')
+ 'a52dec-0.7.4-build.patch'
+ 'configure.patch')
md5sums=('caa9f5bc44232dc8aeea773fea56be80'
- 'fa16f224a7dceb7613824380abef0052')
+ 'fa16f224a7dceb7613824380abef0052'
+ 'ccaa978e70cc74b364486bd72fd38d1d')
prepare() {
cd "${pkgname}-${pkgver}"
diff --git a/extra/a52dec/configure.patch b/extra/a52dec/configure.patch
new file mode 100644
index 000000000..6f109d824
--- /dev/null
+++ b/extra/a52dec/configure.patch
@@ -0,0 +1,18 @@
+--- configure.in 2002-07-28 05:50:20.000000000 +0200
++++ configure.ac 2013-02-20 10:38:15.263223716 +0100
+@@ -1,12 +1,12 @@
+ dnl Process this file with autoconf to produce a configure script.
+ AC_PREREQ(2.52)
+-AC_INIT
++AC_INIT([a52dec],[0.7.4])
+ AC_CONFIG_SRCDIR([src/a52dec.c])
+ AC_CONFIG_AUX_DIR(autotools)
+ AC_CONFIG_FILES([Makefile autotools/Makefile include/Makefile test/Makefile
+ doc/Makefile src/Makefile liba52/Makefile libao/Makefile vc++/Makefile])
+-AM_INIT_AUTOMAKE([a52dec],[0.7.4])
+-AM_CONFIG_HEADER(include/config.h)
++AM_INIT_AUTOMAKE
++AC_CONFIG_HEADERS(include/config.h)
+ AM_MAINTAINER_MODE
+ AC_CANONICAL_HOST
+
diff --git a/extra/aalib/PKGBUILD b/extra/aalib/PKGBUILD
index df326f65a..5380a10d7 100644
--- a/extra/aalib/PKGBUILD
+++ b/extra/aalib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=aalib
pkgver=1.4rc5
pkgrel=10
pkgdesc="A portable ASCII art graphic library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aa-project.sourceforge.net/aalib/"
license=('LGPL')
depends=('gpm' 'libx11')
@@ -23,7 +23,7 @@ prepare() {
build() {
cd ${pkgname}-1.4.0
- ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
+ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --host=$CHOST
make
}
diff --git a/extra/abook/PKGBUILD b/extra/abook/PKGBUILD
index c6606c6f4..d634cb171 100644
--- a/extra/abook/PKGBUILD
+++ b/extra/abook/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=0.6.0pre2.20130928
pkgrel=1
pkgdesc='Text-based addressbook designed for use with Mutt'
url='http://abook.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
makedepends=('git')
depends=('readline')
diff --git a/extra/accountsservice/PKGBUILD b/extra/accountsservice/PKGBUILD
index b74a8aa99..1dfa64b75 100644
--- a/extra/accountsservice/PKGBUILD
+++ b/extra/accountsservice/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=accountsservice
pkgver=0.6.35
pkgrel=1
pkgdesc="D-Bus interface for user account query and manipulation"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.freedesktop.org/software/accountsservice/"
license=('GPL3')
depends=('glib2' 'polkit' 'systemd')
diff --git a/extra/aiksaurus/PKGBUILD b/extra/aiksaurus/PKGBUILD
index a9533c059..b6f1d0f6a 100644
--- a/extra/aiksaurus/PKGBUILD
+++ b/extra/aiksaurus/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=aiksaurus
pkgver=1.2.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="A cross-platform, open-source thesaurus"
url="http://aiksaurus.sourceforge.net/"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gtk2')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'aiksaurus-gcc44.patch')
diff --git a/extra/aisleriot/PKGBUILD b/extra/aisleriot/PKGBUILD
index 55a25d90d..2dc4a915a 100644
--- a/extra/aisleriot/PKGBUILD
+++ b/extra/aisleriot/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=aisleriot
pkgver=3.10.1
pkgrel=1
pkgdesc="A collection of patience games written in guile scheme"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
url="http://www.gnome.org"
groups=('gnome-extra')
diff --git a/extra/akonadi/PKGBUILD b/extra/akonadi/PKGBUILD
index 211dc2487..faefac4a3 100644
--- a/extra/akonadi/PKGBUILD
+++ b/extra/akonadi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=akonadi
pkgver=1.10.3
pkgrel=1
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://community.kde.org/KDE_PIM/Akonadi'
license=('LGPL')
depends=('shared-mime-info' 'boost-libs' 'mariadb' 'soprano')
@@ -22,6 +22,7 @@ prepare() {
build() {
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
diff --git a/extra/allegro4/PKGBUILD b/extra/allegro4/PKGBUILD
index e15282e73..4d5cd1da9 100644
--- a/extra/allegro4/PKGBUILD
+++ b/extra/allegro4/PKGBUILD
@@ -5,12 +5,12 @@
pkgname=allegro4
pkgver=4.4.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="Portable library mainly aimed at video game and multimedia programming (legacy version)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://alleg.sourceforge.net/"
license=('custom')
-depends=('sh' 'jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor')
+depends=('sh' 'jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'glu')
makedepends=('cmake' 'libpng' 'mesa')
options=('staticlibs')
source=(http://downloads.sourceforge.net/alleg/allegro-${pkgver}.tar.gz
diff --git a/extra/alsa-lib/PKGBUILD b/extra/alsa-lib/PKGBUILD
index 072433d39..da6c0b24b 100644
--- a/extra/alsa-lib/PKGBUILD
+++ b/extra/alsa-lib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=alsa-lib
pkgver=1.0.27.2
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.alsa-project.org"
depends=('glibc')
optdepends=('python2: for python smixer plugin')
diff --git a/extra/alsa-oss/PKGBUILD b/extra/alsa-oss/PKGBUILD
index 53a99528b..d9ad5ce62 100644
--- a/extra/alsa-oss/PKGBUILD
+++ b/extra/alsa-oss/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=alsa-oss
pkgver=1.0.25
pkgrel=2
pkgdesc="OSS compatibility library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.alsa-project.org"
depends=('alsa-lib')
diff --git a/extra/alsa-plugins/PKGBUILD b/extra/alsa-plugins/PKGBUILD
index 36947c877..7d8f78c7d 100644
--- a/extra/alsa-plugins/PKGBUILD
+++ b/extra/alsa-plugins/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=alsa-plugins
pkgver=1.0.27
pkgrel=2
pkgdesc="Extra alsa plugins"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.alsa-project.org"
license=(GPL)
depends=(alsa-lib)
diff --git a/extra/alsa-plugins/gcc-4.7.patch b/extra/alsa-plugins/gcc-4.7.patch
new file mode 100644
index 000000000..1518b2afb
--- /dev/null
+++ b/extra/alsa-plugins/gcc-4.7.patch
@@ -0,0 +1,13 @@
+diff -ru alsa-plugins-1.0.25.orig/usb_stream/pcm_usb_stream.c alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c
+--- alsa-plugins-1.0.25.orig/usb_stream/pcm_usb_stream.c 2012-08-05 11:24:22.652219959 +0200
++++ alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c 2012-08-05 11:25:08.599688184 +0200
+@@ -18,8 +18,8 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <byteswap.h>
+ #define _GNU_SOURCE
++#include <byteswap.h>
+ #include <sys/mman.h>
+ #include <sys/shm.h>
+ #include <sys/ioctl.h>
diff --git a/extra/alsa-tools/PKGBUILD b/extra/alsa-tools/PKGBUILD
index 99bb2feb4..90f1c18f6 100644
--- a/extra/alsa-tools/PKGBUILD
+++ b/extra/alsa-tools/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=alsa-tools
pkgver=1.0.27
pkgrel=5
pkgdesc="Advanced tools for certain sound cards"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://alsa-project.org/"
license=('GPL')
depends=('gcc-libs' 'alsa-lib')
@@ -17,8 +17,10 @@ optdepends=('fltk: hdspconf, hdspmixer'
'gtk3: hdajackretask'
'bash: couple of tools')
provides=("$pkgname-emu10k1" "$pkgname-ice1712")
-source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2")
-md5sums=('1ea381d00a6069a98613aa7effa4cb51')
+source=("ftp://ftp.alsa-project.org/pub/tools/$pkgname-$pkgver.tar.bz2"
+ "alsa-tools-1.0.27-mips.patch")
+md5sums=('1ea381d00a6069a98613aa7effa4cb51'
+ 'b34bbbe42216354c4cafae6cd504bdc5')
_tools=("as10k1" "echomixer" "envy24control" "hdajackretask" "hda-verb"
"hdspconf" "hdsploader" "hdspmixer" "ld10k1" "mixartloader"
@@ -27,7 +29,7 @@ _tools=("as10k1" "echomixer" "envy24control" "hdajackretask" "hda-verb"
prepare() {
cd "$srcdir/$pkgname-$pkgver"
-
+ patch -Np1 -i ${srcdir}/alsa-tools-1.0.27-mips.patch
# qlo10k1 cannot be built; it depends on ld10k1
sed -i 's:ld10k1 qlo10k1 \\:ld10k1 \\:' Makefile
diff --git a/extra/alsa-tools/alsa-tools-1.0.27-mips.patch b/extra/alsa-tools/alsa-tools-1.0.27-mips.patch
new file mode 100644
index 000000000..849d94d94
--- /dev/null
+++ b/extra/alsa-tools/alsa-tools-1.0.27-mips.patch
@@ -0,0 +1,13 @@
+--- alsa-tools-1.0.27.orig/hda-verb/hda-verb.c 2013-04-11 06:43:07.000000000 -0500
++++ alsa-tools-1.0.27/hda-verb/hda-verb.c 2013-08-04 22:50:09.688476561 -0500
+@@ -14,8 +14,10 @@
+ #include <unistd.h>
+ #include <sys/ioctl.h>
+ #ifndef __PPC__
++#ifndef __mips__
+ #include <sys/io.h>
+ #endif
++#endif
+ #include <sys/types.h>
+ #include <sys/fcntl.h>
+
diff --git a/extra/alsa-utils/PKGBUILD b/extra/alsa-utils/PKGBUILD
index 0ee6995a3..fdcd42531 100644
--- a/extra/alsa-utils/PKGBUILD
+++ b/extra/alsa-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=alsa-utils
pkgver=1.0.27.2
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.alsa-project.org"
#can not use >=$pkgver due to use of letters in alsa-lib update versioning
depends=("alsa-lib>1.0.24" 'dialog' 'pciutils' 'ncurses' 'psmisc' 'libsamplerate')
diff --git a/extra/alsaplayer/PKGBUILD b/extra/alsaplayer/PKGBUILD
index bbb02da9e..77893813e 100644
--- a/extra/alsaplayer/PKGBUILD
+++ b/extra/alsaplayer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=alsaplayer
pkgver=0.99.81
pkgrel=6
pkgdesc="A heavily multi-threaded PCM player that tries to excercise the ALSA library and driver quite a bit"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://alsaplayer.sourceforge.net/"
license=('GPL')
depends=('gcc-libs' 'desktop-file-utils')
diff --git a/extra/amarok/PKGBUILD b/extra/amarok/PKGBUILD
index de1f4c38f..86fc0ad57 100644
--- a/extra/amarok/PKGBUILD
+++ b/extra/amarok/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=amarok
pkgver=2.8.0
pkgrel=1
pkgdesc="The powerful music player for KDE"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://amarok.kde.org/"
license=('GPL2' 'LGPL2.1' 'FDL')
depends=('kdebase-runtime' 'mariadb' 'qtscriptgenerator' 'taglib-extras'
diff --git a/extra/amule/PKGBUILD b/extra/amule/PKGBUILD
index 91b08dca4..2d5df9f57 100644
--- a/extra/amule/PKGBUILD
+++ b/extra/amule/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=amule
pkgver=10808
pkgrel=2
pkgdesc="An eMule-like client for ed2k p2p network"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.amule.org"
license=('GPL')
depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++')
diff --git a/extra/anjuta-extras/PKGBUILD b/extra/anjuta-extras/PKGBUILD
index 7cf6bf380..de85a49db 100644
--- a/extra/anjuta-extras/PKGBUILD
+++ b/extra/anjuta-extras/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=anjuta-extras
pkgver=3.10.0
pkgrel=1
pkgdesc="Anjuta Integrated Development Environment extra plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('anjuta')
makedepends=('intltool' 'itstool')
diff --git a/extra/anjuta/PKGBUILD b/extra/anjuta/PKGBUILD
index 76887761c..322c9b46b 100644
--- a/extra/anjuta/PKGBUILD
+++ b/extra/anjuta/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('libanjuta' 'anjuta')
pkgver=3.10.0
pkgrel=1
pkgdesc="GNOME Integrated Development Environment (IDE)"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
makedepends=(gdl vte3 autogen devhelp glade libgda subversion neon gnome-icon-theme vala dconf
gtk-doc yelp-tools gnome-common intltool gobject-introspection itstool gjs
diff --git a/extra/anthy/PKGBUILD b/extra/anthy/PKGBUILD
index 5f41b74e2..c01289905 100644
--- a/extra/anthy/PKGBUILD
+++ b/extra/anthy/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=anthy
pkgver=9100h
_filecode=37536
-pkgrel=3
+pkgrel=3.2
pkgdesc='Hiragana text to Kana Kanji mixed text Japanese input method'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://sourceforge.jp/projects/anthy/'
license=('LGPL' 'GPL')
source=("http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/apache/PKGBUILD b/extra/apache/PKGBUILD
index 32752d3fa..bfbdc0958 100644
--- a/extra/apache/PKGBUILD
+++ b/extra/apache/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=apache
pkgver=2.2.25
pkgrel=1
pkgdesc='A high performance Unix-based HTTP server'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.apache.org/dist/httpd'
license=('APACHE')
backup=(etc/httpd/conf/httpd.conf
diff --git a/extra/appmenu-qt/PKGBUILD b/extra/appmenu-qt/PKGBUILD
index 1b566bacd..bd09f5d3f 100644
--- a/extra/appmenu-qt/PKGBUILD
+++ b/extra/appmenu-qt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=appmenu-qt
pkgver=0.2.6
pkgrel=4
pkgdesc="Allows Qt applications to export menus over DBus to a menu applet"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://launchpad.net/appmenu-qt'
license=('GPL')
depends=('libdbusmenu-qt')
diff --git a/extra/apr-util/PKGBUILD b/extra/apr-util/PKGBUILD
index 4545d89c3..f112d0eab 100644
--- a/extra/apr-util/PKGBUILD
+++ b/extra/apr-util/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=apr-util
pkgver=1.5.2
pkgrel=3
pkgdesc="The Apache Portable Runtime"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://apr.apache.org/"
depends=('apr' 'gdbm' 'expat' 'db' 'libldap' 'unixodbc')
license=('APACHE')
diff --git a/extra/apr/PKGBUILD b/extra/apr/PKGBUILD
index 601919878..169b2db37 100644
--- a/extra/apr/PKGBUILD
+++ b/extra/apr/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=apr
pkgver=1.4.8
pkgrel=2
pkgdesc="The Apache Portable Runtime"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://apr.apache.org/"
depends=('util-linux')
license=('APACHE')
diff --git a/extra/apricots/PKGBUILD b/extra/apricots/PKGBUILD
index 3fbe423f6..5611ce76d 100644
--- a/extra/apricots/PKGBUILD
+++ b/extra/apricots/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=apricots
pkgver=0.2.6
pkgrel=5
pkgdesc="A simple 2D flying/bombing game similar to basic side scrollers"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL')
url="http://www.fishies.org.uk/apricots.html"
depends=('gcc-libs' 'openal' 'sdl' 'freealut')
@@ -18,7 +18,7 @@ md5sums=('910828d717e46d8cbd9c24f702d09fbc'
build() {
cd $srcdir/$pkgname-$pkgver
patch -p0 -i $srcdir/apricots-0.2.6-freealut.patch
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --build=$CHOST
make LIBTOOL='/usr/bin/libtool'
}
diff --git a/extra/ardour/PKGBUILD b/extra/ardour/PKGBUILD
index 4a19ca0b7..856c643fd 100644
--- a/extra/ardour/PKGBUILD
+++ b/extra/ardour/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=3.5.14
_pkgver=3.5
pkgrel=1
pkgdesc="Professional-grade digital audio workstation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ardour.org/"
license=('GPL')
depends=('liblrdf' 'liblo' 'libsmf' 'lilv'
@@ -32,9 +32,12 @@ prepare() {
build() {
cd "$srcdir/$_pkgname-$_pkgver"
+ # SSE code is used by default on all arches.
+ [ "$CARCH" == "mips64el" ] && extra=--no-fpu-optimization
+
python2 waf configure --prefix=/usr \
--configdir=/etc \
- --docs
+ --docs $extra
python2 waf build $MAKEFLAGS
}
diff --git a/extra/arj/PKGBUILD b/extra/arj/PKGBUILD
index 12f15f794..47aa5dc5f 100644
--- a/extra/arj/PKGBUILD
+++ b/extra/arj/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=3.10.22
pkgrel=8
pkgdesc="Free and portable clone of the ARJ archiver"
url="http://arj.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc')
options=('!makeflags')
diff --git a/extra/asio/PKGBUILD b/extra/asio/PKGBUILD
index fe8cc8aee..27f94d9a4 100644
--- a/extra/asio/PKGBUILD
+++ b/extra/asio/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=asio
pkgver=1.4.8
pkgrel=3
pkgdesc="Cross-platform C++ library for ASynchronous network I/O"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://asio.sourceforge.net"
license=('custom')
depends=('boost')
diff --git a/extra/aspell-de/PKGBUILD b/extra/aspell-de/PKGBUILD
index d079efce6..d95f68aa5 100644
--- a/extra/aspell-de/PKGBUILD
+++ b/extra/aspell-de/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=aspell-de
pkgver=20120607
pkgrel=2
pkgdesc="German dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://j3e.de/ispell/igerman98/index.html"
license=('GPL2')
depends=('aspell')
diff --git a/extra/aspell-en/PKGBUILD b/extra/aspell-en/PKGBUILD
index aceb777bc..de2783b93 100644
--- a/extra/aspell-en/PKGBUILD
+++ b/extra/aspell-en/PKGBUILD
@@ -2,9 +2,9 @@
pkgname=aspell-en
pkgver=7.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="English dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('custom')
depends=('aspell')
diff --git a/extra/aspell-es/PKGBUILD b/extra/aspell-es/PKGBUILD
index 3b9df0a33..6357dc184 100644
--- a/extra/aspell-es/PKGBUILD
+++ b/extra/aspell-es/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aspell-es
pkgver=1.11
-pkgrel=5
+pkgrel=5.1
pkgdesc="Spanish dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
diff --git a/extra/aspell-fr/PKGBUILD b/extra/aspell-fr/PKGBUILD
index ddaf5c77d..a73e2db62 100644
--- a/extra/aspell-fr/PKGBUILD
+++ b/extra/aspell-fr/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aspell-fr
pkgver=0.50.3
-pkgrel=6
+pkgrel=6.1
pkgdesc="French dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
diff --git a/extra/aspell-hu/PKGBUILD b/extra/aspell-hu/PKGBUILD
index fce7c7f36..00b634498 100644
--- a/extra/aspell-hu/PKGBUILD
+++ b/extra/aspell-hu/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=aspell-hu
pkgver=0.99.4.2
-pkgrel=3
+pkgrel=3.1
pkgdesc="Hungarian spellcheck dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
diff --git a/extra/aspell-it/PKGBUILD b/extra/aspell-it/PKGBUILD
index f02041354..40cee32ef 100644
--- a/extra/aspell-it/PKGBUILD
+++ b/extra/aspell-it/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=aspell-it
pkgver=2.2_20050523
-pkgrel=4
+pkgrel=4.1
pkgdesc="Italian dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
diff --git a/extra/aspell-nl/PKGBUILD b/extra/aspell-nl/PKGBUILD
index 28439b454..bf35f509d 100644
--- a/extra/aspell-nl/PKGBUILD
+++ b/extra/aspell-nl/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aspell-nl
pkgver=0.50.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="Dutch dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('custom')
depends=('aspell')
diff --git a/extra/aspell-pt/PKGBUILD b/extra/aspell-pt/PKGBUILD
index d8a443be6..8d4d68058 100644
--- a/extra/aspell-pt/PKGBUILD
+++ b/extra/aspell-pt/PKGBUILD
@@ -7,7 +7,7 @@ _pkgverBR=20090702
pkgver=$_pkgverPT
pkgrel=1
pkgdesc="Portuguese and Brazilian Portuguese dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL2')
depends=('aspell')
diff --git a/extra/aspell-ru/PKGBUILD b/extra/aspell-ru/PKGBUILD
index 7195479b4..cbbb2b7d2 100644
--- a/extra/aspell-ru/PKGBUILD
+++ b/extra/aspell-ru/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aspell-ru
pkgver=0.99f7
-pkgrel=5
+pkgrel=5.1
pkgdesc="Russian dictionary for aspell"
-arch=('i686' 'x86_64') #We cannot use 'any' see FS#22443
+arch=('i686' 'x86_64' 'mips64el') #We cannot use 'any' see FS#22443
url="http://aspell.net/"
license=('custom')
depends=('aspell')
diff --git a/extra/aspell/PKGBUILD b/extra/aspell/PKGBUILD
index e62de7316..595029c79 100644
--- a/extra/aspell/PKGBUILD
+++ b/extra/aspell/PKGBUILD
@@ -7,10 +7,10 @@
pkgname=aspell
pkgver=0.60.6.1
_pkgmajorver=0.60
-pkgrel=1
+pkgrel=1.2
pkgdesc="A spell checker designed to eventually replace Ispell"
-arch=('i686' 'x86_64')
url="http://aspell.net/"
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gcc-libs' 'ncurses')
optdepends=('perl: to import old dictionaries')
diff --git a/extra/asymptote/PKGBUILD b/extra/asymptote/PKGBUILD
index 6b289393c..21f4330c5 100644
--- a/extra/asymptote/PKGBUILD
+++ b/extra/asymptote/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=asymptote
pkgver=2.24
pkgrel=2
pkgdesc="A vector graphics language (like metapost)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://asymptote.sourceforge.net/"
license=("GPL3")
depends=('texlive-core' 'gc' 'freeglut' 'glu' 'gsl' 'fftw' 'libsigsegv')
diff --git a/extra/at-spi/PKGBUILD b/extra/at-spi/PKGBUILD
index a4f346b6c..b2f00520e 100644
--- a/extra/at-spi/PKGBUILD
+++ b/extra/at-spi/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=at-spi
pkgver=1.32.0
-pkgrel=5
+pkgrel=5.1
pkgdesc="Assistive Technology Service Provider Interface"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libbonobo' 'libxtst' 'gtk2' 'gconf')
makedepends=('pkgconfig' 'python2' 'intltool' 'libice' 'libsm')
diff --git a/extra/at-spi2-atk/PKGBUILD b/extra/at-spi2-atk/PKGBUILD
index 7d553a316..476a398e4 100644
--- a/extra/at-spi2-atk/PKGBUILD
+++ b/extra/at-spi2-atk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=at-spi2-atk
pkgver=2.10.0
pkgrel=1
pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org"
license=('GPL2')
depends=('at-spi2-core' 'libx11' 'atk')
diff --git a/extra/at-spi2-core/PKGBUILD b/extra/at-spi2-core/PKGBUILD
index afc3473ac..af9ba43ca 100644
--- a/extra/at-spi2-core/PKGBUILD
+++ b/extra/at-spi2-core/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=at-spi2-core
pkgver=2.10.1
pkgrel=1
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org"
license=('GPL2')
depends=('dbus' 'glib2' 'libxtst')
diff --git a/extra/atk/PKGBUILD b/extra/atk/PKGBUILD
index 49d1a8c99..87c7b8038 100644
--- a/extra/atk/PKGBUILD
+++ b/extra/atk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=atk
pkgver=2.10.0
pkgrel=1
pkgdesc="A library providing a set of interfaces for accessibility"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('glib2')
makedepends=('gobject-introspection')
diff --git a/extra/atkmm/PKGBUILD b/extra/atkmm/PKGBUILD
index d387e7a54..95365b23f 100644
--- a/extra/atkmm/PKGBUILD
+++ b/extra/atkmm/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=atkmm
pkgname=(atkmm atkmm-docs)
pkgver=2.22.7
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('atk' 'glibmm' 'glibmm-docs' 'libsigc++')
license=('LGPL')
options=('!emptydirs')
diff --git a/extra/attica/PKGBUILD b/extra/attica/PKGBUILD
index e407cd70e..792a1ecfe 100644
--- a/extra/attica/PKGBUILD
+++ b/extra/attica/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=attica
pkgver=0.4.2
pkgrel=1
pkgdesc='A Qt library that implements the Open Collaboration Services API'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kdesupport/attica'
license=('LGPL')
depends=('qt4')
diff --git a/extra/aubio/PKGBUILD b/extra/aubio/PKGBUILD
index 89e454ef6..8b0481a68 100644
--- a/extra/aubio/PKGBUILD
+++ b/extra/aubio/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aubio
pkgver=0.3.2
-pkgrel=5
+pkgrel=5.2
pkgdesc="A library for audio labelling"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aubio.org/"
license=('GPL')
depends=('libsamplerate' 'fftw' 'jack')
diff --git a/extra/audacious/PKGBUILD b/extra/audacious/PKGBUILD
index 15dd7d7f1..679522107 100644
--- a/extra/audacious/PKGBUILD
+++ b/extra/audacious/PKGBUILD
@@ -9,10 +9,10 @@ pkgrel=1
pkgdesc='Lightweight, advanced audio player focused on audio quality'
url='http://audacious-media-player.org/'
license=('custom:BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gtk3' 'dbus-glib' 'libguess' 'libsm' 'audacious-plugins'
'hicolor-icon-theme' 'desktop-file-utils')
-optdepends=('unzip: zipped skins support')
+optdepends=('unzip-libre: zipped skins support')
source=("http://distfiles.audacious-media-player.org/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('341452d3beceb57451f0675a61fabfd9c59d2dab')
diff --git a/extra/audacity/PKGBUILD b/extra/audacity/PKGBUILD
index 444a3763c..cdd8aabd6 100644
--- a/extra/audacity/PKGBUILD
+++ b/extra/audacity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=audacity
pkgver=2.0.5
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'hicolor-icon-theme'
@@ -18,8 +18,9 @@ sha1sums=('f63cafb81f29e7f3813dc9f80fb1dfdbcfe46b33')
build() {
cd ${pkgname}-src-${pkgver}
+ [ "$CARCH" = "mips64el" ] && sse="--disable-sse"
PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \
- ./configure --prefix=/usr
+ ./configure --prefix=/usr $sse
make
}
diff --git a/extra/audiofile/PKGBUILD b/extra/audiofile/PKGBUILD
index 8d6c5849f..a0edcd21d 100644
--- a/extra/audiofile/PKGBUILD
+++ b/extra/audiofile/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=audiofile
pkgver=0.3.6
pkgrel=2
pkgdesc="Silicon Graphics Audio File Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.68k.org/~michael/audiofile/"
license=('LGPL')
depends=('gcc-libs' 'alsa-lib' 'flac')
diff --git a/extra/autogen/PKGBUILD b/extra/autogen/PKGBUILD
index eec0cda04..3f03e1717 100644
--- a/extra/autogen/PKGBUILD
+++ b/extra/autogen/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=autogen
pkgver=5.17.4
pkgrel=1
pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://autogen.sourceforge.net/"
license=('GPL3')
depends=('guile' 'libxml2')
diff --git a/extra/automoc4/PKGBUILD b/extra/automoc4/PKGBUILD
index 903090736..fbb047771 100644
--- a/extra/automoc4/PKGBUILD
+++ b/extra/automoc4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=automoc4
pkgver=0.9.88
pkgrel=4
pkgdesc="Automatic moc for Qt4"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org/'
license=('custom')
depends=('qt4')
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD
index ed8eac791..1475f8834 100644
--- a/extra/avahi/PKGBUILD
+++ b/extra/avahi/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=11
pkgdesc='Multicast/unicast DNS-SD framework'
url='http://www.avahi.org/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!emptydirs')
depends=('expat' 'libdaemon' 'glib2' 'libcap' 'gdbm' 'dbus')
optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
@@ -16,12 +16,13 @@ optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
'qt3: qt3 bindings'
'qt4: qt4 bindings'
'pygtk: avahi-bookmarks, avahi-discover'
- 'twisted: avahi-bookmarks'
- 'mono: mono bindings'
- 'python2-dbus: avahi-discover'
+ 'twisted: avahi-bookmarks')
+[ "$CARCH" != "mips64el" ] && optdepends+=('mono: mono bindings')
+optdepends+=('dbus-python: avahi-discover'
'nss-mdns: NSS support for mDNS')
-makedepends=('qt3' 'qt4' 'pygtk' 'mono' 'intltool' 'python2-dbus'
- 'gtk-sharp-2' 'gobject-introspection' 'gtk3' 'xmltoman')
+makedepends=('qt3' 'qt4' 'pygtk' 'intltool' 'python2-dbus'
+ 'gobject-introspection' 'gtk3' 'xmltoman')
+[ "$CARCH" != "mips64el" ] && makedepends+=('mono' 'gtk-sharp-2')
backup=('etc/avahi/hosts'
'etc/avahi/avahi-daemon.conf'
'etc/avahi/services/ssh.service'
@@ -49,6 +50,7 @@ build() {
export MOC_QT3=/usr/bin/moc-qt3
export MOC_QT4=/usr/bin/moc-qt4
export PYTHON=/usr/bin/python2
+ [ "$CARCH" = "mips64el" ] && extra="--disable-mono"
./configure \
--prefix=/usr \
@@ -63,6 +65,7 @@ build() {
--with-autoipd-user=avahi \
--with-autoipd-group=avahi \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
+ $extra
make
}
diff --git a/extra/avidemux/PKGBUILD b/extra/avidemux/PKGBUILD
index 2faa2369a..304f7e9de 100644
--- a/extra/avidemux/PKGBUILD
+++ b/extra/avidemux/PKGBUILD
@@ -5,12 +5,13 @@ pkgbase=avidemux
pkgname=('avidemux-cli' 'avidemux-gtk' 'avidemux-qt')
pkgver=2.5.6
pkgrel=7
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://fixounet.free.fr/avidemux/"
makedepends=('cmake' 'libxslt' 'gtk2' 'qt4' 'jack' 'libvorbis' 'sdl' 'libxv' \
'alsa-lib' 'lame' 'xvidcore' 'faad2' 'faac' 'x264' 'libsamplerate' \
- 'opencore-amr' 'yasm' 'mesa' 'libvpx' 'libpulse' 'libva')
+ 'opencore-amr' 'yasm' 'mesa' 'libvpx' 'libpulse')
+[ "$CARCH" != "mips64el" ] && makedepends+=('libva')
options=('!makeflags')
source=(http://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz)
sha1sums=('47205c236bf6a4435b9d4dd944493c7b7e2752f5')
@@ -41,7 +42,8 @@ build() {
package_avidemux-cli() {
pkgdesc="A graphical tool to edit video (filter/re-encode/split)"
- depends=('libxml2' 'sdl' 'fontconfig' 'libvpx' 'libva')
+ depends=('libxml2' 'sdl' 'fontconfig' 'libvpx')
+ [ "$CARCH" != "mips64el" ] && depends+=('libva')
optdepends=('lame: for the corresponding audio encoder plugin'
'faac: for the corresponding audio encoder plugin'
'faad2: for the corresponding audio decoder plugin'
diff --git a/extra/avogadro/PKGBUILD b/extra/avogadro/PKGBUILD
index 6baf8b163..197ff2368 100644
--- a/extra/avogadro/PKGBUILD
+++ b/extra/avogadro/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=avogadro
pkgver=1.1.0
pkgrel=5
pkgdesc="An advanced molecular editor based on Qt"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://avogadro.openmolecules.net/wiki/Main_Page"
license=('GPL2')
depends=('eigen2' 'openbabel' 'python2-pyqt' 'boost-libs' 'glew' 'python2-numpy')
diff --git a/extra/avogadro/avogadro-1.1.0-textrel.patch b/extra/avogadro/avogadro-1.1.0-textrel.patch
new file mode 100644
index 000000000..4d6dab738
--- /dev/null
+++ b/extra/avogadro/avogadro-1.1.0-textrel.patch
@@ -0,0 +1,21 @@
+--- avogadro-1.1.0.orig/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt 2012-09-03 12:07:00.000000000 -0500
++++ avogadro-1.1.0/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt 2013-01-20 02:12:35.688146754 -0500
+@@ -20,6 +20,6 @@
+ set_target_properties(spglib PROPERTIES COMPILE_FLAGS "-w")
+
+ # Set -fPIC on x86_64
+-if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
++if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "^(x86_64|mips64)$")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )
+ endif()
+--- avogadro-1.1.0.orig/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt 2012-09-03 12:07:00.000000000 -0500
++++ avogadro-1.1.0/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt 2013-01-20 12:46:27.869815690 -0500
+@@ -19,7 +19,7 @@
+ set_target_properties(tubegen PROPERTIES COMPILE_FLAGS "-w")
+
+ # Set -fPIC on x86_64
+-if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
++if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "^(x86_64|mips64)$")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" )
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" )
+ endif()
diff --git a/extra/babl/PKGBUILD b/extra/babl/PKGBUILD
index a88d9bb19..51729539d 100644
--- a/extra/babl/PKGBUILD
+++ b/extra/babl/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=babl
pkgver=0.1.10
-pkgrel=1
+pkgrel=1.1
pkgdesc="Dynamic, any to any, pixel format conversion library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gegl.org/babl/"
license=('LGPL3')
depends=('glibc')
diff --git a/extra/baobab/PKGBUILD b/extra/baobab/PKGBUILD
index 1065bf503..d8709b6f4 100644
--- a/extra/baobab/PKGBUILD
+++ b/extra/baobab/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=baobab
pkgver=3.10.1
pkgrel=1
pkgdesc="A graphical directory tree analyzer"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('dconf' 'gtk3' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'desktop-file-utils')
diff --git a/extra/barcode/PKGBUILD b/extra/barcode/PKGBUILD
index 9d264fd57..53e113990 100644
--- a/extra/barcode/PKGBUILD
+++ b/extra/barcode/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=barcode
pkgver=0.99
pkgrel=1
pkgdesc="A tool to convert text strings to printed bars"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/barcode/"
license=('GPL')
depends=('glibc')
diff --git a/extra/basket/PKGBUILD b/extra/basket/PKGBUILD
index fd46016ed..9b580c7e3 100644
--- a/extra/basket/PKGBUILD
+++ b/extra/basket/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=basket
pkgver=1.81
-pkgrel=3
+pkgrel=3.1
pkgdesc="All-purpose notes taker for KDE."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://basket.kde.org/"
depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme' 'kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/bc/PKGBUILD b/extra/bc/PKGBUILD
index 96ab3239b..bc214dd20 100644
--- a/extra/bc/PKGBUILD
+++ b/extra/bc/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=bc
pkgver=1.06
-pkgrel=8
+pkgrel=8.1
pkgdesc="An arbitrary precision calculator language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/bc/"
license=('GPL')
depends=('readline')
diff --git a/extra/beep/PKGBUILD b/extra/beep/PKGBUILD
index be85621ee..1034b881b 100644
--- a/extra/beep/PKGBUILD
+++ b/extra/beep/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=beep
pkgver=1.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="Advanced PC speaker beeping program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.johnath.com/beep"
license=('GPL2')
depends=('glibc')
diff --git a/extra/bftpd/PKGBUILD b/extra/bftpd/PKGBUILD
index 166b2faa8..b5489bdad 100644
--- a/extra/bftpd/PKGBUILD
+++ b/extra/bftpd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bftpd
pkgver=4.0
pkgrel=1
pkgdesc="Small, easy-to-configure FTP server"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://bftpd.sourceforge.net/"
license=('GPL')
depends=('glibc' 'pam')
diff --git a/extra/bigloo/PKGBUILD b/extra/bigloo/PKGBUILD
index ef897e1d3..f8cdd72ca 100644
--- a/extra/bigloo/PKGBUILD
+++ b/extra/bigloo/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=4.0b
pkgver=${_pkgver/-/_}
pkgrel=1
pkgdesc="Fast scheme compiler"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www-sop.inria.fr/mimosa/fp/Bigloo/"
license=('GPL' 'LGPL')
depends=()
diff --git a/extra/bijiben/PKGBUILD b/extra/bijiben/PKGBUILD
index 558234af2..bc81f14a9 100644
--- a/extra/bijiben/PKGBUILD
+++ b/extra/bijiben/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bijiben
pkgver=3.10.1
pkgrel=1
pkgdesc="Write out notes, every detail matters"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="https://live.gnome.org/Bijiben"
license=(GPL)
depends=(tracker clutter-gtk zeitgeist webkitgtk hicolor-icon-theme desktop-file-utils gnome-online-accounts)
diff --git a/extra/bin86/PKGBUILD b/extra/bin86/PKGBUILD
index a398fd4df..839cfcfbe 100644
--- a/extra/bin86/PKGBUILD
+++ b/extra/bin86/PKGBUILD
@@ -6,14 +6,16 @@ pkgname=bin86
pkgver=0.16.19
pkgrel=1
pkgdesc="A complete 8086 assembler and loader"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.debath.co.uk/"
depends=('glibc')
source=("http://www.debath.co.uk/dev86/$pkgname-$pkgver.tar.gz"
- bin86-0.16.17-x86_64-1.patch)
+ bin86-0.16.17-x86_64-1.patch
+ bin86-0.16.19-inttypes.patch)
md5sums=('0a20d79765a6855ce7c8c2d02b23a0f0'
- '92bdce7b0655cd2e9f83c83fc56d128e')
+ '92bdce7b0655cd2e9f83c83fc56d128e'
+ '98854f331f03d1f938c3b53eee31aaf8')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -21,6 +23,9 @@ build() {
if [[ $CARCH = x86_64 ]]; then
patch -Np1 < "$srcdir/bin86-0.16.17-x86_64-1.patch"
fi
+ if [[ $CARCH = mips64el ]]; then
+ patch -Np1 < "$srcdir/bin86-0.16.19-inttypes.patch"
+ fi
make PREFIX=/usr
}
diff --git a/extra/bin86/bin86-0.16.19-inttypes.patch b/extra/bin86/bin86-0.16.19-inttypes.patch
new file mode 100644
index 000000000..0ab0bb97e
--- /dev/null
+++ b/extra/bin86/bin86-0.16.19-inttypes.patch
@@ -0,0 +1,13 @@
+--- bin86-0.16.19.orig/ld/x86_aout.h 2012-07-30 03:17:06.000000000 -0500
++++ bin86-0.16.19/ld/x86_aout.h 2013-05-01 18:18:59.553588866 -0500
+@@ -19,7 +19,9 @@
+ typedef int32_t Long;
+ #define __OUT_OK 1
+ #else
+-typedef char Long[4];
++#define __OUT_OK 1
++#include <inttypes.h>
++typedef int32_t Long;
+ #endif
+ #endif
+
diff --git a/extra/bluedevil/PKGBUILD b/extra/bluedevil/PKGBUILD
index 247a42728..92633a8d7 100644
--- a/extra/bluedevil/PKGBUILD
+++ b/extra/bluedevil/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bluedevil
pkgver=1.3.2
pkgrel=1
pkgdesc='KDE bluetooth framework'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://projects.kde.org/projects/extragear/base/bluedevil"
license=('GPL')
depends=('kdebase-workspace' 'libbluedevil' 'obex-data-server' 'obexd-client')
diff --git a/extra/bluefish/PKGBUILD b/extra/bluefish/PKGBUILD
index a1e1e6628..15b134c32 100644
--- a/extra/bluefish/PKGBUILD
+++ b/extra/bluefish/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bluefish
pkgver=2.2.4
pkgrel=1
pkgdesc="A powerful HTML editor for experienced web designers and programmers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://bluefish.openoffice.nl/"
license=('GPL3')
depends=('gtk3' 'enchant' 'python2' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/bluez/PKGBUILD b/extra/bluez/PKGBUILD
index be1e792b7..053ec0956 100644
--- a/extra/bluez/PKGBUILD
+++ b/extra/bluez/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('bluez' 'bluez-utils' 'bluez-libs')
pkgver=5.9
pkgrel=1
url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
makedepends=('dbus' 'libical' 'systemd')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2")
diff --git a/extra/bluez4/PKGBUILD b/extra/bluez4/PKGBUILD
index a0af68b70..b780e75b8 100644
--- a/extra/bluez4/PKGBUILD
+++ b/extra/bluez4/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=4.101
pkgrel=3
pkgdesc="Deprecated daemon and tools for the Bluetooth protocol stack"
url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('dbus' 'bluez-utils')
conflicts=('bluez')
diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD
index b0bc5a2fc..9cd056924 100644
--- a/extra/boost/PKGBUILD
+++ b/extra/boost/PKGBUILD
@@ -12,7 +12,7 @@ pkgver=1.54.0
_boostver=${pkgver//./_}
pkgrel=4
url="http://www.boost.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
makedepends=('icu>=52.1' 'python' 'python2' 'bzip2' 'zlib' 'openmpi')
source=(http://downloads.sourceforge.net/${pkgbase}/${pkgbase}_${_boostver}.tar.gz
@@ -48,6 +48,7 @@ build() {
_bindir="bin.linuxx86"
[ "${CARCH}" = "x86_64" ] && _bindir="bin.linuxx86_64"
+ [ "${CARCH}" = "mips64el" ] && _bindir="bin.linuxmips"
install -d -m 755 "${_stagedir}"/bin
install "${srcdir}"/${pkgbase}_${_boostver}/tools/build/v2/engine/${_bindir}/bjam "${_stagedir}"/bin/bjam
@@ -64,6 +65,9 @@ build() {
install -d -m 755 "${_stagedir}"/share/boostbook
cp -a tools/boostbook/{xsl,dtd} "${_stagedir}"/share/boostbook/
+ # Disable context on mips64el, it needs N32-specific assembly.
+ [ "$CARCH" = "mips64el" ] && extra="--without-context --without-coroutine"
+
# default "minimal" install: "release link=shared,static
# runtime-link=shared threading=single,multi"
# --layout=tagged will add the "-mt" suffix for multithreaded libraries
@@ -80,6 +84,7 @@ build() {
python=2.7 \
--layout=system \
--prefix="${_stagedir}" \
+ $extra \
${JOBS} \
install
diff --git a/extra/bootchart/PKGBUILD b/extra/bootchart/PKGBUILD
index 501f9ea56..1768ce0de 100644
--- a/extra/bootchart/PKGBUILD
+++ b/extra/bootchart/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="A 'startup' graphing tool"
url="https://github.com/sofar/bootchart"
license=('GPL2')
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
depends=('glibc')
source=("http://foo-projects.org/~sofar/${pkgname}/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/brasero/PKGBUILD b/extra/brasero/PKGBUILD
index d0b8cf9be..c9852bf20 100644
--- a/extra/brasero/PKGBUILD
+++ b/extra/brasero/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=brasero
pkgver=3.8.0
pkgrel=3
pkgdesc="A disc burning application for Gnome"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org/projects/brasero"
license=('GPL')
options=('!emptydirs')
diff --git a/extra/brltty/PKGBUILD b/extra/brltty/PKGBUILD
index 1fbf355dd..1c52e2dab 100644
--- a/extra/brltty/PKGBUILD
+++ b/extra/brltty/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=brltty
pkgver=4.5
pkgrel=5
pkgdesc="Braille display driver for Linux/Unix"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://mielke.cc/brltty"
license=(GPL LGPL)
depends=(libxaw gpm icu tcl cython)
diff --git a/extra/burp/PKGBUILD b/extra/burp/PKGBUILD
index 7a5290bf1..17caf175e 100644
--- a/extra/burp/PKGBUILD
+++ b/extra/burp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=burp
pkgver=2
pkgrel=1
pkgdesc="A simple AUR uploader"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://github.com/falconindy/burp"
license=('GPL')
depends=('glibc' 'curl')
diff --git a/extra/bzflag/PKGBUILD b/extra/bzflag/PKGBUILD
index faade41f1..2cc3e6832 100644
--- a/extra/bzflag/PKGBUILD
+++ b/extra/bzflag/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=4
pkgdesc='Multiplayer 3D tank battle game'
url='http://bzflag.org/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('curl' 'glew' 'glu' 'sdl')
source=("http://downloads.sourceforge.net/project/bzflag/bzflag%20source/${pkgver}/bzflag-${pkgver}.tar.bz2")
sha1sums=('36c67c0734a1318b34b39ed0da49606e05ebd291')
diff --git a/extra/bzr/PKGBUILD b/extra/bzr/PKGBUILD
index dce1e73c0..2b8e2d478 100644
--- a/extra/bzr/PKGBUILD
+++ b/extra/bzr/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bzr
pkgver=2.6.0
pkgrel=1
pkgdesc="A decentralized revision control system (bazaar)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://bazaar.canonical.com/en/"
license=('GPL')
depends=('python2')
diff --git a/extra/c-ares/PKGBUILD b/extra/c-ares/PKGBUILD
index 5765100fe..85fc32064 100644
--- a/extra/c-ares/PKGBUILD
+++ b/extra/c-ares/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=c-ares
pkgver=1.10.0
pkgrel=2
pkgdesc='C library that performs DNS requests and name resolves asynchronously'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://c-ares.haxx.se/'
license=('custom')
depends=('glibc')
diff --git a/extra/cagibi/PKGBUILD b/extra/cagibi/PKGBUILD
index 46d593234..ec5b4b969 100644
--- a/extra/cagibi/PKGBUILD
+++ b/extra/cagibi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cagibi
pkgver=0.2.0
pkgrel=3
pkgdesc='A cache/proxy daemon for SSDP (the discovery part of UPnP)'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kdesupport/cagibi/'
license=('LGPL')
depends=('qt4')
diff --git a/extra/cairo-perl/PKGBUILD b/extra/cairo-perl/PKGBUILD
index f111bccb1..91b9e4fb2 100644
--- a/extra/cairo-perl/PKGBUILD
+++ b/extra/cairo-perl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cairo-perl
pkgver=1.103
pkgrel=2
pkgdesc="Perl wrappers for cairo"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
options=('!emptydirs')
diff --git a/extra/cairo/PKGBUILD b/extra/cairo/PKGBUILD
index 63717626d..9d3b39a49 100644
--- a/extra/cairo/PKGBUILD
+++ b/extra/cairo/PKGBUILD
@@ -6,14 +6,15 @@ pkgname=cairo
pkgver=1.12.16
pkgrel=1
pkgdesc="Cairo vector graphics library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL' 'MPL')
url="http://cairographics.org/"
depends=('libpng' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0' 'glib2' 'mesa' 'libgl' 'sh' 'lzo2')
-makedepends=('mesa-libgl' 'librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc' 'valgrind'
+makedepends=('mesa-libgl' 'librsvg' 'gtk2' 'poppler-glib' 'libspectre' 'gtk-doc'
# for the test suite:
'ttf-dejavu' 'gsfonts' 'xorg-server-xvfb' ) # 'libdrm')
#optdepends=('xcb-util: for XCB backend') # really needed?
+[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind')
provides=('cairo-xcb')
replaces=('cairo-xcb')
source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.xz)
diff --git a/extra/cairomm/PKGBUILD b/extra/cairomm/PKGBUILD
index 7ccd513ce..abd82bff1 100644
--- a/extra/cairomm/PKGBUILD
+++ b/extra/cairomm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cairomm
pkgver=1.10.0
pkgrel=3
pkgdesc="C++ bindings to Cairo vector graphics library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cairographics.org"
license=('LGPL' 'MPL')
depends=('cairo' 'libsigc++')
diff --git a/extra/calligra/PKGBUILD b/extra/calligra/PKGBUILD
index befcaff70..412343469 100644
--- a/extra/calligra/PKGBUILD
+++ b/extra/calligra/PKGBUILD
@@ -19,13 +19,14 @@ pkgname=('calligra-braindump'
'calligra-words')
pkgver=2.7.4
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.calligra-suite.org/'
license=('FDL1.2' 'GPL2' 'LGPL')
makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'eigen2' 'kdeedu-marble'
'lcms2' 'libmariadbclient' 'freetds' 'xbase' 'libwpg' 'opencolorio'
'libwps' 'gsl' 'glew' 'fftw' 'opengtl' 'poppler-qt' 'libkdcraw'
- 'openjpeg' 'kdegraphics-okular' 'pstoedit' 'vc')
+ 'openjpeg' 'kdegraphics-okular' 'pstoedit')
+[ "$CARCH" != "mips64el" ] && makedepends+=('vc')
groups=('calligra')
source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.xz")
md5sums=('0a9368b4a134eaf7c9834d21097e5016')
diff --git a/extra/capi4hylafax/PKGBUILD b/extra/capi4hylafax/PKGBUILD
index 23396fe7b..2eb3af3eb 100644
--- a/extra/capi4hylafax/PKGBUILD
+++ b/extra/capi4hylafax/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=capi4hylafax
pkgver=010300
pkgrel=9
pkgdesc="capi plugin for hylafax to enable isdn faxing"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="ftp://ftp.avm.de/tools"
license=('GPL')
depends=('glibc' 'isdn4k-utils' 'hylafax' 'gcc-libs' 'libtiff' 'dialog')
diff --git a/extra/capseo/PKGBUILD b/extra/capseo/PKGBUILD
index b1eb3f76b..627533c92 100644
--- a/extra/capseo/PKGBUILD
+++ b/extra/capseo/PKGBUILD
@@ -3,10 +3,10 @@
pkgname=capseo
pkgver=0.3
-pkgrel=2
+pkgrel=2.1
epoch=1
pkgdesc="Capseo video codec"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dev.gentoo.org/~trapni/capseo/"
license=('GPL2')
depends=('libgl' 'gcc-libs')
diff --git a/extra/caribou/PKGBUILD b/extra/caribou/PKGBUILD
index d870180d7..c5d80400a 100644
--- a/extra/caribou/PKGBUILD
+++ b/extra/caribou/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=caribou
pkgver=0.4.11
pkgrel=1
pkgdesc="A text entry and UI navigation application being developed as an alternative to the Gnome On-screen Keyboard."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Caribou"
license=(LGPL)
depends=(at-spi2-atk python2-atspi python2-gobject gtk3 libxklavier libgee clutter dconf)
diff --git a/extra/ccache/PKGBUILD b/extra/ccache/PKGBUILD
index 1903662c5..b69b5fb0d 100644
--- a/extra/ccache/PKGBUILD
+++ b/extra/ccache/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ccache
pkgver=3.1.9
pkgrel=1
pkgdesc="A compiler cache"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ccache.samba.org/"
license=('GPL3')
depends=('zlib')
diff --git a/extra/ccrtp/PKGBUILD b/extra/ccrtp/PKGBUILD
index c17444702..d74c9782c 100644
--- a/extra/ccrtp/PKGBUILD
+++ b/extra/ccrtp/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=ccrtp
pkgver=2.0.6
pkgrel=1
pkgdesc="An implementation of RTP, the real-time transport protocol from the IETF"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/ccrtp/"
license=('GPL' 'custom')
depends=('ucommon' 'libgcrypt')
diff --git a/extra/cd-discid/PKGBUILD b/extra/cd-discid/PKGBUILD
index 19e11be60..5dc3c5ec4 100644
--- a/extra/cd-discid/PKGBUILD
+++ b/extra/cd-discid/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=cd-discid
pkgver=1.4
pkgrel=1
pkgdesc="A backend utility to get CDDB discid information from a CD-ROM disc"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://linukz.org/cd-discid.shtml"
license=('GPL')
depends=('glibc')
diff --git a/extra/cdparanoia/PKGBUILD b/extra/cdparanoia/PKGBUILD
index 9bb7c92f7..db49c0848 100644
--- a/extra/cdparanoia/PKGBUILD
+++ b/extra/cdparanoia/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cdparanoia
pkgver=10.2
pkgrel=5
pkgdesc="Compact Disc Digital Audio extraction tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xiph.org/paranoia/"
license=('GPL')
depends=('glibc')
diff --git a/extra/cdrdao/PKGBUILD b/extra/cdrdao/PKGBUILD
index 3ef570fbe..dbde8ce9c 100644
--- a/extra/cdrdao/PKGBUILD
+++ b/extra/cdrdao/PKGBUILD
@@ -6,8 +6,8 @@
pkgbase=('cdrdao')
pkgname=('cdrdao' 'gcdmaster')
pkgver=1.2.3
-pkgrel=6
-arch=('i686' 'x86_64')
+pkgrel=6.1
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://cdrdao.sourceforge.net/"
makedepends=('gcc-libs' 'lame' 'libmad' 'libvorbis' 'libao' 'libgnomeuimm')
@@ -28,6 +28,7 @@ build() {
patch -Np1 -i "${srcdir}/cdrdao-1.2.3-stat.patch"
./configure --prefix=/usr \
+ --build=$CHOST --host=$CHOST \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--with-xdao --with-lame \
diff --git a/extra/celestia/PKGBUILD b/extra/celestia/PKGBUILD
index 0c9fa0549..589080733 100644
--- a/extra/celestia/PKGBUILD
+++ b/extra/celestia/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=celestia
pkgver=1.6.1
pkgrel=5
pkgdesc="Real-time space simulation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.shatters.net/celestia/"
depends=('gtk2' 'libtheora' 'lua51' 'gtkglext' 'glut' 'libxmu' 'glu' 'libjpeg' 'mesa')
diff --git a/extra/celt/PKGBUILD b/extra/celt/PKGBUILD
index e8fcf500c..686dc5b58 100644
--- a/extra/celt/PKGBUILD
+++ b/extra/celt/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=celt
pkgver=0.11.3
pkgrel=2
pkgdesc="Low-latency audio communication codec"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.celt-codec.org/"
license=(BSD)
depends=(libogg)
diff --git a/extra/celt0.5.1/PKGBUILD b/extra/celt0.5.1/PKGBUILD
index b26e26fcc..6ee610cd6 100644
--- a/extra/celt0.5.1/PKGBUILD
+++ b/extra/celt0.5.1/PKGBUILD
@@ -7,7 +7,7 @@ _basename=celt
pkgver=0.5.1.3
pkgrel=3
pkgdesc="Low-latency audio communication codec - SPICE version"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.celt-codec.org"
license=('BSD')
depends=('libogg')
diff --git a/extra/cfitsio/PKGBUILD b/extra/cfitsio/PKGBUILD
index 286191869..b8629c086 100644
--- a/extra/cfitsio/PKGBUILD
+++ b/extra/cfitsio/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=cfitsio
pkgver=3.350
pkgrel=2
pkgdesc="A library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://heasarc.gsfc.nasa.gov/fitsio/"
license=('custom')
source=("ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${pkgname}${pkgver/./}.tar.gz")
diff --git a/extra/check/PKGBUILD b/extra/check/PKGBUILD
index 2c34fd0a8..990b189c2 100644
--- a/extra/check/PKGBUILD
+++ b/extra/check/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=check
pkgver=0.9.10
pkgrel=1
pkgdesc="A unit testing framework for C"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://check.sourceforge.net/"
license=('LGPL')
install=$pkgname.install
diff --git a/extra/cheese/PKGBUILD b/extra/cheese/PKGBUILD
index d47540300..0fbf85869 100644
--- a/extra/cheese/PKGBUILD
+++ b/extra/cheese/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cheese
pkgver=3.10.1
pkgrel=1
pkgdesc="Use your webcam to take photos and videos, apply fancy special effects and share the fun with others"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gtk3' 'gstreamer' 'gst-plugins-bad' 'gst-plugins-base' 'gst-plugins-good' 'clutter-gst' 'clutter-gtk' 'libcanberra' 'gnome-video-effects' 'librsvg' 'gnome-desktop' 'nautilus-sendto' 'hicolor-icon-theme')
makedepends=('pkgconfig' 'intltool' 'gobject-introspection' 'itstool' 'vala')
diff --git a/extra/chemtool/PKGBUILD b/extra/chemtool/PKGBUILD
index d964f20a7..0fe76b3f0 100644
--- a/extra/chemtool/PKGBUILD
+++ b/extra/chemtool/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=chemtool
pkgver=1.6.13
-pkgrel=1
+pkgrel=1.2
pkgdesc="A small program for drawing chemical structures"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html"
depends=('gtk2' 'desktop-file-utils')
diff --git a/extra/chmlib/PKGBUILD b/extra/chmlib/PKGBUILD
index 0925c336b..52c7f82d1 100644
--- a/extra/chmlib/PKGBUILD
+++ b/extra/chmlib/PKGBUILD
@@ -5,18 +5,24 @@
pkgname=chmlib
pkgver=0.40
-pkgrel=3
+pkgrel=3.1
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://morte.jedrea.com/~jedwin/projects/chmlib/"
license=('LGPL')
depends=('glibc')
-source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('7ea49ed8c335215c1edc6fae83e6b912')
+source=("http://morte.jedrea.com/~jedwin/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'src_chm_lib.c.diff')
+md5sums=('7ea49ed8c335215c1edc6fae83e6b912'
+ '08fe9d62302a50f23cffb6c2a7524b6d')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
+# Patch from debian
+ [ "$CARCH" = "mips64el" ] && \
+ patch -Np1 -i $srcdir/src_chm_lib.c.diff
+
./configure --prefix=/usr \
--enable-examples=yes
make
diff --git a/extra/chmlib/src_chm_lib.c.diff b/extra/chmlib/src_chm_lib.c.diff
new file mode 100644
index 000000000..742e0e521
--- /dev/null
+++ b/extra/chmlib/src_chm_lib.c.diff
@@ -0,0 +1,58 @@
+Patch to fix integer types problem by Goswin von Brederlow
+<brederlo@informatik.uni-tuebingen.de> (#258444)
+--- chmlib-0.39.orig/src/chm_lib.c
++++ chmlib-0.39/src/chm_lib.c
+@@ -56,6 +56,7 @@
+
+ #include "lzx.h"
+
++#include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #ifdef CHM_DEBUG
+@@ -149,22 +150,9 @@
+ typedef __int64 Int64;
+ typedef unsigned __int64 UInt64;
+
+-/* I386, 32-bit, non-Windows */
+-/* Sparc */
+-/* MIPS */
+-/* PPC */
+-#elif __i386__ || __sun || __sgi || __ppc__
+-typedef unsigned char UChar;
+-typedef short Int16;
+-typedef unsigned short UInt16;
+-typedef long Int32;
+-typedef unsigned long UInt32;
+-typedef long long Int64;
+-typedef unsigned long long UInt64;
+-
+ /* x86-64 */
+ /* Note that these may be appropriate for other 64-bit machines. */
+-#elif __x86_64__ || __ia64__
++#elif defined(__LP64__)
+ typedef unsigned char UChar;
+ typedef short Int16;
+ typedef unsigned short UInt16;
+@@ -173,10 +161,18 @@
+ typedef long Int64;
+ typedef unsigned long UInt64;
+
++/* I386, 32-bit, non-Windows */
++/* Sparc */
++/* MIPS */
++/* PPC */
+ #else
+-
+-/* yielding an error is preferable to yielding incorrect behavior */
+-#error "Please define the sized types for your platform in chm_lib.c"
++typedef unsigned char UChar;
++typedef short Int16;
++typedef unsigned short UInt16;
++typedef long Int32;
++typedef unsigned long UInt32;
++typedef long long Int64;
++typedef unsigned long long UInt64;
+ #endif
+
+ /* GCC */
diff --git a/extra/chromaprint/PKGBUILD b/extra/chromaprint/PKGBUILD
index 3d65ed5e3..63e492395 100644
--- a/extra/chromaprint/PKGBUILD
+++ b/extra/chromaprint/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.0
pkgrel=1
pkgdesc='Library that implements a custom algorithm for extracting fingerprints from any audio source'
url='http://acoustid.org/chromaprint/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('ffmpeg')
makedepends=('cmake')
diff --git a/extra/cifs-utils/PKGBUILD b/extra/cifs-utils/PKGBUILD
index 321a08d28..de8f3d954 100644
--- a/extra/cifs-utils/PKGBUILD
+++ b/extra/cifs-utils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cifs-utils
pkgver=6.1
pkgrel=1
pkgdesc="CIFS filesystem user-space tools"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://wiki.samba.org/index.php/LinuxCIFS_utils"
license=('GPL')
depends=('libcap-ng' 'keyutils' 'krb5' 'talloc' 'libwbclient')
diff --git a/extra/cinepaint/PKGBUILD b/extra/cinepaint/PKGBUILD
index 20c1efaee..a3e58d68e 100644
--- a/extra/cinepaint/PKGBUILD
+++ b/extra/cinepaint/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cinepaint
pkgver=1.3
pkgrel=8
pkgdesc="Sophisticated graphics manipulation programm supporting > 8bit pictures"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'GPL' 'MIT')
url="http://www.cinepaint.org"
depends=('gtk2' 'openexr' 'lcms' 'libxpm' 'fltk' 'ftgl' 'libxxf86vm')
diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD
index 4b7a8e00a..aff1e1a05 100644
--- a/extra/clamav/PKGBUILD
+++ b/extra/clamav/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Anti-virus toolkit for Unix'
url='http://www.clamav.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('bzip2' 'libltdl')
backup=('etc/logrotate.d/clamav')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
diff --git a/extra/clisp/PKGBUILD b/extra/clisp/PKGBUILD
index 6e371fce6..4798ee4cb 100644
--- a/extra/clisp/PKGBUILD
+++ b/extra/clisp/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
pkgname=clisp
pkgver=2.49
-pkgrel=3
+pkgrel=3.1
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://clisp.cons.org/"
depends=('readline' 'libsigsegv')
@@ -19,6 +19,8 @@ build() {
./configure --prefix=/usr --with-readline --with-ffcall src
cd src
./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
+ # Dirty hack for using arimips64 instead of arimips.c
+ [ $CARCH = "mips64el" ] && ln -s arimips64.c arimips.c
make
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
make
diff --git a/extra/cln/PKGBUILD b/extra/cln/PKGBUILD
index 6ef726a4d..7e6c63cc7 100644
--- a/extra/cln/PKGBUILD
+++ b/extra/cln/PKGBUILD
@@ -5,27 +5,34 @@ pkgname=cln
pkgver=1.3.3
pkgrel=2
pkgdesc="Class library for numbers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ginac.de/CLN/"
license=('GPL')
-depends=('gmp')
+[[ "${CARCH}" == 'mips64el' ]] || depends=('gmp')
makedepends=('texlive-core')
install=cln.install
source=(http://www.ginac.de/CLN/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('11c56780eb83ed54f2ad1ecef7f0dc0f609c426d')
build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make all html pdf
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/<sizeof(mp_limb_t) > sizeof(long)>/<(sizeof(mp_limb_t) > sizeof(long))>/' configure
+ # For unknown reasons it fails.
+ if [[ "${CARCH}" == 'mips64el' ]] ; then
+ use_gmp=--without-gmp
+ else
+ use_gmp=
+ fi
+ ./configure --prefix=/usr $use_gmp
+ make all html
}
check() {
- cd ${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install install-html install-pdf
+ make DESTDIR="${pkgdir}" install install-html
}
diff --git a/extra/clucene/PKGBUILD b/extra/clucene/PKGBUILD
index bf22500ed..ff7ba1976 100644
--- a/extra/clucene/PKGBUILD
+++ b/extra/clucene/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=clucene
pkgver=2.3.3.4
pkgrel=7
pkgdesc="C++ port of the high-performance text search engine Lucene"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://clucene.sourceforge.net/"
license=('APACHE' 'LGPL')
depends=('gcc-libs>=4.7.1-5' 'zlib' 'boost-libs')
diff --git a/extra/clutter-gst/PKGBUILD b/extra/clutter-gst/PKGBUILD
index a1bcfbf96..3a9067696 100644
--- a/extra/clutter-gst/PKGBUILD
+++ b/extra/clutter-gst/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=clutter-gst
pkgver=2.0.8
pkgrel=1
pkgdesc="GStreamer bindings for clutter"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.clutter-project.org/"
license=(LGPL)
depends=(clutter gst-plugins-base-libs libxdamage gst-plugins-bad)
diff --git a/extra/clutter-gtk/PKGBUILD b/extra/clutter-gtk/PKGBUILD
index a281cfc9c..b58da6b09 100644
--- a/extra/clutter-gtk/PKGBUILD
+++ b/extra/clutter-gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=clutter-gtk
pkgver=1.4.4
pkgrel=4
pkgdesc="GTK clutter widget"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://clutter-project.org/"
license=('LGPL')
depends=('clutter' 'gtk3')
diff --git a/extra/clutter/PKGBUILD b/extra/clutter/PKGBUILD
index f29bd77d1..e5f5b8872 100644
--- a/extra/clutter/PKGBUILD
+++ b/extra/clutter/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=clutter
pkgver=1.16.0
pkgrel=1
pkgdesc="A GObject based library for creating fast, visually rich graphical user interfaces"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://clutter-project.org/"
license=('LGPL')
depends=('cogl' 'mesa' 'json-glib' 'atk' 'libxi' 'libxkbcommon' 'libevdev')
diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD
index aed99644a..fa1eb7491 100644
--- a/extra/cmake/PKGBUILD
+++ b/extra/cmake/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cmake
pkgver=2.8.12
pkgrel=1
pkgdesc="A cross-platform open-source make system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cmake.org/"
license=('custom')
depends=('curl' 'libarchive' 'shared-mime-info')
diff --git a/extra/cmt/PKGBUILD b/extra/cmt/PKGBUILD
index df73556ce..205ec45e9 100644
--- a/extra/cmt/PKGBUILD
+++ b/extra/cmt/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=cmt
pkgver=1.16
-pkgrel=3
+pkgrel=3.2
pkgdesc="CMT for LADSPA"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.ladspa.org"
depends=('ladspa' 'gcc-libs')
diff --git a/extra/cogl/PKGBUILD b/extra/cogl/PKGBUILD
index 4c9de3f79..97fc0cb5a 100644
--- a/extra/cogl/PKGBUILD
+++ b/extra/cogl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cogl
pkgver=1.16.0
pkgrel=2
pkgdesc="An object oriented GL/GLES Abstraction/Utility Layer"
-arch=('i686' 'x86_64')
+arch=(mips64el)
url="http://www.clutter-project.org/"
license=('GPL2')
depends=('libdrm' 'libxext' 'libxdamage' 'libxcomposite' 'gdk-pixbuf2' 'pango')
diff --git a/extra/colord-gtk/PKGBUILD b/extra/colord-gtk/PKGBUILD
index 80f0b7937..eb9cff85b 100644
--- a/extra/colord-gtk/PKGBUILD
+++ b/extra/colord-gtk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=colord-gtk
pkgver=0.1.25
pkgrel=1
pkgdesc="GTK integration for libcolord"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/software/colord"
license=('GPL2')
depends=('lcms2' 'gtk3' 'colord')
diff --git a/extra/colord/PKGBUILD b/extra/colord/PKGBUILD
index 30cb0b3d8..8807045cd 100644
--- a/extra/colord/PKGBUILD
+++ b/extra/colord/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=colord
pkgver=1.0.2
pkgrel=2
pkgdesc="System daemon for managing color devices"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/software/colord"
license=(GPL2)
depends=(lcms2 libgusb polkit shared-color-profiles sqlite udev dconf dbus)
diff --git a/extra/compface/PKGBUILD b/extra/compface/PKGBUILD
index dc2285f2c..2381162a9 100644
--- a/extra/compface/PKGBUILD
+++ b/extra/compface/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=compface
pkgver=1.5.2
pkgrel=4
pkgdesc="Utils & libs to convert from/to X-Face format."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.xemacs.org/pub/xemacs/aux/"
license=('custom')
depends=('glibc')
diff --git a/extra/conky/PKGBUILD b/extra/conky/PKGBUILD
index b941e0a67..bb4b7786b 100644
--- a/extra/conky/PKGBUILD
+++ b/extra/conky/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc='Lightweight system monitor for X'
url='http://conky.sourceforge.net/'
license=('BSD' 'GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!emptydirs')
makedepends=('docbook2x')
depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2')
diff --git a/extra/convertlit/PKGBUILD b/extra/convertlit/PKGBUILD
index 4c7477666..95217f5fc 100644
--- a/extra/convertlit/PKGBUILD
+++ b/extra/convertlit/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=convertlit
pkgver=1.8
pkgrel=6
pkgdesc="An extractor/converter for .LIT eBooks"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.convertlit.com/"
license=('GPL')
depends=('glibc')
diff --git a/extra/cpio/PKGBUILD b/extra/cpio/PKGBUILD
index 52275465c..d635193cc 100644
--- a/extra/cpio/PKGBUILD
+++ b/extra/cpio/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cpio
pkgver=2.11
pkgrel=4
pkgdesc="A tool to copy files into or out of a cpio or tar archive"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.gnu.org/software/cpio"
depends=('glibc')
diff --git a/extra/cppunit/PKGBUILD b/extra/cppunit/PKGBUILD
index 4ff85ba24..f2cce9c14 100644
--- a/extra/cppunit/PKGBUILD
+++ b/extra/cppunit/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.13.1
pkgrel=1
_hash=fa9aa839145cdf860bf596532bb8af97
pkgdesc="A C++ unit testing framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/cppunit"
license=('LGPL')
depends=('sh' 'gcc-libs')
diff --git a/extra/crypto++/GNUmakefile.parabola b/extra/crypto++/GNUmakefile.parabola
new file mode 100644
index 000000000..22a724961
--- /dev/null
+++ b/extra/crypto++/GNUmakefile.parabola
@@ -0,0 +1,94 @@
+# -*- makefile -*-
+
+CXXFLAGS += -DNDEBUG -fPIC
+# the following options reduce code size, but breaks link or makes link very slow on some systems
+CXXFLAGS += -ffunction-sections -fdata-sections
+LDFLAGS += -Wl,--gc-sections
+ARFLAGS = -cr # ar needs the dash on OpenBSD
+RANLIB = ranlib
+CP = cp
+MKDIR = mkdir
+EGREP = egrep
+
+# Default prefix for make install
+PREFIX ?= /usr
+
+LDFLAGS += -pthread
+
+SRCS = $(wildcard *.cpp)
+ifeq ($(SRCS),) # workaround wildcard function bug in GNU Make 3.77
+SRCS = $(shell echo *.cpp)
+endif
+
+OBJS = $(SRCS:.cpp=.o)
+# test.o needs to be after bench.o for cygwin 1.1.4 (possible ld bug?)
+TESTOBJS = bench.o bench2.o test.o validat1.o validat2.o validat3.o adhoc.o datatest.o regtest.o fipsalgt.o dlltest.o
+LIBOBJS = $(filter-out $(TESTOBJS),$(OBJS))
+
+DLLSRCS = algebra.cpp algparam.cpp asn.cpp basecode.cpp cbcmac.cpp channels.cpp cryptlib.cpp des.cpp dessp.cpp dh.cpp dll.cpp dsa.cpp ec2n.cpp eccrypto.cpp ecp.cpp eprecomp.cpp files.cpp filters.cpp fips140.cpp fipstest.cpp gf2n.cpp gfpcrypt.cpp hex.cpp hmac.cpp integer.cpp iterhash.cpp misc.cpp modes.cpp modexppc.cpp mqueue.cpp nbtheory.cpp oaep.cpp osrng.cpp pch.cpp pkcspad.cpp pubkey.cpp queue.cpp randpool.cpp rdtables.cpp rijndael.cpp rng.cpp rsa.cpp sha.cpp simple.cpp skipjack.cpp strciphr.cpp trdlocal.cpp
+DLLOBJS = $(DLLSRCS:.cpp=.export.o)
+LIBIMPORTOBJS = $(LIBOBJS:.o=.import.o)
+TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o)
+DLLTESTOBJS = dlltest.dllonly.o
+
+all: cryptest.exe
+
+test: cryptest.exe
+ ./cryptest.exe v
+
+clean:
+ $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS)
+
+install:
+ $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin
+ $(CP) *.h $(PREFIX)/include/cryptopp
+ $(CP) *.a $(PREFIX)/lib
+ $(CP) *.so $(PREFIX)/lib
+ $(CP) *.exe $(PREFIX)/bin
+
+libcryptopp.a: $(LIBOBJS)
+ $(AR) $(ARFLAGS) $@ $(LIBOBJS)
+ $(RANLIB) $@
+
+libcryptopp.so: $(LIBOBJS)
+ $(CXX) -shared -o $@ $(LIBOBJS)
+
+cryptest.exe: libcryptopp.a $(TESTOBJS)
+ $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS)
+
+nolib: $(OBJS) # makes it faster to test changes
+ $(CXX) -o ct $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(LDLIBS)
+
+dll: cryptest.import.exe dlltest.exe
+
+cryptopp.dll: $(DLLOBJS)
+ $(CXX) -shared -o $@ $(CXXFLAGS) $(DLLOBJS) $(LDFLAGS) $(LDLIBS) -Wl,--out-implib=libcryptopp.dll.a
+
+libcryptopp.import.a: $(LIBIMPORTOBJS)
+ $(AR) $(ARFLAGS) $@ $(LIBIMPORTOBJS)
+ $(RANLIB) $@
+
+cryptest.import.exe: cryptopp.dll libcryptopp.import.a $(TESTIMPORTOBJS)
+ $(CXX) -o $@ $(CXXFLAGS) $(TESTIMPORTOBJS) -L. -lcryptopp.dll -lcryptopp.import $(LDFLAGS) $(LDLIBS)
+
+dlltest.exe: cryptopp.dll $(DLLTESTOBJS)
+ $(CXX) -o $@ $(CXXFLAGS) $(DLLTESTOBJS) -L. -lcryptopp.dll $(LDFLAGS) $(LDLIBS)
+
+adhoc.cpp: adhoc.cpp.proto
+ifeq ($(wildcard adhoc.cpp),)
+ cp adhoc.cpp.proto adhoc.cpp
+else
+ touch adhoc.cpp
+endif
+
+%.dllonly.o : %.cpp
+ $(CXX) $(CXXFLAGS) -DCRYPTOPP_DLL_ONLY -c $< -o $@
+
+%.import.o : %.cpp
+ $(CXX) $(CXXFLAGS) -DCRYPTOPP_IMPORTS -c $< -o $@
+
+%.export.o : %.cpp
+ $(CXX) $(CXXFLAGS) -DCRYPTOPP_EXPORTS -c $< -o $@
+
+%.o : %.cpp
+ $(CXX) $(CXXFLAGS) -c $<
diff --git a/extra/crypto++/PKGBUILD b/extra/crypto++/PKGBUILD
index be0823a13..7bcececdc 100644
--- a/extra/crypto++/PKGBUILD
+++ b/extra/crypto++/PKGBUILD
@@ -10,19 +10,26 @@ pkgver=5.6.2
_srcver=562
pkgrel=1
pkgdesc="A free C++ class library of cryptographic schemes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cryptopp.com/"
license=('custom')
depends=('gcc-libs')
makedepends=('unzip')
source=("http://www.cryptopp.com/cryptopp${_srcver}.zip"
- 'libcrypto++.pc')
+ 'libcrypto++.pc'
+ 'GNUmakefile.parabola')
md5sums=('7ed022585698df48e65ce9218f6c6a67'
- '46de3847c59ad16456fa863eb33e73b2')
+ '46de3847c59ad16456fa863eb33e73b2'
+ 'c95b2134a8c0a35b173ede32001870d2')
build() {
cd ${srcdir}
+ # The upstream build system expects this file to be modified
+ # to e.g. use system CFLAGS or use features of modern linkers.
+ cp "${srcdir}/GNUmakefile.parabola" GNUmakefile
+ make -f GNUmakefile
+
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
make -f GNUmakefile
diff --git a/extra/cscope/PKGBUILD b/extra/cscope/PKGBUILD
index a77200d2b..12f4c236b 100644
--- a/extra/cscope/PKGBUILD
+++ b/extra/cscope/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=15.8.a
_realver=15.8a
pkgrel=1
pkgdesc="A developers tool for browsing program code"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cscope.sourceforge.net/"
license=('BSD')
depends=('ncurses' 'sh')
diff --git a/extra/ctags/PKGBUILD b/extra/ctags/PKGBUILD
index 4b8996c57..b3d9f982d 100644
--- a/extra/ctags/PKGBUILD
+++ b/extra/ctags/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=ctags
pkgver=5.8
-pkgrel=3
+pkgrel=3.1
pkgdesc="Generates an index file of language objects found in source files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc')
url="http://ctags.sourceforge.net/"
diff --git a/extra/cups-pdf/PKGBUILD b/extra/cups-pdf/PKGBUILD
index be5ee2e8b..93f458729 100644
--- a/extra/cups-pdf/PKGBUILD
+++ b/extra/cups-pdf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cups-pdf
pkgver=2.6.1
pkgrel=2
pkgdesc="PDF printer for cups"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('cups' 'ghostscript')
install=cups-pdf.install
url="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf"
diff --git a/extra/cups-pk-helper/PKGBUILD b/extra/cups-pk-helper/PKGBUILD
index 48f853f19..a59561d22 100644
--- a/extra/cups-pk-helper/PKGBUILD
+++ b/extra/cups-pk-helper/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cups-pk-helper
pkgver=0.2.5
pkgrel=1
pkgdesc="A helper that makes system-config-printer use PolicyKit"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.freedesktop.org/software/cups-pk-helper/releases/"
license=('GPL')
depends=(polkit libcups)
diff --git a/extra/cups/PKGBUILD b/extra/cups/PKGBUILD
index 65873259e..b96f9a7b6 100644
--- a/extra/cups/PKGBUILD
+++ b/extra/cups/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=1.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.cups.org/"
makedepends=('libtiff>=4.0.0' 'libpng>=1.5.7' 'acl' 'pam' 'xdg-utils' 'krb5' 'gnutls>=2.8.3' 'cups-filters' 'bc'
diff --git a/extra/cvs/PKGBUILD b/extra/cvs/PKGBUILD
index 7572540da..52db75700 100644
--- a/extra/cvs/PKGBUILD
+++ b/extra/cvs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cvs
pkgver=1.11.23
pkgrel=9
pkgdesc="Concurrent Versions System - a source control system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://cvs.nongnu.org/"
license=('GPL')
depends=('krb5' 'zlib')
diff --git a/extra/cvsps/PKGBUILD b/extra/cvsps/PKGBUILD
index 964997438..ef6a59d2c 100644
--- a/extra/cvsps/PKGBUILD
+++ b/extra/cvsps/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="Generating 'patchset' information from a CVS repository"
url="http://www.catb.org/esr/cvsps/"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('zlib')
makedepends=('asciidoc')
source=("http://www.catb.org/~esr/cvsps/cvsps-${pkgver}.tar.gz")
diff --git a/extra/cyrus-sasl/PKGBUILD b/extra/cyrus-sasl/PKGBUILD
index c00a0962e..a43d07e81 100644
--- a/extra/cyrus-sasl/PKGBUILD
+++ b/extra/cyrus-sasl/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=('cyrus-sasl' 'cyrus-sasl-gssapi' 'cyrus-sasl-ldap' 'cyrus-sasl-sql')
pkgver=2.1.26
pkgrel=6
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cyrusimap.web.cmu.edu/"
license=('custom')
options=('!makeflags')
@@ -79,6 +79,8 @@ build() {
popd
./configure --prefix=/usr \
+ --host=$CHOST \
+ --build=$CHOST \
--sbin=/usr/bin \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
diff --git a/extra/dasher/PKGBUILD b/extra/dasher/PKGBUILD
index 8343ad53d..cca246e30 100644
--- a/extra/dasher/PKGBUILD
+++ b/extra/dasher/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dasher
pkgver=4.11
pkgrel=1
pkgdesc="Information-efficient text-entry interface, driven by natural continuous pointing gestures"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('at-spi' 'gnome-speech' 'hicolor-icon-theme')
makedepends=('intltool' 'gnome-doc-utils' 'libgnomeui')
diff --git a/extra/datefudge/PKGBUILD b/extra/datefudge/PKGBUILD
index 1cf348382..37cc1644a 100644
--- a/extra/datefudge/PKGBUILD
+++ b/extra/datefudge/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=datefudge
pkgver=1.17
pkgrel=1
pkgdesc="A program (and preload library) to fake system date"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://packages.qa.debian.org/d/datefudge.html"
license=('GPL2')
depends=('sh')
diff --git a/extra/davfs2/PKGBUILD b/extra/davfs2/PKGBUILD
index 1b2807981..dca4adc8d 100644
--- a/extra/davfs2/PKGBUILD
+++ b/extra/davfs2/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=davfs2
pkgver=1.4.7
pkgrel=2
pkgdesc="File system driver that allows you to mount a WebDAV folder"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://savannah.nongnu.org/projects/davfs2"
license=('GPL')
depends=('neon')
diff --git a/extra/dbus-c++/PKGBUILD b/extra/dbus-c++/PKGBUILD
index 40ee64d05..ab849d69c 100644
--- a/extra/dbus-c++/PKGBUILD
+++ b/extra/dbus-c++/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=dbus-c++
_pkgname=lib$pkgname
pkgver=0.9.0
-pkgrel=4
+pkgrel=4.1
pkgdesc="A C++ API for D-BUS"
url="http://sourceforge.net/projects/dbus-cplusplus/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('dbus>=1.2.0' 'glib2')
makedepends=('autoconf' 'automake' 'libtool')
diff --git a/extra/dbus-glib/PKGBUILD b/extra/dbus-glib/PKGBUILD
index 196421592..19d74d3f7 100644
--- a/extra/dbus-glib/PKGBUILD
+++ b/extra/dbus-glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dbus-glib
pkgver=0.100.2
pkgrel=1
pkgdesc="GLib bindings for DBUS"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
depends=('dbus-core' 'glib2')
diff --git a/extra/dbus-python/PKGBUILD b/extra/dbus-python/PKGBUILD
index 80d014a20..a9cc0efe1 100644
--- a/extra/dbus-python/PKGBUILD
+++ b/extra/dbus-python/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('python-dbus' 'python2-dbus' 'python-dbus-common')
pkgver=1.2.0
pkgrel=1
pkgdesc="Python bindings for DBUS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
makedepends=('docutils' 'dbus-glib' 'python' 'python2')
diff --git a/extra/dconf/PKGBUILD b/extra/dconf/PKGBUILD
index 639671156..0dccaad2b 100644
--- a/extra/dconf/PKGBUILD
+++ b/extra/dconf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dconf
pkgver=0.18.0
pkgrel=1
pkgdesc="A low-level configuration system."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://live.gnome.org/dconf"
license=('LGPL2.1')
depends=('glib2')
diff --git a/extra/dcraw/PKGBUILD b/extra/dcraw/PKGBUILD
index 0414cffd3..e50a4fc32 100644
--- a/extra/dcraw/PKGBUILD
+++ b/extra/dcraw/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=9.19
pkgrel=1
pkgdesc='Decodes any raw image from any digital camera'
url='http://www.cybercom.net/~dcoffin/dcraw/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('lcms' 'jasper')
source=("http://www.cybercom.net/~dcoffin/dcraw/archive/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/ddd/PKGBUILD b/extra/ddd/PKGBUILD
index 6e7b8447e..2b7d22276 100644
--- a/extra/ddd/PKGBUILD
+++ b/extra/ddd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ddd
pkgver=3.3.12
pkgrel=3
pkgdesc="A graphical front-end for command-line debuggers such as GDB, JDB, pydb, perl debugger..."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/ddd/"
license=('GPL3' 'LGPL3')
depends=('gcc-libs' 'lesstif' 'libxaw')
diff --git a/extra/ddrescue/PKGBUILD b/extra/ddrescue/PKGBUILD
index 3deeb3bd5..dd82c9c0b 100644
--- a/extra/ddrescue/PKGBUILD
+++ b/extra/ddrescue/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ddrescue
pkgver=1.17
pkgrel=1
pkgdesc="GNU data recovery tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/ddrescue/ddrescue.html"
license=('GPL3')
depends=('gcc-libs')
diff --git a/extra/desktop-file-utils/PKGBUILD b/extra/desktop-file-utils/PKGBUILD
index 84d05594d..89c67e814 100644
--- a/extra/desktop-file-utils/PKGBUILD
+++ b/extra/desktop-file-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=desktop-file-utils
pkgver=0.22
pkgrel=1
pkgdesc="Command line utilities for working with desktop entries"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
license=('GPL')
depends=('glib2')
diff --git a/extra/devhelp/PKGBUILD b/extra/devhelp/PKGBUILD
index 8ecc5fbbb..0e8d89453 100644
--- a/extra/devhelp/PKGBUILD
+++ b/extra/devhelp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=devhelp
pkgver=3.10.0
pkgrel=1
pkgdesc="API documentation browser for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(GPL)
url="http://live.gnome.org/devhelp/"
depends=(webkitgtk hicolor-icon-theme)
diff --git a/extra/dhcp/PKGBUILD b/extra/dhcp/PKGBUILD
index 10a547001..5ae6a42c6 100644
--- a/extra/dhcp/PKGBUILD
+++ b/extra/dhcp/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('dhcp' 'dhclient')
pkgver=4.2.5.p1
_pkgver=4.2.5-P1
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:isc-dhcp')
url="https://www.isc.org/software/dhcp"
makedepends=('bash' 'iproute2')
diff --git a/extra/di/PKGBUILD b/extra/di/PKGBUILD
index 483c1ce63..0b825d9cf 100644
--- a/extra/di/PKGBUILD
+++ b/extra/di/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=di
pkgver=4.34
pkgrel=1
pkgdesc="A disk information utility, displaying everything (and more) that your df command does"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gentoo.com/di/"
license=('ZLIB')
depends=('glibc')
diff --git a/extra/diffstat/PKGBUILD b/extra/diffstat/PKGBUILD
index 08804fd3a..0caa7aecf 100644
--- a/extra/diffstat/PKGBUILD
+++ b/extra/diffstat/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=diffstat
pkgver=1.58
pkgrel=1
pkgdesc="Display a histogram of diff changes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://invisible-island.net/diffstat"
depends=('glibc')
license=('MIT')
diff --git a/extra/digikam/PKGBUILD b/extra/digikam/PKGBUILD
index 4ca152315..72e6e9e6a 100644
--- a/extra/digikam/PKGBUILD
+++ b/extra/digikam/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libkvkontakte' 'libme
pkgver=3.5.0
pkgrel=1
pkgdesc="Digital photo management application for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.digikam.org/"
makedepends=('kdepimlibs' 'libkexiv2' 'libkdcraw' 'libkipi' 'libksane' 'liblqr'
diff --git a/extra/djvulibre/PKGBUILD b/extra/djvulibre/PKGBUILD
index eb44cb111..c08cc767c 100644
--- a/extra/djvulibre/PKGBUILD
+++ b/extra/djvulibre/PKGBUILD
@@ -6,10 +6,10 @@
pkgname=djvulibre
pkgver=3.5.25.3
_major=3.5.25
-pkgrel=1
+pkgrel=1.1
pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents"
url='http://djvu.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
license=('GPL2')
makedepends=('librsvg')
depends=('libtiff' 'hicolor-icon-theme')
diff --git a/extra/dmapi/PKGBUILD b/extra/dmapi/PKGBUILD
index 6267ad276..482ff364a 100644
--- a/extra/dmapi/PKGBUILD
+++ b/extra/dmapi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dmapi
pkgver=2.2.12
pkgrel=2
pkgdesc="Data migration API"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://oss.sgi.com/projects/xfs/"
license=('GPL')
depends=('glibc')
diff --git a/extra/dmidecode/PKGBUILD b/extra/dmidecode/PKGBUILD
index d36f8c5e7..4bd9ee2e4 100644
--- a/extra/dmidecode/PKGBUILD
+++ b/extra/dmidecode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dmidecode
pkgver=2.12
pkgrel=2
pkgdesc="Desktop Management Interface table related utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/dmidecode"
license=('GPL')
depends=('glibc')
diff --git a/extra/dnsmasq/PKGBUILD b/extra/dnsmasq/PKGBUILD
index fc54009ac..77d3c138d 100644
--- a/extra/dnsmasq/PKGBUILD
+++ b/extra/dnsmasq/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.67
pkgrel=2
pkgdesc="Lightweight, easy to configure DNS forwarder and DHCP server"
url="http://www.thekelleys.org.uk/dnsmasq/doc.html"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc' 'dbus-core')
install=$pkgname.install
diff --git a/extra/dnsutils/PKGBUILD b/extra/dnsutils/PKGBUILD
index e1b3a1cd0..1c392a354 100644
--- a/extra/dnsutils/PKGBUILD
+++ b/extra/dnsutils/PKGBUILD
@@ -11,7 +11,7 @@ pkgrel=1
pkgdesc='DNS utilities: dig host nslookup'
url='http://www.isc.org/software/bind/'
license=('custom:ISC')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!makeflags')
depends=('openssl' 'krb5' 'idnkit' 'dnssec-anchors')
source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"
diff --git a/extra/docker/PKGBUILD b/extra/docker/PKGBUILD
index 40da4ab08..6ed4810b7 100644
--- a/extra/docker/PKGBUILD
+++ b/extra/docker/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=docker
pkgver=1.5
pkgrel=6
pkgdesc="Docker is a docking application (WindowMaker dock app) which acts as a system tray for KDE and GNOME2."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://icculus.org/openbox/2/docker/"
license=('GPL')
depends=('glibc' 'glib2' 'libx11')
diff --git a/extra/dotconf/PKGBUILD b/extra/dotconf/PKGBUILD
index 81cb17413..276907d41 100644
--- a/extra/dotconf/PKGBUILD
+++ b/extra/dotconf/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=dotconf
pkgver=1.3
pkgrel=4
pkgdesc='A C library for parsing configuration files'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/williamh/dotconf"
license=('LGPL2.1')
depends=('glibc')
diff --git a/extra/dovecot/PKGBUILD b/extra/dovecot/PKGBUILD
index a272bace3..3460f6d90 100644
--- a/extra/dovecot/PKGBUILD
+++ b/extra/dovecot/PKGBUILD
@@ -11,7 +11,7 @@ pkgname=dovecot
pkgver=2.2.7
pkgrel=1
pkgdesc="An IMAP and POP3 server written with security primarily in mind"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dovecot.org/"
license=("LGPL")
depends=('krb5' 'openssl' 'sqlite' 'libmariadbclient'
diff --git a/extra/doxygen/PKGBUILD b/extra/doxygen/PKGBUILD
index f17b7e395..5128e8878 100644
--- a/extra/doxygen/PKGBUILD
+++ b/extra/doxygen/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('doxygen' 'doxygen-docs')
pkgver=1.8.5
pkgrel=1
license=('GPL')
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.doxygen.org/"
makedepends=('gcc-libs' 'flex' 'qt4' 'texlive-core' 'ghostscript'
'texlive-latexextra' 'graphviz')
@@ -35,5 +35,11 @@ package_doxygen-docs() {
pkgdesc="Developer documentation for doxygen"
cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ # Needs fonts removed from our TeXLive.
+ sed -i -e 's;$(MAKE) -C latex;:;' \
+ -e 's;$(INSTTOOL) -m 644 latex/doxygen_manual.pdf $(DESTDIR)/$(DOCDIR);:;' \
+ Makefile
+
make INSTALL="${pkgdir}"/usr MAN1DIR=share/man/man1 install_docs
}
diff --git a/extra/dssi/PKGBUILD b/extra/dssi/PKGBUILD
index 4d4cce637..c67d67d7a 100644
--- a/extra/dssi/PKGBUILD
+++ b/extra/dssi/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=dssi
pkgver=1.1.1
pkgrel=5
pkgdesc="An API for audio processing plugins & softsynths with UIs"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://dssi.sourceforge.net/"
license=('LGPL' 'BSD' 'custom')
depends=('liblo>=1:0.26' 'liblo<1:0.27' 'jack')
diff --git a/extra/dvd+rw-tools/PKGBUILD b/extra/dvd+rw-tools/PKGBUILD
index 27c8c9122..37d949931 100644
--- a/extra/dvd+rw-tools/PKGBUILD
+++ b/extra/dvd+rw-tools/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=dvd+rw-tools
pkgver=7.1
-pkgrel=4
+pkgrel=4.2
pkgdesc="dvd burning tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://fy.chalmers.se/~appro/linux/DVD+RW"
depends=('cdrkit' 'gcc-libs')
diff --git a/extra/dvdauthor/PKGBUILD b/extra/dvdauthor/PKGBUILD
index 6a839fc3a..13143c008 100644
--- a/extra/dvdauthor/PKGBUILD
+++ b/extra/dvdauthor/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=dvdauthor
pkgver=0.7.1
pkgrel=6
pkgdesc="DVD authoring tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dvdauthor.sourceforge.net/"
license=('GPL')
depends=('libdvdread' 'imagemagick' 'libxml2' 'libpng' 'fribidi')
diff --git a/extra/dvgrab/PKGBUILD b/extra/dvgrab/PKGBUILD
index 8afb2a3ba..bda720c49 100644
--- a/extra/dvgrab/PKGBUILD
+++ b/extra/dvgrab/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=dvgrab
pkgver=3.5
-pkgrel=4
+pkgrel=4.2
pkgdesc="Saves audio and video data from an IEEE (FireWire) digital source"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kinodv.org/"
license=('GPL')
depends=('libdv' 'libavc1394' 'libjpeg-turbo' 'libiec61883' 'gcc-libs')
diff --git a/extra/e_dbus/PKGBUILD b/extra/e_dbus/PKGBUILD
index f2f0662ef..6f7a0c80e 100644
--- a/extra/e_dbus/PKGBUILD
+++ b/extra/e_dbus/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=e_dbus
pkgver=1.7.8
pkgrel=1
pkgdesc="D-Bus integration with Ecore"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('ecore' 'dbus-core')
diff --git a/extra/easytag/PKGBUILD b/extra/easytag/PKGBUILD
index 6c0973b0c..bef1e4ae1 100644
--- a/extra/easytag/PKGBUILD
+++ b/extra/easytag/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=easytag
pkgver=2.1.8
pkgrel=2
pkgdesc='Utility for viewing and editing tags for most audio formats'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url='http://easytag.sourceforge.net/'
makedepends=('intltool')
diff --git a/extra/ebook-tools/PKGBUILD b/extra/ebook-tools/PKGBUILD
index 439163598..8522b5316 100644
--- a/extra/ebook-tools/PKGBUILD
+++ b/extra/ebook-tools/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ebook-tools
pkgver=0.2.2
pkgrel=1
pkgdesc="Tools for accessing and converting various ebook file formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/ebook-tools/"
license=('custom')
depends=('libzip' 'libxml2' 'convertlit')
@@ -18,6 +18,7 @@ build() {
mkdir build
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
diff --git a/extra/ecl/PKGBUILD b/extra/ecl/PKGBUILD
index d892592b8..263e734cf 100644
--- a/extra/ecl/PKGBUILD
+++ b/extra/ecl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ecl
pkgver=13.5.1
pkgrel=1
pkgdesc="Embeddable Common Lisp"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/ecls/"
license=('LGPL')
depends=('bash' 'gmp')
diff --git a/extra/eclipse/PKGBUILD b/extra/eclipse/PKGBUILD
index 0a17572cc..97b79178d 100644
--- a/extra/eclipse/PKGBUILD
+++ b/extra/eclipse/PKGBUILD
@@ -10,7 +10,7 @@ pkgver=4.3.1
pkgrel=2
_date=201309111000
pkgdesc="An IDE for Java and other languages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://eclipse.org"
depends=('java-environment' 'gtk2' 'unzip' 'webkitgtk2' 'libxtst')
install=${pkgname}.install
diff --git a/extra/ecore/PKGBUILD b/extra/ecore/PKGBUILD
index 159397074..45142b428 100644
--- a/extra/ecore/PKGBUILD
+++ b/extra/ecore/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ecore
pkgver=1.7.8
pkgrel=1
pkgdesc="OS abstraction layer for e17"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('eina' 'evas' 'glib2' 'libxp' 'curl' 'libxss' 'libxtst'
diff --git a/extra/edje/PKGBUILD b/extra/edje/PKGBUILD
index 6d55fff91..5e3bd5201 100644
--- a/extra/edje/PKGBUILD
+++ b/extra/edje/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=edje
pkgver=1.7.8
pkgrel=1
pkgdesc="A graphical design and layout library based on Evas"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('eina' 'ecore' 'evas' 'eio' 'lua' 'shared-mime-info' 'embryo')
diff --git a/extra/eet/PKGBUILD b/extra/eet/PKGBUILD
index 6c3a68eaa..0ae8c9a15 100644
--- a/extra/eet/PKGBUILD
+++ b/extra/eet/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=eet
pkgver=1.7.8
pkgrel=1
pkgdesc="A data storage and compression library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('libjpeg>=7' 'openssl' 'eina')
diff --git a/extra/eeze/PKGBUILD b/extra/eeze/PKGBUILD
index 04b73094e..065670409 100644
--- a/extra/eeze/PKGBUILD
+++ b/extra/eeze/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=eeze
pkgver=1.7.8
pkgrel=1
pkgdesc="Manipulate devices using udev and sysfs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('ecore' 'eina' 'udev')
diff --git a/extra/efreet/PKGBUILD b/extra/efreet/PKGBUILD
index acdbbad48..05acd07e9 100644
--- a/extra/efreet/PKGBUILD
+++ b/extra/efreet/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=efreet
pkgver=1.7.8
pkgrel=1
pkgdesc="FreeDesktop.Org specifications for e17"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('eina' 'ecore' 'e_dbus')
diff --git a/extra/eina/PKGBUILD b/extra/eina/PKGBUILD
index 88595ad20..d5ed2d79b 100644
--- a/extra/eina/PKGBUILD
+++ b/extra/eina/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=eina
pkgver=1.7.8
pkgrel=1
pkgdesc="A core data structure and common utility library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('LGPL2.1')
depends=('glibc')
diff --git a/extra/eio/PKGBUILD b/extra/eio/PKGBUILD
index 8877b0e61..92a99628b 100644
--- a/extra/eio/PKGBUILD
+++ b/extra/eio/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=eio
pkgver=1.7.8
pkgrel=1
pkgdesc="Async IO library using Ecore"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('ecore')
diff --git a/extra/ekiga/PKGBUILD b/extra/ekiga/PKGBUILD
index 08e81e897..a01acdab7 100644
--- a/extra/ekiga/PKGBUILD
+++ b/extra/ekiga/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=7
pkgdesc="VOIP/Videoconferencing app with full SIP and H.323 support (GnomeMeeting expanded and renamed)"
url="http://www.ekiga.org"
license=(GPL)
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
depends=('opal' 'boost-libs' 'libxv' 'libnotify' 'hicolor-icon-theme' 'avahi' 'gtk2' 'gconf')
makedepends=('intltool' 'gnome-doc-utils' 'evolution-data-server' 'boost')
optdepends=('evolution-data-server: Evolution integration')
diff --git a/extra/elementary/PKGBUILD b/extra/elementary/PKGBUILD
index b5e5cc46a..80c30a3fa 100644
--- a/extra/elementary/PKGBUILD
+++ b/extra/elementary/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=elementary
pkgver=1.7.8
pkgrel=1
pkgdesc="Enlightenment's widget set"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('edje' 'e_dbus' 'efreet' 'ethumb' 'eio')
diff --git a/extra/elfutils/PKGBUILD b/extra/elfutils/PKGBUILD
index 5df9d2d54..9dbfe8f1c 100644
--- a/extra/elfutils/PKGBUILD
+++ b/extra/elfutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=elfutils
pkgver=0.157
pkgrel=1
pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/elfutils/"
license=('LGPL3' 'GPL' 'GPL3')
depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
@@ -29,7 +29,7 @@ build() {
check() {
cd ${pkgname}-${pkgver}
-
+ [ "$CARCH" = "mips64el" ] && return 0 # Known to fail, no benefit from running.
make check
}
diff --git a/extra/emacs/PKGBUILD b/extra/emacs/PKGBUILD
index 327fc41b7..9092bf044 100644
--- a/extra/emacs/PKGBUILD
+++ b/extra/emacs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=emacs
pkgver=24.3
pkgrel=4
pkgdesc="The extensible, customizable, self-documenting real-time display editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/emacs/emacs.html"
license=('GPL3')
depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'gtk3' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib' 'imagemagick')
diff --git a/extra/embryo/PKGBUILD b/extra/embryo/PKGBUILD
index ded4fd018..9b48b5e78 100644
--- a/extra/embryo/PKGBUILD
+++ b/extra/embryo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=embryo
pkgver=1.7.8
pkgrel=1
pkgdesc="implementation of a C like scripting language for e17"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('glibc' 'eina')
diff --git a/extra/emotion/PKGBUILD b/extra/emotion/PKGBUILD
index 604514878..ae347ffb3 100644
--- a/extra/emotion/PKGBUILD
+++ b/extra/emotion/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=emotion
pkgver=1.7.8
pkgrel=1
pkgdesc="Library to easily integrate media playback into EFL applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('gstreamer0.10' 'edje' 'eeze')
diff --git a/extra/empathy/PKGBUILD b/extra/empathy/PKGBUILD
index a4291a26f..64b0f1f80 100644
--- a/extra/empathy/PKGBUILD
+++ b/extra/empathy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=empathy
pkgver=3.10.1
pkgrel=1
pkgdesc="A GNOME instant messaging client using the Telepathy framework."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Empathy"
license=(GPL2)
depends=(clutter-gst clutter-gtk folks gcr iso-codes libcanberra libpulse webkitgtk telepathy-farstream telepathy-glib telepathy-logger telepathy-mission-control geoclue2 geocode-glib cheese libchamplain)
diff --git a/extra/enblend-enfuse/PKGBUILD b/extra/enblend-enfuse/PKGBUILD
index a04ab5348..a2124de50 100644
--- a/extra/enblend-enfuse/PKGBUILD
+++ b/extra/enblend-enfuse/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=enblend-enfuse
pkgver=4.1.1
pkgrel=3
pkgdesc="Intelligent blend tool for overlapping picture"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL')
url="http://enblend.sourceforge.net"
depends=('openexr' 'glew' 'freeglut' 'lcms2' 'boost-libs' 'vigra' 'gsl')
diff --git a/extra/enca/PKGBUILD b/extra/enca/PKGBUILD
index 47d4776c4..7445eab26 100644
--- a/extra/enca/PKGBUILD
+++ b/extra/enca/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=enca
pkgver=1.15
pkgrel=1
pkgdesc="Charset analyser and converter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cihar.com/software/enca/"
license=('GPL')
depends=('recode')
diff --git a/extra/enchant/PKGBUILD b/extra/enchant/PKGBUILD
index b27d1ab89..113890c6a 100644
--- a/extra/enchant/PKGBUILD
+++ b/extra/enchant/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=enchant
pkgver=1.6.0
-pkgrel=4
+pkgrel=4.1
pkgdesc="A wrapper library for generic spell checking"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.abisource.com/enchant/"
license=('LGPL')
depends=('aspell' 'dbus-glib' 'hunspell' 'hspell')
diff --git a/extra/enlightenment/PKGBUILD b/extra/enlightenment/PKGBUILD
index fd7f6dbde..e69f6ea91 100644
--- a/extra/enlightenment/PKGBUILD
+++ b/extra/enlightenment/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=enlightenment
pkgver=1.0.13
_themever=1.0.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="A fast, flexible, and very extensible Window Manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD' 'custom')
depends=('libxinerama' 'imlib2' 'perl' 'pango' 'libxcomposite' \
diff --git a/extra/enlightenment17/PKGBUILD b/extra/enlightenment17/PKGBUILD
index 649de7a56..9715abd4c 100644
--- a/extra/enlightenment17/PKGBUILD
+++ b/extra/enlightenment17/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=enlightenment
pkgver=0.17.4
pkgrel=2
pkgdesc="Enlightenment window manager DR17 (aka e17)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('alsa-lib' 'pam' 'shared-mime-info' 'hicolor-icon-theme'
diff --git a/extra/eog-plugins/PKGBUILD b/extra/eog-plugins/PKGBUILD
index d11f3fcf8..6b94f92ca 100644
--- a/extra/eog-plugins/PKGBUILD
+++ b/extra/eog-plugins/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=eog-plugins
pkgver=3.10.1
pkgrel=1
pkgdesc="Plugins for Eye of Gnome"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org/"
license=('GPL2')
depends=('eog' 'libchamplain' 'libgdata')
diff --git a/extra/eog/PKGBUILD b/extra/eog/PKGBUILD
index 1d4208644..00c11aefe 100644
--- a/extra/eog/PKGBUILD
+++ b/extra/eog/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=eog
pkgver=3.10.1
pkgrel=1
pkgdesc="Eye of Gnome: An image viewing and cataloging program"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
depends=(gnome-desktop libexif lcms2 desktop-file-utils exempi libpeas librsvg gnome-icon-theme dconf)
makedepends=(gtk-doc intltool itstool)
diff --git a/extra/epplet-base/PKGBUILD b/extra/epplet-base/PKGBUILD
index 4379b3344..083a8fa44 100644
--- a/extra/epplet-base/PKGBUILD
+++ b/extra/epplet-base/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=epplet-base
pkgver=0.14
pkgrel=2
pkgdesc="Addon plugins for the enlightenment windowmanager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('GPL')
depends=('imlib2' 'libcdaudio' 'libgl')
diff --git a/extra/ethstatus/PKGBUILD b/extra/ethstatus/PKGBUILD
index 9333a6adf..6bcdc9911 100644
--- a/extra/ethstatus/PKGBUILD
+++ b/extra/ethstatus/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=ethstatus
pkgver=0.4.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="A simple program for displaying commonly needed/wanted statistics in real time of incoming and outgoing traffic"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://packages.qa.debian.org/e/ethstatus.html"
license=('GPL')
depends=('ncurses')
diff --git a/extra/ethtool/PKGBUILD b/extra/ethtool/PKGBUILD
index c647748a1..35654aaf2 100644
--- a/extra/ethtool/PKGBUILD
+++ b/extra/ethtool/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=3.11
pkgrel=1
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/software/network/ethtool/"
license=('GPL')
depends=('glibc')
diff --git a/extra/ethumb/PKGBUILD b/extra/ethumb/PKGBUILD
index 6069422d1..e6f9309a6 100644
--- a/extra/ethumb/PKGBUILD
+++ b/extra/ethumb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ethumb
pkgver=1.7.8
pkgrel=1
pkgdesc="Thumbnailing library and D-Bus service using EFL"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('libexif' 'e_dbus' 'emotion')
diff --git a/extra/evas/PKGBUILD b/extra/evas/PKGBUILD
index 071dd07ba..1beefb331 100644
--- a/extra/evas/PKGBUILD
+++ b/extra/evas/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=evas
pkgver=1.7.8
pkgrel=1
pkgdesc="A hardware-accelerated canvas API for X-Windows"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('eet' 'giflib' 'libpng' 'libjpeg' 'libxrender' 'mesa'
diff --git a/extra/evas_generic_loaders/PKGBUILD b/extra/evas_generic_loaders/PKGBUILD
index 3ea954ae4..1885129e4 100644
--- a/extra/evas_generic_loaders/PKGBUILD
+++ b/extra/evas_generic_loaders/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=evas_generic_loaders
pkgver=1.7.8
pkgrel=1
pkgdesc="Additional generic loaders for Evas"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD')
depends=('librsvg' 'gstreamer0.10-base' 'poppler' 'libraw' 'libspectre' 'eina')
diff --git a/extra/eventlog/PKGBUILD b/extra/eventlog/PKGBUILD
index 262d2e216..951679a98 100644
--- a/extra/eventlog/PKGBUILD
+++ b/extra/eventlog/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=eventlog
pkgver=0.2.12
pkgrel=4
pkgdesc="API to format and send structured log messages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.balabit.com/support/community/products/"
license=('BSD')
depends=('glibc')
diff --git a/extra/evince/PKGBUILD b/extra/evince/PKGBUILD
index aff74d920..12c82c9d1 100644
--- a/extra/evince/PKGBUILD
+++ b/extra/evince/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.10.0
pkgrel=2
pkgdesc="Simply a document viewer"
url="http://projects.gnome.org/evince/"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
depends=(gtk3 libgxps libspectre gsfonts poppler-glib djvulibre gnome-icon-theme t1lib libsecret desktop-file-utils dconf gsettings-desktop-schemas)
makedepends=(itstool libnautilus-extension texlive-bin intltool gobject-introspection docbook-xsl python)
diff --git a/extra/evolution-data-server/PKGBUILD b/extra/evolution-data-server/PKGBUILD
index 7198c55fe..15d1fa5f1 100644
--- a/extra/evolution-data-server/PKGBUILD
+++ b/extra/evolution-data-server/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution-data-server
pkgver=3.10.1
pkgrel=1
pkgdesc="Centralized access to appointments and contacts"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
depends=(gnome-online-accounts nss krb5 libgweather libical db libgdata)
makedepends=(intltool gperf gobject-introspection vala python2)
install=$pkgname.install
diff --git a/extra/evolution-ews/PKGBUILD b/extra/evolution-ews/PKGBUILD
index 88299c0d8..c84f46812 100644
--- a/extra/evolution-ews/PKGBUILD
+++ b/extra/evolution-ews/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution-ews
pkgver=3.10.1
pkgrel=1
pkgdesc="MS Exchange integration through Exchange Web Services"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
url="http://www.gnome.org"
depends=('evolution-data-server' 'gtkhtml4' 'libmspack')
diff --git a/extra/evolution/PKGBUILD b/extra/evolution/PKGBUILD
index 8a6803549..0f9db43df 100644
--- a/extra/evolution/PKGBUILD
+++ b/extra/evolution/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=evolution
pkgver=3.10.1
pkgrel=1
pkgdesc="Manage your email, contacts and schedule"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
depends=(gnome-desktop evolution-data-server gtkhtml4 libcanberra libpst libytnef psmisc
desktop-file-utils hicolor-icon-theme dconf)
diff --git a/extra/exempi/PKGBUILD b/extra/exempi/PKGBUILD
index 936213c33..d0623d04b 100644
--- a/extra/exempi/PKGBUILD
+++ b/extra/exempi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=exempi
pkgver=2.2.1
pkgrel=2
pkgdesc="A library to parse XMP metadata"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://libopenraw.freedesktop.org/wiki/Exempi"
license=('custom:BSD')
depends=('gcc-libs' 'expat' 'zlib')
diff --git a/extra/exiv2/PKGBUILD b/extra/exiv2/PKGBUILD
index 82f87b46b..4fea3a69d 100644
--- a/extra/exiv2/PKGBUILD
+++ b/extra/exiv2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=exiv2
pkgver=0.23
pkgrel=2
pkgdesc="Exif and Iptc metadata manipulation library and tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://exiv2.org"
license=('GPL')
depends=('gcc-libs' 'zlib' 'expat')
diff --git a/extra/exo/PKGBUILD b/extra/exo/PKGBUILD
index cc676c1b0..99fc2a808 100644
--- a/extra/exo/PKGBUILD
+++ b/extra/exo/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=exo
pkgver=0.10.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Extensions to Xfce by os-cillation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2' 'LGPL')
groups=('xfce4')
diff --git a/extra/expect/PKGBUILD b/extra/expect/PKGBUILD
index 5af97256a..a9771cc16 100644
--- a/extra/expect/PKGBUILD
+++ b/extra/expect/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=expect
pkgver=5.45
pkgrel=3
pkgdesc="A tool for automating interactive applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nist.gov/el/msid/expect.cfm"
license=('custom')
depends=('tcl')
diff --git a/extra/f2fs-tools/PKGBUILD b/extra/f2fs-tools/PKGBUILD
index 92bcf4b32..fb2646183 100644
--- a/extra/f2fs-tools/PKGBUILD
+++ b/extra/f2fs-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=f2fs-tools
pkgver=1.2.0
pkgrel=1
pkgdesc="Tools for Flash-Friendly File System (F2FS)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/f2fs-tools/"
depends=('util-linux')
license=('GPL')
diff --git a/extra/faad2/PKGBUILD b/extra/faad2/PKGBUILD
index 3804ed5a8..08c5cdf06 100644
--- a/extra/faad2/PKGBUILD
+++ b/extra/faad2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=faad2
pkgver=2.7
pkgrel=4
pkgdesc="ISO AAC audio decoder"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.audiocoding.com/"
license=('GPL')
depends=('glibc')
diff --git a/extra/facile/PKGBUILD b/extra/facile/PKGBUILD
index c5164c562..6bfc3812e 100644
--- a/extra/facile/PKGBUILD
+++ b/extra/facile/PKGBUILD
@@ -5,20 +5,25 @@ pkgname=facile
pkgver=1.1
pkgrel=16
pkgdesc="A Functional Constraint Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.recherche.enac.fr/opti/facile/"
license=("LGPL")
makedepends=('ocaml')
depends=()
source=(http://www.recherche.enac.fr/opti/facile/distrib/$pkgname-$pkgver.tar.gz
- ocaml-facile-ocaml-4.patch)
+ ocaml-facile-ocaml-4.patch
+ facile-1.1-ocaml.patch)
md5sums=('ab673e1fc0859a42bcb639a02c2d7e9e'
- '1ffc2f08c9f1db8ef0d444ec06f82b79')
+ '1ffc2f08c9f1db8ef0d444ec06f82b79'
+ '0c07248878354f8bcfc101df70bf55e5')
build() {
cd "$srcdir/$pkgname-$pkgver"
# fix ocaml4
patch -Np1 -i ../ocaml-facile-ocaml-4.patch
+ if [ "$CARCH" == "mips64el" ]; then
+ patch -Np1 -i "${srcdir}/facile-1.1-ocaml.patch"
+ fi
./configure
make
}
@@ -26,5 +31,6 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver/src"
install -d "$pkgdir/usr/lib/ocaml/facile"
- install -D -m 644 facile.cmxa facile.cmi facile.cma facile.a "$pkgdir/usr/lib/ocaml/facile"
+ [ "$CARCH" != "mips64el" ] && extra=facile.cmxa facile.a
+ install -D -m 644 facile.cmi facile.cma $extra "$pkgdir/usr/lib/ocaml/facile"
}
diff --git a/extra/facile/facile-1.1-ocaml.patch b/extra/facile/facile-1.1-ocaml.patch
new file mode 100644
index 000000000..19f73adaa
--- /dev/null
+++ b/extra/facile/facile-1.1-ocaml.patch
@@ -0,0 +1,66 @@
+--- facile-1.1.orig/Makefile 2004-09-08 04:51:02.000000000 -0500
++++ facile-1.1/Makefile 2013-08-01 21:31:24.289306640 -0500
+@@ -7,11 +7,9 @@
+
+ install:
+ if test -d $(FACILEDIR); then : ; else mkdir $(FACILEDIR); fi
+- cp src/facile.cmi src/facile.cma src/facile.cmxa src/facile.a $(FACILEDIR)
++ cp src/facile.cmi src/facile.cma $(FACILEDIR)
+ chmod a+r $(FACILEDIR)/facile.cmi
+ chmod a+r $(FACILEDIR)/facile.cma
+- chmod a+r $(FACILEDIR)/facile.cmxa
+- chmod a+r $(FACILEDIR)/facile.a
+
+ clean:
+ cd src; make clean
+@@ -20,4 +18,4 @@
+ rm -fr $(FACILEDIR)
+
+ check:
+- cd examples; make FACILEDIR=../src queens.opt; ./queens.opt 8
++ cd examples; make FACILEDIR=../src queens.out; ./queens.out 8
+--- facile-1.1.orig/src/Makefile 2004-09-08 04:51:02.000000000 -0500
++++ facile-1.1/src/Makefile 2013-08-01 21:35:35.261718749 -0500
+@@ -1,7 +1,7 @@
+ # $Id: Makefile,v 1.73 2004/09/01 12:33:49 barnier Exp $
+
+-OCAMLC = ocamlc.opt -g
+-OCAMLMLI = ocamlc.opt
++OCAMLC = ocamlc -g
++OCAMLMLI = ocamlc
+ OCAMLOPT = ocamlopt -unsafe -noassert -inline 10
+ OCAMLDEP = ocamldep
+ INCLUDES =
+@@ -16,7 +16,7 @@
+ CSTRCMX = $(CSTR:.ml=.cmx)
+
+ # Default target: libraries and toplevel
+-all : facile.cma facile.cmxa facile
++all : facile.cma facile
+
+ # Libraries
+ facile.cma : $(CSTRCMO)
+@@ -28,9 +28,9 @@
+ # Version of the library to be linked with the -p (profiler) option
+ facile.p.cmxa : $(CSTR)
+ rm -fr $(CSTRCMX)
+- make facile.cmxa OPTOPT=-p
++ make OPTOPT=-p
+ rm -fr $(CSTRCMX)
+- mv facile.cmxa $@
++ mv $@
+ mv facile.a facile.p.a
+
+ # Toplevel (to be run with the "-I +facile" option)
+@@ -42,9 +42,9 @@
+ facile.exp.cmxa : $(CSTR)
+ rm -fr $(CSTRCMX)
+ make fcl_stak.cmx fcl_cstr.cmx fcl_inv.cmx fcl_reify.cmx fcl_arith.cmx fcl_goals.cmx fcl_fdArray.cmx fcl_gcc.cmx fcl_alldiff.cmx fcl_sorting.cmx fcl_interval.cmx facile.cmx
+- make facile.cmxa OPTOPT="-pp inline_functors"
++ make OPTOPT="-pp inline_functors"
+ rm -fr $(CSTRCMX)
+- mv facile.cmxa $@
++ mv $@
+ mv facile.a facile.exp.a
+
+ .SUFFIXES:
diff --git a/extra/fakechroot/PKGBUILD b/extra/fakechroot/PKGBUILD
index c5d39633e..a02a6ff44 100644
--- a/extra/fakechroot/PKGBUILD
+++ b/extra/fakechroot/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fakechroot
pkgver=2.16
pkgrel=3
pkgdesc="Gives a fake chroot environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/fakechroot/fakechroot/wiki"
license=('LGPL')
install=fakechroot.install
diff --git a/extra/farstream-0.1/PKGBUILD b/extra/farstream-0.1/PKGBUILD
index aa21baf76..b1ee8f8fc 100644
--- a/extra/farstream-0.1/PKGBUILD
+++ b/extra/farstream-0.1/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=farstream-0.1
_pkgname=farstream
pkgver=0.1.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="Audio/Video Communications Framework (legacy version)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/Farstream"
license=('LGPL2.1')
depends=('libnice' 'gstreamer0.10-base' 'gstreamer0.10-bad-plugins'
@@ -28,8 +28,8 @@ build() {
./configure \
--prefix=/usr \
- --with-package-name='Arch Linux Farstream 0.1 Package' \
- --with-package-origin='httpw://www.archlinux.org/' \
+ --with-package-name='Parabola Farstream 0.1 Package' \
+ --with-package-origin='https://parabolagnulinux.org/' \
--disable-static
make
}
diff --git a/extra/farstream/PKGBUILD b/extra/farstream/PKGBUILD
index 1a62c4964..68c067bec 100644
--- a/extra/farstream/PKGBUILD
+++ b/extra/farstream/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=farstream
pkgver=0.2.3
pkgrel=1
pkgdesc="Farstream (formerly Farsight) - Audio/Video Communications Framework"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.freedesktop.org/wiki/Software/Farstream"
license=('LGPL')
depends=('gst-plugins-base-libs' 'libnice')
@@ -20,8 +20,8 @@ md5sums=('a8971167068b69a6933d3eaaeb9ab448'
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
- --with-package-name='Arch Linux farstream package' \
- --with-package-origin='http://archlinux.org' \
+ --with-package-name='Parabola GNU/Linux-libre farstream package' \
+ --with-package-origin='https://parabolagnulinux.org/' \
--disable-static
make
}
diff --git a/extra/fastjar/PKGBUILD b/extra/fastjar/PKGBUILD
index d34ff0a77..f2d0567b3 100644
--- a/extra/fastjar/PKGBUILD
+++ b/extra/fastjar/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=fastjar
pkgver=0.98
-pkgrel=2
+pkgrel=2.1
pkgdesc="Sun java jar compatible archiver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://savannah.nongnu.org/projects/fastjar"
license=('GPL')
depends=('zlib' 'texinfo')
diff --git a/extra/fbida/PKGBUILD b/extra/fbida/PKGBUILD
index 560de96b1..55a959c19 100644
--- a/extra/fbida/PKGBUILD
+++ b/extra/fbida/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fbida
pkgver=2.09
pkgrel=3
pkgdesc="Few applications to display and elementary edit images: fbi, fbgs, ida, exiftran"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kraxel.org/blog/linux/fbida/"
license=('GPL2')
depends=('giflib' 'libtiff' 'libexif' 'lesstif' 'libpng' 'fontconfig' 'curl' 'desktop-file-utils')
diff --git a/extra/fbset/PKGBUILD b/extra/fbset/PKGBUILD
index 3e1ac8ab3..b991dfd92 100644
--- a/extra/fbset/PKGBUILD
+++ b/extra/fbset/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fbset
pkgver=2.1
pkgrel=5
pkgdesc="Framebuffer setup utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://users.telenet.be/geertu/Linux/fbdev/"
license=('GPL')
depends=('glibc')
diff --git a/extra/fcgi/PKGBUILD b/extra/fcgi/PKGBUILD
index e87a059a2..73ebbfe42 100644
--- a/extra/fcgi/PKGBUILD
+++ b/extra/fcgi/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.4.0
pkgrel=9
depends=('gcc-libs')
pkgdesc="FASTCgi (fcgi) is a language independent, high performant extension to CGI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
options=('!makeflags')
url="http://www.fastcgi.com"
@@ -28,7 +28,7 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --build=$CHOST
make
}
diff --git a/extra/feh/PKGBUILD b/extra/feh/PKGBUILD
index de86e00d3..35a95f28d 100644
--- a/extra/feh/PKGBUILD
+++ b/extra/feh/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc='Fast and light imlib2-based image viewer'
url='http://feh.finalrewind.org/'
license=('custom:MIT')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('giblib' 'curl' 'libxinerama' 'libexif')
optdepends=('perl: feh-cam, webcam wrapper for feh'
'imagemagick: support more file formats')
diff --git a/extra/festival/PKGBUILD b/extra/festival/PKGBUILD
index 1124eb914..a663b3353 100644
--- a/extra/festival/PKGBUILD
+++ b/extra/festival/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=festival
pkgver=2.1
_suffix=release
-pkgrel=3
+pkgrel=3.1
pkgdesc="A general multi-lingual speech synthesis system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cstr.ed.ac.uk/projects/festival/"
license=('BSD' 'GPL' 'custom')
depends=('perl')
@@ -20,7 +20,8 @@ source=("http://www.cstr.ed.ac.uk/downloads/${pkgname}/${pkgver}/${pkgname}-${pk
"http://www.cstr.ed.ac.uk/downloads/${pkgname}/${pkgver}/festlex_POSLEX.tar.gz"
'speechconfig.patch'
'festconfig.patch'
- 'festival-shared-build.patch')
+ 'festival-shared-build.patch'
+ 'speech_tools-2.1-build.patch')
md5sums=('c93eb3e389ed171ab9abd46afe8897a8'
'6920ddc75b042910a3bcfee3ab106938'
'6a2ee4fed7c3ebedf197a3b8524ccb87'
@@ -28,16 +29,19 @@ md5sums=('c93eb3e389ed171ab9abd46afe8897a8'
'aa80f9250065b318325f16fdad3a4484'
'c30ae990baca40c9c2b1d5cd27502139'
'348cc033430aee7989463198818ae74c'
- '46132b1cd86a982007312def49ab176a')
+ '46132b1cd86a982007312def49ab176a'
+ '347c9433a3879c0f12e1cd6befbd92ff')
build() {
cd "$srcdir"
patch -Np0 -i "$srcdir/festival-shared-build.patch"
+ patch -Np0 -i ${srcdir}/speech_tools-2.1-build.patch
# Build Speech Tools first
cd "$srcdir/speech_tools"
+ sed -i 's/ -fno-shared-data//g' config/compilers/gcc_defaults.mak
patch -Np1 -i "$srcdir/speechconfig.patch"
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST
make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}"
# Build Festival itself
@@ -47,7 +51,7 @@ build() {
# Avoid make failure on making scripts and docs
sed -i "s#examples bin doc#examples#" Makefile
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST
make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}"
}
diff --git a/extra/festival/speech_tools-2.1-build.patch b/extra/festival/speech_tools-2.1-build.patch
new file mode 100644
index 000000000..f465e6cb6
--- /dev/null
+++ b/extra/festival/speech_tools-2.1-build.patch
@@ -0,0 +1,81 @@
+--- speech_tools.orig/include/EST_TIterator.h 2004-05-03 19:00:16.000000000 -0500
++++ speech_tools/include/EST_TIterator.h 2013-07-21 23:38:24.643554686 -0500
+@@ -209,7 +209,7 @@
+
+ /// Create an iterator ready to run over the given container.
+ EST_TStructIterator(const Container &over)
+- { begin(over); }
++ { this->begin(over); }
+
+ const Entry *operator ->() const
+ {return &this->current();}
+@@ -289,7 +289,7 @@
+
+ /// Create an iterator ready to run over the given container.
+ EST_TRwStructIterator(Container &over)
+- { begin(over); }
++ { this->begin(over); }
+
+ Entry *operator ->() const
+ {return &this->current();}
+--- speech_tools.orig/include/EST_TNamedEnum.h 2004-09-30 07:53:36.000000000 -0500
++++ speech_tools/include/EST_TNamedEnum.h 2013-07-21 23:55:47.072143553 -0500
+@@ -130,7 +130,7 @@
+ {this->initialise((const void *)defs); };
+ EST_TNamedEnumI(EST_TValuedEnumDefinition<const char *,const char *,INFO> defs[], ENUM (*conv)(const char *))
+ {this->initialise((const void *)defs, conv); };
+- const char *name(ENUM tok, int n=0) const {return value(tok,n); };
++ const char *name(ENUM tok, int n=0) const {return this->value(tok,n); };
+
+ };
+
+--- speech_tools.orig/base_class/EST_TSimpleMatrix.cc 2009-02-18 07:56:24.000000000 -0500
++++ speech_tools/base_class/EST_TSimpleMatrix.cc 2013-07-22 01:23:50.302856444 -0500
+@@ -42,6 +42,7 @@
+
+ #include "EST_TSimpleMatrix.h"
+ #include "EST_TVector.h"
++#include <cstring>
+ #include <fstream>
+ #include <iostream>
+ #include "EST_cutils.h"
+@@ -98,7 +99,7 @@
+ {
+ int copy_r = Lof(this->num_rows(), new_rows);
+
+- just_resize(new_rows, new_cols, &old_vals);
++ this->just_resize(new_rows, new_cols, &old_vals);
+
+ for (q=0; q<(copy_r*new_cols*sizeof(T)); q++) /* memcpy */
+ ((char *)this->p_memory)[q] = ((char *)old_vals)[q];
+@@ -127,9 +128,9 @@
+ int copy_r = Lof(this->num_rows(), new_rows);
+ int copy_c = Lof(this->num_columns(), new_cols);
+
+- just_resize(new_rows, new_cols, &old_vals);
++ this->just_resize(new_rows, new_cols, &old_vals);
+
+- set_values(old_vals,
++ this->set_values(old_vals,
+ old_row_step, old_column_step,
+ 0, copy_r,
+ 0, copy_c);
+--- speech_tools.orig/base_class/EST_TSimpleVector.cc 2009-02-18 07:52:55.000000000 -0500
++++ speech_tools/base_class/EST_TSimpleVector.cc 2013-07-22 01:43:44.981811522 -0500
+@@ -42,6 +42,7 @@
+
+ #include "EST_TSimpleVector.h"
+ #include "EST_matrix_support.h"
++#include <cstring>
+ #include <fstream>
+ #include "EST_cutils.h"
+
+@@ -70,7 +71,7 @@
+ int old_offset = this->p_offset;
+ unsigned int q;
+
+- just_resize(newn, &old_vals);
++ this->just_resize(newn, &old_vals);
+
+ if (set && old_vals)
+ {
diff --git a/extra/fetchmail/PKGBUILD b/extra/fetchmail/PKGBUILD
index b45c77d8d..26dbd1109 100644
--- a/extra/fetchmail/PKGBUILD
+++ b/extra/fetchmail/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=fetchmail
pkgver=6.3.26
pkgrel=1
pkgdesc="A remote-mail retrieval utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fetchmail.berlios.de/"
license=('GPL')
depends=('openssl')
diff --git a/extra/ffcall/PKGBUILD b/extra/ffcall/PKGBUILD
index 6652abce5..cdb920c8a 100644
--- a/extra/ffcall/PKGBUILD
+++ b/extra/ffcall/PKGBUILD
@@ -4,19 +4,27 @@
pkgname=ffcall
pkgver=1.10
-pkgrel=4
+pkgrel=4.1
pkgdesc="C library for implementing foreign function calls in embedded interpreters"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libffcall/"
license=('GPL2')
options=('!makeflags')
-source=(http://www.haible.de/bruno/gnu/${pkgname}-${pkgver}.tar.gz)
-md5sums=('2db95007e901f3bc2ae7e5a9fe9ebea4')
+source=(http://www.haible.de/bruno/gnu/${pkgname}-${pkgver}.tar.gz
+ mipsn32.patch)
+md5sums=('2db95007e901f3bc2ae7e5a9fe9ebea4'
+ '64045515f2664b5544943c6754bf2737')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
[ "$CARCH" = "x86_64" ] && CONFIGFLAG="--with-pic"
+ [ "$CARCH" = "mips64el" ] && {
+ CONFIGFLAG="--with-pic"
+ patch -Np0 -i "$srcdir/mipsn32.patch"
+ }
+
./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG
+
make
}
diff --git a/extra/ffcall/mipsn32.patch b/extra/ffcall/mipsn32.patch
new file mode 100644
index 000000000..2a667c37c
--- /dev/null
+++ b/extra/ffcall/mipsn32.patch
@@ -0,0 +1,11 @@
+--- autoconf/config.guess.orig 2011-05-08 14:09:55.621461438 -0300
++++ autoconf/config.guess 2011-05-08 14:10:12.225759443 -0300
+@@ -882,7 +882,7 @@
+ #undef mips64
+ #undef mips64el
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+- CPU=mips64el
++ CPU=mipsn32
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=mips64
diff --git a/extra/ffmpeg-compat/PKGBUILD b/extra/ffmpeg-compat/PKGBUILD
index cea6fdc66..21e3a623b 100644
--- a/extra/ffmpeg-compat/PKGBUILD
+++ b/extra/ffmpeg-compat/PKGBUILD
@@ -10,16 +10,19 @@ pkgver=0.10.9
pkgrel=1
epoch=1
pkgdesc='Complete and free Internet live audio and video broadcasting solution for Linux/Unix'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://ffmpeg.org/'
license=('GPL')
depends=(
'alsa-lib' 'bzip2' 'gsm' 'lame' 'libass'
- 'libmodplug' 'libpulse' 'libtheora' 'libva' 'libvorbis' 'libvpx'
+ 'libmodplug' 'libpulse' 'libtheora' 'libvorbis' 'libvpx'
'opencore-amr' 'openjpeg' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
'v4l-utils' 'x264' 'xvidcore' 'zlib'
)
-makedepends=('libvdpau' 'yasm')
+if [ "$CARCH" != "mips64el" ]; then
+ depends+=(libva)
+ makedepends=('libvdpau' 'yasm')
+fi
source=(http://ffmpeg.org/releases/ffmpeg-$pkgver.tar.bz2)
sha256sums=('1d0cc2dd539faefe47554935ea4e4f6aa779d0896b3e722d595aa5abe2304cf9')
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD
index b6a02cb9d..e9d34e53f 100644
--- a/extra/ffmpeg/PKGBUILD
+++ b/extra/ffmpeg/PKGBUILD
@@ -9,16 +9,19 @@ pkgver=2.1
pkgrel=2
epoch=1
pkgdesc='Complete and free Internet live audio and video broadcasting solution'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://ffmpeg.org/'
license=('GPL')
depends=(
'alsa-lib' 'bzip2' 'fontconfig' 'gnutls' 'gsm' 'lame' 'libass'
- 'libbluray' 'libmodplug' 'libpulse' 'libtheora' 'libva' 'libvorbis' 'libvpx'
+ 'libbluray' 'libmodplug' 'libpulse' 'libtheora' 'libvorbis' 'libvpx'
'opencore-amr' 'openjpeg' 'opus' 'rtmpdump' 'schroedinger' 'sdl' 'speex'
- 'v4l-utils' 'x264' 'xvidcore' 'zlib'
+ 'v4l-utils' 'x264' 'xvidcore' 'zlib' 'libxfixes'
)
-makedepends=('libvdpau' 'yasm')
+if [ "${CARCH}" != "mips64el" ]; then
+ depends+=('libva')
+ makedepends=('yasm' 'libvdpau')
+fi
source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2
ffmpeg-2.1-avformat-http.fix-cookies.patch)
sha256sums=('926603fd974e9b38071a5cfc6fd0d93857801d1968145dfce7fdc627ab1d68df'
@@ -32,6 +35,13 @@ prepare() {
build() {
cd $pkgname-$pkgver
+ if [ "$CARCH" = "mips64el" ] ; then
+ # Disable runtime CPU detection, video acceleration APIs our hardware doesn't support and ISAs our CPUs don't support.
+ extraconf="--disable-runtime-cpudetect --disable-vdpau --disable-vaapi --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2"
+ else
+ extraconf=""
+ fi
+
./configure \
--prefix=/usr \
--disable-debug \
@@ -68,7 +78,8 @@ build() {
--enable-swresample \
--enable-vdpau \
--enable-version3 \
- --enable-x11grab
+ --enable-x11grab \
+ $extraconf
make
make tools/qt-faststart
diff --git a/extra/ffmpeg/ffmpeg-loongson.patch b/extra/ffmpeg/ffmpeg-loongson.patch
new file mode 100644
index 000000000..d576812da
--- /dev/null
+++ b/extra/ffmpeg/ffmpeg-loongson.patch
@@ -0,0 +1,1767 @@
+diff -Nru ffmpeg.orig/configure ffmpeg/configure
+--- ffmpeg.orig/configure 2011-12-09 21:40:32.268783206 +0100
++++ ffmpeg/configure 2011-12-09 21:40:50.408820175 +0100
+@@ -249,6 +249,7 @@
+ --disable-armvfp disable ARM VFP optimizations
+ --disable-iwmmxt disable iwmmxt optimizations
+ --disable-mmi disable MMI optimizations
++ --disable-loongson2mmi disable LOONGSON2 Multi-Media Instructions usage"
+ --disable-neon disable neon optimizations
+ --disable-vis disable VIS optimizations
+ --disable-yasm disable use of yasm assembler
+@@ -1110,6 +1111,7 @@
+ avx
+ iwmmxt
+ mmi
++ loongson2mmi
+ mmx
+ mmx2
+ neon
+@@ -3367,6 +3369,7 @@
+ fi
+ if enabled mips; then
+ echo "MMI enabled ${mmi-no}"
++ echo "LOONGSON2MMI enabled ${loongson2mmi-no}"
+ fi
+ if enabled ppc; then
+ echo "AltiVec enabled ${altivec-no}"
+diff -Nru ffmpeg.orig/libavcodec/avcodec.h ffmpeg/libavcodec/avcodec.h
+--- ffmpeg.orig/libavcodec/avcodec.h 2011-12-09 21:40:31.980782616 +0100
++++ ffmpeg/libavcodec/avcodec.h 2011-12-09 21:40:50.504820368 +0100
+@@ -1824,6 +1824,8 @@
+ #define FF_IDCT_SIMPLENEON 22
+ #define FF_IDCT_SIMPLEALPHA 23
+ #define FF_IDCT_BINK 24
++#define FF_IDCT_LIBMPEG2LOONGSON2 25
++#define FF_IDCT_XVIDLOONGSON2 26
+
+ /**
+ * slice count
+diff -Nru ffmpeg.orig/libavcodec/dsputil.c ffmpeg/libavcodec/dsputil.c
+--- ffmpeg.orig/libavcodec/dsputil.c 2011-12-09 21:40:31.912782478 +0100
++++ ffmpeg/libavcodec/dsputil.c 2011-12-09 21:40:50.568820499 +0100
+@@ -3193,6 +3193,7 @@
+ if (HAVE_MMI) dsputil_init_mmi (c, avctx);
+ if (ARCH_SH4) dsputil_init_sh4 (c, avctx);
+ if (ARCH_BFIN) dsputil_init_bfin (c, avctx);
++ if (HAVE_LOONGSON2MMI) dsputil_init_loongson2(c, avctx);
+
+ for(i=0; i<64; i++){
+ if(!c->put_2tap_qpel_pixels_tab[0][i])
+diff -Nru ffmpeg.orig/libavcodec/dsputil.h ffmpeg/libavcodec/dsputil.h
+--- ffmpeg.orig/libavcodec/dsputil.h 2011-12-09 21:40:31.720782087 +0100
++++ ffmpeg/libavcodec/dsputil.h 2011-12-09 21:40:50.628820621 +0100
+@@ -650,6 +650,7 @@
+ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx);
+ void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx);
+ void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx);
++void dsputil_init_loongson2(DSPContext* c, AVCodecContext *avctx);
+
+ void ff_dsputil_init_dwt(DSPContext *c);
+ void ff_intrax8dsp_init(DSPContext* c, AVCodecContext *avctx);
+diff -Nru ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.c ffmpeg/libavcodec/loongson2/dsputil_loongson2.c
+--- ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/dsputil_loongson2.c 2011-12-09 21:40:50.668820701 +0100
+@@ -0,0 +1,221 @@
++/*
++ * Copyright(C) 2006-2010 comcat <jiankemeng@gmail.com>
++ *
++ * Optimized for Loongson2 CPUs by comcat <jiankemeng@gmail.com>
++ *
++ */
++
++#include "dsputil_loongson2.h"
++#include "../simple_idct.h"
++#include "../mpegvideo.h"
++
++//extern void ff_idct_xvid_loongson2(short *block);
++
++extern void ff_loongson2_idct(DCTELEM *block);
++extern void ff_idct_xvid_loongson2(short *block);
++
++static void add_pixels_clamped_loongson2(const DCTELEM *block, uint8_t *restrict pixels, int line_size)
++{
++ const DCTELEM *p;
++ uint8_t *pix;
++ int i,j;
++ p = block;
++ pix = pixels;
++ i = 4;
++ j = line_size << 1;
++ __asm __volatile("xor $f14, $f14, $f14\n\t");
++ do {
++ __asm __volatile(
++// ".set mips3 \n\t"
++ "ldc1 $f0, 0(%2) \n\t"
++ "ldc1 $f2, 8(%2) \n\t"
++ "ldc1 $f4, 16(%2) \n\t"
++ "ldc1 $f6, 24(%2) \n\t"
++ "ldc1 $f8, %0 \n\t"
++ "ldc1 $f12, %1 \n\t"
++ "mov.d $f10, $f8 \n\t"
++
++ "punpcklbh $f8, $f8, $f14 \n\t"
++ "punpckhbh $f10, $f10, $f14\n\t"
++
++ "paddsh $f0, $f0, $f8 \n\t"
++ "paddsh $f2, $f2, $f10 \n\t"
++
++ "mov.d $f10, $f12 \n\t"
++
++ "punpcklbh $f12, $f12, $f14\n\t"
++ "punpckhbh $f10, $f10, $f14\n\t"
++
++ "paddsh $f4, $f4, $f12 \n\t"
++ "paddsh $f6, $f6, $f10 \n\t"
++
++ "packushb $f0, $f0, $f2 \n\t"
++ "packushb $f4, $f4, $f6 \n\t"
++
++ "sdc1 $f0, %0 \n\t"
++ "sdc1 $f4, %1 \n\t"
++// ".set mips2 \n\t"
++ :"+m"(*pix), "+m"(*(pix+line_size))
++ :"r"(p)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$f12","$f14","memory");
++ pix += j;
++ p += 16;
++ } while (--i);
++
++}
++
++static void put_pixels_clamped_loongson2(const DCTELEM *block, uint8_t *restrict pixels, int line_size)
++{
++ const DCTELEM *p;
++ uint8_t *pix;
++ int tmp = line_size * 3;
++ p = block;
++ pix = pixels;
++ __asm __volatile
++ (
++// ".set mips3 \n\t"
++ //"dadd $12, $0, $0\n\t"
++ //"dadd $13, $0, $0\n\t"
++ //"dadd $14, $0, $0\n\t"
++
++ "ldc1 $f0, 0(%3)\n\t"
++ "ldc1 $f2, 8(%3)\n\t"
++ "ldc1 $f4, 16(%3)\n\t"
++ "ldc1 $f6, 24(%3)\n\t"
++ "ldc1 $f8, 32(%3)\n\t"
++ "ldc1 $f10, 40(%3)\n\t"
++ "ldc1 $f16, 48(%3)\n\t"
++ "ldc1 $f18, 56(%3)\n\t"
++
++ "packushb $f0, $f0, $f2\n\t"
++ "packushb $f4, $f4, $f6\n\t"
++ "packushb $f8, $f8, $f10\n\t"
++ "packushb $f16, $f16, $f18\n\t"
++
++ "add $12, %0, %1\n\t"
++ "add $13, $12, %1\n\t"
++ "add $14, %0, %2\n\t"
++
++ "sdc1 $f0, 0(%0)\n\t"
++ "sdc1 $f4, 0($12)\n\t"
++ "sdc1 $f8, 0($13)\n\t"
++ "sdc1 $f16, 0($14)\n\t"
++// ".set mips2\n\t"
++ :
++ :"r" (pix), "r" (line_size), "r" (tmp), "r"(p)
++ :"$12","$13","$14","$f0","$f2","$f4","$f6","$f8","$f10","$16","$18"
++ );
++
++ pix += line_size*4;
++ p += 32;
++
++ __asm __volatile
++ (
++// ".set mips3 \n\t"
++
++ "dadd $12, $0, $0\n\t"
++ "dadd $13, $0, $0\n\t"
++ "dadd $14, $0, $0\n\t"
++ "lw $12, %3\n\t"
++
++ "ldc1 $f0, 0($12)\n\t"
++ "ldc1 $f2, 8($12)\n\t"
++ "ldc1 $f4, 16($12)\n\t"
++ "ldc1 $f6, 24($12)\n\t"
++ "ldc1 $f8, 32($12)\n\t"
++ "ldc1 $f10, 40($12)\n\t"
++ "ldc1 $f16, 48($12)\n\t"
++ "ldc1 $f18, 56($12)\n\t"
++
++ "packushb $f0, $f0, $f2\n\t"
++ "packushb $f4, $f4, $f6\n\t"
++ "packushb $f8, $f8, $f10\n\t"
++ "packushb $f16, $f16, $f18\n\t"
++
++ "add $12, %1, %0\n\t"
++ "add $13, $12, %1\n\t"
++ "add $15, %2, %0\n\t"
++
++ "sdc1 $f0, 0(%0)\n\t"
++ "sdc1 $f4, 0($12)\n\t"
++
++ "sdc1 $f8, 0($13)\n\t"
++ "sdc1 $f16, 0($15)\n\t"
++// ".set mips2\n\t"
++ :
++ :"r" (pix), "r" (line_size), "r" (tmp), "m"(p)
++ :"$12","$13","$15","$f0","$f2","$f4","$f6","$f8","$f10","$16","$18","memory"
++ );
++
++}
++
++/*
++void put_signed_pixels_clamped_loongson2(const DCTELEM *block, uint8_t *pixels, int line_size)
++{
++
++}
++
++
++void ff_loongson2_idct_put(uint8_t *dest, int line_size, DCTELEM *block)
++{
++ ff_loongson2_idct(block);
++ put_pixels_clamped_loongson2(block, dest, line_size);
++}
++
++void ff_loongson2_idct_add(uint8_t *dest, int line_size, DCTELEM *block)
++{
++ ff_loongson2_idct(block);
++ add_pixels_clamped_loongson2(block, dest, line_size);
++}*/
++
++static void ff_idct_xvid_loongson2_put(uint8_t *dest, int line_size, DCTELEM *block)
++{
++ ff_idct_xvid_loongson2(block);
++ put_pixels_clamped_loongson2(block, dest, line_size);
++}
++
++static void ff_idct_xvid_loongson2_add(uint8_t *dest, int line_size, DCTELEM *block)
++{
++ ff_idct_xvid_loongson2(block);
++ add_pixels_clamped_loongson2(block, dest, line_size);
++}
++
++void dsputil_init_loongson2(DSPContext *c, AVCodecContext *avctx)
++{
++
++ const int idct_algo = avctx->idct_algo;
++
++/*
++#ifdef CONFIG_ENCODERS
++ const int dct_algo = avctx->dct_algo;
++ if(dct_algo == FF_DCT_AUTO || dct_algo == FF_DCT_LOONGSON2)
++ c->fdct = ff_fdct_loongson2;
++#endif
++*/
++
++#if 0
++ if(avctx->lowres==0)
++ {
++ if(idct_algo == FF_IDCT_LIBMPEG2LOONGSON2)
++ {
++ c->idct_add = ff_loongson2_idct_add;
++ c->idct_put = ff_loongson2_idct_put;
++ c->idct = ff_loongson2_idct;
++ }
++ else if(idct_algo == FF_IDCT_XVIDLOONGSON2)
++ {
++#endif
++ c->idct_add = ff_idct_xvid_loongson2_add;
++ c->idct_put = ff_idct_xvid_loongson2_put;
++ c->idct = ff_idct_xvid_loongson2;
++ //}
++ //}
++
++ c->put_pixels_clamped = put_pixels_clamped_loongson2;
++ c->add_pixels_clamped = add_pixels_clamped_loongson2;
++
++#ifdef CONFIG_ENCODERS
++ dsputil_init_pix_loongson2(c, avctx);
++#endif
++
++}
+diff -Nru ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.d ffmpeg/libavcodec/loongson2/dsputil_loongson2.d
+--- ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.d 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/dsputil_loongson2.d 2011-12-09 21:40:50.680820726 +0100
+@@ -0,0 +1,18 @@
++libavcodec/loongson2/dsputil_loongson2.o: \
++ libavcodec/loongson2/dsputil_loongson2.c \
++ libavcodec/loongson2/dsputil_loongson2.h libavcodec/dsputil.h \
++ libavutil/intreadwrite.h config.h libavutil/bswap.h \
++ libavutil/attributes.h libavutil/common.h libavutil/intmath.h \
++ libavutil/mem.h libavutil/internal.h libavutil/timer.h libavutil/libm.h \
++ libavutil/mips/intreadwrite.h libavcodec/avcodec.h libavutil/avutil.h \
++ libavutil/error.h libavutil/avutil.h libavutil/mathematics.h \
++ libavutil/rational.h libavutil/intfloat_readwrite.h libavutil/log.h \
++ libavutil/pixfmt.h libavutil/avconfig.h \
++ libavcodec/loongson2/../simple_idct.h libavcodec/loongson2/../dsputil.h \
++ libavcodec/loongson2/../mpegvideo.h libavcodec/loongson2/../get_bits.h \
++ libavutil/bswap.h libavutil/common.h libavutil/log.h \
++ libavcodec/loongson2/../mathops.h libavcodec/loongson2/../mips/mathops.h \
++ libavcodec/loongson2/../put_bits.h libavcodec/loongson2/../ratecontrol.h \
++ libavcodec/loongson2/../eval.h libavcodec/loongson2/../parser.h \
++ libavcodec/loongson2/../avcodec.h libavcodec/loongson2/../mpeg12data.h \
++ libavutil/rational.h libavcodec/loongson2/../rl.h
+diff -Nru ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.h ffmpeg/libavcodec/loongson2/dsputil_loongson2.h
+--- ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.h 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/dsputil_loongson2.h 2011-12-09 21:40:50.692820753 +0100
+@@ -0,0 +1,3 @@
++#include "libavcodec/dsputil.h"
++
++void dsputil_init_pix_loongson2(DSPContext* c, AVCodecContext *avctx);
+diff -Nru ffmpeg.orig/libavcodec/loongson2/idct_loongson2.c ffmpeg/libavcodec/loongson2/idct_loongson2.c
+--- ffmpeg.orig/libavcodec/loongson2/idct_loongson2.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/idct_loongson2.c 2011-12-09 21:40:50.744820857 +0100
+@@ -0,0 +1,336 @@
++/*
++ * Copyright (C) 2000-2003 Michel Lespinasse <walken@zoy.org>
++ * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
++ *
++ * Copyright (c) 2007-2010 comcat <jiankemeng@gmail.com>.
++ *
++ * Optimized for Loongson2 CPUs by comcat <jiankemeng@gmail.com>
++ *
++ * Based on i386
++ */
++
++#include "libavutil/common.h"
++#include "dsputil_loongson2.h"
++
++
++#define ATTR_ALIGN(align) __attribute__ ((__aligned__ (align)))
++
++
++#define ROW_SHIFT 11
++#define COL_SHIFT 6
++
++#define round(bias) ((int)(((bias)+0.5) * (1<<ROW_SHIFT)))
++#define rounder(bias) {round (bias), round (bias)}
++
++
++
++#define loongson2_table(c1,c2,c3,c4,c5,c6,c7) { c4,c2,-c4,-c2, \
++ c4,c6,c4,c6, \
++ c1,c3,-c1,-c5,\
++ c5,c7,c3,-c7, \
++ c4,-c6,c4,-c6, \
++ -c4,c2,c4,-c2, \
++ c5,-c1,c3,-c1, \
++ c7,c3,c7,-c5 }
++
++
++static inline void loongson2_row_head(int16_t * const row, const int offset,
++ const int16_t * const table)
++{
++ __asm__ volatile(
++// ".set\tmips3\n"
++ ".set noreorder\n"
++ "ldc1 $f6,%0\n"
++ "ldc1 $f14,%1\n"
++ "ldc1 $f2,%2\n"
++ "ldc1 $f8,%3\n"
++ "dli $12,%4\n"
++ "dmtc1 $12,$f16\n"
++ "mov.d $f4,$f6\n"
++ "mov.d $f10,$f14\n"
++ "pmaddhw $f2,$f2,$f4\n"
++ "pshufh $f6,$f6,$f16\n"
++ ".set reorder\n"
++// ".set\tmips0\n"
++ :
++ :"m"(*(row+offset)),"m"(*(row+offset+4)),"m"(*table),"m"(*(table+4)),"i"(0x4e)
++ :"$f2","$f4","$f6","$f8","$f10","$f14","$f16","$12"
++ );
++}
++
++
++static inline void loongson2_row(const int16_t * const table,
++ const int32_t * const rounder)
++{
++ __asm__ volatile (
++// ".set\tmips3\n"
++ ".set\tnoreorder\n"
++ "ldc1 $f0,%0\n"
++ "pmaddhw $f8,$f8,$f6\n"
++ "ldc1 $f16,%1\n"
++ "dli $13,%8\n"
++ "ldc1 $f20,%2\n"
++ "pmaddhw $f0,$f0,$f14\n"
++ "ldc1 $f22,%3\n"
++ "pmaddhw $f4,$f4,$f16\n"
++ "paddw $f2,$f2,$f22\n"
++ "ldc1 $f22,%4\n"
++ "dmtc1 $13,$f16\n"
++ "paddw $f2,$f2,$f8\n"
++ "pmaddhw $f14,$f14,$f22\n"
++ "mov.d $f8,$f2\n"
++ "pshufh $f10,$f10,$f16\n"
++ "ldc1 $f22,%3\n"
++ "pmaddhw $f20,$f20,$f10\n"
++ "ldc1 $f16,%5\n"
++ "paddw $f4,$f4,$f22\n"
++ "paddw $f0,$f0,$f20\n"
++ "dli $12,%6\n"
++ "pmaddhw $f6,$f6,$f16\n"
++ "psubw $f2,$f2,$f0\n"
++ "ldc1 $f16,%7\n"
++ "paddw $f0,$f0,$f8\n"
++ "paddw $f4,$f4,$f6\n"
++ "pmaddhw $f10,$f10,$f16\n"
++ "mov.d $f8,$f4\n"
++ "dmtc1 $12,$f16\n"
++ "paddw $f14,$f14,$f10\n"
++ "psraw $f2,$f2,$f16\n"
++ "psraw $f0,$f0,$f16\n"
++ "paddw $f4,$f4,$f14\n"
++ "psubw $f8,$f8,$f14\n"
++ ".set\treorder\n"
++// ".set\tmips0\n"
++ :
++ :"m"(*(table+8)),"m"(*(table+16)),"m"(*(table+12)),"m"(*rounder),"m"(*(table+24)),"m"(*(table+20)),"i"(ROW_SHIFT),"m"(*(table+16)),"i"(0x4e)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$f14","$f16","$f20","$f22","$12","$13","memory"
++ );
++}
++
++static inline void loongson2_row_tail(int16_t * const row, const int store)
++{
++ __asm__ volatile (
++// ".set\tmips3\n"
++ ".set\tnoreorder\n"
++ "dli $12,%2\n"
++ "dmtc1 $12,$f16\n"
++ "psraw $f4,$f4,$f16\n"
++ "psraw $f8,$f8,$f16\n"
++ "packsswh $f0,$f0,$f4\n"
++ "packsswh $f8,$f8,$f2\n"
++ "sdc1 $f0,%0\n"
++ "dli $13,%3\n"
++ "dmtc1 $13,$f22\n"
++ "pshufh $f8,$f8,$f22\n"
++ "sdc1 $f8,%1\n"
++ ".set\treorder\n"
++// ".set\tmips0\n"
++ :"=m"(*(row+store)),"=m"(*(row+store+4))
++ :"i"(ROW_SHIFT),"i"(0xb1)
++ :"$f0","$f2","$f4","$f6","$f8","$f16","$f22","$12","$13","memory"
++ );
++}
++
++static inline void loongson2_row_mid(int16_t * const row, const int store,
++ const int offset,
++ const int16_t * const table)
++{
++ __asm__ volatile (
++// ".set\tmips3\n"
++ ".set\tnoreorder\n"
++ "ldc1 $f6,%2\n"
++ "dli $12,%3\n"
++ "dmtc1 $12,$f16\n"
++ "psraw $f4,$f4,$f16\n"
++ "ldc1 $f14,%4\n"
++ "psraw $f8,$f8,$f16\n"
++ "packsswh $f0,$f0,$f4\n"
++ "mov.d $f10,$f14\n"
++ "packsswh $f8,$f8,$f2\n"
++ "mov.d $f4,$f6\n"
++ "sdc1 $f0,%0\n"
++ "dli $13,%5\n"
++ "dmtc1 $13,$f22\n"
++ "pshufh $f8,$f8,$f22\n"
++ "ldc1 $f2,%6\n"
++ "sdc1 $f8,%1\n"
++ "pmaddhw $f2,$f2,$f4\n"
++ "ldc1 $f8,%7\n"
++ "dli $12,%8\n"
++ "dmtc1 $12,$f16\n"
++ "pshufh $f6,$f6,$f16\n"
++ ".set\treorder\n"
++// ".set\tmips0\n"
++ :"=m"(*(row+store)),"=m"(*(row+store+4))
++ : "m"(*(row+offset)),"i"(ROW_SHIFT),"m"(*(row+offset+4)),"i"(0xb1),"m"(*table),"m"(*(table+4)),"i"(0x4e)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$14","$f16","$f22","$12","$13","memory"
++ );
++}
++
++static inline void idct_col(int16_t * const col, const int offset)
++{
++#define T1 13036
++#define T2 27146
++#define T3 43790
++#define C4 23170
++ static const short _T1[] ATTR_ALIGN(8) = {T1,T1,T1,T1};
++ static const short _T2[] ATTR_ALIGN(8) = {T2,T2,T2,T2};
++ static const short _T3[] ATTR_ALIGN(8) = {T3,T3,T3,T3};
++ static const short _C4[] ATTR_ALIGN(8) = {C4,C4,C4,C4};
++
++ __asm__ volatile (
++// ".set\tmips3\n"
++ ".set\tnoreorder\n"
++ "ldc1 $f4,%8\n"
++ "ldc1 $f0,%9\n"
++ "mov.d $f6,$f4\n"
++ "ldc1 $f8,%10\n"
++ "pmulhh $f4,$f4,$f0\n"
++ "ldc1 $f14,%11\n"
++ "pmulhh $f6,$f6,$f8\n"
++ "ldc1 $f10,%12\n"
++ "mov.d $f20,$f14\n"
++ "ldc1 $f2,%13\n"
++ "psubsh $f4,$f4,$f8\n"
++ "ldc1 $f8,%14\n"
++ "pmulhh $f14,$f14,$f2\n"
++ "paddsh $f0,$f0,$f6\n"
++ "pmulhh $f20,$f20,$f10\n"
++ "mov.d $f6,$f8\n"
++ "paddsh $f14,$f14,$f2\n"
++ "ldc1 $f16,%15\n"
++ "pmulhh $f8,$f8,$f16\n"
++ "paddsh $f20,$f20,$f10\n"
++ "psubsh $f14,$f14,$f10\n"
++ "paddsh $f20,$f20,$f2\n"
++ "ldc1 $f2,%16\n"
++ "mov.d $f10,$f4\n"
++ "pmulhh $f6,$f6,$f2\n"
++ "psubsh $f4,$f4,$f14\n"
++ "psubsh $f8,$f8,$f2\n"
++ "paddsh $f14,$f14,$f10\n"
++ "sdc1 $f4,%0\n"
++ "mov.d $f10,$f0\n"
++ "ldc1 $f22,%15\n"
++ "paddsh $f6,$f6,$f22\n"
++ "paddsh $f10,$f10,$f20\n"
++ "psubsh $f0,$f0,$f20\n"
++ "mov.d $f20,$f0\n"
++ "ldc1 $f2,%17\n"
++ "paddsh $f0,$f0,$f14\n"
++ "ldc1 $f4,%18\n"
++ "psubsh $f20,$f20,$f14\n"
++ "sdc1 $f10,%1\n"
++ "pmulhh $f0,$f0,$f4\n"
++ "mov.d $f10,$f8\n"
++ "pmulhh $f20,$f20,$f4\n"
++ "ldc1 $f14,%19\n"
++ "mov.d $f4,$f2\n"
++ "psubsh $f2,$f2,$f14\n"
++ "paddsh $f4,$f4,$f14\n"
++ "paddsh $f8,$f8,$f2\n"
++ "mov.d $f14,$f4\n"
++ "psubsh $f2,$f2,$f10\n"
++ "paddsh $f14,$f14,$f6\n"
++ "paddsh $f0,$f0,$f0\n"
++ "psubsh $f4,$f4,$f6\n"
++ "paddsh $f20,$f20,$f20\n"
++ "mov.d $f6,$f2\n"
++ "mov.d $f10,$f8\n"
++ "paddsh $f2,$f2,$f20\n"
++ "dli $12,%20\n"
++ "dmtc1 $12,$f16\n"
++ "psrah $f2,$f2,$f16\n"
++ "paddsh $f8,$f8,$f0\n"
++ "psrah $f8,$f8,$f16\n"
++ "psubsh $f10,$f10,$f0\n"
++ "ldc1 $f0,%12\n"
++ "psubsh $f6,$f6,$f20\n"
++ "psrah $f10,$f10,$f16\n"
++ "mov.d $f20,$f14\n"
++ "sdc1 $f8,%2\n"
++ "psrah $f6,$f6,$f16\n"
++ "sdc1 $f2,%3\n"
++ "paddsh $f14,$f14,$f0\n"
++ "ldc1 $f8,%13\n"
++ "psubsh $f20,$f20,$f0\n"
++ "psrah $f14,$f14,$f16\n"
++ "mov.d $f2,$f4\n"
++ "sdc1 $f6,%1\n"
++ "psubsh $f2,$f2,$f8\n"
++ "psrah $f20,$f20,$f16\n"
++ "paddsh $f8,$f8,$f4\n"
++ "sdc1 $f14,%4\n"
++ "psrah $f2,$f2,$f16\n"
++ "sdc1 $f10,%5\n"
++ "psrah $f8,$f8,$f16\n"
++ "sdc1 $f20,%6\n"
++ "sdc1 $f2,%7\n"
++ "sdc1 $f8,%0\n"
++ ".set\treorder\n"
++// ".set\tmips0\n"
++ :"=m"(*(col+offset+3*8)),"=m"(*(col+offset+5*8)),"=m"(*(col+offset+1*8)),"=m"(*(col+offset+2*8)),"=m"(*(col+offset+0*8)),"=m"(*(col+offset+6*8)),"=m"(*(col+offset+7*8)),"=m"(*(col+offset+4*8))
++ :"m"(*_T1),"m"(*(col+offset+1*8)),"m"(*(col+offset+7*8)),"m"(*_T3),"m"(*(col+offset+5*8)),"m"(*(col+offset+3*8)),"m"(*_T2),"m"(*(col+offset+2*8)),"m"(*(col+offset+6*8)),"m"(*(col+offset+0*8)),"m"(*_C4),"m"(*(col+offset+4*8)),"i"(COL_SHIFT)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$14","$f16","$20","$f22","$12","memory"
++ );
++}
++
++static const int32_t rounder0[] ATTR_ALIGN(8) =
++ rounder ((1 << (COL_SHIFT - 1)) - 0.5);
++static const int32_t rounder4[] ATTR_ALIGN(8) = rounder (0);
++static const int32_t rounder1[] ATTR_ALIGN(8) =
++ rounder (1.25683487303); /* C1*(C1/C4+C1+C7)/2 */
++static const int32_t rounder7[] ATTR_ALIGN(8) =
++ rounder (-0.25); /* C1*(C7/C4+C7-C1)/2 */
++static const int32_t rounder2[] ATTR_ALIGN(8) =
++ rounder (0.60355339059); /* C2 * (C6+C2)/2 */
++static const int32_t rounder6[] ATTR_ALIGN(8) =
++ rounder (-0.25); /* C2 * (C6-C2)/2 */
++static const int32_t rounder3[] ATTR_ALIGN(8) =
++ rounder (0.087788325588); /* C3*(-C3/C4+C3+C5)/2 */
++static const int32_t rounder5[] ATTR_ALIGN(8) =
++ rounder (-0.441341716183); /* C3*(-C5/C4+C5-C3)/2 */
++
++
++#undef COL_SHIFT
++#undef ROW_SHIFT
++
++
++#define declare_idct(idct,table,idct_row_head,idct_row,idct_row_tail,idct_row_mid) \
++inline void idct (int16_t * const block) \
++{ \
++ static const int16_t table04[] ATTR_ALIGN(16) = \
++ table (22725, 21407, 19266, 16384, 12873, 8867, 4520); \
++ static const int16_t table17[] ATTR_ALIGN(16) = \
++ table (31521, 29692, 26722, 22725, 17855, 12299, 6270); \
++ static const int16_t table26[] ATTR_ALIGN(16) = \
++ table (29692, 27969, 25172, 21407, 16819, 11585, 5906); \
++ static const int16_t table35[] ATTR_ALIGN(16) = \
++ table (26722, 25172, 22654, 19266, 15137, 10426, 5315); \
++ \
++ idct_row_head (block, 0*8, table04); \
++ idct_row (table04, rounder0); \
++ idct_row_mid (block, 0*8, 4*8, table04); \
++ idct_row (table04, rounder4); \
++ idct_row_mid (block, 4*8, 1*8, table17); \
++ idct_row (table17, rounder1); \
++ idct_row_mid (block, 1*8, 7*8, table17); \
++ idct_row (table17, rounder7); \
++ idct_row_mid (block, 7*8, 2*8, table26); \
++ idct_row (table26, rounder2); \
++ idct_row_mid (block, 2*8, 6*8, table26); \
++ idct_row (table26, rounder6); \
++ idct_row_mid (block, 6*8, 3*8, table35); \
++ idct_row (table35, rounder3); \
++ idct_row_mid (block, 3*8, 5*8, table35); \
++ idct_row (table35, rounder5); \
++ idct_row_tail (block, 5*8); \
++ \
++ idct_col (block, 0); \
++ idct_col (block, 4); \
++}
++
++void ff_loongson2_idct(DCTELEM *block);
++
++declare_idct (ff_loongson2_idct, loongson2_table,
++ loongson2_row_head, loongson2_row, loongson2_row_tail, loongson2_row_mid)
+diff -Nru ffmpeg.orig/libavcodec/loongson2/idct_loongson2_xvid.c ffmpeg/libavcodec/loongson2/idct_loongson2_xvid.c
+--- ffmpeg.orig/libavcodec/loongson2/idct_loongson2_xvid.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/idct_loongson2_xvid.c 2011-12-09 22:38:11.227175456 +0100
+@@ -0,0 +1,301 @@
++/*
++ * XVID MPEG-4 VIDEO CODEC
++ *
++ * Copyright(C) 2006-2010 comcat <jiankemeng@gmail.com>
++ *
++ * Optimized for Loongson2 CPUs by comcat <jiankemeng@gmail.com>
++ *
++ * Based on i386
++ *
++ */
++
++
++#include <inttypes.h>
++#include "../avcodec.h"
++
++void ff_idct_xvid_loongson2(short *block);
++
++//=============================================================================
++// Macros and other preprocessor constants
++//=============================================================================
++
++#define BITS_INV_ACC 5 // 4 or 5 for IEEE
++#define SHIFT_INV_ROW (16 - BITS_INV_ACC) //11
++#define SHIFT_INV_COL (1 + BITS_INV_ACC) //6
++#define RND_INV_ROW (1024 * (6 - BITS_INV_ACC))
++#define RND_INV_COL (16 * (BITS_INV_ACC - 3))
++#define RND_INV_CORR (RND_INV_COL - 1)
++
++#define BITS_FRW_ACC 3 // 2 or 3 for accuracy
++#define SHIFT_FRW_COL BITS_FRW_ACC
++#define SHIFT_FRW_ROW (BITS_FRW_ACC + 17)
++#define RND_FRW_ROW (262144*(BITS_FRW_ACC - 1))
++
++
++//-----------------------------------------------------------------------------
++// Various memory constants (trigonometric values or rounding values)
++//-----------------------------------------------------------------------------
++
++DECLARE_ALIGNED(8, static const int16_t, tg_1_16)[4*4] = {
++ 13036,13036,13036,13036, // tg * (2<<16) + 0.5
++ 27146,27146,27146,27146, // tg * (2<<16) + 0.5
++ -21746,-21746,-21746,-21746, // tg * (2<<16) + 0.5
++ 23170,23170,23170,23170}; // cos * (2<<15) + 0.5
++
++DECLARE_ALIGNED(8, static const int32_t, rounder_0)[2*8] = {
++ 65536,65536,
++ 3597,3597,
++ 2260,2260,
++ 1203,1203,
++ 0,0,
++ 120,120,
++ 512,512,
++ 512,512};
++
++
++// Table for rows 0,4 - constants are multiplied by cos_4_16
++DECLARE_ALIGNED(8, static const int16_t, tab_i_04_mmx)[32*4] = {
++ 16384,16384,16384,-16384, // movq-> w06 w04 w02 w00
++ 21407,8867,8867,-21407, // w07 w05 w03 w01
++ 16384,-16384,16384,16384, // w14 w12 w10 w08
++ -8867,21407,-21407,-8867, // w15 w13 w11 w09
++ 22725,12873,19266,-22725, // w22 w20 w18 w16
++ 19266,4520,-4520,-12873, // w23 w21 w19 w17
++ 12873,4520,4520,19266, // w30 w28 w26 w24
++ -22725,19266,-12873,-22725, // w31 w29 w27 w25
++// Table for rows 1,7 - constants are multiplied by cos_1_16
++ 22725,22725,22725,-22725, // movq-> w06 w04 w02 w00
++ 29692,12299,12299,-29692, // w07 w05 w03 w01
++ 22725,-22725,22725,22725, // w14 w12 w10 w08
++ -12299,29692,-29692,-12299, // w15 w13 w11 w09
++ 31521,17855,26722,-31521, // w22 w20 w18 w16
++ 26722,6270,-6270,-17855, // w23 w21 w19 w17
++ 17855,6270,6270,26722, // w30 w28 w26 w24
++ -31521,26722,-17855,-31521, // w31 w29 w27 w25
++// Table for rows 2,6 - constants are multiplied by cos_2_16
++ 21407,21407,21407,-21407, // movq-> w06 w04 w02 w00
++ 27969,11585,11585,-27969, // w07 w05 w03 w01
++ 21407,-21407,21407,21407, // w14 w12 w10 w08
++ -11585,27969,-27969,-11585, // w15 w13 w11 w09
++ 29692,16819,25172,-29692, // w22 w20 w18 w16
++ 25172,5906,-5906,-16819, // w23 w21 w19 w17
++ 16819,5906,5906,25172, // w30 w28 w26 w24
++ -29692,25172,-16819,-29692, // w31 w29 w27 w25
++// Table for rows 3,5 - constants are multiplied by cos_3_16
++ 19266,19266,19266,-19266, // movq-> w06 w04 w02 w00
++ 25172,10426,10426,-25172, // w07 w05 w03 w01
++ 19266,-19266,19266,19266, // w14 w12 w10 w08
++ -10426,25172,-25172,-10426, // w15 w13 w11 w09
++ 26722,15137,22654,-26722, // w22 w20 w18 w16
++ 22654,5315,-5315,-15137, // w23 w21 w19 w17
++ 15137,5315,5315,22654, // w30 w28 w26 w24
++ -26722,22654,-15137,-26722, // w31 w29 w27 w25
++};
++
++
++// %3 for rows 0,4 - constants are multiplied by cos_4_16
++DECLARE_ALIGNED(8, static const int16_t, tab_i_04_xmm)[32*4] = {
++ 16384,21407,16384,8867, // movq-> w05 w04 w01 w00
++ 16384,8867,-16384,-21407, // w07 w06 w03 w02
++ 16384,-8867,16384,-21407, // w13 w12 w09 w08
++ -16384,21407,16384,-8867, // w15 w14 w11 w10
++ 22725,19266,19266,-4520, // w21 w20 w17 w16
++ 12873,4520,-22725,-12873, // w23 w22 w19 w18
++ 12873,-22725,4520,-12873, // w29 w28 w25 w24
++ 4520,19266,19266,-22725, // w31 w30 w27 w26
++// %3 for rows 1,7 - constants are multiplied by cos_1_16
++ 22725,29692,22725,12299, // movq-> w05 w04 w01 w00
++ 22725,12299,-22725,-29692, // w07 w06 w03 w02
++ 22725,-12299,22725,-29692, // w13 w12 w09 w08
++ -22725,29692,22725,-12299, // w15 w14 w11 w10
++ 31521,26722,26722,-6270, // w21 w20 w17 w16
++ 17855,6270,-31521,-17855, // w23 w22 w19 w18
++ 17855,-31521,6270,-17855, // w29 w28 w25 w24
++ 6270,26722,26722,-31521, // w31 w30 w27 w26
++// %3 for rows 2,6 - constants are multiplied by cos_2_16
++ 21407,27969,21407,11585, // movq-> w05 w04 w01 w00
++ 21407,11585,-21407,-27969, // w07 w06 w03 w02
++ 21407,-11585,21407,-27969, // w13 w12 w09 w08
++ -21407,27969,21407,-11585, // w15 w14 w11 w10
++ 29692,25172,25172,-5906, // w21 w20 w17 w16
++ 16819,5906,-29692,-16819, // w23 w22 w19 w18
++ 16819,-29692,5906,-16819, // w29 w28 w25 w24
++ 5906,25172,25172,-29692, // w31 w30 w27 w26
++// %3 for rows 3,5 - constants are multiplied by cos_3_16
++ 19266,25172,19266,10426, // movq-> w05 w04 w01 w00
++ 19266,10426,-19266,-25172, // w07 w06 w03 w02
++ 19266,-10426,19266,-25172, // w13 w12 w09 w08
++ -19266,25172,19266,-10426, // w15 w14 w11 w10
++ 26722,22654,22654,-5315, // w21 w20 w17 w16
++ 15137,5315,-26722,-15137, // w23 w22 w19 w18
++ 15137,-26722,5315,-15137, // w29 w28 w25 w24
++ 5315,22654,22654,-26722, // w31 w30 w27 w26
++};
++
++
++
++#define DCT_8_INV_ROW_LOONGSON2(A1,A2,A3,A4)\
++ "ldc1 $f0, " #A1 " \n\t"/* 0 ; x3 x2 x1 x0*/\
++ "ldc1 $f2, 8+" #A1 " \n\t"/* 1 ; x7 x6 x5 x4*/\
++ "mov.d $f4, $f0 \n\t"/* 2 ; x3 x2 x1 x0*/\
++ "ldc1 $f6, " #A3 " \n\t"/* 3 ; w05 w04 w01 w00*/\
++ "li $12, 0x88 \n\t"\
++ "dmtc1 $12, $f16 \n\t"\
++ "pshufh $f0, $f0, $f16 \n\t"/* x2 x0 x2 x0*/\
++ "ldc1 $f8, 8+" #A3 " \n\t"/* 4 ; w07 w06 w03 w02*/\
++ "mov.d $f10, $f2 \n\t"/* 5 ; x7 x6 x5 x4*/\
++ "pmaddhw $f6, $f6, $f0 \n\t"/* x2*w05+x0*w04 x2*w01+x0*w00*/\
++ "ldc1 $f12, 32+" #A3 " \n\t"/* 6 ; w21 w20 w17 w16*/\
++ "pshufh $f2, $f2, $f16 \n\t"/* x6 x4 x6 x4*/\
++ "pmaddhw $f8, $f8, $f2 \n\t"/* x6*w07+x4*w06 x6*w03+x4*w02*/\
++ "li $12, 0xdd \n\t"\
++ "dmtc1 $12, $f16 \n\t"\
++ "ldc1 $f14, 40+" #A3 " \n\t"/* 7 ; w23 w22 w19 w18*/\
++ "pshufh $f4, $f4, $f16 \n\t"/* x3 x1 x3 x1*/\
++ "pmaddhw $f12, $f12, $f4 \n\t"/* x3*w21+x1*w20 x3*w17+x1*w16*/\
++ "ldc1 $f18, " #A4 " \n\t" \
++ "ldc1 $f20, 16+" #A3 " \n\t" \
++ "ldc1 $f22, 24+" #A3 " \n\t" \
++ "ldc1 $f24, 48+" #A3 " \n\t" \
++ "ldc1 $f26, 56+" #A3 " \n\t" \
++ "pshufh $f10, $f10, $f16 \n\t"/* x7 x5 x7 x5*/\
++ "pmaddhw $f14, $f14, $f10 \n\t"/* x7*w23+x5*w22 x7*w19+x5*w18*/\
++ "paddw $f6, $f6, $f18 \n\t"/* +%4*/\
++ "pmaddhw $f0, $f0, $f20 \n\t"/* x2*w13+x0*w12 x2*w09+x0*w08*/\
++ "paddw $f6, $f6, $f8 \n\t"/* 4 ; a1=sum(even1) a0=sum(even0)*/\
++ "pmaddhw $f2, $f2, $f22 \n\t"/* x6*w15+x4*w14 x6*w11+x4*w10*/\
++ "mov.d $f8, $f6 \n\t"/* 4 ; a1 a0*/\
++ "li $12, 11 \n\t"\
++ "dmtc1 $12, $f16 \n\t"\
++ "pmaddhw $f4, $f4, $f24 \n\t"/* x3*w29+x1*w28 x3*w25+x1*w24*/\
++ "paddw $f12, $f12, $f14 \n\t"/* 7 ; b1=sum(odd1) b0=sum(odd0)*/\
++ "pmaddhw $f10, $f10, $f26 \n\t"/* x7*w31+x5*w30 x7*w27+x5*w26*/\
++ "paddw $f6, $f6, $f12 \n\t"/* a1+b1 a0+b0*/\
++ "paddw $f0, $f0, $f18 \n\t"/* +%4*/\
++ "psraw $f6, $f6, $f16 \n\t"/* y1=a1+b1 y0=a0+b0*/\
++ "paddw $f0, $f0, $f2 \n\t"/* 1 ; a3=sum(even3) a2=sum(even2)*/\
++ "psubw $f8, $f8, $f12 \n\t"/* 6 ; a1-b1 a0-b0*/\
++ "mov.d $f14, $f0 \n\t"/* 7 ; a3 a2*/\
++ "paddw $f4, $f4, $f10 \n\t"/* 5 ; b3=sum(odd3) b2=sum(odd2)*/\
++ "paddw $f0, $f0, $f4 \n\t"/* a3+b3 a2+b2*/\
++ "psraw $f8, $f8, $f16 \n\t"/* y6=a1-b1 y7=a0-b0*/\
++ "psubw $f14, $f14, $f4 \n\t"/* 2 ; a3-b3 a2-b2*/\
++ "psraw $f0, $f0, $f16 \n\t"/* y3=a3+b3 y2=a2+b2*/\
++ "psraw $f14, $f14, $f16 \n\t"/* y4=a3-b3 y5=a2-b2*/\
++ "li $12, 0xb1 \n\t"\
++ "dmtc1 $12, $f20 \n\t"\
++ "packsswh $f6, $f6, $f0 \n\t"/* 0 ; y3 y2 y1 y0*/\
++ "packsswh $f14, $f14, $f8 \n\t"/* 4 ; y6 y7 y4 y5*/\
++ "sdc1 $f6, " #A2 " \n\t"/* 3 ; save y3 y2 y1 y0*/\
++ "pshufh $f14, $f14, $f20 \n\t"/* y7 y6 y5 y4*/\
++ "sdc1 $f14, 8 +" #A2 " \n\t"/* 7 ; save y7 y6 y5 y4*/
++
++
++#define DCT_8_INV_COL(A1,A2)\
++ "ldc1 $f0, 2*8(%3) \n\t"/* */\
++ "ldc1 $f6, 16*3+" #A1 " \n\t"/* x3 */\
++ "mov.d $f2, $f0 \n\t"/* tg_3_16*/\
++ "ldc1 $f10, 16*5+" #A1 " \n\t"/* x5 */\
++ "pmulhh $f0, $f0, $f6 \n\t"/* x3*(tg_3_16-1)*/\
++ "ldc1 $f8, (%3) \n\t"\
++ "pmulhh $f2, $f2, $f10 \n\t"/* x5*(tg_3_16-1)*/\
++ "ldc1 $f14, 16*7+" #A1 " \n\t"/* x7 */\
++ "mov.d $f4, $f8 \n\t"/* tg_1_16*/\
++ "ldc1 $f12, 16*1+" #A1 " \n\t"/* x1 */\
++ "pmulhh $f8, $f8, $f14 \n\t"/* x7*tg_1_16*/\
++ "paddsh $f0, $f0, $f6 \n\t"/* x3*tg_3_16*/\
++ "pmulhh $f4, $f4, $f12 \n\t"/* x1*tg_1_16*/\
++ "paddsh $f2, $f2, $f6 \n\t"/* x3+x5*(tg_3_16-1)*/\
++ "psubsh $f0, $f0, $f10 \n\t"/* x3*tg_3_16-x5 = tm35*/\
++ "ldc1 $f6, 3*8(%3) \n\t"\
++ "paddsh $f2, $f2, $f10 \n\t"/* x3+x5*tg_3_16 = tp35*/\
++ "paddsh $f8, $f8, $f12 \n\t"/* x1+tg_1_16*x7 = tp17*/\
++ "psubsh $f4, $f4, $f14 \n\t"/* x1*tg_1_16-x7 = tm17*/\
++ "mov.d $f10, $f8 \n\t"/* tp17*/\
++ "mov.d $f12, $f4 \n\t"/* tm17*/\
++ "paddsh $f10, $f10, $f2 \n\t"/* tp17+tp35 = b0*/\
++ "psubsh $f12, $f12, $f0 \n\t"/* tm17-tm35 = b3*/\
++ "psubsh $f8, $f8, $f2 \n\t"/* tp17-tp35 = t1*/\
++ "paddsh $f4, $f4, $f0 \n\t"/* tm17+tm35 = t2*/\
++ "ldc1 $f14, 1*8(%3) \n\t"\
++ "mov.d $f2, $f8 \n\t"/* t1*/\
++ "sdc1 $f10, 3*16+" #A2 " \n\t"/* save b0*/\
++ "paddsh $f2, $f2, $f4 \n\t"/* t1+t2*/\
++ "sdc1 $f12, 5*16+" #A2 " \n\t"/* save b3*/\
++ "psubsh $f8, $f8, $f4 \n\t"/* t1-t2*/\
++ "ldc1 $f10, 2*16+" #A1 " \n\t"\
++ "mov.d $f0, $f14 \n\t"/* tg_2_16*/\
++ "ldc1 $f12, 6*16+" #A1 " \n\t"\
++ "pmulhh $f0, $f0, $f10 \n\t"/* x2*tg_2_16*/\
++ "pmulhh $f14, $f14, $f12 \n\t"/* x6*tg_2_16*/\
++ "pmulhh $f2, $f2, $f6 \n\t"/* ocos_4_16*(t1+t2) = b1/2*/\
++ "ldc1 $f4, 0*16+" #A1 " \n\t"\
++ "pmulhh $f8, $f8, $f6 \n\t"/* ocos_4_16*(t1-t2) = b2/2*/\
++ "psubsh $f0, $f0, $f12 \n\t"/* t2*tg_2_16-x6 = tm26*/\
++ "mov.d $f6, $f4 \n\t"/* x0*/\
++ "ldc1 $f12, 4*16+" #A1 " \n\t"\
++ "paddsh $f14, $f14, $f10 \n\t"/* x2+x6*tg_2_16 = tp26*/\
++ "paddsh $f4, $f4, $f12 \n\t"/* x0+x4 = tp04*/\
++ "psubsh $f6, $f6, $f12 \n\t"/* x0-x4 = tm04*/\
++ "mov.d $f10, $f4 \n\t"/* tp04*/\
++ "mov.d $f12, $f6 \n\t"/* tm04*/\
++ "psubsh $f4, $f4, $f14 \n\t"/* tp04-tp26 = a3*/\
++ "paddsh $f6, $f6, $f0 \n\t"/* tm04+tm26 = a1*/\
++ "paddsh $f2, $f2, $f2 \n\t"/* b1*/\
++ "paddsh $f8, $f8, $f8 \n\t"/* b2*/\
++ "paddsh $f10, $f10, $f14 \n\t"/* tp04+tp26 = a0*/\
++ "psubsh $f12, $f12, $f0 \n\t"/* tm04-tm26 = a2*/\
++ "li $12, 6 \n\t"\
++ "dmtc1 $12, $f18 \n\t"\
++ "mov.d $f14, $f6 \n\t"/* a1*/\
++ "mov.d $f0, $f12 \n\t"/* a2*/\
++ "paddsh $f6, $f6, $f2 \n\t"/* a1+b1*/\
++ "paddsh $f12, $f12, $f8 \n\t"/* a2+b2*/\
++ "psrah $f6, $f6, $f18 \n\t"/* dst1*/\
++ "psubsh $f14, $f14, $f2 \n\t"/* a1-b1*/\
++ "psrah $f12, $f12, $f18 \n\t"/* dst2*/\
++ "psubsh $f0, $f0, $f8 \n\t"/* a2-b2*/\
++ "ldc1 $f2, 3*16+" #A2 " \n\t"/* load b0*/\
++ "psrah $f14, $f14, $f18 \n\t"/* dst6*/\
++ "mov.d $f8, $f10 \n\t"/* a0*/\
++ "psrah $f0, $f0, $f18 \n\t"/* dst5*/\
++ "sdc1 $f6, 1*16+" #A2 " \n\t"\
++ "paddsh $f10, $f10, $f2 \n\t"/* a0+b0*/\
++ "sdc1 $f12, 2*16+" #A2 " \n\t"\
++ "psubsh $f8, $f8, $f2 \n\t"/* a0-b0*/\
++ "ldc1 $f6, 5*16+" #A2 " \n\t"/* load b3*/\
++ "psrah $f10, $f10, $f18 \n\t"/* dst0*/\
++ "mov.d $f12, $f4 \n\t"/* a3*/\
++ "psrah $f8, $f8, $f18 \n\t"/* dst7*/\
++ "sdc1 $f0, 5*16+" #A2 " \n\t"\
++ "paddsh $f4, $f4, $f6 \n\t"/* a3+b3*/\
++ "sdc1 $f14, 6*16+" #A2 " \n\t"\
++ "psubsh $f12, $f12, $f6 \n\t"/* a3-b3*/\
++ "sdc1 $f10, 0*16+" #A2 " \n\t"\
++ "psrah $f4, $f4, $f18 \n\t"/* dst3*/\
++ "sdc1 $f8, 7*16+" #A2 " \n\t"\
++ "psrah $f12, $f12, $f18 \n\t"/* dst4*/\
++ "sdc1 $f4, 3*16+" #A2 " \n\t"\
++ "sdc1 $f12, 4*16+" #A2 " \n\t"
++
++
++
++void ff_idct_xvid_loongson2(short *block){
++ __asm__ volatile(
++ //# Process each row
++ DCT_8_INV_ROW_LOONGSON2(0*16(%0), 0*16(%0), 64*0(%2), 8*0(%1))
++ DCT_8_INV_ROW_LOONGSON2(1*16(%0), 1*16(%0), 64*1(%2), 8*1(%1))
++ DCT_8_INV_ROW_LOONGSON2(2*16(%0), 2*16(%0), 64*2(%2), 8*2(%1))
++ DCT_8_INV_ROW_LOONGSON2(3*16(%0), 3*16(%0), 64*3(%2), 8*3(%1))
++ DCT_8_INV_ROW_LOONGSON2(4*16(%0), 4*16(%0), 64*0(%2), 8*4(%1))
++ DCT_8_INV_ROW_LOONGSON2(5*16(%0), 5*16(%0), 64*3(%2), 8*5(%1))
++ DCT_8_INV_ROW_LOONGSON2(6*16(%0), 6*16(%0), 64*2(%2), 8*6(%1))
++ DCT_8_INV_ROW_LOONGSON2(7*16(%0), 7*16(%0), 64*1(%2), 8*7(%1))
++
++ //# Process the columns (4 at a time)
++ DCT_8_INV_COL(0(%0), 0(%0))
++ DCT_8_INV_COL(8(%0), 8(%0))
++ :
++ : "r"(block), "r"(rounder_0), "r"(tab_i_04_xmm), "r"(tg_1_16)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$f12","$f14","$f18","$f16","$20","$22","$24","$26");
++}
+diff -Nru ffmpeg.orig/libavcodec/loongson2/motion_est_loongson2.c ffmpeg/libavcodec/loongson2/motion_est_loongson2.c
+--- ffmpeg.orig/libavcodec/loongson2/motion_est_loongson2.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/motion_est_loongson2.c 2011-12-09 23:25:15.247445391 +0100
+@@ -0,0 +1,365 @@
++/*
++ * Loongson2E MMI optimized motion estimation
++ * Copyright (c) 2007 comcat <jiankemeng@gmail.com>.
++ *
++ * based on Michael Niedermayer <michaelni@gmx.at>
++ *
++ */
++
++#include "dsputil_loongson2.h"
++#include "../avcodec.h"
++
++DECLARE_ASM_CONST(8, uint64_t, round_tab)[3]={
++ 0x0000000000000000ULL,
++ 0x0001000100010001ULL,
++ 0x0002000200020002ULL,
++};
++
++DECLARE_ASM_CONST(8, uint64_t, bone)= 0x0101010101010101LL;
++
++static inline void sad8_1_loongson2(uint8_t *blk1, uint8_t *blk2, int stride, int h)
++{
++ long len= -(stride*h);
++ __asm__ volatile(
++
++// ".set mips3 \n\t"
++ ".align 4 \n\t"
++
++ "move $8, %0 \n\t"
++ "move $21, %1 \n\t"
++ "move $22, %2 \n\t"
++ "move $23, %3 \n\t"
++
++ "1: \n\t"
++
++ "add $9, $8, $21 \n\t"
++ "add $10, $8, $22 \n\t"
++
++ "uld $11, ($9) \n\t"
++ "dmtc1 $11, $f0 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f4 \n\t"
++
++ "pasubub $f10, $f0, $f4 \n\t"
++ "biadd $f0, $f10 \n\t"
++
++ "add $8, $8, $23 \n\t"
++
++ "add $9, $8, $21 \n\t"
++ "add $10, $8, $22 \n\t"
++
++ "uld $11, ($9) \n\t"
++ "dmtc1 $11, $f2 \n\t"
++
++ "uld $12, ($10) \n\t"
++ "dmtc1 $12, $f6 \n\t"
++
++ "pasubub $f16, $f2, $f6 \n\t"
++ "biadd $f6, $f16 \n\t"
++
++ "paddh $f0, $f0, $f6 \n\t"
++
++ "paddh $f12, $f12, $f0 \n\t"
++
++ "bltz $8, 1b \n\t"
++ "add $8, $8, $23 \n\t"
++
++ : "+r" (len)
++ : "r" (blk1 - len), "r" (blk2 - len), "r" ((long)stride)
++ : "$8", "$9", "$10", "$21", "$22", "$23", "$f0", "$f2", "$f4", "$f6", "$f10", "$f16"
++ );
++}
++
++static inline void sad8_2_loongson2(uint8_t *blk1a, uint8_t *blk1b, uint8_t *blk2, int stride, int h)
++{
++ long len= -(stride*h);
++ __asm__ volatile(
++
++// ".set mips3 \n\t"
++ ".align 4 \n\t"
++
++ "move $8, %0 \n\t"
++
++ "1: \n\t"
++ "add $9, $8, %1 \n\t"
++ "add $10, $8, %2 \n\t"
++ "add $11, $8, %3 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f0 \n\t"
++ "uld $13, ($10) \n\t"
++ "dmtc1 $13, $f4 \n\t"
++
++ "pavgb $f0, $f0, $f4 \n\t"
++
++ "uld $12, ($11) \n\t"
++ "dmtc1 $12, $f4 \n\t"
++
++ "pasubub $f10, $f0, $f4 \n\t"
++ "biadd $f0, $f10 \n\t"
++
++ "add $8, $8, %4 \n\t"
++
++ "add $9, $8, %1 \n\t"
++ "add $10, $8, %2 \n\t"
++ "add $11, $8, %3 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f2 \n\t"
++ "uld $13, ($10) \n\t"
++ "dmtc1 $13, $f6 \n\t"
++
++ "pavgb $f6, $f6, $f2 \n\t"
++
++ "uld $12, ($11) \n\t"
++ "dmtc1 $12, $f2 \n\t"
++
++ "pasubub $f16, $f6, $f2 \n\t"
++ "biadd $f6, $f16 \n\t"
++
++ "paddh $f0, $f0, $f6 \n\t"
++ "paddh $f12, $f12, $f0 \n\t"
++
++ "bltz $8, 1b \n\t"
++ "add $8, $8, %4 \n\t"
++ : "+r" (len)
++ : "r" (blk1a - len), "r" (blk1b -len), "r" (blk2 - len), "r" ((long)stride)
++ : "$8", "$9", "$10", "$11", "$12", "$13", "$f0", "$f2", "$f4", "$f6", "$f10", "$f16"
++ );
++}
++
++static inline void sad8_4_loongson2(uint8_t *blk1, uint8_t *blk2, int stride, int h)
++{
++ long len= -(stride*h);
++ __asm__ volatile(
++
++
++// ".set mips3 \n\t"
++ ".align 4 \n\t"
++
++ "ldc1 $f10, "MANGLE(bone)" \n\t"
++
++ "move $8, %0 \n\t"
++
++ "1: \n\t"
++ "add $9, $8, %1 \n\t"
++ "add $10, $8, %2 \n\t"
++ "add $11, $8, %3 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f0 \n\t"
++
++ "uld $13, ($10) \n\t"
++ "dmtc1 $13, $f4 \n\t"
++
++ "uld $12, 1($9) \n\t"
++ "dmtc1 $12, $f2 \n\t"
++
++ "uld $13, 1($10) \n\t"
++ "dmtc1 $13, $f6 \n\t"
++
++ "pavgb $f0, $f0, $f4 \n\t"
++ "pavgb $f6, $f6, $f2 \n\t"
++
++ "psubusb $f6, $f6, $f10 \n\t"
++ "pavgb $f0, $f0, $f6 \n\t"
++
++ "uld $13, 1($11) \n\t"
++ "dmtc1 $13, $f4 \n\t"
++
++ "pasubub $f16, $f0, $f4 \n\t"
++ "biadd $f0, $f16 \n\t"
++
++ "add $8, $8, %4 \n\t"
++
++ "add $9, $8, %1 \n\t"
++ "add $10, $8, %2 \n\t"
++ "add $11, $8, %3 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f2 \n\t"
++ "uld $13, ($10) \n\t"
++ "dmtc1 $12, $f6 \n\t"
++ "uld $12, 1($9) \n\t"
++ "dmtc1 $12, $f4 \n\t"
++ "uld $13, 1($10) \n\t"
++ "dmtc1 $12, $f8 \n\t"
++
++ "pavgb $f2, $f2, $f6 \n\t"
++ "pavgb $f4, $f4, $f8 \n\t"
++
++ "psubusb $f4, $f4, $f10 \n\t"
++ "pavgb $f4, $f4, $f2 \n\t"
++
++ "uld $13, ($11) \n\t"
++ "dmtc1 $13, $f2 \n\t"
++
++ "pasubub $f18, $f4, $f2 \n\t"
++ "biadd $f4, $f18 \n\t"
++
++ "paddh $f0, $f0, $f4 \n\t"
++ "paddh $f12, $f12, $f0 \n\t"
++
++ "bltz $8, 1b \n\t"
++ "add $8, $8, %4 \n\t"
++ : "+r" (len)
++ : "r" (blk1 - len), "r" (blk1 - len + stride), "r" (blk2 - len), "r" ((long)stride)
++ : "$8", "$9", "$10", "$11", "$12", "$13", "$f0", "$f2", "$f4", "$f6", "$f8", "$f10", "$f16", "$f18"
++ );
++}
++
++static inline int sum_loongson2(void)
++{
++ int ret;
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "dmfc1 %0, $f12 \n\t"
++ : "=r" (ret)
++ );
++ return ret;
++}
++
++
++static int sad8_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ assert(h==8);
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ :
++ );
++
++ sad8_1_loongson2(blk1, blk2, stride, 8);
++
++ return sum_loongson2();
++}
++
++static int sad8_x2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ assert(h==8);
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[1])
++ );
++
++ sad8_2_loongson2(blk1, blk1+1, blk2, stride, 8);
++
++ return sum_loongson2();
++}
++
++static int sad8_y2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ assert(h==8);
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[1])
++ );
++
++ sad8_2_loongson2(blk1, blk1+stride, blk2, stride, 8);
++
++ return sum_loongson2();
++}
++
++static int sad8_xy2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ assert(h==8);
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[2])
++ );
++
++ sad8_4_loongson2(blk1, blk2, stride, 8);
++
++ return sum_loongson2();
++}
++
++static int sad16_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t":);
++
++ sad8_1_loongson2(blk1 , blk2 , stride, h);
++ sad8_1_loongson2(blk1+8, blk2+8, stride, h);
++
++ return sum_loongson2();
++}
++
++static int sad16_x2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[1])
++ );
++
++ sad8_2_loongson2(blk1 , blk1+1, blk2 , stride, h);
++ sad8_2_loongson2(blk1+8, blk1+9, blk2+8, stride, h);
++
++ return sum_loongson2();
++}
++
++static int sad16_y2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[1])
++ );
++
++ sad8_2_loongson2(blk1 , blk1+stride, blk2 , stride, h);
++ sad8_2_loongson2(blk1+8, blk1+stride+8,blk2+8, stride, h);
++
++ return sum_loongson2();
++}
++
++static int sad16_xy2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[2])
++ );
++
++ sad8_4_loongson2(blk1 , blk2 , stride, h);
++ sad8_4_loongson2(blk1+8, blk2+8, stride, h);
++
++ return sum_loongson2();
++}
++
++
++void dsputil_init_pix_loongson2(DSPContext* c, AVCodecContext *avctx)
++{
++ c->pix_abs[0][0] = sad16_loongson2;
++ c->pix_abs[0][1] = sad16_x2_loongson2;
++ c->pix_abs[0][2] = sad16_y2_loongson2;
++ c->pix_abs[0][3] = sad16_xy2_loongson2;
++ c->pix_abs[1][0] = sad8_loongson2;
++ c->pix_abs[1][1] = sad8_x2_loongson2;
++ c->pix_abs[1][2] = sad8_y2_loongson2;
++ c->pix_abs[1][3] = sad8_xy2_loongson2;
++
++ c->sad[0]= sad16_loongson2;
++ c->sad[1]= sad8_loongson2;
++}
+diff -Nru ffmpeg.orig/libavcodec/loongson2/mpegvideo_loongson2.c ffmpeg/libavcodec/loongson2/mpegvideo_loongson2.c
+--- ffmpeg.orig/libavcodec/loongson2/mpegvideo_loongson2.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/mpegvideo_loongson2.c 2011-12-09 21:40:50.828821027 +0100
+@@ -0,0 +1,385 @@
++/*
++ * The simplest mpeg encoder (well, it was the simplest!)
++ * Copyright (c) 2007-2010 comcat <jiankemeng@gmail.com>.
++ *
++ * Optimized for Loongson2 CPUs by comcat <jiankemeng@gmail.com>
++ *
++ * Based on i386
++ */
++
++#include "dsputil_loongson2.h"
++#include "../mpegvideo.h"
++#include "../avcodec.h"
++
++extern uint8_t zigzag_direct_noperm[64];
++extern uint16_t inv_zigzag_direct16[64];
++
++static const unsigned long long int mm_wabs __attribute__ ((aligned(8))) = 0xffffffffffffffffULL;
++static const unsigned long long int mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
++
++
++static void dct_unquantize_h263_intra_loongson2(MpegEncContext *s,
++ DCTELEM *block, int n, int qscale)
++{
++ long level, qmul, qadd, nCoeffs;
++
++ qmul = qscale << 1;
++
++ assert(s->block_last_index[n]>=0 || s->h263_aic);
++ if (!s->h263_aic) {
++ if (n < 4)
++ level = block[0] * s->y_dc_scale;
++ else
++ level = block[0] * s->c_dc_scale;
++ qadd = (qscale - 1) | 1;
++ }else{
++ qadd = 0;
++ level= block[0];
++ }
++ if(s->ac_pred)
++ nCoeffs=63;
++ else
++ nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ];
++
++
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "xor $f12, $f12, $f12 \n\t"
++ "lwc1 $f12, %1 \n\t"
++
++ "xor $f10, $f10, $f10 \n\t"
++
++ "packsswh $f12, $f12, $f12 \n\t"
++
++ "lwc1 $f10, %2 \n\t"
++
++ "packsswh $f10, $f10, $f10 \n\t"
++
++ "packsswh $f12, $f12, $f12 \n\t"
++
++ "xor $f14, $f14, $f14 \n\t"
++
++ "packsswh $f10, $f10, $f10 \n\t"
++
++ "xor $f8, $f8, $f8 \n\t"
++
++ "psubh $f14, $f14, $f10 \n\t"
++
++
++ "1: \n\t"
++ "add $12, %0, %3 \n\t"
++
++ "ldc1 $f0, ($12) \n\t"
++
++ "ldc1 $f2, 8($12) \n\t"
++
++ "mov.d $f4, $f0 \n\t"
++ "mov.d $f6, $f2 \n\t"
++
++ "pmullh $f0, $f0, $f12 \n\t"
++ "pmullh $f2, $f2, $f12 \n\t"
++
++ "pcmpgth $f4, $f4, $f8 \n\t"
++ "pcmpgth $f6, $f6, $f8 \n\t"
++
++ "xor $f0, $f0, $f4 \n\t"
++ "xor $f2, $f2, $f6 \n\t"
++
++
++ "paddh $f0, $f0, $f14 \n\t"
++
++ "paddh $f2, $f2, $f14 \n\t"
++
++
++ "xor $f4, $f4, $f0 \n\t"
++
++ "xor $f6, $f6, $f2 \n\t"
++
++
++ "pcmpeqh $f0, $f0, $f14 \n\t"
++
++ "pcmpeqh $f2, $f2, $f14 \n\t"
++
++
++ "pandn $f0, $f0, $f4 \n\t"
++
++ "pandn $f2, $f2, $f6 \n\t"
++
++
++ "sdc1 $f0, ($12) \n\t"
++
++ "sdc1 $f2, 8($12) \n\t"
++
++
++ "addiu %3, %3, 16 \n\t"
++
++ "blez %3, 1b \n\t"
++ "nop \n\t"
++ ::"r" (block+nCoeffs), "m"(qmul), "m" (qadd), "r" (2*(-nCoeffs))
++ : "memory"
++ );
++ block[0]= level;
++}
++
++
++static void dct_unquantize_h263_inter_loongson2(MpegEncContext *s,
++ DCTELEM *block, int n, int qscale)
++{
++ long qmul, qadd, nCoeffs;
++
++ qmul = qscale << 1;
++ qadd = (qscale - 1) | 1;
++
++ assert(s->block_last_index[n]>=0 || s->h263_aic);
++
++ nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ];
++
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "xor $f12, $f12, $f12 \n\t"
++ "lwc1 $f12, %1 \n\t"
++
++ "xor $f10, $f10, $f10 \n\t"
++
++ "packsswh $f12, $f12, $f12 \n\t"
++
++ "lwc1 $f10, %2 \n\t"
++
++ "packsswh $f10, $f10, $f10 \n\t"
++
++ "xor $f14, $f14, $f14 \n\t"
++
++ "packsswh $f12, $f12, $f12 \n\t"
++
++ "packsswh $f10, $f10, $f10 \n\t"
++
++ "xor $f8, $f8, $f8 \n\t"
++
++ "psubh $f14, $f14, $f10 \n\t"
++
++
++ "1: \n\t"
++ "add $12, %0, %3 \n\t"
++
++ "ldc1 $f0, ($12) \n\t"
++
++ "ldc1 $f2, 8($12) \n\t"
++
++ "mov.d $f4, $f0 \n\t"
++ "mov.d $f6, $f2 \n\t"
++
++ "pmullh $f0, $f0, $f12 \n\t"
++
++ "pmullh $f2, $f2, $f12 \n\t"
++
++ "pcmpgth $f4, $f4, $f8 \n\t"
++
++ "pcmpgth $f6, $f6, $f8 \n\t"
++
++ "xor $f0, $f0, $f4 \n\t"
++
++ "xor $f2, $f2, $f6 \n\t"
++
++ "paddh $f0, $f0, $f14 \n\t"
++
++ "paddh $f2, $f2, $f14 \n\t"
++
++ "xor $f4, $f4, $f0 \n\t"
++
++ "xor $f6, $f6, $f2 \n\t"
++
++ "pcmpeqh $f0, $f0, $f14 \n\t"
++
++ "pcmpeqh $f2, $f2, $f14 \n\t"
++
++ "pandn $f0, $f0, $f4 \n\t"
++
++ "pandn $f2, $f2, $f6 \n\t"
++
++ "sdc1 $f0, ($12) \n\t"
++
++ "sdc1 $f2, 8($12) \n\t"
++
++
++ "addiu %3, %3, 16 \n\t"
++
++ "blez %3, 1b \n\t"
++ "nop \n\t"
++ ::"r" (block+nCoeffs), "m"(qmul), "m" (qadd), "r" (2*(-nCoeffs))
++ : "memory"
++ );
++}
++
++
++/* draw the edges of width 'w' of an image of size width, height
++ this mmx version can only handle w==8 || w==16 */
++
++static void draw_edges_loongson2(uint8_t *buf, int wrap, int width, int height, int w)
++{
++ uint8_t *ptr, *last_line;
++ int i;
++
++ last_line = buf + (height - 1) * wrap;
++
++ ptr = buf;
++ if(w==8)
++ {
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "move $9, %0 \n\t"
++
++ "1: \n\t"
++
++ "xor $f0, $f0, $f0 \n\t"
++ "lwc1 $f0, ($9) \n\t"
++
++ "punpcklbh $f0, $f0, $f0 \n\t"
++
++ "add $12, $9, %2 \n\t"
++
++ "punpcklhw $f0, $f0, $f0 \n\t"
++
++ "punpcklwd $f0, $f0, $f0 \n\t"
++
++ "ldc1 $f2, -8($12) \n\t"
++
++ "sdc1 $f0, -8($9) \n\t"
++
++ "punpckhbh $f2, $f2, $f2 \n\t"
++
++ "add $9, $9, %1 \n\t"
++
++ "punpckhhw $f2, $f2, $f2 \n\t"
++
++ "sub $13, $9, %3 \n\t"
++
++ "punpckhwd $f2, $f2, $f2 \n\t"
++
++ "bltz $13, 1b \n\t"
++
++ "sdc1 $f2, ($12) \n\t"
++
++ : "+r" (ptr)
++ : "r" ((long)wrap), "r" ((long)width), "r" (ptr + wrap*height)
++ : "$9", "$13", "$12", "$f2", "$f0"
++ );
++ }
++ else
++ {
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "move $8, %0 \n\t"
++
++ "1: \n\t"
++
++ "xor $f0, $f0, $f0 \n\t"
++ "lwc1 $f0, ($8) \n\t"
++
++ "punpcklbh $f0, $f0, $f0 \n\t"
++ "punpcklhw $f0, $f0, $f0 \n\t"
++ "punpcklwd $f0, $f0, $f0 \n\t"
++
++ "sdc1 $f0, -8($8) \n\t"
++ "sdc1 $f0, -16($8) \n\t"
++
++ "add $15, $8, %2 \n\t"
++ "ldc1 $f2, -8($15) \n\t"
++
++ "punpckhbh $f2, $f2, $f2 \n\t"
++ "punpckhhw $f2, $f2, $f2 \n\t"
++ "punpckhwd $f2, $f2, $f2 \n\t"
++
++ "sdc1 $f2, ($15) \n\t"
++ "sdc1 $f2, 8($15) \n\t"
++
++ "add $8, $8, %1 \n\t"
++
++ "sub $16, $8, %3 \n\t"
++ "bltz $16, 1b \n\t"
++ "nop \n\t"
++ : "+r" (ptr)
++ : "r" ((long)wrap), "r" ((long)width), "r" (ptr + wrap*height)
++ : "$8", "$15", "$16", "$f0", "$f2"
++ );
++ }
++
++ for(i=0;i<w;i+=4) {
++
++ ptr= buf - (i + 1) * wrap - w;
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "move $8, %0 \n\t"
++
++ "1: \n\t"
++
++ "add $9, $8, %1 \n\t"
++ "ldc1 $f0, ($9) \n\t"
++
++ "add $10, $8, %2 \n\t"
++ "add $11, $10, %2 \n\t"
++ "add $12, $8, %3 \n\t"
++
++ "sdc1 $f0, ($8) \n\t"
++ "sdc1 $f0, ($10) \n\t"
++ "sdc1 $f0, ($11) \n\t"
++ "sdc1 $f0, ($12) \n\t"
++
++ "addiu $8, $8, 8 \n\t"
++
++ "sub $13, $8, %4 \n\t"
++
++ "bltz $13, 1b \n\t"
++ "nop \n\t"
++
++ : "+r" (ptr)
++ : "r" (((long)buf - (long)ptr - w)), "r" ((long)-wrap), "r" ((long)-wrap*3), "r" (*(ptr+width+2*w))
++ : "$8", "$9", "$10", "$11", "$12", "$13", "$f0"
++ );
++
++ ptr= last_line + (i + 1) * wrap - w;
++
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "move $9, %0 \n\t"
++
++ "1: \n\t"
++
++ "add $10, $9, %1 \n\t"
++ "ldc1 $f0, ($10) \n\t"
++
++ "add $11, $9, %2 \n\t"
++ "add $12, $11, %2 \n\t"
++ "add $13, $9, %3 \n\t"
++
++ "sdc1 $f0, ($9) \n\t"
++ "sdc1 $f0, ($11) \n\t"
++ "sdc1 $f0, ($12) \n\t"
++ "sdc1 $f0, ($13) \n\t"
++
++ "addiu $9, $9, 8 \n\t"
++
++ "sub $14, $9, %4 \n\t"
++
++ "bltz $14, 1b \n\t"
++ "nop \n\t"
++ : "+r" (ptr)
++ : "r" ((long)last_line - (long)ptr - w), "r" ((long)wrap), "r" ((long)wrap*3), "r" (ptr+width+2*w)
++ : "$9", "$10", "$11", "$12", "$13", "$14", "$f0"
++
++ );
++ }
++}
++
++void MPV_common_init_loongson2(MpegEncContext *s)
++{
++ s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_loongson2;
++ s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_loongson2;
++
++// draw_edges = draw_edges_loongson2;
++
++}
+diff -Nru ffmpeg.orig/libavcodec/mips/Makefile ffmpeg/libavcodec/mips/Makefile
+--- ffmpeg.orig/libavcodec/mips/Makefile 2011-12-09 21:40:31.700782047 +0100
++++ ffmpeg/libavcodec/mips/Makefile 2011-12-09 21:40:50.836821045 +0100
+@@ -1,3 +1,9 @@
+ OBJS-$(HAVE_MMI) += ps2/dsputil_mmi.o \
+ ps2/idct_mmi.o \
+ ps2/mpegvideo_mmi.o \
++
++OBJS-$(HAVE_LOONGSON2MMI) += loongson2/idct_loongson2.o \
++ loongson2/dsputil_loongson2.o \
++ loongson2/idct_loongson2_xvid.o \
++ loongson2/mpegvideo_loongson2.o \
++ loongson2/motion_est_loongson2.o
+diff -Nru ffmpeg.orig/libavcodec/mpegvideo.c ffmpeg/libavcodec/mpegvideo.c
+--- ffmpeg.orig/libavcodec/mpegvideo.c 2011-12-09 21:40:31.644781931 +0100
++++ ffmpeg/libavcodec/mpegvideo.c 2011-12-09 21:40:50.868821109 +0100
+@@ -182,6 +182,9 @@
+ #elif ARCH_BFIN
+ MPV_common_init_bfin(s);
+ #endif
++#ifdef HAVE_LOONGSON2MMI
++ MPV_common_init_loongson2(s);
++#endif
+
+ /* load & permutate scantables
+ note: only wmv uses different ones
+diff -Nru ffmpeg.orig/libavcodec/mpegvideo.h ffmpeg/libavcodec/mpegvideo.h
+--- ffmpeg.orig/libavcodec/mpegvideo.h 2011-12-09 21:40:31.728782103 +0100
++++ ffmpeg/libavcodec/mpegvideo.h 2011-12-09 21:40:50.892821159 +0100
+@@ -704,6 +704,7 @@
+ void MPV_common_init_mmx(MpegEncContext *s);
+ void MPV_common_init_axp(MpegEncContext *s);
+ void MPV_common_init_mlib(MpegEncContext *s);
++void MPV_common_init_loongson2(MpegEncContext *s);
+ void MPV_common_init_mmi(MpegEncContext *s);
+ void MPV_common_init_arm(MpegEncContext *s);
+ void MPV_common_init_altivec(MpegEncContext *s);
+diff -Nru ffmpeg.orig/libavcodec/options.c ffmpeg/libavcodec/options.c
+--- ffmpeg.orig/libavcodec/options.c 2011-12-09 21:40:31.820782292 +0100
++++ ffmpeg/libavcodec/options.c 2011-12-09 21:45:31.645390878 +0100
+@@ -251,6 +251,8 @@
+ {"simple", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_SIMPLE }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"simplemmx", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_SIMPLEMMX }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"libmpeg2mmx", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_LIBMPEG2MMX }, INT_MIN, INT_MAX, V|E|D, "idct"},
++{"libmpeg2loongson2", NULL, 0, AV_OPT_TYPE_CONST, FF_IDCT_LIBMPEG2LOONGSON2, INT_MIN, INT_MAX, V|E|D, "idct"},
++{"xvidloongson2", NULL, 0, AV_OPT_TYPE_CONST, FF_IDCT_XVIDLOONGSON2, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"ps2", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_PS2 }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"mlib", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_MLIB }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"arm", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_ARM }, INT_MIN, INT_MAX, V|E|D, "idct"},
diff --git a/extra/ffmpegthumbnailer/PKGBUILD b/extra/ffmpegthumbnailer/PKGBUILD
index 82bda621b..14bb59444 100644
--- a/extra/ffmpegthumbnailer/PKGBUILD
+++ b/extra/ffmpegthumbnailer/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=4
pkgdesc="Lightweight video thumbnailer that can be used by file managers."
url="http://code.google.com/p/ffmpegthumbnailer/"
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ffmpeg' 'libjpeg' 'libpng')
optdepends=('gvfs: support for gio uris')
source=("http://ffmpegthumbnailer.googlecode.com/files/$pkgname-$pkgver.tar.gz"
diff --git a/extra/fftw/PKGBUILD b/extra/fftw/PKGBUILD
index 08943a759..c6d7cd64e 100644
--- a/extra/fftw/PKGBUILD
+++ b/extra/fftw/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fftw
pkgver=3.3.3
pkgrel=2
pkgdesc="A library for computing the discrete Fourier transform (DFT)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.fftw.org/"
depends=('glibc' 'bash')
@@ -29,15 +29,25 @@ build() {
mv ${pkgname}-${pkgver} ${pkgname}-${pkgver}-single
+ if [ "$CARCH" = "mips64el" ] ; then
+ sse2=""
+ sse=""
+ aligndouble=""
+ else
+ sse2="--enable-sse2"
+ sse="--enable-sse"
+ aligndouble="-malign-double"
+ fi
+
# use upstream default CFLAGS while keeping our -march/-mtune
- CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math"
+ CFLAGS+=" -O3 -fomit-frame-pointer $aligndouble -fstrict-aliasing -ffast-math"
CONFIGURE="./configure F77=gfortran --prefix=/usr \
--enable-shared --enable-threads"
# build double precision
cd ${srcdir}/${pkgname}-${pkgver}-double
- $CONFIGURE --enable-sse2
+ $CONFIGURE $sse2
make
# build & install long double precission
@@ -47,7 +57,7 @@ build() {
# build & install single precision
cd ${srcdir}/${pkgname}-${pkgver}-single
- $CONFIGURE --enable-float --enable-sse
+ $CONFIGURE --enable-float $sse
make
}
diff --git a/extra/five-or-more/PKGBUILD b/extra/five-or-more/PKGBUILD
index f45aed072..a52abf81b 100644
--- a/extra/five-or-more/PKGBUILD
+++ b/extra/five-or-more/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=five-or-more
pkgver=3.10.1
pkgrel=1
pkgdesc="Remove colored balls from the board by forming lines"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/flac/PKGBUILD b/extra/flac/PKGBUILD
index adb756f2b..be8f995bc 100644
--- a/extra/flac/PKGBUILD
+++ b/extra/flac/PKGBUILD
@@ -5,11 +5,12 @@ pkgbase=flac
pkgname=('flac' 'flac-doc')
pkgver=1.3.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://flac.sourceforge.net/"
license=('BSD' 'GPL')
depends=('libogg')
-makedepends=('nasm' 'xmms' 'doxygen')
+makedepends=('doxygen')
+[ "$CARCH" = "mips64el" ] || makedepends+=('nasm' 'xmms')
options=('!makeflags')
source=(http://downloads.xiph.org/releases/flac/${pkgbase}-${pkgver}.tar.xz)
sha1sums=('a136e5748f8fb1e6c524c75000a765fc63bb7b1b')
@@ -27,7 +28,7 @@ check() {
package_flac() {
pkgdesc="Free Lossless Audio Codec"
- optdepends=('xmms: for using the xmms plugin')
+ [ "$CARCH" = "mips64el" ] || optdepends=('xmms: for using the xmms plugin')
options=('!docs')
cd ${pkgbase}-${pkgver}
diff --git a/extra/fltk/PKGBUILD b/extra/fltk/PKGBUILD
index 138bbad57..27f5dfeef 100644
--- a/extra/fltk/PKGBUILD
+++ b/extra/fltk/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=fltk
pkgname=('fltk' 'fltk-docs' 'fltk-games')
pkgver=1.3.2
pkgrel=4
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:LGPL')
url="http://www.fltk.org/"
makedepends=('mesa' 'glu' 'doxygen' 'libjpeg' 'libxft' 'libxinerama' \
diff --git a/extra/fluidsynth/PKGBUILD b/extra/fluidsynth/PKGBUILD
index a1e133765..07b790a4d 100644
--- a/extra/fluidsynth/PKGBUILD
+++ b/extra/fluidsynth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fluidsynth
pkgver=1.1.6
pkgrel=2
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://www.fluidsynth.org/"
depends=('glib2' 'jack' 'libpulse')
makedepends=('cmake' 'ladspa' 'doxygen')
diff --git a/extra/fluxbox/PKGBUILD b/extra/fluxbox/PKGBUILD
index 3618a80f7..78f3354e9 100644
--- a/extra/fluxbox/PKGBUILD
+++ b/extra/fluxbox/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fluxbox
pkgver=1.3.5
pkgrel=2
pkgdesc="A lightweight and highly-configurable window manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.fluxbox.org"
license=('MIT')
depends=('libxft' 'libxpm' 'libxinerama' 'libxrandr' 'gcc-libs' 'imlib2' 'fribidi')
diff --git a/extra/fluxter/PKGBUILD b/extra/fluxter/PKGBUILD
index 247449633..f8fd53cfc 100644
--- a/extra/fluxter/PKGBUILD
+++ b/extra/fluxter/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fluxter
pkgver=0.1.0
pkgrel=6
pkgdesc="A workspace pager for fluxbox"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://benedict.isomedia.com/homes/stevencooper/projects/fluxter.html"
license=('GPL')
depends=('gcc-libs' 'libx11')
diff --git a/extra/folks/PKGBUILD b/extra/folks/PKGBUILD
index a1343fa1e..8f269c030 100644
--- a/extra/folks/PKGBUILD
+++ b/extra/folks/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=folks
pkgver=0.9.5
pkgrel=1
pkgdesc="Library to aggregates people into metacontacts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://telepathy.freedesktop.org/wiki/Folks"
license=(LGPL2.1)
depends=(telepathy-glib libgee libxml2 evolution-data-server zeitgeist libtracker-sparql)
diff --git a/extra/fontconfig/PKGBUILD b/extra/fontconfig/PKGBUILD
index 9d6cd0028..fccc475e1 100644
--- a/extra/fontconfig/PKGBUILD
+++ b/extra/fontconfig/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fontconfig
pkgver=2.11.0
pkgrel=1
pkgdesc="A library for configuring and customizing font access"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.fontconfig.org/release/"
license=('custom')
depends=('expat' 'freetype2')
diff --git a/extra/fontforge/PKGBUILD b/extra/fontforge/PKGBUILD
index c0fe5e738..d9d7e8f8f 100644
--- a/extra/fontforge/PKGBUILD
+++ b/extra/fontforge/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=20120731_b
pkgrel=6
pkgdesc='Outline and bitmap font editor'
url='http://fontforge.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libtiff' 'python2' 'libspiro'
'desktop-file-utils' 'gtk-update-icon-cache' 'hicolor-icon-theme')
diff --git a/extra/foobillard++/PKGBUILD b/extra/foobillard++/PKGBUILD
index d68c20d2b..428421fe0 100644
--- a/extra/foobillard++/PKGBUILD
+++ b/extra/foobillard++/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=foobillard++
pkgver=3.42beta
pkgrel=5
pkgdesc="An OpenGL billiard game"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://foobillardplus.sourceforge.net/"
license=('GPL2')
depends=('freetype2' 'libpng' 'glu' 'sdl_net' 'sdl_mixer')
diff --git a/extra/foomatic/PKGBUILD b/extra/foomatic/PKGBUILD
new file mode 100644
index 000000000..1f4b316ac
--- /dev/null
+++ b/extra/foomatic/PKGBUILD
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgbase="foomatic"
+pkgname=('foomatic-db' 'foomatic-db-engine')
+arch=('i686' 'x86_64' 'mips64el') # needs to be changed in the subpackages when makepkg will support it
+_snapdate=20120712
+_filtersver=4.0.17
+_enginever=4.0.8
+pkgver=${_filtersver}_${_snapdate}
+pkgrel=1
+epoch=1
+makedepends=('cups' 'perl' 'libxml2' 'enscript' 'perl' 'net-snmp' 'bash')
+_url1=http://www.openprinting.org/download/foomatic/
+_url2=ftp://ftp.archlinux.org/other/foomatic/
+source=(${_url1}/$pkgbase-db-engine-${_enginever}.tar.gz
+ ${_url2}/$pkgbase-db-4.0-${_snapdate}.tar.gz) # switch after build url1 -> url2
+url="http://www.linuxprinting.org/foomatic.html"
+options=('!emptydirs')
+md5sums=('5283cd5125a96dc0b35d896326512b1a'
+ '7ea8ed6c34495e237d8071ab5821e871')
+
+package_foomatic-db() {
+
+ pkgdesc="Foomatic - The collected knowledge about printers, drivers, and driver options in XML files, used by foomatic-db-engine to generate PPD files."
+# arch=('any')
+ license=('GPL' 'custom')
+ depends=('perl' 'libxml2')
+ replaces=('foomatic-db-ppd' 'foomatic-db-hpijs')
+ conflicts=('foomatic-db-ppd' 'foomatic-db-hpijs')
+ provides=('foomatic-db-hpijs')
+
+ cd ${srcdir}/${pkgname}-${_snapdate}
+ ./configure --prefix=/usr
+ make DESTDIR=${pkgdir} install
+ install -v -Dm644 ${srcdir}/${pkgname}-${_snapdate}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}
+
+package_foomatic-db-engine() {
+
+ pkgdesc="Foomatic - Foomatic's database engine generates PPD files from the data in Foomatic's XML database. It also contains scripts to directly generate print queues and handle jobs."
+# arch=(i686 x86_64)
+ license=('GPL')
+ depends=('perl' 'libxml2' 'foomatic-filters' 'bash')
+
+ cd ${srcdir}/foomatic-db-engine-${_enginever}
+ ./configure --prefix=/usr
+ make
+ eval `perl -V:archname`
+ make DESTDIR=${pkgdir} \
+ INSTALLARCHLIB=/usr/lib/perl5/vendor_perl/ \
+ INSTALLSITELIB=/usr/lib/perl5/vendor_perl/ \
+ INSTALLSITEARCH=/usr/lib/perl5/vendor_perl/ install
+ /usr/bin/find ${pkgdir} -name '.packlist' -delete
+ # fix permissions
+ chmod 755 ${pkgdir}/usr/lib{,/perl5,/perl5/vendor_perl}
+}
diff --git a/extra/four-in-a-row/PKGBUILD b/extra/four-in-a-row/PKGBUILD
index 3c9a03e96..691e2544d 100644
--- a/extra/four-in-a-row/PKGBUILD
+++ b/extra/four-in-a-row/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=four-in-a-row
pkgver=3.10.1
pkgrel=1
pkgdesc="Make lines of the same color to win"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'libcanberra' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/fping/PKGBUILD b/extra/fping/PKGBUILD
index 7d80549ae..0d7ab6e4c 100644
--- a/extra/fping/PKGBUILD
+++ b/extra/fping/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fping
pkgver=3.6
pkgrel=1
pkgdesc="A utility to ping multiple hosts at once"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.fping.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/fprintd/PKGBUILD b/extra/fprintd/PKGBUILD
index 7c5ec6d6b..41643bd3d 100644
--- a/extra/fprintd/PKGBUILD
+++ b/extra/fprintd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fprintd
pkgver=0.5.1
pkgrel=1
pkgdesc="D-Bus service to access fingerprint readers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/fprint/fprintd"
license=(GPL)
depends=(libfprint dbus-glib polkit)
diff --git a/extra/freealut/PKGBUILD b/extra/freealut/PKGBUILD
index 8b2ee5823..342ce65a7 100644
--- a/extra/freealut/PKGBUILD
+++ b/extra/freealut/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=freealut
pkgver=1.1.0
pkgrel=5
pkgdesc="OpenAL Utility Toolkit (ALUT)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.openal.org"
license=("LGPL")
depends=('openal')
diff --git a/extra/freeciv/PKGBUILD b/extra/freeciv/PKGBUILD
index 85a1feca2..71710857b 100644
--- a/extra/freeciv/PKGBUILD
+++ b/extra/freeciv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=freeciv
pkgver=2.4.0
pkgrel=1
pkgdesc="A multiuser clone of the famous Microprose game of Civilization"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freeciv.org/"
license=('GPL')
depends=('gtk2' 'sdl_mixer' 'hicolor-icon-theme' 'lua51' 'sqlite' 'curl' 'libltdl')
diff --git a/extra/freeglut/PKGBUILD b/extra/freeglut/PKGBUILD
index 05e569561..76bba89a5 100644
--- a/extra/freeglut/PKGBUILD
+++ b/extra/freeglut/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=freeglut
pkgver=2.8.1
pkgrel=1
pkgdesc="Provides functionality for small OpenGL programs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freeglut.sourceforge.net/"
license=('MIT')
depends=('libxi' 'libxrandr' 'libgl')
diff --git a/extra/freetds/PKGBUILD b/extra/freetds/PKGBUILD
index 713e930fa..80c6a9e89 100644
--- a/extra/freetds/PKGBUILD
+++ b/extra/freetds/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.91
pkgrel=3
pkgdesc='Library for accessing Sybase and MS SQL Server databases'
url='http://www.freetds.org'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('unixodbc')
backup=('etc/freetds/freetds.conf'
diff --git a/extra/freetype2/PKGBUILD b/extra/freetype2/PKGBUILD
index 21dbfbf4f..427b4b39c 100644
--- a/extra/freetype2/PKGBUILD
+++ b/extra/freetype2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=freetype2
pkgver=2.5.0.1
pkgrel=2
pkgdesc="TrueType font rendering library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://freetype.sourceforge.net"
depends=('zlib' 'bzip2' 'sh' 'libpng')
diff --git a/extra/fribidi/PKGBUILD b/extra/fribidi/PKGBUILD
index f36a819e0..09d9671f7 100644
--- a/extra/fribidi/PKGBUILD
+++ b/extra/fribidi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fribidi
pkgver=0.19.5
pkgrel=1
pkgdesc="A Free Implementation of the Unicode Bidirectional Algorithm"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://fribidi.org"
depends=('glibc')
diff --git a/extra/frozen-bubble/PKGBUILD b/extra/frozen-bubble/PKGBUILD
index b59505dbf..5381824f0 100644
--- a/extra/frozen-bubble/PKGBUILD
+++ b/extra/frozen-bubble/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=2.2.1-beta1
pkgver=${_pkgver/-/}
pkgrel=5
pkgdesc="A game in which you throw colorful bubbles and build groups to destroy the bubbles"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.frozen-bubble.org"
license=(GPL2)
depends=(perl-sdl perl-ipc-system-simple perl-compress-bzip2 perl-file-which)
diff --git a/extra/fsarchiver/PKGBUILD b/extra/fsarchiver/PKGBUILD
index bea3d7327..d4f830fcc 100644
--- a/extra/fsarchiver/PKGBUILD
+++ b/extra/fsarchiver/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=fsarchiver
pkgver=0.6.17
pkgrel=2
pkgdesc='Safe and flexible file-system backup and deployment tool'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.fsarchiver.org/'
license=('GPL2')
depends=('bzip2' 'e2fsprogs' 'lzo2' 'xz' 'libgcrypt')
diff --git a/extra/ftgl/PKGBUILD b/extra/ftgl/PKGBUILD
index 494b9cd42..7044d5c11 100644
--- a/extra/ftgl/PKGBUILD
+++ b/extra/ftgl/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=ftgl
_pkgver=2.1.3-rc5
pkgver=${_pkgver/-/}
-pkgrel=5
+pkgrel=5.1
pkgdesc="OpenGL library to use arbitrary fonts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://ftgl.wiki.sourceforge.net/"
license=('MIT')
depends=('freetype2' 'glu')
diff --git a/extra/ftjam/PKGBUILD b/extra/ftjam/PKGBUILD
index 42726f3cb..f267920a9 100644
--- a/extra/ftjam/PKGBUILD
+++ b/extra/ftjam/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=ftjam
pkgver=2.5.3rc2
-pkgrel=3
+pkgrel=3.1
pkgdesc='FT Jam - an enhanced version of the Jam build tool'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freetype.org/jam/"
license=('custom')
depends=('glibc')
diff --git a/extra/fuse/PKGBUILD b/extra/fuse/PKGBUILD
index fcfb387ea..c7968d633 100644
--- a/extra/fuse/PKGBUILD
+++ b/extra/fuse/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=fuse
pkgver=2.9.3
pkgrel=2
pkgdesc="A library that makes it possible to implement a filesystem in a userspace program."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fuse.sourceforge.net/"
license=('GPL2')
depends=('glibc')
diff --git a/extra/fvwm/PKGBUILD b/extra/fvwm/PKGBUILD
index 37a0291a9..53877eb72 100644
--- a/extra/fvwm/PKGBUILD
+++ b/extra/fvwm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fvwm
pkgver=2.6.5
pkgrel=3
pkgdesc="A multiple large virtual desktop window manager originally derived from twm"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.fvwm.org"
license=('GPL' 'custom')
depends=('imlib' 'fribidi' 'perl' 'libstroke' 'libxpm' 'librsvg' 'libxinerama' 'libxcursor')
diff --git a/extra/fyre/PKGBUILD b/extra/fyre/PKGBUILD
index b0df14cb0..8505ad5c8 100644
--- a/extra/fyre/PKGBUILD
+++ b/extra/fyre/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fyre
pkgver=1.0.1
pkgrel=7
pkgdesc="Rendering of the Peter de Jong map"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="http://fyre.navi.cx/"
license=('GPL')
depends=('openexr' 'libglade' 'gnet' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils')
diff --git a/extra/gamin/PKGBUILD b/extra/gamin/PKGBUILD
index b5d56d70b..d7e4e96a4 100644
--- a/extra/gamin/PKGBUILD
+++ b/extra/gamin/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=8
pkgdesc='File and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor)'
url='http://www.gnome.org/~veillard/gamin'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glib2')
makedepends=('python2')
optdepends=('python2: for the python module')
diff --git a/extra/garcon/PKGBUILD b/extra/garcon/PKGBUILD
index ea3de85eb..e241bccf7 100644
--- a/extra/garcon/PKGBUILD
+++ b/extra/garcon/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=garcon
pkgver=0.2.1
pkgrel=1
pkgdesc="Implementation of the freedesktop.org menu specification"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('LGPL')
groups=('xfce4')
diff --git a/extra/gc/PKGBUILD b/extra/gc/PKGBUILD
index 3d5550d03..c3b8bc407 100644
--- a/extra/gc/PKGBUILD
+++ b/extra/gc/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gc
pkgver=7.2.d
pkgrel=2
pkgdesc="A garbage collector for C and C++"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
license=('GPL')
source=("http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${pkgname}-7.2d.tar.gz")
diff --git a/extra/gcin/PKGBUILD b/extra/gcin/PKGBUILD
index 6a827b46e..cce616b56 100644
--- a/extra/gcin/PKGBUILD
+++ b/extra/gcin/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Input method server supporting various input methods'
url='http://hyperrate.com/dir.php?eid=67'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gtk2' 'libxtst')
makedepends=('qt4' 'gtk3' 'anthy' 'libchewing')
optdepends=('qt4: support for qt4 input method'
diff --git a/extra/gconf-editor/PKGBUILD b/extra/gconf-editor/PKGBUILD
index 69a925079..a40c41f15 100644
--- a/extra/gconf-editor/PKGBUILD
+++ b/extra/gconf-editor/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gconf-editor
pkgver=3.0.1
pkgrel=3
pkgdesc="Graphical gconf registry editor"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gconf' 'hicolor-icon-theme' 'gtk3')
makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils')
diff --git a/extra/gconf-perl/PKGBUILD b/extra/gconf-perl/PKGBUILD
index e3adf41a7..8b3ee55a9 100644
--- a/extra/gconf-perl/PKGBUILD
+++ b/extra/gconf-perl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gconf-perl
pkgver=1.044
pkgrel=8
pkgdesc="Gnome2-GConf perl bindings for gconf"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/gconf/PKGBUILD b/extra/gconf/PKGBUILD
index d7fc7e68e..6c77fbf2d 100644
--- a/extra/gconf/PKGBUILD
+++ b/extra/gconf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gconf
pkgver=3.2.6
pkgrel=3
pkgdesc="A configuration database system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('libxml2' 'polkit' 'libldap' 'dbus-glib')
makedepends=('intltool' 'gtk-doc' 'gobject-introspection')
diff --git a/extra/gconfmm/PKGBUILD b/extra/gconfmm/PKGBUILD
index 23ba76100..9b5dd3801 100644
--- a/extra/gconfmm/PKGBUILD
+++ b/extra/gconfmm/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=gconfmm
pkgname=('gconfmm' 'gconfmm-docs')
pkgver=2.28.3
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkmm.sourceforge.net/"
license=('LGPL')
makedepends=('pkgconfig' 'gtkmm' 'glibmm-docs' 'gconf' 'glibmm')
diff --git a/extra/gcr/PKGBUILD b/extra/gcr/PKGBUILD
index a8cb2e6ec..bec772cdc 100644
--- a/extra/gcr/PKGBUILD
+++ b/extra/gcr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gcr
pkgver=3.10.1
pkgrel=1
pkgdesc="A library for bits of crypto UI and parsing"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL2')
depends=('dconf' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libgcrypt')
diff --git a/extra/gd/PKGBUILD b/extra/gd/PKGBUILD
index c9ddffff5..31e399f19 100644
--- a/extra/gd/PKGBUILD
+++ b/extra/gd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gd
pkgver=2.1.0
pkgrel=2
pkgdesc="Library for the dynamic creation of images by programmers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.libgd.org/"
license=('custom')
depends=('libpng' 'fontconfig' 'libjpeg')
diff --git a/extra/gdb/PKGBUILD b/extra/gdb/PKGBUILD
index dd27783a1..b59a1b6b8 100644
--- a/extra/gdb/PKGBUILD
+++ b/extra/gdb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gdb
pkgver=7.6.1
pkgrel=1
pkgdesc="The GNU Debugger"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gdb/"
license=('GPL3')
depends=('ncurses' 'expat' 'python2')
diff --git a/extra/gdk-pixbuf2/PKGBUILD b/extra/gdk-pixbuf2/PKGBUILD
index be29b521f..5021d5086 100644
--- a/extra/gdk-pixbuf2/PKGBUILD
+++ b/extra/gdk-pixbuf2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gdk-pixbuf2
pkgver=2.30.0
pkgrel=1
pkgdesc="An image loading library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('LGPL2.1')
depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11' 'jasper')
diff --git a/extra/gdl/PKGBUILD b/extra/gdl/PKGBUILD
index d20a4afac..4dc6a359e 100644
--- a/extra/gdl/PKGBUILD
+++ b/extra/gdl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gdl
pkgver=3.10.0
pkgrel=1
pkgdesc="GNOME Docking Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
url="http://www.gnome.org/"
depends=('gtk3')
diff --git a/extra/gdm/PKGBUILD b/extra/gdm/PKGBUILD
index dc88ff49c..41160df16 100644
--- a/extra/gdm/PKGBUILD
+++ b/extra/gdm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=(gdm libgdm)
pkgver=3.10.0.1
pkgrel=1
pkgdesc="Gnome Display Manager"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
url="http://www.gnome.org"
depends=(gnome-shell gnome-session upower xorg-xrdb xorg-server xorg-xhost)
diff --git a/extra/gdome2/PKGBUILD b/extra/gdome2/PKGBUILD
index 9522ae97d..d710cfbeb 100644
--- a/extra/gdome2/PKGBUILD
+++ b/extra/gdome2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gdome2
pkgver=0.8.1
pkgrel=5
pkgdesc="Gnome DOM Engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gdome2.cs.unibo.it/"
license=('LGPL')
depends=('libxml2' 'glib2')
@@ -22,11 +22,22 @@ prepare() {
build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --mandir=/usr/share/man
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ if [ "$CARCH" = mips64el ]; then
+ CFLAGS="$CFLAGS -fpic"
+ CXXFLAGS="$CXXFLAGS -fpic"
+ fi
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --host=${CARCH} --disable-static
make
}
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
diff --git a/extra/gedit/PKGBUILD b/extra/gedit/PKGBUILD
index a7795c98e..e728e4de0 100644
--- a/extra/gedit/PKGBUILD
+++ b/extra/gedit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gedit
pkgver=3.10.1
pkgrel=1
pkgdesc="A text editor for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
depends=(gtksourceview3 gsettings-desktop-schemas libpeas enchant iso-codes libsm desktop-file-utils python-gobject dconf)
makedepends=(yelp-tools intltool zeitgeist)
diff --git a/extra/geeqie/PKGBUILD b/extra/geeqie/PKGBUILD
index 5c65d5f78..68f9e1ccc 100644
--- a/extra/geeqie/PKGBUILD
+++ b/extra/geeqie/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geeqie
pkgver=1.1
pkgrel=2
pkgdesc="A lightweight image browser and viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://geeqie.sourceforge.net/"
license=('GPL2')
depends=('exiv2' 'gtk2' 'lcms' 'desktop-file-utils')
diff --git a/extra/gegl/PKGBUILD b/extra/gegl/PKGBUILD
index fe3133c1d..a970ac006 100644
--- a/extra/gegl/PKGBUILD
+++ b/extra/gegl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gegl
pkgver=0.2.0
pkgrel=10
pkgdesc="Graph based image processing framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gegl.org/"
license=('GPL3' 'LGPL3')
depends=('babl' 'gtk2' 'libspiro')
diff --git a/extra/genius/PKGBUILD b/extra/genius/PKGBUILD
index 697e124a4..a77810362 100644
--- a/extra/genius/PKGBUILD
+++ b/extra/genius/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=genius
pkgver=1.0.17
pkgrel=1
pkgdesc="Advanced calculator including a mathematical programming language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.jirka.org/genius.html"
depends=('vte' 'gtksourceview2' 'mpfr' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/geoclue/PKGBUILD b/extra/geoclue/PKGBUILD
index 8fc6a8386..d5af8518d 100644
--- a/extra/geoclue/PKGBUILD
+++ b/extra/geoclue/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geoclue
pkgver=0.12.99
pkgrel=1
pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://geoclue.freedesktop.org/"
license=(LGPL)
depends=(dbus-glib libxml2 dconf)
diff --git a/extra/geoip/PKGBUILD b/extra/geoip/PKGBUILD
index c100284f9..6e2f7d317 100644
--- a/extra/geoip/PKGBUILD
+++ b/extra/geoip/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geoip
pkgver=1.5.1
pkgrel=2
pkgdesc="Non-DNS IP-to-country resolver C library & utils"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.maxmind.com/app/c"
license=('GPL')
depends=('zlib' 'geoip-database')
diff --git a/extra/ghc/PKGBUILD b/extra/ghc/PKGBUILD
index b36efb967..20a0bca01 100644
--- a/extra/ghc/PKGBUILD
+++ b/extra/ghc/PKGBUILD
@@ -13,7 +13,7 @@ pkgname=ghc
pkgver=7.6.3
pkgrel=1
pkgdesc='The Glasgow Haskell Compiler'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.haskell.org/ghc/'
license=('custom')
# libffi might be needed in the future: http://hackage.haskell.org/trac/ghc/ticket/4496
diff --git a/extra/ghex/PKGBUILD b/extra/ghex/PKGBUILD
index facec4fce..ade65980e 100644
--- a/extra/ghex/PKGBUILD
+++ b/extra/ghex/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ghex
pkgver=3.10.0
pkgrel=1
pkgdesc="A simple binary editor for the Gnome desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://live.gnome.org/Ghex"
depends=('gtk3' 'hicolor-icon-theme')
diff --git a/extra/giblib/PKGBUILD b/extra/giblib/PKGBUILD
index 4facbf71e..36d8da2a6 100644
--- a/extra/giblib/PKGBUILD
+++ b/extra/giblib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=giblib
pkgver=1.2.4
pkgrel=6
pkgdesc="A library that feh uses as a wrapper to imlib2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freshmeat.net/projects/giblib/"
license=('MIT')
depends=('imlib2' 'libxext' 'freetype2')
diff --git a/extra/gif2png/PKGBUILD b/extra/gif2png/PKGBUILD
index f9e57f7e4..d5269af36 100644
--- a/extra/gif2png/PKGBUILD
+++ b/extra/gif2png/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gif2png
pkgver=2.5.8
pkgrel=2
pkgdesc="A GIF to PNG image format converter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.catb.org/~esr/gif2png/"
license=('ZLIB')
depends=('libpng')
diff --git a/extra/giflib/PKGBUILD b/extra/giflib/PKGBUILD
index b8ec0d14a..140c8817a 100644
--- a/extra/giflib/PKGBUILD
+++ b/extra/giflib/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=5.0.4
pkgrel=2
pkgdesc="A library for reading and writing gif images"
url="http://sourceforge.net/projects/giflib/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MIT')
depends=('libx11')
makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
diff --git a/extra/gifsicle/PKGBUILD b/extra/gifsicle/PKGBUILD
index 594a63a33..ced5c1b09 100644
--- a/extra/gifsicle/PKGBUILD
+++ b/extra/gifsicle/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gifsicle
pkgver=1.71
pkgrel=1
pkgdesc="A powerful command-line program for creating, editing, manipulating and getting information about GIF images and animations"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lcdf.org/gifsicle/"
license=('GPL')
depends=('libx11')
diff --git a/extra/gimp/PKGBUILD b/extra/gimp/PKGBUILD
index 5377f63d1..cbbcb1ceb 100644
--- a/extra/gimp/PKGBUILD
+++ b/extra/gimp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gimp
pkgver=2.8.8
pkgrel=1
pkgdesc="GNU Image Manipulation Program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gimp.org/"
license=('GPL' 'LGPL')
depends=('pygtk' 'lcms' 'libxpm' 'libwmf' 'libxmu' 'librsvg' 'libmng' 'dbus-glib' \
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD
index a81dff9ab..1d5e15b8a 100644
--- a/extra/git/PKGBUILD
+++ b/extra/git/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=git
pkgver=1.8.4.2
pkgrel=1
pkgdesc="the fast distributed version control system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://git-scm.com/"
license=('GPL2')
depends=('curl' 'expat>=2.0' 'perl-error' 'perl>=5.14.0' 'openssl' 'pcre')
@@ -44,8 +44,12 @@ build() {
check() {
export PYTHON_PATH='/usr/bin/python2'
cd "$srcdir/$pkgname-$pkgver"
- local jobs
- jobs=$(expr "$MAKEFLAGS" : '.*\(-j[0-9]*\).*')
+
+ # fails on mips
+ if [ "$CARCH" != "mips64el" ]; then
+ local jobs
+ jobs=$(expr "$MAKEFLAGS" : '.*\(-j[0-9]*\).*')
+ fi
mkdir -p /dev/shm/git-test
# We used to use this, but silly git regressions:
#GIT_TEST_OPTS="--root=/dev/shm/" \
diff --git a/extra/gjs/PKGBUILD b/extra/gjs/PKGBUILD
index e9f93624e..5243a8144 100644
--- a/extra/gjs/PKGBUILD
+++ b/extra/gjs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gjs
pkgver=1.38.1
pkgrel=1
pkgdesc="Javascript Bindings for GNOME"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://live.gnome.org/Gjs"
license=(GPL)
depends=(cairo gobject-introspection 'js>=17.0.0')
diff --git a/extra/gksu/PKGBUILD b/extra/gksu/PKGBUILD
index ac1953ef1..e0d7b16ea 100644
--- a/extra/gksu/PKGBUILD
+++ b/extra/gksu/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gksu
pkgver=2.0.2
-pkgrel=4
+pkgrel=4.1
pkgdesc="A graphical frontend for su"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/gksu/index.html"
license=('GPL')
depends=('libgksu>=2.0.12' 'xorg-xauth')
diff --git a/extra/glade-perl/PKGBUILD b/extra/glade-perl/PKGBUILD
index a69c7589d..f1047ceea 100644
--- a/extra/glade-perl/PKGBUILD
+++ b/extra/glade-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gtk2-GladeXML
pkgver=1.007
pkgrel=7
pkgdesc="Gtk2-GladeXML perl bindings for glade 2.x"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/glade/PKGBUILD b/extra/glade/PKGBUILD
index 77b5a3006..66cfeddd3 100644
--- a/extra/glade/PKGBUILD
+++ b/extra/glade/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=glade
pkgver=3.16.0
pkgrel=1
pkgdesc="User interface builder for GTK+ and GNOME."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL' 'LGPL')
depends=('gtk3' 'libxml2' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('intltool' 'gtk-doc' 'gobject-introspection' 'python2-gobject' 'itstool' 'docbook-xsl')
diff --git a/extra/glew/PKGBUILD b/extra/glew/PKGBUILD
index c89e98710..a46ee9b84 100644
--- a/extra/glew/PKGBUILD
+++ b/extra/glew/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=glew
pkgver=1.10.0
pkgrel=2
pkgdesc="The OpenGL Extension Wrangler Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://glew.sourceforge.net"
license=('BSD' 'MIT' 'GPL')
depends=('libxmu' 'libxi' 'glu')
diff --git a/extra/glhack/PKGBUILD b/extra/glhack/PKGBUILD
index d1242f2c6..3e6d2a5c6 100644
--- a/extra/glhack/PKGBUILD
+++ b/extra/glhack/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=glhack
pkgver=1.2
pkgrel=7
pkgdesc="A port of Nethack, a single player dungeon exploration game in 2D"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://glhack.sourceforge.net/"
license=('custom')
depends=('sdl' 'libpng' 'libgl')
diff --git a/extra/glib-networking/PKGBUILD b/extra/glib-networking/PKGBUILD
index d153c67c0..d2f7c8e3d 100644
--- a/extra/glib-networking/PKGBUILD
+++ b/extra/glib-networking/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=glib-networking
pkgver=2.38.1
pkgrel=1
pkgdesc="Network-related giomodules for glib"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=(GPL2)
depends=(glib2 libproxy gnutls ca-certificates gsettings-desktop-schemas)
diff --git a/extra/glib-perl/PKGBUILD b/extra/glib-perl/PKGBUILD
index 47a6d4259..2f70e9ccd 100644
--- a/extra/glib-perl/PKGBUILD
+++ b/extra/glib-perl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glib-perl
pkgver=1.301
pkgrel=1
pkgdesc="Perl wrappers for glib 2.x, including GObject"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
options=('!emptydirs')
diff --git a/extra/glib/PKGBUILD b/extra/glib/PKGBUILD
index d4f9b62fb..a364a8c81 100644
--- a/extra/glib/PKGBUILD
+++ b/extra/glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=glib
pkgver=1.2.10
pkgrel=11
pkgdesc="Common C routines used by Gtk+ and other libs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('LGPL')
depends=('glibc' 'sh')
@@ -31,6 +31,8 @@ build() {
CONFIGFLAG='--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu'
elif [[ $CARCH = "x86_64" ]]; then
CONFIGFLAG='--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu'
+ else
+ CONFIGFLAG="--host=$CHOST --target=$CHOST"
fi
autoreconf --force --install
diff --git a/extra/glibmm/PKGBUILD b/extra/glibmm/PKGBUILD
index 186ab204f..eae133c9b 100644
--- a/extra/glibmm/PKGBUILD
+++ b/extra/glibmm/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=glibmm
pkgname=('glibmm' 'glibmm-docs')
pkgver=2.38.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('glib2' 'libsigc++2.0' 'pkgconfig')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
diff --git a/extra/glpk/PKGBUILD b/extra/glpk/PKGBUILD
index 477e4cf30..0b4096bb5 100644
--- a/extra/glpk/PKGBUILD
+++ b/extra/glpk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=glpk
pkgver=4.52
pkgrel=1
pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/glpk/glpk.html"
license=('GPL')
depends=('glibc')
@@ -19,7 +19,7 @@ build() {
./configure --prefix=/usr
- if [ "$CARCH" == "x86_64" ]; then
+ if [ "$CARCH" != "i686" ]; then
make CFLAGS="$CFLAGS -fPIC"
else
make
diff --git a/extra/glu/PKGBUILD b/extra/glu/PKGBUILD
index 1e0702bea..1ccfe9b74 100644
--- a/extra/glu/PKGBUILD
+++ b/extra/glu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glu
pkgver=9.0.0
pkgrel=2
pkgdesc="Mesa OpenGL Utility library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cgit.freedesktop.org/mesa/glu/"
license=('LGPL')
depends=('libgl')
diff --git a/extra/gmetadom/PKGBUILD b/extra/gmetadom/PKGBUILD
index 22cb3d794..7d3b84a59 100644
--- a/extra/gmetadom/PKGBUILD
+++ b/extra/gmetadom/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gmetadom
pkgver=0.2.6
-pkgrel=3
+pkgrel=3.1
pkgdesc="C++ bindings for GDome2 DOM implementation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmetadom.sourceforge.net/"
license=('LGPL')
depends=('gdome2')
diff --git a/extra/gmime/PKGBUILD b/extra/gmime/PKGBUILD
index 06832b61b..5a53f6556 100644
--- a/extra/gmime/PKGBUILD
+++ b/extra/gmime/PKGBUILD
@@ -6,11 +6,11 @@ pkgname=gmime
pkgver=2.6.18
pkgrel=1
pkgdesc="Core mime parsing library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://spruce.sourceforge.net/gmime/"
depends=('glib2' 'gpgme' 'zlib')
-makedepends=('gtk-sharp-2')
+[ "$CARCH" != "mips64el" ] && makedepends=('gtk-sharp-2')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
sha256sums=('783fc14190459c568a31c2fd6dba1e8afa0431e2931aa46f652aa486ad881ae6')
diff --git a/extra/gnet/PKGBUILD b/extra/gnet/PKGBUILD
index 1310530e8..8fce6824d 100644
--- a/extra/gnet/PKGBUILD
+++ b/extra/gnet/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnet
pkgver=2.0.8
pkgrel=4
pkgdesc="A simple network library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/GNetLibrary"
license=('LGPL')
depends=('glib2')
diff --git a/extra/gnome-alsamixer/PKGBUILD b/extra/gnome-alsamixer/PKGBUILD
index 677260758..5afe3f74b 100644
--- a/extra/gnome-alsamixer/PKGBUILD
+++ b/extra/gnome-alsamixer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-alsamixer
pkgver=0.9.7
pkgrel=1
pkgdesc="Gnome ALSA mixer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/gnome-alsamixer"
license=('GPL')
depends=('libgnomeui')
diff --git a/extra/gnome-bluetooth/PKGBUILD b/extra/gnome-bluetooth/PKGBUILD
index 511b0a176..158fde19f 100644
--- a/extra/gnome-bluetooth/PKGBUILD
+++ b/extra/gnome-bluetooth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-bluetooth
pkgver=3.10.0
pkgrel=1
pkgdesc="The GNOME Bluetooth Subsystem"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/GnomeBluetooth"
license=(GPL LGPL)
depends=(gtk3 hicolor-icon-theme libnotify bluez)
diff --git a/extra/gnome-calculator/PKGBUILD b/extra/gnome-calculator/PKGBUILD
index 44e53c207..0f4f8b541 100644
--- a/extra/gnome-calculator/PKGBUILD
+++ b/extra/gnome-calculator/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-calculator
pkgver=3.10.1
pkgrel=1
pkgdesc="GNOME Scientific calculator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'dconf')
makedepends=('intltool' 'yelp-tools' 'vala')
diff --git a/extra/gnome-chess/PKGBUILD b/extra/gnome-chess/PKGBUILD
index eb9e17320..ffdef50d3 100644
--- a/extra/gnome-chess/PKGBUILD
+++ b/extra/gnome-chess/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-chess
pkgver=3.10.1.1
pkgrel=1
pkgdesc="Play the classic two-player boardgame of chess"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg' 'sqlite')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/gnome-clocks/PKGBUILD b/extra/gnome-clocks/PKGBUILD
index 20792a355..bc1762c43 100644
--- a/extra/gnome-clocks/PKGBUILD
+++ b/extra/gnome-clocks/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-clocks
pkgver=3.10.1
pkgrel=1
pkgdesc="Clocks applications for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="https://www.gnome.org/"
license=(GPL)
depends=(gtk3 libcanberra libgweather gnome-desktop libnotify
diff --git a/extra/gnome-color-manager/PKGBUILD b/extra/gnome-color-manager/PKGBUILD
index b8ac34118..70683fcfd 100644
--- a/extra/gnome-color-manager/PKGBUILD
+++ b/extra/gnome-color-manager/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-color-manager
pkgver=3.10.1
pkgrel=1
pkgdesc="Color profile manager for the GNOME desktop"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://projects.gnome.org/gnome-color-manager/"
license=(GPL2)
depends=(libcanberra vte3 exiv2 hicolor-icon-theme desktop-file-utils clutter-gtk
diff --git a/extra/gnome-contacts/PKGBUILD b/extra/gnome-contacts/PKGBUILD
index 1ded72823..ede10f321 100644
--- a/extra/gnome-contacts/PKGBUILD
+++ b/extra/gnome-contacts/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-contacts
pkgver=3.10.1
pkgrel=1
pkgdesc="Contacts Manager for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL2')
groups=(gnome)
diff --git a/extra/gnome-control-center/PKGBUILD b/extra/gnome-control-center/PKGBUILD
index 1623f4b89..711bdbe6f 100644
--- a/extra/gnome-control-center/PKGBUILD
+++ b/extra/gnome-control-center/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=3.10.1
pkgrel=1
pkgdesc="The Control Center for GNOME"
license=(GPL)
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
depends=(accountsservice cups-pk-helper gnome-bluetooth gnome-desktop gnome-menus
gnome-online-accounts gnome-settings-daemon gsettings-desktop-schemas gtk3
libgtop network-manager-applet sound-theme-freedesktop upower libpwquality
diff --git a/extra/gnome-desktop/PKGBUILD b/extra/gnome-desktop/PKGBUILD
index b4ffa04d9..d2111fda6 100644
--- a/extra/gnome-desktop/PKGBUILD
+++ b/extra/gnome-desktop/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.10.1
pkgrel=1
epoch=1
pkgdesc="Library with common API for various GNOME modules"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL LGPL)
depends=(gsettings-desktop-schemas gtk3 libxkbfile xkeyboard-config iso-codes)
makedepends=(intltool gobject-introspection itstool)
@@ -19,7 +19,7 @@ build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$pkgname --disable-static \
- --with-gnome-distributor="Arch Linux"
+ --with-gnome-distributor="Parabola GNU/Linux-libre"
make
}
diff --git a/extra/gnome-desktop2/PKGBUILD b/extra/gnome-desktop2/PKGBUILD
index dcf69381f..39f3f4fff 100644
--- a/extra/gnome-desktop2/PKGBUILD
+++ b/extra/gnome-desktop2/PKGBUILD
@@ -5,9 +5,9 @@
_pkgname=gnome-desktop
pkgname=${_pkgname}2
pkgver=2.32.1
-pkgrel=2
+pkgrel=2.2
pkgdesc="Library with common API for various GNOME modules (legacy version)"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL LGPL)
depends=(gconf gtk2 startup-notification)
makedepends=(gnome-doc-utils intltool)
@@ -20,7 +20,7 @@ build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
- --with-gnome-distributor="Archlinux" \
+ --with-gnome-distributor="Parabola GNU/Linux-libre" \
--disable-scrollkeeper \
--disable-gnome-about --disable-desktop-docs
diff --git a/extra/gnome-dictionary/PKGBUILD b/extra/gnome-dictionary/PKGBUILD
index a6f46538b..653509952 100644
--- a/extra/gnome-dictionary/PKGBUILD
+++ b/extra/gnome-dictionary/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-dictionary
pkgver=3.10.0
pkgrel=1
pkgdesc="Look up words in dictionary sources"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('dconf' 'gtk3')
diff --git a/extra/gnome-disk-utility/PKGBUILD b/extra/gnome-disk-utility/PKGBUILD
index 19d8ab4f8..c4d622438 100644
--- a/extra/gnome-disk-utility/PKGBUILD
+++ b/extra/gnome-disk-utility/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-disk-utility
pkgver=3.10.0
pkgrel=1
pkgdesc="Disk Management Utility for GNOME"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
url="http://www.gnome.org"
groups=(gnome)
diff --git a/extra/gnome-documents/PKGBUILD b/extra/gnome-documents/PKGBUILD
index f97507404..a113aeee1 100644
--- a/extra/gnome-documents/PKGBUILD
+++ b/extra/gnome-documents/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-documents
pkgver=3.10.0
pkgrel=2
pkgdesc="Documents Manager for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=(GPL)
groups=(gnome-extra)
diff --git a/extra/gnome-font-viewer/PKGBUILD b/extra/gnome-font-viewer/PKGBUILD
index 6346b27c5..85d27ff84 100644
--- a/extra/gnome-font-viewer/PKGBUILD
+++ b/extra/gnome-font-viewer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-font-viewer
pkgver=3.10.0
pkgrel=1
pkgdesc="GNOME font viewer and thumbnailer"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
depends=('gtk3' 'desktop-file-utils' 'gnome-desktop')
makedepends=('intltool')
diff --git a/extra/gnome-keyring/PKGBUILD b/extra/gnome-keyring/PKGBUILD
index 2c2e79eca..4e86de131 100644
--- a/extra/gnome-keyring/PKGBUILD
+++ b/extra/gnome-keyring/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-keyring
pkgver=3.10.1
pkgrel=1
pkgdesc="GNOME Password Management daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('gtk3' 'gcr' 'libcap-ng')
makedepends=('intltool' 'gtk-doc')
diff --git a/extra/gnome-klotski/PKGBUILD b/extra/gnome-klotski/PKGBUILD
index 819eabe3e..3cdef0384 100644
--- a/extra/gnome-klotski/PKGBUILD
+++ b/extra/gnome-klotski/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-klotski
pkgver=3.10.0
pkgrel=1
pkgdesc="Slide blocks to solve the puzzle"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/gnome-mahjongg/PKGBUILD b/extra/gnome-mahjongg/PKGBUILD
index ac250777a..6c17fd33a 100644
--- a/extra/gnome-mahjongg/PKGBUILD
+++ b/extra/gnome-mahjongg/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-mahjongg
pkgver=3.10.1
pkgrel=1
pkgdesc="Disassemble a pile of tiles by removing matching pairs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/gnome-menus/PKGBUILD b/extra/gnome-menus/PKGBUILD
index 0e85b69e6..e940e78a3 100644
--- a/extra/gnome-menus/PKGBUILD
+++ b/extra/gnome-menus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-menus
pkgver=3.10.1
pkgrel=1
pkgdesc="GNOME menu specifications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glib2')
makedepends=('intltool' 'gobject-introspection')
license=('GPL' 'LGPL')
diff --git a/extra/gnome-mines/PKGBUILD b/extra/gnome-mines/PKGBUILD
index de78fbf93..cdc9cb1fe 100644
--- a/extra/gnome-mines/PKGBUILD
+++ b/extra/gnome-mines/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-mines
pkgver=3.10.1
pkgrel=1
pkgdesc="Clear hidden mines from a minefield"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/gnome-nettool/PKGBUILD b/extra/gnome-nettool/PKGBUILD
index 447ee5733..e57680e55 100644
--- a/extra/gnome-nettool/PKGBUILD
+++ b/extra/gnome-nettool/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gnome-nettool
pkgver=3.8.1
pkgrel=1
pkgdesc="A Collection of GNOME3 Networking Tools."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
depends=(gtk3 libgtop dnsutils iputils dconf whois hicolor-icon-theme)
makedepends=(yelp-tools intltool nmap net-tools)
diff --git a/extra/gnome-nibbles/PKGBUILD b/extra/gnome-nibbles/PKGBUILD
index fb7de09bf..69b9e5af9 100644
--- a/extra/gnome-nibbles/PKGBUILD
+++ b/extra/gnome-nibbles/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-nibbles
pkgver=3.10.1
pkgrel=1
pkgdesc="Guide a worm around a maze"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'clutter-gtk' 'libcanberra' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/gnome-online-accounts/PKGBUILD b/extra/gnome-online-accounts/PKGBUILD
index 1bde0f79b..d048a670f 100644
--- a/extra/gnome-online-accounts/PKGBUILD
+++ b/extra/gnome-online-accounts/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-online-accounts
pkgver=3.10.1
pkgrel=2
pkgdesc="GNOME service to access online accounts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL')
depends=('webkitgtk' 'json-glib' 'libnotify' 'rest' 'hicolor-icon-theme' 'libsecret'
diff --git a/extra/gnome-perl/PKGBUILD b/extra/gnome-perl/PKGBUILD
index ae54a978f..62b340582 100644
--- a/extra/gnome-perl/PKGBUILD
+++ b/extra/gnome-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2
pkgver=1.042
pkgrel=9
pkgdesc="Perl bindings for libgnome"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/gnome-photos/PKGBUILD b/extra/gnome-photos/PKGBUILD
index b956ca0b9..de1e034b2 100644
--- a/extra/gnome-photos/PKGBUILD
+++ b/extra/gnome-photos/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-photos
pkgver=3.10.1
pkgrel=1
pkgdesc="Access, organize, and share your photos on GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="https://www.gnome.org/"
license=(GPL)
depends=(exempi gtk3 libexif librsvg babl gegl gnome-desktop gnome-online-accounts lcms2 tracker hicolor-icon-theme grilo)
diff --git a/extra/gnome-power-manager/PKGBUILD b/extra/gnome-power-manager/PKGBUILD
index 9e272cde5..5ae3c6c03 100644
--- a/extra/gnome-power-manager/PKGBUILD
+++ b/extra/gnome-power-manager/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-power-manager
pkgver=3.10.1
pkgrel=1
pkgdesc="System power information and statistics"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org/projects/gnome-power-manager/"
license=(GPL)
depends=(gtk3 upower dconf hicolor-icon-theme)
diff --git a/extra/gnome-python-desktop/PKGBUILD b/extra/gnome-python-desktop/PKGBUILD
index 67109ebef..137090b63 100644
--- a/extra/gnome-python-desktop/PKGBUILD
+++ b/extra/gnome-python-desktop/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=gnome-python-desktop
pkgname=('gnome-python-desktop' 'python2-gnomedesktop' 'python2-gnomekeyring' 'python2-gtop' 'python2-rsvg' 'python2-totem-plparser' 'python2-wnck')
pkgver=2.32.0
pkgrel=14
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
makedepends=('intltool' 'pkg-config' 'gnome-python' 'libgtop' 'totem-plparser' 'gnome-desktop2' 'librsvg' 'libwnck')
url="http://www.gnome.org"
diff --git a/extra/gnome-python-extras/PKGBUILD b/extra/gnome-python-extras/PKGBUILD
index 209d2779e..d7dcdb311 100644
--- a/extra/gnome-python-extras/PKGBUILD
+++ b/extra/gnome-python-extras/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gnome-python-extras
pkgname=('gnome-python-extras' 'python2-egg' 'python2-gtkspell')
pkgver=2.25.3
pkgrel=13
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.daa.com.au/~james/pygtk/"
license=('GPL' 'LGPL')
makedepends=('gtkspell' 'libgnomeui' 'python2' 'pygtk' 'gnome-python')
diff --git a/extra/gnome-python/PKGBUILD b/extra/gnome-python/PKGBUILD
index 6c5e587b2..351cff327 100644
--- a/extra/gnome-python/PKGBUILD
+++ b/extra/gnome-python/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=gnome-python
pkgname=('gnome-python' 'python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs')
pkgver=2.28.1
-pkgrel=8
-arch=(i686 x86_64)
+pkgrel=8.1
+arch=(i686 x86_64 mips64el)
license=('LGPL')
makedepends=('pygtk' 'pyorbit' 'libgnomeui')
url="http://www.pygtk.org/"
diff --git a/extra/gnome-robots/PKGBUILD b/extra/gnome-robots/PKGBUILD
index 3005b14eb..8667a9791 100644
--- a/extra/gnome-robots/PKGBUILD
+++ b/extra/gnome-robots/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-robots
pkgver=3.10.0
pkgrel=1
pkgdesc="Avoid the robots and make them crash into each other"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'libcanberra' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/gnome-screenshot/PKGBUILD b/extra/gnome-screenshot/PKGBUILD
index 811927a6a..19f80f98a 100644
--- a/extra/gnome-screenshot/PKGBUILD
+++ b/extra/gnome-screenshot/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-screenshot
pkgver=3.10.0
pkgrel=1
pkgdesc="Take pictures of your screen"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('dconf' 'gtk3' 'libcanberra')
diff --git a/extra/gnome-search-tool/PKGBUILD b/extra/gnome-search-tool/PKGBUILD
index d8278d917..30f780663 100644
--- a/extra/gnome-search-tool/PKGBUILD
+++ b/extra/gnome-search-tool/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-search-tool
pkgver=3.6.0
pkgrel=2
pkgdesc="Utility to search for files"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('nautilus' 'libsm')
diff --git a/extra/gnome-session/PKGBUILD b/extra/gnome-session/PKGBUILD
index 7b4748870..1507a5a05 100644
--- a/extra/gnome-session/PKGBUILD
+++ b/extra/gnome-session/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-session
pkgver=3.10.1
pkgrel=1
pkgdesc="The GNOME Session Handler"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(GPL LGPL)
depends=(systemd dconf gsettings-desktop-schemas gtk3 gnome-desktop
hicolor-icon-theme json-glib libgl libsm libxtst upower)
diff --git a/extra/gnome-settings-daemon/PKGBUILD b/extra/gnome-settings-daemon/PKGBUILD
index d34eeb742..e3147ba0f 100644
--- a/extra/gnome-settings-daemon/PKGBUILD
+++ b/extra/gnome-settings-daemon/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-settings-daemon
pkgver=3.10.1
pkgrel=1
pkgdesc="The GNOME Settings daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('dconf' 'gnome-desktop' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'libcanberra-pulse' 'libnotify'
'libsystemd' 'libwacom' 'pulseaudio' 'pulseaudio-alsa' 'upower' 'ibus' 'librsvg' 'libgweather' 'geocode-glib' 'geoclue2')
diff --git a/extra/gnome-shell/PKGBUILD b/extra/gnome-shell/PKGBUILD
index f7317b88f..98ab83245 100644
--- a/extra/gnome-shell/PKGBUILD
+++ b/extra/gnome-shell/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-shell
pkgver=3.10.1
pkgrel=1
pkgdesc="The next generation GNOME Shell"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://live.gnome.org/GnomeShell"
license=(GPL2)
depends=(accountsservice caribou evolution-data-server gcr gjs gnome-bluetooth gnome-menus
diff --git a/extra/gnome-speech/PKGBUILD b/extra/gnome-speech/PKGBUILD
index 587ea9c6f..a7cdc3102 100644
--- a/extra/gnome-speech/PKGBUILD
+++ b/extra/gnome-speech/PKGBUILD
@@ -5,14 +5,15 @@ pkgname=gnome-speech
pkgver=0.4.25
pkgrel=2
pkgdesc="Gnome Text-to-Speech"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.gnome.org"
depends=('libbonobo')
-makedepends=('intltool' 'pkgconfig' 'espeak' 'java-access-bridge' 'openjdk6')
+makedepends=('intltool' 'pkgconfig' 'espeak')
+[ "$CARCH" != "mips64el" ] && makedepends+=('java-access-bridge' 'openjdk6')
optdepends=('espeak: Text to speech engine'
- 'festival: Text to speech engine'
- 'java-access-bridge: Speech support for java')
+ 'festival: Text to speech engine')
+[ "$CARCH" != "mips64el" ] && optdepends+=('java-access-bridge: Speech support for java')
source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.4/${pkgname}-${pkgver}.tar.bz2")
md5sums=('89cbc23fc131c33396c0346085759f63')
diff --git a/extra/gnome-system-log/PKGBUILD b/extra/gnome-system-log/PKGBUILD
index 4ee48eff7..ef076f48f 100644
--- a/extra/gnome-system-log/PKGBUILD
+++ b/extra/gnome-system-log/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-system-log
pkgver=3.9.90
pkgrel=1
pkgdesc="View your system logs"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('dconf' 'gtk3')
diff --git a/extra/gnome-system-monitor/PKGBUILD b/extra/gnome-system-monitor/PKGBUILD
index 629ea4b7d..dc6a5f6be 100644
--- a/extra/gnome-system-monitor/PKGBUILD
+++ b/extra/gnome-system-monitor/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-system-monitor
pkgver=3.10.1
pkgrel=1
pkgdesc="A system monitor for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('libgtop' 'gtkmm3' 'librsvg' 'gnome-icon-theme' 'systemd')
makedepends=('itstool' 'docbook-xsl' 'intltool')
diff --git a/extra/gnome-terminal/PKGBUILD b/extra/gnome-terminal/PKGBUILD
index 1ac2554d5..a78d84d64 100644
--- a/extra/gnome-terminal/PKGBUILD
+++ b/extra/gnome-terminal/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-terminal
pkgver=3.10.1
pkgrel=1
pkgdesc="The GNOME Terminal Emulator"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
depends=(vte3 gsettings-desktop-schemas dconf)
makedepends=(gnome-doc-utils intltool itstool docbook-xsl desktop-file-utils gconf libnautilus-extension)
diff --git a/extra/gnome-tetravex/PKGBUILD b/extra/gnome-tetravex/PKGBUILD
index 801b62419..7ec148214 100644
--- a/extra/gnome-tetravex/PKGBUILD
+++ b/extra/gnome-tetravex/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-tetravex
pkgver=3.10.1
pkgrel=1
pkgdesc="Complete the puzzle by matching numbered tiles"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/gnome-themes-standard/PKGBUILD b/extra/gnome-themes-standard/PKGBUILD
index 65b3b5855..4f8496a58 100644
--- a/extra/gnome-themes-standard/PKGBUILD
+++ b/extra/gnome-themes-standard/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-themes-standard
pkgver=3.10.0
pkgrel=1
pkgdesc="Default themes for the GNOME desktop"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=(GPL2)
depends=(cantarell-fonts ttf-dejavu librsvg)
diff --git a/extra/gnome-user-share/PKGBUILD b/extra/gnome-user-share/PKGBUILD
index 00c5babbc..b86afc0a3 100644
--- a/extra/gnome-user-share/PKGBUILD
+++ b/extra/gnome-user-share/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-user-share
pkgver=3.10.0
pkgrel=1
pkgdesc="Easy to use user-level file sharing for GNOME."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.gnome.org/pub/GNOME/sources/gnome-user-share/"
license=('GPL')
depends=('mod_dnssd' 'dconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'gnome-bluetooth' 'libcanberra')
diff --git a/extra/gnome-vfs-perl/PKGBUILD b/extra/gnome-vfs-perl/PKGBUILD
index 9af97014d..0f6acbe2a 100644
--- a/extra/gnome-vfs-perl/PKGBUILD
+++ b/extra/gnome-vfs-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2-VFS
pkgver=1.081
pkgrel=7
pkgdesc="Gnome2-VFS perl bindings for gnome-vfs"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/gnome-vfs/PKGBUILD b/extra/gnome-vfs/PKGBUILD
index 47e12b2a3..1dde8db7e 100644
--- a/extra/gnome-vfs/PKGBUILD
+++ b/extra/gnome-vfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-vfs
pkgver=2.24.4
pkgrel=7
pkgdesc="The GNOME Virtual File System"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gconf' 'bzip2' 'avahi' 'smbclient' 'gnome-mime-data' 'krb5' 'gnutls' 'libgcrypt')
makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gnome-common')
diff --git a/extra/gnome-vfsmm/PKGBUILD b/extra/gnome-vfsmm/PKGBUILD
index 94c08f4e1..8fabcea98 100644
--- a/extra/gnome-vfsmm/PKGBUILD
+++ b/extra/gnome-vfsmm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gnome-vfsmm
pkgver=2.26.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A C++ wrapper for gnome-vfs."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gnome-vfs' 'glibmm')
makedepends=('pkgconfig' 'doxygen')
diff --git a/extra/gnome-weather/PKGBUILD b/extra/gnome-weather/PKGBUILD
index b18f8682c..8da9ebd56 100644
--- a/extra/gnome-weather/PKGBUILD
+++ b/extra/gnome-weather/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-weather
pkgver=3.10.1
pkgrel=1
pkgdesc="Access current weather conditions and forecasts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="https://www.gnome.org/"
license=(GPL)
depends=(gtk3 gjs libgweather)
diff --git a/extra/gnomecanvas-perl/PKGBUILD b/extra/gnomecanvas-perl/PKGBUILD
index 677e38726..5a6cd5a5d 100644
--- a/extra/gnomecanvas-perl/PKGBUILD
+++ b/extra/gnomecanvas-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2-Canvas
pkgver=1.002
pkgrel=11
pkgdesc="Gnome2-Canvas perl bindings for libgnomecanvas"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/gnu-netcat/PKGBUILD b/extra/gnu-netcat/PKGBUILD
index a436a9d72..7c610c9ca 100644
--- a/extra/gnu-netcat/PKGBUILD
+++ b/extra/gnu-netcat/PKGBUILD
@@ -3,10 +3,10 @@
pkgname=gnu-netcat
pkgver=0.7.1
-pkgrel=4
+pkgrel=4.1
pkgdesc="GNU rewrite of netcat, the network piping application"
depends=('glibc' 'texinfo')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://netcat.sourceforge.net/"
license=('GPL')
replaces=('netcat')
diff --git a/extra/gnucash/PKGBUILD b/extra/gnucash/PKGBUILD
index ed4d7e3f7..2730148d9 100644
--- a/extra/gnucash/PKGBUILD
+++ b/extra/gnucash/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnucash
pkgver=2.4.13
pkgrel=2
pkgdesc="A personal and small-business financial-accounting application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnucash.org"
license=("GPL")
depends=('gtkhtml' 'slib' 'goffice0.8' 'libgnomeui' 'libdbi-drivers' 'aqbanking' 'desktop-file-utils')
diff --git a/extra/gnugo/PKGBUILD b/extra/gnugo/PKGBUILD
index db803a1b9..93053049c 100644
--- a/extra/gnugo/PKGBUILD
+++ b/extra/gnugo/PKGBUILD
@@ -6,11 +6,11 @@
pkgname=gnugo
pkgver=3.8
-pkgrel=3
+pkgrel=3.2
pkgdesc='Program that plays the game of Go'
url='http://www.gnu.org/software/gnugo/'
license=('GPL3' 'custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ncurses')
source=("http://ftp.gnu.org/gnu/gnugo/${pkgname}-${pkgver}.tar.gz"
'LICENSE')
diff --git a/extra/gnumeric/PKGBUILD b/extra/gnumeric/PKGBUILD
index a3128b59b..f4568beb9 100644
--- a/extra/gnumeric/PKGBUILD
+++ b/extra/gnumeric/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnumeric
pkgver=1.12.8
pkgrel=1
pkgdesc="A GNOME Spreadsheet Program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org/projects/gnumeric/"
license=('GPL')
depends=('goffice' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/gnuplot/PKGBUILD b/extra/gnuplot/PKGBUILD
index c84117dc0..9cda1fb2e 100644
--- a/extra/gnuplot/PKGBUILD
+++ b/extra/gnuplot/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gnuplot
pkgver=4.6.3
pkgrel=1
pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnuplot.info"
license=('custom')
depends=('readline' 'gd' 'wxgtk' 'cairo' 'libjpeg' 'lua')
diff --git a/extra/gnutls/PKGBUILD b/extra/gnutls/PKGBUILD
index 766de0d52..0d0898891 100644
--- a/extra/gnutls/PKGBUILD
+++ b/extra/gnutls/PKGBUILD
@@ -6,13 +6,14 @@ pkgname=gnutls
pkgver=3.2.6
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3' 'LGPL2.1')
url="http://www.gnutls.org/"
install=gnutls.install
options=('!zipman')
depends=('gcc-libs' 'libtasn1' 'readline' 'zlib' 'nettle' 'p11-kit')
-makedepends=('valgrind' 'strace' 'datefudge')
+makedepends=('strace' 'datefudge')
+[ "$CARCH" = "mips64el" ] || makedepends+=('valgrind')
source=(ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/${pkgname}-${pkgver}.tar.xz{,.sig})
md5sums=('1dfe5188df1641754056d853725ef785'
'SKIP')
diff --git a/extra/gob2/PKGBUILD b/extra/gob2/PKGBUILD
index b2f85a97f..a00431b14 100644
--- a/extra/gob2/PKGBUILD
+++ b/extra/gob2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gob2
pkgver=2.0.19
pkgrel=1
pkgdesc="GTK Object Builder (GOB) is a simple preprocessor for easily creating GTK objects"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('glib2')
url="http://www.5z.com/jirka/gob.html"
diff --git a/extra/gobject-introspection/PKGBUILD b/extra/gobject-introspection/PKGBUILD
index 42848832a..4795673fe 100644
--- a/extra/gobject-introspection/PKGBUILD
+++ b/extra/gobject-introspection/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.38.0
pkgrel=1
pkgdesc="Introspection system for GObject-based libraries"
url="https://live.gnome.org/GObjectIntrospection"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
license=('LGPL' 'GPL')
depends=('glib2' 'python2' 'python2-mako')
makedepends=('cairo')
diff --git a/extra/goffice/PKGBUILD b/extra/goffice/PKGBUILD
index 9a87fca37..c73c95e4b 100644
--- a/extra/goffice/PKGBUILD
+++ b/extra/goffice/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=goffice
pkgver=0.10.8
pkgrel=1
pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org"
license=('GPL')
makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gobject-introspection')
diff --git a/extra/goffice0.8/PKGBUILD b/extra/goffice0.8/PKGBUILD
index 6565fd44f..966fd20ed 100644
--- a/extra/goffice0.8/PKGBUILD
+++ b/extra/goffice0.8/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=goffice0.8
pkgver=0.8.17
pkgrel=2
pkgdesc="A library of document-centric objects and utilities built on top of GLib and Gtk+"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org"
license=('GPL')
depends=('gtk2' 'gconf' 'libgsf')
diff --git a/extra/gpart/PKGBUILD b/extra/gpart/PKGBUILD
index 65c5e9fa5..3229f4205 100644
--- a/extra/gpart/PKGBUILD
+++ b/extra/gpart/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=gpart
pkgver=0.1h
-pkgrel=5
+pkgrel=5.1
pkgdesc="Partition table rescue/guessing tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.stud.uni-hannover.de/user/76201/gpart/"
license=('GPL')
depends=('glibc')
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD
index e0b547ba1..877de6c6d 100644
--- a/extra/gparted/PKGBUILD
+++ b/extra/gparted/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gparted
pkgver=0.16.2
pkgrel=1
pkgdesc="A Partition Magic clone, frontend to GNU Parted"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gparted.sourceforge.net"
license=('GPL')
depends=('parted' 'gtkmm' 'hicolor-icon-theme')
diff --git a/extra/gperf/PKGBUILD b/extra/gperf/PKGBUILD
index 7c3ec52bc..5e8c02319 100644
--- a/extra/gperf/PKGBUILD
+++ b/extra/gperf/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gperf
pkgver=3.0.4
-pkgrel=4
+pkgrel=4.3
pkgdesc="Perfect hash function generator"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://www.gnu.org/software/gperf/"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
diff --git a/extra/gphoto2/PKGBUILD b/extra/gphoto2/PKGBUILD
index 468b3f8be..b53c67c02 100644
--- a/extra/gphoto2/PKGBUILD
+++ b/extra/gphoto2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gphoto2
pkgver=2.5.2
pkgrel=1
pkgdesc="A digital camera download and access program."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gphoto.org"
license=('GPL' 'LGPL')
depends=('libgphoto2' 'popt' 'readline')
diff --git a/extra/gpsd/PKGBUILD b/extra/gpsd/PKGBUILD
index 662c7e0bb..f0f11325c 100644
--- a/extra/gpsd/PKGBUILD
+++ b/extra/gpsd/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=gpsd
pkgver=3.9
pkgrel=4
pkgdesc="GPS daemon and library to support USB/serial GPS devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://catb.org/gpsd/"
license=('BSD')
depends=('python2' 'libusb' 'bluez-libs' 'desktop-file-utils')
diff --git a/extra/gptfdisk/PKGBUILD b/extra/gptfdisk/PKGBUILD
index 13d8320bf..cfc55d56f 100644
--- a/extra/gptfdisk/PKGBUILD
+++ b/extra/gptfdisk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gptfdisk
pkgver=0.8.8
pkgrel=2
pkgdesc="A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.rodsbooks.com/gdisk/"
license=('GPL2')
depends=('gcc-libs' 'util-linux' 'popt' 'icu')
diff --git a/extra/grantlee/PKGBUILD b/extra/grantlee/PKGBUILD
index 625c16b7b..3e5bdf542 100644
--- a/extra/grantlee/PKGBUILD
+++ b/extra/grantlee/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=grantlee
pkgver=0.3.0
pkgrel=2
pkgdesc="A string template engine based on the Django template system and written in Qt"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gitorious.org/grantlee/pages/Home"
license=('LGPL3')
depends=('qt4')
diff --git a/extra/graphicsmagick/PKGBUILD b/extra/graphicsmagick/PKGBUILD
index a8fb9710b..6c9ac7775 100644
--- a/extra/graphicsmagick/PKGBUILD
+++ b/extra/graphicsmagick/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.3.18
pkgrel=3
pkgdesc='Image processing system'
url='http://www.graphicsmagick.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MIT')
makedepends=('perl')
depends=('bzip2' 'freetype2' 'ghostscript' 'jasper' 'lcms2' 'xz'
diff --git a/extra/graphite/PKGBUILD b/extra/graphite/PKGBUILD
index 73f145671..f948f5b09 100644
--- a/extra/graphite/PKGBUILD
+++ b/extra/graphite/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=graphite
pkgver=1.2.3
pkgrel=1
epoch=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.palaso.org/projects/graphitedev"
pkgdesc='reimplementation of the SIL Graphite text processing engine'
license=('LGPL' 'GPL' 'custom')
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD
index 16c4030c7..d648d2d5b 100644
--- a/extra/graphviz/PKGBUILD
+++ b/extra/graphviz/PKGBUILD
@@ -9,19 +9,23 @@ pkgrel=2
pkgdesc='Graph visualization software'
url='http://www.graphviz.org/'
license=('CPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
-makedepends=('swig' 'mono' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'r' 'tk' 'qt4')
-optdepends=('mono: sharp bindings'
- 'guile: guile bindings'
+makedepends=('swig' 'guile' 'lua51' 'ocaml' 'perl' 'php' 'python2' 'ruby' 'tk' 'qt4')
+optdepends=('guile: guile bindings'
'lua51: lua bindings'
'ocaml: ocaml bindings'
'perl: perl bindings'
'php: php bindings'
'python2: python bindings'
- 'r: r bindings'
+ 'ruby: ruby bindings'
'tcl: tcl bindings'
'qt4: gvedit')
+if [ "$CARCH" != "mips64el" ]; then
+ makedepends+=('mono' 'r')
+ optdepends+=('mono: sharp bindings'
+ 'r: r bindings')
+fi
source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
'dotty.patch')
sha1sums=('5a0c00bebe7f4c7a04523db21f40966dc9f0d441'
diff --git a/extra/grilo-plugins/PKGBUILD b/extra/grilo-plugins/PKGBUILD
index 629bf40c3..acf83faf6 100644
--- a/extra/grilo-plugins/PKGBUILD
+++ b/extra/grilo-plugins/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.9
pkgrel=2
pkgdesc="Plugins for Grilo"
url="http://www.gnome.org"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(LGPL)
depends=(grilo sqlite libgcrypt)
makedepends=(gupnp-av libgdata gmime rest libtracker-sparql totem-plparser libdmapsharing
diff --git a/extra/grilo/PKGBUILD b/extra/grilo/PKGBUILD
index 575a64a97..d5707a9c2 100644
--- a/extra/grilo/PKGBUILD
+++ b/extra/grilo/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.7
pkgrel=1
pkgdesc="Framework that provides access to various sources of multimedia content"
url="http://www.gnome.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk3' 'libxml2' 'libsoup' 'liboauth')
makedepends=('gobject-introspection' 'gtk-doc' 'vala' 'intltool')
diff --git a/extra/grip/PKGBUILD b/extra/grip/PKGBUILD
index b4eab62a0..22a145221 100644
--- a/extra/grip/PKGBUILD
+++ b/extra/grip/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=grip
pkgver=3.3.1
pkgrel=10
pkgdesc="A cd-player and ripper for the Gnome desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://sourceforge.net/projects/grip/"
depends=('vte' 'curl' 'libgnomeui' 'id3lib' 'cdparanoia')
@@ -23,7 +23,7 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=$CHOST --host=$CHOST
make
}
diff --git a/extra/gsasl/PKGBUILD b/extra/gsasl/PKGBUILD
index 2c9c54ebd..d7f0999c6 100644
--- a/extra/gsasl/PKGBUILD
+++ b/extra/gsasl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gsasl
pkgver=1.8.0
pkgrel=3
pkgdesc="Simple Authentication and Security Layer framework and a few common SASL mechanisms"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" "mips64el")
url="http://josefsson.org/gsasl/"
license=('GPL')
depends=('gnutls' 'libidn' 'krb5' 'libgcrypt')
diff --git a/extra/gsl/PKGBUILD b/extra/gsl/PKGBUILD
index a13c81262..617c996fd 100644
--- a/extra/gsl/PKGBUILD
+++ b/extra/gsl/PKGBUILD
@@ -11,7 +11,7 @@ url="http://www.gnu.org/software/gsl/gsl.html"
source=("http://ftp.gnu.org/gnu/gsl/$pkgname-$pkgver.tar.gz")
install=gsl.install
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc' 'bash')
sha1sums=('d914f84b39a5274b0a589d9b83a66f44cd17ca8e')
diff --git a/extra/gsm/PKGBUILD b/extra/gsm/PKGBUILD
index b31a794ac..0f12c47a2 100644
--- a/extra/gsm/PKGBUILD
+++ b/extra/gsm/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=gsm
pkgver=1.0.13
-pkgrel=7
+pkgrel=7.1
pkgdesc="Shared libraries for GSM 06.10 lossy speech compression"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.quut.com/gsm/"
license=('custom')
depends=('glibc')
diff --git a/extra/gssdp/PKGBUILD b/extra/gssdp/PKGBUILD
index 5dd71a169..0f27364d8 100644
--- a/extra/gssdp/PKGBUILD
+++ b/extra/gssdp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gssdp
pkgver=0.14.6
pkgrel=1
pkgdesc="A GObject-based API for handling resource discovery and announcement over SSDP"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://gupnp.org/"
license=(LGPL)
depends=(libsoup)
diff --git a/extra/gst-libav/PKGBUILD b/extra/gst-libav/PKGBUILD
index e3cee861d..e3167fb81 100644
--- a/extra/gst-libav/PKGBUILD
+++ b/extra/gst-libav/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gst-libav
pkgver=1.2.0
pkgrel=1
pkgdesc="Gstreamer libav Plugin"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://gstreamer.freedesktop.org/"
depends=('gst-plugins-base-libs' 'bzip2')
diff --git a/extra/gst-plugins-base/PKGBUILD b/extra/gst-plugins-base/PKGBUILD
index 6783549f8..0969a6a00 100644
--- a/extra/gst-plugins-base/PKGBUILD
+++ b/extra/gst-plugins-base/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('gst-plugins-base-libs' 'gst-plugins-base')
pkgver=1.2.0
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Base Plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
options=(!emptydirs)
diff --git a/extra/gst-plugins-good/PKGBUILD b/extra/gst-plugins-good/PKGBUILD
index 140548a4c..dcd044f02 100644
--- a/extra/gst-plugins-good/PKGBUILD
+++ b/extra/gst-plugins-good/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gst-plugins-good
pkgver=1.2.0
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Good Plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('libpulse' 'jack' 'libsoup' 'gst-plugins-base-libs' 'wavpack' 'aalib' 'taglib' 'libdv' 'libshout' 'libvpx' 'gdk-pixbuf2' 'libcaca' 'libavc1394' 'libiec61883' 'libxdamage' 'v4l-utils' 'cairo')
diff --git a/extra/gst-plugins-ugly/PKGBUILD b/extra/gst-plugins-ugly/PKGBUILD
index 1e88aef10..87ea800c9 100644
--- a/extra/gst-plugins-ugly/PKGBUILD
+++ b/extra/gst-plugins-ugly/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gst-plugins-ugly
pkgver=1.2.0
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Ugly Plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('gst-plugins-base-libs' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
diff --git a/extra/gstreamer/PKGBUILD b/extra/gstreamer/PKGBUILD
index c0df3943c..47a882b6e 100644
--- a/extra/gstreamer/PKGBUILD
+++ b/extra/gstreamer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gstreamer
pkgver=1.2.0
pkgrel=1
pkgdesc="GStreamer Multimedia Framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('libxml2' 'glib2')
@@ -17,8 +17,8 @@ sha256sums=('94af5274299f845adf41cc504e0209b269acab7721293f49850fea27b4099463')
build() {
cd "${srcdir}/gstreamer-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
- --with-package-name="GStreamer (Arch Linux)" \
- --with-package-origin="http://www.archlinux.org/" \
+ --with-package-name="GStreamer (Parabola)" \
+ --with-package-origin="https://parabolagnulinux.org/" \
--enable-gtk-doc --disable-static
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
diff --git a/extra/gstreamer0.10-base/PKGBUILD b/extra/gstreamer0.10-base/PKGBUILD
index 07d22f7f5..bcc6a7b95 100644
--- a/extra/gstreamer0.10-base/PKGBUILD
+++ b/extra/gstreamer0.10-base/PKGBUILD
@@ -4,8 +4,8 @@
pkgbase=('gstreamer0.10-base')
pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
pkgver=0.10.36
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.2
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10>=0.10.35' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
options=(!emptydirs)
@@ -24,8 +24,8 @@ build() {
cd "${srcdir}/gst-plugins-base-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --enable-experimental --disable-gnome_vfs \
- --with-package-name="GStreamer Base Plugins (Archlinux)" \
- --with-package-origin="http://www.archlinux.org/"
+ --with-package-name="GStreamer Base Plugins (Parabola)" \
+ --with-package-origin="https://parabolagnulinux.org/"
make
sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
diff --git a/extra/gstreamer0.10-ffmpeg/PKGBUILD b/extra/gstreamer0.10-ffmpeg/PKGBUILD
index 2014a3920..fa183d3dc 100644
--- a/extra/gstreamer0.10-ffmpeg/PKGBUILD
+++ b/extra/gstreamer0.10-ffmpeg/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gstreamer0.10-ffmpeg
pkgver=0.10.13
-pkgrel=1
+pkgrel=1.1
pkgdesc="Gstreamer FFMpeg Plugin"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gstreamer0.10-base' 'bzip2')
makedepends=('pkgconfig' 'yasm' 'sdl')
diff --git a/extra/gstreamer0.10-good/PKGBUILD b/extra/gstreamer0.10-good/PKGBUILD
index d4c634a26..4831eb827 100644
--- a/extra/gstreamer0.10-good/PKGBUILD
+++ b/extra/gstreamer0.10-good/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gstreamer0.10-good
pkgname=('gstreamer0.10-good' 'gstreamer0.10-good-plugins')
pkgver=0.10.31
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base' 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv' 'flac' 'gconf' 'wavpack' 'taglib' 'libsoup-gnome' 'v4l-utils' 'libcaca' 'bzip2' 'gdk-pixbuf2' 'libpulse' 'jack' 'udev' 'gtk-doc')
url="http://gstreamer.freedesktop.org/"
@@ -31,8 +31,8 @@ build() {
--disable-schemas-install \
--disable-hal \
--disable-esd \
- --with-package-name="GStreamer Good Plugins (Archlinux)" \
- --with-package-origin="http://www.archlinux.org/"
+ --with-package-name="GStreamer Good Plugins (Parabola)" \
+ --with-package-origin="https://parabolagnulinux.org/"
make
sed -e 's/gst sys ext/gst/' -i Makefile
diff --git a/extra/gstreamer0.10-python/PKGBUILD b/extra/gstreamer0.10-python/PKGBUILD
index eca0f53e3..d1f5d324e 100644
--- a/extra/gstreamer0.10-python/PKGBUILD
+++ b/extra/gstreamer0.10-python/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gstreamer0.10-python
pkgver=0.10.22
-pkgrel=1
+pkgrel=1.1
pkgdesc="Python bindings for GStreamer 0.10"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('pygobject>=2.20.0' 'gstreamer0.10-base>=0.10.32')
diff --git a/extra/gstreamer0.10-ugly/PKGBUILD b/extra/gstreamer0.10-ugly/PKGBUILD
index 70dffd44b..0ba48c793 100644
--- a/extra/gstreamer0.10-ugly/PKGBUILD
+++ b/extra/gstreamer0.10-ugly/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gstreamer0.10-ugly
pkgname=('gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins')
pkgver=0.10.19
pkgrel=6
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.34' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
url="http://gstreamer.freedesktop.org/"
@@ -22,8 +22,8 @@ build() {
patch -Np1 -i "${srcdir}/cdio-cd-text-api.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --enable-experimental \
- --with-package-name="GStreamer Ugly Plugins (Archlinux)" \
- --with-package-origin="http://www.archlinux.org/"
+ --with-package-name="GStreamer Ugly Plugins (Parabola GNU/Linux-libre)" \
+ --with-package-origin="https://parabolagnulinux.org/"
make
sed -e 's/gst-libs gst ext/gst-libs gst/' -i Makefile
}
diff --git a/extra/gstreamer0.10/PKGBUILD b/extra/gstreamer0.10/PKGBUILD
index 8cac91a6e..ddd359dc0 100644
--- a/extra/gstreamer0.10/PKGBUILD
+++ b/extra/gstreamer0.10/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gstreamer0.10
pkgver=0.10.36
pkgrel=2
pkgdesc="GStreamer Multimedia Framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.com"
depends=('libxml2' 'glib2')
@@ -22,8 +22,8 @@ build() {
sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.ac
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
- --with-package-name="GStreamer (Archlinux)" \
- --with-package-origin="http://www.archlinux.org/" \
+ --with-package-name="GStreamer (Parabola)" \
+ --with-package-origin="https://parabolagnulinux.org/" \
--enable-gtk-doc --disable-static
make
}
diff --git a/extra/gthumb/PKGBUILD b/extra/gthumb/PKGBUILD
index 7227239fe..c22e4f301 100644
--- a/extra/gthumb/PKGBUILD
+++ b/extra/gthumb/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gthumb
pkgver=3.2.4
pkgrel=1
pkgdesc="Image browser and viewer for the GNOME Desktop"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
url="http://live.gnome.org/gthumb"
depends=(desktop-file-utils hicolor-icon-theme dconf librsvg clutter-gtk
diff --git a/extra/gtk-engines/PKGBUILD b/extra/gtk-engines/PKGBUILD
index 45667d758..a1b834520 100644
--- a/extra/gtk-engines/PKGBUILD
+++ b/extra/gtk-engines/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gtk-engines
pkgver=2.21.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Theme engines for GTK+ 2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('gtk2>=2.22.0')
makedepends=('pkg-config' 'intltool')
diff --git a/extra/gtk-vnc/PKGBUILD b/extra/gtk-vnc/PKGBUILD
index 1433eea45..f44c7b0d6 100644
--- a/extra/gtk-vnc/PKGBUILD
+++ b/extra/gtk-vnc/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=gtk-vnc
pkgver=0.5.2
pkgrel=2
pkgdesc="A VNC viewer widget for GTK"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/gtk-vnc"
license=('LGPL')
depends=('libgcrypt' 'gtk3')
@@ -34,6 +34,6 @@ build() {
}
package() {
- make -C gtk2-build DESTDIR="${pkgdir}" install
- make -C gtk3-build DESTDIR="${pkgdir}" install
+ make -j1 -C gtk2-build DESTDIR="${pkgdir}" install
+ make -j1 -C gtk3-build DESTDIR="${pkgdir}" install
}
diff --git a/extra/gtk-xfce-engine/PKGBUILD b/extra/gtk-xfce-engine/PKGBUILD
index 346b15ba1..33e970617 100644
--- a/extra/gtk-xfce-engine/PKGBUILD
+++ b/extra/gtk-xfce-engine/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=gtk-xfce-engine
pkgname=('gtk2-xfce-engine' 'gtk3-xfce-engine')
pkgver=3.0.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/gtk/PKGBUILD b/extra/gtk/PKGBUILD
index 24b355d64..b38894662 100644
--- a/extra/gtk/PKGBUILD
+++ b/extra/gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gtk
pkgver=1.2.10
pkgrel=13
pkgdesc="GTK+ is a multi-platform toolkit (v1)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('LGPL')
depends=('libxi' 'glib' 'sh')
diff --git a/extra/gtk2-perl/PKGBUILD b/extra/gtk2-perl/PKGBUILD
index 1dcdaa2d8..749a698de 100644
--- a/extra/gtk2-perl/PKGBUILD
+++ b/extra/gtk2-perl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtk2-perl
pkgver=1.247
pkgrel=2
pkgdesc="Perl bindings for GTK+ 2.x"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/gtk2/PKGBUILD b/extra/gtk2/PKGBUILD
index 7beeb22ae..2ae904e9e 100644
--- a/extra/gtk2/PKGBUILD
+++ b/extra/gtk2/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gtk2
pkgname=('gtk2' 'gtk-update-icon-cache')
pkgver=2.24.22
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage'
'shared-mime-info' 'cairo' 'libcups' 'gdk-pixbuf2' 'gobject-introspection')
diff --git a/extra/gtk3/PKGBUILD b/extra/gtk3/PKGBUILD
index 11ec4084f..819910bd3 100644
--- a/extra/gtk3/PKGBUILD
+++ b/extra/gtk3/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtk3
pkgver=3.10.2
pkgrel=1
pkgdesc="GObject-based multi-platform GUI toolkit (v3)"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gtk.org/"
install=gtk3.install
depends=(atk cairo gtk-update-icon-cache libcups libxcursor libxinerama libxrandr libxi
diff --git a/extra/gtkglext/PKGBUILD b/extra/gtkglext/PKGBUILD
index 500e2bdf5..7b6448c5f 100644
--- a/extra/gtkglext/PKGBUILD
+++ b/extra/gtkglext/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gtkglext
pkgver=1.2.0
-pkgrel=9
+pkgrel=9.1
pkgdesc="opengl extensions for gtk2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkglext.sourceforge.net/"
license=('LGPL')
depends=('gtk2' 'glu' 'libxmu' 'pangox-compat')
@@ -20,9 +20,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/gtk2.20.patch"
- sed '/AC_PATH_XTRA/d' -i configure.in
- autoreconf --force --install
./configure --prefix=/usr \
--disable-static
make
diff --git a/extra/gtkglextmm/PKGBUILD b/extra/gtkglextmm/PKGBUILD
index 6a0857d6f..2c7f02d66 100644
--- a/extra/gtkglextmm/PKGBUILD
+++ b/extra/gtkglextmm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gtkglextmm
pkgver=1.2.0
pkgrel=9
pkgdesc="Cpp C++ bindings for gtkglext"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkglext.sourceforge.net/"
depends=('gtkmm' 'gtkglext')
makedepends=('mesa')
diff --git a/extra/gtkhtml/PKGBUILD b/extra/gtkhtml/PKGBUILD
index bde1e60ef..fb04f4c46 100644
--- a/extra/gtkhtml/PKGBUILD
+++ b/extra/gtkhtml/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gtkhtml
pkgver=3.32.2
-pkgrel=3
+pkgrel=3.2
pkgdesc="A lightweight HTML renderer/editor widget for GTK2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gconf' 'gtk2' 'gnome-icon-theme' 'enchant' 'iso-codes' 'libsoup')
makedepends=('intltool')
@@ -18,7 +18,7 @@ build() {
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/gtkhtml \
--localstatedir=/var --disable-static \
- --disable-deprecated-warning-flags
+ --disable-deprecated-warning-flags LDFLAGS="$LDFLAGS -lgthread-2.0"
make
}
diff --git a/extra/gtkhtml4/PKGBUILD b/extra/gtkhtml4/PKGBUILD
index 03c02e7d7..1666f222d 100644
--- a/extra/gtkhtml4/PKGBUILD
+++ b/extra/gtkhtml4/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=gtkhtml
pkgver=4.6.6
pkgrel=1
pkgdesc="A lightweight HTML renderer/editor widget for GTK3"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gtk3' 'enchant' 'iso-codes' 'gnome-icon-theme' 'libsoup')
makedepends=('intltool')
diff --git a/extra/gtkimageview/PKGBUILD b/extra/gtkimageview/PKGBUILD
index bf565ee24..f5752f333 100644
--- a/extra/gtkimageview/PKGBUILD
+++ b/extra/gtkimageview/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=gtkimageview
pkgver=1.6.4
-pkgrel=3
+pkgrel=3.2
pkgdesc="Simple image viewer widget for GTK2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://trac.bjourne.webfactional.com/"
license=('LGPL2.1')
depends=('gtk2')
diff --git a/extra/gtkmathview/0005-gcc-4.7-build-fixes.patch b/extra/gtkmathview/0005-gcc-4.7-build-fixes.patch
new file mode 100644
index 000000000..bae680af3
--- /dev/null
+++ b/extra/gtkmathview/0005-gcc-4.7-build-fixes.patch
@@ -0,0 +1,57 @@
+Index: b/src/frontend/common/TemplateBuilder.hh
+===================================================================
+--- a/src/frontend/common/TemplateBuilder.hh
++++ b/src/frontend/common/TemplateBuilder.hh
+@@ -47,12 +47,12 @@
+ SmartPtr<typename ElementBuilder::type>
+ getElement(const typename Model::Element& el) const
+ {
+- if (SmartPtr<typename ElementBuilder::type> elem = smart_cast<typename ElementBuilder::type>(linkerAssoc(el)))
++ if (SmartPtr<typename ElementBuilder::type> elem = smart_cast<typename ElementBuilder::type>(this->linkerAssoc(el)))
+ return elem;
+ else
+ {
+- SmartPtr<typename ElementBuilder::type> elem = ElementBuilder::type::create(ElementBuilder::getContext(*this));
+- linkerAdd(el, elem);
++ elem = ElementBuilder::type::create(ElementBuilder::getContext(*this));
++ this->linkerAdd(el, elem);
+ return elem;
+ }
+ }
+Index: b/src/frontend/common/TemplateElementIterator.hh
+===================================================================
+--- a/src/frontend/common/TemplateElementIterator.hh
++++ b/src/frontend/common/TemplateElementIterator.hh
+@@ -43,7 +43,7 @@
+ findValidNodeForward(const typename Model::Node& p0) const
+ {
+ for (typename Model::Node p = p0; p; p = Model::getNextSibling(p))
+- if (valid(p)) return Model::asElement(p);
++ if (this->valid(p)) return Model::asElement(p);
+ return typename Model::Element();
+ }
+
+Index: b/mathmlsvg/main.cc
+===================================================================
+--- a/mathmlsvg/main.cc
++++ b/mathmlsvg/main.cc
+@@ -18,6 +18,7 @@
+
+ #include <config.h>
+
++#include <unistd.h>
+ #include <cassert>
+ #include <cstring>
+ #include <fstream>
+Index: b/mathmlps/main.cc
+===================================================================
+--- a/mathmlps/main.cc
++++ b/mathmlps/main.cc
+@@ -18,6 +18,7 @@
+
+ #include <config.h>
+
++#include <unistd.h>
+ #include <cassert>
+ #include <cstring>
+ #include <fstream>
diff --git a/extra/gtkmathview/PKGBUILD b/extra/gtkmathview/PKGBUILD
index b09710324..da86e7d9b 100644
--- a/extra/gtkmathview/PKGBUILD
+++ b/extra/gtkmathview/PKGBUILD
@@ -6,21 +6,27 @@ pkgname=gtkmathview
pkgver=0.8.0
pkgrel=3
pkgdesc="C++ rendering engine for MathML documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://helm.cs.unibo.it/mml-widget/"
license=('GPL')
depends=('popt' 'gtk2' 't1lib' 'gmetadom')
source=("http://helm.cs.unibo.it/mml-widget/sources/${pkgname}-${pkgver}.tar.gz"
'gtkmathview-0.8.0-gcc44.patch'
- 'gtkmathview-0.8.0-cond-t1.patch')
+ 'gtkmathview-0.8.0-cond-t1.patch'
+ '0005-gcc-4.7-build-fixes.patch'
+ 'missingLib.diff')
md5sums=('b53564e553728d4b69f7d366dfeb5299'
'9fd261db865336c89ebf0f3545af9bc4'
- 'a79a27e00908e75712bc9453b669fe61')
+ 'a79a27e00908e75712bc9453b669fe61'
+ '9505d53cd858759ad8fb297c84395323'
+ '6b00674713f981a4ffe87f6e812da823')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-gcc44.patch
patch -Np1 -i ${srcdir}/gtkmathview-0.8.0-cond-t1.patch
+ patch -Np1 -i ${srcdir}/0005-gcc-4.7-build-fixes.patch
+ patch -Np1 -i ${srcdir}/missingLib.diff
./configure --prefix=/usr \
--sysconfdir=/etc
make
diff --git a/extra/gtkmathview/missingLib.diff b/extra/gtkmathview/missingLib.diff
new file mode 100644
index 000000000..4423ef6f7
--- /dev/null
+++ b/extra/gtkmathview/missingLib.diff
@@ -0,0 +1,925 @@
+Index: gtkmathview-0.8.0/mathmlps/Makefile.am
+===================================================================
+--- gtkmathview-0.8.0.orig/mathmlps/Makefile.am 2007-08-17 10:02:46.000000000 +0000
++++ gtkmathview-0.8.0/mathmlps/Makefile.am 2012-05-04 05:51:15.523662212 +0000
+@@ -17,6 +17,7 @@
+ $(GLIB_LIBS) \
+ $(top_builddir)/src/backend/ps/libmathview_backend_ps.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
++ $(top_builddir)/src/libmathview.la \
+ $(NULL)
+
+ INCLUDES = \
+Index: gtkmathview-0.8.0/mathmlps/Makefile.in
+===================================================================
+--- gtkmathview-0.8.0.orig/mathmlps/Makefile.in 2007-10-15 07:06:03.000000000 +0000
++++ gtkmathview-0.8.0/mathmlps/Makefile.in 2012-05-04 05:51:15.523662212 +0000
+@@ -59,7 +59,7 @@
+ mathmlps_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(top_builddir)/src/backend/ps/libmathview_backend_ps.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
+- $(am__DEPENDENCIES_1)
++ $(top_builddir)/src/libmathview.la $(am__DEPENDENCIES_1)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -188,6 +188,7 @@
+ PACKAGE_NAME = @PACKAGE_NAME@
+ PACKAGE_STRING = @PACKAGE_STRING@
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
+ PACKAGE_VERSION = @PACKAGE_VERSION@
+ PANGOX_CFLAGS = @PANGOX_CFLAGS@
+ PANGOX_LIBS = @PANGOX_LIBS@
+@@ -268,6 +269,7 @@
+ $(GLIB_LIBS) \
+ $(top_builddir)/src/backend/ps/libmathview_backend_ps.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
++ $(top_builddir)/src/libmathview.la \
+ $(NULL)
+
+ INCLUDES = \
+@@ -300,9 +302,9 @@
+ exit 1;; \
+ esac; \
+ done; \
+- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign mathmlps/Makefile'; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu mathmlps/Makefile'; \
+ cd $(top_srcdir) && \
+- $(AUTOMAKE) --foreign mathmlps/Makefile
++ $(AUTOMAKE) --gnu mathmlps/Makefile
+ .PRECIOUS: Makefile
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+Index: gtkmathview-0.8.0/mathmlsvg/Makefile.am
+===================================================================
+--- gtkmathview-0.8.0.orig/mathmlsvg/Makefile.am 2007-08-17 10:02:46.000000000 +0000
++++ gtkmathview-0.8.0/mathmlsvg/Makefile.am 2012-05-04 05:51:15.523662212 +0000
+@@ -30,6 +30,8 @@
+ $(GLIB_LIBS) \
+ $(top_builddir)/src/backend/svg/libmathview_backend_svg.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
++ $(top_builddir)/src/libmathview.la \
++ -lxml2 \
+ $(NULL)
+
+ INCLUDES = \
+Index: gtkmathview-0.8.0/mathmlsvg/Makefile.in
+===================================================================
+--- gtkmathview-0.8.0.orig/mathmlsvg/Makefile.in 2007-10-15 07:06:04.000000000 +0000
++++ gtkmathview-0.8.0/mathmlsvg/Makefile.in 2012-05-04 05:51:15.523662212 +0000
+@@ -63,7 +63,7 @@
+ mathmlsvg_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(top_builddir)/src/backend/svg/libmathview_backend_svg.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
+- $(am__DEPENDENCIES_1)
++ $(top_builddir)/src/libmathview.la $(am__DEPENDENCIES_1)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+@@ -192,6 +192,7 @@
+ PACKAGE_NAME = @PACKAGE_NAME@
+ PACKAGE_STRING = @PACKAGE_STRING@
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
+ PACKAGE_VERSION = @PACKAGE_VERSION@
+ PANGOX_CFLAGS = @PANGOX_CFLAGS@
+ PANGOX_LIBS = @PANGOX_LIBS@
+@@ -285,6 +286,8 @@
+ $(GLIB_LIBS) \
+ $(top_builddir)/src/backend/svg/libmathview_backend_svg.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
++ $(top_builddir)/src/libmathview.la \
++ -lxml2 \
+ $(NULL)
+
+ INCLUDES = \
+@@ -318,9 +321,9 @@
+ exit 1;; \
+ esac; \
+ done; \
+- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign mathmlsvg/Makefile'; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu mathmlsvg/Makefile'; \
+ cd $(top_srcdir) && \
+- $(AUTOMAKE) --foreign mathmlsvg/Makefile
++ $(AUTOMAKE) --gnu mathmlsvg/Makefile
+ .PRECIOUS: Makefile
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+Index: gtkmathview-0.8.0/viewer/Makefile.in
+===================================================================
+--- gtkmathview-0.8.0.orig/viewer/Makefile.in 2007-10-15 07:06:25.000000000 +0000
++++ gtkmathview-0.8.0/viewer/Makefile.in 2012-05-04 05:51:15.523662212 +0000
+@@ -81,6 +81,7 @@
+ mathmlviewer_static_DEPENDENCIES = $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(top_builddir)/src/widget/libgtkmathview_gmetadom.la \
++ $(top_builddir)/src/engine/boxml/libboxml.la \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1)
+ am_test_building_OBJECTS = test_building.$(OBJEXT)
+@@ -117,6 +118,7 @@
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(top_builddir)/src/backend/gtk/libmathview_backend_gtk.la \
++ $(top_builddir)/src/libmathview.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
+ $(am__DEPENDENCIES_1)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+@@ -254,6 +256,7 @@
+ PACKAGE_NAME = @PACKAGE_NAME@
+ PACKAGE_STRING = @PACKAGE_STRING@
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
+ PACKAGE_VERSION = @PACKAGE_VERSION@
+ PANGOX_CFLAGS = @PANGOX_CFLAGS@
+ PANGOX_LIBS = @PANGOX_LIBS@
+@@ -388,6 +391,767 @@
+ $(T1_LIBS_X) \
+ $(GLIB_LIBS) \
+ $(top_builddir)/src/backend/gtk/libmathview_backend_gtk.la \
++ $(top_builddir)/src/libmathview.la \
++ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
++ $(NULL)
++
++test_loading_reader_SOURCES = test_loading_reader.c
++test_loading_reader_LDFLASG = -no-install -static
++test_loading_reader_LDADD = \
++ -lstdc++ \
++ $(XML_LIBS) \
++ $(GTK_LIBS) \
++ $(T1_LIBS) \
++ $(T1_LIBS_X) \
++ $(top_builddir)/src/widget/libgtkmathview_libxml2_reader.la \
++ $(NULL)
++
++INCLUDES = \
++ -I$(top_builddir)/auto/ \
++ -I$(top_srcdir)/src/common/ \
++ -I$(top_srcdir)/src/common/mathvariants \
++ -I$(top_srcdir)/src/frontend/gmetadom/ \
++ -I$(top_srcdir)/src/engine/common \
++ -I$(top_srcdir)/src/engine/mathml \
++ -I$(top_srcdir)/src/engine/boxml \
++ -I$(top_srcdir)/src/widget \
++ -I$(top_srcdir)/src/view \
++ -I$(top_srcdir)/src/backend/common/ \
++ -I$(top_srcdir)/src/backend/gtk/ \
++ $(POPT_CFLAGS) \
++ $(GTK_CFLAGS) \
++ $(XML_CFLAGS) \
++ $(DOM_CFLAGS) \
++ $(XML_CFLAGS) \
++ $(NULL)
++
++all: all-am
++
++.SUFFIXES:
++.SUFFIXES: .c .cc .lo .o .obj
++$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
++ @for dep in $?; do \
++ case '$(am__configure_deps)' in \
++ *$$dep*) \
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
++ && exit 0; \
++ exit 1;; \
++ esac; \
++ done; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu viewer/Makefile'; \
++ cd $(top_srcdir) && \
++ $(AUTOMAKE) --gnu viewer/Makefile
++.PRECIOUS: Makefile
++Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
++ @case '$?' in \
++ *config.status*) \
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
++ *) \
++ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
++ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
++ esac;
++
++$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++
++$(top_srcdir)/configure: $(am__configure_deps)
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++$(ACLOCAL_M4): $(am__aclocal_m4_deps)
++ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
++install-binPROGRAMS: $(bin_PROGRAMS)
++ @$(NORMAL_INSTALL)
++ test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
++ @list='$(bin_PROGRAMS)'; for p in $$list; do \
++ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++ if test -f $$p \
++ || test -f $$p1 \
++ ; then \
++ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
++ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
++ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
++ else :; fi; \
++ done
++
++uninstall-binPROGRAMS:
++ @$(NORMAL_UNINSTALL)
++ @list='$(bin_PROGRAMS)'; for p in $$list; do \
++ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
++ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
++ rm -f "$(DESTDIR)$(bindir)/$$f"; \
++ done
++
++clean-binPROGRAMS:
++ @list='$(bin_PROGRAMS)'; for p in $$list; do \
++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++ echo " rm -f $$p $$f"; \
++ rm -f $$p $$f ; \
++ done
++
++clean-noinstPROGRAMS:
++ @list='$(noinst_PROGRAMS)'; for p in $$list; do \
++ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
++ echo " rm -f $$p $$f"; \
++ rm -f $$p $$f ; \
++ done
++mathmlviewer$(EXEEXT): $(mathmlviewer_OBJECTS) $(mathmlviewer_DEPENDENCIES)
++ @rm -f mathmlviewer$(EXEEXT)
++ $(CXXLINK) $(mathmlviewer_LDFLAGS) $(mathmlviewer_OBJECTS) $(mathmlviewer_LDADD) $(LIBS)
++mathmlviewer.static$(EXEEXT): $(mathmlviewer_static_OBJECTS) $(mathmlviewer_static_DEPENDENCIES)
++ @rm -f mathmlviewer.static$(EXEEXT)
++ $(CXXLINK) $(mathmlviewer_static_LDFLAGS) $(mathmlviewer_static_OBJECTS) $(mathmlviewer_static_LDADD) $(LIBS)
++test_building$(EXEEXT): $(test_building_OBJECTS) $(test_building_DEPENDENCIES)
++ @rm -f test_building$(EXEEXT)
++ $(CXXLINK) $(test_building_LDFLAGS) $(test_building_OBJECTS) $(test_building_LDADD) $(LIBS)
++test_embedding$(EXEEXT): $(test_embedding_OBJECTS) $(test_embedding_DEPENDENCIES)
++ @rm -f test_embedding$(EXEEXT)
++ $(CXXLINK) $(test_embedding_LDFLAGS) $(test_embedding_OBJECTS) $(test_embedding_LDADD) $(LIBS)
++test_loading$(EXEEXT): $(test_loading_OBJECTS) $(test_loading_DEPENDENCIES)
++ @rm -f test_loading$(EXEEXT)
++ $(CXXLINK) $(test_loading_LDFLAGS) $(test_loading_OBJECTS) $(test_loading_LDADD) $(LIBS)
++test_loading_reader$(EXEEXT): $(test_loading_reader_OBJECTS) $(test_loading_reader_DEPENDENCIES)
++ @rm -f test_loading_reader$(EXEEXT)
++ $(LINK) $(test_loading_reader_LDFLAGS) $(test_loading_reader_OBJECTS) $(test_loading_reader_LDADD) $(LIBS)
++test_rendering$(EXEEXT): $(test_rendering_OBJECTS) $(test_rendering_DEPENDENCIES)
++ @rm -f test_rendering$(EXEEXT)
++ $(CXXLINK) $(test_rendering_LDFLAGS) $(test_rendering_OBJECTS) $(test_rendering_LDADD) $(LIBS)
++
++mostlyclean-compile:
++ -rm -f *.$(OBJEXT)
++
++distclean-compile:
++ -rm -f *.tab.c
++
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/aux.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummy.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/guiGTK.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_building.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_embedding.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_loading.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_loading_reader.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_rendering.Po@am__quote@
++
++.c.o:
++@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
++@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCC_FALSE@ $(COMPILE) -c $<
++
++.c.obj:
++@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
++@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
++
++.c.lo:
++@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
++@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
++
++.cc.o:
++@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
++@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
++
++.cc.obj:
++@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
++@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
++
++.cc.lo:
++@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
++@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
++
++mostlyclean-libtool:
++ -rm -f *.lo
++
++clean-libtool:
++ -rm -rf .libs _libs
++
++distclean-libtool:
++ -rm -f libtool
++uninstall-info-am:
++
++ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) ' { files[$$0] = 1; } \
++ END { for (i in files) print i; }'`; \
++ mkid -fID $$unique
++tags: TAGS
++
++TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ tags=; \
++ here=`pwd`; \
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) ' { files[$$0] = 1; } \
++ END { for (i in files) print i; }'`; \
++ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
++ test -n "$$unique" || unique=$$empty_fix; \
++ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
++ $$tags $$unique; \
++ fi
++ctags: CTAGS
++CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
++ $(TAGS_FILES) $(LISP)
++ tags=; \
++ here=`pwd`; \
++ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
++ unique=`for i in $$list; do \
++ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
++ done | \
++ $(AWK) ' { files[$$0] = 1; } \
++ END { for (i in files) print i; }'`; \
++ test -z "$(CTAGS_ARGS)$$tags$$unique" \
++ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
++ $$tags $$unique
++
++GTAGS:
++ here=`$(am__cd) $(top_builddir) && pwd` \
++ && cd $(top_srcdir) \
++ && gtags -i $(GTAGS_ARGS) $$here
++
++distclean-tags:
++ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
++
++distdir: $(DISTFILES)
++ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
++ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
++ list='$(DISTFILES)'; for file in $$list; do \
++ case $$file in \
++ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
++ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
++ esac; \
++ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
++ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
++ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
++ dir="/$$dir"; \
++ $(mkdir_p) "$(distdir)$$dir"; \
++ else \
++ dir=''; \
++ fi; \
++ if test -d $$d/$$file; then \
++ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
++ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
++ fi; \
++ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
++ else \
++ test -f $(distdir)/$$file \
++ || cp -p $$d/$$file $(distdir)/$$file \
++ || exit 1; \
++ fi; \
++ done
++check-am: all-am
++check: check-am
++all-am: Makefile $(PROGRAMS) $(HEADERS)
++installdirs:
++ for dir in "$(DESTDIR)$(bindir)"; do \
++ test -z "$$dir" || $(mkdir_p) "$$dir"; \
++ done
++install: install-am
++install-exec: install-exec-am
++install-data: install-data-am
++uninstall: uninstall-am
++
++install-am: all-am
++ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
++
++installcheck: installcheck-am
++install-strip:
++ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
++ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
++ `test -z '$(STRIP)' || \
++ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
++mostlyclean-generic:
++
++clean-generic:
++
++distclean-generic:
++ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
++
++maintainer-clean-generic:
++ @echo "This command is intended for maintainers to use"
++ @echo "it deletes files that may require special tools to rebuild."
++clean: clean-am
++
++clean-am: clean-binPROGRAMS clean-generic clean-libtool \
++ clean-noinstPROGRAMS mostlyclean-am
++
++distclean: distclean-am
++ -rm -rf ./$(DEPDIR)
++ -rm -f Makefile
++distclean-am: clean-am distclean-compile distclean-generic \
++ distclean-libtool distclean-tags
++
++dvi: dvi-am
++
++dvi-am:
++
++html: html-am
++
++info: info-am
++
++info-am:
++
++install-data-am:
++
++install-exec-am: install-binPROGRAMS
++
++install-info: install-info-am
++
++install-man:
++
++installcheck-am:
++
++maintainer-clean: maintainer-clean-am
++ -rm -rf ./$(DEPDIR)
++ -rm -f Makefile
++maintainer-clean-am: distclean-am maintainer-clean-generic
++
++mostlyclean: mostlyclean-am
++
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++ mostlyclean-libtool
++
++pdf: pdf-am
++
++pdf-am:
++
++ps: ps-am
++
++ps-am:
++
++uninstall-am: uninstall-binPROGRAMS uninstall-info-am
++
++.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
++ clean-generic clean-libtool clean-noinstPROGRAMS ctags \
++ distclean distclean-compile distclean-generic \
++ distclean-libtool distclean-tags distdir dvi dvi-am html \
++ html-am info info-am install install-am install-binPROGRAMS \
++ install-data install-data-am install-exec install-exec-am \
++ install-info install-info-am install-man install-strip \
++ installcheck installcheck-am installdirs maintainer-clean \
++ maintainer-clean-generic mostlyclean mostlyclean-compile \
++ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
++ tags uninstall uninstall-am uninstall-binPROGRAMS \
++ uninstall-info-am
++
++# Tell versions [3.59,3.63) of GNU make to not export all variables.
++# Otherwise a system limit (for SysV at least) may be exceeded.
++.NOEXPORT:
++# Makefile.in generated by automake 1.9.6 from Makefile.am.
++# @configure_input@
++
++# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
++# 2003, 2004, 2005 Free Software Foundation, Inc.
++# This Makefile.in is free software; the Free Software Foundation
++# gives unlimited permission to copy and/or distribute it,
++# with or without modifications, as long as this notice is preserved.
++
++# This program is distributed in the hope that it will be useful,
++# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
++# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
++# PARTICULAR PURPOSE.
++
++@SET_MAKE@
++
++
++srcdir = @srcdir@
++top_srcdir = @top_srcdir@
++VPATH = @srcdir@
++pkgdatadir = $(datadir)/@PACKAGE@
++pkglibdir = $(libdir)/@PACKAGE@
++pkgincludedir = $(includedir)/@PACKAGE@
++top_builddir = ..
++am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
++INSTALL = @INSTALL@
++install_sh_DATA = $(install_sh) -c -m 644
++install_sh_PROGRAM = $(install_sh) -c
++install_sh_SCRIPT = $(install_sh) -c
++INSTALL_HEADER = $(INSTALL_DATA)
++transform = $(program_transform_name)
++NORMAL_INSTALL = :
++PRE_INSTALL = :
++POST_INSTALL = :
++NORMAL_UNINSTALL = :
++PRE_UNINSTALL = :
++POST_UNINSTALL = :
++build_triplet = @build@
++host_triplet = @host@
++bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2)
++@COND_GMETADOM_TRUE@am__append_1 = mathmlviewer
++noinst_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_3) $(am__EXEEXT_4) \
++ $(am__EXEEXT_5)
++@COND_GMETADOM_TRUE@@COND_PROFILE_TRUE@am__append_2 = mathmlviewer.static
++@COND_LIBXML2_TRUE@am__append_3 = test_embedding test_loading \
++@COND_LIBXML2_TRUE@ test_building test_rendering
++@COND_LIBXML2_READER_TRUE@am__append_4 = test_loading_reader
++subdir = viewer
++DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
++ $(srcdir)/Makefile.in
++ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
++am__aclocal_m4_deps = $(top_srcdir)/configure.ac
++am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
++ $(ACLOCAL_M4)
++mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/config.h
++CONFIG_CLEAN_FILES =
++am__EXEEXT_1 =
++@COND_GMETADOM_TRUE@am__EXEEXT_2 = mathmlviewer$(EXEEXT)
++am__installdirs = "$(DESTDIR)$(bindir)"
++binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
++@COND_GMETADOM_TRUE@@COND_PROFILE_TRUE@am__EXEEXT_3 = mathmlviewer.static$(EXEEXT)
++@COND_LIBXML2_TRUE@am__EXEEXT_4 = test_embedding$(EXEEXT) \
++@COND_LIBXML2_TRUE@ test_loading$(EXEEXT) \
++@COND_LIBXML2_TRUE@ test_building$(EXEEXT) \
++@COND_LIBXML2_TRUE@ test_rendering$(EXEEXT)
++@COND_LIBXML2_READER_TRUE@am__EXEEXT_5 = test_loading_reader$(EXEEXT)
++PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS)
++am_mathmlviewer_OBJECTS = main.$(OBJEXT) aux.$(OBJEXT) \
++ guiGTK.$(OBJEXT)
++mathmlviewer_OBJECTS = $(am_mathmlviewer_OBJECTS)
++am__DEPENDENCIES_1 =
++mathmlviewer_DEPENDENCIES = $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(top_builddir)/src/widget/libgtkmathview_gmetadom.la \
++ $(am__DEPENDENCIES_1)
++am_mathmlviewer_static_OBJECTS = main.$(OBJEXT) aux.$(OBJEXT) \
++ guiGTK.$(OBJEXT)
++mathmlviewer_static_OBJECTS = $(am_mathmlviewer_static_OBJECTS)
++mathmlviewer_static_DEPENDENCIES = $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(top_builddir)/src/widget/libgtkmathview_gmetadom.la \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1)
++am_test_building_OBJECTS = test_building.$(OBJEXT)
++test_building_OBJECTS = $(am_test_building_OBJECTS)
++test_building_DEPENDENCIES = $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) \
++ $(top_builddir)/src/widget/libgtkmathview_libxml2.la \
++ $(am__DEPENDENCIES_1)
++am_test_embedding_OBJECTS = test_embedding.$(OBJEXT) dummy.$(OBJEXT)
++test_embedding_OBJECTS = $(am_test_embedding_OBJECTS)
++test_embedding_DEPENDENCIES = $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) \
++ $(top_builddir)/src/widget/libgtkmathview_libxml2.la \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1)
++am_test_loading_OBJECTS = test_loading.$(OBJEXT) dummy.$(OBJEXT)
++test_loading_OBJECTS = $(am_test_loading_OBJECTS)
++test_loading_DEPENDENCIES = $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) \
++ $(top_builddir)/src/widget/libgtkmathview_libxml2.la \
++ $(am__DEPENDENCIES_1)
++am_test_loading_reader_OBJECTS = test_loading_reader.$(OBJEXT)
++test_loading_reader_OBJECTS = $(am_test_loading_reader_OBJECTS)
++test_loading_reader_DEPENDENCIES = $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) \
++ $(top_builddir)/src/widget/libgtkmathview_libxml2_reader.la \
++ $(am__DEPENDENCIES_1)
++am_test_rendering_OBJECTS = test_rendering.$(OBJEXT)
++test_rendering_OBJECTS = $(am_test_rendering_OBJECTS)
++test_rendering_DEPENDENCIES = $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
++ $(top_builddir)/src/backend/gtk/libmathview_backend_gtk.la \
++ $(top_builddir)/src/libmathview.la \
++ $(top_builddir)/src/engine/boxml/libboxml.la \
++ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
++ $(am__DEPENDENCIES_1)
++DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
++depcomp = $(SHELL) $(top_srcdir)/depcomp
++am__depfiles_maybe = depfiles
++COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
++ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
++ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
++ $(AM_CFLAGS) $(CFLAGS)
++CCLD = $(CC)
++LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++ $(AM_LDFLAGS) $(LDFLAGS) -o $@
++CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
++ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
++LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
++ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
++ $(AM_CXXFLAGS) $(CXXFLAGS)
++CXXLD = $(CXX)
++CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
++ $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
++SOURCES = $(mathmlviewer_SOURCES) $(mathmlviewer_static_SOURCES) \
++ $(test_building_SOURCES) $(test_embedding_SOURCES) \
++ $(test_loading_SOURCES) $(test_loading_reader_SOURCES) \
++ $(test_rendering_SOURCES)
++DIST_SOURCES = $(mathmlviewer_SOURCES) $(mathmlviewer_static_SOURCES) \
++ $(test_building_SOURCES) $(test_embedding_SOURCES) \
++ $(test_loading_SOURCES) $(test_loading_reader_SOURCES) \
++ $(test_rendering_SOURCES)
++HEADERS = $(noinst_HEADERS)
++ETAGS = etags
++CTAGS = ctags
++DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
++ACLOCAL = @ACLOCAL@
++AMDEP_FALSE = @AMDEP_FALSE@
++AMDEP_TRUE = @AMDEP_TRUE@
++AMTAR = @AMTAR@
++AR = @AR@
++AREAMODEL_VERSION_INFO = @AREAMODEL_VERSION_INFO@
++AS = @AS@
++AUTOCONF = @AUTOCONF@
++AUTOHEADER = @AUTOHEADER@
++AUTOMAKE = @AUTOMAKE@
++AWK = @AWK@
++CC = @CC@
++CCDEPMODE = @CCDEPMODE@
++CFLAGS = @CFLAGS@
++CHAR_UNSIGNED = @CHAR_UNSIGNED@
++COND_BOXML_FALSE = @COND_BOXML_FALSE@
++COND_BOXML_TRUE = @COND_BOXML_TRUE@
++COND_CUSTOM_READER_FALSE = @COND_CUSTOM_READER_FALSE@
++COND_CUSTOM_READER_TRUE = @COND_CUSTOM_READER_TRUE@
++COND_GMETADOM_FALSE = @COND_GMETADOM_FALSE@
++COND_GMETADOM_TRUE = @COND_GMETADOM_TRUE@
++COND_GTK_FALSE = @COND_GTK_FALSE@
++COND_GTK_TRUE = @COND_GTK_TRUE@
++COND_HAVE_POPT_FALSE = @COND_HAVE_POPT_FALSE@
++COND_HAVE_POPT_TRUE = @COND_HAVE_POPT_TRUE@
++COND_LIBXML2_FALSE = @COND_LIBXML2_FALSE@
++COND_LIBXML2_READER_FALSE = @COND_LIBXML2_READER_FALSE@
++COND_LIBXML2_READER_TRUE = @COND_LIBXML2_READER_TRUE@
++COND_LIBXML2_TRUE = @COND_LIBXML2_TRUE@
++COND_PROFILE_FALSE = @COND_PROFILE_FALSE@
++COND_PROFILE_TRUE = @COND_PROFILE_TRUE@
++COND_PS_FALSE = @COND_PS_FALSE@
++COND_PS_TRUE = @COND_PS_TRUE@
++COND_SVG_FALSE = @COND_SVG_FALSE@
++COND_SVG_TRUE = @COND_SVG_TRUE@
++COND_T1LIB_FALSE = @COND_T1LIB_FALSE@
++COND_T1LIB_TRUE = @COND_T1LIB_TRUE@
++COND_TFM_FALSE = @COND_TFM_FALSE@
++COND_TFM_LEVEL_1_FALSE = @COND_TFM_LEVEL_1_FALSE@
++COND_TFM_LEVEL_1_TRUE = @COND_TFM_LEVEL_1_TRUE@
++COND_TFM_LEVEL_2_FALSE = @COND_TFM_LEVEL_2_FALSE@
++COND_TFM_LEVEL_2_TRUE = @COND_TFM_LEVEL_2_TRUE@
++COND_TFM_LEVEL_3_FALSE = @COND_TFM_LEVEL_3_FALSE@
++COND_TFM_LEVEL_3_TRUE = @COND_TFM_LEVEL_3_TRUE@
++COND_TFM_TRUE = @COND_TFM_TRUE@
++COND_XSLTPROC_FALSE = @COND_XSLTPROC_FALSE@
++COND_XSLTPROC_TRUE = @COND_XSLTPROC_TRUE@
++CPP = @CPP@
++CPPFLAGS = @CPPFLAGS@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
++CXXDEPMODE = @CXXDEPMODE@
++CXXFLAGS = @CXXFLAGS@
++CYGPATH_W = @CYGPATH_W@
++DEFS = @DEFS@
++DEPDIR = @DEPDIR@
++DLLTOOL = @DLLTOOL@
++DOM_CFLAGS = @DOM_CFLAGS@
++DOM_LIBS = @DOM_LIBS@
++ECHO = @ECHO@
++ECHO_C = @ECHO_C@
++ECHO_N = @ECHO_N@
++ECHO_T = @ECHO_T@
++EGREP = @EGREP@
++EXEEXT = @EXEEXT@
++F77 = @F77@
++FFLAGS = @FFLAGS@
++GLIB_CFLAGS = @GLIB_CFLAGS@
++GLIB_LIBS = @GLIB_LIBS@
++GMV_ENABLE_BOXML_CFLAGS = @GMV_ENABLE_BOXML_CFLAGS@
++GMV_HAVE_EXT_HASH_MAP_CFLAGS = @GMV_HAVE_EXT_HASH_MAP_CFLAGS@
++GMV_HAVE_HASH_MAP_CFLAGS = @GMV_HAVE_HASH_MAP_CFLAGS@
++GREP = @GREP@
++GTKMATHVIEW_SIZEOF_CHAR = @GTKMATHVIEW_SIZEOF_CHAR@
++GTKMATHVIEW_SIZEOF_INT = @GTKMATHVIEW_SIZEOF_INT@
++GTKMATHVIEW_SIZEOF_LONG = @GTKMATHVIEW_SIZEOF_LONG@
++GTKMATHVIEW_SIZEOF_LONG_LONG = @GTKMATHVIEW_SIZEOF_LONG_LONG@
++GTKMATHVIEW_SIZEOF_SHORT = @GTKMATHVIEW_SIZEOF_SHORT@
++GTKMATHVIEW_SIZEOF_WCHAR_T = @GTKMATHVIEW_SIZEOF_WCHAR_T@
++GTK_CFLAGS = @GTK_CFLAGS@
++GTK_LIBS = @GTK_LIBS@
++HAVE_XSLTPROC = @HAVE_XSLTPROC@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
++INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++LDFLAGS = @LDFLAGS@
++LIBOBJS = @LIBOBJS@
++LIBS = @LIBS@
++LIBTOOL = @LIBTOOL@
++LN_S = @LN_S@
++LTLIBOBJS = @LTLIBOBJS@
++MAJOR_VERSION = @MAJOR_VERSION@
++MAKEINFO = @MAKEINFO@
++MATHVIEW_VERSION = @MATHVIEW_VERSION@
++MATHVIEW_VERSION_INFO = @MATHVIEW_VERSION_INFO@
++MINOR_VERSION = @MINOR_VERSION@
++OBJDUMP = @OBJDUMP@
++OBJEXT = @OBJEXT@
++PACKAGE = @PACKAGE@
++PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
++PACKAGE_NAME = @PACKAGE_NAME@
++PACKAGE_STRING = @PACKAGE_STRING@
++PACKAGE_TARNAME = @PACKAGE_TARNAME@
++PACKAGE_URL = @PACKAGE_URL@
++PACKAGE_VERSION = @PACKAGE_VERSION@
++PANGOX_CFLAGS = @PANGOX_CFLAGS@
++PANGOX_LIBS = @PANGOX_LIBS@
++PATH_SEPARATOR = @PATH_SEPARATOR@
++PKG_CONFIG = @PKG_CONFIG@
++POPT_CFLAGS = @POPT_CFLAGS@
++POPT_LIBS = @POPT_LIBS@
++RANLIB = @RANLIB@
++SET_MAKE = @SET_MAKE@
++SHELL = @SHELL@
++STRIP = @STRIP@
++T1_CFLAGS = @T1_CFLAGS@
++T1_LIBS = @T1_LIBS@
++T1_LIBS_X = @T1_LIBS_X@
++USE_GCC_PCH_FALSE = @USE_GCC_PCH_FALSE@
++USE_GCC_PCH_TRUE = @USE_GCC_PCH_TRUE@
++VERSION = @VERSION@
++WITH_BINRELOC_FALSE = @WITH_BINRELOC_FALSE@
++WITH_BINRELOC_TRUE = @WITH_BINRELOC_TRUE@
++XML_CFLAGS = @XML_CFLAGS@
++XML_LIBS = @XML_LIBS@
++ac_ct_CC = @ac_ct_CC@
++ac_ct_CXX = @ac_ct_CXX@
++ac_ct_F77 = @ac_ct_F77@
++am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
++am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
++am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
++am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
++am__include = @am__include@
++am__leading_dot = @am__leading_dot@
++am__quote = @am__quote@
++am__tar = @am__tar@
++am__untar = @am__untar@
++bindir = @bindir@
++build = @build@
++build_alias = @build_alias@
++build_cpu = @build_cpu@
++build_os = @build_os@
++build_vendor = @build_vendor@
++datadir = @datadir@
++datarootdir = @datarootdir@
++docdir = @docdir@
++dvidir = @dvidir@
++exec_prefix = @exec_prefix@
++host = @host@
++host_alias = @host_alias@
++host_cpu = @host_cpu@
++host_os = @host_os@
++host_vendor = @host_vendor@
++htmldir = @htmldir@
++includedir = @includedir@
++infodir = @infodir@
++install_sh = @install_sh@
++libdir = @libdir@
++libexecdir = @libexecdir@
++localedir = @localedir@
++localstatedir = @localstatedir@
++mandir = @mandir@
++mkdir_p = @mkdir_p@
++oldincludedir = @oldincludedir@
++pdfdir = @pdfdir@
++prefix = @prefix@
++program_transform_name = @program_transform_name@
++psdir = @psdir@
++sbindir = @sbindir@
++sharedstatedir = @sharedstatedir@
++sysconfdir = @sysconfdir@
++target_alias = @target_alias@
++NULL =
++noinst_HEADERS = guiGTK.h
++mathmlviewer_static_SOURCES = main.cc aux.cc guiGTK.c
++mathmlviewer_static_LDFLAGS = -no-install -static
++mathmlviewer_static_LDADD = \
++ $(POPT_LIBS) \
++ $(DOM_LIBS) \
++ $(GTK_LIBS) \
++ $(top_builddir)/src/widget/libgtkmathview_gmetadom.la \
++ $(top_builddir)/src/engine/boxml/libboxml.la \
++ $(T1_LIBS) \
++ $(T1_LIBS_X) \
++ $(NULL)
++
++mathmlviewer_SOURCES = main.cc aux.cc guiGTK.c
++mathmlviewer_LDADD = \
++ $(POPT_LIBS) \
++ $(DOM_LIBS) \
++ $(GTK_LIBS) \
++ $(T1_LIBS) \
++ $(T1_LIBS_X) \
++ $(top_builddir)/src/widget/libgtkmathview_gmetadom.la \
++ $(NULL)
++
++test_embedding_SOURCES = test_embedding.c dummy.cc
++test_embedding_LDFLAGS = -no-install -static
++test_embedding_LDADD = \
++ -lstdc++ \
++ $(XML_LIBS) \
++ $(GTK_LIBS) \
++ $(top_builddir)/src/widget/libgtkmathview_libxml2.la \
++ $(T1_LIBS) \
++ $(T1_LIBS_X) \
++ $(NULL)
++
++test_loading_SOURCES = test_loading.c dummy.cc
++test_loading_LDFLASG = -no-install -static
++test_loading_LDADD = \
++ -lstdc++ \
++ $(XML_LIBS) \
++ $(GTK_LIBS) \
++ $(T1_LIBS) \
++ $(T1_LIBS_X) \
++ $(top_builddir)/src/widget/libgtkmathview_libxml2.la \
++ $(NULL)
++
++test_building_SOURCES = test_building.cc
++test_building_LDFLASG = -no-install -static
++test_building_LDADD = \
++ -lstdc++ \
++ $(XML_LIBS) \
++ $(GTK_LIBS) \
++ $(T1_LIBS) \
++ $(T1_LIBS_X) \
++ $(top_builddir)/src/widget/libgtkmathview_libxml2.la \
++ $(NULL)
++
++test_rendering_SOURCES = test_rendering.cc
++test_rendering_LDFLASG = -no-install -static
++test_rendering_LDADD = \
++ -lstdc++ \
++ $(XML_LIBS) \
++ $(GTK_LIBS) \
++ $(T1_LIBS) \
++ $(T1_LIBS_X) \
++ $(GLIB_LIBS) \
++ $(top_builddir)/src/backend/gtk/libmathview_backend_gtk.la \
++ $(top_builddir)/src/libmathview.la \
++ $(top_builddir)/src/engine/boxml/libboxml.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
+ $(NULL)
+
+Index: gtkmathview-0.8.0/viewer/Makefile.am
+===================================================================
+--- gtkmathview-0.8.0.orig/viewer/Makefile.am 2007-08-17 10:02:45.000000000 +0000
++++ gtkmathview-0.8.0/viewer/Makefile.am 2012-05-04 05:51:15.523662212 +0000
+@@ -31,6 +31,7 @@
+ $(DOM_LIBS) \
+ $(GTK_LIBS) \
+ $(top_builddir)/src/widget/libgtkmathview_gmetadom.la \
++ $(top_builddir)/src/engine/boxml/libboxml.la \
+ $(T1_LIBS) \
+ $(T1_LIBS_X) \
+ $(NULL)
+@@ -88,6 +89,8 @@
+ $(T1_LIBS_X) \
+ $(GLIB_LIBS) \
+ $(top_builddir)/src/backend/gtk/libmathview_backend_gtk.la \
++ $(top_builddir)/src/libmathview.la \
++ $(top_builddir)/src/engine/boxml/libboxml.la \
+ $(top_builddir)/src/view/libmathview_frontend_libxml2.la \
+ $(NULL)
+
diff --git a/extra/gtkmm/PKGBUILD b/extra/gtkmm/PKGBUILD
index 67a65f22b..eac071f9f 100644
--- a/extra/gtkmm/PKGBUILD
+++ b/extra/gtkmm/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=gtkmm
pkgname=('gtkmm' 'gtkmm-docs')
pkgver=2.24.4
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('gtk2' 'pangomm' 'atkmm' 'glibmm-docs')
license=('LGPL')
options=('!emptydirs')
diff --git a/extra/gtkmm3/PKGBUILD b/extra/gtkmm3/PKGBUILD
index 4afa3728e..e7363ea6c 100644
--- a/extra/gtkmm3/PKGBUILD
+++ b/extra/gtkmm3/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=gtkmm
pkgname=('gtkmm3' 'gtkmm3-docs')
pkgver=3.10.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('gtk3' 'pangomm' 'atkmm' 'glibmm-docs' 'mm-common' 'doxygen' 'libxslt')
license=('LGPL')
options=('!emptydirs')
diff --git a/extra/gtksourceview2/PKGBUILD b/extra/gtksourceview2/PKGBUILD
index 3ce3fb411..1841c4011 100644
--- a/extra/gtksourceview2/PKGBUILD
+++ b/extra/gtksourceview2/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gtksourceview2
pkgver=2.10.5
-pkgrel=2
+pkgrel=2.2
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk2>=2.22.0' 'libxml2>=2.7.7')
makedepends=('intltool' 'pkg-config')
diff --git a/extra/gtksourceview3/PKGBUILD b/extra/gtksourceview3/PKGBUILD
index 9d0fa5510..0b6a646e6 100644
--- a/extra/gtksourceview3/PKGBUILD
+++ b/extra/gtksourceview3/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=gtksourceview
pkgver=3.10.1
pkgrel=1
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'libxml2')
makedepends=('intltool' 'gobject-introspection' 'glade')
diff --git a/extra/gtkspell/PKGBUILD b/extra/gtkspell/PKGBUILD
index a01b94de8..cdfb37a34 100644
--- a/extra/gtkspell/PKGBUILD
+++ b/extra/gtkspell/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.0.16
pkgrel=3
url="http://gtkspell.sourceforge.net/"
pkgdesc="Provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk2' 'enchant')
makedepends=('intltool' 'gtk-doc')
diff --git a/extra/gts/PKGBUILD b/extra/gts/PKGBUILD
index d4176f9f0..f505f5342 100644
--- a/extra/gts/PKGBUILD
+++ b/extra/gts/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=3
pkgdesc='Provides useful functions to deal with 3D surfaces meshed with interconnected triangles'
url='http://gts.sourceforge.net/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glib2')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('000720bebecf0b153eb28260bd30fbd979dcc040')
diff --git a/extra/gucharmap/PKGBUILD b/extra/gucharmap/PKGBUILD
index 53995d2c9..10d7a06c5 100644
--- a/extra/gucharmap/PKGBUILD
+++ b/extra/gucharmap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gucharmap
pkgver=3.10.0
pkgrel=1
pkgdesc="Gnome Unicode Charmap"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org"
depends=('dconf' 'gtk3' 'hicolor-icon-theme')
diff --git a/extra/guile/PKGBUILD b/extra/guile/PKGBUILD
index 22c96e612..b5b6ff73f 100644
--- a/extra/guile/PKGBUILD
+++ b/extra/guile/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.0.9
pkgrel=1
pkgdesc="a portable, embeddable Scheme implementation written in C"
url="http://www.gnu.org/software/guile/"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo' 'libunistring' 'gc' 'libffi')
install=guile.install
diff --git a/extra/guile1.8/PKGBUILD b/extra/guile1.8/PKGBUILD
index 999d0e43d..e69ce6463 100644
--- a/extra/guile1.8/PKGBUILD
+++ b/extra/guile1.8/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.8.8
pkgrel=3
pkgdesc='Portable, embeddable Scheme implementation written in C. Legacy branch.'
url="http://www.gnu.org/software/guile/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo')
source=(ftp://ftp.gnu.org/pub/gnu/guile/guile-$pkgver.tar.gz)
diff --git a/extra/gupnp-av/PKGBUILD b/extra/gupnp-av/PKGBUILD
index 5943de3db..703a85af0 100644
--- a/extra/gupnp-av/PKGBUILD
+++ b/extra/gupnp-av/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gupnp-av
pkgver=0.12.3
pkgrel=1
pkgdesc="Library to ease handling and implementation of UPnP A/V profiles"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://gupnp.org/"
license=(LGPL)
depends=(gupnp)
diff --git a/extra/gupnp-dlna/PKGBUILD b/extra/gupnp-dlna/PKGBUILD
index ba3c651db..0b30c8d8a 100644
--- a/extra/gupnp-dlna/PKGBUILD
+++ b/extra/gupnp-dlna/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gupnp-dlna
pkgver=0.10.2
pkgrel=1
pkgdesc="Library to ease DLNA-related bits for applications using gupnp"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://gupnp.org/"
license=(LGPL)
depends=(gst-plugins-base-libs)
diff --git a/extra/gupnp-igd/PKGBUILD b/extra/gupnp-igd/PKGBUILD
index 9658f1f09..e0f8150e5 100644
--- a/extra/gupnp-igd/PKGBUILD
+++ b/extra/gupnp-igd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gupnp-igd
pkgver=0.2.2
pkgrel=2
pkgdesc="A library to handle UPnP IGD port mapping"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gupnp.org"
license=('LGPL')
depends=('gupnp' 'python2-gobject2')
diff --git a/extra/gupnp/PKGBUILD b/extra/gupnp/PKGBUILD
index d4d35454c..1c04627ee 100644
--- a/extra/gupnp/PKGBUILD
+++ b/extra/gupnp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gupnp
pkgver=0.20.8
pkgrel=1
pkgdesc="An object-oriented UPNP framework"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://gupnp.org/"
license=(LGPL)
depends=(gssdp util-linux)
diff --git a/extra/gutenprint/PKGBUILD b/extra/gutenprint/PKGBUILD
index 205d638f0..c570248bd 100644
--- a/extra/gutenprint/PKGBUILD
+++ b/extra/gutenprint/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gutenprint
pkgver=5.2.9
pkgrel=2
pkgdesc="Top quality printer drivers for POSIX systems"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
install=gutenprint.install
#depends=('readline') # 'gnutls') # needs to be checked. build log says -Lgnutls but namcap doesn't detect it
diff --git a/extra/gv/PKGBUILD b/extra/gv/PKGBUILD
index ab381a8f3..6dc26d148 100644
--- a/extra/gv/PKGBUILD
+++ b/extra/gv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gv
pkgver=3.7.4
pkgrel=1
pkgdesc="A program to view PostScript and PDF documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gv/"
license=('GPL3')
depends=('xaw3d' 'ghostscript' 'desktop-file-utils')
diff --git a/extra/gvfs/PKGBUILD b/extra/gvfs/PKGBUILD
index 699068eed..1eb1dd97a 100644
--- a/extra/gvfs/PKGBUILD
+++ b/extra/gvfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gvfs
pkgname=('gvfs' 'gvfs-smb' 'gvfs-afc' 'gvfs-afp' 'gvfs-gphoto2' 'gvfs-goa' 'gvfs-mtp')
pkgver=1.18.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('avahi' 'dbus-glib' 'fuse' 'intltool' 'libarchive' 'libcdio-paranoia' 'libgphoto2' 'libimobiledevice' 'libsoup' 'smbclient' 'udisks2' 'libsecret' 'docbook-xsl' 'gtk3' 'libmtp' 'gnome-online-accounts' 'libbluray')
url="http://www.gnome.org"
diff --git a/extra/gweled/PKGBUILD b/extra/gweled/PKGBUILD
index 7059a3e37..7ad07bf6e 100644
--- a/extra/gweled/PKGBUILD
+++ b/extra/gweled/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gweled
pkgver=0.9.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="A puzzle game similar to Bejeweled (aka Diamond Mine)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="https://launchpad.net/gweled/"
depends=('gtk2' 'librsvg' 'libmikmod' 'hicolor-icon-theme')
diff --git a/extra/habak/PKGBUILD b/extra/habak/PKGBUILD
index 69899b64e..793c6ea34 100644
--- a/extra/habak/PKGBUILD
+++ b/extra/habak/PKGBUILD
@@ -4,19 +4,19 @@
pkgname=habak
pkgver=0.2.5
-pkgrel=4
+pkgrel=4.1
pkgdesc="A background changing app"
url="http://fvwm-crystal.org"
license=('GPL2')
depends=('imlib2')
source=("http://download.gna.org/fvwm-crystal/habak/$pkgver/$pkgname-$pkgver.tar.gz")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!makeflags')
md5sums=('bee5c394989367f7a4c5cb9ec99d307c')
build() {
cd $srcdir/$pkgname-$pkgver
- export LDFLAGS=${LDFLAGS/,--sort-common,--as-needed//}
+ export LDFLAGS="${LDFLAGS/,--sort-common,--as-needed//} -lX11"
make
}
diff --git a/extra/harfbuzz/PKGBUILD b/extra/harfbuzz/PKGBUILD
index caa32f015..1fd370d1c 100644
--- a/extra/harfbuzz/PKGBUILD
+++ b/extra/harfbuzz/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(harfbuzz harfbuzz-icu)
pkgver=0.9.23
pkgrel=1
pkgdesc="OpenType text shaping engine"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/HarfBuzz"
license=(MIT)
makedepends=(glib2 freetype2 graphite cairo icu gobject-introspection)
diff --git a/extra/hddtemp/PKGBUILD b/extra/hddtemp/PKGBUILD
index dcf2b6bc7..7859d3039 100644
--- a/extra/hddtemp/PKGBUILD
+++ b/extra/hddtemp/PKGBUILD
@@ -13,7 +13,7 @@ pkgrel=2
pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
url='https://savannah.nongnu.org/projects/hddtemp/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${_origver}.tar.bz2"
"http://ftp.debian.org/debian/pool/main/h/${pkgname}/${pkgname}_${_patchver}.diff.gz"
'service')
diff --git a/extra/hdf5-cpp-fortran/PKGBUILD b/extra/hdf5-cpp-fortran/PKGBUILD
index 89099eda9..118b8c455 100644
--- a/extra/hdf5-cpp-fortran/PKGBUILD
+++ b/extra/hdf5-cpp-fortran/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=hdf5-cpp-fortran
_pkgname=hdf5
pkgver=1.8.11
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="General purpose library and file format for storing scientific data"
url="http://www.hdfgroup.org/HDF5/"
license=('custom')
diff --git a/extra/hdf5-openmpi/PKGBUILD b/extra/hdf5-openmpi/PKGBUILD
index bc38f68c3..eab5d5b9d 100644
--- a/extra/hdf5-openmpi/PKGBUILD
+++ b/extra/hdf5-openmpi/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=hdf5-openmpi
_pkgname=hdf5
pkgver=1.8.11
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="General purpose library and file format for storing scientific data (OpenMPI version)"
url="http://www.hdfgroup.org/HDF5/"
license=('custom')
diff --git a/extra/hdf5/PKGBUILD b/extra/hdf5/PKGBUILD
index 4d4eb94e2..0d02b5511 100644
--- a/extra/hdf5/PKGBUILD
+++ b/extra/hdf5/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=hdf5
pkgver=1.8.11
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="General purpose library and file format for storing scientific data"
url="http://www.hdfgroup.org/HDF5/"
license=('custom')
diff --git a/extra/hefur/PKGBUILD b/extra/hefur/PKGBUILD
index 0dd07b1b0..78f33fc80 100644
--- a/extra/hefur/PKGBUILD
+++ b/extra/hefur/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hefur
pkgver=0.4
pkgrel=2
pkgdesc='A standalone and lightweight BitTorrent tracker'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://github.com/abique/hefur'
license=('MIT')
makedepends=('cmake')
diff --git a/extra/help2man/PKGBUILD b/extra/help2man/PKGBUILD
index 951273819..cdf426508 100644
--- a/extra/help2man/PKGBUILD
+++ b/extra/help2man/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=help2man
pkgver=1.43.3
pkgrel=1
pkgdesc="Conversion tool to create man files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/help2man/"
license=('GPL')
depends=('perl-locale-gettext')
diff --git a/extra/hexedit/PKGBUILD b/extra/hexedit/PKGBUILD
index 431407a3d..d585d744f 100644
--- a/extra/hexedit/PKGBUILD
+++ b/extra/hexedit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hexedit
pkgver=1.2.13
pkgrel=1
pkgdesc="Hex Editor for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://rigaux.org/hexedit.html"
license=('GPL')
depends=('ncurses')
diff --git a/extra/hspell/PKGBUILD b/extra/hspell/PKGBUILD
index d5412b494..43f22ba55 100644
--- a/extra/hspell/PKGBUILD
+++ b/extra/hspell/PKGBUILD
@@ -4,8 +4,8 @@
pkgbase=hspell
pkgname=('hspell' 'hunspell-he')
pkgver=1.2
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.ivrix.org.il/projects/spell-checker/"
makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk')
diff --git a/extra/htdig/PKGBUILD b/extra/htdig/PKGBUILD
index 0511a9769..5ae7a6d14 100644
--- a/extra/htdig/PKGBUILD
+++ b/extra/htdig/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=3.2.0b6
pkgrel=9
pkgdesc="Scripts and HTML code needed for using ht://Dig as a web search engine"
url="http://www.htdig.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('openssl')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
diff --git a/extra/htop/PKGBUILD b/extra/htop/PKGBUILD
index 509980f30..3f5cf8e52 100644
--- a/extra/htop/PKGBUILD
+++ b/extra/htop/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=htop
pkgver=1.0.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="Interactive process viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://htop.sourceforge.net/"
license=('GPL')
depends=('ncurses')
diff --git a/extra/hugin/PKGBUILD b/extra/hugin/PKGBUILD
index 887b04258..d632332e4 100644
--- a/extra/hugin/PKGBUILD
+++ b/extra/hugin/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=2
pkgdesc='Panorama photo stitcher'
url='http://hugin.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13'
'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils')
makedepends=('cmake' 'boost' 'tclap' 'mesa')
diff --git a/extra/hunspell/PKGBUILD b/extra/hunspell/PKGBUILD
index 7967c69f4..4800c6f1b 100644
--- a/extra/hunspell/PKGBUILD
+++ b/extra/hunspell/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hunspell
pkgver=1.3.2
pkgrel=3
pkgdesc="Spell checker and morphological analyzer library and program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hunspell.sourceforge.net/"
license=('GPL' 'LGPL' 'MPL')
depends=('gcc-libs' 'readline')
diff --git a/extra/hwloc/PKGBUILD b/extra/hwloc/PKGBUILD
index b153b012f..27767cc6c 100644
--- a/extra/hwloc/PKGBUILD
+++ b/extra/hwloc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=hwloc
pkgver=1.7.2
pkgrel=1
pkgdesc="Portable Hardware Locality is a portable abstraction of hierarchical architectures"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.open-mpi.org/projects/hwloc/"
license=('BSD')
depends=('sh' 'pciutils' 'cairo' 'libxml2')
diff --git a/extra/hylafax/PKGBUILD b/extra/hylafax/PKGBUILD
index 7210764cd..984cf0134 100644
--- a/extra/hylafax/PKGBUILD
+++ b/extra/hylafax/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=hylafax
pkgver=6.0.6
pkgrel=4
pkgdesc="Fax Server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
install='hylafax.install'
license=('custom')
depends=('libtiff' 'pam' 'ghostscript')
diff --git a/extra/hyphen/PKGBUILD b/extra/hyphen/PKGBUILD
index 946ce0fd2..78e206ffa 100644
--- a/extra/hyphen/PKGBUILD
+++ b/extra/hyphen/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=hyphen
pkgname=('hyphen' 'hyphen-en')
pkgver=2.8.6
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hunspell.sf.net"
license=('GPL' 'LGPL' 'MPL')
makedepends=('glibc' 'perl')
diff --git a/extra/i8kutils/PKGBUILD b/extra/i8kutils/PKGBUILD
index 120c6a2fd..aa7f79889 100644
--- a/extra/i8kutils/PKGBUILD
+++ b/extra/i8kutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=i8kutils
pkgver=1.33
pkgrel=3
pkgdesc="Dell Inspiron/Latitude kernel driver and utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://people.debian.org/~dz/i8k/"
license=('GPL2')
depends=('glibc')
diff --git a/extra/iagno/PKGBUILD b/extra/iagno/PKGBUILD
index b52c24a1d..f6d9c784c 100644
--- a/extra/iagno/PKGBUILD
+++ b/extra/iagno/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=iagno
pkgver=3.10.1
pkgrel=1
pkgdesc="Dominate the board in a classic version of Reversi"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('hicolor-icon-theme' 'gtk3' 'libcanberra' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/ibus/PKGBUILD b/extra/ibus/PKGBUILD
index c66b71e53..7b25436ff 100644
--- a/extra/ibus/PKGBUILD
+++ b/extra/ibus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ibus
pkgver=1.5.4
pkgrel=1
pkgdesc="Next Generation Input Bus for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ibus.googlecode.com"
license=('LGPL')
depends=('hicolor-icon-theme' 'gtk2' 'gtk3' 'python2-gobject' 'libnotify')
diff --git a/extra/icewm/PKGBUILD b/extra/icewm/PKGBUILD
index 4bd344e42..290f16ec2 100644
--- a/extra/icewm/PKGBUILD
+++ b/extra/icewm/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=icewm
pkgver=1.3.7
-pkgrel=3
+pkgrel=3.1 # only change when Arch updates
pkgdesc="A Window Manager designed for speed, usability, and consistency"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.icewm.org/"
license=('LGPL')
depends=('libxrandr' 'libxft' 'libsm' 'libxinerama' 'gdk-pixbuf2')
@@ -27,7 +27,7 @@ build() {
patch -p1 -i "${srcdir}/no_proc_acpi.patch"
patch -p1 -i "${srcdir}/wmclient.patch"
patch -p2 -i "${srcdir}/icewm-cpustatus.patch"
- LIBS+="-lfontconfig" ./configure --prefix=/usr --sysconfdir=/etc \
+ LIBS+="-lfontconfig" ./configure --build=$CHOST --prefix=/usr --sysconfdir=/etc \
--enable-shaped-decorations --enable-gradients
make
}
diff --git a/extra/icu/PKGBUILD b/extra/icu/PKGBUILD
index 3e7b1699c..ef62e2712 100644
--- a/extra/icu/PKGBUILD
+++ b/extra/icu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=icu
pkgver=52.1
pkgrel=1
pkgdesc="International Components for Unicode library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.icu-project.org/"
license=('custom:"icu"')
depends=('gcc-libs>=4.7.1-5' 'sh')
diff --git a/extra/id3/PKGBUILD b/extra/id3/PKGBUILD
index 6ef72b356..365eeb3b6 100644
--- a/extra/id3/PKGBUILD
+++ b/extra/id3/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=id3
pkgver=0.78
-pkgrel=3
+pkgrel=3.1
pkgdesc="Utility to edit id3v1 and id3v2 tags"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freshmeat.net/projects/id3"
license=('BSD')
depends=('gcc-libs')
diff --git a/extra/id3lib/PKGBUILD b/extra/id3lib/PKGBUILD
index 269acf934..0bd854311 100644
--- a/extra/id3lib/PKGBUILD
+++ b/extra/id3lib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=id3lib
pkgver=3.8.3
pkgrel=13
pkgdesc="An open-source, cross-platform software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://id3lib.sourceforge.net/"
depends=('zlib' 'gcc-libs')
diff --git a/extra/id3v2/PKGBUILD b/extra/id3v2/PKGBUILD
index 42ab5b3f7..53e433706 100644
--- a/extra/id3v2/PKGBUILD
+++ b/extra/id3v2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=id3v2
pkgver=0.1.12
pkgrel=2
pkgdesc="Utility to edit id3v2 tags"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://id3v2.sourceforge.net/"
license=('LGPL')
depends=('gcc-libs' 'glibc' 'id3lib' 'zlib')
diff --git a/extra/idnkit/PKGBUILD b/extra/idnkit/PKGBUILD
index 4346fe847..359bb37f4 100644
--- a/extra/idnkit/PKGBUILD
+++ b/extra/idnkit/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3
pkgdesc='Provides functionalities about Internationalized Domain Name processing'
url='http://www.nic.ad.jp/ja/idn/idnkit/download/'
license=('custom:BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
backup=('etc/idnalias.conf' 'etc/idn.conf')
options=('!makeflags')
@@ -23,6 +23,8 @@ prepare() {
build() {
cd idnkit-${pkgver}-src
./configure \
+ --host=$CHOST \
+ --build=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
diff --git a/extra/ifplugd/PKGBUILD b/extra/ifplugd/PKGBUILD
index 49b8c616a..9c90f3bc5 100644
--- a/extra/ifplugd/PKGBUILD
+++ b/extra/ifplugd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ifplugd
pkgver=0.28
pkgrel=14
pkgdesc="A daemon which brings up/down network interfaces upon cable insertion/removal."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/ifplugd"
install=ifplugd.install
license=('GPL2')
diff --git a/extra/ilmbase/PKGBUILD b/extra/ilmbase/PKGBUILD
index 20032447a..e872ea323 100644
--- a/extra/ilmbase/PKGBUILD
+++ b/extra/ilmbase/PKGBUILD
@@ -6,13 +6,15 @@ pkgver=2.0.1
pkgrel=2
depends=('gcc-libs')
pkgdesc="Base libraries from ILM for OpenEXR"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.openexr.com"
license=('custom')
-source=(http://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz)
+source=(http://download.savannah.nongnu.org/releases/openexr/$pkgname-$pkgver.tar.gz
+ ilmbase-IexMath.patch)
build() {
cd "${srcdir}/$pkgname-$pkgver"
+ patch -Np1 -i ${srcdir}/ilmbase-IexMath.patch
./configure --prefix=/usr
make
}
@@ -28,4 +30,5 @@ package() {
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
-md5sums=('74c0d0d2873960bd0dc1993f8e03f0ae')
+md5sums=('74c0d0d2873960bd0dc1993f8e03f0ae'
+ '65f1ec028c9f6fbf3a0abd6a687e9745')
diff --git a/extra/ilmbase/ilmbase-IexMath.patch b/extra/ilmbase/ilmbase-IexMath.patch
index 546034966..c3bd58719 100644
--- a/extra/ilmbase/ilmbase-IexMath.patch
+++ b/extra/ilmbase/ilmbase-IexMath.patch
@@ -1,6 +1,6 @@
---- IexMath/IexMathFpu.cpp.orig 2012-07-26 20:51:55.000000000 +0200
-+++ IexMath/IexMathFpu.cpp 2012-10-04 15:30:47.000000000 +0200
-@@ -27,8 +27,7 @@
+--- ilmbase-2.0.0.orig/IexMath/IexMathFpu.cpp 2013-03-06 18:18:50.000000000 -0500
++++ ilmbase-2.0.0/IexMath/IexMathFpu.cpp 2013-04-23 13:17:40.273193358 -0500
+@@ -53,8 +53,7 @@
#endif
diff --git a/extra/imagemagick/PKGBUILD b/extra/imagemagick/PKGBUILD
index 3c81ee687..1e30e166c 100644
--- a/extra/imagemagick/PKGBUILD
+++ b/extra/imagemagick/PKGBUILD
@@ -5,12 +5,12 @@ pkgbase=imagemagick
pkgname=('imagemagick' 'imagemagick-doc')
pkgver=6.8.7.4
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.imagemagick.org/"
license=('custom')
makedepends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'ghostscript' \
- 'openexr' 'libwmf' 'librsvg' 'libxml2' 'jasper' 'liblqr' \
- 'opencl-headers' 'libcl' 'libwebp')
+ 'openexr' 'libwmf' 'librsvg' 'libxml2' 'jasper' 'liblqr' 'libwebp')
+[ "$CARCH" != "mips64el" ] && makedepends+=('opencl-headers' 'libcl')
#source=(http://www.imagemagick.org/download/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc} \
source=(ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc} \
perlmagick.rpath.patch)
@@ -29,6 +29,7 @@ build() {
cd ImageMagick-${pkgver%.*}-${pkgver##*.}
[[ $CARCH = "i686" ]] && EXTRAOPTS="--with-gcc-arch=i686"
[[ $CARCH = "x86_64" ]] && EXTRAOPTS="--with-gcc-arch=x86-64"
+ [ "$CARCH" != "mips64el" ] && EXTRAOPTS="--enable-opencl"
./configure --prefix=/usr --sysconfdir=/etc --with-modules \
--enable-hdri --with-wmf --with-openexr --with-xml --with-lcms2 --with-jp2 \
@@ -46,7 +47,7 @@ check() {
package_imagemagick() {
pkgdesc="An image viewing/manipulation program"
- depends=('perl' 'libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'liblqr' 'libcl')
+ depends=('perl' 'libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'liblqr')
optdepends=('ghostscript: for Ghostscript support'
'openexr: for OpenEXR support'
'libwmf: for WMF support'
@@ -69,6 +70,7 @@ package_imagemagick() {
"etc/ImageMagick-${pkgver%%.*}/type-ghostscript.xml"
"etc/ImageMagick-${pkgver%%.*}/type-windows.xml")
options=('!docs' 'libtool' '!emptydirs')
+ [ "$CARCH" != "mips64el" ] && depends+=('libcl')
cd ImageMagick-${pkgver%.*}-${pkgver##*.}
make -j1 DESTDIR="${pkgdir}" install
diff --git a/extra/imake/PKGBUILD b/extra/imake/PKGBUILD
index 8f943c5ce..ed2f84bff 100644
--- a/extra/imake/PKGBUILD
+++ b/extra/imake/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=imake
pkgver=1.0.6
pkgrel=1
pkgdesc="X.Org imake program and related utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/imap/PKGBUILD b/extra/imap/PKGBUILD
index 8be9b7e81..2ad5306e4 100644
--- a/extra/imap/PKGBUILD
+++ b/extra/imap/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=imap
pkgver=2007f
pkgrel=4
pkgdesc="An IMAP/POP server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
url="http://www.washington.edu/imap"
depends=('openssl' 'pam')
@@ -31,7 +31,7 @@ build() {
cd $srcdir/$pkgname-$pkgver
# NOTE: if you wish to enforce SSL, use SSLTYPE=unix.nopwd
- if [ "$CARCH" == "x86_64" ]; then
+ if [ "$CARCH" != "i686" ]; then
yes "y" | make lnp SPECIALAUTHENTICATORS=ssl SSLTYPE=unix EXTRACFLAGS="${CFLAGS} -fPIC"
else yes "y" | make lnp SPECIALAUTHENTICATORS=ssl SSLTYPE=unix
fi
diff --git a/extra/imlib/PKGBUILD b/extra/imlib/PKGBUILD
index af3f9f544..ef3c493d7 100644
--- a/extra/imlib/PKGBUILD
+++ b/extra/imlib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=imlib
pkgver=1.9.15
pkgrel=13
pkgdesc="General image handling library for X11 and Gtk"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freshmeat.net/projects/imlib/"
license=('GPL')
depends=('gtk' 'giflib' 'libpng' 'libtiff')
diff --git a/extra/imlib2/PKGBUILD b/extra/imlib2/PKGBUILD
index 75cb80b18..10fe35b41 100644
--- a/extra/imlib2/PKGBUILD
+++ b/extra/imlib2/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.4.5
pkgrel=6
pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
url="http://sourceforge.net/projects/enlightenment/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
depends=('libtiff' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag' 'libjpeg-turbo')
source=(http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2
diff --git a/extra/indent/PKGBUILD b/extra/indent/PKGBUILD
index 35f85acd8..637dd82ba 100644
--- a/extra/indent/PKGBUILD
+++ b/extra/indent/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=indent
pkgver=2.2.11
pkgrel=3
pkgdesc="C language source code formatting program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://www.gnu.org/software/indent/"
license=('GPL3')
depends=('glibc')
diff --git a/extra/iniparser/PKGBUILD b/extra/iniparser/PKGBUILD
index 546ba77a7..2dc020765 100644
--- a/extra/iniparser/PKGBUILD
+++ b/extra/iniparser/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=iniparser
pkgver=3.1
pkgrel=4
pkgdesc="A free stand-alone ini file parsing library written in portable ANSI C"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ndevilla.free.fr/iniparser/"
license=('MIT')
depends=('glibc')
diff --git a/extra/inkscape/PKGBUILD b/extra/inkscape/PKGBUILD
index 0758c3f45..893fd7e0c 100644
--- a/extra/inkscape/PKGBUILD
+++ b/extra/inkscape/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=12
pkgdesc='Vector graphics editor using the SVG file format'
url='http://inkscape.sourceforge.net/'
license=('GPL' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('boost' 'intltool')
depends=('gc' 'gsl' 'gtkmm' 'gtkspell' 'imagemagick' 'libxslt' 'poppler-glib>=0.22.3' 'popt'
'python2' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/intel-tbb/PKGBUILD b/extra/intel-tbb/PKGBUILD
index 400dcb52c..eb1b9748f 100644
--- a/extra/intel-tbb/PKGBUILD
+++ b/extra/intel-tbb/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=intel-tbb
pkgver=4.2_20130725
pkgrel=1
pkgdesc='High level abstract threading library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.threadingbuildingblocks.org/'
license=('GPL')
depends=('gcc-libs')
diff --git a/extra/iptraf-ng/0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch b/extra/iptraf-ng/0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch
new file mode 100644
index 000000000..ed3c620e6
--- /dev/null
+++ b/extra/iptraf-ng/0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch
@@ -0,0 +1,127 @@
+From 72512af1a3f1d55fff73cdfe7b63d9cfe8cc37ab Mon Sep 17 00:00:00 2001
+From: Nikola Pajkovsky <npajkovs@redhat.com>
+Date: Wed, 23 May 2012 16:32:27 +0200
+Subject: [PATCH] token-ring: kernel v3.5 kill off token-ring support
+
+Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
+---
+ src/hostmon.c | 10 ----------
+ src/iptraf-ng-compat.h | 1 -
+ src/othptab.c | 6 ------
+ src/packet.c | 27 ---------------------------
+ src/tcptable.c | 4 ----
+ 5 files changed, 48 deletions(-)
+
+diff --git a/src/hostmon.c b/src/hostmon.c
+index 40a2b95..72b91f8 100644
+--- a/src/hostmon.c
++++ b/src/hostmon.c
+@@ -1004,16 +1004,6 @@ void hostmon(const struct OPTIONS *options, time_t facilitytime, char *ifptr,
+ FDDI_K_ALEN);
+ list = flist;
+ break; }
+- case ARPHRD_IEEE802:
+- case ARPHRD_IEEE802_TR: {
+- struct trh_hdr *hdr_trh =
+- (struct trh_hdr *)pkt.pkt_buf;
+- memcpy(scratch_saddr, hdr_trh->saddr,
+- TR_ALEN);
+- memcpy(scratch_daddr, hdr_trh->daddr,
+- TR_ALEN);
+- list = flist;
+- break; }
+ default:
+ /* unknown link protocol */
+ continue;
+diff --git a/src/iptraf-ng-compat.h b/src/iptraf-ng-compat.h
+index d5aee4a..2d9da96 100644
+--- a/src/iptraf-ng-compat.h
++++ b/src/iptraf-ng-compat.h
+@@ -39,7 +39,6 @@
+ #include <linux/if_ether.h>
+ #include <linux/if_packet.h>
+ #include <linux/if_fddi.h>
+-#include <linux/if_tr.h>
+ #include <linux/types.h>
+ #include <linux/isdn.h>
+
+diff --git a/src/othptab.c b/src/othptab.c
+index d12cdfd..1181eb1 100644
+--- a/src/othptab.c
++++ b/src/othptab.c
+@@ -193,12 +193,6 @@ struct othptabent *add_othp_entry(struct othptable *table, struct pkt_hdr *pkt,
+ saddr), new_entry->smacaddr);
+ convmacaddr((char *) (((struct fddihdr *) packet)->
+ daddr), new_entry->dmacaddr);
+- } else if ((pkt->pkt_hatype == ARPHRD_IEEE802)
+- || (pkt->pkt_hatype == ARPHRD_IEEE802_TR)) {
+- convmacaddr((char *) (((struct trh_hdr *) packet)->
+- saddr), new_entry->smacaddr);
+- convmacaddr((char *) (((struct trh_hdr *) packet)->
+- daddr), new_entry->dmacaddr);
+ }
+ }
+
+diff --git a/src/packet.c b/src/packet.c
+index a43a27a..f3e4304 100644
+--- a/src/packet.c
++++ b/src/packet.c
+@@ -51,24 +51,6 @@ static int in_cksum(u_short * addr, int len)
+ return (u_short) (~sum);
+ }
+
+-static unsigned int get_tr_ip_offset(char *pkt)
+-{
+- struct trh_hdr *trh;
+- unsigned int riflen = 0;
+-
+- trh = (struct trh_hdr *) pkt;
+-
+- /*
+- * Check if this packet has TR routing information and get
+- * its length.
+- */
+- if (trh->saddr[0] & TR_RII)
+- riflen = (ntohs(trh->rcf) & TR_RCF_LEN_MASK) >> 8;
+-
+- return sizeof(struct trh_hdr) - TR_MAXRIFLEN + riflen +
+- sizeof(struct trllc);
+-}
+-
+ static int packet_adjust(struct pkt_hdr *pkt)
+ {
+ int retval = 0;
+@@ -109,15 +91,6 @@ static int packet_adjust(struct pkt_hdr *pkt)
+ pkt->pkt_payload += sizeof(struct fddihdr);
+ pkt->pkt_len -= sizeof(struct fddihdr);
+ break;
+- case ARPHRD_IEEE802_TR:
+- case ARPHRD_IEEE802:
+- pkt->pkt_payload = pkt->pkt_buf;
+- /* Token Ring patch supplied by Tomas Dvorak */
+- /* Get the start of the IP packet from the Token Ring frame. */
+- unsigned int dataoffset = get_tr_ip_offset(pkt->pkt_payload);
+- pkt->pkt_payload += dataoffset;
+- pkt->pkt_len -= dataoffset;
+- break;
+ default:
+ /* return a NULL packet to signal an unrecognized link */
+ /* protocol to the caller. Hopefully, this switch statement */
+diff --git a/src/tcptable.c b/src/tcptable.c
+index 56c4780..b0e5ccc 100644
+--- a/src/tcptable.c
++++ b/src/tcptable.c
+@@ -620,10 +620,6 @@ void updateentry(struct tcptable *table, struct tcptableent *tableentry,
+ } else if (linkproto == ARPHRD_FDDI) {
+ convmacaddr((char *) (((struct fddihdr *) packet)->
+ saddr), newmacaddr);
+- } else if ((linkproto == ARPHRD_IEEE802)
+- || (linkproto == ARPHRD_IEEE802_TR)) {
+- convmacaddr((char *) (((struct trh_hdr *) packet)->
+- saddr), newmacaddr);
+ }
+
+ if (tableentry->smacaddr[0] != '\0') {
+--
+1.8.1.4
+
diff --git a/extra/iptraf-ng/PKGBUILD b/extra/iptraf-ng/PKGBUILD
index 3f9d47ad3..763ce965b 100644
--- a/extra/iptraf-ng/PKGBUILD
+++ b/extra/iptraf-ng/PKGBUILD
@@ -7,12 +7,22 @@ pkgver=1.1.4
pkgrel=1
pkgdesc="A console-based network monitoring utility (a fork of original iptraf)"
url="https://fedorahosted.org/iptraf-ng/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ncurses')
license=('GPL2')
replaces=('iptraf')
-source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('de27cfeeede96e2acfb0edc8439b034a')
+source=(https://fedorahosted.org/releases/i/p/$pkgname/$pkgname-$pkgver.tar.gz
+ 0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch
+ iptraf-ng-linux-3.5-compat.patch)
+md5sums=('de27cfeeede96e2acfb0edc8439b034a'
+ 'd5eab1e094b93f0e3a256cf9ccfaa9c3'
+ 'd2ddee5f9ff485155235f7cb4671d8fb')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ patch -p1 -i ${srcdir}/0001-token-ring-kernel-v3.5-kill-off-token-ring-support.patch
+ patch -p1 -i ${srcdir}/iptraf-ng-linux-3.5-compat.patch
+}
build() {
cd "$pkgname-$pkgver"
diff --git a/extra/irqbalance/PKGBUILD b/extra/irqbalance/PKGBUILD
index e9e869dde..2371a50db 100644
--- a/extra/irqbalance/PKGBUILD
+++ b/extra/irqbalance/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=irqbalance
pkgver=1.0.7
pkgrel=1
pkgdesc="IRQ balancing daemon for SMP systems"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/irqbalance"
license=('GPL')
depends=(glib2 numactl libcap-ng)
diff --git a/extra/irssi/PKGBUILD b/extra/irssi/PKGBUILD
index a7c562356..632c25308 100644
--- a/extra/irssi/PKGBUILD
+++ b/extra/irssi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=irssi
pkgver=0.8.15
pkgrel=7
pkgdesc="Modular text mode IRC client with Perl scripting"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://irssi.org/"
license=('GPL')
depends=('glib2' 'openssl')
diff --git a/extra/ispell/PKGBUILD b/extra/ispell/PKGBUILD
index 490878ee5..cc860e594 100644
--- a/extra/ispell/PKGBUILD
+++ b/extra/ispell/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=ispell
pkgver=3.3.02
-pkgrel=5
+pkgrel=5.1
pkgdesc="An interactive spell-checking program for Unix"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ficus-www.cs.ucla.edu/geoff/ispell.html"
license=('BSD')
depends=('ncurses')
diff --git a/extra/jack/PKGBUILD b/extra/jack/PKGBUILD
index e000eb6e2..15dd2aa33 100644
--- a/extra/jack/PKGBUILD
+++ b/extra/jack/PKGBUILD
@@ -6,14 +6,18 @@
pkgname=jack
_longname=jack-audio-connection-kit
pkgver=0.121.3
-pkgrel=7
+pkgrel=7.1
pkgdesc="A low-latency audio server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
depends=('libsamplerate' 'readline')
makedepends=('doxygen' 'libffado' 'celt')
optdepends=('libffado: FireWire support'
'celt: NetJACK driver')
+[ "$CARCH" = "mips64el" ] && {
+makedepends=('doxygen' 'celt')
+optdepends=('celt: NetJACK driver')
+}
url="http://jackaudio.org/"
backup=(etc/security/limits.d/99-audio.conf)
provides=("$_longname=$pkgver")
diff --git a/extra/jade/PKGBUILD b/extra/jade/PKGBUILD
index 78719af83..f5cdb38b7 100644
--- a/extra/jade/PKGBUILD
+++ b/extra/jade/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=9
_debpatch=47.3
pkgdesc="James Clark's DSSSL Engine"
url='http://www.jclark.com/jade/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('gcc-libs')
replaces=('openjade')
diff --git a/extra/jasper/PKGBUILD b/extra/jasper/PKGBUILD
index 50f4f606f..5e7751da1 100644
--- a/extra/jasper/PKGBUILD
+++ b/extra/jasper/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=jasper
pkgver=1.900.1
pkgrel=9
pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ece.uvic.ca/~mdadams/jasper/"
license=('custom:JasPer2.0')
depends=('libjpeg' 'freeglut' 'libxmu' 'glu')
diff --git a/extra/java-access-bridge/PKGBUILD b/extra/java-access-bridge/PKGBUILD
index 2267ac474..34a6aa91d 100644
--- a/extra/java-access-bridge/PKGBUILD
+++ b/extra/java-access-bridge/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=java-access-bridge
pkgver=1.26.2
pkgrel=3
pkgdesc="Java bindings for the GNOME accessibility framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.gnome.org"
depends=('java-runtime' 'gtk2' 'at-spi' 'libbonobo' 'xorg-xprop')
diff --git a/extra/java-commons-daemon/PKGBUILD b/extra/java-commons-daemon/PKGBUILD
index d7176c22c..fda87ac94 100644
--- a/extra/java-commons-daemon/PKGBUILD
+++ b/extra/java-commons-daemon/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=('java-commons-daemon' 'java-jsvc')
pkgbase=java-commons-daemon
pkgver=1.0.15
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://commons.apache.org/daemon/'
license=('APACHE')
_libname=commons-daemon
diff --git a/extra/js/PKGBUILD b/extra/js/PKGBUILD
index 98c2e71ed..08b23ec77 100644
--- a/extra/js/PKGBUILD
+++ b/extra/js/PKGBUILD
@@ -17,6 +17,7 @@ md5sums=('20b6f8f1140ef6e47daa3b16965c9202')
build() {
unset CPPFLAGS
cd mozjs$pkgver/js/src
+
./configure --prefix=/usr --with-system-nspr --with-system-ffi \
--enable-readline --enable-threadsafe
make
diff --git a/extra/js185/PKGBUILD b/extra/js185/PKGBUILD
index 94db39ed1..28b851668 100644
--- a/extra/js185/PKGBUILD
+++ b/extra/js185/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=js185
pkgver=1.0.0
pkgrel=2
pkgdesc="JavaScript interpreter and libraries (legacy)"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="https://developer.mozilla.org/En/SpiderMonkey/1.8.5"
license=(MPL)
depends=(nspr gcc-libs)
@@ -17,11 +17,19 @@ md5sums=('a4574365938222adca0a6bd33329cb32')
build() {
cd js-1.8.5/js/src
+ if [ "$CARCH" = "mips64el" ]; then
+ #Force disabling JIT.
+ sed -ri 's/#define ENABLE_(JIT|ASSEMBLER) 1/#define ENABLE_\1 0/' \
+ assembler/wtf/Platform.h
+ sed -ri 's/ENABLE_(JIT|ASSEMBLER)=1/ENABLE_\1=0/' Makefile.{in,ref}
+ extraconf="--disable-methodjit --disable-tracejit"
+ fi
+
# _FORTIFY_SOURCE causes configure error
unset CPPFLAGS
./configure --prefix=/usr --with-system-nspr \
- --enable-threadsafe
+ --enable-threadsafe $extraconf
make
}
diff --git a/extra/json-c/PKGBUILD b/extra/json-c/PKGBUILD
index 7c6a8139d..a8b67c6ea 100644
--- a/extra/json-c/PKGBUILD
+++ b/extra/json-c/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="A JSON implementation in C"
url="https://github.com/json-c/json-c/wiki"
license=(MIT)
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
depends=(glibc)
options=(!makeflags)
source=(https://s3.amazonaws.com/${pkgname}_releases/releases/$pkgname-${pkgver}.tar.gz)
diff --git a/extra/json-glib/PKGBUILD b/extra/json-glib/PKGBUILD
index 7872a855a..2758ab0d4 100644
--- a/extra/json-glib/PKGBUILD
+++ b/extra/json-glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=json-glib
pkgver=0.16.2
pkgrel=1
pkgdesc="JSON library built on GLib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/JsonGlib"
license=('GPL')
depends=('glib2')
diff --git a/extra/jsoncpp/PKGBUILD b/extra/jsoncpp/PKGBUILD
index 94a3aae2b..9f4411c43 100644
--- a/extra/jsoncpp/PKGBUILD
+++ b/extra/jsoncpp/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=4
pkgdesc="A JSON C++ library"
url='http://jsoncpp.sourceforge.net/'
license=('custom:Public_Domain')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gcc-libs')
makedepends=('scons')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-src-${pkgver}.tar.gz")
diff --git a/extra/k3b/PKGBUILD b/extra/k3b/PKGBUILD
index 65e55798a..c59768f18 100644
--- a/extra/k3b/PKGBUILD
+++ b/extra/k3b/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=k3b
pkgver=2.0.2
pkgrel=9
pkgdesc="Feature-rich and easy to handle CD burning application"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="http://sourceforge.net/projects/k3b/"
license=('GPL')
depends=('kdebase-runtime' 'libkcddb' 'libsamplerate' 'libmad'
diff --git a/extra/kactivities/PKGBUILD b/extra/kactivities/PKGBUILD
index 7d5a2db41..7d522dcb7 100644
--- a/extra/kactivities/PKGBUILD
+++ b/extra/kactivities/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kactivities
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='API for using and interacting with the Activity Manager'
url='https://projects.kde.org/projects/kde/kdelibs/kactivities'
license=('GPL' 'FDL')
diff --git a/extra/kaffeine/PKGBUILD b/extra/kaffeine/PKGBUILD
index 5bad851f1..0d44e0aa3 100644
--- a/extra/kaffeine/PKGBUILD
+++ b/extra/kaffeine/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.2.2
pkgrel=3
pkgdesc='KDE media player'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kaffeine.kde.org"
depends=('kdebase-runtime' 'xine-lib')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeaccessibility-jovie/PKGBUILD b/extra/kdeaccessibility-jovie/PKGBUILD
index 8329faea5..a1b81ae86 100644
--- a/extra/kdeaccessibility-jovie/PKGBUILD
+++ b/extra/kdeaccessibility-jovie/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-jovie
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='A text to speech application'
url='http://kde.org/applications/utilities/jovie/'
license=('GPL' 'FDL')
diff --git a/extra/kdeaccessibility-kaccessible/PKGBUILD b/extra/kdeaccessibility-kaccessible/PKGBUILD
index c4df23ac5..a697cd3d8 100644
--- a/extra/kdeaccessibility-kaccessible/PKGBUILD
+++ b/extra/kdeaccessibility-kaccessible/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-kaccessible
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Provides accessibility services like focus tracking and a screenreader'
url='https://projects.kde.org/projects/kde/kdeaccessibility/kaccessible'
license=('GPL' 'FDL')
diff --git a/extra/kdeaccessibility-kmag/PKGBUILD b/extra/kdeaccessibility-kmag/PKGBUILD
index 7c2f7e184..119b1c8d5 100644
--- a/extra/kdeaccessibility-kmag/PKGBUILD
+++ b/extra/kdeaccessibility-kmag/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-kmag
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Screen Magnifier'
url='http://kde.org/applications/utilities/kmag/'
license=('GPL' 'FDL')
diff --git a/extra/kdeaccessibility-kmousetool/PKGBUILD b/extra/kdeaccessibility-kmousetool/PKGBUILD
index 948087dd8..a2c70d887 100644
--- a/extra/kdeaccessibility-kmousetool/PKGBUILD
+++ b/extra/kdeaccessibility-kmousetool/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-kmousetool
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Clicks the mouse for you, reducing the effects of RSI'
url='http://kde.org/applications/utilities/kmousetool/'
license=('GPL' 'FDL')
diff --git a/extra/kdeaccessibility-kmouth/PKGBUILD b/extra/kdeaccessibility-kmouth/PKGBUILD
index 411823224..ce56dd1a9 100644
--- a/extra/kdeaccessibility-kmouth/PKGBUILD
+++ b/extra/kdeaccessibility-kmouth/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-kmouth
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Speech Synthesizer Frontend'
url='http://kde.org/applications/utilities/kmouth/'
license=('GPL' 'FDL')
diff --git a/extra/kdeadmin-kcron/PKGBUILD b/extra/kdeadmin-kcron/PKGBUILD
index 38bd98d81..7c311c68d 100644
--- a/extra/kdeadmin-kcron/PKGBUILD
+++ b/extra/kdeadmin-kcron/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Configure and schedule tasks'
url='http://userbase.kde.org/KCron'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeadmin')
depends=('kdebase-runtime')
diff --git a/extra/kdeadmin-ksystemlog/PKGBUILD b/extra/kdeadmin-ksystemlog/PKGBUILD
index b6709f3e2..1597fa6bf 100644
--- a/extra/kdeadmin-ksystemlog/PKGBUILD
+++ b/extra/kdeadmin-ksystemlog/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='System log viewer tool'
url='http://kde.org/applications/system/ksystemlog/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeadmin')
depends=('kdebase-runtime')
diff --git a/extra/kdeadmin-kuser/PKGBUILD b/extra/kdeadmin-kuser/PKGBUILD
index f8ed08a16..09a978f8f 100644
--- a/extra/kdeadmin-kuser/PKGBUILD
+++ b/extra/kdeadmin-kuser/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='User Manager'
url='http://kde.org/applications/system/kuser/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeadmin')
depends=('kdebase-runtime' 'kdepimlibs')
diff --git a/extra/kdeartwork/PKGBUILD b/extra/kdeartwork/PKGBUILD
index 0dc398284..44194b935 100644
--- a/extra/kdeartwork/PKGBUILD
+++ b/extra/kdeartwork/PKGBUILD
@@ -14,7 +14,7 @@ pkgname=('kdeartwork-colorschemes'
'kdeartwork-weatherwallpapers')
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeartwork')
diff --git a/extra/kdebase-konsole/PKGBUILD b/extra/kdebase-konsole/PKGBUILD
index 6c7e5f56d..4947c16e4 100644
--- a/extra/kdebase-konsole/PKGBUILD
+++ b/extra/kdebase-konsole/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdebase-konsole
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://kde.org/applications/system/konsole/'
pkgdesc="Terminal"
license=('GPL' 'LGPL' 'FDL')
diff --git a/extra/kdebase-workspace/PKGBUILD b/extra/kdebase-workspace/PKGBUILD
index 0c12a09a2..4fbaba776 100644
--- a/extra/kdebase-workspace/PKGBUILD
+++ b/extra/kdebase-workspace/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=kde-workspace
pkgver=4.11.3
pkgrel=1
pkgdesc="Provides the interface and basic tools for the KDE workspace"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kde-workspace'
license=('GPL' 'LGPL' 'FDL')
groups=('kde')
diff --git a/extra/kdebase/PKGBUILD b/extra/kdebase/PKGBUILD
index 1cf0c6f3c..4b8b4aeb5 100644
--- a/extra/kdebase/PKGBUILD
+++ b/extra/kdebase/PKGBUILD
@@ -9,12 +9,11 @@ pkgname=('kdebase-dolphin'
'kdebase-keditbookmarks'
'kdebase-kfind'
'kdebase-konq-plugins'
- 'kdebase-konqueror'
'kdebase-lib'
'kdebase-plasma')
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdebase')
@@ -97,20 +96,6 @@ package_kdebase-konq-plugins() {
make DESTDIR=$pkgdir install
}
-package_kdebase-konqueror() {
- pkgdesc='KDE File Manager & Web Browser'
- depends=('kdebase-dolphin' 'kdebase-keditbookmarks')
- optdepends=('kwebkitpart: to enable webkit engine')
- url="http://kde.org/applications/internet/konqueror/"
- install='kdebase-konqueror.install'
- conflicts=('kdebase-nsplugins')
- replaces=('kdebase-nsplugins')
- for i in konqueror doc/konqueror nsplugins; do
- cd $srcdir/build/${i}
- make DESTDIR=$pkgdir install
- done
-}
-
package_kdebase-lib() {
pkgdesc='KDE libraries for the basic desktop applications'
groups=()
diff --git a/extra/kdebase/kdebase-konqueror.install b/extra/kdebase/kdebase-konqueror.install
deleted file mode 100644
index 5495fb1b5..000000000
--- a/extra/kdebase/kdebase-konqueror.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdebindings-korundum/PKGBUILD b/extra/kdebindings-korundum/PKGBUILD
index 8eb6b6ac1..af378260b 100644
--- a/extra/kdebindings-korundum/PKGBUILD
+++ b/extra/kdebindings-korundum/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Ruby bindings for libraries created by the KDE community"
url="https://projects.kde.org/projects/kde/kdebindings/ruby/korundum"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-qtruby' 'kdebindings-smokekde')
diff --git a/extra/kdebindings-kross/PKGBUILD b/extra/kdebindings-kross/PKGBUILD
index 716c0315f..50e24db00 100644
--- a/extra/kdebindings-kross/PKGBUILD
+++ b/extra/kdebindings-kross/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('kdebindings-kross-python'
pkgver=4.11.3
pkgrel=1
url="https://projects.kde.org/projects/kde/kdebindings/kross-interpreters"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
makedepends=('kdelibs' 'cmake' 'automoc4' 'python2' 'java-environment')
diff --git a/extra/kdebindings-perlkde/PKGBUILD b/extra/kdebindings-perlkde/PKGBUILD
index c4aeffb67..c7fe9045f 100644
--- a/extra/kdebindings-perlkde/PKGBUILD
+++ b/extra/kdebindings-perlkde/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Perl bindings for the KDE libraries"
url="https://projects.kde.org/projects/kde/kdebindings/perl/perlkde"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-perlqt' 'kdebindings-smokekde')
diff --git a/extra/kdebindings-perlqt/PKGBUILD b/extra/kdebindings-perlqt/PKGBUILD
index 11fd5603d..845d4c168 100644
--- a/extra/kdebindings-perlqt/PKGBUILD
+++ b/extra/kdebindings-perlqt/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Perl bindings for the Qt libraries"
url="https://projects.kde.org/projects/kde/kdebindings/perl/perlqt"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-smokeqt' 'perl-list-moreutils')
diff --git a/extra/kdebindings-python/PKGBUILD b/extra/kdebindings-python/PKGBUILD
index 91da603fa..dee0d2b37 100644
--- a/extra/kdebindings-python/PKGBUILD
+++ b/extra/kdebindings-python/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('kdebindings-python'
pkgver=4.11.3
pkgrel=1
url='https://projects.kde.org/projects/kde/kdebindings/pykde4'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt4'
diff --git a/extra/kdebindings-qtruby/PKGBUILD b/extra/kdebindings-qtruby/PKGBUILD
index 78163c59f..811148b87 100644
--- a/extra/kdebindings-qtruby/PKGBUILD
+++ b/extra/kdebindings-qtruby/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Ruby bindings for the Qt libraries"
url="https://projects.kde.org/projects/kde/kdebindings/ruby/qtruby"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-smokeqt' 'ruby')
diff --git a/extra/kdebindings-smokegen/PKGBUILD b/extra/kdebindings-smokegen/PKGBUILD
index 1581eaeec..44e2da37c 100644
--- a/extra/kdebindings-smokegen/PKGBUILD
+++ b/extra/kdebindings-smokegen/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A general purpose C++ parser with a plugin infrastructure"
url="https://projects.kde.org/projects/kde/kdebindings/smoke/smokegen"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdebindings-smokekde/PKGBUILD b/extra/kdebindings-smokekde/PKGBUILD
index 90ddcc1d4..a053ad548 100644
--- a/extra/kdebindings-smokekde/PKGBUILD
+++ b/extra/kdebindings-smokekde/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Language independent library for KDE bindings"
url="https://projects.kde.org/projects/kde/kdebindings/smoke/smokekde"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-smokeqt')
diff --git a/extra/kdebindings-smokeqt/PKGBUILD b/extra/kdebindings-smokeqt/PKGBUILD
index 15656c50b..4079403da 100644
--- a/extra/kdebindings-smokeqt/PKGBUILD
+++ b/extra/kdebindings-smokeqt/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Language independent library for Qt bindings"
url="https://projects.kde.org/projects/kde/kdebindings/smoke/smokeqt"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-smokegen' 'qimageblitz' 'qscintilla')
diff --git a/extra/kdeedu-analitza/PKGBUILD b/extra/kdeedu-analitza/PKGBUILD
index f462a785f..b96597258 100644
--- a/extra/kdeedu-analitza/PKGBUILD
+++ b/extra/kdeedu-analitza/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A library to add mathematical features to your program"
url="https://projects.kde.org/projects/kde/kdeedu/analitza"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-blinken/PKGBUILD b/extra/kdeedu-blinken/PKGBUILD
index 9608e27ac..f420fe8ad 100644
--- a/extra/kdeedu-blinken/PKGBUILD
+++ b/extra/kdeedu-blinken/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Memory Enhancement Game"
url="http://kde.org/applications/education/blinken/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-cantor/PKGBUILD b/extra/kdeedu-cantor/PKGBUILD
index 1ee3885d7..7b6ed11d4 100644
--- a/extra/kdeedu-cantor/PKGBUILD
+++ b/extra/kdeedu-cantor/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="KDE Frontend to Mathematical Software"
url="http://kde.org/applications/education/cantor/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libspectre' 'kdeedu-analitza' 'libqalculate')
diff --git a/extra/kdeedu-kalgebra/PKGBUILD b/extra/kdeedu-kalgebra/PKGBUILD
index c1c3a895c..44e2a393e 100644
--- a/extra/kdeedu-kalgebra/PKGBUILD
+++ b/extra/kdeedu-kalgebra/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Graph Calculator"
url="http://kde.org/applications/education/kalgebra/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu' 'kdeedu-analitza')
diff --git a/extra/kdeedu-kalzium/PKGBUILD b/extra/kdeedu-kalzium/PKGBUILD
index fe30bc140..b2a129968 100644
--- a/extra/kdeedu-kalzium/PKGBUILD
+++ b/extra/kdeedu-kalzium/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Periodic Table of Elements"
url="http://kde.org/applications/education/kalzium/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'avogadro' 'ocaml' 'facile' 'chemical-mime-data')
diff --git a/extra/kdeedu-kanagram/PKGBUILD b/extra/kdeedu-kanagram/PKGBUILD
index 6d7654fb6..405951c4a 100644
--- a/extra/kdeedu-kanagram/PKGBUILD
+++ b/extra/kdeedu-kanagram/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Letter Order Game"
url="http://kde.org/applications/education/kanagram/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu')
diff --git a/extra/kdeedu-kbruch/PKGBUILD b/extra/kdeedu-kbruch/PKGBUILD
index d1bf73b66..88c297f45 100644
--- a/extra/kdeedu-kbruch/PKGBUILD
+++ b/extra/kdeedu-kbruch/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Exercise Fractions"
url="http://kde.org/applications/education/kbruch/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kgeography/PKGBUILD b/extra/kdeedu-kgeography/PKGBUILD
index 3f4c27639..ad01403b5 100644
--- a/extra/kdeedu-kgeography/PKGBUILD
+++ b/extra/kdeedu-kgeography/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Geography Trainer"
url="http://kde.org/applications/education/kgeography/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-khangman/PKGBUILD b/extra/kdeedu-khangman/PKGBUILD
index bc9836d3d..69ccd260e 100644
--- a/extra/kdeedu-khangman/PKGBUILD
+++ b/extra/kdeedu-khangman/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Hangman Game"
url="http://kde.org/applications/education/khangman/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu')
diff --git a/extra/kdeedu-kig/PKGBUILD b/extra/kdeedu-kig/PKGBUILD
index 072bad311..2d2b80167 100644
--- a/extra/kdeedu-kig/PKGBUILD
+++ b/extra/kdeedu-kig/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Interactive Geometry"
url="http://kde.org/applications/education/kig/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kiten/PKGBUILD b/extra/kdeedu-kiten/PKGBUILD
index d3315abe9..310e04121 100644
--- a/extra/kdeedu-kiten/PKGBUILD
+++ b/extra/kdeedu-kiten/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Japanese Reference/Study Tool"
url="http://kde.org/applications/education/kiten/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-klettres/PKGBUILD b/extra/kdeedu-klettres/PKGBUILD
index 749c68720..10710437b 100644
--- a/extra/kdeedu-klettres/PKGBUILD
+++ b/extra/kdeedu-klettres/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Learn The Alphabet"
url="http://kde.org/applications/education/klettres/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kmplot/PKGBUILD b/extra/kdeedu-kmplot/PKGBUILD
index 91d26c30c..eb73d2d87 100644
--- a/extra/kdeedu-kmplot/PKGBUILD
+++ b/extra/kdeedu-kmplot/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Mathematical Function Plotter"
url="http://kde.org/applications/education/kmplot/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kstars/PKGBUILD b/extra/kdeedu-kstars/PKGBUILD
index 13f03c294..2213a45af 100644
--- a/extra/kdeedu-kstars/PKGBUILD
+++ b/extra/kdeedu-kstars/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Desktop Planetarium"
url="http://kde.org/applications/education/kstars/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'wcslib' 'libindi')
diff --git a/extra/kdeedu-ktouch/PKGBUILD b/extra/kdeedu-ktouch/PKGBUILD
index 265b5cf46..12ab43f7c 100644
--- a/extra/kdeedu-ktouch/PKGBUILD
+++ b/extra/kdeedu-ktouch/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Touch Typing Tutor"
url="http://kde.org/applications/education/ktouch/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kturtle/PKGBUILD b/extra/kdeedu-kturtle/PKGBUILD
index 4dda15278..71ab780c6 100644
--- a/extra/kdeedu-kturtle/PKGBUILD
+++ b/extra/kdeedu-kturtle/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Educational Programming Environment"
url="http://kde.org/applications/education/kturtle/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kwordquiz/PKGBUILD b/extra/kdeedu-kwordquiz/PKGBUILD
index 8a21f9580..97a7c3818 100644
--- a/extra/kdeedu-kwordquiz/PKGBUILD
+++ b/extra/kdeedu-kwordquiz/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Flash Card Trainer"
url="http://kde.org/applications/education/kwordquiz/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu')
diff --git a/extra/kdeedu-marble/PKGBUILD b/extra/kdeedu-marble/PKGBUILD
index 6213afddf..4e190687e 100644
--- a/extra/kdeedu-marble/PKGBUILD
+++ b/extra/kdeedu-marble/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Desktop Globe"
url="http://kde.org/applications/education/marble/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-pairs/PKGBUILD b/extra/kdeedu-pairs/PKGBUILD
index 86a4c964b..6f8e7e2fb 100644
--- a/extra/kdeedu-pairs/PKGBUILD
+++ b/extra/kdeedu-pairs/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A memory and pairs game for KDE"
url="https://projects.kde.org/projects/kde/kdeedu/pairs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-parley/PKGBUILD b/extra/kdeedu-parley/PKGBUILD
index 5e6ef5ff9..fb0e9fef7 100644
--- a/extra/kdeedu-parley/PKGBUILD
+++ b/extra/kdeedu-parley/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Vocabulary Trainer"
url="http://kde.org/applications/education/parley/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu')
diff --git a/extra/kdeedu-rocs/PKGBUILD b/extra/kdeedu-rocs/PKGBUILD
index 5fa30d67f..c2e8d5276 100644
--- a/extra/kdeedu-rocs/PKGBUILD
+++ b/extra/kdeedu-rocs/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Rocs Graph Theory"
url="http://kde.org/applications/education/rocs/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-step/PKGBUILD b/extra/kdeedu-step/PKGBUILD
index 71f18dd7b..47f85588a 100644
--- a/extra/kdeedu-step/PKGBUILD
+++ b/extra/kdeedu-step/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Interactive Physical Simulator"
url="http://kde.org/applications/education/step/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libqalculate' 'gsl')
diff --git a/extra/kdegames-bomber/PKGBUILD b/extra/kdegames-bomber/PKGBUILD
index c72a3acb6..021cd24fe 100644
--- a/extra/kdegames-bomber/PKGBUILD
+++ b/extra/kdegames-bomber/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A single player arcade game"
url="http://kde.org/applications/games/bomber/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-bovo/PKGBUILD b/extra/kdegames-bovo/PKGBUILD
index dfd2f0533..96c290cbb 100644
--- a/extra/kdegames-bovo/PKGBUILD
+++ b/extra/kdegames-bovo/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A Gomoku like game for two players"
url="http://kde.org/applications/games/bovo/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-granatier/PKGBUILD b/extra/kdegames-granatier/PKGBUILD
index ea619cef6..dbf4a75c4 100644
--- a/extra/kdegames-granatier/PKGBUILD
+++ b/extra/kdegames-granatier/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A clone of the classic Bomberman game"
url="http://kde.org/applications/games/granatier/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kapman/PKGBUILD b/extra/kdegames-kapman/PKGBUILD
index 083dbe359..ca98177bb 100644
--- a/extra/kdegames-kapman/PKGBUILD
+++ b/extra/kdegames-kapman/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A clone of the well known game Pac-Man"
url="http://kde.org/applications/games/kapman/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-katomic/PKGBUILD b/extra/kdegames-katomic/PKGBUILD
index 46e2f4642..7b8c9e556 100644
--- a/extra/kdegames-katomic/PKGBUILD
+++ b/extra/kdegames-katomic/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A fun and educational game built around molecular geometry"
url="http://kde.org/applications/games/katomic/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kblackbox/PKGBUILD b/extra/kdegames-kblackbox/PKGBUILD
index 23aac2268..940c6cdd3 100644
--- a/extra/kdegames-kblackbox/PKGBUILD
+++ b/extra/kdegames-kblackbox/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A game of hide and seek played on a grid of boxes"
url="http://kde.org/applications/games/kblackbox/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kblocks/PKGBUILD b/extra/kdegames-kblocks/PKGBUILD
index 2bb16b138..855f67378 100644
--- a/extra/kdegames-kblocks/PKGBUILD
+++ b/extra/kdegames-kblocks/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="The classic falling blocks game"
url="http://kde.org/applications/games/kblocks/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kbounce/PKGBUILD b/extra/kdegames-kbounce/PKGBUILD
index ba1db6276..5e2e46d62 100644
--- a/extra/kdegames-kbounce/PKGBUILD
+++ b/extra/kdegames-kbounce/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A single player arcade game with the elements of puzzle"
url="http://kde.org/applications/games/kbounce/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kbreakout/PKGBUILD b/extra/kdegames-kbreakout/PKGBUILD
index 1a39e8655..37a3bb4a9 100644
--- a/extra/kdegames-kbreakout/PKGBUILD
+++ b/extra/kdegames-kbreakout/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A Breakout-like game"
url="http://kde.org/applications/games/kbreakout/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kdiamond/PKGBUILD b/extra/kdegames-kdiamond/PKGBUILD
index c06fd31b8..a5cf3e6f7 100644
--- a/extra/kdegames-kdiamond/PKGBUILD
+++ b/extra/kdegames-kdiamond/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A single player puzzle game"
url="http://kde.org/applications/games/kdiamond/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kfourinline/PKGBUILD b/extra/kdegames-kfourinline/PKGBUILD
index a2a8264a6..280c80600 100644
--- a/extra/kdegames-kfourinline/PKGBUILD
+++ b/extra/kdegames-kfourinline/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A four-in-a-row game"
url="http://kde.org/applications/games/kfourinline/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kgoldrunner/PKGBUILD b/extra/kdegames-kgoldrunner/PKGBUILD
index 1ff6aeb91..df09c2cf4 100644
--- a/extra/kdegames-kgoldrunner/PKGBUILD
+++ b/extra/kdegames-kgoldrunner/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A game of action and puzzle solving"
url="http://kde.org/applications/games/kgoldrunner/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kigo/PKGBUILD b/extra/kdegames-kigo/PKGBUILD
index f34a0a6a1..cd98155a1 100644
--- a/extra/kdegames-kigo/PKGBUILD
+++ b/extra/kdegames-kigo/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="An open-source implementation of the popular Go game"
url="http://kde.org/applications/games/kigo/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames' 'gnugo')
diff --git a/extra/kdegames-killbots/PKGBUILD b/extra/kdegames-killbots/PKGBUILD
index c9e704c68..5effbff68 100644
--- a/extra/kdegames-killbots/PKGBUILD
+++ b/extra/kdegames-killbots/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A simple game of evading killer robots"
url="http://kde.org/applications/games/killbots/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kiriki/PKGBUILD b/extra/kdegames-kiriki/PKGBUILD
index 76851de8f..e860427f7 100644
--- a/extra/kdegames-kiriki/PKGBUILD
+++ b/extra/kdegames-kiriki/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="An addictive and fun dice game"
url="http://kde.org/applications/games/kiriki/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kjumpingcube/PKGBUILD b/extra/kdegames-kjumpingcube/PKGBUILD
index 2c178e1ef..8a5c11ccd 100644
--- a/extra/kdegames-kjumpingcube/PKGBUILD
+++ b/extra/kdegames-kjumpingcube/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A simple tactical game"
url="http://kde.org/applications/games/kjumpingcube/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-klickety/PKGBUILD b/extra/kdegames-klickety/PKGBUILD
index 978ff53f6..b464cd554 100644
--- a/extra/kdegames-klickety/PKGBUILD
+++ b/extra/kdegames-klickety/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="An adaptation of the Clickomania game"
url="http://kde.org/applications/games/klickety/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-klines/PKGBUILD b/extra/kdegames-klines/PKGBUILD
index 04496e796..11be1ce1c 100644
--- a/extra/kdegames-klines/PKGBUILD
+++ b/extra/kdegames-klines/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A simple but highly addictive, one player game"
url="http://kde.org/applications/games/klines/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kmahjongg/PKGBUILD b/extra/kdegames-kmahjongg/PKGBUILD
index 74b2bde5c..6a52b9a62 100644
--- a/extra/kdegames-kmahjongg/PKGBUILD
+++ b/extra/kdegames-kmahjongg/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A tile matching game for one or two players"
url="http://kde.org/applications/games/kmahjongg/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkmahjongg' 'libkdegames')
diff --git a/extra/kdegames-kmines/PKGBUILD b/extra/kdegames-kmines/PKGBUILD
index 3579cbb82..2ae2f05ea 100644
--- a/extra/kdegames-kmines/PKGBUILD
+++ b/extra/kdegames-kmines/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="The classic Minesweeper game"
url="http://kde.org/applications/games/kmines/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-knavalbattle/PKGBUILD b/extra/kdegames-knavalbattle/PKGBUILD
index 14434c0e5..4ba26e0fd 100644
--- a/extra/kdegames-knavalbattle/PKGBUILD
+++ b/extra/kdegames-knavalbattle/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A ship sinking game"
url="http://kde.org/applications/games/knavalbattle/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-knetwalk/PKGBUILD b/extra/kdegames-knetwalk/PKGBUILD
index 1592016ef..605568d5a 100644
--- a/extra/kdegames-knetwalk/PKGBUILD
+++ b/extra/kdegames-knetwalk/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Connect all the terminals to the server, in as few turns as possible"
url="http://kde.org/applications/games/knetwalk/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kolf/PKGBUILD b/extra/kdegames-kolf/PKGBUILD
index bc13c9054..3f001c9a1 100644
--- a/extra/kdegames-kolf/PKGBUILD
+++ b/extra/kdegames-kolf/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A miniature golf game with 2d top-down view"
url="http://kde.org/applications/games/kolf/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kollision/PKGBUILD b/extra/kdegames-kollision/PKGBUILD
index 1e818e6af..9ac6b370a 100644
--- a/extra/kdegames-kollision/PKGBUILD
+++ b/extra/kdegames-kollision/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A simple ball dodging game"
url="http://kde.org/applications/games/kollision/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-konquest/PKGBUILD b/extra/kdegames-konquest/PKGBUILD
index bafbc9f64..d614f7c9a 100644
--- a/extra/kdegames-konquest/PKGBUILD
+++ b/extra/kdegames-konquest/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="The KDE version of Gnu-Lactic"
url="http://kde.org/applications/games/konquest/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kpatience/PKGBUILD b/extra/kdegames-kpatience/PKGBUILD
index 9c0a89faa..becd68899 100644
--- a/extra/kdegames-kpatience/PKGBUILD
+++ b/extra/kdegames-kpatience/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Offers a selection of solitaire card games"
url="http://kde.org/applications/games/kpat/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kreversi/PKGBUILD b/extra/kdegames-kreversi/PKGBUILD
index bff338c4b..f34fd3546 100644
--- a/extra/kdegames-kreversi/PKGBUILD
+++ b/extra/kdegames-kreversi/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A simple one player strategy game played against the computer"
url="http://kde.org/applications/games/kreversi/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kshisen/PKGBUILD b/extra/kdegames-kshisen/PKGBUILD
index 3cee7ede5..a103077ea 100644
--- a/extra/kdegames-kshisen/PKGBUILD
+++ b/extra/kdegames-kshisen/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A solitaire-like game played using the standard set of Mahjong tiles"
url="http://kde.org/applications/games/kshisen/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames' 'libkmahjongg')
diff --git a/extra/kdegames-ksirk/PKGBUILD b/extra/kdegames-ksirk/PKGBUILD
index d2c23b091..f36b31a9b 100644
--- a/extra/kdegames-ksirk/PKGBUILD
+++ b/extra/kdegames-ksirk/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A computerized version of a well known strategy game"
url="http://kde.org/applications/games/ksirk/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-ksnakeduel/PKGBUILD b/extra/kdegames-ksnakeduel/PKGBUILD
index 7e3f473b4..be13c6e7e 100644
--- a/extra/kdegames-ksnakeduel/PKGBUILD
+++ b/extra/kdegames-ksnakeduel/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A simple snake duel game"
url="http://kde.org/applications/games/ksnakeduel/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kspaceduel/PKGBUILD b/extra/kdegames-kspaceduel/PKGBUILD
index 04b366356..9580ecb03 100644
--- a/extra/kdegames-kspaceduel/PKGBUILD
+++ b/extra/kdegames-kspaceduel/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Each of two possible players controls a satellite spaceship orbiting the sun"
url="http://kde.org/applications/games/kspaceduel/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-ksquares/PKGBUILD b/extra/kdegames-ksquares/PKGBUILD
index eabb17a8a..e8bf721dc 100644
--- a/extra/kdegames-ksquares/PKGBUILD
+++ b/extra/kdegames-ksquares/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A modeled after the well known pen and paper based game of Dots and Boxes"
url="http://kde.org/applications/games/ksquares/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-ksudoku/PKGBUILD b/extra/kdegames-ksudoku/PKGBUILD
index df7494792..89b91f7b6 100644
--- a/extra/kdegames-ksudoku/PKGBUILD
+++ b/extra/kdegames-ksudoku/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A logic-based symbol placement puzzle"
url="http://kde.org/applications/games/ksudoku/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-ktuberling/PKGBUILD b/extra/kdegames-ktuberling/PKGBUILD
index 2f69c2714..612b7f6d0 100644
--- a/extra/kdegames-ktuberling/PKGBUILD
+++ b/extra/kdegames-ktuberling/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A simple constructor game suitable for children and adults alike"
url="http://kde.org/applications/games/ktuberling/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-kubrick/PKGBUILD b/extra/kdegames-kubrick/PKGBUILD
index b9cddebec..5e67848bf 100644
--- a/extra/kdegames-kubrick/PKGBUILD
+++ b/extra/kdegames-kubrick/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Based on the famous Rubik's Cube"
url="http://kde.org/applications/games/kubrick/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-lskat/PKGBUILD b/extra/kdegames-lskat/PKGBUILD
index f8f572d0e..e5df0606d 100644
--- a/extra/kdegames-lskat/PKGBUILD
+++ b/extra/kdegames-lskat/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Lieutenant Skat is a fun and engaging card game for two players"
url="http://kde.org/applications/games/lskat/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegames-palapeli/PKGBUILD b/extra/kdegames-palapeli/PKGBUILD
index 219d711e8..2aa47ea83 100644
--- a/extra/kdegames-palapeli/PKGBUILD
+++ b/extra/kdegames-palapeli/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A single-player jigsaw puzzle game"
url="http://kde.org/applications/games/palapeli/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames' 'qhull')
diff --git a/extra/kdegames-picmi/PKGBUILD b/extra/kdegames-picmi/PKGBUILD
index c169f7033..970749ecb 100644
--- a/extra/kdegames-picmi/PKGBUILD
+++ b/extra/kdegames-picmi/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A nonogram logic game for KDE"
url="http://kde.org/applications/games/picmi/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
depends=('kdebase-runtime' 'libkdegames')
diff --git a/extra/kdegraphics-gwenview/PKGBUILD b/extra/kdegraphics-gwenview/PKGBUILD
index 05387e6f3..d32d10b77 100644
--- a/extra/kdegraphics-gwenview/PKGBUILD
+++ b/extra/kdegraphics-gwenview/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A fast and easy to use image viewer for KDE"
url="http://kde.org/applications/graphics/gwenview/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-lib' 'kdebase-runtime' 'libkipi' 'lcms2')
diff --git a/extra/kdegraphics-kamera/PKGBUILD b/extra/kdegraphics-kamera/PKGBUILD
index 2b94506c2..12c7590ff 100644
--- a/extra/kdegraphics-kamera/PKGBUILD
+++ b/extra/kdegraphics-kamera/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Configure Kamera"
url="http://kde.org/applications/graphics/kamera/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime' 'libgphoto2')
diff --git a/extra/kdegraphics-kcolorchooser/PKGBUILD b/extra/kdegraphics-kcolorchooser/PKGBUILD
index aa470f6e1..1a0aa03c9 100644
--- a/extra/kdegraphics-kcolorchooser/PKGBUILD
+++ b/extra/kdegraphics-kcolorchooser/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Color Chooser"
url="http://kde.org/applications/graphics/kcolorchooser/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime')
diff --git a/extra/kdegraphics-kgamma/PKGBUILD b/extra/kdegraphics-kgamma/PKGBUILD
index 18d9706e1..39555de0a 100644
--- a/extra/kdegraphics-kgamma/PKGBUILD
+++ b/extra/kdegraphics-kgamma/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A monitor calibration tool"
url="http://kde.org/applications/graphics/kgamma/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
# note on libxxf86vm:
diff --git a/extra/kdegraphics-kolourpaint/PKGBUILD b/extra/kdegraphics-kolourpaint/PKGBUILD
index 3fb376f27..35cda4e18 100644
--- a/extra/kdegraphics-kolourpaint/PKGBUILD
+++ b/extra/kdegraphics-kolourpaint/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Paint Program"
url="http://kde.org/applications/graphics/kolourpaint/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime' 'qimageblitz')
diff --git a/extra/kdegraphics-kruler/PKGBUILD b/extra/kdegraphics-kruler/PKGBUILD
index fb33da722..44adad058 100644
--- a/extra/kdegraphics-kruler/PKGBUILD
+++ b/extra/kdegraphics-kruler/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Screen Ruler"
url="http://kde.org/applications/graphics/kruler/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime')
diff --git a/extra/kdegraphics-ksaneplugin/PKGBUILD b/extra/kdegraphics-ksaneplugin/PKGBUILD
index 4ef89962f..cbc6542ca 100644
--- a/extra/kdegraphics-ksaneplugin/PKGBUILD
+++ b/extra/kdegraphics-ksaneplugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A scan plugin that implements the scanning"
url="https://projects.kde.org/projects/kde/kdegraphics/ksaneplugin"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('libksane')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdegraphics-ksnapshot/PKGBUILD b/extra/kdegraphics-ksnapshot/PKGBUILD
index 6bd6113f0..d4214e897 100644
--- a/extra/kdegraphics-ksnapshot/PKGBUILD
+++ b/extra/kdegraphics-ksnapshot/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Screen Capture Program"
url="http://kde.org/applications/graphics/ksnapshot/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime' 'libkipi')
diff --git a/extra/kdegraphics-mobipocket/PKGBUILD b/extra/kdegraphics-mobipocket/PKGBUILD
index 8496f6081..66afe8d39 100644
--- a/extra/kdegraphics-mobipocket/PKGBUILD
+++ b/extra/kdegraphics-mobipocket/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A collection of plugins to handle mobipocket files"
url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4' 'kdegraphics-okular')
diff --git a/extra/kdegraphics-okular/PKGBUILD b/extra/kdegraphics-okular/PKGBUILD
index ad41e7371..e840d5645 100644
--- a/extra/kdegraphics-okular/PKGBUILD
+++ b/extra/kdegraphics-okular/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdegraphics-okular
pkgver=4.11.3
pkgrel=1
pkgdesc='Document Viewer'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kde.org/applications/graphics/okular/"
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
diff --git a/extra/kdegraphics-strigi-analyzer/PKGBUILD b/extra/kdegraphics-strigi-analyzer/PKGBUILD
index e8092dd6e..0b19e77a8 100644
--- a/extra/kdegraphics-strigi-analyzer/PKGBUILD
+++ b/extra/kdegraphics-strigi-analyzer/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Strigi analyzers for various graphics file formats"
url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-strigi-analyzer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdegraphics-svgpart/PKGBUILD b/extra/kdegraphics-svgpart/PKGBUILD
index 219278b78..22be0b831 100644
--- a/extra/kdegraphics-svgpart/PKGBUILD
+++ b/extra/kdegraphics-svgpart/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A KPart for viewing SVGs"
url="https://projects.kde.org/projects/kde/kdegraphics/svgpart"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdegraphics-thumbnailers/PKGBUILD b/extra/kdegraphics-thumbnailers/PKGBUILD
index 489d26e88..4bd341b5d 100644
--- a/extra/kdegraphics-thumbnailers/PKGBUILD
+++ b/extra/kdegraphics-thumbnailers/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Thumbnailers for various graphics file formats"
url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-thumbnailers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('libkexiv2' 'libkdcraw')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdemultimedia-audiocd-kio/PKGBUILD b/extra/kdemultimedia-audiocd-kio/PKGBUILD
index 02453f418..0c4c6d841 100644
--- a/extra/kdemultimedia-audiocd-kio/PKGBUILD
+++ b/extra/kdemultimedia-audiocd-kio/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Kioslave for accessing audio CDs"
url='https://projects.kde.org/projects/kde/kdemultimedia/audiocd-kio'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('libkcddb' 'libkcompactdisc' 'lame' 'cdparanoia')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdemultimedia-dragonplayer/PKGBUILD b/extra/kdemultimedia-dragonplayer/PKGBUILD
index 24bfa11ea..178b2372d 100644
--- a/extra/kdemultimedia-dragonplayer/PKGBUILD
+++ b/extra/kdemultimedia-dragonplayer/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="A multimedia player where the focus is on simplicity, instead of
features"
url='http://kde.org/applications/multimedia/dragonplayer/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime')
diff --git a/extra/kdemultimedia-ffmpegthumbs/PKGBUILD b/extra/kdemultimedia-ffmpegthumbs/PKGBUILD
index db7a97af1..5cdf2c160 100644
--- a/extra/kdemultimedia-ffmpegthumbs/PKGBUILD
+++ b/extra/kdemultimedia-ffmpegthumbs/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='FFmpeg-based thumbnail creator for video files'
url='https://projects.kde.org/projects/kde/kdemultimedia/ffmpegthumbs'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdelibs' 'ffmpeg')
diff --git a/extra/kdemultimedia-juk/PKGBUILD b/extra/kdemultimedia-juk/PKGBUILD
index 5796a1fca..308ef0f6a 100644
--- a/extra/kdemultimedia-juk/PKGBUILD
+++ b/extra/kdemultimedia-juk/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='A jukebox, tagger and music collection manager'
url='http://kde.org/applications/multimedia/juk/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime' 'taglib')
diff --git a/extra/kdemultimedia-kmix/PKGBUILD b/extra/kdemultimedia-kmix/PKGBUILD
index b43d9ab4b..61836c3b5 100644
--- a/extra/kdemultimedia-kmix/PKGBUILD
+++ b/extra/kdemultimedia-kmix/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="KDE volume control program"
url='http://kde.org/applications/multimedia/kmix/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime')
diff --git a/extra/kdemultimedia-kscd/PKGBUILD b/extra/kdemultimedia-kscd/PKGBUILD
index 2b086f6a3..6bc6e9e53 100644
--- a/extra/kdemultimedia-kscd/PKGBUILD
+++ b/extra/kdemultimedia-kscd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="KDE CD player"
url='http://kde.org/applications/multimedia/kscd/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime' 'libmusicbrainz3')
diff --git a/extra/kdemultimedia-mplayerthumbs/PKGBUILD b/extra/kdemultimedia-mplayerthumbs/PKGBUILD
index 509955cce..3817fd6ad 100644
--- a/extra/kdemultimedia-mplayerthumbs/PKGBUILD
+++ b/extra/kdemultimedia-mplayerthumbs/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="MPlayer based thumbnail generator for video files"
url='https://projects.kde.org/projects/kde/kdemultimedia/mplayerthumbs'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
groups=('kde' 'kdemultimedia')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'mplayer')
diff --git a/extra/kdenetwork-filesharing/PKGBUILD b/extra/kdenetwork-filesharing/PKGBUILD
index 7fa04e8cc..fd7801fdb 100644
--- a/extra/kdenetwork-filesharing/PKGBUILD
+++ b/extra/kdenetwork-filesharing/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Properties dialog plugin to share a directory with the local network'
url='https://projects.kde.org/projects/kde/kdenetwork/kdenetwork-filesharing'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
depends=('kdebase-runtime' 'smbclient')
diff --git a/extra/kdenetwork-kdnssd/PKGBUILD b/extra/kdenetwork-kdnssd/PKGBUILD
index a7023574c..26fb1a73e 100644
--- a/extra/kdenetwork-kdnssd/PKGBUILD
+++ b/extra/kdenetwork-kdnssd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Monitors the network for DNS-SD services'
url='https://projects.kde.org/projects/kde/kdenetwork/kdnssd'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
depends=('kdebase-runtime')
diff --git a/extra/kdenetwork-kget/PKGBUILD b/extra/kdenetwork-kget/PKGBUILD
index e79b09b99..2382d20b8 100644
--- a/extra/kdenetwork-kget/PKGBUILD
+++ b/extra/kdenetwork-kget/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Download Manager'
url='http://kde.org/applications/internet/kget/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
depends=('kdebase-workspace' 'kdebase-lib' 'libktorrent' 'libmms' 'gpgme' 'nepomuk-widgets')
diff --git a/extra/kdenetwork-kppp/PKGBUILD b/extra/kdenetwork-kppp/PKGBUILD
index 09c32250c..d34bd1c2f 100644
--- a/extra/kdenetwork-kppp/PKGBUILD
+++ b/extra/kdenetwork-kppp/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Internet Dial-Up Tool'
url='http://kde.org/applications/internet/kppp/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
depends=('kdebase-runtime' 'ppp')
diff --git a/extra/kdenetwork-krdc/PKGBUILD b/extra/kdenetwork-krdc/PKGBUILD
index 8f7ce1fb2..a268117fb 100644
--- a/extra/kdenetwork-krdc/PKGBUILD
+++ b/extra/kdenetwork-krdc/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Remote Desktop Client'
url='http://kde.org/applications/internet/krdc/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
depends=('kdebase-runtime' 'telepathy-qt')
diff --git a/extra/kdenetwork-krfb/PKGBUILD b/extra/kdenetwork-krfb/PKGBUILD
index 395c27bcc..f5e209fdf 100644
--- a/extra/kdenetwork-krfb/PKGBUILD
+++ b/extra/kdenetwork-krfb/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Desktop Sharing'
url='http://www.kde.org/applications/system/krfb'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
# note on libxdamage:
diff --git a/extra/kdenetwork-strigi-analyzers/PKGBUILD b/extra/kdenetwork-strigi-analyzers/PKGBUILD
index 9e0161b22..c422a704f 100644
--- a/extra/kdenetwork-strigi-analyzers/PKGBUILD
+++ b/extra/kdenetwork-strigi-analyzers/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Strigi analyzers for various network protocols'
url='https://projects.kde.org/projects/kde/kdenetwork/kdenetwork-strigi-analyzers'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
depends=('kdebase-runtime')
diff --git a/extra/kdepim-runtime/PKGBUILD b/extra/kdepim-runtime/PKGBUILD
index 06436925f..2a8d033dc 100644
--- a/extra/kdepim-runtime/PKGBUILD
+++ b/extra/kdepim-runtime/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdepim-runtime
pkgver=4.11.3
pkgrel=1
pkgdesc='Extends the functionality of kdepim'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kdepim-runtime'
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'libkgapi' 'libkolab' 'libkfbapi')
diff --git a/extra/kdepim/kdepim-akregator.install b/extra/kdepim/kdepim-akregator.install
deleted file mode 100644
index 5787df72f..000000000
--- a/extra/kdepim/kdepim-akregator.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdepim/kdepim-kleopatra.install b/extra/kdepim/kdepim-kleopatra.install
deleted file mode 100644
index 5787df72f..000000000
--- a/extra/kdepim/kdepim-kleopatra.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdepim/kdepim-kmail.install b/extra/kdepim/kdepim-kmail.install
deleted file mode 100644
index 5787df72f..000000000
--- a/extra/kdepim/kdepim-kmail.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdepim/kdepim-knode.install b/extra/kdepim/kdepim-knode.install
deleted file mode 100644
index 5787df72f..000000000
--- a/extra/kdepim/kdepim-knode.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdepim/kdepim-korganizer.install b/extra/kdepim/kdepim-korganizer.install
deleted file mode 100644
index 5787df72f..000000000
--- a/extra/kdepim/kdepim-korganizer.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdepim/kdepim-ktnef.install b/extra/kdepim/kdepim-ktnef.install
deleted file mode 100644
index 5787df72f..000000000
--- a/extra/kdepim/kdepim-ktnef.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdepim/kdepim.install b/extra/kdepim/kdepim.install
deleted file mode 100644
index e70c054ec..000000000
--- a/extra/kdepim/kdepim.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdepimlibs/PKGBUILD b/extra/kdepimlibs/PKGBUILD
index b47c0ff4f..1c11bab4b 100644
--- a/extra/kdepimlibs/PKGBUILD
+++ b/extra/kdepimlibs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdepimlibs
pkgver=4.11.3
pkgrel=1
pkgdesc="KDE PIM Libraries"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kdepimlibs'
license=('GPL' 'LGPL')
depends=('nepomuk-core' 'gpgme' 'akonadi' 'libical' 'prison' 'qjson')
diff --git a/extra/kdeplasma-addons/PKGBUILD b/extra/kdeplasma-addons/PKGBUILD
index 1147e9574..3485ab153 100644
--- a/extra/kdeplasma-addons/PKGBUILD
+++ b/extra/kdeplasma-addons/PKGBUILD
@@ -79,7 +79,7 @@ pkgname=('kdeplasma-addons-applets-bball'
'kdeplasma-addons-wallpapers-weather')
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kdeplasma-addons'
license=('GPL' 'LGPL')
groups=('kde' 'kdeplasma-addons')
diff --git a/extra/kdesdk-cervisia/PKGBUILD b/extra/kdesdk-cervisia/PKGBUILD
index 5edae76f8..aba451b1a 100644
--- a/extra/kdesdk-cervisia/PKGBUILD
+++ b/extra/kdesdk-cervisia/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='CVS Frontend'
url='http://kde.org/applications/development/cervisia/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime')
diff --git a/extra/kdesdk-dev-scripts/PKGBUILD b/extra/kdesdk-dev-scripts/PKGBUILD
index a5b21a192..5a77797e8 100644
--- a/extra/kdesdk-dev-scripts/PKGBUILD
+++ b/extra/kdesdk-dev-scripts/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Scripts and setting files useful during development of KDE software'
url='https://projects.kde.org/projects/kde/kdesdk/kde-dev-scripts'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime' 'python2')
diff --git a/extra/kdesdk-dev-utils/PKGBUILD b/extra/kdesdk-dev-utils/PKGBUILD
index 618c84208..9a5f8fc43 100644
--- a/extra/kdesdk-dev-utils/PKGBUILD
+++ b/extra/kdesdk-dev-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Small utilities for developers using KDE/Qt libs/frameworks'
url='https://projects.kde.org/projects/kde/kdesdk/kde-dev-utils'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime')
diff --git a/extra/kdesdk-dolphin-plugins/PKGBUILD b/extra/kdesdk-dolphin-plugins/PKGBUILD
index bab7b3adf..8afead78f 100644
--- a/extra/kdesdk-dolphin-plugins/PKGBUILD
+++ b/extra/kdesdk-dolphin-plugins/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Extra Dolphin plugins'
url='https://projects.kde.org/projects/kde/kdesdk/dolphin-plugins'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime' 'kdebase-lib')
diff --git a/extra/kdesdk-kapptemplate/PKGBUILD b/extra/kdesdk-kapptemplate/PKGBUILD
index 7fd512b32..8bb65eb98 100644
--- a/extra/kdesdk-kapptemplate/PKGBUILD
+++ b/extra/kdesdk-kapptemplate/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='KDE Template Generator'
url='http://kde.org/applications/development/kapptemplate/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime')
diff --git a/extra/kdesdk-kate/PKGBUILD b/extra/kdesdk-kate/PKGBUILD
index d53a68c32..8c3cd1969 100644
--- a/extra/kdesdk-kate/PKGBUILD
+++ b/extra/kdesdk-kate/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('kdebase-katepart'
'kdesdk-kate')
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
makedepends=('kdelibs ''cmake' 'automoc4' 'kdebindings-python')
source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz"
diff --git a/extra/kdesdk-kcachegrind/PKGBUILD b/extra/kdesdk-kcachegrind/PKGBUILD
index d17d5232d..191bfa49f 100644
--- a/extra/kdesdk-kcachegrind/PKGBUILD
+++ b/extra/kdesdk-kcachegrind/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Visualization of Performance Profiling Data'
url='http://kde.org/applications/development/kcachegrind/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime' 'python2')
diff --git a/extra/kdesdk-kioslaves/PKGBUILD b/extra/kdesdk-kioslaves/PKGBUILD
index 2f601ef9a..28e785f4f 100644
--- a/extra/kdesdk-kioslaves/PKGBUILD
+++ b/extra/kdesdk-kioslaves/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='KIO-Slaves'
url='https://projects.kde.org/projects/kde/kdesdk/kdesdk-kioslaves'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime' 'subversion')
diff --git a/extra/kdesdk-kompare/PKGBUILD b/extra/kdesdk-kompare/PKGBUILD
index d936b122a..4c857b1bc 100644
--- a/extra/kdesdk-kompare/PKGBUILD
+++ b/extra/kdesdk-kompare/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Diff/Patch Frontend'
url='http://kde.org/applications/development/kompare/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime')
diff --git a/extra/kdesdk-lokalize/PKGBUILD b/extra/kdesdk-lokalize/PKGBUILD
index e2b0f08ca..aac50809a 100644
--- a/extra/kdesdk-lokalize/PKGBUILD
+++ b/extra/kdesdk-lokalize/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Computer-Aided Translation System'
url='http://kde.org/applications/development/lokalize/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime' 'kdebindings-python2' 'kdesdk-strigi-analyzers')
diff --git a/extra/kdesdk-okteta/PKGBUILD b/extra/kdesdk-okteta/PKGBUILD
index 4f23618c0..3d62399ba 100644
--- a/extra/kdesdk-okteta/PKGBUILD
+++ b/extra/kdesdk-okteta/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Hex Editor'
url='http://kde.org/applications/utilities/okteta/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime')
diff --git a/extra/kdesdk-poxml/PKGBUILD b/extra/kdesdk-poxml/PKGBUILD
index 04b5b1d47..a06233bc4 100644
--- a/extra/kdesdk-poxml/PKGBUILD
+++ b/extra/kdesdk-poxml/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Translates DocBook XML files using gettext po files'
url='https://projects.kde.org/projects/kde/kdesdk/poxml'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdelibs')
diff --git a/extra/kdesdk-strigi-analyzers/PKGBUILD b/extra/kdesdk-strigi-analyzers/PKGBUILD
index 1b3e244bc..1326dacfc 100644
--- a/extra/kdesdk-strigi-analyzers/PKGBUILD
+++ b/extra/kdesdk-strigi-analyzers/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Analyzer plugins for strigi'
url='https://projects.kde.org/projects/kde/kdesdk/kdesdk-strigi-analyzers'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime')
diff --git a/extra/kdesdk-thumbnailers/PKGBUILD b/extra/kdesdk-thumbnailers/PKGBUILD
index cb32852f7..871977f2c 100644
--- a/extra/kdesdk-thumbnailers/PKGBUILD
+++ b/extra/kdesdk-thumbnailers/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Plugins for the thumbnailing system'
url='https://projects.kde.org/projects/kde/kdesdk/kdesdk-thumbnailers'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime')
diff --git a/extra/kdesdk-umbrello/PKGBUILD b/extra/kdesdk-umbrello/PKGBUILD
index 54a852ece..0e0603afd 100644
--- a/extra/kdesdk-umbrello/PKGBUILD
+++ b/extra/kdesdk-umbrello/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='UML Modeller'
url='http://kde.org/applications/development/umbrello/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
depends=('kdebase-runtime')
diff --git a/extra/kdetoys-amor/PKGBUILD b/extra/kdetoys-amor/PKGBUILD
index 2a10b581c..27b4196f1 100644
--- a/extra/kdetoys-amor/PKGBUILD
+++ b/extra/kdetoys-amor/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='On-Screen Creature'
url='https://projects.kde.org/projects/kde/kdetoys/amor'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdetoys')
depends=('kdebase-runtime')
diff --git a/extra/kdetoys-kteatime/PKGBUILD b/extra/kdetoys-kteatime/PKGBUILD
index 61170d92c..c92f0c375 100644
--- a/extra/kdetoys-kteatime/PKGBUILD
+++ b/extra/kdetoys-kteatime/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Tea Cooker'
url='http://kde.org/applications/games/kteatime/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdetoys')
depends=('kdebase-runtime')
diff --git a/extra/kdetoys-ktux/PKGBUILD b/extra/kdetoys-ktux/PKGBUILD
index c1012093a..a03f5e915 100644
--- a/extra/kdetoys-ktux/PKGBUILD
+++ b/extra/kdetoys-ktux/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='A Tux-in-a-spaceship screen saver'
url='https://projects.kde.org/projects/kde/kdetoys/ktux'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdetoys')
depends=('kdebase-workspace')
diff --git a/extra/kdeutils-filelight/PKGBUILD b/extra/kdeutils-filelight/PKGBUILD
index 937bc1ef2..de0f2147c 100644
--- a/extra/kdeutils-filelight/PKGBUILD
+++ b/extra/kdeutils-filelight/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='View disk usage information'
url='http://kde.org/applications/utilities/filelight'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kcalc/PKGBUILD b/extra/kdeutils-kcalc/PKGBUILD
index 9ddba2ed9..1476d580e 100644
--- a/extra/kdeutils-kcalc/PKGBUILD
+++ b/extra/kdeutils-kcalc/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Scientific Calculator'
url='http://kde.org/applications/utilities/kcalc/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kcharselect/PKGBUILD b/extra/kdeutils-kcharselect/PKGBUILD
index 4d4a7d076..334730c67 100644
--- a/extra/kdeutils-kcharselect/PKGBUILD
+++ b/extra/kdeutils-kcharselect/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Character Selector'
url="http://kde.org/applications/utilities/kcharselect/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kdf/PKGBUILD b/extra/kdeutils-kdf/PKGBUILD
index 5ada19406..1240c41fe 100644
--- a/extra/kdeutils-kdf/PKGBUILD
+++ b/extra/kdeutils-kdf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdeutils-kdf
pkgver=4.11.3
pkgrel=1
url="http://kde.org/applications/system/kdiskfree/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='View Disk Usage'
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
diff --git a/extra/kdeutils-kfloppy/PKGBUILD b/extra/kdeutils-kfloppy/PKGBUILD
index 5bb960b98..d59673532 100644
--- a/extra/kdeutils-kfloppy/PKGBUILD
+++ b/extra/kdeutils-kfloppy/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Floppy Formatter'
url='http://kde.org/applications/utilities/kfloppy/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kgpg/PKGBUILD b/extra/kdeutils-kgpg/PKGBUILD
index 668a33d8f..2390382d1 100644
--- a/extra/kdeutils-kgpg/PKGBUILD
+++ b/extra/kdeutils-kgpg/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='A GnuPG frontend'
url='http://kde.org/applications/utilities/kgpg/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'kdepimlibs' 'kde-agent')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kremotecontrol/PKGBUILD b/extra/kdeutils-kremotecontrol/PKGBUILD
index 3e53fe077..1bb885a7c 100644
--- a/extra/kdeutils-kremotecontrol/PKGBUILD
+++ b/extra/kdeutils-kremotecontrol/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Configure your remote controls for use with applications'
url='http://kde.org/applications/utilities/kremotecontrol/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-workspace')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-ktimer/PKGBUILD b/extra/kdeutils-ktimer/PKGBUILD
index f705f745e..634a66be4 100644
--- a/extra/kdeutils-ktimer/PKGBUILD
+++ b/extra/kdeutils-ktimer/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Countdown Launcher'
url='http://kde.org/applications/utilities/ktimer/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kwallet/PKGBUILD b/extra/kdeutils-kwallet/PKGBUILD
index 443b4fe28..78f71dc51 100644
--- a/extra/kdeutils-kwallet/PKGBUILD
+++ b/extra/kdeutils-kwallet/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='Wallet Management Tool'
url='http://kde.org/applications/system/kwalletmanager/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-print-manager/PKGBUILD b/extra/kdeutils-print-manager/PKGBUILD
index 84004cb6f..39e061087 100644
--- a/extra/kdeutils-print-manager/PKGBUILD
+++ b/extra/kdeutils-print-manager/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdeutils-print-manager
pkgver=4.11.3
pkgrel=1
pkgdesc="A tool for managing print jobs and printers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kdeutils/print-manager'
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-workspace' 'libcups')
diff --git a/extra/kdeutils-superkaramba/PKGBUILD b/extra/kdeutils-superkaramba/PKGBUILD
index 50ef70c94..b8cc0b1f3 100644
--- a/extra/kdeutils-superkaramba/PKGBUILD
+++ b/extra/kdeutils-superkaramba/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='An engine for cool desktop eyecandy'
url='http://kde.org/applications/utilities/superkaramba/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'qimageblitz')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-sweeper/PKGBUILD b/extra/kdeutils-sweeper/PKGBUILD
index 527386ecc..de7b8b918 100644
--- a/extra/kdeutils-sweeper/PKGBUILD
+++ b/extra/kdeutils-sweeper/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc='System Cleaner'
url='http://kde.org/applications/utilities/sweeper'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdevelop-pg-qt/PKGBUILD b/extra/kdevelop-pg-qt/PKGBUILD
index 0a65a0113..0f4f472d3 100644
--- a/extra/kdevelop-pg-qt/PKGBUILD
+++ b/extra/kdevelop-pg-qt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdevelop-pg-qt
pkgver=1.0.0
pkgrel=2
pkgdesc="KDevelop Parser Generator, a LL(1) parser generator used by KDevelop language plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs')
diff --git a/extra/kdevelop-php/PKGBUILD b/extra/kdevelop-php/PKGBUILD
index 4694ec1a2..a7125d836 100644
--- a/extra/kdevelop-php/PKGBUILD
+++ b/extra/kdevelop-php/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.5.2
_pkgver=4.5.2
pkgrel=1
pkgdesc="PHP language and documentation plugin for KDevelop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdevelop')
diff --git a/extra/kdevelop-python/PKGBUILD b/extra/kdevelop-python/PKGBUILD
index 94764a75b..4dc31ff6f 100644
--- a/extra/kdevelop-python/PKGBUILD
+++ b/extra/kdevelop-python/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdevelop-python
pkgver=1.5.2
pkgrel=1
pkgdesc="Python language and documentation plugin for KDevelop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdevelop')
diff --git a/extra/kdevelop/PKGBUILD b/extra/kdevelop/PKGBUILD
index 69d607d73..abdaad6a2 100644
--- a/extra/kdevelop/PKGBUILD
+++ b/extra/kdevelop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdevelop
pkgver=4.5.2
pkgrel=1
pkgdesc="A C/C++ development environment for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdebase-workspace' 'kdevplatform' 'kdebase-katepart')
diff --git a/extra/kdevplatform/PKGBUILD b/extra/kdevplatform/PKGBUILD
index 9de6e085f..d7be656c0 100644
--- a/extra/kdevplatform/PKGBUILD
+++ b/extra/kdevplatform/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.5.2
_pkgver=4.5.2
pkgrel=1
pkgdesc="A C/C++ development platform for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs' 'subversion' 'qjson')
diff --git a/extra/kdewebdev/PKGBUILD b/extra/kdewebdev/PKGBUILD
index 285812d75..a1725fd2b 100644
--- a/extra/kdewebdev/PKGBUILD
+++ b/extra/kdewebdev/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=('kdewebdev-kfilereplace'
'kdewebdev-kommander')
pkgver=4.11.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdewebdev')
diff --git a/extra/kdiff3/PKGBUILD b/extra/kdiff3/PKGBUILD
index 8f6f601c0..1c5bd164e 100644
--- a/extra/kdiff3/PKGBUILD
+++ b/extra/kdiff3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdiff3
pkgver=0.9.97
pkgrel=2
pkgdesc="A KDE file comparator/merge tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kdiff3.sourceforge.net/"
license=('GPL')
depends=('kdebase-runtime')
diff --git a/extra/kexec-tools/PKGBUILD b/extra/kexec-tools/PKGBUILD
index 740569631..da57ba6e0 100644
--- a/extra/kexec-tools/PKGBUILD
+++ b/extra/kexec-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kexec-tools
pkgver=2.0.4
pkgrel=2
pkgdesc="Load another kernel from the currently executing Linux kernel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kernel.org/pub/linux/utils/kernel/kexec/"
source=("ftp://ftp.archlinux.org/other/kexec-tools/kexec-tools-${pkgver}.tar.bz2"
# upstream tarballs broken with bsdtar!
diff --git a/extra/kino/PKGBUILD b/extra/kino/PKGBUILD
index f9682d2ed..b107e8a9d 100644
--- a/extra/kino/PKGBUILD
+++ b/extra/kino/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kino
pkgver=1.3.4
pkgrel=5
pkgdesc="A non-linear DV editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kinodv.org/"
license=('GPL')
depends=('libavc1394' 'libiec61883' 'libdv' 'libglade' 'libxv' 'libsamplerate' 'libsm' 'desktop-file-utils')
diff --git a/extra/kismet/PKGBUILD b/extra/kismet/PKGBUILD
index 71d7c62c8..b06e04747 100644
--- a/extra/kismet/PKGBUILD
+++ b/extra/kismet/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=2013_03_R1b
_realver="${pkgver//_/-}"
pkgrel=2
pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kismetwireless.net/"
license=('GPL')
depends=('libpcap' 'pcre' 'bluez-libs' 'libcap')
@@ -32,7 +32,8 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var
+ --localstatedir=/var \
+ --build=$CHOST --host=$CHOST
make dep
make
diff --git a/extra/kobodeluxe/PKGBUILD b/extra/kobodeluxe/PKGBUILD
index ab6d8db27..b8be491ce 100644
--- a/extra/kobodeluxe/PKGBUILD
+++ b/extra/kobodeluxe/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kobodeluxe
pkgver=0.5.1
pkgrel=4
pkgdesc="An enhanced version of Akira Higuchi's game XKobo, an addictive space shoot'em up"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.olofson.net/kobodl/"
license=('GPL' 'LGPL')
depends=('sdl_image' 'hicolor-icon-theme' 'gtk-update-icon-cache')
diff --git a/extra/konversation/PKGBUILD b/extra/konversation/PKGBUILD
index 298426026..acc05d9bb 100644
--- a/extra/konversation/PKGBUILD
+++ b/extra/konversation/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=konversation
pkgver=1.4
pkgrel=7
pkgdesc="A user friendly IRC client for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://konversation.kde.org"
depends=('kdebase-runtime' 'kdepimlibs')
makedepends=('automoc4' 'cmake' 'pkgconfig' 'docbook-xml' 'optipng')
diff --git a/extra/kscreen/PKGBUILD b/extra/kscreen/PKGBUILD
index b5ed69b01..d810f9794 100644
--- a/extra/kscreen/PKGBUILD
+++ b/extra/kscreen/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kscreen
pkgver=1.0.1
pkgrel=1
pkgdesc="KDE's screen management software"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/kscreen'
license=('GPL' 'LGPL')
depends=('kdebase-runtime' "libkscreen>=${pkgver}")
diff --git a/extra/ktorrent/PKGBUILD b/extra/ktorrent/PKGBUILD
index 4d9053872..f2e52639a 100644
--- a/extra/ktorrent/PKGBUILD
+++ b/extra/ktorrent/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ktorrent
pkgver=4.3.1
pkgrel=1
pkgdesc="A powerful BitTorrent client for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://ktorrent.org/'
license=('GPL2')
depends=('libktorrent' 'kdebase-workspace' 'taglib')
diff --git a/extra/kwebkitpart/PKGBUILD b/extra/kwebkitpart/PKGBUILD
index aeae8d6c2..9369118e6 100644
--- a/extra/kwebkitpart/PKGBUILD
+++ b/extra/kwebkitpart/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.3.3
pkgrel=2
pkgdesc="A WebKit browser component for KDE"
url="https://projects.kde.org/projects/extragear/base/kwebkitpart/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/lablgtk2/PKGBUILD b/extra/lablgtk2/PKGBUILD
index 2c7f732e4..54680c0ee 100644
--- a/extra/lablgtk2/PKGBUILD
+++ b/extra/lablgtk2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lablgtk2
pkgver=2.16.0
pkgrel=5
pkgdesc=" An Objective Caml interface to gtk2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://lablgtk.forge.ocamlcore.org/"
depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui' 'gtksourceview2')
diff --git a/extra/ladspa/PKGBUILD b/extra/ladspa/PKGBUILD
index 4885aaa34..596c6104e 100644
--- a/extra/ladspa/PKGBUILD
+++ b/extra/ladspa/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=ladspa
pkgver=1.13
-pkgrel=4
+pkgrel=4.1
pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
license=('LGPL')
url="http://www.ladspa.org/"
depends=('gcc-libs')
diff --git a/extra/lame/PKGBUILD b/extra/lame/PKGBUILD
index 6f5ffde79..9d034a627 100644
--- a/extra/lame/PKGBUILD
+++ b/extra/lame/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=lame
pkgver=3.99.5
pkgrel=2
pkgdesc="A high quality MPEG Audio Layer III (MP3) encoder"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://lame.sourceforge.net/"
depends=('ncurses')
makedepends=('nasm')
diff --git a/extra/lapack/PKGBUILD b/extra/lapack/PKGBUILD
index 31ab30360..b76ee52a4 100644
--- a/extra/lapack/PKGBUILD
+++ b/extra/lapack/PKGBUILD
@@ -12,7 +12,7 @@ url="http://www.netlib.org/lapack"
pkgdesc="Linear Algebra PACKage"
makedepends=('gcc-fortran' 'cmake')
depends=('gcc-libs')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=("custom")
source=(http://www.netlib.org/${pkgbase}/${pkgbase}-${pkgver}.tgz
LICENSE.blas)
diff --git a/extra/latex2rtf/PKGBUILD b/extra/latex2rtf/PKGBUILD
index 2e3ca4de9..36e03da89 100644
--- a/extra/latex2rtf/PKGBUILD
+++ b/extra/latex2rtf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=latex2rtf
pkgver=2.3.3
pkgrel=1
pkgdesc="LaTeX to RTF converter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://latex2rtf.sourceforge.net/"
license=('GPL')
depends=('glibc' 'imagemagick' 'ghostscript')
diff --git a/extra/lbreakout2/PKGBUILD b/extra/lbreakout2/PKGBUILD
index 983fdb088..03144c063 100644
--- a/extra/lbreakout2/PKGBUILD
+++ b/extra/lbreakout2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lbreakout2
pkgver=2.6.4
pkgrel=2
pkgdesc="A breakout game with nice effects, graphics, and sounds"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://lgames.sourceforge.net"
license=('GPL')
depends=('sdl_mixer' 'libpng')
diff --git a/extra/lcab/PKGBUILD b/extra/lcab/PKGBUILD
index 863178f64..f3ead6e60 100644
--- a/extra/lcab/PKGBUILD
+++ b/extra/lcab/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=lcab
pkgver=1.0b12
-pkgrel=4
+pkgrel=4.1
pkgdesc="A program to make Microsoft cabinet files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://ohnopub.net/~ohnobinki/lcab/"
depends=('glibc')
diff --git a/extra/lcms/PKGBUILD b/extra/lcms/PKGBUILD
index 3a6e6b248..2017ee8b5 100644
--- a/extra/lcms/PKGBUILD
+++ b/extra/lcms/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lcms
pkgver=1.19
pkgrel=5
pkgdesc="Lightweight color management development library/engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('libtiff')
url="http://www.littlecms.com"
diff --git a/extra/lcms2/PKGBUILD b/extra/lcms2/PKGBUILD
index 187a1dab6..1cace6db4 100644
--- a/extra/lcms2/PKGBUILD
+++ b/extra/lcms2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lcms2
pkgver=2.5
pkgrel=2
pkgdesc="Small-footprint color management engine, version 2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.littlecms.com"
license=('MIT')
depends=('libtiff')
diff --git a/extra/ldb/PKGBUILD b/extra/ldb/PKGBUILD
index e7791be97..bf9471682 100644
--- a/extra/ldb/PKGBUILD
+++ b/extra/ldb/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ldb
pkgver=1.1.16
pkgrel=1
pkgdesc="A schema-less, ldap like, API and database"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ldb.samba.org/"
source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
license=('GPL3')
diff --git a/extra/leafpad/PKGBUILD b/extra/leafpad/PKGBUILD
index a54bcc40f..334890bfe 100644
--- a/extra/leafpad/PKGBUILD
+++ b/extra/leafpad/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=leafpad
pkgver=0.8.18.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="A notepad clone for GTK+ 2.0"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tarot.freeshell.org/leafpad/"
license=('GPL')
depends=('gtk2' 'desktop-file-utils')
diff --git a/extra/lensfun/PKGBUILD b/extra/lensfun/PKGBUILD
index a3a2cedd0..39c211128 100644
--- a/extra/lensfun/PKGBUILD
+++ b/extra/lensfun/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lensfun
pkgver=0.2.7
pkgrel=1
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://lensfun.berlios.de/"
license=('LGPL3')
depends=('glibc' 'glib2')
@@ -14,6 +14,11 @@ source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ if [ "$CARCH" = "mips64el" ]; then
+ confflags="--vectorization="
+ else
+ confflags=""
+ fi
sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
}
@@ -21,7 +26,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
- --libdir=/usr/lib
+ --libdir=/usr/lib ${confflags}
make all
}
diff --git a/extra/lesstif/PKGBUILD b/extra/lesstif/PKGBUILD
index 2ec414b6b..26bd0627a 100644
--- a/extra/lesstif/PKGBUILD
+++ b/extra/lesstif/PKGBUILD
@@ -5,11 +5,12 @@ pkgname=lesstif
pkgver=0.95.2
pkgrel=6
pkgdesc="LGPL'd re-implementation of Motif"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/lesstif/"
license=('LGPL' 'MIT')
depends=('freetype2' 'libxt' 'libxp')
-options=('!makeflags' '!buildflags')
+[ "$CARCH" = "mips64el" ] && options=('!makeflags')
+[ "$CARCH" = "mips64el" ] || options=('!makeflags' '!buildflags')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'LICENSE'
'040_fedora_XxxxProperty-64bit.diff')
diff --git a/extra/lftp/PKGBUILD b/extra/lftp/PKGBUILD
index ac3eb7fee..5271b475f 100644
--- a/extra/lftp/PKGBUILD
+++ b/extra/lftp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lftp
pkgver=4.4.10
pkgrel=1
pkgdesc="Sophisticated command line based FTP client"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh')
optdepends=('perl: needed for convert-netscape-cookies and verify-file')
diff --git a/extra/libaccounts-glib/PKGBUILD b/extra/libaccounts-glib/PKGBUILD
index bafa1c34e..800256354 100644
--- a/extra/libaccounts-glib/PKGBUILD
+++ b/extra/libaccounts-glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libaccounts-glib
pkgver=1.12
pkgrel=1
pkgdesc="Glib-based client library for accessing the online accounts database"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/accounts-sso/"
license=('LGPL')
depends=('dbus-glib' 'libxml2' 'sqlite3')
diff --git a/extra/libaccounts-qt/PKGBUILD b/extra/libaccounts-qt/PKGBUILD
index 4c87f2de0..231fdbddc 100644
--- a/extra/libaccounts-qt/PKGBUILD
+++ b/extra/libaccounts-qt/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('libaccounts-qt' 'libaccounts-qt-doc')
pkgver=1.9
pkgrel=1
pkgdesc="Qt-based client library for accessing the online accounts database"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/accounts-sso/"
license=('LGPL')
depends=('qt4' 'libaccounts-glib')
diff --git a/extra/libaio/PKGBUILD b/extra/libaio/PKGBUILD
index 500097b37..01ddc86bb 100644
--- a/extra/libaio/PKGBUILD
+++ b/extra/libaio/PKGBUILD
@@ -4,16 +4,21 @@
pkgname=libaio
pkgver=0.3.109
+_patchver=${pkgver}-2
pkgrel=7
pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://lse.sourceforge.net/io/aio.html"
license=('LGPL')
-source=(http://ftp.de.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.gz)
-md5sums=('435a5b16ca6198eaf01155263d855756')
+source=(http://ftp.de.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.gz
+http://ftp.de.debian.org/debian/pool/main/liba/${pkgname}/${pkgname}_${_patchver}.debian.tar.gz)
build() {
cd "$srcdir/$pkgname-$pkgver"
+
+ # Debian patches for extra arches
+ patch -Np1 -i ../debian/patches/00_arches.patch
+
make
}
@@ -22,3 +27,5 @@ package() {
make prefix="$pkgdir/usr" install
}
+md5sums=('435a5b16ca6198eaf01155263d855756'
+ 'f942fe72127b612b93636387de47001b')
diff --git a/extra/libao/PKGBUILD b/extra/libao/PKGBUILD
index c08182ef0..76779a511 100644
--- a/extra/libao/PKGBUILD
+++ b/extra/libao/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.1.0
pkgrel=3
pkgdesc='Cross-platform audio output library and plugins'
url='http://xiph.org/ao/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('alsa-lib')
makedepends=('libpulse')
diff --git a/extra/libart-lgpl/PKGBUILD b/extra/libart-lgpl/PKGBUILD
index c6f7c4f17..f375d7904 100644
--- a/extra/libart-lgpl/PKGBUILD
+++ b/extra/libart-lgpl/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.3.21
pkgrel=3
pkgdesc="A library for high-performance 2D graphics"
url="http://www.levien.com/libart/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
source=(http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-${pkgver}.tar.bz2)
sha256sums=('fdc11e74c10fc9ffe4188537e2b370c0abacca7d89021d4d303afdf7fd7476fa')
diff --git a/extra/libass/PKGBUILD b/extra/libass/PKGBUILD
index 6e5812ea7..7841be2f2 100644
--- a/extra/libass/PKGBUILD
+++ b/extra/libass/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libass
pkgver=0.10.2
pkgrel=1
pkgdesc="A portable library for SSA/ASS subtitles rendering"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/libass/"
license=('BSD')
depends=('enca' 'fontconfig' 'fribidi')
diff --git a/extra/libasyncns/PKGBUILD b/extra/libasyncns/PKGBUILD
index b4f1ce64a..2604dde50 100644
--- a/extra/libasyncns/PKGBUILD
+++ b/extra/libasyncns/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=libasyncns
pkgver=0.8
pkgrel=5
pkgdesc="A C library for executing name service queries asynchronously"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/libasyncns"
license=('LGPL')
depends=('glibc')
diff --git a/extra/libatasmart/PKGBUILD b/extra/libatasmart/PKGBUILD
index 1c400b8f9..920ad0382 100644
--- a/extra/libatasmart/PKGBUILD
+++ b/extra/libatasmart/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libatasmart
pkgver=0.19
pkgrel=2
pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('udev')
url="http://0pointer.de/blog/projects/being-smart.html"
diff --git a/extra/libavc1394/PKGBUILD b/extra/libavc1394/PKGBUILD
index 206ddf25f..8a45812dc 100644
--- a/extra/libavc1394/PKGBUILD
+++ b/extra/libavc1394/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libavc1394
pkgver=0.5.4
pkgrel=2
pkgdesc="A library to control A/V devices using the 1394ta AV/C commands."
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://sourceforge.net/projects/libavc1394/"
license=('LGPL')
depends=('libraw1394')
diff --git a/extra/libbluedevil/PKGBUILD b/extra/libbluedevil/PKGBUILD
index 1d9ea1538..da95a708c 100644
--- a/extra/libbluedevil/PKGBUILD
+++ b/extra/libbluedevil/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libbluedevil
pkgver=1.9.4
pkgrel=1
pkgdesc='A Qt4 wrapper for bluez used in the new KDE bluetooth stack'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://projects.kde.org/projects/playground/libs/libbluedevil"
license=('GPL')
depends=('qt4' 'bluez4')
diff --git a/extra/libbluray/PKGBUILD b/extra/libbluray/PKGBUILD
index 8e739be01..9a5788976 100644
--- a/extra/libbluray/PKGBUILD
+++ b/extra/libbluray/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libbluray
pkgver=0.4.0
pkgrel=1
pkgdesc='Library to access Blu-Ray disks for video playback'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.videolan.org/developers/libbluray.html'
license=('LGPL2.1')
depends=('libxml2' 'freetype2')
diff --git a/extra/libbonobo/PKGBUILD b/extra/libbonobo/PKGBUILD
index 153464c76..600bac7e2 100644
--- a/extra/libbonobo/PKGBUILD
+++ b/extra/libbonobo/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libbonobo
pkgver=2.32.1
pkgrel=4
pkgdesc="A set of language and system independant CORBA interfaces for creating reusable components"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('orbit2' 'libxml2' 'glib2' 'popt')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/libbonoboui/PKGBUILD b/extra/libbonoboui/PKGBUILD
index acf60a46e..bbd8bc2f0 100644
--- a/extra/libbonoboui/PKGBUILD
+++ b/extra/libbonoboui/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libbonoboui
pkgver=2.24.5
-pkgrel=2
+pkgrel=2.1
pkgdesc="User Interface library for Bonobo"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
depends=('libgnomecanvas' 'libgnome')
makedepends=('intltool' 'pkg-config')
diff --git a/extra/libbsd/PKGBUILD b/extra/libbsd/PKGBUILD
index cc7b99336..a01c8ad13 100644
--- a/extra/libbsd/PKGBUILD
+++ b/extra/libbsd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libbsd
pkgver=0.6.0
pkgrel=2
pkgdesc="Provides useful functions commonly found on BSD systems like strlcpy()"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libbsd.freedesktop.org"
license=('custom')
depends=('glibc')
diff --git a/extra/libburn/PKGBUILD b/extra/libburn/PKGBUILD
index 8895f79d5..9e098c77b 100644
--- a/extra/libburn/PKGBUILD
+++ b/extra/libburn/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libburn
pkgver=1.3.2 # .pl01
pkgrel=1
pkgdesc="Library for reading, mastering and writing optical discs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libburnia-project.org"
license=('GPL')
depends=('glibc')
diff --git a/extra/libcaca/PKGBUILD b/extra/libcaca/PKGBUILD
index 6e078f5e2..4e0e37f70 100644
--- a/extra/libcaca/PKGBUILD
+++ b/extra/libcaca/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libcaca
pkgver=0.99.beta18
pkgrel=2
pkgdesc="Color AsCii Art library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:WTFPL')
url="http://caca.zoy.org/wiki/libcaca"
depends=('imlib2' 'ncurses')
diff --git a/extra/libcanberra/PKGBUILD b/extra/libcanberra/PKGBUILD
index adfe05c8e..3b5e6e174 100644
--- a/extra/libcanberra/PKGBUILD
+++ b/extra/libcanberra/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(libcanberra libcanberra-pulse libcanberra-gstreamer)
pkgver=0.30
pkgrel=4
pkgdesc="A small and lightweight implementation of the XDG Sound Theme Specification"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(LGPL)
depends=(libvorbis libltdl alsa-lib tdb sound-theme-freedesktop)
makedepends=(gtk-doc libpulse gstreamer gtk2 gtk3 git)
diff --git a/extra/libcap-ng/PKGBUILD b/extra/libcap-ng/PKGBUILD
index 8ed9da266..154d7396d 100644
--- a/extra/libcap-ng/PKGBUILD
+++ b/extra/libcap-ng/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcap-ng
pkgver=0.7.3
pkgrel=1
pkgdesc="A library making programming with POSIX capabilities easier than traditional libcap"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://people.redhat.com/sgrubb/libcap-ng/"
license=('GPL2' 'LGPL2.1')
depends=('glibc')
diff --git a/extra/libcdaudio/PKGBUILD b/extra/libcdaudio/PKGBUILD
index 09b8d1ad7..c1e4a03b1 100644
--- a/extra/libcdaudio/PKGBUILD
+++ b/extra/libcdaudio/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcdaudio
pkgver=0.99.12
pkgrel=7
pkgdesc="Library for controlling Audio CDs and interacting with CDDB"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libcdaudio.sourceforge.net/"
license=('GPL')
depends=('glibc')
diff --git a/extra/libcddb/PKGBUILD b/extra/libcddb/PKGBUILD
index 3f209e824..22abc1cd0 100644
--- a/extra/libcddb/PKGBUILD
+++ b/extra/libcddb/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libcddb
pkgver=1.3.2
pkgrel=4
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
url="http://sourceforge.net/projects/libcddb/"
license=('LGPL')
diff --git a/extra/libcdio-paranoia/PKGBUILD b/extra/libcdio-paranoia/PKGBUILD
index 7221e3d00..03edceb66 100644
--- a/extra/libcdio-paranoia/PKGBUILD
+++ b/extra/libcdio-paranoia/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcdio-paranoia
pkgver=10.2+0.90+1
pkgrel=1
pkgdesc="CD paranoia libraries from libcdio"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
url="http://www.gnu.org/software/libcdio/"
depends=('libcdio')
diff --git a/extra/libcdio/PKGBUILD b/extra/libcdio/PKGBUILD
index e2458c935..21586ea1b 100644
--- a/extra/libcdio/PKGBUILD
+++ b/extra/libcdio/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcdio
pkgver=0.90
pkgrel=2
pkgdesc="GNU Compact Disc Input and Control Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://www.gnu.org/software/libcdio/"
depends=('libcddb' 'ncurses' 'gcc-libs')
diff --git a/extra/libchamplain/PKGBUILD b/extra/libchamplain/PKGBUILD
index 98b6a3f6d..a5c88d06c 100644
--- a/extra/libchamplain/PKGBUILD
+++ b/extra/libchamplain/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2
pkgdesc="Gtk3 widget for displaying rasterized maps"
url="http://projects.gnome.org/libchamplain/"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('clutter-gtk' 'libsoup' 'cairo' 'sqlite')
makedepends=('gobject-introspection' 'gtk-doc' 'vala')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
diff --git a/extra/libchewing/PKGBUILD b/extra/libchewing/PKGBUILD
index e78344048..56af292e3 100644
--- a/extra/libchewing/PKGBUILD
+++ b/extra/libchewing/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.3.5
pkgrel=1
pkgdesc='Intelligent Chinese phonetic input method'
url='http://chewing.im/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
source=("http://chewing.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('5ee3941f0f62fa14fbda53e1032970b04a7a88b7')
diff --git a/extra/libconfig/PKGBUILD b/extra/libconfig/PKGBUILD
index c78b64a63..1ec4c0c54 100644
--- a/extra/libconfig/PKGBUILD
+++ b/extra/libconfig/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libconfig
pkgver=1.4.9
pkgrel=1
pkgdesc="C/C++ Configuration File Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hyperrealm.com/libconfig/libconfig.html"
license=('LGPL')
depends=('gcc-libs' 'texinfo')
@@ -19,7 +19,7 @@ md5sums=('b6ee0ce2b3ef844bad7cac2803a90634')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --build=$CHOST --host=$CHOST
make
}
diff --git a/extra/libcroco/PKGBUILD b/extra/libcroco/PKGBUILD
index 1b9ed25f2..04eeacbf3 100644
--- a/extra/libcroco/PKGBUILD
+++ b/extra/libcroco/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libcroco
pkgver=0.6.8
-pkgrel=1
+pkgrel=1.1
pkgdesc="A CSS parsing library"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
depends=('glib2' 'libxml2')
makedepends=('intltool')
license=('LGPL')
diff --git a/extra/libcryptui/PKGBUILD b/extra/libcryptui/PKGBUILD
index e070560c4..700cff9a1 100644
--- a/extra/libcryptui/PKGBUILD
+++ b/extra/libcryptui/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcryptui
pkgver=3.10.1
pkgrel=1
pkgdesc="Library for OpenPGP prompts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://git.gnome.org/browse/libcryptui/"
license=('GPL')
depends=('gtk3' 'gpgme' 'dbus-glib' 'libnotify' 'libgnome-keyring' 'dconf')
diff --git a/extra/libcue/PKGBUILD b/extra/libcue/PKGBUILD
index 9a1049ba0..ce757c039 100644
--- a/extra/libcue/PKGBUILD
+++ b/extra/libcue/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.4.0
pkgrel=3
pkgdesc='Parses so-called cue sheets and handles the parsed data'
url='http://sourceforge.net/projects/libcue/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc')
source=("http://downloads.sourceforge.net/libcue/${pkgname}-${pkgver}.tar.bz2")
diff --git a/extra/libdaemon/PKGBUILD b/extra/libdaemon/PKGBUILD
index 12e15fe02..a6b8dcb40 100644
--- a/extra/libdaemon/PKGBUILD
+++ b/extra/libdaemon/PKGBUILD
@@ -6,11 +6,11 @@
pkgname=libdaemon
pkgver=0.14
-pkgrel=2
+pkgrel=2.1
pkgdesc='Lightweight C library that eases the writing of UNIX daemons'
url='http://0pointer.de/lennart/projects/libdaemon/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://0pointer.de/lennart/projects/libdaemon/${pkgname}-${pkgver}.tar.gz")
sha1sums=('78a4db58cf3a7a8906c35592434e37680ca83b8f')
diff --git a/extra/libdatrie/PKGBUILD b/extra/libdatrie/PKGBUILD
index 7a160ed4f..170e1b070 100644
--- a/extra/libdatrie/PKGBUILD
+++ b/extra/libdatrie/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="Implementation of double-array structure for representing trie, as proposed by Junichi Aoe."
url="http://linux.thai.net/projects/datrie"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
options=('!emptydirs')
source=(http://linux.thai.net/pub/thailinux/software/libthai/${pkgname}-${pkgver}.tar.xz)
diff --git a/extra/libdbusmenu-qt/PKGBUILD b/extra/libdbusmenu-qt/PKGBUILD
index 4f3c0fa15..3192cf128 100644
--- a/extra/libdbusmenu-qt/PKGBUILD
+++ b/extra/libdbusmenu-qt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdbusmenu-qt
pkgver=0.9.2
pkgrel=2
pkgdesc="A library that provides a Qt implementation of the DBusMenu spec"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/libdbusmenu-qt"
license=('GPL')
depends=('qt4')
diff --git a/extra/libdc1394/PKGBUILD b/extra/libdc1394/PKGBUILD
index c4c65ca20..331aeed15 100644
--- a/extra/libdc1394/PKGBUILD
+++ b/extra/libdc1394/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdc1394
pkgver=2.2.1
pkgrel=2
pkgdesc="High level programming interface to control IEEE 1394 based cameras"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://sourceforge.net/projects/libdc1394/"
depends=('libraw1394' 'libusbx')
diff --git a/extra/libdca/PKGBUILD b/extra/libdca/PKGBUILD
index 664822b48..cfac10ae8 100644
--- a/extra/libdca/PKGBUILD
+++ b/extra/libdca/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdca
pkgver=0.0.5
pkgrel=4
pkgdesc="Free library for decoding DTS Coherent Acoustics streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.videolan.org/developers/libdca.html"
depends=('sh')
diff --git a/extra/libdiscid/PKGBUILD b/extra/libdiscid/PKGBUILD
index fe380c773..7bc700b27 100644
--- a/extra/libdiscid/PKGBUILD
+++ b/extra/libdiscid/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libdiscid
pkgver=0.6.1
pkgrel=2
pkgdesc="A Library for creating MusicBrainz DiscIDs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://musicbrainz.org/doc/libdiscid"
license=('LGPL')
depends=('glibc')
diff --git a/extra/libdmapsharing/PKGBUILD b/extra/libdmapsharing/PKGBUILD
index 628854228..f60c2059c 100644
--- a/extra/libdmapsharing/PKGBUILD
+++ b/extra/libdmapsharing/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdmapsharing
pkgver=2.9.23
pkgrel=1
pkgdesc="A library that implements the DMAP family of protocols"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.flyn.org/projects/libdmapsharing/index.html"
license=('LGPL2.1')
depends=('libsoup' 'avahi' 'gst-plugins-base-libs' 'gdk-pixbuf2')
diff --git a/extra/libdmtx/PKGBUILD b/extra/libdmtx/PKGBUILD
index 96a06f643..54b5311c9 100644
--- a/extra/libdmtx/PKGBUILD
+++ b/extra/libdmtx/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.7.4
pkgrel=5
pkgdesc="A software for reading and writing Data Matrix 2D barcodes"
url="http://www.libdmtx.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
diff --git a/extra/libdmx/PKGBUILD b/extra/libdmx/PKGBUILD
index e3fea94c9..16301513b 100644
--- a/extra/libdmx/PKGBUILD
+++ b/extra/libdmx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libdmx
pkgver=1.1.3
pkgrel=1
pkgdesc="X11 Distributed Multihead extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('dmxproto' 'libxext')
diff --git a/extra/libdrm/PKGBUILD b/extra/libdrm/PKGBUILD
index 6345d283e..fb01cb3f6 100644
--- a/extra/libdrm/PKGBUILD
+++ b/extra/libdrm/PKGBUILD
@@ -5,11 +5,11 @@ pkgname=libdrm
pkgver=2.4.47
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
depends=('glibc' 'libpciaccess')
-makedepends=('valgrind' 'clang')
checkdepends=('cairo')
+[ "$CARCH" != "mips64el" ] && makedepends+=('clang' 'valgrind')
replaces=('libdrm-new' 'libdrm-nouveau')
url="http://dri.freedesktop.org/"
source=(http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2
@@ -27,7 +27,7 @@ build() {
# gcc 4.8 introduces graphic corruption and X crashes with nouveau cards (nv44)
# http://gcc.gnu.org/ml/gcc-help/2013-07/msg00103.html
# we use clang compiler meanwhile
- export CC=clang
+ [ "$CARCH" != "mips64el" ] && export CC=clang
./configure --prefix=/usr --enable-udev
make
diff --git a/extra/libdv/PKGBUILD b/extra/libdv/PKGBUILD
index 770097ca6..10324f642 100644
--- a/extra/libdv/PKGBUILD
+++ b/extra/libdv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libdv
pkgver=1.0.0
pkgrel=5
pkgdesc="The Quasar DV codec (libdv) is a software codec for DV video"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libdv.sourceforge.net/"
license=('LGPL')
depends=('popt')
diff --git a/extra/libdvbpsi/PKGBUILD b/extra/libdvbpsi/PKGBUILD
index 67b08986d..0d9e690d3 100644
--- a/extra/libdvbpsi/PKGBUILD
+++ b/extra/libdvbpsi/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.1.1
pkgrel=1
epoch=1
pkgdesc="A library designed for decoding and generation of MPEG TS and DVB PSI tables"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
depends=('glibc')
replaces=('libdvbpsi4' 'libdvbpsi5')
diff --git a/extra/libdvdcss/PKGBUILD b/extra/libdvdcss/PKGBUILD
index d14311bd5..ac7e003f7 100644
--- a/extra/libdvdcss/PKGBUILD
+++ b/extra/libdvdcss/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.2.13
pkgrel=3
pkgdesc="Portable abstraction library for DVD decryption"
url="http://www.videolan.org/libdvdcss"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc')
options=('!docs' '!emptydirs')
diff --git a/extra/libdvdnav/PKGBUILD b/extra/libdvdnav/PKGBUILD
index 73859b0b7..04bbb764b 100644
--- a/extra/libdvdnav/PKGBUILD
+++ b/extra/libdvdnav/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libdvdnav
pkgver=4.2.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="The library for xine-dvdnav plugin."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://dvdnav.mplayerhq.hu/"
depends=('libdvdread')
diff --git a/extra/libdvdread/PKGBUILD b/extra/libdvdread/PKGBUILD
index 9eec2affd..14f8ce163 100644
--- a/extra/libdvdread/PKGBUILD
+++ b/extra/libdvdread/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libdvdread
pkgver=4.2.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Provides a simple foundation for reading DVD video disks"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://dvdnav.mplayerhq.hu"
license=('GPL')
depends=('glibc')
diff --git a/extra/libebml/PKGBUILD b/extra/libebml/PKGBUILD
index 66bb5bc6e..c9e2aad45 100644
--- a/extra/libebml/PKGBUILD
+++ b/extra/libebml/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libebml
pkgver=1.3.0
pkgrel=2
pkgdesc="Extensible Binary Meta Language library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dl.matroska.org/downloads/libebml/"
license=('LGPL')
depends=('gcc-libs')
diff --git a/extra/libepc/PKGBUILD b/extra/libepc/PKGBUILD
index 6f8e7a789..84d590cb0 100644
--- a/extra/libepc/PKGBUILD
+++ b/extra/libepc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libepc
pkgver=0.4.4
pkgrel=1
pkgdesc="Easy Publish and Consume Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://live.gnome.org/libepc"
depends=('gtk3' 'avahi' 'libsoup')
diff --git a/extra/libetpan/PKGBUILD b/extra/libetpan/PKGBUILD
index 033e99d79..f947a2a74 100644
--- a/extra/libetpan/PKGBUILD
+++ b/extra/libetpan/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libetpan
pkgver=1.1
pkgrel=4
pkgdesc="A portable middleware for email access"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.etpan.org/"
license=("custom:etpan")
depends=('libsasl' 'curl' 'expat')
diff --git a/extra/libevdev/PKGBUILD b/extra/libevdev/PKGBUILD
index 551f90a53..4835f8cf0 100644
--- a/extra/libevdev/PKGBUILD
+++ b/extra/libevdev/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libevdev
pkgver=0.4
pkgrel=2
pkgdesc="Wrapper library for evdev devices"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/libevdev/"
license=(custom:X11)
depends=('glibc')
diff --git a/extra/libexif/PKGBUILD b/extra/libexif/PKGBUILD
index b8518e72f..bf66b8731 100644
--- a/extra/libexif/PKGBUILD
+++ b/extra/libexif/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libexif
pkgver=0.6.21
pkgrel=2
pkgdesc="A library to parse an EXIF file and read the data from those tags"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://sourceforge.net/projects/libexif"
depends=('glibc')
diff --git a/extra/libffado/PKGBUILD b/extra/libffado/PKGBUILD
index 9510acf06..37e9f3b75 100644
--- a/extra/libffado/PKGBUILD
+++ b/extra/libffado/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libffado
pkgver=2.1.0
pkgrel=4
pkgdesc="Driver for FireWire audio devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ffado.org/"
license=('GPL')
depends=('libiec61883' 'libavc1394' 'dbus-c++'
@@ -48,6 +48,8 @@ build() {
if [ "$CARCH" = 'x86_64' ]; then
_scons-conf ENABLE_OPTIMIZATIONS=True
+ elif [ "$CARCH" = "mips64el" ]; then
+ sed -i "s/-mn32/-mn32 $CFLAGS/g" SConstruct
else
_scons-conf
fi
diff --git a/extra/libfontenc/PKGBUILD b/extra/libfontenc/PKGBUILD
index 06d400a59..05b02923c 100644
--- a/extra/libfontenc/PKGBUILD
+++ b/extra/libfontenc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libfontenc
pkgver=1.1.2
pkgrel=1
pkgdesc="X11 font encoding library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('zlib')
diff --git a/extra/libfprint/PKGBUILD b/extra/libfprint/PKGBUILD
index 168f2ed35..c898cdb14 100644
--- a/extra/libfprint/PKGBUILD
+++ b/extra/libfprint/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libfprint
pkgver=0.5.1
pkgrel=1
pkgdesc="Library for fingerprint readers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/fprint/libfprint"
license=(LGPL)
depends=(libusb nss gdk-pixbuf2)
diff --git a/extra/libfs/PKGBUILD b/extra/libfs/PKGBUILD
index 104082d0b..95ace5f52 100644
--- a/extra/libfs/PKGBUILD
+++ b/extra/libfs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libfs
pkgver=1.0.5
pkgrel=2
pkgdesc="X11 Font Services Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('glibc' 'xproto' 'fontsproto')
diff --git a/extra/libftdi/PKGBUILD b/extra/libftdi/PKGBUILD
index 47e8a7584..33529c424 100644
--- a/extra/libftdi/PKGBUILD
+++ b/extra/libftdi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libftdi
pkgver=0.20
pkgrel=2
pkgdesc="A library to talk to FTDI chips"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.intra2net.com/en/developer/libftdi/download.php"
license=('GPL2' 'LGPL2.1')
depends=('libusb-compat' 'gcc-libs')
diff --git a/extra/libgadu/PKGBUILD b/extra/libgadu/PKGBUILD
index 69eb5e1a1..4856e5591 100644
--- a/extra/libgadu/PKGBUILD
+++ b/extra/libgadu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgadu
pkgver=1.11.2
pkgrel=1
pkgdesc="This library implements the client side of the Gadu-Gadu protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://toxygen.net/libgadu/"
license=('LGPL2.1')
depends=('openssl')
diff --git a/extra/libgda/PKGBUILD b/extra/libgda/PKGBUILD
index 8fcf80ba4..356f93787 100644
--- a/extra/libgda/PKGBUILD
+++ b/extra/libgda/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgda
pkgver=5.1.2
pkgrel=2
pkgdesc="Data abstraction layer with mysql, pgsql, xml, sqlite providers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gtksourceview3' 'libxslt' 'json-glib' 'db' 'ncurses' 'libsoup'
'libmariadbclient' 'postgresql-libs' 'python2' 'libsecret'
diff --git a/extra/libgdata/PKGBUILD b/extra/libgdata/PKGBUILD
index bc4ebe09a..e4c19b657 100644
--- a/extra/libgdata/PKGBUILD
+++ b/extra/libgdata/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgdata
pkgver=0.13.4
pkgrel=1
pkgdesc="GLib-based library for accessing online service APIs using the GData protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libsoup' 'liboauth' 'gcr' 'gnome-online-accounts')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libgdiplus/PKGBUILD b/extra/libgdiplus/PKGBUILD
index a6a2e63c7..aadb73f5f 100644
--- a/extra/libgdiplus/PKGBUILD
+++ b/extra/libgdiplus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgdiplus
pkgver=2.10.9
pkgrel=2
pkgdesc="An Open Source Implementation of the GDI+ API"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('MPL' 'LGPL')
url="http://www.mono-project.com"
depends=('libtiff' 'cairo' 'giflib' 'glib2' 'libexif')
diff --git a/extra/libgee/PKGBUILD b/extra/libgee/PKGBUILD
index 4d7cef887..28bf4bd6a 100644
--- a/extra/libgee/PKGBUILD
+++ b/extra/libgee/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="GObject collection library"
url="http://live.gnome.org/Libgee"
license=(LGPL2.1)
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
depends=(glib2)
makedepends=(gobject-introspection vala)
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
diff --git a/extra/libgee06/PKGBUILD b/extra/libgee06/PKGBUILD
index 449f3a02a..2b92e61df 100644
--- a/extra/libgee06/PKGBUILD
+++ b/extra/libgee06/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc="GObject collection library (legacy)"
url="http://live.gnome.org/Libgee"
license=(LGPL2.1)
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
depends=(glib2)
makedepends=(gobject-introspection)
source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver::3}/$_pkgname-$pkgver.tar.xz)
diff --git a/extra/libgksu/PKGBUILD b/extra/libgksu/PKGBUILD
index 5ce2b8ddf..8ee4d6b39 100644
--- a/extra/libgksu/PKGBUILD
+++ b/extra/libgksu/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libgksu
pkgver=2.0.12
-pkgrel=5
+pkgrel=5.1
pkgdesc="gksu authorization library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.nongnu.org/gksu/index.html"
license=(GPL)
depends=('gconf' 'gtk2' 'libgnome-keyring' 'libgtop' 'startup-notification')
@@ -41,6 +41,8 @@ build() {
touch NEWS README
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+
intltoolize --force --copy --automake
autoreconf -fi
./configure --prefix=/usr --sysconfdir=/etc \
diff --git a/extra/libglade/PKGBUILD b/extra/libglade/PKGBUILD
index aaf925e09..d997a18dc 100644
--- a/extra/libglade/PKGBUILD
+++ b/extra/libglade/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libglade
pkgver=2.6.4
pkgrel=5
pkgdesc="Allows you to load glade interface files in a program at runtime"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gtk2>=2.16.0' 'libxml2>=2.7.3')
makedepends=('python2' 'pkgconfig')
diff --git a/extra/libglademm/PKGBUILD b/extra/libglademm/PKGBUILD
index 961f83a46..deb3a2385 100644
--- a/extra/libglademm/PKGBUILD
+++ b/extra/libglademm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libglademm
pkgver=2.6.7
-pkgrel=2
+pkgrel=2.1
pkgdesc="A C++ wrapper for libglade."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkmm.sourceforge.net/"
license=('LGPL')
depends=('libglade>=2.6.3' 'gtkmm>=2.14.1')
diff --git a/extra/libgme/PKGBUILD b/extra/libgme/PKGBUILD
index f7604c3f8..b3eba7e68 100644
--- a/extra/libgme/PKGBUILD
+++ b/extra/libgme/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=libgme
pkgver=0.6.0
-pkgrel=2
+pkgrel=2.2
pkgdesc="Video game music file emulation/playback library"
url="http://game-music-emu.googlecode.com/"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gcc-libs')
makedepends=('cmake')
source=("ftp://ftp.archlinux.org/other/game-music-emu/game-music-emu-${pkgver}.tar.xz")
diff --git a/extra/libgnome-keyring/PKGBUILD b/extra/libgnome-keyring/PKGBUILD
index 42a1dc9c1..520f00c3f 100644
--- a/extra/libgnome-keyring/PKGBUILD
+++ b/extra/libgnome-keyring/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgnome-keyring
pkgver=3.10.1
pkgrel=1
pkgdesc="GNOME keyring client library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('dbus-core' 'glib2' 'libgcrypt')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libgnome/PKGBUILD b/extra/libgnome/PKGBUILD
index df53fd348..4b856115d 100644
--- a/extra/libgnome/PKGBUILD
+++ b/extra/libgnome/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libgnome
pkgname=('libgnome' 'libgnome-data')
pkgver=2.32.1
pkgrel=4
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('intltool' 'gnome-vfs' 'libbonobo' 'gconf' 'gvfs' 'libcanberra')
options=('!emptydirs')
diff --git a/extra/libgnomecanvas/PKGBUILD b/extra/libgnomecanvas/PKGBUILD
index 42ab3bf9e..fae1b4c71 100644
--- a/extra/libgnomecanvas/PKGBUILD
+++ b/extra/libgnomecanvas/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libgnomecanvas
pkgver=2.30.3
-pkgrel=2
+pkgrel=2.2
pkgdesc="The GNOME Canvas library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('libglade>=2.6.4' 'libart-lgpl>=2.3.21')
makedepends=('pkg-config' 'intltool')
diff --git a/extra/libgnomecanvasmm/PKGBUILD b/extra/libgnomecanvasmm/PKGBUILD
index d6af8c475..686540cdb 100644
--- a/extra/libgnomecanvasmm/PKGBUILD
+++ b/extra/libgnomecanvasmm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libgnomecanvasmm
pkgver=2.26.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A C++ wrapper for libgnomecanvas."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtkmm' 'libgnomecanvas')
makedepends=('pkgconfig')
diff --git a/extra/libgnomekbd/PKGBUILD b/extra/libgnomekbd/PKGBUILD
index c9ebca38d..54e853604 100644
--- a/extra/libgnomekbd/PKGBUILD
+++ b/extra/libgnomekbd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.6.0
pkgrel=2
pkgdesc="Gnome keyboard library"
url="http://gswitchit.sourceforge.net"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libxklavier' 'gtk3' 'dconf')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libgnomemm/PKGBUILD b/extra/libgnomemm/PKGBUILD
index d9062ffc3..6568dffaf 100644
--- a/extra/libgnomemm/PKGBUILD
+++ b/extra/libgnomemm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libgnomemm
pkgver=2.30.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="C++ bindings for libgnome."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libgnome>=2.28.0' 'gtkmm>=2.20.0')
makedepends=('pkgconfig')
diff --git a/extra/libgnomeui/PKGBUILD b/extra/libgnomeui/PKGBUILD
index 4bf1c44c0..f9bee4449 100644
--- a/extra/libgnomeui/PKGBUILD
+++ b/extra/libgnomeui/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libgnomeui
pkgver=2.24.5
-pkgrel=1
+pkgrel=1.2
pkgdesc="User Interface library for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libbonoboui' 'libgnome-keyring' 'libsm')
makedepends=('intltool' 'pkg-config')
diff --git a/extra/libgnomeuimm/PKGBUILD b/extra/libgnomeuimm/PKGBUILD
index 70d5ee584..d7f484252 100644
--- a/extra/libgnomeuimm/PKGBUILD
+++ b/extra/libgnomeuimm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libgnomeuimm
pkgver=2.28.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A C++ wrapper for libgnomeui"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://gtkmm.sourceforge.net/"
license=('GPL')
depends=('libgnomeui>=2.24.4' 'libgnomecanvasmm>=2.26.0' 'libgnomemm>=2.30.0' 'libglademm>=2.6.7' 'gconfmm>=2.28.2' 'gnome-vfsmm>=2.26.0')
diff --git a/extra/libgphoto2/PKGBUILD b/extra/libgphoto2/PKGBUILD
index 49a7ecdc3..4247e2d7f 100644
--- a/extra/libgphoto2/PKGBUILD
+++ b/extra/libgphoto2/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libgphoto2
pkgver=2.5.2
pkgrel=2
pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gphoto.org"
license=(LGPL)
depends=('libexif' 'libjpeg' 'gd' 'libltdl' 'libusb')
diff --git a/extra/libgpod/PKGBUILD b/extra/libgpod/PKGBUILD
index 9c26d58a3..993eee3c0 100644
--- a/extra/libgpod/PKGBUILD
+++ b/extra/libgpod/PKGBUILD
@@ -6,12 +6,15 @@ pkgname=libgpod
pkgver=0.8.2
pkgrel=7
pkgdesc="A shared library to access the contents of an iPod"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gdk-pixbuf2' 'mutagen' 'sg3_utils' 'libimobiledevice' 'libplist')
-makedepends=('intltool' 'swig' 'docbook-xsl' 'pygobject2-devel' 'gtk-sharp-2')
-optdepends=('gtk-sharp-2: Mono bindings'
- 'python2-gobject2: python bindings')
+makedepends=('intltool' 'swig' 'docbook-xsl' 'pygobject2-devel')
+optdepends=('python2-gobject2: python bindings')
+if [ "$CARCH" != "mips64el" ]; then
+ makedepends+=('gtk-sharp-2')
+ optdepends+=('gtk-sharp-2: Mono bindings')
+fi
url="http://www.gtkpod.org/libgpod/"
source=(http://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.bz2)
options=('!emptydirs')
@@ -28,4 +31,3 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
}
-
diff --git a/extra/libgsf/PKGBUILD b/extra/libgsf/PKGBUILD
index c9c25b02c..905b3eff8 100644
--- a/extra/libgsf/PKGBUILD
+++ b/extra/libgsf/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libgsf
pkgver=1.14.28
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats"
url="http://www.gnome.org/"
license=('GPL' 'LGPL')
diff --git a/extra/libgtop/PKGBUILD b/extra/libgtop/PKGBUILD
index d95e1bd57..794f10d45 100644
--- a/extra/libgtop/PKGBUILD
+++ b/extra/libgtop/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgtop
pkgver=2.28.5
pkgrel=1
pkgdesc="A library that read information about processes and the running system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('glib2' 'libxau' 'texinfo')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libguess/PKGBUILD b/extra/libguess/PKGBUILD
index 8f128dece..91c3b873a 100644
--- a/extra/libguess/PKGBUILD
+++ b/extra/libguess/PKGBUILD
@@ -5,12 +5,12 @@
pkgname=libguess
pkgver=1.1
-pkgrel=2
+pkgrel=2.1
pkgdesc='High-speed character set detection library'
url='http://atheme.org/project/libguess'
license=('custom')
depends=('libmowgli')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://distfiles.atheme.org/libguess-${pkgver}.tar.gz")
sha1sums=('2760e63b71497506208f9d6269ec52f83bfc6f0b')
diff --git a/extra/libgusb/PKGBUILD b/extra/libgusb/PKGBUILD
index 4c38e8185..f5d2c4a65 100644
--- a/extra/libgusb/PKGBUILD
+++ b/extra/libgusb/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgusb
pkgver=0.1.6
pkgrel=1
pkgdesc="GLib wrapper around libusb1"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://gitorious.org/gusb/"
license=('LGPL2.1')
depends=('udev' 'libusbx')
diff --git a/extra/libgweather/PKGBUILD b/extra/libgweather/PKGBUILD
index 9575320c8..ab8619abc 100644
--- a/extra/libgweather/PKGBUILD
+++ b/extra/libgweather/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgweather
pkgver=3.10.1
pkgrel=1
pkgdesc="Provides access to weather information from the net"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libsoup' 'gnome-icon-theme' 'gtk3')
makedepends=('intltool' 'gobject-introspection' 'vala')
diff --git a/extra/libgxps/PKGBUILD b/extra/libgxps/PKGBUILD
index 94d80574a..173e9107e 100644
--- a/extra/libgxps/PKGBUILD
+++ b/extra/libgxps/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgxps
pkgver=0.2.2
pkgrel=3
pkgdesc="XPS Documents library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="https://live.gnome.org/libgxps"
license=('GPL2')
depends=('cairo' 'libarchive' 'libjpeg-turbo' 'libtiff' 'lcms2')
diff --git a/extra/libhangul/PKGBUILD b/extra/libhangul/PKGBUILD
index a47b2c419..e38f6c328 100644
--- a/extra/libhangul/PKGBUILD
+++ b/extra/libhangul/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2
pkgdesc='Input method library for Korean'
url='http://code.google.com/p/libhangul/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
sha1sums=('9c6f3a82f2d4068771215f1b9f13a0d4bdbbfc77')
diff --git a/extra/libical/PKGBUILD b/extra/libical/PKGBUILD
index 6808b42b0..ca392591a 100644
--- a/extra/libical/PKGBUILD
+++ b/extra/libical/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libical
pkgver=1.0
pkgrel=3
pkgdesc="An open source reference implementation of the icalendar data type and serialization format"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://sourceforge.net/projects/freeassociation/'
license=('LGPL' 'MPL')
depends=('glibc')
diff --git a/extra/libice/PKGBUILD b/extra/libice/PKGBUILD
index 63fd40816..00ae95446 100644
--- a/extra/libice/PKGBUILD
+++ b/extra/libice/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libice
pkgver=1.0.8
pkgrel=2
pkgdesc="X11 Inter-Client Exchange library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
depends=('glibc' 'xproto>=7.0.18')
makedepends=('xtrans>=1.2.5')
diff --git a/extra/libid3tag/PKGBUILD b/extra/libid3tag/PKGBUILD
index 207a51611..3ce9de19a 100644
--- a/extra/libid3tag/PKGBUILD
+++ b/extra/libid3tag/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libid3tag
pkgver=0.15.1b
pkgrel=8
pkgdesc="library for id3 tagging"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.underbit.com/products/mad/"
license=('GPL')
depends=('zlib')
diff --git a/extra/libidl2/PKGBUILD b/extra/libidl2/PKGBUILD
index 1b279642a..6ed52c03f 100644
--- a/extra/libidl2/PKGBUILD
+++ b/extra/libidl2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libidl2
pkgver=0.8.14
pkgrel=3
pkgdesc="A front-end for CORBA 2.2 IDL and Netscape's XPIDL"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('glib2' 'texinfo')
makedepends=('pkg-config')
diff --git a/extra/libidn/PKGBUILD b/extra/libidn/PKGBUILD
index fa6cbe0b6..45c6b40fd 100644
--- a/extra/libidn/PKGBUILD
+++ b/extra/libidn/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.28
pkgrel=2
pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications"
url="http://www.gnu.org/software/libidn/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3' 'LGPL')
depends=('glibc' 'texinfo')
makedepends=('pkgconfig')
diff --git a/extra/libiec61883/PKGBUILD b/extra/libiec61883/PKGBUILD
index 816530da4..6c086997e 100644
--- a/extra/libiec61883/PKGBUILD
+++ b/extra/libiec61883/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=libiec61883
pkgver=1.2.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/linux/libs/ieee1394/"
license=('LGPL')
depends=('libraw1394')
diff --git a/extra/libieee1284/PKGBUILD b/extra/libieee1284/PKGBUILD
index d098af445..c0867657b 100644
--- a/extra/libieee1284/PKGBUILD
+++ b/extra/libieee1284/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libieee1284
pkgver=0.2.11
pkgrel=5
pkgdesc="A library to query devices connected in parallel port"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://cyberelk.net/tim/libieee1284"
depends=('python2')
diff --git a/extra/libifp/PKGBUILD b/extra/libifp/PKGBUILD
index 072bb2975..e931f5398 100644
--- a/extra/libifp/PKGBUILD
+++ b/extra/libifp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libifp
pkgver=1.0.0.2
pkgrel=5
pkgdesc="General-purpose library-driver for iRiver's iFP portable audio players"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://ifp-driver.sourceforge.net/libifp/"
depends=('libusb-compat')
diff --git a/extra/libimobiledevice/PKGBUILD b/extra/libimobiledevice/PKGBUILD
index 9c701c2c9..656d81e52 100644
--- a/extra/libimobiledevice/PKGBUILD
+++ b/extra/libimobiledevice/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.1.5
pkgrel=2
pkgdesc="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
url="http://libimobiledevice.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'LGPL2.1')
depends=('usbmuxd' 'gnutls' 'libgcrypt')
source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
diff --git a/extra/libindi/PKGBUILD b/extra/libindi/PKGBUILD
index 105a060ad..b0e8a4d22 100644
--- a/extra/libindi/PKGBUILD
+++ b/extra/libindi/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=5
pkgdesc="A distributed control protocol designed to operate astronomical instrumentation"
url="http://www.indilib.org/index.php?title=Main_Page"
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libnova' 'cfitsio' 'boost-libs' 'libusb-compat')
makedepends=('cmake' 'boost')
options=('staticlibs') # libindiclient builds as static only
diff --git a/extra/libiodbc/PKGBUILD b/extra/libiodbc/PKGBUILD
index 4b18dcff3..01abdabeb 100644
--- a/extra/libiodbc/PKGBUILD
+++ b/extra/libiodbc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libiodbc
pkgver=3.52.8
pkgrel=2
pkgdesc='Independent Open DataBase Connectivity for Linux'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
license=('LGPL')
depends=('sh')
diff --git a/extra/libirman/PKGBUILD b/extra/libirman/PKGBUILD
index e1975b433..29787fa07 100644
--- a/extra/libirman/PKGBUILD
+++ b/extra/libirman/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libirman
pkgver=0.4.5
pkgrel=3
pkgdesc="Irman driver lcd library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lirc.org"
license=('LGPL')
backup=('etc/irman.conf')
diff --git a/extra/libisoburn/PKGBUILD b/extra/libisoburn/PKGBUILD
index 801c1a5ad..839a5ad5a 100644
--- a/extra/libisoburn/PKGBUILD
+++ b/extra/libisoburn/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.3.2
pkgrel=3
pkgdesc="frontend for libraries libburn and libisofs"
url="http://libburnia-project.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('libburn>=1.3.2' 'libisofs>=1.3.2' 'readline')
optdepends=('tk: for xorriso-tcltk frontend'
diff --git a/extra/libisofs/PKGBUILD b/extra/libisofs/PKGBUILD
index 6c315f1f3..335b4d930 100644
--- a/extra/libisofs/PKGBUILD
+++ b/extra/libisofs/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libisofs
pkgver=1.3.2
pkgrel=1
pkgdesc="Library to pack up hard disk files and directories into a ISO 9660 disk image"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libburnia-project.org"
license=('GPL')
depends=('acl' 'zlib')
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD
index 367f21633..4690791fb 100644
--- a/extra/libjpeg-turbo/PKGBUILD
+++ b/extra/libjpeg-turbo/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=3
pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
url='http://libjpeg-turbo.virtualgl.org/'
license=('GPL' 'custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('nasm')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('1792c964b35604cebd3a8846f1ca6de5976e9c28')
diff --git a/extra/libkate/PKGBUILD b/extra/libkate/PKGBUILD
index 57bc4c8db..b61f04b98 100644
--- a/extra/libkate/PKGBUILD
+++ b/extra/libkate/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=4
pkgdesc="A karaoke and text codec for embedding in ogg"
url="http://libkate.googlecode.com/"
license=('BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libpng' 'libogg' 'python2')
makedepends=('pkg-config')
optdepends=('wxpython: for KateDJ'
diff --git a/extra/libkcddb/PKGBUILD b/extra/libkcddb/PKGBUILD
index e36f54ec5..fa4a8f5b3 100644
--- a/extra/libkcddb/PKGBUILD
+++ b/extra/libkcddb/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="KDE CDDB library"
url='https://projects.kde.org/projects/kde/kdemultimedia/libkcddb'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'libmusicbrainz5')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkcompactdisc/PKGBUILD b/extra/libkcompactdisc/PKGBUILD
index 349e3d7e1..b4ba341f0 100644
--- a/extra/libkcompactdisc/PKGBUILD
+++ b/extra/libkcompactdisc/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A library for interfacing with CDs"
url='https://projects.kde.org/projects/kde/kdemultimedia/libkcompactdisc'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkdcraw/PKGBUILD b/extra/libkdcraw/PKGBUILD
index cc83b8432..99ed4d169 100644
--- a/extra/libkdcraw/PKGBUILD
+++ b/extra/libkdcraw/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A C++ interface used to decode RAW picture"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'lcms2')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkdeedu/PKGBUILD b/extra/libkdeedu/PKGBUILD
index 2645623b6..dd725401e 100644
--- a/extra/libkdeedu/PKGBUILD
+++ b/extra/libkdeedu/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Libraries used by KDE Education applications"
url="https://projects.kde.org/projects/kde/kdeedu/libkdeedu"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkdegames/PKGBUILD b/extra/libkdegames/PKGBUILD
index 01adf20d5..aff0e9f59 100644
--- a/extra/libkdegames/PKGBUILD
+++ b/extra/libkdegames/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Common code and data for many KDE games"
url="https://projects.kde.org/projects/kde/kdegames/libkdegames"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'openal')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkexiv2/PKGBUILD b/extra/libkexiv2/PKGBUILD
index b61a8fd4e..3ae406dd8 100644
--- a/extra/libkexiv2/PKGBUILD
+++ b/extra/libkexiv2/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="A library to manipulate pictures metadata"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkeybinder3/PKGBUILD b/extra/libkeybinder3/PKGBUILD
index 501c66c61..fd2f7fb9b 100644
--- a/extra/libkeybinder3/PKGBUILD
+++ b/extra/libkeybinder3/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libkeybinder3
pkgver=0.3.0
pkgrel=3
pkgdesc="A library for registering global keyboard shortcuts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kaizer.se/wiki/keybinder/"
license=('MIT')
depends=('gtk3')
diff --git a/extra/libkfbapi/PKGBUILD b/extra/libkfbapi/PKGBUILD
index 6182653fd..456674716 100644
--- a/extra/libkfbapi/PKGBUILD
+++ b/extra/libkfbapi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libkfbapi
pkgver=1.0
pkgrel=1
pkgdesc="KDE library for accessing Facebook services"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/libkfbapi'
license=('GPL')
depends=('kdepimlibs')
diff --git a/extra/libkgapi/PKGBUILD b/extra/libkgapi/PKGBUILD
index 0c17f5369..d21ade318 100644
--- a/extra/libkgapi/PKGBUILD
+++ b/extra/libkgapi/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.0.1
pkgrel=1
pkgdesc="A KDE-based library for accessing various Google services via their public API"
url='https://projects.kde.org/projects/extragear/libs/libkgapi'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdepimlibs')
makedepends=('cmake' 'automoc4' 'boost')
diff --git a/extra/libkipi/PKGBUILD b/extra/libkipi/PKGBUILD
index 77d8bb6c3..2cd942a48 100644
--- a/extra/libkipi/PKGBUILD
+++ b/extra/libkipi/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="An interface to use kipi-plugins from a KDE application"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkmahjongg/PKGBUILD b/extra/libkmahjongg/PKGBUILD
index 84f30303e..e93dc88e0 100644
--- a/extra/libkmahjongg/PKGBUILD
+++ b/extra/libkmahjongg/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles"
url="https://projects.kde.org/projects/kde/kdegames/libmahjongg"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('libkdegames')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkolab/PKGBUILD b/extra/libkolab/PKGBUILD
index 94c4d9378..fddc5e5db 100644
--- a/extra/libkolab/PKGBUILD
+++ b/extra/libkolab/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.4.2
pkgrel=1
pkgdesc="Advanced Kolab Object Handling Library"
url='http://git.kolab.org/libkolab/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libkolabxml' 'kdepimlibs')
makedepends=('cmake' 'automoc4' 'boost')
diff --git a/extra/libkolabxml/PKGBUILD b/extra/libkolabxml/PKGBUILD
index babb312c3..85d66d4ea 100644
--- a/extra/libkolabxml/PKGBUILD
+++ b/extra/libkolabxml/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.8.4
pkgrel=2
pkgdesc="Kolab XML Format Schema Definitions Library"
url='http://git.kolab.org/libkolabxml/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('xerces-c' 'boost-libs')
makedepends=('cmake' 'boost' 'xsd' 'qt4')
diff --git a/extra/libksane/PKGBUILD b/extra/libksane/PKGBUILD
index 0870e1c1e..348b95332 100644
--- a/extra/libksane/PKGBUILD
+++ b/extra/libksane/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="An image scanning library"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libksane"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'sane')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkscreen/PKGBUILD b/extra/libkscreen/PKGBUILD
index 806a6ec6a..5a374b892 100644
--- a/extra/libkscreen/PKGBUILD
+++ b/extra/libkscreen/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libkscreen
pkgver=1.0.1
pkgrel=3
pkgdesc="KDE's screen management library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/libkscreen'
license=('GPL')
depends=('kdelibs' 'qjson')
diff --git a/extra/libktorrent/PKGBUILD b/extra/libktorrent/PKGBUILD
index b49f65372..88dfd7e14 100644
--- a/extra/libktorrent/PKGBUILD
+++ b/extra/libktorrent/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libktorrent
pkgver=1.3.1
pkgrel=1
pkgdesc="A BitTorrent protocol implementation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ktorrent.org/"
license=('GPL2')
depends=('kdelibs')
diff --git a/extra/liblastfm/PKGBUILD b/extra/liblastfm/PKGBUILD
index fc4e68b66..b2fcc3171 100644
--- a/extra/liblastfm/PKGBUILD
+++ b/extra/liblastfm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=liblastfm
pkgver=1.0.7
pkgrel=1
pkgdesc="A Qt4 C++ library for the Last.fm webservices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://github.com/lastfm/liblastfm/'
license=('GPL3')
depends=('qt4' 'fftw' 'libsamplerate')
diff --git a/extra/liblo/PKGBUILD b/extra/liblo/PKGBUILD
index 593c30ff2..636dfed05 100644
--- a/extra/liblo/PKGBUILD
+++ b/extra/liblo/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.26
pkgrel=2
epoch=1
pkgdesc="A lightweight OSC (Open Sound Control) implementation"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://liblo.sourceforge.net/"
license=('GPL')
depends=('glibc')
diff --git a/extra/liblouis/PKGBUILD b/extra/liblouis/PKGBUILD
index 355ecbd36..ac470d207 100644
--- a/extra/liblouis/PKGBUILD
+++ b/extra/liblouis/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liblouis
pkgver=2.5.2
pkgrel=2
pkgdesc="Open-source braille translator and back-translator"
-arch=(i686 x86_64)
+arch=(mips64el)
url="http://code.google.com/p/liblouis/"
license=('GPL3')
depends=(glibc)
diff --git a/extra/liblqr/PKGBUILD b/extra/liblqr/PKGBUILD
index f4f87e84d..4abc0f0cd 100644
--- a/extra/liblqr/PKGBUILD
+++ b/extra/liblqr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liblqr
pkgver=0.4.2
pkgrel=1
pkgdesc="A seam-carving C/C++ library called Liquid Rescale"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://liblqr.wikidot.com/"
license=('GPL')
depends=('glib2')
diff --git a/extra/liblrdf/PKGBUILD b/extra/liblrdf/PKGBUILD
index c1ef2a9dd..48068e01f 100644
--- a/extra/liblrdf/PKGBUILD
+++ b/extra/liblrdf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liblrdf
pkgver=0.5.0
pkgrel=2
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/swh/LRDF"
depends=('raptor' 'ladspa')
license=('GPL')
diff --git a/extra/libmad/PKGBUILD b/extra/libmad/PKGBUILD
index a896c159a..5822c0230 100644
--- a/extra/libmad/PKGBUILD
+++ b/extra/libmad/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmad
pkgver=0.15.1b
pkgrel=7
pkgdesc="A high-quality MPEG audio decoder"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.underbit.com/products/mad/"
license=('GPL')
depends=('glibc')
@@ -30,7 +30,7 @@ build() {
cd ${pkgname}-${pkgver}
CFLAGS="$CFLAGS -ftree-vectorize -ftree-vectorizer-verbose=1"
autoconf
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --enable-fpm=default
make
}
diff --git a/extra/libmatroska/PKGBUILD b/extra/libmatroska/PKGBUILD
index ccb8f2352..046883ed8 100644
--- a/extra/libmatroska/PKGBUILD
+++ b/extra/libmatroska/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmatroska
pkgver=1.4.1
pkgrel=1
pkgdesc="Matroska library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dl.matroska.org/downloads/libmatroska/"
license=('LGPL')
depends=('libebml')
diff --git a/extra/libmbim/PKGBUILD b/extra/libmbim/PKGBUILD
index 4c8b79b97..5772ef490 100644
--- a/extra/libmbim/PKGBUILD
+++ b/extra/libmbim/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmbim
pkgver=1.4.0
pkgrel=1
pkgdesc="MBIM modem protocol helper library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/libmbim/"
license=(GPL2)
depends=(glib2 bash systemd)
diff --git a/extra/libmcrypt/PKGBUILD b/extra/libmcrypt/PKGBUILD
index 967cafd9a..0fbdac604 100644
--- a/extra/libmcrypt/PKGBUILD
+++ b/extra/libmcrypt/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=libmcrypt
pkgver=2.5.8
-pkgrel=3
+pkgrel=3.1
pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms"
url="http://mcrypt.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc')
options=('!emptydirs')
diff --git a/extra/libmikmod/PKGBUILD b/extra/libmikmod/PKGBUILD
index 0c8162abd..18fbfe4d5 100644
--- a/extra/libmikmod/PKGBUILD
+++ b/extra/libmikmod/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc="A portable sound library"
license=(GPL LGPL)
url="http://mikmod.shlomifish.org/"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
depends=(openal sh)
makedepends=(alsa-lib)
install=$pkgname.install
diff --git a/extra/libmms/PKGBUILD b/extra/libmms/PKGBUILD
index f0e6de4ea..495367939 100644
--- a/extra/libmms/PKGBUILD
+++ b/extra/libmms/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libmms
pkgver=0.6.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="MMS stream protocol library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://sourceforge.net/projects/libmms/"
license=(LGPL)
depends=('glib2')
diff --git a/extra/libmng/PKGBUILD b/extra/libmng/PKGBUILD
index 7f3bfdd1b..c4092c07d 100644
--- a/extra/libmng/PKGBUILD
+++ b/extra/libmng/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmng
pkgver=2.0.2
pkgrel=3
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.libmng.com/"
license=('custom')
depends=('lcms2')
diff --git a/extra/libmodplug/PKGBUILD b/extra/libmodplug/PKGBUILD
index f45c8d68f..023922281 100644
--- a/extra/libmodplug/PKGBUILD
+++ b/extra/libmodplug/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmodplug
pkgver=0.8.8.4
pkgrel=2
pkgdesc="A MOD playing library"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://modplug-xmms.sourceforge.net/"
license=('custom')
depends=('gcc-libs')
diff --git a/extra/libmowgli/PKGBUILD b/extra/libmowgli/PKGBUILD
index 607a074d2..60b63a0b1 100644
--- a/extra/libmowgli/PKGBUILD
+++ b/extra/libmowgli/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=2
pkgdesc='Performance and usability-oriented extensions to C'
url='http://www.atheme.org/project/mowgli'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('openssl')
makedepends=('git')
source=("${pkgname}-${pkgver}::git+https://github.com/atheme/libmowgli-2.git#tag=${pkgname}-${pkgver}")
diff --git a/extra/libmp3splt/PKGBUILD b/extra/libmp3splt/PKGBUILD
index 2b7716de8..75d46755a 100644
--- a/extra/libmp3splt/PKGBUILD
+++ b/extra/libmp3splt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmp3splt
pkgver=0.9.0
pkgrel=2
pkgdesc="Library for splitting mp3 and ogg files without decoding"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mp3splt.sourceforge.net"
license=('GPL')
depends=('flac' 'libmad' 'libvorbis' 'libid3tag' 'pcre' 'libltdl')
diff --git a/extra/libmp4v2/PKGBUILD b/extra/libmp4v2/PKGBUILD
index 70b76d5dd..df8c470df 100644
--- a/extra/libmp4v2/PKGBUILD
+++ b/extra/libmp4v2/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libmp4v2
pkgver=2.0.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="MPEG-4 library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MPL')
url="http://code.google.com/p/mp4v2/"
depends=('gcc-libs')
diff --git a/extra/libmpcdec/PKGBUILD b/extra/libmpcdec/PKGBUILD
index fd8771611..39f9cfe2b 100644
--- a/extra/libmpcdec/PKGBUILD
+++ b/extra/libmpcdec/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libmpcdec
pkgver=1.2.6
-pkgrel=3
+pkgrel=3.2
pkgdesc="Musepack decoding library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://musepack.net/"
license=('custom')
depends=('glibc')
diff --git a/extra/libmpd/PKGBUILD b/extra/libmpd/PKGBUILD
index cfa4b4e4e..7892d0992 100644
--- a/extra/libmpd/PKGBUILD
+++ b/extra/libmpd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmpd
pkgver=11.8.17
pkgrel=2
pkgdesc="Signal based wrapper around libmpdclient"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
license=('GPL')
depends=('glib2')
diff --git a/extra/libmpdclient/PKGBUILD b/extra/libmpdclient/PKGBUILD
index cfb809c21..a429287a5 100644
--- a/extra/libmpdclient/PKGBUILD
+++ b/extra/libmpdclient/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
url='http://www.musicpd.org/libs/libmpdclient/'
license=('custom:BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('1a3557d4d1f78085db6285a8c8cb9085c300d9d3')
diff --git a/extra/libmpeg2/PKGBUILD b/extra/libmpeg2/PKGBUILD
index 6c3404946..960dc5f18 100644
--- a/extra/libmpeg2/PKGBUILD
+++ b/extra/libmpeg2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmpeg2
pkgver=0.5.1
pkgrel=4
pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libmpeg2.sourceforge.net/"
depends=('glibc')
makedepends=('sdl' 'libxv')
diff --git a/extra/libmsn/PKGBUILD b/extra/libmsn/PKGBUILD
index 123b51c63..e64b58dee 100644
--- a/extra/libmsn/PKGBUILD
+++ b/extra/libmsn/PKGBUILD
@@ -5,18 +5,22 @@
pkgname=libmsn
pkgver=4.2.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="A reusable, open-source, fully documented library for connecting to Microsoft's MSN"
url="http://sourceforge.net/projects/libmsn/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('openssl')
makedepends=('cmake')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
-md5sums=('38e46e589720eefd71f92b6b76993bf0')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+ "gcc47.patch")
+md5sums=('38e46e589720eefd71f92b6b76993bf0'
+ '23bbcfa0170aa1df8387ff6419057d7c')
build() {
- cd "${srcdir}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i "${srcdir}/gcc47.patch"
+ cd ..
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
diff --git a/extra/libmsn/gcc47.patch b/extra/libmsn/gcc47.patch
new file mode 100644
index 000000000..d8e128913
--- /dev/null
+++ b/extra/libmsn/gcc47.patch
@@ -0,0 +1,11 @@
+diff -ru libmsn-4.2.1.orig/msn/util.cpp libmsn-4.2.1/msn/util.cpp
+--- libmsn-4.2.1.orig/msn/util.cpp 2012-04-18 19:02:12.447876971 +0200
++++ libmsn-4.2.1/msn/util.cpp 2012-04-18 19:02:36.460762835 +0200
+@@ -30,6 +30,7 @@
+ #include <openssl/rand.h>
+ #include <cstring>
+ #include <sys/timeb.h>
++#include <unistd.h>
+ #include "md5.h"
+ #include "libsiren/siren7.h"
+
diff --git a/extra/libmspack/PKGBUILD b/extra/libmspack/PKGBUILD
index acc337dce..dc735d64a 100644
--- a/extra/libmspack/PKGBUILD
+++ b/extra/libmspack/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmspack
pkgver=0.4alpha
pkgrel=1
pkgdesc="A library for Microsoft compression formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cabextract.org.uk/libmspack/"
license=('GPL')
depends=('glibc')
diff --git a/extra/libmtp/PKGBUILD b/extra/libmtp/PKGBUILD
index 6a8d51a77..5c1dec838 100644
--- a/extra/libmtp/PKGBUILD
+++ b/extra/libmtp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libmtp
pkgver=1.1.6
pkgrel=3
pkgdesc="Library implementation of the Media Transfer Protocol"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" "mips64el")
url="http://libmtp.sourceforge.net"
license=('LGPL')
depends=('libusb' 'libgcrypt')
diff --git a/extra/libmusicbrainz3/PKGBUILD b/extra/libmusicbrainz3/PKGBUILD
index 62e039b28..9f14c9dc4 100644
--- a/extra/libmusicbrainz3/PKGBUILD
+++ b/extra/libmusicbrainz3/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.3
pkgrel=2
pkgdesc="Library That Provides Access to the MusicBrainz Server "
url="http://musicbrainz.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
depends=('neon' 'libdiscid')
makedepends=('cmake')
diff --git a/extra/libmusicbrainz5/PKGBUILD b/extra/libmusicbrainz5/PKGBUILD
index 9cccbd2b3..70cd0695c 100644
--- a/extra/libmusicbrainz5/PKGBUILD
+++ b/extra/libmusicbrainz5/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmusicbrainz5
pkgver=5.0.1
pkgrel=1
pkgdesc="Library That Provides Access to the MusicBrainz Server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://musicbrainz.org/"
license=('LGPL2.1')
depends=('neon')
diff --git a/extra/libmygpo-qt/PKGBUILD b/extra/libmygpo-qt/PKGBUILD
index 36a144f1b..50f62378d 100644
--- a/extra/libmygpo-qt/PKGBUILD
+++ b/extra/libmygpo-qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmygpo-qt
pkgver=1.0.7
pkgrel=1
pkgdesc="A C++/Qt client library for gpodder.net"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wiki.gpodder.org/wiki/Libmygpo-qt"
license=('LGPL2.1')
depends=('qjson')
diff --git a/extra/libmythes/PKGBUILD b/extra/libmythes/PKGBUILD
index 0efb1cbad..7f9fa7348 100644
--- a/extra/libmythes/PKGBUILD
+++ b/extra/libmythes/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.3
pkgrel=1
epoch=1
pkgdesc="a simple thesaurus"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hunspell.sourceforge.net/ "
license=('custom')
depends=('glibc' 'perl')
diff --git a/extra/libnet/PKGBUILD b/extra/libnet/PKGBUILD
index 72b2ff005..1d8c4c0e8 100644
--- a/extra/libnet/PKGBUILD
+++ b/extra/libnet/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libnet
pkgver=1.1.6
-pkgrel=1
+pkgrel=1.1
pkgdesc="A library which provides API for commonly used low-level net functions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/libnet-dev/"
license=('BSD')
depends=('glibc' 'sh')
diff --git a/extra/libnice/PKGBUILD b/extra/libnice/PKGBUILD
index 48f644685..ea2d29c04 100644
--- a/extra/libnice/PKGBUILD
+++ b/extra/libnice/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libnice
pkgver=0.1.4
pkgrel=1
pkgdesc="An implementation of the IETF's draft ICE (for p2p UDP data streams)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://nice.freedesktop.org"
license=('LGPL')
depends=('glib2')
diff --git a/extra/libnl1/PKGBUILD b/extra/libnl1/PKGBUILD
index 8f17590ca..6d45c6c37 100644
--- a/extra/libnl1/PKGBUILD
+++ b/extra/libnl1/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libnl1
pkgver=1.1.4
pkgrel=1
pkgdesc="Library for applications dealing with netlink sockets (Legacy version)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.infradead.org/~tgr/libnl/"
license=('GPL')
depends=('glibc')
diff --git a/extra/libnotify/PKGBUILD b/extra/libnotify/PKGBUILD
index aa4b6d337..043222891 100644
--- a/extra/libnotify/PKGBUILD
+++ b/extra/libnotify/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libnotify
pkgver=0.7.6
pkgrel=1
pkgdesc="Desktop notification library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://library.gnome.org/devel/notification-spec/"
license=('LGPL')
depends=('gdk-pixbuf2')
diff --git a/extra/libnova/PKGBUILD b/extra/libnova/PKGBUILD
index 19cb34e0a..89992d5f4 100644
--- a/extra/libnova/PKGBUILD
+++ b/extra/libnova/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="A general purpose, double precision, celestial mechanics, astrometry and astrodynamics library."
url="http://libnova.sourceforge.net/"
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/libnova/$pkgname-$pkgver.tar.gz)
diff --git a/extra/liboauth/PKGBUILD b/extra/liboauth/PKGBUILD
index b920cab0b..b3af99263 100644
--- a/extra/liboauth/PKGBUILD
+++ b/extra/liboauth/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=liboauth
pkgver=1.0.1
pkgrel=1
pkgdesc='C library implementing OAuth Core RFC 5849'
-arch=('i686' 'x86_64')
+arch=(mips64el)
url='http://liboauth.sourceforge.net'
license=('MIT')
depends=('curl')
diff --git a/extra/libofa/PKGBUILD b/extra/libofa/PKGBUILD
index 76f3bd7aa..86aff404a 100644
--- a/extra/libofa/PKGBUILD
+++ b/extra/libofa/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libofa
pkgver=0.9.3
pkgrel=5
pkgdesc="An open-source audio fingerprint by MusicIP"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://code.google.com/p/musicip-libofa/"
license=('GPL2' 'custom')
depends=('expat' 'curl' 'fftw')
diff --git a/extra/libofa/gcc47.patch b/extra/libofa/gcc47.patch
new file mode 100644
index 000000000..eb4b4ca20
--- /dev/null
+++ b/extra/libofa/gcc47.patch
@@ -0,0 +1,22 @@
+diff -ru libofa-0.9.3.orig/examples/uselame.cpp libofa-0.9.3/examples/uselame.cpp
+--- libofa-0.9.3.orig/examples/uselame.cpp 2012-04-18 19:32:44.176037357 +0200
++++ libofa-0.9.3/examples/uselame.cpp 2012-04-18 19:33:03.052805199 +0200
+@@ -12,6 +12,7 @@
+ #else
+ #include <sys/wait.h>
+ #endif
++#include <unistd.h>
+
+ AudioData *loadWaveFile(char *file);
+
+diff -ru libofa-0.9.3.orig/examples/wavefile.cpp libofa-0.9.3/examples/wavefile.cpp
+--- libofa-0.9.3.orig/examples/wavefile.cpp 2012-04-18 19:32:44.176037357 +0200
++++ libofa-0.9.3/examples/wavefile.cpp 2012-04-18 19:37:38.123467239 +0200
+@@ -11,6 +11,7 @@
+ #include "io.h"
+ #endif
+ #include <fcntl.h>
++#include <unistd.h>
+
+ static bool readBytes(int fd, unsigned char *buf, int size) {
+ int ct = 0;
diff --git a/extra/libofx/PKGBUILD b/extra/libofx/PKGBUILD
index c77a6ea40..2e30a7041 100644
--- a/extra/libofx/PKGBUILD
+++ b/extra/libofx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('libofx' 'libofx-doc')
pkgver=0.9.9
pkgrel=1
pkgdesc="API for the OFX banking standard"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libofx.sourceforge.net"
license=('GPL')
depends=('opensp' 'curl' 'libxml++')
diff --git a/extra/libogg/PKGBUILD b/extra/libogg/PKGBUILD
index 8c76f2129..11af89a4a 100644
--- a/extra/libogg/PKGBUILD
+++ b/extra/libogg/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libogg
pkgver=1.3.1
pkgrel=2
pkgdesc="Ogg bitstream and framing library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xiph.org/ogg/"
license=('BSD')
depends=('glibc')
diff --git a/extra/liboil/PKGBUILD b/extra/liboil/PKGBUILD
index 88913e0aa..acff18b74 100644
--- a/extra/liboil/PKGBUILD
+++ b/extra/liboil/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liboil
pkgver=0.3.17
pkgrel=3
pkgdesc="Library of simple functions that are optimized for various CPUs."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://liboil.freedesktop.org/"
depends=('glibc')
diff --git a/extra/liborigin2/PKGBUILD b/extra/liborigin2/PKGBUILD
index 2307d279b..73c2fa1a6 100644
--- a/extra/liborigin2/PKGBUILD
+++ b/extra/liborigin2/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=liborigin2
pkgname=('liborigin2' 'liborigin2-docs')
pkgver=20110829
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://soft.proindependent.com/liborigin2/"
license=('GPL3')
makedepends=('doxygen' 'qt4' 'boost')
diff --git a/extra/libotf/PKGBUILD b/extra/libotf/PKGBUILD
index aa03243cb..9b4c978ce 100644
--- a/extra/libotf/PKGBUILD
+++ b/extra/libotf/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='OpenType Font library'
url='http://www.nongnu.org/m17n/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxaw' 'freetype2')
source=("http://download.savannah.gnu.org/releases/m17n//${pkgname}-${pkgver}.tar.gz")
sha1sums=('66bb81958f5f07ee1f8917d3cb7e359ae559d873')
diff --git a/extra/libotr/PKGBUILD b/extra/libotr/PKGBUILD
index 7b6ed5843..fefd8b62b 100644
--- a/extra/libotr/PKGBUILD
+++ b/extra/libotr/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Off-the-Record Messaging Library and Toolkit'
url='http://www.cypherpunks.ca/otr/'
license=('GPL' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libgcrypt')
source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz")
sha1sums=('8865e9011b8674290837afcf7caf90c492ae09cc')
diff --git a/extra/libotr3/PKGBUILD b/extra/libotr3/PKGBUILD
index b560c3d5b..a05a3dd28 100644
--- a/extra/libotr3/PKGBUILD
+++ b/extra/libotr3/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Off-the-Record Messaging Library and Toolkit (version 3.X)'
url='http://www.cypherpunks.ca/otr/'
license=('GPL' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libgcrypt')
source=("http://www.cypherpunks.ca/otr/libotr-${pkgver}.tar.gz" "libotr3-soname.patch")
sha1sums=('898bf00d019f49ca34cd0116dd2e22685c67c394'
diff --git a/extra/libots/PKGBUILD b/extra/libots/PKGBUILD
index 74267b655..785f6a42f 100644
--- a/extra/libots/PKGBUILD
+++ b/extra/libots/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=libots
pkgver=0.5.0
-pkgrel=3
+pkgrel=3.2
pkgdesc='Open Text Summarizer'
url='http://libots.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxml2' 'glib2')
options=('!makeflags')
@@ -19,6 +19,7 @@ build() {
cd "${srcdir}/ots-${pkgver}"
touch gtk-doc.make
sed -i -e 's/en.xml$//' dic/Makefile.am
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
libtoolize --force
aclocal
automake --add-missing --force
diff --git a/extra/libpano13/PKGBUILD b/extra/libpano13/PKGBUILD
index 46f9e2d23..469d5e3bf 100644
--- a/extra/libpano13/PKGBUILD
+++ b/extra/libpano13/PKGBUILD
@@ -7,17 +7,18 @@ pkgver=2.9.18
pkgrel=3
pkgdesc='Basic library to calculate panoramical pictures - core functions of the panotools'
url='http://panotools.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('libpng' 'libtiff')
-makedepends=('jdk7-openjdk')
+[ "$CARCH" != "mips64el" ] && makedepends=('jdk7-openjdk')
source=("http://downloads.sourceforge.net/sourceforge/panotools/${pkgname}-${pkgver}.tar.gz")
sha1sums=('23849bdbdfc9176a2b53d157e58bd24aa0e7276e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man --with-java=${JAVA_HOME}
+ [ "$CARCH" != "mips64el" ] && extra=--with-java=${JAVA_HOME}
+ ./configure --prefix=/usr --mandir=/usr/share/man $extra
make
}
diff --git a/extra/libpciaccess/PKGBUILD b/extra/libpciaccess/PKGBUILD
index 45838f2f1..67ddf8971 100644
--- a/extra/libpciaccess/PKGBUILD
+++ b/extra/libpciaccess/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libpciaccess
pkgver=0.13.2
pkgrel=2
pkgdesc="X11 PCI access library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('glibc')
diff --git a/extra/libpeas/PKGBUILD b/extra/libpeas/PKGBUILD
index 935ac05d1..48746ad8f 100644
--- a/extra/libpeas/PKGBUILD
+++ b/extra/libpeas/PKGBUILD
@@ -5,13 +5,16 @@ pkgname=libpeas
pkgver=1.9.0
pkgrel=1
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
install=libpeas.install
source=(http://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-${pkgver}.tar.xz)
sha256sums=('008747ccdf954dc7b8e3207fffede527a589363541873f906c8e0166f6f7df8d')
@@ -19,7 +22,8 @@ sha256sums=('008747ccdf954dc7b8e3207fffede527a589363541873f906c8e0166f6f7df8d')
build() {
cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc --localstatedir=/var --enable-compile-warnings=no
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
diff --git a/extra/libplist/PKGBUILD b/extra/libplist/PKGBUILD
index 542980296..92283fb24 100644
--- a/extra/libplist/PKGBUILD
+++ b/extra/libplist/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.10
pkgrel=1
pkgdesc="A library to handle Apple Property List format whereas it's binary or XML"
url="http://libimobiledevice.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'LGPL2.1')
depends=('glib2' 'libxml2' 'python2')
makedepends=('cmake' 'swig')
diff --git a/extra/libpng/PKGBUILD b/extra/libpng/PKGBUILD
index 83a4cad47..506212bfd 100644
--- a/extra/libpng/PKGBUILD
+++ b/extra/libpng/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.6.6
_apngver=1.6.6
pkgrel=1
pkgdesc="A collection of routines used to create PNG format graphics files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.libpng.org/pub/png/libpng.html"
license=('custom')
depends=('zlib' 'sh')
diff --git a/extra/libproxy/PKGBUILD b/extra/libproxy/PKGBUILD
index 6ee628dfc..c46f13a9b 100644
--- a/extra/libproxy/PKGBUILD
+++ b/extra/libproxy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libproxy
pkgver=0.4.11
pkgrel=2
pkgdesc="A library that provides automatic proxy configuration management"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gcc-libs')
optdepends=('kdelibs: KDE configuration module'
@@ -22,15 +22,17 @@ build() {
mkdir build
cd build
- cmake ../${pkgname}-${pkgver} \
+ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \
-DCMAKE_SKIP_RPATH=ON \
-DPERL_VENDORINSTALL=yes \
-DCMAKE_BUILD_TYPE=Release \
- -DWITH_WEBKIT=OFF \
+ -WITH_WEBKIT=OFF \
+ -WITH_MOZJS=OFF \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ ../${pkgname}-${pkgver}
make
}
diff --git a/extra/libpst/PKGBUILD b/extra/libpst/PKGBUILD
index 6ecf7eb75..73abae98e 100644
--- a/extra/libpst/PKGBUILD
+++ b/extra/libpst/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libpst
pkgname=('libpst' 'libpst-docs')
pkgver=0.6.58
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.five-ten-sg.com/libpst/"
license=('GPL')
makedepends=('python2' 'boost' 'libgsf')
diff --git a/extra/libpwquality/PKGBUILD b/extra/libpwquality/PKGBUILD
index 4cc106cb7..6875a11f7 100644
--- a/extra/libpwquality/PKGBUILD
+++ b/extra/libpwquality/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libpwquality
pkgver=1.2.3
pkgrel=1
pkgdesc="Library for password quality checking and generating random passwords"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/libpwquality/"
license=('GPL')
depends=('cracklib')
diff --git a/extra/libqalculate/PKGBUILD b/extra/libqalculate/PKGBUILD
index a888f1923..68de1dab8 100644
--- a/extra/libqalculate/PKGBUILD
+++ b/extra/libqalculate/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libqalculate
pkgver=0.9.7
pkgrel=4
pkgdesc="Multi-purpose desktop calculator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libxml2' 'cln' 'glib2')
diff --git a/extra/libqmi/PKGBUILD b/extra/libqmi/PKGBUILD
index a6b1b5704..fe83c4cb8 100644
--- a/extra/libqmi/PKGBUILD
+++ b/extra/libqmi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libqmi
pkgver=1.4.0
pkgrel=2
pkgdesc="QMI modem protocol helper library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/libqmi/"
license=(GPL2)
depends=(glib2 bash)
diff --git a/extra/libquvi/PKGBUILD b/extra/libquvi/PKGBUILD
index 6801b34b4..7a309d73c 100644
--- a/extra/libquvi/PKGBUILD
+++ b/extra/libquvi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libquvi
pkgver=0.9.3
pkgrel=1
pkgdesc='Library for parsing video download links.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://quvi.sourceforge.net/'
license=('AGPL3')
depends=('libquvi-scripts' 'curl' 'lua51' 'libproxy' 'libgcrypt' 'glib2')
diff --git a/extra/libqzeitgeist/PKGBUILD b/extra/libqzeitgeist/PKGBUILD
index ee930d067..b8defc8e1 100644
--- a/extra/libqzeitgeist/PKGBUILD
+++ b/extra/libqzeitgeist/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.8.0
pkgrel=3
pkgdesc="A Qt interface to the Zeitgeist event tracking system"
url='https://projects.kde.org/projects/kdesupport/libqzeitgeist'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('qt4')
makedepends=('cmake' 'automoc4' 'python2' 'zeitgeist')
diff --git a/extra/libraw1394/PKGBUILD b/extra/libraw1394/PKGBUILD
index 45236bde5..4ad0af84f 100644
--- a/extra/libraw1394/PKGBUILD
+++ b/extra/libraw1394/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libraw1394
pkgver=2.1.0
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
pkgdesc="Provides an API to the Linux IEEE1394 (FireWire) driver"
depends=('glibc')
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
index f26672d8b..deb28ce24 100644
--- a/extra/librsvg/PKGBUILD
+++ b/extra/librsvg/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.40.0
pkgrel=1
epoch=1
pkgdesc="A SVG viewing library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool' 'gtk3' 'gobject-introspection')
diff --git a/extra/libsamplerate/PKGBUILD b/extra/libsamplerate/PKGBUILD
index 3e09896a9..c10947e42 100644
--- a/extra/libsamplerate/PKGBUILD
+++ b/extra/libsamplerate/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsamplerate
pkgver=0.1.8
pkgrel=3
pkgdesc="Secret Rabbit Code - aka Sample Rate Converter for audio"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.mega-nerd.com/SRC/index.html"
license=('GPL')
depends=('libsndfile')
diff --git a/extra/libseccomp/PKGBUILD b/extra/libseccomp/PKGBUILD
index ccca4c4b5..c28bbc0b9 100644
--- a/extra/libseccomp/PKGBUILD
+++ b/extra/libseccomp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libseccomp
pkgver=2.1.0
pkgrel=1
pkgdesc='Enhanced seccomp library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
url="http://sourceforge.net/projects/libseccomp/"
depends=('glibc')
diff --git a/extra/libsecret/PKGBUILD b/extra/libsecret/PKGBUILD
index 56bfe97cc..cd60dea18 100644
--- a/extra/libsecret/PKGBUILD
+++ b/extra/libsecret/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsecret
pkgver=0.16
pkgrel=1
pkgdesc='library for storing and retrieving passwords and other secrets.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="https://live.gnome.org/Libsecret"
depends=('glib2' 'libgcrypt')
diff --git a/extra/libsexy/PKGBUILD b/extra/libsexy/PKGBUILD
index ee9087d57..89f89fc7b 100644
--- a/extra/libsexy/PKGBUILD
+++ b/extra/libsexy/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libsexy
pkgver=0.1.11
-pkgrel=4
+pkgrel=4.1
pkgdesc="Doing naughty things to good widgets."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://chipx86.com/wiki/Libsexy"
depends=('gtk2' 'libxml2')
diff --git a/extra/libshout/PKGBUILD b/extra/libshout/PKGBUILD
index 79a00eeb6..4022f7d0a 100644
--- a/extra/libshout/PKGBUILD
+++ b/extra/libshout/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.3.1
pkgrel=2
epoch=1
pkgdesc="Library for accessing a shoutcast/icecast server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libvorbis' 'libtheora' 'speex')
url="http://www.icecast.org/"
options=('!emptydirs')
diff --git a/extra/libsidplay/PKGBUILD b/extra/libsidplay/PKGBUILD
index faf6b31a7..774482c0d 100644
--- a/extra/libsidplay/PKGBUILD
+++ b/extra/libsidplay/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libsidplay
pkgver=1.36.59
-pkgrel=5
+pkgrel=5.2
pkgdesc="A library for playing SID music files."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://critical.ch/distfiles/"
license=('GPL')
source=(http://critical.ch/distfiles/${pkgname}-${pkgver}.tgz libsidplay-1.36.59-gcc43.patch)
diff --git a/extra/libsidplayfp/PKGBUILD b/extra/libsidplayfp/PKGBUILD
index fa275e7e2..00c22e095 100644
--- a/extra/libsidplayfp/PKGBUILD
+++ b/extra/libsidplayfp/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.1.0
pkgrel=1
pkgdesc='Library to play Commodore 64 music derived from libsidplay2'
url='http://sourceforge.net/projects/sidplay-residfp/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
makedepends=('vice')
optdepends=('vice: better SID support')
diff --git a/extra/libsigc++/PKGBUILD b/extra/libsigc++/PKGBUILD
index bddaff76f..e276328d6 100644
--- a/extra/libsigc++/PKGBUILD
+++ b/extra/libsigc++/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=libsigc++
pkgname=('libsigc++' 'libsigc++-docs')
pkgver=2.3.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://libsigc.sourceforge.net/"
makedepends=('gcc-libs')
diff --git a/extra/libsigsegv/PKGBUILD b/extra/libsigsegv/PKGBUILD
index 16f5d6a50..4ba90b054 100644
--- a/extra/libsigsegv/PKGBUILD
+++ b/extra/libsigsegv/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=libsigsegv
pkgver=2.10
-pkgrel=1
-arch=('x86_64' 'i686')
+pkgrel=1.1
+arch=('x86_64' 'i686' 'mips64el')
pkgdesc="Page fault detection library"
url="http://www.gnu.org/software/libsigsegv/"
license=('GPL2')
diff --git a/extra/libsm/PKGBUILD b/extra/libsm/PKGBUILD
index cb1b92e57..1731fa5c0 100644
--- a/extra/libsm/PKGBUILD
+++ b/extra/libsm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsm
pkgver=1.2.2
pkgrel=2
pkgdesc="X11 Session Management library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libice' 'util-linux')
diff --git a/extra/libsmbios/PKGBUILD b/extra/libsmbios/PKGBUILD
index ce8be4c47..be9f2197d 100644
--- a/extra/libsmbios/PKGBUILD
+++ b/extra/libsmbios/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libsmbios
pkgver=2.2.28
pkgrel=2
pkgdesc="A library for providing access to as much BIOS information as possible"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://linux.dell.com/libsmbios/main/index.html"
license=('GPL' 'custom')
depends=('gcc-libs')
diff --git a/extra/libsndfile/PKGBUILD b/extra/libsndfile/PKGBUILD
index d72103a98..ab28ddd1f 100644
--- a/extra/libsndfile/PKGBUILD
+++ b/extra/libsndfile/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsndfile
pkgver=1.0.25
pkgrel=3
pkgdesc="A C library for reading and writing files containing sampled sound"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.mega-nerd.com/libsndfile"
license=('LGPL')
depends=('alsa-lib' 'flac' 'libvorbis')
diff --git a/extra/libsocialweb/PKGBUILD b/extra/libsocialweb/PKGBUILD
index ebdae1b98..11ef9a21b 100644
--- a/extra/libsocialweb/PKGBUILD
+++ b/extra/libsocialweb/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsocialweb
pkgver=0.25.21
pkgrel=2
pkgdesc="A personal social data server"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=(GPL2)
depends=(glib2 gconf 'libsoup>=2.24.0' rest dbus-glib libgnome-keyring
diff --git a/extra/libsoup/PKGBUILD b/extra/libsoup/PKGBUILD
index befa7b1ff..93f77e6d2 100644
--- a/extra/libsoup/PKGBUILD
+++ b/extra/libsoup/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsoup
pkgver=2.44.1
pkgrel=1
pkgdesc="GNOME HTTP Library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(LGPL)
url="http://www.gnome.org"
depends=(glib2 libxml2 glib-networking sqlite)
diff --git a/extra/libspectre/PKGBUILD b/extra/libspectre/PKGBUILD
index 308e87530..37bee0358 100644
--- a/extra/libspectre/PKGBUILD
+++ b/extra/libspectre/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libspectre
pkgver=0.2.7
-pkgrel=1
+pkgrel=1.2
pkgdesc="Small library for rendering Postscript documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.freedesktop.org/wiki/Software/libspectre"
depends=('ghostscript>=9.00')
diff --git a/extra/libspiro/PKGBUILD b/extra/libspiro/PKGBUILD
index dc4d37a1a..391ec2576 100644
--- a/extra/libspiro/PKGBUILD
+++ b/extra/libspiro/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3
pkgdesc='Simplifies the drawing of beautiful curves'
url='http://libspiro.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_src-${pkgver}.tar.bz2")
sha1sums=('d8b407b835b35289af2914877a4c6000b4fdd382')
diff --git a/extra/libsrtp/PKGBUILD b/extra/libsrtp/PKGBUILD
index 7107d8c49..31b918850 100644
--- a/extra/libsrtp/PKGBUILD
+++ b/extra/libsrtp/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=15.1c9bd90
pkgrel=2
pkgdesc="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
url="http://srtp.sourceforge.net/srtp.html"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
depends=('glibc')
makedepends=('git')
diff --git a/extra/libssh/PKGBUILD b/extra/libssh/PKGBUILD
index 16405b14d..b2c484a0c 100644
--- a/extra/libssh/PKGBUILD
+++ b/extra/libssh/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc="Library for accessing ssh client services through C libraries"
url="http://www.libssh.org/"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('openssl')
makedepends=('cmake' 'doxygen')
source=("https://red.libssh.org/attachments/download/51/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/libstdc++5/PKGBUILD b/extra/libstdc++5/PKGBUILD
index fdb604f4f..4ee89346a 100644
--- a/extra/libstdc++5/PKGBUILD
+++ b/extra/libstdc++5/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libstdc++5
pkgver=3.3.6
pkgrel=4
pkgdesc="GNU Standard C++ library version 3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gcc.gnu.org"
license=('GPL' 'LGPL')
depends=('gcc-libs')
diff --git a/extra/libstroke/PKGBUILD b/extra/libstroke/PKGBUILD
index 8f2697ba2..0bf57cf3f 100644
--- a/extra/libstroke/PKGBUILD
+++ b/extra/libstroke/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libstroke
pkgver=0.5.1
pkgrel=6
pkgdesc="A stroke (mouse gesture) translation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://etla.net/libstroke/"
license=('GPL2')
depends=('glibc')
diff --git a/extra/libtar/PKGBUILD b/extra/libtar/PKGBUILD
index 3ca0c6d34..27f35fd4c 100644
--- a/extra/libtar/PKGBUILD
+++ b/extra/libtar/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libtar
pkgver=1.2.20
pkgrel=1
pkgdesc="C library for manipulating POSIX tar files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://repo.or.cz/w/libtar.git/"
license=('BSD')
depends=('zlib')
diff --git a/extra/libtasn1/PKGBUILD b/extra/libtasn1/PKGBUILD
index d7f0cb2b2..de8317c64 100644
--- a/extra/libtasn1/PKGBUILD
+++ b/extra/libtasn1/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libtasn1
pkgver=3.3
pkgrel=2
pkgdesc="The ASN.1 library used in GNUTLS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/libtasn1/"
depends=('glibc' 'texinfo')
diff --git a/extra/libtextcat/PKGBUILD b/extra/libtextcat/PKGBUILD
index 5298d0a0a..083b477b6 100644
--- a/extra/libtextcat/PKGBUILD
+++ b/extra/libtextcat/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libtextcat
pkgver=2.2
pkgrel=9
pkgdesc="Library that implements N-gram-based text categorization"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://software.wise-guys.nl/libtextcat/"
license=('BSD')
depends=('glibc')
diff --git a/extra/libthai/PKGBUILD b/extra/libthai/PKGBUILD
index ae9b32ad4..4f7cb0d58 100644
--- a/extra/libthai/PKGBUILD
+++ b/extra/libthai/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.1.19
pkgrel=1
pkgdesc="Thai language support routines"
url="http://linux.thai.net/projects/libthai"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libdatrie')
makedepends=('pkgconfig')
diff --git a/extra/libtheora/PKGBUILD b/extra/libtheora/PKGBUILD
index 5a7e2e32e..d4e806edf 100644
--- a/extra/libtheora/PKGBUILD
+++ b/extra/libtheora/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libtheora
pkgver=1.1.1
pkgrel=3
pkgdesc="An open video codec developed by the Xiph.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xiph.org"
license=('BSD')
depends=('libogg')
@@ -25,7 +25,7 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --enable-shared --disable-static
+ ./configure --prefix=/usr --enable-shared --disable-static --build=$CHOST --host=$CHOST
make
}
diff --git a/extra/libtiff/PKGBUILD b/extra/libtiff/PKGBUILD
index 87dfa3e20..cb0e11cd4 100644
--- a/extra/libtiff/PKGBUILD
+++ b/extra/libtiff/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libtiff
pkgver=4.0.3
pkgrel=4
pkgdesc="Library for manipulation of TIFF images"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.remotesensing.org/libtiff/"
license=('custom')
depends=('gcc-libs' 'libjpeg' 'zlib' 'xz')
diff --git a/extra/libtiger/PKGBUILD b/extra/libtiger/PKGBUILD
index 6bc26bc01..c218bc8ea 100644
--- a/extra/libtiger/PKGBUILD
+++ b/extra/libtiger/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=libtiger
pkgver=0.3.4
-pkgrel=3
+pkgrel=3.2
pkgdesc="A rendering library for Kate streams using Pango and Cairo"
url="http://libtiger.googlecode.com/"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('pango' 'libkate')
makedepends=('pkg-config')
source=("http://libtiger.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/libtorrent-rasterbar/PKGBUILD b/extra/libtorrent-rasterbar/PKGBUILD
index 4754ec3b6..aff383828 100644
--- a/extra/libtorrent-rasterbar/PKGBUILD
+++ b/extra/libtorrent-rasterbar/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
epoch=1
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
depends=('boost-libs' 'geoip' 'python2')
makedepends=('boost')
diff --git a/extra/libtxc_dxtn/PKGBUILD b/extra/libtxc_dxtn/PKGBUILD
index b408d6f31..c476bbac3 100644
--- a/extra/libtxc_dxtn/PKGBUILD
+++ b/extra/libtxc_dxtn/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libtxc_dxtn
pkgver=1.0.1
pkgrel=5
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
pkgdesc="S3 Texture Compression (S3TC) library for Mesa"
url="http://dri.freedesktop.org/wiki/S3TC"
license=(custom:BSD)
diff --git a/extra/libunique/PKGBUILD b/extra/libunique/PKGBUILD
index a981256f8..63c228135 100644
--- a/extra/libunique/PKGBUILD
+++ b/extra/libunique/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libunique
pkgver=1.1.6
-pkgrel=5
+pkgrel=5.1
pkgdesc="Library for writing single instance applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk2')
makedepends=('gtk-doc' 'gobject-introspection')
diff --git a/extra/libunique3/PKGBUILD b/extra/libunique3/PKGBUILD
index cff7cbfb7..83f4128c0 100644
--- a/extra/libunique3/PKGBUILD
+++ b/extra/libunique3/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=libunique3
pkgver=3.0.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="Library for writing single instance applications for GTK3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk3')
makedepends=('gtk-doc' 'gobject-introspection')
diff --git a/extra/libunistring/PKGBUILD b/extra/libunistring/PKGBUILD
index 645bcc152..03cd4d3ca 100644
--- a/extra/libunistring/PKGBUILD
+++ b/extra/libunistring/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=0.9.3
pkgrel=6
pkgdesc="Library for manipulating Unicode strings and C strings."
url="http://www.gnu.org/software/libunistring/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc')
install=${pkgname}.install
diff --git a/extra/libupnp/PKGBUILD b/extra/libupnp/PKGBUILD
index fcb6b6a8b..83dcc39d4 100644
--- a/extra/libupnp/PKGBUILD
+++ b/extra/libupnp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libupnp
pkgver=1.6.18
pkgrel=1
pkgdesc="Portable Open Source UPnP Development Kit"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pupnp.sourceforge.net/"
license=('BSD')
depends=('glibc')
diff --git a/extra/libusb-compat/PKGBUILD b/extra/libusb-compat/PKGBUILD
index 791f023e5..dd49fdf9b 100644
--- a/extra/libusb-compat/PKGBUILD
+++ b/extra/libusb-compat/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libusb-compat
pkgver=0.1.5
pkgrel=1
pkgdesc="Library to enable user space application programs to communicate with USB devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libusb.sourceforge.net/"
license=('LGPL')
depends=('libusb' 'sh')
diff --git a/extra/libutempter/PKGBUILD b/extra/libutempter/PKGBUILD
index bbc27d9b1..216e8cf46 100644
--- a/extra/libutempter/PKGBUILD
+++ b/extra/libutempter/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libutempter
pkgver=1.1.6
pkgrel=2
pkgdesc="Interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="ftp://ftp.altlinux.org/pub/people/ldv/utempter"
license=('LGPL')
depends=('glibc')
diff --git a/extra/libva/PKGBUILD b/extra/libva/PKGBUILD
index 5b8878025..d2ddc2141 100644
--- a/extra/libva/PKGBUILD
+++ b/extra/libva/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libva
pkgver=1.2.1
pkgrel=1
pkgdesc="Video Acceleration (VA) API for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freedesktop.org/wiki/Software/vaapi"
license=('MIT')
depends=('libegl' 'libgl' 'libdrm' 'libxfixes')
diff --git a/extra/libva/libva-1.1.0-wayland1.patch b/extra/libva/libva-1.1.0-wayland1.patch
new file mode 100644
index 000000000..020981276
--- /dev/null
+++ b/extra/libva/libva-1.1.0-wayland1.patch
@@ -0,0 +1,336 @@
+--- libva-1.1.0.orig/configure.ac 2012-10-04 08:30:51.000000000 -0500
++++ libva-1.1.0/configure.ac 2013-03-05 14:20:21.109767813 -0500
+@@ -78,7 +78,7 @@
+ m4_define([libdrm_version], [2.4])
+
+ # Wayland minimum version number
+-m4_define([wayland_api_version], [0.95.0])
++m4_define([wayland_api_version], [1.0.0])
+
+ AC_PREREQ(2.57)
+ AC_INIT([libva], [libva_version], [waldo.bastian@intel.com], libva)
+--- libva-1.1.0.orig/test/common/va_display_wayland.c 2012-09-28 09:04:28.000000000 -0500
++++ libva-1.1.0/test/common/va_display_wayland.c 2013-03-05 15:06:59.082134052 -0500
+@@ -33,42 +33,39 @@
+
+ struct display {
+ struct wl_display *display;
++ struct wl_registry *registry;
+ struct wl_compositor *compositor;
+ struct wl_shell *shell;
+ struct wl_shell_surface *shell_surface;
+ struct wl_surface *surface;
+ unsigned int ref_count;
+ int event_fd;
+- unsigned int event_mask;
+ };
+
+ static struct display *g_display;
+
+ static void
+-display_handle_global(
+- struct wl_display *display,
+- uint32_t id,
+- const char *interface,
+- uint32_t version,
+- void *data
++registry_handle_global(
++ void *data,
++ struct wl_registry *registry,
++ uint32_t id,
++ const char *interface,
++ uint32_t version
+ )
+ {
+ struct display * const d = data;
+
+ if (strcmp(interface, "wl_compositor") == 0)
+- d->compositor = wl_display_bind(display, id, &wl_compositor_interface);
++ d->compositor =
++ wl_registry_bind(registry, id, &wl_compositor_interface, 1);
+ else if (strcmp(interface, "wl_shell") == 0)
+- d->shell = wl_display_bind(display, id, &wl_shell_interface);
++ d->shell = wl_registry_bind(registry, id, &wl_shell_interface, 1);
+ }
+
+-static int
+-event_mask_update(uint32_t mask, void *data)
+-{
+- struct display * const d = data;
+-
+- d->event_mask = mask;
+- return 0;
+-}
++static const struct wl_registry_listener registry_listener = {
++ registry_handle_global,
++ NULL,
++};
+
+ static VADisplay
+ va_open_display_wayland(void)
+@@ -91,9 +88,10 @@
+ return NULL;
+ }
+ wl_display_set_user_data(d->display, d);
+- wl_display_add_global_listener(d->display, display_handle_global, d);
+- d->event_fd = wl_display_get_fd(d->display, event_mask_update, d);
+- wl_display_iterate(d->display, d->event_mask);
++ d->registry = wl_display_get_registry(d->display);
++ wl_registry_add_listener(d->registry, &registry_listener, d);
++ d->event_fd = wl_display_get_fd(d->display);
++ wl_display_dispatch(d->display);
+
+ d->ref_count = 1;
+ g_display = d;
+@@ -182,6 +180,7 @@
+ dst_rect->x, dst_rect->y, dst_rect->width, dst_rect->height
+ );
+
++ wl_surface_commit(d->surface);
+ wl_display_flush(d->display);
+ return VA_STATUS_SUCCESS;
+ }
+--- libva-1.1.0.orig/test/putsurface/putsurface_wayland.c 2012-09-28 09:04:28.000000000 -0500
++++ libva-1.1.0/test/putsurface/putsurface_wayland.c 2013-03-05 14:45:49.783865254 -0500
+@@ -102,7 +102,7 @@
+ struct wl_display *display;
+ struct wl_compositor *compositor;
+ struct wl_shell *shell;
+- uint32_t mask;
++ struct wl_registry *registry;
+ int event_fd;
+ };
+
+@@ -153,7 +153,7 @@
+ if (wl_drawable->redraw_pending) {
+ wl_display_flush(d->display);
+ while (wl_drawable->redraw_pending)
+- wl_display_iterate(wl_drawable->display, WL_DISPLAY_READABLE);
++ wl_display_dispatch(wl_drawable->display);
+ }
+
+ va_status = vaGetSurfaceBufferWl(va_dpy, va_surface, VA_FRAME_PICTURE, &buffer);
+@@ -169,35 +169,33 @@
+ wl_display_flush(d->display);
+ wl_drawable->redraw_pending = 1;
+ callback = wl_surface_frame(wl_drawable->surface);
++ wl_surface_commit(wl_drawable->surface);
+ wl_callback_add_listener(callback, &frame_callback_listener, wl_drawable);
+ return VA_STATUS_SUCCESS;
+ }
+
+ static void
+-display_handle_global(
+- struct wl_display *display,
+- uint32_t id,
+- const char *interface,
+- uint32_t version,
+- void *data
++registry_handle_global(
++ void *data,
++ struct wl_registry *registry,
++ uint32_t id,
++ const char *interface,
++ uint32_t version
+ )
+ {
+ struct display * const d = data;
+
+ if (strcmp(interface, "wl_compositor") == 0)
+- d->compositor = wl_display_bind(display, id, &wl_compositor_interface);
++ d->compositor =
++ wl_registry_bind(registry, id, &wl_compositor_interface, 1);
+ else if (strcmp(interface, "wl_shell") == 0)
+- d->shell = wl_display_bind(display, id, &wl_shell_interface);
++ d->shell = wl_registry_bind(registry, id, &wl_shell_interface, 1);
+ }
+
+-static int
+-event_mask_update(uint32_t mask, void *data)
+-{
+- struct display * const d = data;
+-
+- d->mask = mask;
+- return 0;
+-}
++static const struct wl_registry_listener registry_listener = {
++ registry_handle_global,
++ NULL,
++};
+
+ static void *
+ open_display(void)
+@@ -213,9 +211,10 @@
+ return NULL;
+
+ wl_display_set_user_data(d->display, d);
+- wl_display_add_global_listener(d->display, display_handle_global, d);
+- d->event_fd = wl_display_get_fd(d->display, event_mask_update, d);
+- wl_display_iterate(d->display, d->mask);
++ d->registry = wl_display_get_registry(d->display);
++ wl_registry_add_listener(d->registry, &registry_listener, d);
++ d->event_fd = wl_display_get_fd(d->display);
++ wl_display_dispatch(d->display);
+ return d->display;
+ }
+
+@@ -298,9 +297,6 @@
+ if (check_event == 0)
+ return 0;
+
+- if (!(d->mask & WL_DISPLAY_READABLE))
+- return 0;
+-
+ tv.tv_sec = 0;
+ tv.tv_usec = 0;
+ do {
+@@ -313,7 +309,7 @@
+ break;
+ }
+ if (retval == 1)
+- wl_display_iterate(d->display, WL_DISPLAY_READABLE);
++ wl_display_dispatch(d->display);
+ } while (retval > 0);
+
+ #if 0
+--- libva-1.1.0.orig/va/wayland/va_wayland_drm.c 2012-09-28 09:04:28.000000000 -0500
++++ libva-1.1.0/va/wayland/va_wayland_drm.c 2013-03-05 14:52:34.952330711 -0500
+@@ -44,6 +44,7 @@
+ struct va_wayland_context base;
+ void *handle;
+ struct wl_drm *drm;
++ struct wl_registry *registry;
+ void *drm_interface;
+ unsigned int is_authenticated : 1;
+ } VADisplayContextWaylandDRM;
+@@ -142,6 +143,28 @@
+ }
+ }
+
++static void
++registry_handle_global(
++ void *data,
++ struct wl_registry *registry,
++ uint32_t id,
++ const char *interface,
++ uint32_t version
++)
++{
++ struct va_wayland_drm_context *wl_drm_ctx = data;
++
++ if (strcmp(interface, "wl_drm") == 0) {
++ wl_drm_ctx->drm =
++ wl_registry_bind(wl_drm_ctx->registry, id, wl_drm_ctx->drm_interface, 1);
++ }
++}
++
++static const struct wl_registry_listener registry_listener = {
++ registry_handle_global,
++ NULL,
++};
++
+ bool
+ va_wayland_drm_create(VADisplayContextP pDisplayContext)
+ {
+@@ -168,14 +191,6 @@
+ drm_state->auth_type = 0;
+ ctx->drm_state = drm_state;
+
+- id = wl_display_get_global(ctx->native_dpy, "wl_drm", 1);
+- if (!id) {
+- wl_display_roundtrip(ctx->native_dpy);
+- id = wl_display_get_global(ctx->native_dpy, "wl_drm", 1);
+- if (!id)
+- return false;
+- }
+-
+ wl_drm_ctx->handle = dlopen(LIBWAYLAND_DRM_NAME, RTLD_LAZY|RTLD_LOCAL);
+ if (!wl_drm_ctx->handle)
+ return false;
+@@ -185,8 +200,14 @@
+ if (!wl_drm_ctx->drm_interface)
+ return false;
+
+- wl_drm_ctx->drm =
+- wl_display_bind(ctx->native_dpy, id, wl_drm_ctx->drm_interface);
++ wl_drm_ctx->registry = wl_display_get_registry(ctx->native_dpy);
++ wl_registry_add_listener(wl_drm_ctx->registry, &registry_listener, wl_drm_ctx);
++ wl_display_roundtrip(ctx->native_dpy);
++
++ /* registry_handle_global should have been called by the
++ * wl_display_roundtrip above
++ */
++
+ if (!wl_drm_ctx->drm)
+ return false;
+
+--- libva-1.1.0.orig/va/wayland/va_wayland_emgd.c 2012-09-28 09:04:28.000000000 -0500
++++ libva-1.1.0/va/wayland/va_wayland_emgd.c 2013-03-05 14:55:57.359895989 -0500
+@@ -40,6 +40,7 @@
+ struct wl_emgd *emgd;
+ void *emgd_interface;
+ unsigned int is_created : 1;
++ struct wl_registry *registry;
+ } VADisplayContextWaylandEMGD;
+
+ static inline void
+@@ -86,6 +87,28 @@
+ }
+ }
+
++static void
++registry_handle_global(
++ void *data,
++ struct wl_registry *registry,
++ uint32_t id,
++ const char *interface,
++ uint32_t version
++)
++{
++ VADisplayContextWaylandEMGD *wl_emgd_ctx = data;
++
++ if (strcmp(interface, "wl_emgd") == 0) {
++ wl_emgd_ctx->emgd =
++ wl_registry_bind(registry, id, wl_emgd_ctx->emgd_interface, 1);
++ }
++}
++
++static const struct wl_registry_listener registry_listener = {
++ registry_handle_global,
++ NULL,
++};
++
+ bool
+ va_wayland_emgd_create(VADisplayContextP pDisplayContext)
+ {
+@@ -112,14 +135,6 @@
+ drm_state->auth_type = 0;
+ ctx->drm_state = drm_state;
+
+- id = wl_display_get_global(ctx->native_dpy, "wl_emgd", 1);
+- if (!id) {
+- wl_display_roundtrip(ctx->native_dpy);
+- id = wl_display_get_global(ctx->native_dpy, "wl_emgd", 1);
+- if (!id)
+- return false;
+- }
+-
+ wl_emgd_ctx->handle = dlopen(LIBWAYLAND_EMGD_NAME, RTLD_LAZY|RTLD_LOCAL);
+ if (!wl_emgd_ctx->handle)
+ return false;
+@@ -129,8 +144,13 @@
+ if (!wl_emgd_ctx->emgd_interface)
+ return false;
+
+- wl_emgd_ctx->emgd =
+- wl_display_bind(ctx->native_dpy, id, wl_emgd_ctx->emgd_interface);
++ wl_emgd_ctx->registry = wl_display_get_registry(ctx->native_dpy);
++ wl_registry_add_listener(wl_emgd_ctx->registry, &registry_listener, wl_emgd_ctx);
++ wl_display_roundtrip(ctx->native_dpy);
++
++ /* registry_handle_global should have been called by the
++ * wl_display_roundtrip above
++ */
+ if (!wl_emgd_ctx->emgd)
+ return false;
+ return true;
diff --git a/extra/libvdpau/PKGBUILD b/extra/libvdpau/PKGBUILD
index 0eb59fb60..0f6c528cc 100644
--- a/extra/libvdpau/PKGBUILD
+++ b/extra/libvdpau/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libvdpau
pkgver=0.7
pkgrel=1
pkgdesc="Nvidia VDPAU library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url='http://cgit.freedesktop.org/~aplattner/libvdpau'
depends=('gcc-libs' 'libxext')
conflicts=('nvidia-utils<190.42-2')
diff --git a/extra/libvisual-plugins/PKGBUILD b/extra/libvisual-plugins/PKGBUILD
index bd80ebaad..68940a137 100644
--- a/extra/libvisual-plugins/PKGBUILD
+++ b/extra/libvisual-plugins/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libvisual-plugins
pkgver=0.4.0
pkgrel=7
pkgdesc="plugins for libvisual"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL')
url="http://www.localhost.nl/~synap/libvisual/"
depends=('libvisual' 'gtk2' 'glu' 'alsa-lib' 'jack')
diff --git a/extra/libvisual/PKGBUILD b/extra/libvisual/PKGBUILD
index e34d65996..f276f9be1 100644
--- a/extra/libvisual/PKGBUILD
+++ b/extra/libvisual/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libvisual
pkgver=0.4.0
-pkgrel=4
+pkgrel=4.2
pkgdesc="Abstraction library that comes between applications and audio visualisation plugins"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="http://sourceforge.net/projects/libvisual/"
license=('LGPL')
source=("http://downloads.sourceforge.net/sourceforge/libvisual/libvisual-${pkgver}.tar.gz")
diff --git a/extra/libvncserver/PKGBUILD b/extra/libvncserver/PKGBUILD
index 104978a93..a87787f2e 100644
--- a/extra/libvncserver/PKGBUILD
+++ b/extra/libvncserver/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libvncserver
pkgver=0.9.9
pkgrel=2
pkgdesc="A cross-platform C libraries that allow you to easily implement VNC server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libvncserver.sourceforge.net/"
license=('GPL')
depends=('libjpeg' 'gnutls' 'libgcrypt' 'openssl')
diff --git a/extra/libvorbis/PKGBUILD b/extra/libvorbis/PKGBUILD
index 5e57d8167..1adb7a786 100644
--- a/extra/libvorbis/PKGBUILD
+++ b/extra/libvorbis/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libvorbis
pkgver=1.3.3
-pkgrel=1
+pkgrel=1.2
pkgdesc="Vorbis codec library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xiph.org/vorbis/"
license=('BSD')
depends=('libogg')
diff --git a/extra/libvpx/PKGBUILD b/extra/libvpx/PKGBUILD
index 98dfbece2..d784e7086 100644
--- a/extra/libvpx/PKGBUILD
+++ b/extra/libvpx/PKGBUILD
@@ -4,24 +4,32 @@ pkgname=libvpx
pkgver=1.2.0
pkgrel=2
pkgdesc="The VP8 Codec SDK"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.webmproject.org/"
license=('BSD')
depends=('glibc')
-makedepends=('yasm')
-source=(ftp://ftp.archlinux.org/other/libvpx/libvpx-$pkgver.tar.xz{,.sig})
+[ "$CARCH" != "mips64el" ] && makedepends=('yasm')
+source=(ftp://ftp.archlinux.org/other/libvpx/libvpx-$pkgver.tar.xz{,.sig}
+ mips64el.patch)
sha1sums=('75cd953cf2db694412569272803fbdc73f2b599f'
- 'SKIP')
+ 'SKIP'
+ '78ea367dc417f64ad3ce8e33fda210e56a083f4b')
build() {
cd "$pkgname-$pkgver"
+
+ if [ "$CARCH" = "mips64el" ]; then
+ extra="--target=mips64el-linux-gcc"
+ patch -Np1 -i ${srcdir}/mips64el.patch
+ fi
+
./configure --prefix=/usr --enable-vp8 \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-postproc \
--enable-pic \
--disable-install-docs \
- --disable-install-srcs
+ --disable-install-srcs $extra
make
}
diff --git a/extra/libvpx/mips64el.patch b/extra/libvpx/mips64el.patch
new file mode 100644
index 000000000..075ee8119
--- /dev/null
+++ b/extra/libvpx/mips64el.patch
@@ -0,0 +1,37 @@
+diff -ru libvpx-1.2.0.orig/build/make/configure.sh libvpx-1.2.0/build/make/configure.sh
+--- libvpx-1.2.0.orig/build/make/configure.sh 2013-05-12 15:15:57.130701452 +0200
++++ libvpx-1.2.0/build/make/configure.sh 2013-05-12 15:17:30.904572335 +0200
+@@ -952,6 +952,14 @@
+
+ esac
+ ;;
++ mips64*)
++ link_with_cc=gcc
++ setup_gnu_toolchain
++ tune_cflags="-mtune="
++ check_add_cflags -march=${tgt_isa}
++ check_add_asflags -march=${tgt_isa}
++ check_add_asflags -KPIC
++ ;;
+ mips*)
+ link_with_cc=gcc
+ setup_gnu_toolchain
+diff -ru libvpx-1.2.0.orig/configure libvpx-1.2.0/configure
+--- libvpx-1.2.0.orig/configure 2013-05-12 15:15:57.259672776 +0200
++++ libvpx-1.2.0/configure 2013-05-12 15:17:56.198583024 +0200
+@@ -98,6 +98,7 @@
+ all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8
+ all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8
+ all_platforms="${all_platforms} mips32-linux-gcc"
++all_platforms="${all_platforms} mips64el-linux-gcc"
+ all_platforms="${all_platforms} ppc32-darwin8-gcc"
+ all_platforms="${all_platforms} ppc32-darwin9-gcc"
+ all_platforms="${all_platforms} ppc32-linux-gcc"
+@@ -210,6 +211,7 @@
+ neon
+
+ mips32
++ mips64
+ dspr2
+
+ mmx
diff --git a/extra/libwacom/PKGBUILD b/extra/libwacom/PKGBUILD
index 627165883..af8f10312 100644
--- a/extra/libwacom/PKGBUILD
+++ b/extra/libwacom/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libwacom
pkgver=0.8
pkgrel=1
pkgdesc="Library to identify Wacom tablets and their features"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Libwacom"
license=('MIT')
depends=('glib2' 'systemd')
diff --git a/extra/libwebp/PKGBUILD b/extra/libwebp/PKGBUILD
index 04b0e1c52..f99975cc0 100644
--- a/extra/libwebp/PKGBUILD
+++ b/extra/libwebp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libwebp
pkgver=0.3.1
pkgrel=3
pkgdesc="WebP library and conversion tools"
-arch=(x86_64 i686)
+arch=('x86_64' 'i686' 'mips64el')
url="https://developers.google.com/speed/webp/"
license=(BSD)
depends=(libpng libjpeg libtiff giflib)
diff --git a/extra/libwmf/PKGBUILD b/extra/libwmf/PKGBUILD
index da462db95..3f78dbae9 100644
--- a/extra/libwmf/PKGBUILD
+++ b/extra/libwmf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libwmf
pkgver=0.2.8.4
pkgrel=12
pkgdesc="A library for reading vector images in Microsoft's native Windows Metafile Format (WMF)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wvware.sourceforge.net/libwmf.html"
license=('LGPL')
depends=('libx11' 'libjpeg' 'gsfonts')
diff --git a/extra/libwnck/PKGBUILD b/extra/libwnck/PKGBUILD
index 7665c5da7..4ca3efba5 100644
--- a/extra/libwnck/PKGBUILD
+++ b/extra/libwnck/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libwnck
pkgver=2.30.7
-pkgrel=1
+pkgrel=1.2
pkgdesc="Window Navigator Construction Kit"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk2' 'startup-notification' 'libxres')
makedepends=('libxt' 'intltool' 'gobject-introspection')
diff --git a/extra/libwnck3/PKGBUILD b/extra/libwnck3/PKGBUILD
index a3ce77bc3..4bb234bad 100644
--- a/extra/libwnck3/PKGBUILD
+++ b/extra/libwnck3/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=libwnck
pkgver=3.4.7
pkgrel=1
pkgdesc="Window Navigator Construction Kit (GTK+3)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk3' 'startup-notification' 'libxres')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libwpd/PKGBUILD b/extra/libwpd/PKGBUILD
index f9ea447f6..42e145e17 100644
--- a/extra/libwpd/PKGBUILD
+++ b/extra/libwpd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libwpd
pkgver=0.9.9
pkgrel=1
pkgdesc="Library for importing WordPerfect (tm) documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libwpd.sourceforge.net/"
license=('LGPL')
depends=('gcc-libs' 'zlib')
diff --git a/extra/libwpg/PKGBUILD b/extra/libwpg/PKGBUILD
index 5916e389b..76091c95f 100644
--- a/extra/libwpg/PKGBUILD
+++ b/extra/libwpg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libwpg
pkgver=0.2.2
pkgrel=2
pkgdesc="Library for importing and converting Corel WordPerfect(tm) Graphics images."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libwpg.sourceforge.net/"
license=('LGPL')
depends=('libwpd' 'perl')
diff --git a/extra/libwps/PKGBUILD b/extra/libwps/PKGBUILD
index 0d814405b..c99aeab4c 100644
--- a/extra/libwps/PKGBUILD
+++ b/extra/libwps/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libwps
pkgver=0.2.9
pkgrel=1
pkgdesc="a Microsoft Works file word processor format import filter library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libwps.sourceforge.net/"
license=('LGPL')
depends=('libwpd>=0.9.6')
diff --git a/extra/libx11/PKGBUILD b/extra/libx11/PKGBUILD
index 478b842e9..ac29f65be 100644
--- a/extra/libx11/PKGBUILD
+++ b/extra/libx11/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libx11
pkgver=1.6.2
pkgrel=1
pkgdesc="X11 client-side library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
depends=('libxcb' 'xproto' 'kbproto')
makedepends=('xorg-util-macros' 'xextproto' 'xtrans' 'inputproto')
diff --git a/extra/libxau/PKGBUILD b/extra/libxau/PKGBUILD
index 42feec139..3f337d9fb 100644
--- a/extra/libxau/PKGBUILD
+++ b/extra/libxau/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libxau
pkgver=1.0.8
pkgrel=2
pkgdesc="X11 authorisation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
depends=('glibc' 'xproto>=7.0.18')
makedepends=('pkgconfig')
diff --git a/extra/libxaw/PKGBUILD b/extra/libxaw/PKGBUILD
index 3d2c342b7..f2e1c675e 100644
--- a/extra/libxaw/PKGBUILD
+++ b/extra/libxaw/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxaw
pkgver=1.0.12
pkgrel=1
pkgdesc="X11 Athena Widget library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxmu' 'libxpm')
diff --git a/extra/libxcb/PKGBUILD b/extra/libxcb/PKGBUILD
index d51c00b6f..6869b57ce 100644
--- a/extra/libxcb/PKGBUILD
+++ b/extra/libxcb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxcb
pkgver=1.9.1
pkgrel=2
pkgdesc="X11 client-side library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org/"
depends=('xcb-proto>=1.8-2' 'libxdmcp' 'libxau')
makedepends=('pkgconfig' 'libxslt' 'python')
diff --git a/extra/libxcomposite/PKGBUILD b/extra/libxcomposite/PKGBUILD
index 606215f39..fe5f29293 100644
--- a/extra/libxcomposite/PKGBUILD
+++ b/extra/libxcomposite/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxcomposite
pkgver=0.4.4
pkgrel=1
pkgdesc="X11 Composite extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes' 'compositeproto')
diff --git a/extra/libxcursor/PKGBUILD b/extra/libxcursor/PKGBUILD
index 51bdbcf02..9b7c11c27 100644
--- a/extra/libxcursor/PKGBUILD
+++ b/extra/libxcursor/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libxcursor
pkgver=1.1.14
pkgrel=1
pkgdesc="X cursor management library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes' 'libxrender')
diff --git a/extra/libxdamage/PKGBUILD b/extra/libxdamage/PKGBUILD
index 7fab57a24..ccb2f7753 100644
--- a/extra/libxdamage/PKGBUILD
+++ b/extra/libxdamage/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxdamage
pkgver=1.1.4
pkgrel=1
pkgdesc="X11 damaged region extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes>=4.0.4' 'damageproto>=1.2.0')
diff --git a/extra/libxdmcp/PKGBUILD b/extra/libxdmcp/PKGBUILD
index e4169c81b..c77a1de73 100644
--- a/extra/libxdmcp/PKGBUILD
+++ b/extra/libxdmcp/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxdmcp
pkgver=1.1.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="X11 Display Manager Control Protocol library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xproto' 'glibc')
diff --git a/extra/libxevie/PKGBUILD b/extra/libxevie/PKGBUILD
index 895c1b4db..39b313d80 100644
--- a/extra/libxevie/PKGBUILD
+++ b/extra/libxevie/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxevie
pkgver=1.0.3
pkgrel=2
pkgdesc="X11 EvIE extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext')
diff --git a/extra/libxext/PKGBUILD b/extra/libxext/PKGBUILD
index 34c0f853c..0d35f36d7 100644
--- a/extra/libxext/PKGBUILD
+++ b/extra/libxext/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxext
pkgver=1.3.2
pkgrel=1
pkgdesc="X11 miscellaneous extensions library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'xextproto')
diff --git a/extra/libxfce4ui/PKGBUILD b/extra/libxfce4ui/PKGBUILD
index 6904bc23c..8ee41d41b 100644
--- a/extra/libxfce4ui/PKGBUILD
+++ b/extra/libxfce4ui/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfce4ui
pkgver=4.10.0
pkgrel=1
pkgdesc="Commonly used Xfce widgets among Xfce applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
depends=('libxfce4util' 'gtk2' 'xfconf' 'libsm' 'startup-notification'
diff --git a/extra/libxfce4util/PKGBUILD b/extra/libxfce4util/PKGBUILD
index eb1e9fe1e..e5cfc50ff 100644
--- a/extra/libxfce4util/PKGBUILD
+++ b/extra/libxfce4util/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfce4util
pkgver=4.10.1
pkgrel=2
pkgdesc="Basic utility non-GUI functions for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
depends=('glib2')
diff --git a/extra/libxfcegui4/PKGBUILD b/extra/libxfcegui4/PKGBUILD
index 1a5e44191..20cdae023 100644
--- a/extra/libxfcegui4/PKGBUILD
+++ b/extra/libxfcegui4/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libxfcegui4
pkgver=4.10.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Various Gtk widgets for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
depends=('startup-notification' 'xfconf' 'libglade' 'libsm'
diff --git a/extra/libxfixes/PKGBUILD b/extra/libxfixes/PKGBUILD
index 240f6894e..6d1394651 100644
--- a/extra/libxfixes/PKGBUILD
+++ b/extra/libxfixes/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfixes
pkgver=5.0.1
pkgrel=1
pkgdesc="X11 miscellaneous 'fixes' extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'fixesproto>=5.0')
diff --git a/extra/libxfont/PKGBUILD b/extra/libxfont/PKGBUILD
index 1b6713d99..2dad72df4 100644
--- a/extra/libxfont/PKGBUILD
+++ b/extra/libxfont/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxfont
pkgver=1.4.6
pkgrel=1
pkgdesc="X11 font rasterisation library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('freetype2' 'libfontenc' 'xproto' 'fontsproto')
diff --git a/extra/libxft/PKGBUILD b/extra/libxft/PKGBUILD
index 9e04f5562..2c1be43f5 100644
--- a/extra/libxft/PKGBUILD
+++ b/extra/libxft/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxft
pkgver=2.3.1
pkgrel=1
pkgdesc="FreeType-based font drawing library for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('fontconfig' 'libxrender')
diff --git a/extra/libxi/PKGBUILD b/extra/libxi/PKGBUILD
index 37ea037b6..0085e86b8 100644
--- a/extra/libxi/PKGBUILD
+++ b/extra/libxi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxi
pkgver=1.7.2
pkgrel=1
pkgdesc="X11 Input extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org"
depends=('libxext' 'inputproto')
makedepends=('pkgconfig' 'xorg-util-macros' 'libxfixes' 'automake')
diff --git a/extra/libxinerama/PKGBUILD b/extra/libxinerama/PKGBUILD
index cf6b3cd5a..443695c66 100644
--- a/extra/libxinerama/PKGBUILD
+++ b/extra/libxinerama/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libxinerama
pkgver=1.1.3
pkgrel=2
pkgdesc="X11 Xinerama extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext' 'xineramaproto')
diff --git a/extra/libxkbcommon/PKGBUILD b/extra/libxkbcommon/PKGBUILD
index ced9c36a2..c6f5655c2 100644
--- a/extra/libxkbcommon/PKGBUILD
+++ b/extra/libxkbcommon/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libxkbcommon
pkgver=0.3.1
pkgrel=1
pkgdesc="Keyboard handling library using XKB data"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://xkbcommon.org/"
license=(custom)
depends=(xkeyboard-config)
diff --git a/extra/libxkbfile/PKGBUILD b/extra/libxkbfile/PKGBUILD
index 1e612efa6..219e7e573 100644
--- a/extra/libxkbfile/PKGBUILD
+++ b/extra/libxkbfile/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxkbfile
pkgver=1.0.8
-pkgrel=1
+pkgrel=1.1
pkgdesc="X11 keyboard file manipulation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libx11')
diff --git a/extra/libxkbui/PKGBUILD b/extra/libxkbui/PKGBUILD
index 752f16bba..eac86cf42 100644
--- a/extra/libxkbui/PKGBUILD
+++ b/extra/libxkbui/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxkbui
pkgver=1.0.2
pkgrel=5
pkgdesc="X11 keyboard UI presentation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxt' 'libxkbfile')
diff --git a/extra/libxklavier/PKGBUILD b/extra/libxklavier/PKGBUILD
index b223a951e..c8c833eb9 100644
--- a/extra/libxklavier/PKGBUILD
+++ b/extra/libxklavier/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxklavier
pkgver=5.3
pkgrel=1
pkgdesc="High-level API for X Keyboard Extension"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('glib2' 'libxkbfile' 'libxml2' 'xkeyboard-config' 'libxi' 'iso-codes')
makedepends=('gobject-introspection')
diff --git a/extra/libxmi/PKGBUILD b/extra/libxmi/PKGBUILD
index fcdc1430d..0fc134016 100644
--- a/extra/libxmi/PKGBUILD
+++ b/extra/libxmi/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libxmi
pkgver=1.2
-pkgrel=5
+pkgrel=5.1
pkgdesc="A library for rasterizing 2-D vector graphics"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libxmi/libxmi.html"
license=('GPL')
depends=('glibc')
@@ -16,7 +16,6 @@ md5sums=('4e6935484f0ad71b531920bf4c546b47')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- autoreconf --force --install
./configure --prefix=/usr --infodir=/usr/share/info
make
}
diff --git a/extra/libxml++/PKGBUILD b/extra/libxml++/PKGBUILD
index c2652fea4..caa4ecf9b 100644
--- a/extra/libxml++/PKGBUILD
+++ b/extra/libxml++/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libxml++
pkgname=('libxml++' 'libxml++-docs')
pkgver=2.36.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://libxmlplusplus.sourceforge.net/"
makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm')
diff --git a/extra/libxml2/PKGBUILD b/extra/libxml2/PKGBUILD
index f57bfee15..059a422bb 100644
--- a/extra/libxml2/PKGBUILD
+++ b/extra/libxml2/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libxml2
pkgver=2.9.1
pkgrel=5
pkgdesc="XML parsing library, version 2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('MIT')
depends=('zlib' 'readline' 'ncurses' 'xz')
makedepends=('python2')
diff --git a/extra/libxmu/PKGBUILD b/extra/libxmu/PKGBUILD
index a4396c94d..f511bd58c 100644
--- a/extra/libxmu/PKGBUILD
+++ b/extra/libxmu/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxmu
pkgver=1.1.2
pkgrel=1
pkgdesc="X11 miscellaneous micro-utility library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'libxt')
makedepends=('xorg-util-macros')
diff --git a/extra/libxp/PKGBUILD b/extra/libxp/PKGBUILD
index c579096db..a35dd42e7 100644
--- a/extra/libxp/PKGBUILD
+++ b/extra/libxp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxp
pkgver=1.0.2
pkgrel=1
pkgdesc="X11 X Print Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'printproto')
diff --git a/extra/libxpm/PKGBUILD b/extra/libxpm/PKGBUILD
index 877bf051d..6541a1bc9 100644
--- a/extra/libxpm/PKGBUILD
+++ b/extra/libxpm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxpm
pkgver=3.5.11
pkgrel=1
pkgdesc="X11 pixmap library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxt' 'libxext')
diff --git a/extra/libxrandr/PKGBUILD b/extra/libxrandr/PKGBUILD
index 2556e81ca..c8df0528f 100644
--- a/extra/libxrandr/PKGBUILD
+++ b/extra/libxrandr/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libxrandr
pkgver=1.4.2
pkgrel=2
pkgdesc="X11 RandR extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'libxrender' 'randrproto>=1.4.0')
diff --git a/extra/libxrender/PKGBUILD b/extra/libxrender/PKGBUILD
index e5ba22ec5..563675c59 100644
--- a/extra/libxrender/PKGBUILD
+++ b/extra/libxrender/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxrender
pkgver=0.9.8
pkgrel=1
pkgdesc="X Rendering Extension client library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11>=1.3.4' 'renderproto')
diff --git a/extra/libxres/PKGBUILD b/extra/libxres/PKGBUILD
index 9ee972b4a..9f97d882c 100644
--- a/extra/libxres/PKGBUILD
+++ b/extra/libxres/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxres
pkgver=1.0.7
pkgrel=1
pkgdesc="X11 Resource extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org"
license=('custom')
depends=('libxext')
diff --git a/extra/libxslt/PKGBUILD b/extra/libxslt/PKGBUILD
index 90fe77406..1dc4aff57 100644
--- a/extra/libxslt/PKGBUILD
+++ b/extra/libxslt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxslt
pkgver=1.1.28
pkgrel=2
pkgdesc="XML stylesheet transformation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xmlsoft.org/XSLT/"
license=('custom')
depends=('libxml2' 'libgcrypt')
diff --git a/extra/libxss/PKGBUILD b/extra/libxss/PKGBUILD
index 0e8959f49..fca9b7bbc 100644
--- a/extra/libxss/PKGBUILD
+++ b/extra/libxss/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxss
pkgver=1.2.2
pkgrel=2
pkgdesc="X11 Screen Saver extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'scrnsaverproto')
diff --git a/extra/libxt/PKGBUILD b/extra/libxt/PKGBUILD
index 7a8094b25..f072fd09d 100644
--- a/extra/libxt/PKGBUILD
+++ b/extra/libxt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxt
pkgver=1.1.4
pkgrel=1
pkgdesc="X11 toolkit intrinsics library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libsm' 'libx11')
diff --git a/extra/libxtst/PKGBUILD b/extra/libxtst/PKGBUILD
index 699b9ea50..a3fb67387 100644
--- a/extra/libxtst/PKGBUILD
+++ b/extra/libxtst/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxtst
pkgver=1.2.2
pkgrel=1
pkgdesc="X11 Testing -- Resource extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext' 'libxi' 'recordproto' 'inputproto' 'libxfixes')
diff --git a/extra/libxv/PKGBUILD b/extra/libxv/PKGBUILD
index bc234f6d3..b0b64f8c6 100644
--- a/extra/libxv/PKGBUILD
+++ b/extra/libxv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxv
pkgver=1.0.10
pkgrel=1
pkgdesc="X11 Video extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'videoproto')
diff --git a/extra/libxvmc/PKGBUILD b/extra/libxvmc/PKGBUILD
index 912945dc7..27b396f6d 100644
--- a/extra/libxvmc/PKGBUILD
+++ b/extra/libxvmc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxvmc
pkgver=1.0.8
pkgrel=1
pkgdesc="X11 Video Motion Compensation extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxv')
diff --git a/extra/libxxf86dga/PKGBUILD b/extra/libxxf86dga/PKGBUILD
index 20753d80b..5ad319336 100644
--- a/extra/libxxf86dga/PKGBUILD
+++ b/extra/libxxf86dga/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libxxf86dga
pkgver=1.1.4
pkgrel=1
pkgdesc="X11 Direct Graphics Access extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext' 'xf86dgaproto')
diff --git a/extra/libxxf86vm/PKGBUILD b/extra/libxxf86vm/PKGBUILD
index bdd38e3f9..e1f130caf 100644
--- a/extra/libxxf86vm/PKGBUILD
+++ b/extra/libxxf86vm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxxf86vm
pkgver=1.1.3
pkgrel=1
pkgdesc="X11 XFree86 video mode extension library"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'xf86vidmodeproto')
diff --git a/extra/libytnef/PKGBUILD b/extra/libytnef/PKGBUILD
index 74ef081a3..ca35e0a20 100644
--- a/extra/libytnef/PKGBUILD
+++ b/extra/libytnef/PKGBUILD
@@ -8,14 +8,14 @@ pkgrel=3
pkgdesc="Yerase's TNEF Stream Reader library (decode winmail.dat)"
url="http://freshmeat.net/projects/ytnef/"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
source=("http://downloads.sourceforge.net/ytnef/${pkgname}-${pkgver}.tar.gz")
md5sums=('6c44b955f33cf714c75a7bbe895cc352')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-static
+ ./configure --prefix=/usr --disable-static --build=$CHOST --host=$CHOST
make
}
diff --git a/extra/libzapojit/PKGBUILD b/extra/libzapojit/PKGBUILD
index cddbdfd84..b32425df0 100644
--- a/extra/libzapojit/PKGBUILD
+++ b/extra/libzapojit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libzapojit
pkgver=0.0.3
pkgrel=1
pkgdesc="GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libsoup' 'gnome-online-accounts')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libzeitgeist/PKGBUILD b/extra/libzeitgeist/PKGBUILD
index 5c2606960..c16701d43 100644
--- a/extra/libzeitgeist/PKGBUILD
+++ b/extra/libzeitgeist/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libzeitgeist
pkgver=0.3.18
pkgrel=4
pkgdesc="Zeitgeist client library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/libzeitgeist"
license=('LGPL2.1')
depends=('glib2')
diff --git a/extra/libzip/PKGBUILD b/extra/libzip/PKGBUILD
index 18e93e974..17b60e395 100644
--- a/extra/libzip/PKGBUILD
+++ b/extra/libzip/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="A C library for reading, creating, and modifying zip archives"
url="http://www.nih.at/libzip/index.html"
license=('BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('zlib')
source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.xz"
'fix-headers.patch')
diff --git a/extra/libzrtpcpp/PKGBUILD b/extra/libzrtpcpp/PKGBUILD
index 376d7bcff..47eebf2d0 100644
--- a/extra/libzrtpcpp/PKGBUILD
+++ b/extra/libzrtpcpp/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libzrtpcpp
pkgver=2.3.4
pkgrel=1
pkgdesc="A C++ implementation of Phil Zimmermann's ZRTP specification"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.gnutelephony.org/index.php/GNU_ZRTP'
license=('GPL3')
depends=('ccrtp')
diff --git a/extra/libzvt/PKGBUILD b/extra/libzvt/PKGBUILD
index 613d14db8..4043a6370 100644
--- a/extra/libzvt/PKGBUILD
+++ b/extra/libzvt/PKGBUILD
@@ -6,20 +6,23 @@ pkgname=libzvt
pkgver=2.0.1
pkgrel=7
pkgdesc="Zed's virtual terminal library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
url="http://ftp.gnome.org/pub/GNOME/sources/libzvt"
depends=('gtk2' 'libart-lgpl')
makedepends=('pkgconfig')
-source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('4bbea49495a341650fa1f89908e6554e')
+source=(ftp://ftp.gnome.org/pub/GNOME/sources/libzvt/2.0/${pkgname}-${pkgver}.tar.bz2
+ libzvt-2.0.1-correct_glib_include.patch)
+md5sums=('4bbea49495a341650fa1f89908e6554e'
+ '2e30c7aafd5fc8dc1de0971ca562fee0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/libzvt-2.0.1-correct_glib_include.patch
sed -i -e 's/-DGTK_DISABLE_DEPRECATED//g' libzvt/Makefile.*
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
- --libexecdir=/usr/lib
+ --libexecdir=/usr/lib --build=$CHOST
make
}
diff --git a/extra/libzvt/libzvt-2.0.1-correct_glib_include.patch b/extra/libzvt/libzvt-2.0.1-correct_glib_include.patch
new file mode 100644
index 000000000..e94c49135
--- /dev/null
+++ b/extra/libzvt/libzvt-2.0.1-correct_glib_include.patch
@@ -0,0 +1,11 @@
+--- libzvt-2.0.1.orig/libzvt/gnome-pty-helper.c 2002-06-05 01:07:33.000000000 -0500
++++ libzvt-2.0.1/libzvt/gnome-pty-helper.c 2012-11-29 20:07:50.505466139 -0500
+@@ -52,7 +52,7 @@
+ #include <stdio.h>
+ #include <utmp.h>
+ #include <grp.h>
+-#include <glib/galloca.h>
++#include <glib.h>
+ #include "gnome-pty.h"
+ #include "gnome-login-support.h"
+
diff --git a/extra/licq/PKGBUILD b/extra/licq/PKGBUILD
index 5a3c65a93..abfe2ab94 100644
--- a/extra/licq/PKGBUILD
+++ b/extra/licq/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=licq
pkgver=1.7.1
pkgrel=5
pkgdesc="Advanced graphical ICQ clone and more for Unix"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.licq.org"
license=('GPL')
depends=('boost-libs' 'gpgme' 'libxss' 'qt4')
diff --git a/extra/lightsoff/PKGBUILD b/extra/lightsoff/PKGBUILD
index 0a1724a31..a6c474b5b 100644
--- a/extra/lightsoff/PKGBUILD
+++ b/extra/lightsoff/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lightsoff
pkgver=3.10.1
pkgrel=1
pkgdesc="Turn off all the lights"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'clutter-gtk' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/lighttpd/PKGBUILD b/extra/lighttpd/PKGBUILD
index 7df7a920d..7c2619757 100644
--- a/extra/lighttpd/PKGBUILD
+++ b/extra/lighttpd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.4.33
pkgrel=2
pkgdesc='A secure, fast, compliant and very flexible web-server'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lighttpd.net/"
depends=('pcre' 'bzip2' 'libldap' 'util-linux' 'systemd')
makedepends=('fcgi' 'libmariadbclient' 'lua51' 'libxml2' 'e2fsprogs' 'sqlite' 'gdbm' 'pkgconfig')
diff --git a/extra/lilv/PKGBUILD b/extra/lilv/PKGBUILD
index 60ac98930..9b58dff47 100644
--- a/extra/lilv/PKGBUILD
+++ b/extra/lilv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lilv
pkgver=0.16.0
pkgrel=1
pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://drobilla.net/software/lilv/"
license=('custom:ISC')
depends=('python2' 'sratom>=0.4.2' 'jack')
diff --git a/extra/link-grammar/PKGBUILD b/extra/link-grammar/PKGBUILD
index 713af6a4c..f7b51428e 100644
--- a/extra/link-grammar/PKGBUILD
+++ b/extra/link-grammar/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=link-grammar
pkgver=4.8.0
pkgrel=1
pkgdesc="A Grammar Checking library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.abisource.com/downloads/link-grammar/"
license=('BSD')
depends=('aspell')
diff --git a/extra/liquidwar/PKGBUILD b/extra/liquidwar/PKGBUILD
index e25f0ea94..6a6a9a640 100644
--- a/extra/liquidwar/PKGBUILD
+++ b/extra/liquidwar/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liquidwar
pkgver=5.6.4
pkgrel=6
pkgdesc="A unique multiplayer wargame"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ufoot.org/liquidwar/"
license=('GPL')
depends=('allegro4')
@@ -21,6 +21,7 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
patch -p0 -i "$srcdir/liquidwar-5.6.4-ovflfix.patch"
sed -i 's/python/python2/' doc/Makefile.in
+ sed -ri 's/(EXTERN_LIBS .+)$/\1 -lm/' src/Makefile.in
[ "$CARCH" == "x86_64" ] && EXTRAOPTS="--disable-asm"
LIBS='-lm' PYTHON=yes ./configure --prefix=/usr $EXTRAOPTS
make GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar
diff --git a/extra/live-media/PKGBUILD b/extra/live-media/PKGBUILD
index e6233cf81..1f4025a67 100644
--- a/extra/live-media/PKGBUILD
+++ b/extra/live-media/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=live-media
pkgver=2013.10.25
pkgrel=1
pkgdesc="A set of C++ libraries for multimedia streaming"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://live555.com/liveMedia"
depends=('gcc-libs')
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
index 899d29785..46ce04290 100644
--- a/extra/llvm/PKGBUILD
+++ b/extra/llvm/PKGBUILD
@@ -12,7 +12,7 @@
pkgname=('llvm' 'llvm-libs' 'llvm-ocaml' 'clang' 'clang-analyzer')
pkgver=3.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
makedepends=('libffi' 'python2' 'ocaml' 'python-sphinx')
diff --git a/extra/lm_sensors/PKGBUILD b/extra/lm_sensors/PKGBUILD
index eb29c5d5f..a68e230c5 100644
--- a/extra/lm_sensors/PKGBUILD
+++ b/extra/lm_sensors/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lm_sensors
pkgver=3.3.4
pkgrel=1
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lm-sensors.org/"
license=('GPL' 'LGPL')
depends=('perl' 'sysfsutils')
diff --git a/extra/loudmouth/PKGBUILD b/extra/loudmouth/PKGBUILD
index f242e0bb9..1f2897d7f 100644
--- a/extra/loudmouth/PKGBUILD
+++ b/extra/loudmouth/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=loudmouth
pkgver=1.4.3
pkgrel=4
pkgdesc="A lightweight Jabber client library written in C/Glib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://groups.google.com/group/loudmouth-dev"
depends=('glib2' 'gnutls' 'libidn')
diff --git a/extra/lpsolve/PKGBUILD b/extra/lpsolve/PKGBUILD
index db2c1502f..838cddee1 100644
--- a/extra/lpsolve/PKGBUILD
+++ b/extra/lpsolve/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=5.5.2.0
_mainver=5.5
pkgrel=2
pkgdesc="a Mixed Integer Linear Programming (MILP) solver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://lpsolve.sourceforge.net/"
license=('GPL')
depends=('glibc')
diff --git a/extra/lsof/PKGBUILD b/extra/lsof/PKGBUILD
index 4cfc24fef..1ac9d3db7 100644
--- a/extra/lsof/PKGBUILD
+++ b/extra/lsof/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=lsof
pkgver=4.87
pkgrel=2
pkgdesc="Lists open files for running Unix processes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://people.freebsd.org/~abe/"
license=('custom')
depends=('glibc')
diff --git a/extra/ltrace/PKGBUILD b/extra/ltrace/PKGBUILD
index ffb8981c3..0ca77b8fe 100644
--- a/extra/ltrace/PKGBUILD
+++ b/extra/ltrace/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ltrace
pkgver=0.7.3
pkgrel=1
pkgdesc="Tracks runtime library calls in dynamically linked programs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ltrace.alioth.debian.org/"
license=('GPL')
depends=('elfutils')
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD
index 571cd7894..58ad58b9f 100644
--- a/extra/lua/PKGBUILD
+++ b/extra/lua/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=lua
pkgver=5.2.2
pkgrel=1
pkgdesc='Powerful light-weight programming language designed for extending applications'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.lua.org/'
depends=('readline')
license=('MIT')
diff --git a/extra/lua51/PKGBUILD b/extra/lua51/PKGBUILD
index 1ba21ab1b..435788e88 100644
--- a/extra/lua51/PKGBUILD
+++ b/extra/lua51/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=lua51
pkgver=5.1.5
-pkgrel=3
+pkgrel=3.1
pkgdesc='A powerful light-weight programming language designed for extending applications'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.lua.org/'
depends=('readline')
license=('MIT')
@@ -23,7 +23,7 @@ build() {
cd lua-$pkgver
patch -p1 -i "$srcdir/lua-arch.patch"
patch -p1 -i "$srcdir/lua-5.1-cflags.diff"
- [[ $CARCH == x86_64 ]] && export CFLAGS="$CFLAGS -fPIC"
+ [[ $CARCH != i686 ]] && export CFLAGS="$CFLAGS -fPIC"
sed -e 's:llua:llua5.1:' -e 's:/include:/include/lua5.1:' -i etc/lua.pc
sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' -i src/Makefile
make MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" linux
diff --git a/extra/lv2/PKGBUILD b/extra/lv2/PKGBUILD
index 2cc972e24..a970b50b5 100644
--- a/extra/lv2/PKGBUILD
+++ b/extra/lv2/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="Successor to the LADSPA audio plug-in standard"
url="http://lv2plug.in/"
license=('LGPL' 'custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('python2' 'libsndfile' 'gtk2')
optdepends=('libsndfile: lv2-eg-sampler'
'gtk2: lv2-eg-sampler')
diff --git a/extra/lynx/PKGBUILD b/extra/lynx/PKGBUILD
index cb8b913f2..714c2c18b 100644
--- a/extra/lynx/PKGBUILD
+++ b/extra/lynx/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.8.7
pkgrel=7
pkgdesc="A text browser for the World Wide Web"
url="http://lynx.isc.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('ncurses' 'openssl')
backup=('etc/lynx.cfg')
@@ -22,7 +22,8 @@ build() {
--with-ssl=/usr \
--enable-nls \
--enable-ipv6 \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man \
+ CFLAGS="$CFLAGS -DUSE_OPENSSL_INCL"
make
}
diff --git a/extra/lyx/PKGBUILD b/extra/lyx/PKGBUILD
index 2fff354d2..4a2246fa2 100644
--- a/extra/lyx/PKGBUILD
+++ b/extra/lyx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lyx
pkgver=2.0.6
pkgrel=3
pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lyx.org"
depends=('qt4' 'texlive-core' 'python2' 'imagemagick' 'enchant' 'boost-libs' 'libmythes')
makedepends=('boost')
diff --git a/extra/lzo/PKGBUILD b/extra/lzo/PKGBUILD
index 115baed03..8eb151a27 100644
--- a/extra/lzo/PKGBUILD
+++ b/extra/lzo/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=lzo
pkgver=1.08
pkgrel=8
pkgdesc='A portable lossless data compression library written in ANSI C'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url='http://www.oberhumer.com/opensource/lzo'
depends=('glibc')
@@ -26,7 +26,7 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
autoconf
- ./configure --prefix=/usr --enable-shared
+ ./configure --prefix=/usr --enable-shared --build=$CHOST
make
}
diff --git a/extra/lzop/PKGBUILD b/extra/lzop/PKGBUILD
index b507594a4..2a12dff60 100644
--- a/extra/lzop/PKGBUILD
+++ b/extra/lzop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lzop
pkgver=1.03
pkgrel=2
pkgdesc="File compressor using lzo lib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.lzop.org/"
depends=('lzo2')
diff --git a/extra/m17n-lib/PKGBUILD b/extra/m17n-lib/PKGBUILD
index 7e929189e..5f15d7d50 100644
--- a/extra/m17n-lib/PKGBUILD
+++ b/extra/m17n-lib/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.6.4
pkgrel=2
pkgdesc='Multilingual text processing library (runtimes)'
url='http://www.nongnu.org/m17n/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxft' 'm17n-db' 'fribidi' 'libxml2' 'gd' 'libotf')
optdepends=('anthy: to use the anthy input method')
diff --git a/extra/manedit/PKGBUILD b/extra/manedit/PKGBUILD
index 684357eea..d620506a4 100644
--- a/extra/manedit/PKGBUILD
+++ b/extra/manedit/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=manedit
pkgver=1.2.1
-pkgrel=4
+pkgrel=4.2
pkgdesc="An editor specifically tailored for UNIX manual pages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://freecode.com/projects/manedit"
depends=('gcc-libs' 'bzip2' 'zlib' 'gtk')
diff --git a/extra/mariadb/PKGBUILD b/extra/mariadb/PKGBUILD
index 662cd6f06..0910aaf7c 100644
--- a/extra/mariadb/PKGBUILD
+++ b/extra/mariadb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb')
pkgver=5.5.33.a
_pkgver=${pkgver/.a/a}
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url='http://mariadb.org/'
makedepends=('cmake' 'openssl' 'zlib')
@@ -63,7 +63,8 @@ build() {
-DWITHOUT_PBXT_STORAGE_ENGINE=1 \
-DCMAKE_C_FLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \
-DCMAKE_CXX_FLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \
- -DWITH_MYSQLD_LDFLAGS="${LDFLAGS}"
+ -DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \
+ -DBISON_USABLE=0
make
diff --git a/extra/mash/PKGBUILD b/extra/mash/PKGBUILD
index 240f4849c..8ad7fdbb2 100644
--- a/extra/mash/PKGBUILD
+++ b/extra/mash/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mash
pkgver=0.2.0
pkgrel=3
pkgdesc="A small library for using 3D models within a Clutter scene"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://clutter-project.org/"
license=('LGPL')
depends=('clutter')
diff --git a/extra/maxima/PKGBUILD b/extra/maxima/PKGBUILD
index 6fe19bbc7..275cbd3a2 100644
--- a/extra/maxima/PKGBUILD
+++ b/extra/maxima/PKGBUILD
@@ -6,10 +6,14 @@ pkgname=maxima
pkgver=5.30.0
pkgrel=4
pkgdesc="Maxima - a sophisticated computer algebra system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://maxima.sourceforge.net"
-depends=('sbcl=1.1.12' 'texinfo' 'sh')
+if [ "${CARCH}" == "mips64el" ] ; then
+ depends=('clisp' 'texinfo' 'sh')
+else
+ depends=('sbcl=1.1.12' 'texinfo' 'sh')
+fi
makedepends=('python2')
optdepends=('gnuplot: plotting capabilities' 'rlwrap: readline support via /usr/bin/rmaxima' 'tk: graphical xmaxima interface')
# needs rebuild when bash changes version
@@ -26,8 +30,13 @@ build() {
# set correct python executable to create docs
sed -i "s|${PYTHONBIN:-python}|python2|" doc/info/extract_categories.sh
+ if [ "${CARCH}" == "mips64el" ] ; then
+ lisp="--enable-clisp --with-default-lisp=clisp"
+ else
+ lisp="--enable-sbcl --with-default-lisp=sbcl"
+ fi
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
- --libexecdir=/usr/lib --enable-sbcl --with-default-lisp=sbcl
+ --libexecdir=/usr/lib $lisp
# help avoid (re)running makeinfo/tex
touch doc/info/maxima.info
diff --git a/extra/mcpp/PKGBUILD b/extra/mcpp/PKGBUILD
index e86f05374..62c8e011d 100644
--- a/extra/mcpp/PKGBUILD
+++ b/extra/mcpp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mcpp
pkgver=2.7.2
pkgrel=4
pkgdesc="Matsui's CPP implementation precisely conformed to standards"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://mcpp.sourceforge.net"
depends=('glibc')
diff --git a/extra/mediastreamer/PKGBUILD b/extra/mediastreamer/PKGBUILD
index fe89a1055..90def1a60 100644
--- a/extra/mediastreamer/PKGBUILD
+++ b/extra/mediastreamer/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=mediastreamer
pkgver=2.9.0
pkgrel=4
pkgdesc="A library written in C that allows you to create and run audio and video streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.linphone.org/"
license=('GPL')
depends=('ortp' 'ffmpeg' 'libxv' 'libupnp')
diff --git a/extra/memcached/PKGBUILD b/extra/memcached/PKGBUILD
index 2de510c5d..451b72649 100644
--- a/extra/memcached/PKGBUILD
+++ b/extra/memcached/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=memcached
pkgver=1.4.15
pkgrel=2
pkgdesc="A distributed memory object caching system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://memcached.org/"
license=('GPL')
depends=('libevent')
diff --git a/extra/mercurial/PKGBUILD b/extra/mercurial/PKGBUILD
index 654f69a43..6607a487c 100644
--- a/extra/mercurial/PKGBUILD
+++ b/extra/mercurial/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mercurial
pkgver=2.8
pkgrel=1
pkgdesc="A scalable distributed SCM tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mercurial.selenic.com/"
license=('GPL')
depends=('python2')
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD
index 96a771563..eba327774 100644
--- a/extra/mesa/PKGBUILD
+++ b/extra/mesa/PKGBUILD
@@ -3,12 +3,16 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgbase=mesa
-pkgname=('ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri' 'mesa' 'mesa-libgl')
+pkgname=('mesa' 'mesa-libgl')
pkgver=9.2.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('python2' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'libxxf86vm' 'libxdamage'
- 'libvdpau' 'wayland' 'elfutils' 'llvm' 'systemd')
+ 'wayland' 'elfutils' 'llvm' 'systemd')
+if [ "$CARCH" != "mips64el" ]; then
+ pkgname+=('ati-dri' 'intel-dri' 'nouveau-dri' 'svga-dri')
+ makedepends+=('libvdpau' 'llvm-amdgpu-snapshot')
+fi
url="http://mesa3d.sourceforge.net"
license=('custom')
source=(ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2
@@ -19,7 +23,13 @@ md5sums=('20887f8020db7d1736a01ae9cd5d8c38'
build() {
cd ${srcdir}/?esa-*
- autoreconf -vfi # our automake is far too new for their build system :)
+ if [ "$CARCH" = "mips64el" ]; then
+ extraconf="--with-gallium-drivers=swrast --with-dri-drivers=swrast --disable-gallium-llvm --disable-vdpau"
+ else
+ extraconf=""
+ fi
+
+ autoreconf -vfi # our automake is far too new for their build system :)
./configure --prefix=/usr \
--sysconfdir=/etc \
@@ -42,6 +52,7 @@ build() {
--enable-texture-float \
--enable-xa \
--enable-vdpau \
+ $extraconf
# --help
make
@@ -119,11 +130,12 @@ package_svga-dri() {
package_mesa() {
pkgdesc="an open-source implementation of the OpenGL specification"
- depends=('libdrm' 'libvdpau' 'wayland' 'libxxf86vm' 'libxdamage' 'systemd' 'elfutils' 'llvm-libs')
+ depends=('libdrm' 'wayland' 'libxxf86vm' 'libxdamage' 'systemd' 'elfutils' 'llvm-libs')
optdepends=('opengl-man-pages: for the OpenGL API man pages')
provides=('libglapi' 'osmesa' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel')
conflicts=('libglapi' 'osmesa' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel')
replaces=('libglapi' 'osmesa' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel')
+ [ "$CARCH" != "mips64el" ] && depends+=('libvdpau')
mv -v ${srcdir}/fakeinstall/* ${pkgdir}
# rename libgl.so to not conflict with blobs - may break gl.pc ?
diff --git a/extra/mesa/mesa-loongson.patch b/extra/mesa/mesa-loongson.patch
new file mode 100644
index 000000000..fa82abe49
--- /dev/null
+++ b/extra/mesa/mesa-loongson.patch
@@ -0,0 +1,11 @@
+--- Mesa-6.5.2/include/GL/internal/sarea.h.orig 2007-03-01 05:27:22.000000000 +0800
++++ Mesa-6.5.2/include/GL/internal/sarea.h 2007-03-01 05:27:49.000000000 +0800
+@@ -44,6 +44,8 @@
+ /* SAREA area needs to be at least a page */
+ #if defined(__alpha__)
+ #define SAREA_MAX 0x2000
++#elif defined(__mips__)
++#define SAREA_MAX 0x4000
+ #elif defined(__ia64__)
+ #define SAREA_MAX 0x10000 /* 64kB */
+ #else
diff --git a/extra/metalog/PKGBUILD b/extra/metalog/PKGBUILD
index 1be0e239e..efdeaf7fc 100644
--- a/extra/metalog/PKGBUILD
+++ b/extra/metalog/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2
pkgdesc="A modern replacement for syslogd and klogd"
url="http://metalog.sourceforge.net"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('pcre')
provides=('logger')
backup=('etc/metalog.conf')
diff --git a/extra/mhash/PKGBUILD b/extra/mhash/PKGBUILD
index 8227d8250..732f2d0c7 100644
--- a/extra/mhash/PKGBUILD
+++ b/extra/mhash/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=mhash
pkgver=0.9.9.9
pkgrel=3
pkgdesc="A thread-safe hash library which provides a uniform interface to hash algorithms (MD5, SHA1, HAVAL, etc)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mhash.sourceforge.net/"
license=('LGPL')
depends=('glibc')
diff --git a/extra/minicom/PKGBUILD b/extra/minicom/PKGBUILD
index 948898b1b..425852d48 100644
--- a/extra/minicom/PKGBUILD
+++ b/extra/minicom/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=minicom
pkgver=2.6.2
pkgrel=1
pkgdesc="A serial communication program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://alioth.debian.org/projects/minicom/"
license=('GPL')
depends=('bash')
diff --git a/extra/mirage/PKGBUILD b/extra/mirage/PKGBUILD
index c63d6eddc..8051f73a2 100644
--- a/extra/mirage/PKGBUILD
+++ b/extra/mirage/PKGBUILD
@@ -4,12 +4,12 @@
# Contributor: Scott Horowitz <stonecrest@gmail.com>
pkgname=mirage
pkgver=0.9.5.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="A simple GTK+ Image Viewer"
url="http://mirageiv.berlios.de"
license=("GPL")
depends=('pygtk' 'desktop-file-utils')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=(http://download.berlios.de/mirageiv/${pkgname}-${pkgver}.tar.gz)
install=$pkgname.install
md5sums=('dace5cf01e5e53317ba8be0f8a74f4bf')
diff --git a/extra/miro/PKGBUILD b/extra/miro/PKGBUILD
index c84b505c4..6fe805c8a 100644
--- a/extra/miro/PKGBUILD
+++ b/extra/miro/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=miro
pkgver=6.0
pkgrel=1
pkgdesc="The free and open source internet TV platform"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.getmiro.com"
license=('GPL2')
depends=('python2-dbus' 'pyrex' 'pygtk' 'gstreamer0.10' 'python2-gconf'
diff --git a/extra/mjpegtools/PKGBUILD b/extra/mjpegtools/PKGBUILD
index a5aef669c..48a5577e3 100644
--- a/extra/mjpegtools/PKGBUILD
+++ b/extra/mjpegtools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mjpegtools
pkgver=2.0.0
pkgrel=3
pkgdesc="Set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://mjpeg.sourceforge.net/"
depends=('libjpeg' 'libpng' 'sdl' 'gcc-libs' 'libdv')
@@ -30,7 +30,7 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --enable-largefile
+ ./configure --prefix=/usr --enable-largefile CXXFLAGS="$CXXFLAGS -fpermissive"
make
}
diff --git a/extra/mkvtoolnix/PKGBUILD b/extra/mkvtoolnix/PKGBUILD
index a718bf19e..e99537856 100644
--- a/extra/mkvtoolnix/PKGBUILD
+++ b/extra/mkvtoolnix/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=mkvtoolnix
pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gtk')
pkgver=6.5.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
makedepends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk'
diff --git a/extra/moc/PKGBUILD b/extra/moc/PKGBUILD
index 5f5fe7725..0ae7bb0a1 100644
--- a/extra/moc/PKGBUILD
+++ b/extra/moc/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.5beta1
pkgrel=5
epoch=1
pkgdesc="An ncurses console audio player designed to be powerful and easy to use"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://moc.daper.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file' 'popt')
diff --git a/extra/mod_dnssd/PKGBUILD b/extra/mod_dnssd/PKGBUILD
index 52a6e65e5..ecb9d3b28 100644
--- a/extra/mod_dnssd/PKGBUILD
+++ b/extra/mod_dnssd/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=mod_dnssd
pkgver=0.6
-pkgrel=4
+pkgrel=4.1
pkgdesc="Zeroconf module for Apache2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/mod_dnssd"
license=('APACHE')
depends=('avahi' 'apache')
diff --git a/extra/mod_fcgid/PKGBUILD b/extra/mod_fcgid/PKGBUILD
index 5d643940c..8775b91c6 100644
--- a/extra/mod_fcgid/PKGBUILD
+++ b/extra/mod_fcgid/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.3.7
pkgrel=1
pkgdesc="A FastCGI module for Apache HTTP Server."
license=('APACHE')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://httpd.apache.org/mod_fcgid/"
depends=('apache')
source=("http://apache.cs.utah.edu/httpd/mod_fcgid/mod_fcgid-$pkgver.tar.gz")
diff --git a/extra/mod_perl/PKGBUILD b/extra/mod_perl/PKGBUILD
index 98635216b..65437b6f4 100644
--- a/extra/mod_perl/PKGBUILD
+++ b/extra/mod_perl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=mod_perl
pkgver=2.0.8
pkgrel=1
pkgdesc="Apache module that embeds the Perl interpreter within the server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://perl.apache.org/"
license=('APACHE')
depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
diff --git a/extra/modemmanager/PKGBUILD b/extra/modemmanager/PKGBUILD
index bed83b87c..75fe89169 100644
--- a/extra/modemmanager/PKGBUILD
+++ b/extra/modemmanager/PKGBUILD
@@ -7,7 +7,7 @@ _realname=ModemManager
pkgver=1.0.0
pkgrel=1
pkgdesc="Mobile broadband modem management service"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/ModemManager/"
license=(GPL2)
depends=(udev ppp libqmi libmbim polkit hicolor-icon-theme)
diff --git a/extra/most/PKGBUILD b/extra/most/PKGBUILD
index d716d4234..6ef97c5e2 100644
--- a/extra/most/PKGBUILD
+++ b/extra/most/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=most
pkgver=5.0.0a
pkgrel=6
pkgdesc="A terminal pager similar to 'more' and 'less'"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('slang')
license=('GPL')
url="http://www.jedsoft.org/most/index.html"
diff --git a/extra/mousepad/PKGBUILD b/extra/mousepad/PKGBUILD
index b9d704429..9757bf83b 100644
--- a/extra/mousepad/PKGBUILD
+++ b/extra/mousepad/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mousepad
pkgver=0.3.0
pkgrel=2
pkgdesc="Simple Text Editor for Xfce4 (based on Gedit)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url=('http://www.xfce.org/')
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/mousetweaks/PKGBUILD b/extra/mousetweaks/PKGBUILD
index 4f24f5319..ca56bd002 100644
--- a/extra/mousetweaks/PKGBUILD
+++ b/extra/mousetweaks/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mousetweaks
pkgver=3.10.0
pkgrel=1
pkgdesc="Mouse accessibility enhancements for the GNOME desktop"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL3' 'FDL')
depends=('libxtst' 'gtk3' 'gsettings-desktop-schemas')
makedepends=('gnome-doc-utils' 'intltool')
diff --git a/extra/mp3splt/PKGBUILD b/extra/mp3splt/PKGBUILD
index 8cd23495f..93aa0bec0 100644
--- a/extra/mp3splt/PKGBUILD
+++ b/extra/mp3splt/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mp3splt
pkgver=2.6
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Commandline tool for splitting mp3 and ogg files without decoding"
license=('GPL')
url="http://mp3splt.sourceforge.net"
diff --git a/extra/mp3wrap/PKGBUILD b/extra/mp3wrap/PKGBUILD
index bb42cbb1c..124868004 100644
--- a/extra/mp3wrap/PKGBUILD
+++ b/extra/mp3wrap/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=mp3wrap
pkgver=0.5
-pkgrel=3
+pkgrel=3.1
pkgdesc="Tool for wrapping mp3 files. A free independent alternative to AlbumWrap"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mp3wrap.sourceforge.net"
license=('LGPL')
depends=('glibc')
diff --git a/extra/mpc/PKGBUILD b/extra/mpc/PKGBUILD
index d910e28db..0367e36a3 100644
--- a/extra/mpc/PKGBUILD
+++ b/extra/mpc/PKGBUILD
@@ -11,7 +11,7 @@ pkgrel=1
pkgdesc='Minimalist command line interface to MPD'
url='http://www.musicpd.org/clients/mpc/'
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libmpdclient')
source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('d98d9d431e7bcdf9123f18f213b3a1f9a03835f7')
diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD
index 51e32b721..f180e6361 100644
--- a/extra/mpd/PKGBUILD
+++ b/extra/mpd/PKGBUILD
@@ -11,7 +11,7 @@ pkgrel=1
pkgdesc='Flexible, powerful, server-side application for playing music'
url='http://www.musicpd.org/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl')
makedepends=('doxygen')
diff --git a/extra/mpg123/PKGBUILD b/extra/mpg123/PKGBUILD
index ef557d1cc..a507a7d61 100644
--- a/extra/mpg123/PKGBUILD
+++ b/extra/mpg123/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mpg123
pkgver=1.16.0
pkgrel=1
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/mpg123"
license=('LGPL2.1')
depends=('libltdl' 'alsa-lib')
diff --git a/extra/msmtp/PKGBUILD b/extra/msmtp/PKGBUILD
index 095539f20..7fc242493 100644
--- a/extra/msmtp/PKGBUILD
+++ b/extra/msmtp/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=msmtp
pkgname=('msmtp' 'msmtp-mta')
pkgver=1.4.31
pkgrel=4
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://msmtp.sourceforge.net"
makedepends=('texlive-plainextra' 'gsasl' 'libgnome-keyring')
diff --git a/extra/mtdev/PKGBUILD b/extra/mtdev/PKGBUILD
index ef5b96abc..17370aca9 100644
--- a/extra/mtdev/PKGBUILD
+++ b/extra/mtdev/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mtdev
pkgver=1.1.4
pkgrel=1
pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://bitmath.org/code/mtdev/"
license=('custom:MIT')
depends=('glibc')
diff --git a/extra/mtools/PKGBUILD b/extra/mtools/PKGBUILD
index 0349e3124..4e1d80f8d 100644
--- a/extra/mtools/PKGBUILD
+++ b/extra/mtools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mtools
pkgver=4.0.18
pkgrel=1
pkgdesc="A collection of utilities to access MS-DOS disks"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/mtools/"
license=('GPL')
depends=('sh')
diff --git a/extra/mtr/PKGBUILD b/extra/mtr/PKGBUILD
index cd6970bfe..11f434603 100644
--- a/extra/mtr/PKGBUILD
+++ b/extra/mtr/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=mtr
pkgname=(mtr mtr-gtk)
pkgver=0.85
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
makedepends=('ncurses' 'gtk2')
source=(ftp://ftp.bitwizard.nl/mtr/$pkgbase-$pkgver.tar.gz)
diff --git a/extra/muparser/PKGBUILD b/extra/muparser/PKGBUILD
index fa5ef53dc..43d2aa26f 100644
--- a/extra/muparser/PKGBUILD
+++ b/extra/muparser/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=muparser
pkgver=2.2.3
pkgrel=1
pkgdesc="A fast math parser library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://muparser.sourceforge.net/"
depends=('gcc-libs')
license=('custom')
diff --git a/extra/musicbrainz/PKGBUILD b/extra/musicbrainz/PKGBUILD
index 78e3c1893..a367e09e7 100644
--- a/extra/musicbrainz/PKGBUILD
+++ b/extra/musicbrainz/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=musicbrainz
pkgver=2.1.5
pkgrel=6
pkgdesc="The second generation incarnation of the CD Index"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.musicbrainz.org"
license=('LGPL')
depends=('expat>=2.0' 'gcc-libs')
diff --git a/extra/mutt/PKGBUILD b/extra/mutt/PKGBUILD
index fc944975f..6ceef05d2 100644
--- a/extra/mutt/PKGBUILD
+++ b/extra/mutt/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc='Small but very powerful text-based mail client'
url='http://www.mutt.org/'
license=('GPL')
backup=('etc/Muttrc')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
optdepends=('smtp-forwarder: to send mail')
depends=('gpgme' 'ncurses' 'openssl' 'libsasl' 'gdbm' 'libidn' 'mime-types' 'krb5')
source=("ftp://ftp.mutt.org/mutt/devel/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/mutter/PKGBUILD b/extra/mutter/PKGBUILD
index bee485edb..27b5d4955 100644
--- a/extra/mutter/PKGBUILD
+++ b/extra/mutter/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=mutter
pkgver=3.10.1.1
pkgrel=1
pkgdesc="A window manager for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
depends=('clutter' 'dconf' 'gobject-introspection' 'gsettings-desktop-schemas' 'libcanberra' 'startup-notification' 'zenity' 'libsm' 'gnome-desktop' 'upower')
makedepends=('intltool' 'gnome-doc-utils')
diff --git a/extra/mysql-python/PKGBUILD b/extra/mysql-python/PKGBUILD
index 63b2e43e4..0824d5c9a 100644
--- a/extra/mysql-python/PKGBUILD
+++ b/extra/mysql-python/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mysql-python
pkgver=1.2.4
pkgrel=2
pkgdesc="MySQL support for Python"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://mysql-python.sourceforge.net/"
license=('GPL2')
depends=('python2' 'libmariadbclient')
diff --git a/extra/naim/PKGBUILD b/extra/naim/PKGBUILD
index d09e33ed7..c0ca74303 100644
--- a/extra/naim/PKGBUILD
+++ b/extra/naim/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=naim
pkgver=0.11.8.3.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="An ncurses AOL Instant Messenger and IRC client."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://naim.n.ml.org"
depends=('ncurses')
diff --git a/extra/nautilus-open-terminal/PKGBUILD b/extra/nautilus-open-terminal/PKGBUILD
index 917e75100..603a05c35 100644
--- a/extra/nautilus-open-terminal/PKGBUILD
+++ b/extra/nautilus-open-terminal/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nautilus-open-terminal
pkgver=0.20
pkgrel=1
pkgdesc="A nautilus plugin for opening terminals in arbitrary local paths"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal"
license=('GPL')
depends=('nautilus' 'gconf')
diff --git a/extra/nautilus-sendto/PKGBUILD b/extra/nautilus-sendto/PKGBUILD
index 30a118fb0..eba6067de 100644
--- a/extra/nautilus-sendto/PKGBUILD
+++ b/extra/nautilus-sendto/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=nautilus-sendto
pkgver=3.8.1
pkgrel=1
pkgdesc="Nautilus context menu for sending files."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://download.gnome.org/sources/nautilus-sendto/"
license=(GPL)
depends=(glib2)
diff --git a/extra/nautilus/PKGBUILD b/extra/nautilus/PKGBUILD
index 2073e625e..ee035d389 100644
--- a/extra/nautilus/PKGBUILD
+++ b/extra/nautilus/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(nautilus libnautilus-extension)
pkgver=3.10.1
pkgrel=1
pkgdesc="GNOME file manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
depends=(libexif gnome-desktop exempi gvfs desktop-file-utils gnome-icon-theme dconf
libtracker-sparql libnotify nautilus-sendto)
diff --git a/extra/nawk/PKGBUILD b/extra/nawk/PKGBUILD
index cafb30750..a3b760125 100644
--- a/extra/nawk/PKGBUILD
+++ b/extra/nawk/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="The one, true implementation of AWK"
url="http://cm.bell-labs.com/who/bwk/"
license=('MIT')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!makeflags')
depends=('glibc')
source=("$pkgname-$pkgver.tar.gz::http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz"
diff --git a/extra/ncftp/PKGBUILD b/extra/ncftp/PKGBUILD
index 2b1189ee0..6dc6f19a4 100644
--- a/extra/ncftp/PKGBUILD
+++ b/extra/ncftp/PKGBUILD
@@ -6,10 +6,10 @@
pkgname=ncftp
pkgver=3.2.5
-pkgrel=2
+pkgrel=2.1
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('ncurses')
source=("ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.bz2")
@@ -32,3 +32,4 @@ package() {
install -Dm644 doc/LICENSE.txt \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
+md5sums=('b05c7a6d5269c04891f02f43d4312b30')
diff --git a/extra/ncmpc/PKGBUILD b/extra/ncmpc/PKGBUILD
index 6759227fa..842ca76de 100644
--- a/extra/ncmpc/PKGBUILD
+++ b/extra/ncmpc/PKGBUILD
@@ -10,7 +10,7 @@ pkgver=0.21
pkgrel=1
pkgdesc='Fully featured MPD client using ncurses'
url='http://www.musicpd.org/clients/ncmpc/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('ncurses' 'glib2' 'libmpdclient')
optdepends=('python2: to enable lyrics plugin'
diff --git a/extra/nedit/PKGBUILD b/extra/nedit/PKGBUILD
index 90e40764f..2dffb2fb8 100644
--- a/extra/nedit/PKGBUILD
+++ b/extra/nedit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=nedit
pkgver=5.5
pkgrel=7
pkgdesc="A Unix text editor for programmers and general users"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nedit.org/"
license=('GPL')
depends=('lesstif' 'libxpm')
diff --git a/extra/neon/PKGBUILD b/extra/neon/PKGBUILD
index d34c081e9..765feccaa 100644
--- a/extra/neon/PKGBUILD
+++ b/extra/neon/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=neon
pkgver=0.30.0
pkgrel=1
pkgdesc="HTTP and WebDAV client library with a C interface"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.webdav.org/neon/"
license=('GPL' 'LGPL')
depends=('krb5' 'expat' 'ca-certificates')
diff --git a/extra/nepomuk-core/PKGBUILD b/extra/nepomuk-core/PKGBUILD
index e6c31a9a0..9ff6922fb 100644
--- a/extra/nepomuk-core/PKGBUILD
+++ b/extra/nepomuk-core/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="Contains the central Nepomuk services like file indexing, file system monitoring, query, storage, client libraries"
url="https://projects.kde.org/projects/kde/kdelibs/nepomuk-core"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'poppler-qt' 'taglib' 'ffmpeg' 'ebook-tools')
makedepends=('cmake' 'automoc4' 'doxygen')
diff --git a/extra/nepomuk-widgets/PKGBUILD b/extra/nepomuk-widgets/PKGBUILD
index 721228c27..463bbfabb 100644
--- a/extra/nepomuk-widgets/PKGBUILD
+++ b/extra/nepomuk-widgets/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.11.3
pkgrel=1
pkgdesc="The Library containing the Nepomuk Widgets"
url="https://projects.kde.org/projects/kde/kdelibs/nepomuk-widgets"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('nepomuk-core')
makedepends=('cmake' 'automoc4')
diff --git a/extra/net-snmp/PKGBUILD b/extra/net-snmp/PKGBUILD
index 4e003ed5a..c7e20e779 100644
--- a/extra/net-snmp/PKGBUILD
+++ b/extra/net-snmp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=net-snmp
pkgver=5.7.2
pkgrel=8
pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.net-snmp.org/"
license=('BSD')
depends=('openssl' 'libnl' 'pciutils')
diff --git a/extra/netcdf-cxx/PKGBUILD b/extra/netcdf-cxx/PKGBUILD
index 49e59d2b2..d4fa61d24 100644
--- a/extra/netcdf-cxx/PKGBUILD
+++ b/extra/netcdf-cxx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=netcdf-cxx
pkgver=4.2
pkgrel=1
pkgdesc="NetCDF c++ bindings"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" "mips64el")
url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-cxx/index.jsp"
depends=('gcc-libs' 'netcdf' 'curl')
options=('!makeflags')
diff --git a/extra/netcdf-fortran/PKGBUILD b/extra/netcdf-fortran/PKGBUILD
index 0d969cd73..ac405d877 100644
--- a/extra/netcdf-fortran/PKGBUILD
+++ b/extra/netcdf-fortran/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=netcdf-fortran
pkgver=4.2
pkgrel=1
pkgdesc="NetCDF fortran bindings"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" "mips64el")
url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-fortran/index.jsp"
depends=('gcc-libs' 'netcdf' 'curl' 'gcc-fortran')
options=('!makeflags')
diff --git a/extra/netcdf/PKGBUILD b/extra/netcdf/PKGBUILD
index 47b4b1dd4..6454ab5d6 100644
--- a/extra/netcdf/PKGBUILD
+++ b/extra/netcdf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=netcdf
pkgver=4.3.0
pkgrel=1
pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://www.unidata.ucar.edu/downloads/netcdf/index.jsp"
depends=('gcc-libs' 'hdf5' 'curl')
optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings')
diff --git a/extra/netkit-bsd-finger/PKGBUILD b/extra/netkit-bsd-finger/PKGBUILD
index 767e8b77d..ae56aeda5 100644
--- a/extra/netkit-bsd-finger/PKGBUILD
+++ b/extra/netkit-bsd-finger/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=netkit-bsd-finger
pkgver=0.17
pkgrel=8
pkgdesc="BSD-finger ported to Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='ftp://ftp.uk.linux.org/pub/linux/Networking/netkit'
license=('BSD')
depends=('glibc' 'xinetd')
diff --git a/extra/netpbm/PKGBUILD b/extra/netpbm/PKGBUILD
index 39675625b..d2804b774 100644
--- a/extra/netpbm/PKGBUILD
+++ b/extra/netpbm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=netpbm
pkgver=10.61.02
pkgrel=3
pkgdesc="A toolkit for manipulation of graphic images"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom' 'BSD' 'GPL' 'LGPL')
url="http://netpbm.sourceforge.net/"
depends=('perl' 'libpng' 'libtiff' 'libxml2')
@@ -43,7 +43,7 @@ prepare() {
sed -i 's|@python|@python2|' buildtools/manpage.mk
cp config.mk.in config.mk
- [ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
+ [ "${CARCH}" != 'i686' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
echo "NETPBM_DOCURL = file://${srcdir}/doc" >> config.mk
echo 'TIFFLIB = libtiff.so' >> config.mk
echo 'JPEGLIB = libjpeg.so' >> config.mk
diff --git a/extra/nettle/PKGBUILD b/extra/nettle/PKGBUILD
index cdeec201d..f8fad946a 100644
--- a/extra/nettle/PKGBUILD
+++ b/extra/nettle/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nettle
pkgver=2.7.1
pkgrel=1
pkgdesc="A low-level cryptographic library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lysator.liu.se/~nisse/nettle/"
license=('GPL2')
install=$pkgname.install
diff --git a/extra/network-manager-applet/PKGBUILD b/extra/network-manager-applet/PKGBUILD
index d39602a7a..12a464bb6 100644
--- a/extra/network-manager-applet/PKGBUILD
+++ b/extra/network-manager-applet/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=network-manager-applet
pkgver=0.9.8.4
pkgrel=2
pkgdesc="GNOME frontends to NetWorkmanager"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
url="http://www.gnome.org/projects/NetworkManager/"
depends=("networkmanager>=${pkgver%.*}" libsecret gtk3 libnotify
diff --git a/extra/networkmanager-openconnect/PKGBUILD b/extra/networkmanager-openconnect/PKGBUILD
index 2e6348c5e..8f2e74594 100644
--- a/extra/networkmanager-openconnect/PKGBUILD
+++ b/extra/networkmanager-openconnect/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-openconnect
pkgver=0.9.8.4
pkgrel=1
pkgdesc="NetworkManager VPN integration for openconnect"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
depends=("networkmanager>=${pkgver::5}" 'openconnect' 'libgnome-keyring' 'gtk3')
diff --git a/extra/networkmanager-openvpn/PKGBUILD b/extra/networkmanager-openvpn/PKGBUILD
index c8f8ac463..7e5053f4c 100644
--- a/extra/networkmanager-openvpn/PKGBUILD
+++ b/extra/networkmanager-openvpn/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-openvpn
pkgver=0.9.8.4
pkgrel=1
pkgdesc="NetworkManager VPN plugin for OpenVPN"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
depends=("networkmanager>=${pkgver}" 'openvpn' 'gtk3' 'libgnome-keyring')
@@ -20,7 +20,7 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/networkmanager \
- --disable-static
+ --disable-static --disable-more-warnings
make
}
diff --git a/extra/networkmanager-pptp/PKGBUILD b/extra/networkmanager-pptp/PKGBUILD
index c8d0013f4..b470408fd 100644
--- a/extra/networkmanager-pptp/PKGBUILD
+++ b/extra/networkmanager-pptp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-pptp
pkgver=0.9.8.4
pkgrel=1
pkgdesc="NetworkManager VPN plugin for pptp "
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
depends=("networkmanager>=${pkgver}" 'pptpclient' 'gtk3' 'libgnome-keyring')
diff --git a/extra/networkmanager-vpnc/PKGBUILD b/extra/networkmanager-vpnc/PKGBUILD
index 4f619af60..73cf23210 100644
--- a/extra/networkmanager-vpnc/PKGBUILD
+++ b/extra/networkmanager-vpnc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-vpnc
pkgver=0.9.8.6
pkgrel=1
pkgdesc="NetworkManager VPN plugin for vpnc"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
depends=("networkmanager>=${pkgver%.*}" 'vpnc' 'hicolor-icon-theme' 'gtk3' 'libgnome-keyring')
@@ -20,7 +20,7 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib/networkmanager \
- --disable-static
+ --disable-static --disable-more-warnings
make
}
diff --git a/extra/networkmanager/PKGBUILD b/extra/networkmanager/PKGBUILD
index 7e7cd7825..4265462e1 100644
--- a/extra/networkmanager/PKGBUILD
+++ b/extra/networkmanager/PKGBUILD
@@ -11,7 +11,7 @@ _pkgname=NetworkManager
pkgver=0.9.8.8
pkgrel=1
pkgdesc="Network Management daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/$_pkgname/"
depends=(dbus-glib iproute2 libnl nss polkit udev wpa_supplicant dhcp-client
diff --git a/extra/neverball/PKGBUILD b/extra/neverball/PKGBUILD
index f0ad79476..9c0612f0f 100644
--- a/extra/neverball/PKGBUILD
+++ b/extra/neverball/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=neverball
pkgver=1.5.4
pkgrel=6
pkgdesc="3D game similar to Super Monkey Ball or Marble Madness"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://neverball.org/"
license=('GPL')
depends=('sdl_ttf' 'libgl' 'libpng' 'libjpeg' 'libvorbis' 'physfs' \
diff --git a/extra/nitrogen/PKGBUILD b/extra/nitrogen/PKGBUILD
index 3a3ddac95..ae6a2f81b 100644
--- a/extra/nitrogen/PKGBUILD
+++ b/extra/nitrogen/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=nitrogen
pkgver=1.5.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Background browser and setter for X windows"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.l3ib.org/nitrogen/"
license=('GPL')
depends=('gtkmm' 'hicolor-icon-theme' 'librsvg')
@@ -18,7 +18,7 @@ md5sums=('dd779a252a222eb9d329d74b809cfe73')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
- make
+ make LDADD="-lX11"
}
package() {
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD
index 2b785b28f..cf32cab3d 100644
--- a/extra/nmap/PKGBUILD
+++ b/extra/nmap/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=6.40
pkgrel=1
pkgdesc='Utility for network discovery and security auditing'
url='http://nmap.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
makedepends=('pygtk')
optdepends=('pygtk: zenmap'
diff --git a/extra/nspr/PKGBUILD b/extra/nspr/PKGBUILD
index b62904898..f9db70957 100644
--- a/extra/nspr/PKGBUILD
+++ b/extra/nspr/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nspr
pkgver=4.10.1
pkgrel=2
pkgdesc="Netscape Portable Runtime"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.mozilla.org/projects/nspr/"
license=('MPL' 'GPL')
depends=('glibc')
diff --git a/extra/nss-mdns/PKGBUILD b/extra/nss-mdns/PKGBUILD
index 6747d103a..7fd2ed400 100644
--- a/extra/nss-mdns/PKGBUILD
+++ b/extra/nss-mdns/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=nss-mdns
pkgver=0.10
-pkgrel=5
+pkgrel=5.1
pkgdesc="glibc plugin providing host name resolution via mDNS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/nss-mdns/"
license=('LGPL')
depends=('glibc')
diff --git a/extra/nss/PKGBUILD b/extra/nss/PKGBUILD
index c572b2595..cac42649f 100644
--- a/extra/nss/PKGBUILD
+++ b/extra/nss/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=nss
pkgver=3.15.2
pkgrel=1
pkgdesc="Mozilla Network Security Services"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.mozilla.org/projects/security/pki/nss/"
license=('MPL' 'GPL')
_nsprver=4.10
diff --git a/extra/nss_ldap/PKGBUILD b/extra/nss_ldap/PKGBUILD
index e702b98e8..28ad9366f 100644
--- a/extra/nss_ldap/PKGBUILD
+++ b/extra/nss_ldap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nss_ldap
pkgver=265
pkgrel=4
pkgdesc="The nss_ldap module provides the means for Linux and Solaris workstations to resolve the entities defined in RFC 2307 from LDAP directories."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.padl.com/OSS/nss_ldap.html"
license=('LGPL')
depends=('libldap' 'krb5')
@@ -17,6 +17,7 @@ md5sums=('c1cb02d1a85538cf16bca6f6a562abe4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
+ --build=$CHOST --host=$CHOST \
--prefix=/usr \
--with-ldap-conf-file=/etc/nss_ldap.conf \
--with-ldap=openldap \
diff --git a/extra/ntfs-3g_ntfsprogs/PKGBUILD b/extra/ntfs-3g_ntfsprogs/PKGBUILD
index d329507db..143450341 100644
--- a/extra/ntfs-3g_ntfsprogs/PKGBUILD
+++ b/extra/ntfs-3g_ntfsprogs/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=ntfs-3g
pkgver=2013.1.13
pkgrel=4
pkgdesc="NTFS filesystem utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.tuxera.com/community/ntfs-3g-download/"
license=('GPL2')
depends=('util-linux' 'fuse')
diff --git a/extra/ntp/PKGBUILD b/extra/ntp/PKGBUILD
index 4259a905c..3fc20f5b8 100644
--- a/extra/ntp/PKGBUILD
+++ b/extra/ntp/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=17
pkgdesc='Network Time Protocol reference implementation'
url='http://www.ntp.org/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('perl-html-parser')
depends=('openssl' 'libcap' 'libedit')
backup=('etc/ntp.conf')
diff --git a/extra/numactl/PKGBUILD b/extra/numactl/PKGBUILD
index 9b41941a9..79086d802 100644
--- a/extra/numactl/PKGBUILD
+++ b/extra/numactl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=numactl
pkgver=2.0.9
pkgrel=1
pkgdesc="Simple NUMA policy support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://oss.sgi.com/projects/libnuma/"
license=('LGPL2.1' 'GPL2')
depends=('perl')
diff --git a/extra/nx/PKGBUILD b/extra/nx/PKGBUILD
index 62b4b9230..be5daae47 100644
--- a/extra/nx/PKGBUILD
+++ b/extra/nx/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=nx
pkgname=('libxcomp' 'nxproxy' 'nx-x11' 'nx-xcompext' 'nxagent' 'x2go-agent' 'nx-headers')
pkgver=3.5.0.21
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wiki.x2go.org/"
license=('GPL')
#options=('!makeflags') # '!strip')
diff --git a/extra/obex-data-server/PKGBUILD b/extra/obex-data-server/PKGBUILD
index ae9838362..56f7224e8 100644
--- a/extra/obex-data-server/PKGBUILD
+++ b/extra/obex-data-server/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=obex-data-server
pkgver=0.4.6
pkgrel=8
pkgdesc="A D-Bus service providing high-level OBEX client and server side functionality"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wiki.muiline.com/obex-data-server"
license=('GPL')
depends=('dbus-glib' 'openobex' 'imagemagick' 'libusb-compat')
diff --git a/extra/obexd/PKGBUILD b/extra/obexd/PKGBUILD
index 5aff3897e..083752d7c 100644
--- a/extra/obexd/PKGBUILD
+++ b/extra/obexd/PKGBUILD
@@ -8,7 +8,7 @@ epoch=1
pkgver=0.46
pkgrel=2
url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
makedepends=('bluez4' 'bluez-libs' 'libical' 'glib2')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgbase}-${pkgver}.tar.bz2")
diff --git a/extra/obexftp/PKGBUILD b/extra/obexftp/PKGBUILD
index fc5dfcf19..43a9b8842 100644
--- a/extra/obexftp/PKGBUILD
+++ b/extra/obexftp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=obexftp
pkgver=0.24
pkgrel=1
pkgdesc="A tool for transfer files to/from any OBEX enabled device"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp"
license=('GPL')
depends=('openobex')
diff --git a/extra/ocaml/PKGBUILD b/extra/ocaml/PKGBUILD
index d097464e6..a4cd361d0 100644
--- a/extra/ocaml/PKGBUILD
+++ b/extra/ocaml/PKGBUILD
@@ -2,23 +2,31 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgbase='ocaml'
-pkgname=('ocaml' 'ocaml-compiler-libs')
+pkgname=('ocaml')
+# Needs optimized build.
+[ "$CARCH" = "mips64el" ] || pkgname+=('ocaml-compiler-libs')
pkgver=4.01.0
pkgrel=3
pkgdesc="A functional language with OO extensions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1' 'custom: QPL-1.0')
url="http://caml.inria.fr/"
depends=('gdbm')
makedepends=('tk>=8.6.0' 'ncurses>=5.6-7' 'libx11')
optdepends=('ncurses: advanced ncurses features' 'tk: advanced tk features')
-source=(http://caml.inria.fr/distrib/ocaml-4.01/${pkgname}-${pkgver}.tar.gz)
+source=(http://caml.inria.fr/distrib/ocaml-4.01/${pkgname}-${pkgver}.tar.gz
+ fix-caml_int64_float_of_bits-n32.patch)
options=('!makeflags' '!emptydirs' 'staticlibs')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/fix-caml_int64_float_of_bits-n32.patch"
./configure -prefix /usr -x11include /usr/include
- make world.opt
+ if [ "${CARCH}" == "mips64el" ] ; then
+ make world
+ else
+ make world.opt
+ fi
}
package_ocaml() {
@@ -54,4 +62,5 @@ optdepends=()
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}
-md5sums=('04dfdd7da189462a4f10ec6530359cef')
+md5sums=('04dfdd7da189462a4f10ec6530359cef'
+ 'e2c8bc316efe40532c5b9d7f9a1d8d62')
diff --git a/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch b/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch
new file mode 100644
index 000000000..98755d30b
--- /dev/null
+++ b/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch
@@ -0,0 +1,12 @@
+--- ocaml-3.12.0.orig/byterun/ints.c 2011-06-25 18:03:21.548733206 +0200
++++ ocaml-3.12.0/byterun/ints.c 2011-06-25 22:34:17.304788306 +0200
+@@ -585,6 +585,9 @@
+ return caml_copy_int64(u.i);
+ }
+
++#ifdef _ABIN32
++__attribute__((optimize(0)))
++#endif
+ CAMLprim value caml_int64_float_of_bits(value vi)
+ {
+ union { double d; int64 i; int32 h[2]; } u;
diff --git a/extra/ocrad/PKGBUILD b/extra/ocrad/PKGBUILD
index 90456409a..9bf2bef38 100644
--- a/extra/ocrad/PKGBUILD
+++ b/extra/ocrad/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ocrad
pkgver=0.22
pkgrel=1
pkgdesc="An Optical Character Recognition program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/ocrad/ocrad.html"
license=('GPL3')
depends=('gcc-libs' 'texinfo')
diff --git a/extra/octave/PKGBUILD b/extra/octave/PKGBUILD
index 30e2a80cd..b1ca44a0d 100644
--- a/extra/octave/PKGBUILD
+++ b/extra/octave/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=octave
pkgver=3.6.4
pkgrel=4
pkgdesc="A high-level language, primarily intended for numerical computations."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.octave.org"
license=('GPL')
depends=('fftw' 'curl' 'graphicsmagick' 'glpk' 'hdf5' 'qhull' 'fltk' 'suitesparse' 'arpack')
diff --git a/extra/ode/PKGBUILD b/extra/ode/PKGBUILD
index 4dc76a8e2..ed1abb91b 100644
--- a/extra/ode/PKGBUILD
+++ b/extra/ode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ode
pkgver=0.12
pkgrel=4
pkgdesc="An open source, high performance library for simulating rigid body dynamics"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ode.org"
license=('LGPL' 'BSD')
depends=('gcc-libs' 'bash')
diff --git a/extra/ogmtools/PKGBUILD b/extra/ogmtools/PKGBUILD
index 680260b06..447447cb8 100644
--- a/extra/ogmtools/PKGBUILD
+++ b/extra/ogmtools/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=ogmtools
pkgver=1.5
-pkgrel=4
+pkgrel=4.1
pkgdesc="Information, extraction or creation for OGG media streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.bunkus.org/videotools/ogmtools"
license=('GPL')
depends=('libvorbis' 'libdvdread' 'gcc-libs')
diff --git a/extra/opal/PKGBUILD b/extra/opal/PKGBUILD
index 47a4e7efe..c990b95df 100644
--- a/extra/opal/PKGBUILD
+++ b/extra/opal/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=opal
pkgver=3.10.11
pkgrel=1
pkgdesc="Open Phone Abstraction Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.opalvoip.org"
license=(GPL)
depends=(ptlib libtheora x264 speex gsm celt)
diff --git a/extra/openal/PKGBUILD b/extra/openal/PKGBUILD
index 5df7b91f9..fd465c6ee 100644
--- a/extra/openal/PKGBUILD
+++ b/extra/openal/PKGBUILD
@@ -5,18 +5,23 @@
pkgname=openal
pkgver=1.15.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="A cross-platform 3D audio library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.openal.org/"
license=(LGPL)
depends=(glibc)
makedepends=(alsa-lib sdl pkgconfig cmake libpulse)
-source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$pkgver.tar.bz2)
-md5sums=('ea83dec3b9655a27d28e7bc7cae9cd71')
+source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$pkgver.tar.bz2
+ fpu.patch)
+md5sums=('ea83dec3b9655a27d28e7bc7cae9cd71'
+ '902d3f0e6cb16584f2b21d65235c3168')
build() {
- cd $pkgname-soft-$pkgver/build
+ # patch coming from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666963
+ cd $srcdir/$pkgname-soft-$pkgver
+ patch -Np1 -i "$srcdir/fpu.patch"
+ cd $srcdir/$pkgname-soft-$pkgver/build
cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ..
make
}
diff --git a/extra/openal/fpu.patch b/extra/openal/fpu.patch
new file mode 100644
index 000000000..9579e30ab
--- /dev/null
+++ b/extra/openal/fpu.patch
@@ -0,0 +1,57 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ openal-soft (1:1.14-1.1) unstable; urgency=low
+ .
+ * Non-maintainer upload.
+Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- openal-soft-1.14.orig/OpenAL32/Include/alu.h
++++ openal-soft-1.14/OpenAL32/Include/alu.h
+@@ -224,6 +224,29 @@ static __inline ALfloat cubic(ALfloat va
+ return a0*mu*mu2 + a1*mu2 + a2*mu + a3;
+ }
+
++#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
++ #ifndef _FPU_EXTENDED
++ #define _FPU_EXTENDED 0
++ #endif
++ #ifndef _FPU_DOUBLE
++ #define _FPU_DOUBLE 0
++ #endif
++ #ifndef _FPU_SINGLE
++ #define _FPU_SINGLE 0
++ #endif
++ #ifndef _FPU_RC_NEAREST
++ #define _FPU_RC_NEAREST 0
++ #endif
++ #ifndef _FPU_RC_DOWN
++ #define _FPU_RC_DOWN 0
++ #endif
++ #ifndef _FPU_RC_UP
++ #define _FPU_RC_UP 0
++ #endif
++ #ifndef _FPU_RC_ZERO
++ #define _FPU_RC_ZERO 0
++ #endif
++#endif
+
+ static __inline int SetMixerFPUMode(void)
+ {
diff --git a/extra/openbabel/PKGBUILD b/extra/openbabel/PKGBUILD
index bfa2c97c1..c64c44fc4 100644
--- a/extra/openbabel/PKGBUILD
+++ b/extra/openbabel/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=openbabel
pkgver=2.3.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="A library designed to interconvert between many file formats used in molecular modeling and computational chemistry"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://openbabel.org/wiki/Main_Page"
license=('GPL')
depends=('gcc-libs' 'libxml2')
diff --git a/extra/openconnect/PKGBUILD b/extra/openconnect/PKGBUILD
index 4e684ade9..f4c108fe7 100644
--- a/extra/openconnect/PKGBUILD
+++ b/extra/openconnect/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=5.01
pkgrel=1
epoch=1
pkgdesc="Open client for Cisco AnyConnect VPN"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.infradead.org/openconnect.html"
depends=('libxml2' 'gnutls' 'libproxy' 'vpnc')
diff --git a/extra/opencore-amr/PKGBUILD b/extra/opencore-amr/PKGBUILD
index 0b29120e1..ca124748a 100644
--- a/extra/opencore-amr/PKGBUILD
+++ b/extra/opencore-amr/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=opencore-amr
pkgver=0.1.3
-pkgrel=1
+pkgrel=1.1
pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
url="http://opencore-amr.sourceforge.net/"
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD
index c2c60c5a9..ac07b0dcf 100644
--- a/extra/opencv/PKGBUILD
+++ b/extra/opencv/PKGBUILD
@@ -8,16 +8,20 @@ _realname=OpenCV
pkgver=2.4.6.1
pkgrel=3
pkgdesc="Open Source Computer Vision Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
url="http://opencv.org/"
-depends=('jasper' 'gstreamer0.10-base' 'intel-tbb' 'libcl'
+depends=('jasper' 'gstreamer0.10-base'
'xine-lib' 'libdc1394' 'openexr' 'gtkglext')
makedepends=('cmake' 'python2-numpy' 'mesa'
- 'opencl-headers' 'eigen2')
+ 'eigen2')
optdepends=('opencv-samples'
'eigen2'
'python2-numpy: Python 2.x interface')
+if [ "$CARCH" != "mips64el" ]; then
+ depends+=('intel-tbb' 'libcl')
+ makedepends+=('opencl-headers')
+fi
source=("http://downloads.sourceforge.net/opencvlibrary/$pkgname-$pkgver.tar.gz"
'pkgconfig.patch'
'fsh.patch'
@@ -27,9 +31,14 @@ md5sums=('d756bfa460891697571d5c90050e1cfe'
'35256e3ccace373feba8131d1540a0de'
'0dd6572405adc2387ded4c95be0f189c')
-_cmakeopts=('-D WITH_OPENCL=ON'
+if [ "$CARCH" != "mips64el" ]; then
+ _cmakeopts=('-D WITH_OPENCL=ON'
+ '-D WITH_TBB=ON')
+else
+ _cmakeopts=()
+fi
+_cmakeopts+=(
'-D WITH_OPENGL=ON'
- '-D WITH_TBB=ON'
'-D WITH_XINE=ON'
'-D BUILD_WITH_DEBUG_INFO=OFF'
'-D BUILD_TESTS=OFF'
diff --git a/extra/opengtl/PKGBUILD b/extra/opengtl/PKGBUILD
index 8d4402ab9..ef2ca5730 100644
--- a/extra/opengtl/PKGBUILD
+++ b/extra/opengtl/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.9.18
pkgrel=3
pkgdesc="A set of libraries for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
url="http://www.opengtl.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gcc-libs' 'llvm-libs')
makedepends=('cmake' 'libpng' 'llvm')
diff --git a/extra/openjpeg/PKGBUILD b/extra/openjpeg/PKGBUILD
index a54d97558..b3f6407b3 100644
--- a/extra/openjpeg/PKGBUILD
+++ b/extra/openjpeg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=openjpeg
pkgver=1.5.1
pkgrel=1
pkgdesc="An open source JPEG 2000 codec"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('BSD')
url="http://www.openjpeg.org"
depends=('zlib')
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD
index 5c4ba5d9d..bcb38238a 100644
--- a/extra/openmpi/PKGBUILD
+++ b/extra/openmpi/PKGBUILD
@@ -4,10 +4,11 @@ pkgname=openmpi
pkgver=1.6.5
pkgrel=1
pkgdesc="High performance message passing library (MPI)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.open-mpi.org"
license=('custom')
-depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
+depends=('gcc-fortran' 'openssh' 'libltdl' 'hwloc')
+[ "$CARCH" = "mips64el" ] || depends+=('valgrind')
makedepends=('inetutils')
options=('staticlibs')
source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2)
@@ -16,6 +17,11 @@ sha1sums=('93859d515b33dd9a0ee6081db285a2d1dffe21ce')
build() {
cd ${pkgname}-${pkgver}
+ if [ "$CARCH" = "mips64el" ]; then
+ valgrind="--without-valgrind --disable-memchecker"
+ else
+ valgrind="--with-valgrind --enable-memchecker"
+ fi
# Make sure we use the system ltdl library rather than the ones in the tarball
rm -r opal/libltdl
@@ -25,8 +31,7 @@ build() {
--libdir=/usr/lib/${pkgname} \
--with-threads=posix \
--enable-smp-locks \
- --with-valgrind \
- --enable-memchecker \
+ $valgrind \
--enable-debug \
--enable-pretty-print-stacktrace \
--without-slurm \
diff --git a/extra/openobex/PKGBUILD b/extra/openobex/PKGBUILD
index 32241ad96..5d153c9bc 100644
--- a/extra/openobex/PKGBUILD
+++ b/extra/openobex/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.7
pkgrel=6
pkgdesc="Implementation of the OBject EXchange (OBEX) protocol"
url="http://dev.zuckschwerdt.org/openobex/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
depends=('libusbx' 'bluez-libs')
makedepends=('cmake')
diff --git a/extra/openslp/PKGBUILD b/extra/openslp/PKGBUILD
index d1008b8a3..07c8390b7 100644
--- a/extra/openslp/PKGBUILD
+++ b/extra/openslp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=openslp
pkgver=1.2.1
pkgrel=7
pkgdesc="Open-source implementation of Service Location Protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.openslp.org"
license=('BSD')
depends=('bash' 'openssl')
diff --git a/extra/opensp/PKGBUILD b/extra/opensp/PKGBUILD
index 473455242..8fe6e0c53 100644
--- a/extra/opensp/PKGBUILD
+++ b/extra/opensp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=opensp
pkgver=1.5.2
pkgrel=4
pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://openjade.sourceforge.net/"
license=('BSD')
depends=('gcc-libs')
diff --git a/extra/opus/PKGBUILD b/extra/opus/PKGBUILD
index af7686b50..66dd97e39 100644
--- a/extra/opus/PKGBUILD
+++ b/extra/opus/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=opus
pkgver=1.0.3
pkgrel=2
pkgdesc="Codec designed for interactive speech and audio transmission over the Internet"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.opus-codec.org/"
license=(BSD)
depends=(glibc)
diff --git a/extra/orage/PKGBUILD b/extra/orage/PKGBUILD
index c68e05b1e..3934c60a3 100644
--- a/extra/orage/PKGBUILD
+++ b/extra/orage/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=orage
pkgver=4.8.4
pkgrel=2
pkgdesc="A simple calendar application with reminders for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/projects/orage/"
groups=('xfce4-goodies')
diff --git a/extra/orbit2/PKGBUILD b/extra/orbit2/PKGBUILD
index 6fc2245a3..5836a6901 100644
--- a/extra/orbit2/PKGBUILD
+++ b/extra/orbit2/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=orbit2
pkgver=2.14.19
-pkgrel=2
+pkgrel=2.1
pkgdesc="Thin/fast CORBA ORB"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'GPL')
depends=('libidl2')
options=('!makeflags' 'staticlibs')
diff --git a/extra/orc/PKGBUILD b/extra/orc/PKGBUILD
index 710e9179c..cd8ab8bc2 100644
--- a/extra/orc/PKGBUILD
+++ b/extra/orc/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=orc
pkgver=0.4.18
pkgrel=1
pkgdesc="The Oild Runtime Compiler"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://code.entropywave.com/projects/orc/"
depends=('glibc')
diff --git a/extra/ortp/PKGBUILD b/extra/ortp/PKGBUILD
index 276573f8f..693895662 100644
--- a/extra/ortp/PKGBUILD
+++ b/extra/ortp/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=ortp
pkgver=0.22.0
pkgrel=1
pkgdesc="A Real-time Transport Protocol (RTP) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.linphone.org/index.php/eng/code_review/ortp"
license=('GPL3')
depends=('libzrtpcpp' 'libsrtp')
diff --git a/extra/ossp/PKGBUILD b/extra/ossp/PKGBUILD
index 57922863a..db2a26652 100644
--- a/extra/ossp/PKGBUILD
+++ b/extra/ossp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ossp
pkgver=1.3.2
pkgrel=15
pkgdesc="Emulate OSS device using CUSE"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://sourceforge.net/projects/osspd"
license=(GPL2)
depends=('fuse>=2.8.0')
diff --git a/extra/oxygen-gtk2/PKGBUILD b/extra/oxygen-gtk2/PKGBUILD
index 022d70ac6..f7d334747 100644
--- a/extra/oxygen-gtk2/PKGBUILD
+++ b/extra/oxygen-gtk2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=oxygen-gtk2
pkgver=1.4.0
pkgrel=1
pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/playground/artwork/oxygen-gtk/'
license=('LGPL')
depends=('gtk2')
diff --git a/extra/oxygen-gtk3/PKGBUILD b/extra/oxygen-gtk3/PKGBUILD
index f54288ca1..63609d242 100644
--- a/extra/oxygen-gtk3/PKGBUILD
+++ b/extra/oxygen-gtk3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=oxygen-gtk3
pkgver=1.2.0
pkgrel=1
pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/playground/artwork/oxygen-gtk/'
license=('LGPL')
depends=('gtk3')
diff --git a/extra/p11-kit/PKGBUILD b/extra/p11-kit/PKGBUILD
index d936e1b79..39159803f 100644
--- a/extra/p11-kit/PKGBUILD
+++ b/extra/p11-kit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=p11-kit
pkgver=0.20.1
pkgrel=1
pkgdesc="Library to work with PKCS#11 modules"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://p11-glue.freedesktop.org"
license=('BSD')
depends=('glibc' 'libtasn1' 'libffi')
diff --git a/extra/pam_ldap/PKGBUILD b/extra/pam_ldap/PKGBUILD
index 620ed04e8..bff718b46 100644
--- a/extra/pam_ldap/PKGBUILD
+++ b/extra/pam_ldap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pam_ldap
pkgver=186
pkgrel=4
pkgdesc="LDAP authentication module for the PAM framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.padl.com/OSS/pam_ldap.html"
license=('LGPL')
depends=('libldap' 'pam')
@@ -19,7 +19,8 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --libdir=/usr/lib \
--with-ldap-conf-file=/etc/pam_ldap.conf \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man \
+ --build=$CHOST --host=$CHOST
PATH="${PATH}:${srcdir}/${pkgname}-${pkgver}" make
}
diff --git a/extra/pango-perl/PKGBUILD b/extra/pango-perl/PKGBUILD
index 1b8079cee..32599db1e 100644
--- a/extra/pango-perl/PKGBUILD
+++ b/extra/pango-perl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pango-perl
pkgver=1.224
pkgrel=2
pkgdesc="Perl bindings for Pango"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/pango/PKGBUILD b/extra/pango/PKGBUILD
index d1d7ab60c..269ed6e70 100644
--- a/extra/pango/PKGBUILD
+++ b/extra/pango/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pango
pkgver=1.36.0
pkgrel=1
pkgdesc="A library for layout and rendering of text"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libthai' 'cairo' 'libxft' 'harfbuzz')
makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection')
diff --git a/extra/pangomm/PKGBUILD b/extra/pangomm/PKGBUILD
index be517fcbd..b4432fc50 100644
--- a/extra/pangomm/PKGBUILD
+++ b/extra/pangomm/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=pangomm
pkgname=('pangomm' 'pangomm-docs')
pkgver=2.34.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pango' 'glibmm' 'glibmm-docs' 'cairomm' 'pkgconfig')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver::4}/${pkgname}-${pkgver}.tar.xz)
diff --git a/extra/pangox-compat/PKGBUILD b/extra/pangox-compat/PKGBUILD
index c0e0076d5..b039746ab 100644
--- a/extra/pangox-compat/PKGBUILD
+++ b/extra/pangox-compat/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=pangox-compat
pkgver=0.0.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="X Window System font support for Pango"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('pango')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:3}/${pkgname}-${pkgver}.tar.xz)
diff --git a/extra/paprefs/PKGBUILD b/extra/paprefs/PKGBUILD
index 6be68601b..82e033459 100644
--- a/extra/paprefs/PKGBUILD
+++ b/extra/paprefs/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=paprefs
pkgver=0.9.10
-pkgrel=2
+pkgrel=2.1
pkgdesc="A simple GTK-based configuration dialog for PulseAudio"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://0pointer.de/lennart/projects/paprefs"
license=(GPL)
depends=(gconfmm gnome-icon-theme libglademm libsigc++ pulseaudio)
diff --git a/extra/parted/PKGBUILD b/extra/parted/PKGBUILD
index c0f64b0ab..1bb21237c 100644
--- a/extra/parted/PKGBUILD
+++ b/extra/parted/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=parted
pkgver=3.1
pkgrel=2
pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://www.gnu.org/software/parted/parted.html"
depends=('device-mapper' 'e2fsprogs')
diff --git a/extra/pathological/PKGBUILD b/extra/pathological/PKGBUILD
index 96d506b20..41bade6fd 100644
--- a/extra/pathological/PKGBUILD
+++ b/extra/pathological/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pathological
pkgver=1.1.3
pkgrel=8
pkgdesc="A puzzle game with the same feel as frozen bubble"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pathological.sourceforge.net/"
license=('GPL')
depends=('python2-pygame')
diff --git a/extra/pavucontrol/PKGBUILD b/extra/pavucontrol/PKGBUILD
index 126b2a28f..74b061e52 100644
--- a/extra/pavucontrol/PKGBUILD
+++ b/extra/pavucontrol/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=pavucontrol
pkgdesc="A GTK volume control for PulseAudio"
pkgver=2.0
pkgrel=2
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://freedesktop.org/software/pulseaudio/pavucontrol/"
license=(GPL)
depends=(gnome-icon-theme libcanberra-pulse gtkmm3 libsigc++)
diff --git a/extra/perl-alien-sdl/PKGBUILD b/extra/perl-alien-sdl/PKGBUILD
index 712653e42..c7ebe8309 100644
--- a/extra/perl-alien-sdl/PKGBUILD
+++ b/extra/perl-alien-sdl/PKGBUILD
@@ -11,7 +11,7 @@ _realname=Alien-SDL
pkgver=1.440
pkgrel=1
pkgdesc="Building, finding and using SDL binaries"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(PerlArtistic GPL)
url="http://search.cpan.org/dist/Alien-SDL/"
depends=(sdl=1.2.15 perl-file-sharedir perl-capture-tiny)
diff --git a/extra/perl-async-interrupt/PKGBUILD b/extra/perl-async-interrupt/PKGBUILD
index 45f6be82d..d3d154910 100644
--- a/extra/perl-async-interrupt/PKGBUILD
+++ b/extra/perl-async-interrupt/PKGBUILD
@@ -6,7 +6,7 @@ _ver=1.1
pkgver=1.10
pkgrel=3
pkgdesc='allow C/XS libraries to interrupt perl asynchronously'
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=(perl-common-sense)
diff --git a/extra/perl-bit-vector/PKGBUILD b/extra/perl-bit-vector/PKGBUILD
index 2f8158d84..08f175bfb 100644
--- a/extra/perl-bit-vector/PKGBUILD
+++ b/extra/perl-bit-vector/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-bit-vector
pkgver=7.3
pkgrel=1
pkgdesc='Efficient bit vector, set of integers and "big int" math library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'PerlArtistic')
url="http://search.cpan.org/dist/Bit-Vector/"
depends=('perl-carp-clan' 'perl')
diff --git a/extra/perl-compress-bzip2/PKGBUILD b/extra/perl-compress-bzip2/PKGBUILD
index d55131804..f22b167f2 100644
--- a/extra/perl-compress-bzip2/PKGBUILD
+++ b/extra/perl-compress-bzip2/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Compress-Bzip2
pkgver=2.17
pkgrel=1
pkgdesc="Interface to Bzip2 compression library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(GPL2)
depends=(perl bzip2)
url="http://search.cpan.org/dist/Compress-Bzip2"
diff --git a/extra/perl-crypt-openssl-bignum/PKGBUILD b/extra/perl-crypt-openssl-bignum/PKGBUILD
index 15c3bb1b6..08a00553e 100644
--- a/extra/perl-crypt-openssl-bignum/PKGBUILD
+++ b/extra/perl-crypt-openssl-bignum/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-openssl-bignum
pkgver=0.04
pkgrel=9
pkgdesc="OpenSSL's multiprecision integer arithmetic "
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-OpenSSL-Bignum"
depends=('perl' 'openssl')
license=('GPL')
diff --git a/extra/perl-crypt-openssl-random/PKGBUILD b/extra/perl-crypt-openssl-random/PKGBUILD
index db3ed64e4..cc0e07a6f 100644
--- a/extra/perl-crypt-openssl-random/PKGBUILD
+++ b/extra/perl-crypt-openssl-random/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-openssl-random
pkgver=0.06
pkgrel=1
pkgdesc="Interface to OpenSSL PRNG methods"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-OpenSSL-Random"
depends=('perl' 'openssl')
license=('GPL')
diff --git a/extra/perl-crypt-openssl-rsa/PKGBUILD b/extra/perl-crypt-openssl-rsa/PKGBUILD
index afe76a7c5..f1c0e7f21 100644
--- a/extra/perl-crypt-openssl-rsa/PKGBUILD
+++ b/extra/perl-crypt-openssl-rsa/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-openssl-rsa
pkgver=0.28
pkgrel=4
pkgdesc="Interface to OpenSSL RSA methods"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-OpenSSL-RSA"
depends=('perl-crypt-openssl-random' 'perl-crypt-openssl-bignum')
license=('GPL')
diff --git a/extra/perl-crypt-ssleay/PKGBUILD b/extra/perl-crypt-ssleay/PKGBUILD
index bf1e57bb6..e14a7078a 100644
--- a/extra/perl-crypt-ssleay/PKGBUILD
+++ b/extra/perl-crypt-ssleay/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-ssleay
pkgver=0.64
pkgrel=2
pkgdesc="OpenSSL glue that provides LWP https support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-SSLeay"
license=('GPL' 'PerlArtistic')
depends=('perl-lwp-protocol-https' 'perl-try-tiny')
diff --git a/extra/perl-dbd-mysql/PKGBUILD b/extra/perl-dbd-mysql/PKGBUILD
index d74b164a5..c753576ec 100644
--- a/extra/perl-dbd-mysql/PKGBUILD
+++ b/extra/perl-dbd-mysql/PKGBUILD
@@ -8,7 +8,7 @@ _realname=DBD-mysql
pkgver=4.024
pkgrel=1
pkgdesc="Perl/CPAN DBD::mysql module for interacting with MySQL via DBD"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('libmariadbclient' 'perl-dbi')
diff --git a/extra/perl-dbd-sqlite/PKGBUILD b/extra/perl-dbd-sqlite/PKGBUILD
index 70f9ee742..7c2ffa75b 100644
--- a/extra/perl-dbd-sqlite/PKGBUILD
+++ b/extra/perl-dbd-sqlite/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=perl-dbd-sqlite
pkgver=1.40
pkgrel=1
pkgdesc="Self-contained RDBMS in a DBI driver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/DBD-SQLite"
license=('GPL' 'PerlArtistic')
depends=('perl-dbi' 'sqlite')
diff --git a/extra/perl-dbi/PKGBUILD b/extra/perl-dbi/PKGBUILD
index 05aa43bff..1e53c841e 100644
--- a/extra/perl-dbi/PKGBUILD
+++ b/extra/perl-dbi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=perl-dbi
pkgver=1.630
pkgrel=1
pkgdesc="Database independent interface for Perl"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/DBI/"
license=('GPL' 'PerlArtistic')
depends=('perl')
diff --git a/extra/perl-digest-nilsimsa/PKGBUILD b/extra/perl-digest-nilsimsa/PKGBUILD
index 62097190f..9cf565b89 100644
--- a/extra/perl-digest-nilsimsa/PKGBUILD
+++ b/extra/perl-digest-nilsimsa/PKGBUILD
@@ -8,7 +8,7 @@ _realname=Digest-Nilsimsa
pkgver=0.06
pkgrel=9
pkgdesc="Perl version of Nilsimsa code"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl')
diff --git a/extra/perl-digest-sha1/PKGBUILD b/extra/perl-digest-sha1/PKGBUILD
index ecd6141ac..558c61a5a 100644
--- a/extra/perl-digest-sha1/PKGBUILD
+++ b/extra/perl-digest-sha1/PKGBUILD
@@ -8,7 +8,7 @@ _realname=Digest-SHA1
pkgver=2.13
pkgrel=4
pkgdesc="Perl interface to the SHA-1 Algorithm"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl')
diff --git a/extra/perl-ev/PKGBUILD b/extra/perl-ev/PKGBUILD
index 1f6075bde..b92bc726c 100644
--- a/extra/perl-ev/PKGBUILD
+++ b/extra/perl-ev/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=perl-ev
pkgver=4.15
pkgrel=2
pkgdesc='perl interface to libev, a high performance full-featured event loop'
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=(perl-common-sense)
diff --git a/extra/perl-fcgi/PKGBUILD b/extra/perl-fcgi/PKGBUILD
index a77fdf42a..59b50fd0e 100644
--- a/extra/perl-fcgi/PKGBUILD
+++ b/extra/perl-fcgi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-fcgi
pkgver=0.74
pkgrel=4
pkgdesc="Fast CGI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/FCGI"
license=('GPL' 'PerlArtistic')
depends=('perl')
diff --git a/extra/perl-guard/PKGBUILD b/extra/perl-guard/PKGBUILD
index 63e5e7488..2f37e901d 100644
--- a/extra/perl-guard/PKGBUILD
+++ b/extra/perl-guard/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=perl-guard
pkgver=1.022
pkgrel=3
pkgdesc="safe cleanup blocks"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="https://metacpan.org/release/Guard"
license=('GPL' 'PerlArtistic')
depends=('perl')
diff --git a/extra/perl-html-parser/PKGBUILD b/extra/perl-html-parser/PKGBUILD
index a3b4d2874..5e27b6c91 100644
--- a/extra/perl-html-parser/PKGBUILD
+++ b/extra/perl-html-parser/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=perl-html-parser
pkgver=3.71
pkgrel=2
pkgdesc="Perl HTML parser class"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/HTML-Parser/"
depends=('perl-html-tagset' 'perl')
diff --git a/extra/perl-libintl-perl/PKGBUILD b/extra/perl-libintl-perl/PKGBUILD
index 76e6a5e68..b70a97e93 100644
--- a/extra/perl-libintl-perl/PKGBUILD
+++ b/extra/perl-libintl-perl/PKGBUILD
@@ -8,7 +8,7 @@ _realname=libintl-perl
pkgver=1.23
pkgrel=2
pkgdesc="Perl Module: Localization support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://search.cpan.org/dist/${_realname}/"
depends=('gettext' 'perl')
diff --git a/extra/perl-list-moreutils/PKGBUILD b/extra/perl-list-moreutils/PKGBUILD
index 1541e0d28..e905a45c0 100644
--- a/extra/perl-list-moreutils/PKGBUILD
+++ b/extra/perl-list-moreutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-list-moreutils
pkgver=0.33
pkgrel=4
pkgdesc="Provide the stuff missing in List::Util"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=('perl')
diff --git a/extra/perl-locale-gettext/PKGBUILD b/extra/perl-locale-gettext/PKGBUILD
index 89e65b7d6..af9dcf2ac 100644
--- a/extra/perl-locale-gettext/PKGBUILD
+++ b/extra/perl-locale-gettext/PKGBUILD
@@ -8,7 +8,7 @@ _realname=gettext
pkgver=1.05
pkgrel=10
pkgdesc="Permits access from Perl to the gettext() family of functions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('gettext' 'perl')
diff --git a/extra/perl-net-dns/PKGBUILD b/extra/perl-net-dns/PKGBUILD
index 5161edc15..acee27788 100644
--- a/extra/perl-net-dns/PKGBUILD
+++ b/extra/perl-net-dns/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Net-DNS
pkgver=0.72
pkgrel=2
pkgdesc="Perl Module: Interface to the DNS resolver."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl-digest-hmac' 'perl-net-ip' 'perl')
diff --git a/extra/perl-net-ssleay/PKGBUILD b/extra/perl-net-ssleay/PKGBUILD
index 00938d9d0..c70128896 100644
--- a/extra/perl-net-ssleay/PKGBUILD
+++ b/extra/perl-net-ssleay/PKGBUILD
@@ -7,7 +7,7 @@ _cpanname=Net-SSLeay
pkgver=1.55
pkgrel=2
pkgdesc="Perl extension for using OpenSSL"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:BSD')
url="http://search.cpan.org/dist/${_cpanname}/"
depends=('openssl')
diff --git a/extra/perl-net-upnp/PKGBUILD b/extra/perl-net-upnp/PKGBUILD
index 88a29c7d5..f4a74c9a3 100644
--- a/extra/perl-net-upnp/PKGBUILD
+++ b/extra/perl-net-upnp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-net-upnp
pkgver=1.4.2
pkgrel=5
pkgdesc="Perl Module UPnP"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/~skonno/Net-UPnP-1.4.2/"
license=('BSD' 'PerlArtistic')
options=('!emptydirs')
diff --git a/extra/perl-netaddr-ip/PKGBUILD b/extra/perl-netaddr-ip/PKGBUILD
index 68d3e06bc..8b1d46b3a 100644
--- a/extra/perl-netaddr-ip/PKGBUILD
+++ b/extra/perl-netaddr-ip/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=perl-netaddr-ip
pkgver=4.071
pkgrel=1
pkgdesc="Perl module to manage IP addresses and subnets"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://search.cpan.org/dist/NetAddr-IP/"
license=('PerlArtistic' 'GPL')
depends=('perl')
diff --git a/extra/perl-sdl/PKGBUILD b/extra/perl-sdl/PKGBUILD
index 674b20c57..1e38d7bb1 100644
--- a/extra/perl-sdl/PKGBUILD
+++ b/extra/perl-sdl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=perl-sdl
pkgver=2.540
pkgrel=4
pkgdesc="Simple DirectMedia Layer for Perl"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(LGPL)
url="http://sdl.perl.org"
depends=(perl-alien-sdl perl-tie-simple
diff --git a/extra/perl-socket6/PKGBUILD b/extra/perl-socket6/PKGBUILD
index 31370ad40..a852c7849 100644
--- a/extra/perl-socket6/PKGBUILD
+++ b/extra/perl-socket6/PKGBUILD
@@ -6,7 +6,7 @@ pkgname='perl-socket6'
pkgver='0.23'
pkgrel='3'
pkgdesc="getaddrinfo/getnameinfo support module"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
diff --git a/extra/perl-template-toolkit/PKGBUILD b/extra/perl-template-toolkit/PKGBUILD
index de6e6f8cb..dcec9fa06 100644
--- a/extra/perl-template-toolkit/PKGBUILD
+++ b/extra/perl-template-toolkit/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=perl-template-toolkit
pkgver=2.25
pkgrel=1
pkgdesc="Perl template processing system"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://search.cpan.org/dist/Template-Toolkit/"
license=('PerlArtistic')
depends=('perl-appconfig' 'perl')
diff --git a/extra/perl-term-readkey/PKGBUILD b/extra/perl-term-readkey/PKGBUILD
index e3c98ae6b..1de6a2f95 100644
--- a/extra/perl-term-readkey/PKGBUILD
+++ b/extra/perl-term-readkey/PKGBUILD
@@ -9,7 +9,7 @@ _realname=TermReadKey
pkgver=2.30.02
pkgrel=3
pkgdesc="Provides simple control over terminal driver modes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('perl' 'glibc')
url="http://search.cpan.org/~stsi/${_realname}/"
diff --git a/extra/perl-text-iconv/PKGBUILD b/extra/perl-text-iconv/PKGBUILD
index b8609c4fd..02af30a9e 100644
--- a/extra/perl-text-iconv/PKGBUILD
+++ b/extra/perl-text-iconv/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Text-Iconv
pkgver=1.7
pkgrel=8
pkgdesc="Interface to iconv codeset conversion"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/${_realname}/"
license=('GPL' 'PerlArtistic')
depends=('perl')
diff --git a/extra/perl-tk/PKGBUILD b/extra/perl-tk/PKGBUILD
index f0c9f15a5..32e1d58b6 100644
--- a/extra/perl-tk/PKGBUILD
+++ b/extra/perl-tk/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=perl-tk
pkgver=804.031
pkgrel=1
pkgdesc="A graphical user interface toolkit for Perl"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Tk"
license=('PerlArtistic' 'GPL' 'custom')
depends=('libpng' 'libjpeg' 'tk' 'perl')
diff --git a/extra/perl-xml-parser/PKGBUILD b/extra/perl-xml-parser/PKGBUILD
index ba9146c1d..6f55b09ef 100644
--- a/extra/perl-xml-parser/PKGBUILD
+++ b/extra/perl-xml-parser/PKGBUILD
@@ -9,7 +9,7 @@ _realname=XML-Parser
pkgver=2.41
pkgrel=4
pkgdesc="Expat-based XML parser module for perl"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl' 'expat')
diff --git a/extra/perl-yaml-syck/PKGBUILD b/extra/perl-yaml-syck/PKGBUILD
index 9e2abe7d4..fe8f71b77 100644
--- a/extra/perl-yaml-syck/PKGBUILD
+++ b/extra/perl-yaml-syck/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=perl-yaml-syck
pkgver=1.27
pkgrel=1
pkgdesc="Fast, lightweight YAML loader and dumper"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/YAML-Syck/"
license=('BSD' 'custom')
depends=('perl')
diff --git a/extra/pgbouncer/PKGBUILD b/extra/pgbouncer/PKGBUILD
index e03c9c9c1..89a26d777 100644
--- a/extra/pgbouncer/PKGBUILD
+++ b/extra/pgbouncer/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=pgbouncer
pkgver=1.5.4
pkgrel=5
pkgdesc="A lightweight connection pooler for PostgreSQL"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pgfoundry.org/projects/pgbouncer"
license=('BSD')
depends=('libevent>=2.0' 'postgresql')
diff --git a/extra/phonon-gstreamer/PKGBUILD b/extra/phonon-gstreamer/PKGBUILD
index ec27a594e..715f54cd5 100644
--- a/extra/phonon-gstreamer/PKGBUILD
+++ b/extra/phonon-gstreamer/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=phonon-gstreamer
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://phonon.kde.org/'
pkgdesc="Phonon GStreamer backend"
license=('LGPL')
diff --git a/extra/phonon-vlc/PKGBUILD b/extra/phonon-vlc/PKGBUILD
index 07b188287..bb52cf251 100644
--- a/extra/phonon-vlc/PKGBUILD
+++ b/extra/phonon-vlc/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=phonon-vlc
pkgver=0.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://phonon.kde.org/'
pkgdesc="Phonon VLC backend"
license=('LGPL')
diff --git a/extra/php-xcache/PKGBUILD b/extra/php-xcache/PKGBUILD
index 22393296e..454c3a5d2 100644
--- a/extra/php-xcache/PKGBUILD
+++ b/extra/php-xcache/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=php-xcache
pkgver=3.1.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='A PHP opcode cacher'
url='http://xcache.lighttpd.net/'
depends=('php')
diff --git a/extra/php/PKGBUILD b/extra/php/PKGBUILD
index d72b8e07c..9d23df37f 100644
--- a/extra/php/PKGBUILD
+++ b/extra/php/PKGBUILD
@@ -23,7 +23,7 @@ pkgname=('php'
'php-xsl')
pkgver=5.5.5
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PHP')
url='http://www.php.net'
makedepends=('apache' 'imap' 'postgresql-libs' 'libldap' 'postfix' 'libvpx'
diff --git a/extra/physfs/PKGBUILD b/extra/physfs/PKGBUILD
index c51501e6b..98cd0e142 100644
--- a/extra/physfs/PKGBUILD
+++ b/extra/physfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=physfs
pkgver=2.0.3
pkgrel=2
pkgdesc="A library to provide abstract access to various archives"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://icculus.org/physfs/"
license=('ZLIB')
depends=('zlib')
diff --git a/extra/pidgin/PKGBUILD b/extra/pidgin/PKGBUILD
index 6308093e3..aa9ab76ae 100644
--- a/extra/pidgin/PKGBUILD
+++ b/extra/pidgin/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=('pidgin' 'libpurple' 'finch')
pkgver=2.10.7
pkgrel=4
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pidgin.im/"
license=('GPL')
makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
diff --git a/extra/pigeonhole/PKGBUILD b/extra/pigeonhole/PKGBUILD
index eaad499ca..569909f7f 100644
--- a/extra/pigeonhole/PKGBUILD
+++ b/extra/pigeonhole/PKGBUILD
@@ -14,7 +14,7 @@ pkgname=pigeonhole
pkgver=0.4.2
pkgrel=2
pkgdesc="Sieve implementation for Dovecot"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pigeonhole.dovecot.org/"
license=('LGPL')
depends=('dovecot='$_dcpkgver)
diff --git a/extra/pixman/PKGBUILD b/extra/pixman/PKGBUILD
index 03391d1ee..4938f1525 100644
--- a/extra/pixman/PKGBUILD
+++ b/extra/pixman/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pixman
pkgver=0.30.2
pkgrel=1
pkgdesc="The pixel-manipulation library for X and cairo"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org"
license=('custom')
depends=('glibc')
diff --git a/extra/pkgfile/PKGBUILD b/extra/pkgfile/PKGBUILD
index afd95536f..b64159482 100644
--- a/extra/pkgfile/PKGBUILD
+++ b/extra/pkgfile/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pkgfile
pkgver=10
pkgrel=1
pkgdesc="a pacman .files metadata explorer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://github.com/falconindy/pkgfile"
license=('MIT')
depends=('libarchive' 'curl' 'pcre' 'pacman')
diff --git a/extra/plotutils/PKGBUILD b/extra/plotutils/PKGBUILD
index d5adc2596..a1665cd14 100644
--- a/extra/plotutils/PKGBUILD
+++ b/extra/plotutils/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=plotutils
pkgver=2.6
pkgrel=5
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
pkgdesc="Set of utilities and libraries for plotting."
url="http://directory.fsf.org/graphics/plotutils.html"
license=("GPL")
diff --git a/extra/pm-utils/PKGBUILD b/extra/pm-utils/PKGBUILD
index d6e079c5c..fcb190d32 100644
--- a/extra/pm-utils/PKGBUILD
+++ b/extra/pm-utils/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pm-utils
pkgver=1.4.1
pkgrel=6
pkgdesc="Utilities and scripts for suspend and hibernate power management"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pm-utils.freedesktop.org"
license=('GPL')
depends=('bash' 'procps' 'pm-quirks')
diff --git a/extra/polkit-kde/PKGBUILD b/extra/polkit-kde/PKGBUILD
index 0a576e888..2fb0931e7 100644
--- a/extra/polkit-kde/PKGBUILD
+++ b/extra/polkit-kde/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=polkit-kde
pkgver=0.99.0
-pkgrel=2
+pkgrel=2.1
pkgdesc='Daemon providing a polkit authentication UI for KDE'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1'
license=('GPL')
depends=('kdelibs')
diff --git a/extra/polkit-qt/PKGBUILD b/extra/polkit-qt/PKGBUILD
index d77ee8182..938c360ee 100644
--- a/extra/polkit-qt/PKGBUILD
+++ b/extra/polkit-qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=polkit-qt
pkgver=0.103.0
pkgrel=2
pkgdesc='A library that allows developers to access PolicyKit API with a nice Qt-style API'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kdesupport/polkit-qt-1'
license=('LGPL')
depends=('polkit' 'qt4')
diff --git a/extra/polkit/PKGBUILD b/extra/polkit/PKGBUILD
index d49715949..d4cde4a51 100644
--- a/extra/polkit/PKGBUILD
+++ b/extra/polkit/PKGBUILD
@@ -3,9 +3,10 @@
pkgname=polkit
pkgver=0.112
+pkgver=0.110 # holding version, it now depends on non-portable 'js'
pkgrel=1
pkgdesc="Application development toolkit for controlling system-wide privileges"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(LGPL)
url="http://www.freedesktop.org/wiki/Software/polkit"
depends=(glib2 pam expat libsystemd js)
diff --git a/extra/poppler/PKGBUILD b/extra/poppler/PKGBUILD
index 7cd7b3225..7016eca39 100644
--- a/extra/poppler/PKGBUILD
+++ b/extra/poppler/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=poppler
pkgname=('poppler' 'poppler-glib' 'poppler-qt4' 'poppler-qt5')
pkgver=0.24.3
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
makedepends=('libjpeg' 'gcc-libs' 'cairo' 'fontconfig' 'openjpeg' 'gtk2' 'qt4' 'pkgconfig' 'lcms2' 'gobject-introspection' 'icu' 'qt5-base')
options=('!emptydirs')
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD
index 4e042d879..fc7f5b92a 100644
--- a/extra/postfix/PKGBUILD
+++ b/extra/postfix/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Fast, easy to administer, secure mail server'
url='http://www.postfix.org/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('pcre' 'libsasl' 'libldap' 'db'
'libmariadbclient' 'postgresql-libs' 'sqlite' 'tinycdb')
backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
diff --git a/extra/postgresql-old-upgrade/PKGBUILD b/extra/postgresql-old-upgrade/PKGBUILD
index 3588b03fc..ca2ff9e0f 100644
--- a/extra/postgresql-old-upgrade/PKGBUILD
+++ b/extra/postgresql-old-upgrade/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=9.2.5
_majorver=${pkgver%.*}
pkgrel=1
pkgdesc="PostgreSQL build for migrating between major versions with pg_upgrade"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.postgresql.org/"
license=('custom:PostgreSQL')
depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0')
diff --git a/extra/postgresql/PKGBUILD b/extra/postgresql/PKGBUILD
index 76e87a8d7..beca39e8f 100644
--- a/extra/postgresql/PKGBUILD
+++ b/extra/postgresql/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql')
pkgver=9.3.1
_majorver=${pkgver%.*}
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.postgresql.org/"
license=('custom:PostgreSQL')
makedepends=('krb5' 'libxml2' 'python2' 'perl' 'tcl>=8.6.0' 'openssl>=1.0.0')
diff --git a/extra/potrace/PKGBUILD b/extra/potrace/PKGBUILD
index 5269bbb7a..8e10065c6 100644
--- a/extra/potrace/PKGBUILD
+++ b/extra/potrace/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.11
pkgrel=1
pkgdesc='Utility for tracing a bitmap (input: PBM,PGM,PPM,BMP; output: EPS,PS,PDF,SVG,DXF,PGM,Gimppath,XFig)'
url='http://potrace.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
source=("http://potrace.sourceforge.net/download/${pkgname}-${pkgver}.tar.gz")
sha1sums=('7296baf27bf35298263cb3ed3df34a38fed0b441')
diff --git a/extra/prison/PKGBUILD b/extra/prison/PKGBUILD
index 7552fa8dc..b1f1c3d5c 100644
--- a/extra/prison/PKGBUILD
+++ b/extra/prison/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=prison
pkgver=1.0
pkgrel=2
pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kdesupport/prison'
license=('GPL')
depends=('qt4' 'libdmtx' 'qrencode')
diff --git a/extra/procmail/PKGBUILD b/extra/procmail/PKGBUILD
index 07b1e67cd..48a13a4a5 100644
--- a/extra/procmail/PKGBUILD
+++ b/extra/procmail/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=procmail
pkgver=3.22
pkgrel=6
pkgdesc="Highly configurable auto mail processing."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.procmail.org"
license=('GPL' 'custom:Artistic')
depends=('glibc' 'sh')
diff --git a/extra/progsreiserfs/PKGBUILD b/extra/progsreiserfs/PKGBUILD
index 873c5ec0c..5858fde40 100644
--- a/extra/progsreiserfs/PKGBUILD
+++ b/extra/progsreiserfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=progsreiserfs
pkgver=0.3.0.5
pkgrel=8
pkgdesc="library for accessing and manipulating reiserfs partitions"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.namesys.com"
license=('GPL')
depends=('e2fsprogs')
diff --git a/extra/psiconv/PKGBUILD b/extra/psiconv/PKGBUILD
index 84e9eef12..de1a0606e 100644
--- a/extra/psiconv/PKGBUILD
+++ b/extra/psiconv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=psiconv
pkgver=0.9.8
pkgrel=13
pkgdesc="Converts Psion 5(MX) files to more commonly used file formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://software.frodo.looijaard.name/psiconv/"
license=('GPL')
depends=('imagemagick')
diff --git a/extra/pstoedit/PKGBUILD b/extra/pstoedit/PKGBUILD
index 9b413ceab..80ac28504 100644
--- a/extra/pstoedit/PKGBUILD
+++ b/extra/pstoedit/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pstoedit
pkgver=3.62
pkgrel=3
pkgdesc="Translates PostScript and PDF graphics into other vector formats"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="http://www.pstoedit.net/"
license=('GPL')
depends=('gcc-libs' 'plotutils' 'gd' 'imagemagick')
diff --git a/extra/ptlib/PKGBUILD b/extra/ptlib/PKGBUILD
index 88b024278..2ff6b231e 100644
--- a/extra/ptlib/PKGBUILD
+++ b/extra/ptlib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ptlib
pkgver=2.10.11
pkgrel=1
pkgdesc="Portable Windows Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.opalvoip.org"
license=('GPL')
depends=('sdl' 'libpulse' 'v4l-utils' 'libldap')
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD
index 7bb41eae2..b00479618 100644
--- a/extra/pulseaudio/PKGBUILD
+++ b/extra/pulseaudio/PKGBUILD
@@ -9,13 +9,14 @@ pkgname=(pulseaudio libpulse)
pkgdesc="A featureful, general-purpose sound server"
pkgver=4.0
pkgrel=6
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
license=(LGPL AGPL3)
makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
speex tdb systemd dbus avahi bluez bluez-libs gconf intltool jack sbc
- lirc-utils openssl fftw orc json-c gtk3 webrtc-audio-processing
+ openssl fftw orc json-c gtk3 webrtc-audio-processing
check git)
+[ "$CARCH" != "mips64el" ] && makedepends+=(lirc-utils)
options=(!emptydirs)
#source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
source=($pkgbase-$pkgver::git://anongit.freedesktop.org/pulseaudio/pulseaudio#commit=09e88de
@@ -56,9 +57,9 @@ package_pulseaudio() {
'bluez-libs: bluetooth support'
'gconf: configuration through gconf (paprefs)'
'jack: jack support'
- 'lirc-utils: infra-red support'
'openssl: RAOP support'
'python-pyqt: Equalizer GUI (qpaeq)')
+[ "$CARCH" = "mips64el" ] || optdepends+=('lirc-utils: infra-red support')
backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
install=pulseaudio.install
diff --git a/extra/purple-plugin-pack/PKGBUILD b/extra/purple-plugin-pack/PKGBUILD
index 094b417b7..cf562cbfc 100644
--- a/extra/purple-plugin-pack/PKGBUILD
+++ b/extra/purple-plugin-pack/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=purple-plugin-pack
pkgver=2.7.0
-pkgrel=1
+pkgrel=1.2
pkgdesc="Compilation of plugins for the libpurple family of IM clients"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://bitbucket.org/rekkanoryo/purple-plugin-pack"
license=('GPL')
depends=('libpurple')
diff --git a/extra/putty/PKGBUILD b/extra/putty/PKGBUILD
index 2dd0523aa..b3b357b24 100644
--- a/extra/putty/PKGBUILD
+++ b/extra/putty/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=putty
pkgver=0.63
pkgrel=1
pkgdesc="A terminal integrated SSH/Telnet client"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
license=('MIT')
depends=('gtk2')
@@ -16,6 +16,7 @@ sha1sums=('195c0603ef61082b91276faa8d4246ea472bba3b'
build() {
cd ${pkgname}-${pkgver}/unix
+ sed -i 's/-Werror//' configure
./configure --prefix=/usr
make
}
diff --git a/extra/pyalpm/PKGBUILD b/extra/pyalpm/PKGBUILD
index 1771f8f07..558a42cdd 100644
--- a/extra/pyalpm/PKGBUILD
+++ b/extra/pyalpm/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=pyalpm
pkgver=0.6.2
pkgrel=1
pkgdesc="Libalpm bindings for Python 3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.archlinux.org/users/remy/pyalpm.git/"
license=('GPL')
depends=('python>=3.2' 'pacman>=4.1')
diff --git a/extra/pycrypto/PKGBUILD b/extra/pycrypto/PKGBUILD
index 6014e9052..17f58e616 100644
--- a/extra/pycrypto/PKGBUILD
+++ b/extra/pycrypto/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=pycrypto
pkgname=('python2-crypto' 'python-crypto')
pkgver=2.6
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('python2' 'python')
url="http://www.dlitz.net/software/pycrypto/"
license=('custom')
diff --git a/extra/pycups/PKGBUILD b/extra/pycups/PKGBUILD
index e537a5bfa..dc0f58b21 100644
--- a/extra/pycups/PKGBUILD
+++ b/extra/pycups/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pycups
pkgver=1.9.63
pkgrel=1
pkgdesc="Python CUPS Bindings"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cyberelk.net/tim/software/pycups/"
license=('GPL')
depends=('libcups' 'python2')
diff --git a/extra/pycurl/PKGBUILD b/extra/pycurl/PKGBUILD
index 04f2fe87b..7b08ada02 100644
--- a/extra/pycurl/PKGBUILD
+++ b/extra/pycurl/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=pycurl
pkgname=('python2-pycurl')
pkgver=7.19.0.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pycurl.sourceforge.net/"
license=('GPL')
makedepends=('python2' 'curl')
diff --git a/extra/pygobject/PKGBUILD b/extra/pygobject/PKGBUILD
index 8d0c3e8ce..27bd1dd9c 100644
--- a/extra/pygobject/PKGBUILD
+++ b/extra/pygobject/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=pygobject
pkgname=(python-gobject python2-gobject pygobject-devel)
pkgver=3.10.1
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="https://live.gnome.org/PyGObject"
license=(LGPL)
makedepends=(python python2 python-cairo python2-cairo gobject-introspection)
diff --git a/extra/pygobject/fix-pycairo-capi-declaration.patch b/extra/pygobject/fix-pycairo-capi-declaration.patch
new file mode 100644
index 000000000..1f0364c7a
--- /dev/null
+++ b/extra/pygobject/fix-pycairo-capi-declaration.patch
@@ -0,0 +1,17 @@
+--- pygobject-2.28.4.orig/gi/pygi-foreign-cairo.c 2011-04-18 17:36:47.000000000 +0200
++++ pygobject-2.28.4/gi/pygi-foreign-cairo.c 2011-06-21 20:05:11.015628222 +0200
+@@ -26,12 +26,12 @@
+
+ #if PY_VERSION_HEX < 0x03000000
+ #include <pycairo.h>
++static Pycairo_CAPI_t *Pycairo_CAPI;
+ #else
+ #include <pycairo/py3cairo.h>
++#define Pycairo_IMPORT import_cairo()
+ #endif
+
+-Pycairo_CAPI_t *Pycairo_CAPI;
+-
+ #include "pygi-foreign.h"
+
+ #include <pyglib-python-compat.h>
diff --git a/extra/pygobject2/PKGBUILD b/extra/pygobject2/PKGBUILD
index 9fbbb1e9a..f53c8bc8e 100644
--- a/extra/pygobject2/PKGBUILD
+++ b/extra/pygobject2/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=pygobject2
pkgname=(python-gobject2 python2-gobject2 pygobject2-devel)
pkgver=2.28.6
pkgrel=9
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.pygtk.org/"
license=(LGPL)
makedepends=(python python2 git)
diff --git a/extra/pygtk/PKGBUILD b/extra/pygtk/PKGBUILD
index cfc6cae1b..b7b76783e 100644
--- a/extra/pygtk/PKGBUILD
+++ b/extra/pygtk/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=pygtk
pkgver=2.24.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="Python bindings for the GTK widget set"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libglade' 'python2-cairo' 'pygobject')
makedepends=('python2-numpy' 'pygobject2-devel')
diff --git a/extra/pygtksourceview2/PKGBUILD b/extra/pygtksourceview2/PKGBUILD
index a10cdd4d3..48a72736c 100644
--- a/extra/pygtksourceview2/PKGBUILD
+++ b/extra/pygtksourceview2/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=pygtksourceview2
pkgver=2.10.1
-pkgrel=4
+pkgrel=4.1
pkgdesc="Python bindings for gtksourceview2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gtksourceview2>=2.10.0' 'pygtk>=2.17.0')
makedepends=('intltool' 'pkg-config')
diff --git a/extra/pyopenssl/PKGBUILD b/extra/pyopenssl/PKGBUILD
index 005655c42..3ebba02b1 100644
--- a/extra/pyopenssl/PKGBUILD
+++ b/extra/pyopenssl/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=pyopenssl
pkgname=('python-pyopenssl' 'python2-pyopenssl')
pkgver=0.13.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pypi.python.org/pypi/pyOpenSSL"
license=('LGPL2.1')
makedepends=('python' 'python2' 'openssl')
diff --git a/extra/pyorbit/PKGBUILD b/extra/pyorbit/PKGBUILD
index 370fe8a93..92744b7c3 100644
--- a/extra/pyorbit/PKGBUILD
+++ b/extra/pyorbit/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=pyorbit
pkgver=2.24.0
-pkgrel=4
+pkgrel=4.1
pkgdesc="Python bindings for ORBit2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.pygtk.org"
depends=('python2' 'orbit2')
diff --git a/extra/pyqt4/PKGBUILD b/extra/pyqt4/PKGBUILD
index 440015b85..de6ee8423 100644
--- a/extra/pyqt4/PKGBUILD
+++ b/extra/pyqt4/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=pyqt4
pkgname=('pyqt4-common' 'python-pyqt4' 'python2-pyqt4')
pkgver=4.10.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.riverbankcomputing.com/software/pyqt/intro'
license=('GPL')
makedepends=('python-sip' 'python-dbus' 'python2-sip' 'phonon' 'mesa'
diff --git a/extra/pysmbc/PKGBUILD b/extra/pysmbc/PKGBUILD
index 429111579..a815bf29b 100644
--- a/extra/pysmbc/PKGBUILD
+++ b/extra/pysmbc/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pysmbc
pkgver=1.0.13
pkgrel=1
pkgdesc="Python bindings for libsmbclient"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pypi.python.org/pypi/pysmbc/"
license=('GPL')
depends=('python2' 'smbclient')
diff --git a/extra/python-cairo/PKGBUILD b/extra/python-cairo/PKGBUILD
index 2ecb2b88f..42392e8cc 100644
--- a/extra/python-cairo/PKGBUILD
+++ b/extra/python-cairo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python-cairo
pkgver=1.10.0
pkgrel=3
pkgdesc="Python bindings for the cairo graphics library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cairographics.org/pycairo"
license=('LGPL3')
depends=('python' 'cairo')
diff --git a/extra/python-egenix-mx-base/PKGBUILD b/extra/python-egenix-mx-base/PKGBUILD
index 52fcc5aed..b0f59d673 100644
--- a/extra/python-egenix-mx-base/PKGBUILD
+++ b/extra/python-egenix-mx-base/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('python2-egenix-mx-base')
pkgver=3.2.6
pkgrel=1
pkgdesc="A collection of Python tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.egenix.com/products/python/mxBase/"
makedepends=('python2')
diff --git a/extra/python-geoip/PKGBUILD b/extra/python-geoip/PKGBUILD
index dc15efab0..7643e2d15 100644
--- a/extra/python-geoip/PKGBUILD
+++ b/extra/python-geoip/PKGBUILD
@@ -8,7 +8,7 @@ pkgbase=python-geoip
pkgver=1.2.8
pkgrel=2
pkgdesc="Python bindings for the GeoIP IP-to-country resolver library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dev.maxmind.com/geoip/legacy/downloadable#Python-10"
license=('LGPL')
depends=('python2' 'geoip')
diff --git a/extra/python-iwscan/PKGBUILD b/extra/python-iwscan/PKGBUILD
index 752d224cb..0bbb8118b 100644
--- a/extra/python-iwscan/PKGBUILD
+++ b/extra/python-iwscan/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python2-iwscan
pkgver=20090609
pkgrel=4
pkgdesc="A Python interface to iwlist, using the iwlib library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.otaku42.de/browser/python-iwscan"
license=('LGPL')
depends=('python2' 'wireless_tools')
diff --git a/extra/python-lxml/PKGBUILD b/extra/python-lxml/PKGBUILD
index f9094f191..70b51dbc5 100644
--- a/extra/python-lxml/PKGBUILD
+++ b/extra/python-lxml/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=python-lxml
pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
pkgver=3.2.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD' 'custom')
url="http://lxml.de/"
makedepends=('python2' 'python' 'libxslt' 'python-cssselect' 'python2-cssselect')
diff --git a/extra/python-markupsafe/PKGBUILD b/extra/python-markupsafe/PKGBUILD
index fd1757779..0da520e6a 100644
--- a/extra/python-markupsafe/PKGBUILD
+++ b/extra/python-markupsafe/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('python-markupsafe' 'python2-markupsafe')
pkgver=0.18
pkgrel=2
pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pypi.python.org/pypi/MarkupSafe"
license=('custom')
makedepends=('python-setuptools' 'python2-setuptools')
diff --git a/extra/python-notify/PKGBUILD b/extra/python-notify/PKGBUILD
index f5f2294a4..b2a3c1366 100644
--- a/extra/python-notify/PKGBUILD
+++ b/extra/python-notify/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python2-notify
pkgver=0.1.1
pkgrel=12
pkgdesc="Python bindings for libnotify"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.galago-project.org/"
license=('GPL')
depends=('pygtk>=2.22.0' 'libnotify>=0.7.1')
diff --git a/extra/python-numpy/PKGBUILD b/extra/python-numpy/PKGBUILD
index 76274656d..27c1fe3e4 100755
--- a/extra/python-numpy/PKGBUILD
+++ b/extra/python-numpy/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('python2-numpy' 'python-numpy')
pkgver=1.7.1
pkgrel=3
pkgdesc="Scientific tools for Python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.numpy.org/"
makedepends=('lapack' 'python' 'python2' 'python-setuptools' 'python2-setuptools' 'gcc-fortran' 'python-nose' 'python2-nose')
diff --git a/extra/python-pygame/PKGBUILD b/extra/python-pygame/PKGBUILD
index c791a8308..14edd3999 100644
--- a/extra/python-pygame/PKGBUILD
+++ b/extra/python-pygame/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python2-pygame
pkgver=1.9.1
pkgrel=8
pkgdesc="Python game library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.pygame.org/"
license=('LGPL')
depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'python2' 'portmidi')
diff --git a/extra/python-pyspi/PKGBUILD b/extra/python-pyspi/PKGBUILD
index 41ebf4be2..f995971a1 100644
--- a/extra/python-pyspi/PKGBUILD
+++ b/extra/python-pyspi/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=python2-pyspi
pkgver=0.6.1
pkgrel=1
pkgdesc="Python AT-SPI bindings"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://people.redhat.com/zcerza/dogtail"
license=('LGPL')
depends=('python2' 'at-spi')
diff --git a/extra/python-pysqlite/PKGBUILD b/extra/python-pysqlite/PKGBUILD
index 0e308434b..c7f2acb08 100644
--- a/extra/python-pysqlite/PKGBUILD
+++ b/extra/python-pysqlite/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=2.6.3
pkgrel=3
pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/pysqlite/"
depends=('python2' 'sqlite')
conflicts=('python-pysqlite<=2.6.3-2')
diff --git a/extra/python-telepathy/PKGBUILD b/extra/python-telepathy/PKGBUILD
index 515a5b590..74d1da3e5 100644
--- a/extra/python-telepathy/PKGBUILD
+++ b/extra/python-telepathy/PKGBUILD
@@ -6,19 +6,23 @@ pkgname=('python2-telepathy')
pkgver=0.15.19
pkgrel=3
pkgdesc="Python libraries for use in Telepathy clients and connection managers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
license=('LGPL')
depends=('dbus-python')
makedepends=('libxslt')
conflicts=('python-telepathy')
replaces=('python-telepathy')
-source=(http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-${pkgver}.tar.gz{,.asc})
+source=(http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-${pkgver}.tar.gz{,.asc}
+ telepathy-python-generated-errors.patch)
md5sums=('f7ca25ab3c88874015b7e9728f7f3017'
- '3f0e1af0452d62a0c0aab916e045579c')
+ '3f0e1af0452d62a0c0aab916e045579c'
+ '2dfa69cd0548661dbbb5ae53b1c19e0f')
build() {
cd "${srcdir}/telepathy-python-${pkgver}"
+ patch -Np1 -i "$srcdir/telepathy-python-generated-errors.patch"
+ autoreconf
./configure --prefix=/usr
make
}
diff --git a/extra/python-telepathy/telepathy-python-generated-errors.patch b/extra/python-telepathy/telepathy-python-generated-errors.patch
new file mode 100644
index 000000000..d52861d89
--- /dev/null
+++ b/extra/python-telepathy/telepathy-python-generated-errors.patch
@@ -0,0 +1,18 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 135f2f0..ede1fc3 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -13,10 +13,12 @@ telepathy_PYTHON = \
+ spec_dir = $(top_srcdir)/spec
+ spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))
+
++# We leave _generated/errors.py out of here because there exists a
++# spec/errors.xml file, so that means there'll be a
++# _generated/errors.py in $(spec_files). See fd.o#32526
+ BUILT_SOURCES = \
+ _generated/interfaces.py \
+ _generated/constants.py \
+- _generated/errors.py \
+ _generated/__init__.py \
+ $(spec_files)
+
diff --git a/extra/python-urwid/PKGBUILD b/extra/python-urwid/PKGBUILD
index ed81cf84e..a3c68875c 100644
--- a/extra/python-urwid/PKGBUILD
+++ b/extra/python-urwid/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.1.1
pkgrel=1
pkgdesc="Urwid is a curses-based user interface library."
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('python2-distribute' 'python-distribute')
url="http://excess.org/urwid/"
source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
diff --git a/extra/python-wpactrl/PKGBUILD b/extra/python-wpactrl/PKGBUILD
index a669bbde0..49b4d0221 100644
--- a/extra/python-wpactrl/PKGBUILD
+++ b/extra/python-wpactrl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python2-wpactrl
pkgver=20090609
pkgrel=4
pkgdesc="A Python extension for wpa_supplicant/hostapd control interface access"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.otaku42.de/wiki/PythonWpaCtrl"
license=('GPL2')
depends=('python2')
diff --git a/extra/python/PKGBUILD b/extra/python/PKGBUILD
index b9031834f..8733625fe 100644
--- a/extra/python/PKGBUILD
+++ b/extra/python/PKGBUILD
@@ -8,11 +8,12 @@ pkgver=3.3.2
pkgrel=2
_pybasever=3.3
pkgdesc="Next generation of the python high-level scripting language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.python.org/"
depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
-makedepends=('tk>=8.6.0' 'sqlite' 'valgrind' 'bluez-libs')
+makedepends=('tk>=8.6.0' 'sqlite' 'bluez-libs')
+[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind')
optdepends=('tk: for tkinter' 'sqlite')
provides=('python3')
replaces=('python3')
@@ -36,6 +37,12 @@ prepare() {
rm -r Modules/zlib
rm -r Modules/_ctypes/{darwin,libffi}*
+ if [ "$CARCH" != "mips64el" ]; then
+ extraconf=--with-valgrind
+ else
+ extraconf=""
+ fi
+
patch -Np1 -i ../python-3.3.2-CVE-2013-2099.patch
patch -Np1 -i ../python-3.3.2-CVE-2013-4238.patch
}
@@ -48,10 +55,10 @@ build() {
--with-threads \
--with-computed-gotos \
--enable-ipv6 \
- --with-valgrind \
--with-system-expat \
--with-dbmliborder=gdbm:ndbm \
- --with-system-ffi
+ --with-system-ffi \
+ $extraconf
make
}
diff --git a/extra/python2-cairo/PKGBUILD b/extra/python2-cairo/PKGBUILD
index a061900c1..4232ae832 100644
--- a/extra/python2-cairo/PKGBUILD
+++ b/extra/python2-cairo/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=python2-cairo
pkgver=1.10.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Python2 bindings for the cairo graphics library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'MPL')
depends=('python2' 'cairo')
provides=("pycairo=${pkgver}")
diff --git a/extra/python2/PKGBUILD b/extra/python2/PKGBUILD
index 3d66fb8fe..15770f376 100644
--- a/extra/python2/PKGBUILD
+++ b/extra/python2/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.7.5
pkgrel=2
_pybasever=2.7
pkgdesc="A high-level scripting language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PSF')
url="http://www.python.org/"
depends=('bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite' 'libffi')
diff --git a/extra/pywebkitgtk/PKGBUILD b/extra/pywebkitgtk/PKGBUILD
index daebf9ec7..c83587394 100644
--- a/extra/pywebkitgtk/PKGBUILD
+++ b/extra/pywebkitgtk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pywebkitgtk
pkgver=1.1.8
pkgrel=3
pkgdesc="Python bindings to the WebKit GTK+ port"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/pywebkitgtk/"
license=('LGPL')
depends=('webkitgtk2' 'pygtk')
diff --git a/extra/qalculate-gtk/PKGBUILD b/extra/qalculate-gtk/PKGBUILD
index 5c7d40e06..59b0a7d03 100644
--- a/extra/qalculate-gtk/PKGBUILD
+++ b/extra/qalculate-gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qalculate-gtk
pkgver=0.9.7
pkgrel=3
pkgdesc="GNOME frontend for libqalculate"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libqalculate' 'libgnome' 'libglade' 'cln')
diff --git a/extra/qca-gnupg/PKGBUILD b/extra/qca-gnupg/PKGBUILD
index 99eeee362..385f5f934 100644
--- a/extra/qca-gnupg/PKGBUILD
+++ b/extra/qca-gnupg/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.0.0
_pkgver=2.0.0-beta3
pkgrel=5
pkgdesc="Qt Cryptographic Architecture"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://delta.affinix.com/qca/"
license=('LGPL')
depends=('qca')
diff --git a/extra/qca-ossl/PKGBUILD b/extra/qca-ossl/PKGBUILD
index 266287574..a804ec832 100644
--- a/extra/qca-ossl/PKGBUILD
+++ b/extra/qca-ossl/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.0.0
_pkgver=2.0.0-beta3
pkgrel=6
pkgdesc="Qt Cryptographic Architecture"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://delta.affinix.com/qca/"
license=('LGPL')
depends=('qca')
diff --git a/extra/qca/PKGBUILD b/extra/qca/PKGBUILD
index e37bf7c4f..e3682b678 100644
--- a/extra/qca/PKGBUILD
+++ b/extra/qca/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qca
pkgver=2.0.3
pkgrel=4
pkgdesc="Qt Cryptographic Architecture"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://delta.affinix.com/qca/"
license=('LGPL')
depends=('qt4' 'ca-certificates')
diff --git a/extra/qhull/PKGBUILD b/extra/qhull/PKGBUILD
index f4bc77890..d516be5f8 100644
--- a/extra/qhull/PKGBUILD
+++ b/extra/qhull/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=qhull
pkgver=2012.1
pkgrel=2
pkgdesc="A general dimension code for computing convex hulls and related structures"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.qhull.org/"
license=('custom')
depends=('gcc-libs')
@@ -20,7 +20,7 @@ md5sums=('d0f978c0d8dfb2e919caefa56ea2953c')
build() {
cd $pkgname-$pkgver
- if [ "${CARCH}" = "x86_64" ]; then
+ if [ "${CARCH}" != "i686" ]; then
EXTRAOPTS="-DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_C_FLAGS=-fPIC"
fi
diff --git a/extra/qimageblitz/PKGBUILD b/extra/qimageblitz/PKGBUILD
index 193a92be8..6a8e88eef 100644
--- a/extra/qimageblitz/PKGBUILD
+++ b/extra/qimageblitz/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qimageblitz
pkgver=0.0.6
pkgrel=3
pkgdesc="A graphical effect and filter library for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde.org/"
license=('GPL2')
depends=('qt4')
@@ -19,6 +19,7 @@ build() {
mkdir build
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
diff --git a/extra/qjackctl/PKGBUILD b/extra/qjackctl/PKGBUILD
index 3242ec5c9..ead710a4e 100644
--- a/extra/qjackctl/PKGBUILD
+++ b/extra/qjackctl/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.3.10
pkgrel=1
pkgdesc="A Qt front-end for the JACK low-latency audio server"
url="http://qjackctl.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('jack' 'qt4') # qjackctl may soon support qt5
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
diff --git a/extra/qjson/PKGBUILD b/extra/qjson/PKGBUILD
index ab298d47f..94f52affe 100644
--- a/extra/qjson/PKGBUILD
+++ b/extra/qjson/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qjson
pkgver=0.8.1
pkgrel=2
pkgdesc="A qt-based library that maps JSON data to QVariant objects"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://qjson.sourceforge.net"
depends=('qt4')
diff --git a/extra/qoauth/PKGBUILD b/extra/qoauth/PKGBUILD
index de947b29e..78fb9e2fa 100644
--- a/extra/qoauth/PKGBUILD
+++ b/extra/qoauth/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=4
pkgdesc="Support with OAuth-powered network services"
url='http://github.com/ayoy/qoauth'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('qca')
makedepends=('cmake' 'automoc4')
source=("http://files.ayoy.net/qoauth/release/current/src/${pkgname}-${pkgver}-src.tar.bz2")
diff --git a/extra/qpdf/PKGBUILD b/extra/qpdf/PKGBUILD
index 5964b5422..9d9682af7 100644
--- a/extra/qpdf/PKGBUILD
+++ b/extra/qpdf/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=qpdf
pkgver=5.0.1
pkgrel=1
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qpdf.sourceforge.net/"
license=('custom:Artistic-2.0')
depends=('pcre' 'perl')
diff --git a/extra/qrencode/PKGBUILD b/extra/qrencode/PKGBUILD
index 70771cd57..b98c8594d 100644
--- a/extra/qrencode/PKGBUILD
+++ b/extra/qrencode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qrencode
pkgver=3.4.3
pkgrel=1
pkgdesc="C library for encoding data in a QR Code symbol."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
depends=('libpng')
makedepends=(sdl)
url="http://megaui.net/fukuchi/works/qrencode/index.en.html"
diff --git a/extra/qscintilla/PKGBUILD b/extra/qscintilla/PKGBUILD
index 7443f9f36..99e8cfb6d 100644
--- a/extra/qscintilla/PKGBUILD
+++ b/extra/qscintilla/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('qscintilla' 'python-qscintilla' 'python2-qscintilla'
pkgver=2.7.2
pkgrel=3
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
makedepends=('python2-pyqt4' 'python-pyqt4' 'chrpath')
source=("http://downloads.sourceforge.net/pyqt/QScintilla-gpl-${pkgver}.tar.gz"
diff --git a/extra/qsynth/PKGBUILD b/extra/qsynth/PKGBUILD
index 1af07faba..7f3df04c8 100644
--- a/extra/qsynth/PKGBUILD
+++ b/extra/qsynth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qsynth
pkgver=0.3.7
pkgrel=1
pkgdesc="Qt GUI for FluidSynth"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qsynth.sourceforge.net/"
license=('GPL')
depends=('fluidsynth' 'qt4')
diff --git a/extra/qt-assistant-compat/PKGBUILD b/extra/qt-assistant-compat/PKGBUILD
index a189b314b..bddad5c91 100644
--- a/extra/qt-assistant-compat/PKGBUILD
+++ b/extra/qt-assistant-compat/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.6.3
pkgrel=4
pkgdesc="compat version of Qt Assistant"
url="http://qt-project.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3' 'LGPL')
depends=('qt4')
source=('ftp://ftp.qt.nokia.com/qt/source/qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz'
diff --git a/extra/qt-gstreamer/PKGBUILD b/extra/qt-gstreamer/PKGBUILD
index a7ccc9d5c..213ddc4c7 100644
--- a/extra/qt-gstreamer/PKGBUILD
+++ b/extra/qt-gstreamer/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qt-gstreamer
pkgver=0.10.2
pkgrel=3
pkgdesc="Qt4 bindings for GStreamer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://gstreamer.freedesktop.org/modules/qt-gstreamer.html'
license=('LGPL2.1')
depends=('qt4' 'gstreamer0.10-base' 'libgles')
diff --git a/extra/qt3/PKGBUILD b/extra/qt3/PKGBUILD
index dead707dd..eca193b93 100644
--- a/extra/qt3/PKGBUILD
+++ b/extra/qt3/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.3.8b
pkgrel=7
epoch=1
pkgdesc="A cross-platform application and UI framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.trolltech.com/products/qt/index.html"
license=('GPL')
depends=('libpng' 'libxmu' 'libxcursor' 'libxinerama' 'glu' 'libxft'
diff --git a/extra/qt4/PKGBUILD b/extra/qt4/PKGBUILD
index 807b5477e..7aeae075b 100644
--- a/extra/qt4/PKGBUILD
+++ b/extra/qt4/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=qt4
pkgver=4.8.5
pkgrel=6
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://qt-project.org/'
license=('GPL3' 'LGPL' 'FDL' 'custom')
pkgdesc='A cross-platform application and UI framework'
@@ -18,11 +18,14 @@ optdepends=('qtchooser: set the default Qt toolkit'
'postgresql-libs: PostgreSQL driver'
'libmariadbclient: MariaDB driver'
'unixodbc: ODBC driver'
- 'libfbclient: Firebird/iBase driver'
'libxinerama: Xinerama support'
'libxcursor: Xcursor support'
'libxfixes: Xfixes support'
'icu: Unicode support')
+if [ "$CARCH" != "mips64el" ]; then
+ makedepends+=('libfbclient')
+ optdepends+=('libfbclient: Firebird/iBase driver')
+fi
install="${pkgname}.install"
replaces=('qt<=4.8.4')
conflicts=('qt')
@@ -32,6 +35,7 @@ source=("http://download.qt-project.org/official_releases/qt/4.8/${pkgver}/${_pk
'qtconfig-qt4.desktop' 'assistant-qt4.desktop' 'designer-qt4.desktop'
'linguist-qt4.desktop' 'qdbusviewer-qt4.desktop'
'improve-cups-support.patch'
+ 'declarative-fix-sigbus.patch'
'qtbug-31579.patch' 'qtbug-32534.patch' 'qtbug-32908.patch')
md5sums=('1864987bdbb2f58f8ae8b350dfdbe133'
'a16638f4781e56e7887ff8212a322ecc'
@@ -40,6 +44,7 @@ md5sums=('1864987bdbb2f58f8ae8b350dfdbe133'
'0e384663d3dd32abe35f5331c4147569'
'b859c5673e5098c39f72b2252947049e'
'c439c7731c25387352d8453ca7574971'
+ 'aac963d05a9d5733e2bfce9e26607f51'
'6ed8d26a8e4a9bba1f6c08fb99cc8357'
'bb0e0fa6ba953fa590d81ac612374e11'
'db343dcae522bc90d802ad1e83b7f5dd')
@@ -50,6 +55,9 @@ prepare() {
# (FS#28381) (KDEBUG#180051)
patch -p1 -i "${srcdir}"/improve-cups-support.patch
+ # MIPS N32-specific fix, shouldn't affect correctness on other platforms.
+ patch -Np1 -i "${srcdir}/declarative-fix-sigbus.patch"
+
# (FS#36028) (QTBUG#31579)
patch -p1 -i "${srcdir}"/qtbug-31579.patch
# (FS#36394) (QTBUG#32534)
@@ -69,6 +77,12 @@ prepare() {
build() {
export QT4DIR="${srcdir}"/${_pkgfqn}
export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
+
+ if [ "${CARCH}" = "mips64el" ]; then
+ export CXXFLAGS="${CXXFLAGS} -fpermissive"
+ else
+ extra="-plugin-sql-ibase"
+ fi
cd ${_pkgfqn}
@@ -84,7 +98,7 @@ build() {
-sysconfdir /etc/xdg \
-examplesdir /usr/share/doc/qt4/examples \
-demosdir /usr/share/doc/qt4/demos \
- -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+ -plugin-sql-{psql,mysql,sqlite,odbc} \
-system-sqlite \
-no-phonon \
-no-phonon-backend \
@@ -99,7 +113,8 @@ build() {
-optimized-qmake \
-reduce-relocations \
-dbus-linked \
- -no-openvg
+ -no-openvg \
+ $extra
make
}
diff --git a/extra/qt4/declarative-fix-sigbus.patch b/extra/qt4/declarative-fix-sigbus.patch
new file mode 100644
index 000000000..0d446fce5
--- /dev/null
+++ b/extra/qt4/declarative-fix-sigbus.patch
@@ -0,0 +1,33 @@
+--- qt-everywhere-opensource-src-4.8.0.orig/src/declarative/qml/qdeclarativevmemetaobject.cpp 2012-02-04 21:23:56.573395948 +0100
++++ qt-everywhere-opensource-src-4.8.0/src/declarative/qml/qdeclarativevmemetaobject.cpp 2012-02-04 23:32:44.900073230 +0100
+@@ -39,6 +39,7 @@
+ **
+ ****************************************************************************/
+
++#include <cstring>
+ #include "private/qdeclarativevmemetaobject_p.h"
+
+ #include "qdeclarative.h"
+@@ -191,10 +192,12 @@
+
+ double QDeclarativeVMEVariant::asDouble()
+ {
++ double result;
+ if (type != QMetaType::Double)
+ setValue(double(0));
+
+- return *(double *)(dataPtr());
++ std::memcpy(&result, (double *)(dataPtr()), sizeof(result));
++ return result;
+ }
+
+ const QString &QDeclarativeVMEVariant::asQString()
+@@ -298,7 +301,7 @@
+ cleanup();
+ type = QMetaType::Double;
+ }
+- *(double *)(dataPtr()) = v;
++ std::memcpy((double *)(dataPtr()), &v, sizeof(v));
+ }
+
+ void QDeclarativeVMEVariant::setValue(const QString &v)
diff --git a/extra/qt5/PKGBUILD b/extra/qt5/PKGBUILD
index 1ce2339d3..7c197b293 100644
--- a/extra/qt5/PKGBUILD
+++ b/extra/qt5/PKGBUILD
@@ -3,10 +3,15 @@
pkgbase=qt5
pkgname=('qt5-base'
+ 'qt5-imageformats'
+ 'qt5-script'
+ 'qt5-svg'
+ 'qt5-xmlpatterns')
+# V8 is not ported yet to mips64el, don't build jsbackend and its reverse dependencies there.
+[ "$CARCH" != "mips64el" ] && pkgname+=(
'qt5-declarative'
'qt5-doc'
'qt5-graphicaleffects'
- 'qt5-imageformats'
'qt5-jsbackend'
'qt5-multimedia'
'qt5-quick1'
@@ -22,20 +27,21 @@ pkgname=('qt5-base'
'qt5-xmlpatterns')
pkgver=5.1.1
pkgrel=5
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://qt-project.org/'
license=('GPL3' 'LGPL' 'FDL' 'custom')
makedepends=('libxcb' 'xcb-proto' 'xcb-util' 'xcb-util-image' 'xcb-util-wm' 'xcb-util-keysyms'
'mesa' 'at-spi2-core' 'alsa-lib' 'gstreamer0.10-base-plugins'
'libjpeg-turbo' 'cups' 'libpulse' 'hicolor-icon-theme' 'desktop-file-utils'
- 'postgresql-libs' 'libmariadbclient' 'sqlite' 'unixodbc' 'libfbclient'
+ 'postgresql-libs' 'libmariadbclient' 'sqlite' 'unixodbc'
'python2' 'ruby' 'gperf' 'libxslt' 'libxcomposite' 'fontconfig'
'openal' 'gtk2' 'libxkbcommon')
+[ "$CARCH" != "mips64el" ] && makedepends+=('libfbclient')
groups=('qt' 'qt5')
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
source=("http://download.qt-project.org/official_releases/qt/5.1/${pkgver}/single/${_pkgfqn}.tar.xz"
'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop'
- 'use-python2.patch'
+ 'use-python2.patch' 'qatomic-before-mips32.patch'
'bison3.patch')
md5sums=('697b7b8768ef8895e168366ab6b44760'
'b2897dd6a2967bccf8f10e397aafee55'
@@ -43,6 +49,7 @@ md5sums=('697b7b8768ef8895e168366ab6b44760'
'188da8f4c87316e730ebf1c6217bf5a0'
'322b419b16c75d4de0ee7ad0a246caa1'
'92831f79144d5cb8121915423ba47575'
+ '84d7fcc2b5f270f482d5522ae01c29e2'
'6b162cd2bc104f0ae83ca039401be7bf')
prepare() {
@@ -58,6 +65,9 @@ prepare() {
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
$(find . -name '*.py')
+ # Fix build without -march=mips32, mips64 or its superset.
+ patch -p1 -i "$srcdir/qatomic-before-mips32.patch"
+
# Fix build with bison 3.x
cd qtwebkit
patch -p1 -i "${srcdir}"/bison3.patch
@@ -70,6 +80,9 @@ build() {
export LD_LIBRARY_PATH="${QTDIR}"/qtbase/lib:"${QTDIR}"/qttools/lib:"${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${QTDIR}"/qtbase/plugins
+# disable firebird on mips64el
+ [ "$CARCH" != "mips64el" ] && extra="-plugin-sql-ibase"
+
PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \
-prefix /usr \
-bindir /usr/lib/qt/bin \
@@ -79,17 +92,21 @@ build() {
-datadir /usr/share/qt \
-sysconfdir /etc/xdg \
-examplesdir /usr/share/doc/qt/examples \
- -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+ -plugin-sql-{psql,mysql,sqlite,odbc} \
-system-sqlite \
-openssl-linked \
-nomake examples \
-no-rpath \
-optimized-qmake \
-dbus-linked \
- -reduce-relocations
+ -reduce-relocations \
+ $extra
+
+ [ "$CARCH" = "mips64el" ] && modules="module-qtbase module-qtimageformats module-qtscript module-qtsvg module-qtxmlpatterns"
- make
+ make $modules
+if [ "$CARCH" != "mips64el" ]; then
# Fix paths
find "${QTDIR}" -name Makefile -exec sed -i "s|/usr/lib/qt/bin/qdoc|${QTDIR}/qtbase/bin/qdoc|g" {} +
find "${QTDIR}" -name Makefile.qmake-docs -exec sed -i "s|/usr/lib/qt/bin/qdoc|${QTDIR}/qtbase/bin/qdoc|g" {} +
@@ -98,6 +115,7 @@ build() {
sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" qtwebkit/Source/Makefile.api
make docs
+fi
}
package_qt5-base() {
@@ -107,8 +125,8 @@ package_qt5-base() {
'icu' 'qtchooser' 'libxkbcommon')
optdepends=('postgresql-libs: PostgreSQL driver'
'libmariadbclient: MariaDB driver'
- 'unixodbc: ODBC driver'
- 'libfbclient: Firebird/iBase driver')
+ 'unixodbc: ODBC driver')
+ [ "$CARCH" != "mips64el" ] && optdepends+=('libfbclient: Firebird/iBase driver')
conflicts=('qt')
cd ${_pkgfqn}/qtbase
diff --git a/extra/qt5/qatomic-before-mips32.patch b/extra/qt5/qatomic-before-mips32.patch
new file mode 100644
index 000000000..47d550f93
--- /dev/null
+++ b/extra/qt5/qatomic-before-mips32.patch
@@ -0,0 +1,34 @@
+ISAs before MIPS32 do not support the argument of sync, so build fails
+with -march=mips3 (or -march=loongson2f).
+
+Since the default argument of 0 does all work of other values, not
+specifying it should keep the code correct on older ISAs.
+
+A proper patch would detect if "sync 0x11" is accepted by the
+assembler and choose the appropriate code.
+
+--- qt-everywhere-opensource-src-5.0.1.orig/qtbase/src/corelib/arch/qatomic_mips.h 2013-03-03 18:52:14.370775913 +0100
++++ qt-everywhere-opensource-src-5.0.1/qtbase/src/corelib/arch/qatomic_mips.h 2013-03-03 19:30:16.209001188 +0100
+@@ -122,19 +122,19 @@
+ template <int size> template <typename T> inline
+ void QBasicAtomicOps<size>::acquireMemoryFence(const T &) Q_DECL_NOTHROW
+ {
+- asm volatile ("sync 0x11" ::: "memory");
++ asm volatile ("sync" ::: "memory");
+ }
+
+ template <int size> template <typename T> inline
+ void QBasicAtomicOps<size>::releaseMemoryFence(const T &) Q_DECL_NOTHROW
+ {
+- asm volatile ("sync 0x12" ::: "memory");
++ asm volatile ("sync" ::: "memory");
+ }
+
+ template <int size> template <typename T> inline
+ void QBasicAtomicOps<size>::orderedMemoryFence(const T &) Q_DECL_NOTHROW
+ {
+- asm volatile ("sync 0" ::: "memory");
++ asm volatile ("sync" ::: "memory");
+ }
+
+ template<> template<typename T> inline
diff --git a/extra/qtchooser/PKGBUILD b/extra/qtchooser/PKGBUILD
index 97e5cd836..41a01e509 100644
--- a/extra/qtchooser/PKGBUILD
+++ b/extra/qtchooser/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qtchooser
pkgver=31
pkgrel=1
pkgdesc='Wrap the other Qt tools by searching for different instances of Qt on the system'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://qt.gitorious.org/qt/qtchooser'
license=('GPL')
backup=('etc/xdg/qtchooser/default.conf')
diff --git a/extra/qtiplot/PKGBUILD b/extra/qtiplot/PKGBUILD
index 3c2ee56d2..6bb1b7e90 100644
--- a/extra/qtiplot/PKGBUILD
+++ b/extra/qtiplot/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=qtiplot
pkgver=0.9.8.9
pkgrel=5
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://soft.proindependent.com/qtiplot.html"
pkgdesc="Data analysis and scientific plotting - free clone of Origin"
depends=('muparser' 'gsl' 'python2-pyqt' 'boost-libs' 'shared-mime-info' 'glu' 'liborigin2' 'qt-assistant-compat' 'tamu-anova')
diff --git a/extra/qtscriptgenerator/PKGBUILD b/extra/qtscriptgenerator/PKGBUILD
index e7c66350a..32c57bb16 100644
--- a/extra/qtscriptgenerator/PKGBUILD
+++ b/extra/qtscriptgenerator/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qtscriptgenerator
pkgver=0.2.0
pkgrel=2
pkgdesc="A tool that generates Qt bindings for Qt Script"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="https://code.google.com/p/qtscriptgenerator/"
license=('GPL')
depends=('qtwebkit')
diff --git a/extra/qtwebkit/LLIntCLoop32BigEndian.patch b/extra/qtwebkit/LLIntCLoop32BigEndian.patch
new file mode 100644
index 000000000..4331e0ea8
--- /dev/null
+++ b/extra/qtwebkit/LLIntCLoop32BigEndian.patch
@@ -0,0 +1,72 @@
+Index: Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
+===================================================================
+--- Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm (revision 139916)
++++ Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm (working copy)
+@@ -1728,7 +1728,7 @@ _llint_op_next_pname:
+ loadi 20[PC], t2
+ loadi PayloadOffset[cfr, t2, 8], t2
+ loadp JSPropertyNameIterator::m_jsStrings[t2], t3
+- loadi [t3, t0, 8], t3
++ loadi PayloadOffset[t3, t0, 8], t3
+ addi 1, t0
+ storei t0, PayloadOffset[cfr, t1, 8]
+ loadi 4[PC], t1
+Index: Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+===================================================================
+--- Source/JavaScriptCore/llint/LowLevelInterpreter.asm (revision 139916)
++++ Source/JavaScriptCore/llint/LowLevelInterpreter.asm (working copy)
+@@ -263,13 +263,13 @@ macro assertNotConstant(index)
+ end
+
+ macro functionForCallCodeBlockGetter(targetRegister)
+- loadp Callee[cfr], targetRegister
++ loadp Callee + PayloadOffset[cfr], targetRegister
+ loadp JSFunction::m_executable[targetRegister], targetRegister
+ loadp FunctionExecutable::m_codeBlockForCall[targetRegister], targetRegister
+ end
+
+ macro functionForConstructCodeBlockGetter(targetRegister)
+- loadp Callee[cfr], targetRegister
++ loadp Callee + PayloadOffset[cfr], targetRegister
+ loadp JSFunction::m_executable[targetRegister], targetRegister
+ loadp FunctionExecutable::m_codeBlockForConstruct[targetRegister], targetRegister
+ end
+@@ -841,7 +841,7 @@ macro interpretResolveWithBase(opcodeLen
+ getResolveOperation(4, t0, t1)
+ btpz t0, .slowPath
+
+- loadp ScopeChain[cfr], t3
++ loadp ScopeChain + PayloadOffset[cfr], t3
+ # Get the base
+ loadis ResolveOperation::m_operation[t0], t2
+
+Index: Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+===================================================================
+--- Source/JavaScriptCore/llint/LowLevelInterpreter.cpp (revision 139916)
++++ Source/JavaScriptCore/llint/LowLevelInterpreter.cpp (working copy)
+@@ -33,6 +33,7 @@
+
+ #if ENABLE(LLINT_C_LOOP)
+ #include "CodeBlock.h"
++#include "JSValueInlines.h"
+ #include "LLIntCLoop.h"
+ #include "LLIntSlowPaths.h"
+ #include "VMInspector.h"
+@@ -116,6 +117,17 @@ static double Ints2Double(uint32_t lo, u
+ u.ival64 = (static_cast<uint64_t>(hi) << 32) | lo;
+ return u.dval;
+ }
++
++static void Double2Ints(double input, intptr_t& lo, intptr_t& hi)
++{
++ union {
++ double dval;
++ uint64_t ival64;
++ } u;
++ u.dval = input;
++ hi = static_cast<intptr_t>(u.ival64 >> 32);
++ lo = static_cast<intptr_t>(u.ival64);
++}
+ #endif // USE(JSVALUE32_64)
+
+ } // namespace LLint
diff --git a/extra/qtwebkit/PKGBUILD b/extra/qtwebkit/PKGBUILD
index 62154e81a..069e436a0 100644
--- a/extra/qtwebkit/PKGBUILD
+++ b/extra/qtwebkit/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=qtwebkit
pkgver=2.3.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://trac.webkit.org/wiki/QtWebKit'
pkgdesc='An open source web browser engine (Qt port)'
license=('LGPL2.1' 'GPL3')
@@ -16,12 +16,14 @@ source=("ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.
"http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-${_qtver}.tar.gz"
'use-python2.patch'
'bison3.patch'
- 'qwebview.patch')
+ 'qwebview.patch'
+ 'LLIntCLoop32BigEndian.patch')
sha1sums=('64f3ab7f8e53b5b971a3a6577fc61db0cc2ea31f'
'745f9ebf091696c0d5403ce691dc28c039d77b9e'
'315b6ff603f35e5492a036f7082f6aa075dfb607'
'd2c6182512e4bcbdf30a9e9d513c52fe4b16d9f2'
- '88ed73e6bd7ea9c6d227ceaed0ff2f1cf0200667')
+ '88ed73e6bd7ea9c6d227ceaed0ff2f1cf0200667'
+ 'af830ae24e2ae5113754c9ae524d27ec0a28a9d6')
prepare() {
cd ${pkgname}-${pkgver}
@@ -30,11 +32,23 @@ prepare() {
cd ../qt-everywhere-opensource-src-${_qtver}
patch -p1 -i "${srcdir}"/qwebview.patch
+
+ if [ "$CARCH" = "mips64el" ]; then
+ # Fix MIPS N32 support.
+ sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
+ Source/WTF/wtf/Platform.h
+ # Don't enable JIT even if configure finds that it's not supported.
+ sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \
+ Source/WTF/wtf/Platform.h
+ fi
}
build() {
cd ${pkgname}-${pkgver}
+ # Fix https://bugs.webkit.org/show_bug.cgi?id=103128, original patch with ChangeLog stripped.
+ patch -p0 -i "${srcdir}/LLIntCLoop32BigEndian.patch"
+
OPTS="--no-webkit2"
if [ "${CARCH}" = "i686" ]; then
# FS#33418
diff --git a/extra/quadrapassel/PKGBUILD b/extra/quadrapassel/PKGBUILD
index 489566604..bcb594e50 100644
--- a/extra/quadrapassel/PKGBUILD
+++ b/extra/quadrapassel/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=quadrapassel
pkgver=3.10.0
pkgrel=1
pkgdesc="Fit falling blocks together (Tetris-like game for GNOME)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'clutter-gtk' 'libcanberra' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/quota-tools/PKGBUILD b/extra/quota-tools/PKGBUILD
index d58311b23..5305f02fe 100644
--- a/extra/quota-tools/PKGBUILD
+++ b/extra/quota-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.01
pkgrel=2
epoch=1
pkgdesc="Tools to manage kernel-level quotas in Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/linuxquota/"
license=('GPL' 'BSD')
depends=('e2fsprogs')
diff --git a/extra/qwt/PKGBUILD b/extra/qwt/PKGBUILD
index 6ea145189..5e5ec46eb 100644
--- a/extra/qwt/PKGBUILD
+++ b/extra/qwt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qwt
pkgver=6.0.2
pkgrel=2
pkgdesc="Qt Widgets for Technical Applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qwt.sourceforge.net/"
depends=('qt4')
license=("custom:$pkgname")
diff --git a/extra/qwtplot3d/PKGBUILD b/extra/qwtplot3d/PKGBUILD
index 6cf4ca5c3..2d261f9c0 100644
--- a/extra/qwtplot3d/PKGBUILD
+++ b/extra/qwtplot3d/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qwtplot3d
pkgver=0.2.7
pkgrel=6
pkgdesc="Qt/OpenGL-based C++ programming library containing 3d-widgets"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('custom:zlib')
url="http://qwtplot3d.sourceforge.net/"
depends=('qt4' 'qwt')
diff --git a/extra/r/PKGBUILD b/extra/r/PKGBUILD
index 1981804b9..8c6cae34d 100644
--- a/extra/r/PKGBUILD
+++ b/extra/r/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=r
pkgver=3.0.2
pkgrel=1
pkgdesc="Language and environment for statistical computing and graphics"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url=('http://www.r-project.org/')
depends=('blas' 'lapack' 'bzip2' 'libpng' 'libjpeg' 'libtiff'
diff --git a/extra/racket/PKGBUILD b/extra/racket/PKGBUILD
index 34d4112fc..457bbf621 100644
--- a/extra/racket/PKGBUILD
+++ b/extra/racket/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=racket
pkgver=5.3.6
pkgrel=2
pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://racket-lang.org/"
license=('LGPL')
depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/raptor/PKGBUILD b/extra/raptor/PKGBUILD
index bff2cb9f4..6492837fd 100644
--- a/extra/raptor/PKGBUILD
+++ b/extra/raptor/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=raptor
pkgver=2.0.10
pkgrel=3
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://librdf.org/raptor"
depends=('curl' 'libxslt' 'icu')
license=('LGPL')
diff --git a/extra/rarian/PKGBUILD b/extra/rarian/PKGBUILD
index f930a0ff1..e180bae22 100644
--- a/extra/rarian/PKGBUILD
+++ b/extra/rarian/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=rarian
pkgver=0.8.1
pkgrel=3
pkgdesc="Documentation meta-data library, designed as a replacement for Scrollkeeper."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://rarian.freedesktop.org/"
license=('GPL')
depends=('gcc-libs')
diff --git a/extra/rasqal/PKGBUILD b/extra/rasqal/PKGBUILD
index f6713531d..a0f1ed7b4 100644
--- a/extra/rasqal/PKGBUILD
+++ b/extra/rasqal/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc="A free C library that handles Resource Description Framework (RDF) query syntaxes, query construction and query execution returning result bindings"
url="http://librdf.org/rasqal"
license=('GPL' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('raptor' 'mpfr' 'util-linux')
source=(http://download.librdf.org/source/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/razor/PKGBUILD b/extra/razor/PKGBUILD
index 30b699697..13e2dc00b 100644
--- a/extra/razor/PKGBUILD
+++ b/extra/razor/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=razor
pkgver=2.85
pkgrel=2
pkgdesc="A distributed, collaborative, spam detection and filtering network"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://razor.sourceforge.net"
license=('PerlArtistic')
depends=('perl-net-dns' 'perl-digest-sha1' 'perl-uri' 'perl-digest-nilsimsa' 'perl')
diff --git a/extra/rcs/PKGBUILD b/extra/rcs/PKGBUILD
index 4e1383a9b..b3331b406 100644
--- a/extra/rcs/PKGBUILD
+++ b/extra/rcs/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Revision Control System: manages multiple revisions of files'
url='http://www.gnu.org/software/rcs/'
license=('GPL3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('5972a7f97ab307e775083144cdf6b425c4aba7fe')
diff --git a/extra/rdesktop/PKGBUILD b/extra/rdesktop/PKGBUILD
index 7558c06e5..9b3b81803 100644
--- a/extra/rdesktop/PKGBUILD
+++ b/extra/rdesktop/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=rdesktop
pkgver=1.8.0
pkgrel=3
pkgdesc="An open source client for Windows Remote Desktop Services"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.rdesktop.org/"
license=('GPL3')
depends=('libao' 'libsamplerate' 'xorg-xrandr' 'pcsclite')
diff --git a/extra/re-alpine/PKGBUILD b/extra/re-alpine/PKGBUILD
index bb3ce25ef..71f7737e0 100644
--- a/extra/re-alpine/PKGBUILD
+++ b/extra/re-alpine/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=re-alpine
pkgver=2.03
pkgrel=1
pkgdesc="The continuation of the Alpine email client from University of Washington"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/re-alpine/"
license=('APACHE')
depends=('libldap' 'krb5')
diff --git a/extra/re2c/PKGBUILD b/extra/re2c/PKGBUILD
index 70720e6cf..c1191ee62 100644
--- a/extra/re2c/PKGBUILD
+++ b/extra/re2c/PKGBUILD
@@ -5,8 +5,8 @@
pkgname=re2c
pkgver=0.13.5
-pkgrel=3
-arch=('i686' 'x86_64')
+pkgrel=3.1
+arch=('i686' 'x86_64' 'mips64el')
depends=('gcc-libs')
pkgdesc="A tool for generating C-based recognizers from regular expressions"
url="http://re2c.sourceforge.net/"
diff --git a/extra/recode/PKGBUILD b/extra/recode/PKGBUILD
index 87d149f89..3474d153d 100644
--- a/extra/recode/PKGBUILD
+++ b/extra/recode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=recode
pkgver=3.6
pkgrel=8
pkgdesc="Converts files between various character sets and usages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://recode.progiciels-bpi.ca/index.html"
license=('GPL' 'LGPL')
depends=('glibc')
@@ -32,6 +32,9 @@ prepare() {
build() {
cd pinard-Recode-2127b34
rm -f acinclude.m4
+ # "automatic de-ANSI-fication support has been removed"
+ sed -i '/AM_C_PROTOTYPES/d' configure.in
+ sed -i 's/ ansi2knr//' src/Makefile.am
autoreconf -fi
libtoolize
./configure --prefix=/usr --mandir=/usr/share/man \
diff --git a/extra/redland/PKGBUILD b/extra/redland/PKGBUILD
index 849613af2..cb01bfb84 100644
--- a/extra/redland/PKGBUILD
+++ b/extra/redland/PKGBUILD
@@ -10,7 +10,7 @@ pkgver=1.0.16
pkgrel=2
url="http://librdf.org/"
license=("GPL")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('rasqal' 'raptor' 'db' 'postgresql-libs' 'libmariadbclient' 'unixodbc' 'sqlite')
source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz{,.asc}
rpath.diff)
diff --git a/extra/rest/PKGBUILD b/extra/rest/PKGBUILD
index 409ce6a86..0558d97ad 100644
--- a/extra/rest/PKGBUILD
+++ b/extra/rest/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=rest
pkgver=0.7.90
pkgrel=2
pkgdesc="A helper library for RESTful services."
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=(GPL2)
depends=(glib2 libxml2 'libsoup>=2.42.0')
diff --git a/extra/rhythmbox/PKGBUILD b/extra/rhythmbox/PKGBUILD
index e333c52c4..2a0705f95 100644
--- a/extra/rhythmbox/PKGBUILD
+++ b/extra/rhythmbox/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rhythmbox
pkgver=3.0.1
pkgrel=1
pkgdesc="An iTunes-like music playback and management application"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
url="http://www.rhythmbox.org"
depends=(dconf desktop-file-utils gst-plugins-base gst-plugins-good libsoup json-glib libnotify libpeas media-player-info totem-plparser tdb webkitgtk3 python-gobject gnome-icon-theme)
diff --git a/extra/rosegarden/PKGBUILD b/extra/rosegarden/PKGBUILD
index 53feb35fb..d83c509b6 100644
--- a/extra/rosegarden/PKGBUILD
+++ b/extra/rosegarden/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=rosegarden
pkgver=13.06
pkgrel=1
pkgdesc="MIDI/audio sequencer and notation editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.rosegardenmusic.com/"
license=('GPL')
depends=('liblrdf' 'dssi' 'fftw' 'lirc-utils'
diff --git a/extra/rrdtool/PKGBUILD b/extra/rrdtool/PKGBUILD
index 63c931ff8..2b4805201 100644
--- a/extra/rrdtool/PKGBUILD
+++ b/extra/rrdtool/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=rrdtool
pkgver=1.4.8
pkgrel=2
pkgdesc="Data logging and graphing application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.rrdtool.org"
license=('GPL' 'custom')
depends=('libxml2' 'pango' 'ttf-dejavu')
diff --git a/extra/rsync/PKGBUILD b/extra/rsync/PKGBUILD
index 4744ab5b8..1543daf7a 100644
--- a/extra/rsync/PKGBUILD
+++ b/extra/rsync/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=rsync
pkgver=3.1.0
pkgrel=1
pkgdesc="A file transfer program to keep remote files in sync"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://samba.anu.edu.au/rsync/"
license=('GPL3')
depends=('perl' 'popt')
diff --git a/extra/rtkit/PKGBUILD b/extra/rtkit/PKGBUILD
index 13b4ee2df..d81cbd75b 100644
--- a/extra/rtkit/PKGBUILD
+++ b/extra/rtkit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rtkit
pkgver=0.11
pkgrel=4
pkgdesc="Realtime Policy and Watchdog Daemon"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://git.0pointer.de/?p=rtkit.git"
license=(GPL 'custom:BSD')
depends=(dbus polkit systemd)
diff --git a/extra/rtmpdump/PKGBUILD b/extra/rtmpdump/PKGBUILD
index d88e4fe08..d194d2baf 100644
--- a/extra/rtmpdump/PKGBUILD
+++ b/extra/rtmpdump/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=rtmpdump
pkgver=20121230
pkgrel=3
pkgdesc="A tool to download rtmp streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://rtmpdump.mplayerhq.hu/"
license=('GPL2' 'LGPL2.1')
depends=('openssl')
diff --git a/extra/rubberband/PKGBUILD b/extra/rubberband/PKGBUILD
index 4ea263bd7..4d15ff815 100644
--- a/extra/rubberband/PKGBUILD
+++ b/extra/rubberband/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rubberband
pkgver=1.8.1
pkgrel=1
pkgdesc="Time-stretching and pitch-shifting audio library and utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.breakfastquay.com/rubberband/"
license=('GPL')
depends=('libsamplerate' 'fftw' 'vamp-plugin-sdk')
diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD
index e5e55363f..5795f61a6 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=('ruby' 'ruby-docs')
pkgver=2.0.0_p247
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.ruby-lang.org/en/'
license=('BSD' 'custom')
makedepends=('gdbm' 'openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml')
diff --git a/extra/rygel/PKGBUILD b/extra/rygel/PKGBUILD
index 38f7fa4c2..ebf73026a 100644
--- a/extra/rygel/PKGBUILD
+++ b/extra/rygel/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rygel
pkgver=0.20.1
pkgrel=1
pkgdesc="UPnP AV MediaServer and MediaRenderer that allows you to easily share audio, video and pictures, and control of media player on your home network"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Rygel"
license=(LGPL)
depends=(gupnp-av gupnp-dlna libgee gtk3 libunistring libtracker-sparql hicolor-icon-theme xdg-utils)
diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD
index 6946dae64..f34be2154 100644
--- a/extra/samba/PKGBUILD
+++ b/extra/samba/PKGBUILD
@@ -16,7 +16,7 @@ pkgver=4.1.0
# misconstrues as alpha, beta, etc. Bad samba!
_realver=4.1.0
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.samba.org"
license=('GPL3')
makedepends=('python2' 'docbook-xsl' 'pkg-config' 'libbsd' 'db' 'popt' 'libcups'
diff --git a/extra/sane-frontends/PKGBUILD b/extra/sane-frontends/PKGBUILD
index fffa95d0a..99d7a9ee5 100644
--- a/extra/sane-frontends/PKGBUILD
+++ b/extra/sane-frontends/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sane-frontends
pkgver=1.0.14
pkgrel=6
pkgdesc="A set of frontends for SANE."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.sane-project.org"
license=('GPL')
depends=('sane' 'gimp' 'libjpeg>=7')
diff --git a/extra/sane/PKGBUILD b/extra/sane/PKGBUILD
index f33ec148e..ce4939430 100644
--- a/extra/sane/PKGBUILD
+++ b/extra/sane/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.0.24
pkgrel=3
pkgdesc="Scanner Access Now Easy"
url="http://www.sane-project.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libtiff>=4.0.0' 'libgphoto2' 'libjpeg>=8' 'libusbx' 'libcups' 'libieee1284' 'v4l-utils' 'avahi' 'bash' 'net-snmp')
makedepends=('texlive-latexextra')
diff --git a/extra/sbc/PKGBUILD b/extra/sbc/PKGBUILD
index c4a907b05..ccadf102d 100644
--- a/extra/sbc/PKGBUILD
+++ b/extra/sbc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sbc
pkgver=1.1
pkgrel=1
pkgdesc="Bluetooth Subband Codec (SBC) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.bluez.org/"
license=('GPL' 'LGPL')
depends=('glibc')
diff --git a/extra/sbcl/PKGBUILD b/extra/sbcl/PKGBUILD
index 725ef5738..0c4e1146f 100644
--- a/extra/sbcl/PKGBUILD
+++ b/extra/sbcl/PKGBUILD
@@ -9,11 +9,13 @@ pkgver=1.1.12
pkgrel=1
pkgdesc="Steel Bank Common Lisp"
url="http://www.sbcl.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('glibc' 'zlib')
provides=('common-lisp' 'cl-asdf')
makedepends=('sbcl')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('clisp')
install=sbcl.install
source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2"
"arch-fixes.lisp")
@@ -42,7 +44,11 @@ build() {
(disable :largefile)))
EOF
- sh make.sh sbcl --prefix=/usr
+ if [ "$CARCH" = "mips64el" ]; then
+ sh make.sh clisp --prefix=/usr
+ else
+ sh make.sh sbcl --prefix=/usr
+ fi
make -C doc/manual info
}
diff --git a/extra/sbcl/mips-arch.h.diff b/extra/sbcl/mips-arch.h.diff
new file mode 100644
index 000000000..4f593aa83
--- /dev/null
+++ b/extra/sbcl/mips-arch.h.diff
@@ -0,0 +1,20 @@
+--- sbcl-1.0.49.orig/src/runtime/mips-arch.h 2011-06-25 16:13:44.103101571 +0200
++++ sbcl-1.0.49/src/runtime/mips-arch.h 2011-06-25 16:14:31.279501569 +0200
+@@ -1,6 +1,8 @@
+ #ifndef _MIPS_ARCH_H
+ #define _MIPS_ARCH_H
+
++/* For lose. */
++#include "interr.h"
+
+ static inline void
+ get_spinlock(volatile lispobj *word, long value)
+@@ -31,7 +33,7 @@
+ [__new] "r" (value)
+ : "memory");
+
+- if (!cmp)
++ if (!__cmp)
+ lose("recursive get_spinlock: 0x%x,%d\n", word, value);
+ #else /* LISP_FEATURE_SB_THREAD */
+ *word=value;
diff --git a/extra/schedtool/PKGBUILD b/extra/schedtool/PKGBUILD
index 2987ec6ca..de61c6efe 100644
--- a/extra/schedtool/PKGBUILD
+++ b/extra/schedtool/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=schedtool
pkgver=1.3.0
pkgrel=2
pkgdesc="Query or alter a process' scheduling policy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freequaos.host.sk/schedtool/"
license=('GPL')
source=(http://freequaos.host.sk/schedtool/$pkgname-$pkgver.tar.bz2)
diff --git a/extra/schroedinger/PKGBUILD b/extra/schroedinger/PKGBUILD
index 4d902034c..b7a053dfb 100644
--- a/extra/schroedinger/PKGBUILD
+++ b/extra/schroedinger/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=schroedinger
pkgver=1.0.11
pkgrel=2
pkgdesc="An implemenation of the Dirac video codec in ANSI C code"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.diracvideo.org/"
license=('GPL2' 'LGPL2.1' 'MPL' 'MIT')
depends=('orc' 'gcc-libs')
diff --git a/extra/scim-anthy/PKGBUILD b/extra/scim-anthy/PKGBUILD
index d400acacf..5d23b05d7 100644
--- a/extra/scim-anthy/PKGBUILD
+++ b/extra/scim-anthy/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=4
_filecode=37309
pkgdesc='Japanese input method module for SCIM'
url='http://sourceforge.jp/projects/scim-imengine/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('scim' 'anthy')
source=("http://osdn.dl.sourceforge.jp/scim-imengine/${_filecode}/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/scim-chewing/PKGBUILD b/extra/scim-chewing/PKGBUILD
index e8d072aec..5069f2eaa 100644
--- a/extra/scim-chewing/PKGBUILD
+++ b/extra/scim-chewing/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=2
pkgdesc='Traditional Chinese input method module for SCIM'
url='http://chewing.csie.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('intltool')
depends=('scim' 'libchewing')
source=("http://chewing.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
diff --git a/extra/scim-hangul/PKGBUILD b/extra/scim-hangul/PKGBUILD
index efe06e6db..55c85d91b 100644
--- a/extra/scim-hangul/PKGBUILD
+++ b/extra/scim-hangul/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2
pkgdesc='Korean input method module for SCIM'
url='http://www.scim-im.org/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libhangul' 'scim')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz"
'2012.patch')
diff --git a/extra/scim-hangul/unistd.patch b/extra/scim-hangul/unistd.patch
new file mode 100644
index 000000000..44ee7331c
--- /dev/null
+++ b/extra/scim-hangul/unistd.patch
@@ -0,0 +1,11 @@
+diff -ru scim-hangul-0.3.2.orig/src/scim_hangul_imengine.cpp scim-hangul-0.3.2/src/scim_hangul_imengine.cpp
+--- scim-hangul-0.3.2.orig/src/scim_hangul_imengine.cpp 2012-08-05 17:49:59.369710152 +0200
++++ scim-hangul-0.3.2/src/scim_hangul_imengine.cpp 2012-08-05 17:50:16.401614147 +0200
+@@ -34,6 +34,7 @@
+ #endif
+
+ #include <cstring>
++#include <unistd.h>
+ #include <scim.h>
+ #include "scim_hangul_imengine.h"
+
diff --git a/extra/scim-m17n/PKGBUILD b/extra/scim-m17n/PKGBUILD
index 85138a2c8..414ac7c1a 100644
--- a/extra/scim-m17n/PKGBUILD
+++ b/extra/scim-m17n/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=5
pkgdesc='Multilingual input method module for SCIM'
url='http://www.scim-im.org/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('scim' 'm17n-lib')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz")
sha1sums=('96172846eaa211d2bde0f76184990d13e5ecdaea')
diff --git a/extra/scim-pinyin/PKGBUILD b/extra/scim-pinyin/PKGBUILD
index 065c877ee..6fcca98c0 100644
--- a/extra/scim-pinyin/PKGBUILD
+++ b/extra/scim-pinyin/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.5.92
pkgrel=2
pkgdesc='Chinese pinyin input for SCIM'
url='http://www.scim-im.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('scim')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.xz")
diff --git a/extra/scim-tables/PKGBUILD b/extra/scim-tables/PKGBUILD
index e9a01a57a..cba955efe 100644
--- a/extra/scim-tables/PKGBUILD
+++ b/extra/scim-tables/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.5.13
pkgrel=1
pkgdesc='Generic table input method module for SCIM'
url='http://www.scim-im.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('scim')
makedepends=('intltool')
diff --git a/extra/scim-uim/PKGBUILD b/extra/scim-uim/PKGBUILD
index 89338e1a0..481102180 100644
--- a/extra/scim-uim/PKGBUILD
+++ b/extra/scim-uim/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc='UIM bridging input engine for SCIM'
url='http://www.scim-im.org/'
license=('GPL')
depends=('scim' 'uim')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz"
'fix-gcc43-build.patch'
'uim-1.5.5-header.patch')
diff --git a/extra/scim/PKGBUILD b/extra/scim/PKGBUILD
index 028c23d15..3d78e0397 100644
--- a/extra/scim/PKGBUILD
+++ b/extra/scim/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=5
pkgdesc='Input method user interface and development platform'
url='http://www.scim-im.org/projects/scim'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libltdl' 'gtk2')
optdepends=('qt4: qt4 immodule'
'gtk3: gtk3 immodule')
diff --git a/extra/screen/PKGBUILD b/extra/screen/PKGBUILD
index efeddd0c7..b84d7c8a2 100644
--- a/extra/screen/PKGBUILD
+++ b/extra/screen/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=screen
pkgver=4.0.3
-pkgrel=15
+pkgrel=15.1
_ptygroup=5 #the UID of our PTY/TTY group
pkgdesc="Full-screen window manager that multiplexes a physical terminal"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/screen/"
license=('GPL')
depends=('ncurses' 'pam')
diff --git a/extra/sdl_gfx/PKGBUILD b/extra/sdl_gfx/PKGBUILD
index f82cf49d5..4c20a897b 100644
--- a/extra/sdl_gfx/PKGBUILD
+++ b/extra/sdl_gfx/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdl_gfx
pkgver=2.0.24
pkgrel=2
pkgdesc="SDL Graphic Primitives"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx"
source=(http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${pkgver}.tar.gz)
@@ -17,7 +17,7 @@ md5sums=('838514185ff9a3b6377760aaa52fef8a')
build() {
cd SDL_gfx-${pkgver}
- if [ "${CARCH}" == "x86_64" ]; then
+ if [ "${CARCH}" != "i686" ]; then
./configure --prefix=/usr --disable-mmx
else
./configure --prefix=/usr
diff --git a/extra/sdl_image/PKGBUILD b/extra/sdl_image/PKGBUILD
index 72b484de6..5a2f1e061 100644
--- a/extra/sdl_image/PKGBUILD
+++ b/extra/sdl_image/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdl_image
pkgver=1.2.12
pkgrel=3
pkgdesc="A simple library to load images of various formats as SDL surfaces"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('sdl>=1.2.13' 'libpng' 'libjpeg>=7' 'libtiff' 'zlib')
url="http://www.libsdl.org/projects/SDL_image/"
diff --git a/extra/sdl_mixer/PKGBUILD b/extra/sdl_mixer/PKGBUILD
index 83e603ecd..354512c33 100644
--- a/extra/sdl_mixer/PKGBUILD
+++ b/extra/sdl_mixer/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=sdl_mixer
pkgver=1.2.12
-pkgrel=3
+pkgrel=3.1
pkgdesc="A simple multi-channel audio mixer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.libsdl.org/projects/SDL_mixer/"
license=('custom')
depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
diff --git a/extra/sdl_net/PKGBUILD b/extra/sdl_net/PKGBUILD
index 939347155..c7f0947e0 100644
--- a/extra/sdl_net/PKGBUILD
+++ b/extra/sdl_net/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=sdl_net
pkgver=1.2.8
-pkgrel=1
+pkgrel=1.1
pkgdesc="A small sample cross-platform networking library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.libsdl.org/projects/SDL_net/"
depends=('sdl')
diff --git a/extra/sdl_pango/PKGBUILD b/extra/sdl_pango/PKGBUILD
index 58387f9c8..7d9852a5f 100644
--- a/extra/sdl_pango/PKGBUILD
+++ b/extra/sdl_pango/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdl_pango
pkgver=0.1.2
pkgrel=5
pkgdesc="Pango SDL binding"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sdlpango.sourceforge.net/"
license=('LGPL')
depends=('pango' 'sdl')
diff --git a/extra/sdl_sound/PKGBUILD b/extra/sdl_sound/PKGBUILD
index 5986efaf6..70e492c00 100644
--- a/extra/sdl_sound/PKGBUILD
+++ b/extra/sdl_sound/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=sdl_sound
pkgver=1.0.3
-pkgrel=4
+pkgrel=4.1
pkgdesc="A library to decode several popular sound file formats, such as .WAV and .MP3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://icculus.org/SDL_sound/"
license=('LGPL')
depends=('sdl' 'libmikmod' 'libvorbis' 'flac' 'speex' 'smpeg')
diff --git a/extra/sdl_ttf/PKGBUILD b/extra/sdl_ttf/PKGBUILD
index bb945bb8e..bd0ae7ab2 100644
--- a/extra/sdl_ttf/PKGBUILD
+++ b/extra/sdl_ttf/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdl_ttf
pkgver=2.0.11
pkgrel=2
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.libsdl.org/projects/SDL_ttf/"
depends=('sdl>=1.2.12' 'freetype2')
diff --git a/extra/seahorse-nautilus/PKGBUILD b/extra/seahorse-nautilus/PKGBUILD
index 05b1a0d87..5df94a34c 100644
--- a/extra/seahorse-nautilus/PKGBUILD
+++ b/extra/seahorse-nautilus/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=seahorse-nautilus
pkgver=3.10.1
pkgrel=1
pkgdesc="PGP encryption and signing for nautilus"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://git.gnome.org/browse/seahorse-nautilus/"
license=('GPL')
depends=('libcryptui' 'gcr' 'nautilus')
diff --git a/extra/seahorse/PKGBUILD b/extra/seahorse/PKGBUILD
index 6a0f7a8f5..be11d5103 100644
--- a/extra/seahorse/PKGBUILD
+++ b/extra/seahorse/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=seahorse
pkgver=3.10.1
pkgrel=1
pkgdesc="GNOME application for managing PGP keys."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(GPL)
url="http://projects.gnome.org/seahorse/"
depends=(gtk3 gcr libsecret libsoup gpgme desktop-file-utils hicolor-icon-theme dconf)
@@ -24,6 +24,7 @@ sha256sums=('1df307481988c272d5648a335b2e8bb545b568a00c3f2ca2f3aa732badb46985'
build() {
cd "$pkgname-$pkgver"
+
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--enable-ldap --enable-hkp \
diff --git a/extra/seed/PKGBUILD b/extra/seed/PKGBUILD
index cd35b0df8..2dde53069 100644
--- a/extra/seed/PKGBUILD
+++ b/extra/seed/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=seed
pkgver=3.8.1
pkgrel=2
pkgdesc="Library and interpreter for JavaScript with GObject type system bindings."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Seed/"
license=('LGPL')
depends=('webkitgtk3' 'gobject-introspection' 'gnome-js-common' 'mpfr')
diff --git a/extra/serd/PKGBUILD b/extra/serd/PKGBUILD
index f191b5125..c80194539 100644
--- a/extra/serd/PKGBUILD
+++ b/extra/serd/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=serd
pkgver=0.18.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('glibc')
diff --git a/extra/serf/PKGBUILD b/extra/serf/PKGBUILD
index 46f93edf4..33e18236a 100644
--- a/extra/serf/PKGBUILD
+++ b/extra/serf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=serf
pkgver=1.3.1
pkgrel=2
pkgdesc="High-performance asynchronous HTTP client library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/serf/"
license=('Apache')
depends=('apr-util')
diff --git a/extra/setserial/PKGBUILD b/extra/setserial/PKGBUILD
index 590fa8003..d5a876d9a 100644
--- a/extra/setserial/PKGBUILD
+++ b/extra/setserial/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=setserial
pkgver=2.17
pkgrel=4
pkgdesc="Allows to change various attributes of a serial device"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://setserial.sourceforge.net/"
license=('GPL')
depends=('glibc')
diff --git a/extra/sg3_utils/PKGBUILD b/extra/sg3_utils/PKGBUILD
index 35ac783df..3e080c6fa 100644
--- a/extra/sg3_utils/PKGBUILD
+++ b/extra/sg3_utils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sg3_utils
pkgver=1.36
pkgrel=2
pkgdesc="Generic SCSI utilities"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://sg.danny.cz/sg/sg3_utils.html"
license=('GPL' 'custom:BSD')
depends=('glibc')
diff --git a/extra/shared-mime-info/PKGBUILD b/extra/shared-mime-info/PKGBUILD
index 014f72778..31b3f9b3e 100644
--- a/extra/shared-mime-info/PKGBUILD
+++ b/extra/shared-mime-info/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=shared-mime-info
pkgver=1.2
pkgrel=1
pkgdesc="Freedesktop.org Shared MIME Info"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxml2' 'glib2')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/sharutils/PKGBUILD b/extra/sharutils/PKGBUILD
index 5ada4dc19..1e646b89c 100644
--- a/extra/sharutils/PKGBUILD
+++ b/extra/sharutils/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Makes so-called shell archives out of many files'
url='http://www.gnu.org/software/sharutils/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('perl' 'gettext' 'texinfo')
source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('5d2d76caa6ee816202fb78395415bd863043d81b')
diff --git a/extra/signon/PKGBUILD b/extra/signon/PKGBUILD
index ef4dbf001..51d85f4e7 100644
--- a/extra/signon/PKGBUILD
+++ b/extra/signon/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=signon
pkgname=('signon' 'signon-doc')
pkgver=8.54
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/accounts-sso/"
license=('LGPL')
makedepends=('qt4' 'libproxy' 'doxygen' 'graphviz' 'ttf-font')
diff --git a/extra/sip/PKGBUILD b/extra/sip/PKGBUILD
index b4ebc5bf7..62040c654 100644
--- a/extra/sip/PKGBUILD
+++ b/extra/sip/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=sip
pkgname=('sip' 'python-sip' 'python2-sip')
pkgver=4.15.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.riverbankcomputing.com/software/sip/intro'
license=('custom:"sip"')
makedepends=('python' 'python2')
diff --git a/extra/slang/PKGBUILD b/extra/slang/PKGBUILD
index d2e18936f..c07fce792 100644
--- a/extra/slang/PKGBUILD
+++ b/extra/slang/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=slang
pkgver=2.2.4
pkgrel=3
pkgdesc="S-Lang is a powerful interpreted language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.jedsoft.org/slang/"
license=('GPL')
depends=('pcre' 'zlib')
diff --git a/extra/slim/PKGBUILD b/extra/slim/PKGBUILD
index 188d4c064..8fcf5c524 100644
--- a/extra/slim/PKGBUILD
+++ b/extra/slim/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=slim
pkgver=1.3.6
pkgrel=2
pkgdesc="Desktop-independent graphical login manager for X11"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://slim.berlios.de/"
license=('GPL2')
depends=('pam' 'libxmu' 'libpng' 'libjpeg' 'libxft' 'libxrandr' 'xorg-xauth')
diff --git a/extra/smartmontools/PKGBUILD b/extra/smartmontools/PKGBUILD
index 9c210c306..3f29ad702 100644
--- a/extra/smartmontools/PKGBUILD
+++ b/extra/smartmontools/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
url="http://smartmontools.sourceforge.net"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gcc-libs' 'libcap-ng' 'bash')
optdepends=('heirloom-mailx: to get mail alerts to work')
backup=('etc/smartd.conf'
diff --git a/extra/smb4k/PKGBUILD b/extra/smb4k/PKGBUILD
index 7def29f76..db21950eb 100644
--- a/extra/smb4k/PKGBUILD
+++ b/extra/smb4k/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=smb4k
pkgver=1.0.8
pkgrel=1
pkgdesc="A KDE program that browses samba shares"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://smb4k.sourceforge.net/"
license=('GPL')
depends=('kdebase-runtime')
diff --git a/extra/smpeg/PKGBUILD b/extra/smpeg/PKGBUILD
index b1ee4d558..bf502c9af 100644
--- a/extra/smpeg/PKGBUILD
+++ b/extra/smpeg/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=smpeg
pkgver=0.4.4
-pkgrel=7
+pkgrel=7.1
pkgdesc="SDL MPEG Player Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://icculus.org/smpeg/"
license=('LGPL')
depends=('sdl')
diff --git a/extra/smplayer/PKGBUILD b/extra/smplayer/PKGBUILD
index 941293f12..9cac6cdc8 100644
--- a/extra/smplayer/PKGBUILD
+++ b/extra/smplayer/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=smplayer
pkgver=0.8.6
pkgrel=1
pkgdesc="A complete front-end for MPlayer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('qt4' 'mplayer')
diff --git a/extra/snappy/PKGBUILD b/extra/snappy/PKGBUILD
index 59fa6489d..85e15cd87 100644
--- a/extra/snappy/PKGBUILD
+++ b/extra/snappy/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=snappy
pkgver=1.1.0
pkgrel=2
pkgdesc='A fast compressor/decompressor library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/snappy/"
license=('BSD')
depends=('glibc' 'gcc-libs')
diff --git a/extra/snarf/PKGBUILD b/extra/snarf/PKGBUILD
index 40c5a2294..cad336293 100644
--- a/extra/snarf/PKGBUILD
+++ b/extra/snarf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=snarf
pkgver=7.0
pkgrel=5
pkgdesc="Command-line URL retrieval tool (http/ftp/gopher)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xach.com/snarf/"
license=('GPL')
source=(http://www.xach.com/snarf/download/source/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/socat/PKGBUILD b/extra/socat/PKGBUILD
index 2ccdd166c..fd25d6b87 100644
--- a/extra/socat/PKGBUILD
+++ b/extra/socat/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Multipurpose relay'
url='http://www.dest-unreach.org/socat/'
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('readline' 'openssl')
source=("http://www.dest-unreach.org/socat/download/${pkgname}-${pkgver}.tar.gz")
sha1sums=('588294c17373d52a8ac877dcd599ef26f14b110b')
diff --git a/extra/sofia-sip/PKGBUILD b/extra/sofia-sip/PKGBUILD
index 08178864f..e8ee92732 100644
--- a/extra/sofia-sip/PKGBUILD
+++ b/extra/sofia-sip/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sofia-sip
pkgver=1.12.11
pkgrel=2
pkgdesc="An open-source SIP User-Agent library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sofia-sip.sourceforge.net"
options=('zipman')
license=('LGPL')
diff --git a/extra/sonata/PKGBUILD b/extra/sonata/PKGBUILD
index 90702e0e3..fcb0c2f4c 100644
--- a/extra/sonata/PKGBUILD
+++ b/extra/sonata/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sonata
pkgver=1.6.2.1
pkgrel=11
pkgdesc="Elegant GTK+ music client for MPD"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sonata.berlios.de/"
license=('GPL3')
depends=('pygtk' 'python2-mpd')
diff --git a/extra/soprano/PKGBUILD b/extra/soprano/PKGBUILD
index 05be0a0eb..f4aa76497 100644
--- a/extra/soprano/PKGBUILD
+++ b/extra/soprano/PKGBUILD
@@ -6,11 +6,12 @@ pkgname=soprano
pkgver=2.9.4
pkgrel=1
pkgdesc='A library which provides a highly usable object-oriented C++/Qt4 framework for RDF data'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://soprano.sourceforge.net/'
license=('GPL' 'LGPL')
depends=('qt4' 'libiodbc' 'virtuoso-base' 'redland')
-makedepends=('cmake' 'java-environment' 'doxygen')
+makedepends=('cmake' 'doxygen')
+[ "$CARCH" != "mips64el" ] && makedepends+=('java-environment')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('91413e5783efeee0beb747ea4c5c9ef0')
diff --git a/extra/sord/PKGBUILD b/extra/sord/PKGBUILD
index f9895597d..0f47e40d5 100644
--- a/extra/sord/PKGBUILD
+++ b/extra/sord/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sord
pkgver=0.12.0
pkgrel=1
pkgdesc="A lightweight C library for storing RDF data in memory"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://drobilla.net/software/sord/"
license=('custom:ISC')
depends=('serd' 'pcre')
diff --git a/extra/sound-juicer/PKGBUILD b/extra/sound-juicer/PKGBUILD
index 33230d96f..4b7584362 100644
--- a/extra/sound-juicer/PKGBUILD
+++ b/extra/sound-juicer/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sound-juicer
pkgver=3.5.0
pkgrel=2
pkgdesc="A cd ripper application"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
depends=(libmusicbrainz5 libdiscid gtk3 gst-plugins-base gst-plugins-good brasero hicolor-icon-theme gconf)
makedepends=(intltool gnome-doc-utils gnome-common)
diff --git a/extra/soundtouch/PKGBUILD b/extra/soundtouch/PKGBUILD
index 3a08c2944..b494e33c1 100644
--- a/extra/soundtouch/PKGBUILD
+++ b/extra/soundtouch/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=soundtouch
pkgver=1.7.1
pkgrel=1
pkgdesc="An audio processing library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.surina.net/soundtouch/"
license=('LGPL')
depends=('gcc-libs')
@@ -14,10 +14,16 @@ sha1sums=('8b1a461754853f9c7328571449b7f9b8bd578a89')
build() {
cd "${srcdir}/${pkgname}"
- [ "${CARCH}" = "x86_64" ] && CONFIGFLAG="--with-pic"
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac
./bootstrap
- ./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
+ case $CARCH in
+ i686)
+ ./configure --prefix=/usr --enable-shared
+ ;;
+ *)
+ ./configure --prefix=/usr --enable-shared --with-pic
+ ;;
+ esac
make
}
diff --git a/extra/soundtouch/disable-mmx.patch b/extra/soundtouch/disable-mmx.patch
new file mode 100644
index 000000000..11987059c
--- /dev/null
+++ b/extra/soundtouch/disable-mmx.patch
@@ -0,0 +1,115 @@
+diff -ru soundtouch.orig/source/SoundStretch/Makefile.am soundtouch/source/SoundStretch/Makefile.am
+--- soundtouch.orig/source/SoundStretch/Makefile.am 2012-02-22 20:51:33.240941439 +0100
++++ soundtouch/source/SoundStretch/Makefile.am 2012-02-22 20:52:25.936309597 +0100
+@@ -43,11 +43,5 @@
+ ## linker.
+ soundstretch_LDADD=../SoundTouch/libSoundTouch.la -lm
+
+-## linker flags
+-soundstretch_LDFLAGS=-s
+-
+-## additional compiler flags
+-soundstretch_CXXFLAGS=-O3
+-
+ #clean-local:
+ # -rm -f additional-files-to-remove-on-make-clean
+diff -ru soundtouch.orig/source/SoundTouch/FIRFilter.cpp soundtouch/source/SoundTouch/FIRFilter.cpp
+--- soundtouch.orig/source/SoundTouch/FIRFilter.cpp 2012-02-22 20:51:33.277196949 +0100
++++ soundtouch/source/SoundTouch/FIRFilter.cpp 2012-02-22 21:00:18.591437748 +0100
+@@ -229,32 +229,6 @@
+
+ FIRFilter * FIRFilter::newInstance()
+ {
+- uint uExtensions;
+-
+- uExtensions = detectCPUextensions();
+-
+- // Check if MMX/SSE instruction set extensions supported by CPU
+-
+-#ifdef SOUNDTOUCH_ALLOW_MMX
+- // MMX routines available only with integer sample types
+- if (uExtensions & SUPPORT_MMX)
+- {
+- return ::new FIRFilterMMX;
+- }
+- else
+-#endif // SOUNDTOUCH_ALLOW_MMX
+-
+-#ifdef SOUNDTOUCH_ALLOW_SSE
+- if (uExtensions & SUPPORT_SSE)
+- {
+- // SSE support
+- return ::new FIRFilterSSE;
+- }
+- else
+-#endif // SOUNDTOUCH_ALLOW_SSE
+-
+- {
+- // ISA optimizations not supported, use plain C version
+- return ::new FIRFilter;
+- }
++ // ISA optimizations not supported, use plain C version
++ return ::new FIRFilter;
+ }
+diff -ru soundtouch.orig/source/SoundTouch/Makefile.am soundtouch/source/SoundTouch/Makefile.am
+--- soundtouch.orig/source/SoundTouch/Makefile.am 2012-02-22 20:51:33.269140169 +0100
++++ soundtouch/source/SoundTouch/Makefile.am 2012-02-22 20:53:39.136212215 +0100
+@@ -30,16 +30,13 @@
+
+ lib_LTLIBRARIES=libSoundTouch.la
+ #
+-libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FIFOSampleBuffer.cpp mmx_optimized.cpp sse_optimized.cpp RateTransposer.cpp SoundTouch.cpp TDStretch.cpp cpu_detect_x86_gcc.cpp BPMDetect.cpp PeakFinder.cpp
++libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FIFOSampleBuffer.cpp RateTransposer.cpp SoundTouch.cpp TDStretch.cpp BPMDetect.cpp PeakFinder.cpp
+
+
+ # Note by authore: '-msse2' might not work in non-X86 compilations. If someone can
+ # fix this script to automatically check for CPU architecture, please submit a patch
+ # to me.
+ AM_CXXFLAGS = -fcheck-new -I../../include
+-mmx_optimized.lo : AM_CXXFLAGS = -mmmx -fcheck-new -I../../include
+-sse_optimized.lo : AM_CXXFLAGS = -msse -fcheck-new -I../../include
+-
+
+ # other linking flags to add
+ # noinst_LTLIBRARIES = libSoundTouchOpt.la
+diff -ru soundtouch.orig/source/SoundTouch/TDStretch.cpp soundtouch/source/SoundTouch/TDStretch.cpp
+--- soundtouch.orig/source/SoundTouch/TDStretch.cpp 2012-02-22 20:51:33.269140169 +0100
++++ soundtouch/source/SoundTouch/TDStretch.cpp 2012-02-22 20:59:57.756604035 +0100
+@@ -738,35 +738,8 @@
+
+ TDStretch * TDStretch::newInstance()
+ {
+- uint uExtensions;
+-
+- uExtensions = detectCPUextensions();
+-
+- // Check if MMX/SSE instruction set extensions supported by CPU
+-
+-#ifdef SOUNDTOUCH_ALLOW_MMX
+- // MMX routines available only with integer sample types
+- if (uExtensions & SUPPORT_MMX)
+- {
+- return ::new TDStretchMMX;
+- }
+- else
+-#endif // SOUNDTOUCH_ALLOW_MMX
+-
+-
+-#ifdef SOUNDTOUCH_ALLOW_SSE
+- if (uExtensions & SUPPORT_SSE)
+- {
+- // SSE support
+- return ::new TDStretchSSE;
+- }
+- else
+-#endif // SOUNDTOUCH_ALLOW_SSE
+-
+- {
+- // ISA optimizations not supported, use plain C version
+- return ::new TDStretch;
+- }
++ // ISA optimizations not supported, use plain C version
++ return ::new TDStretch;
+ }
+
+
diff --git a/extra/source-highlight/PKGBUILD b/extra/source-highlight/PKGBUILD
index 1cef97736..86b6509e0 100644
--- a/extra/source-highlight/PKGBUILD
+++ b/extra/source-highlight/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=source-highlight
pkgver=3.1.7
pkgrel=6
pkgdesc="Convert source code to syntax highlighted document"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/src-highlite/"
license=('GPL')
depends=('bash' 'boost-libs')
diff --git a/extra/sox/PKGBUILD b/extra/sox/PKGBUILD
index 8480e03fe..3db270472 100644
--- a/extra/sox/PKGBUILD
+++ b/extra/sox/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sox
pkgver=14.4.1
pkgrel=4
pkgdesc="The Swiss Army knife of sound processing tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sox.sourceforge.net/"
license=('GPL' 'LGPL')
depends=('libltdl' 'file' 'libsndfile' 'libpng' 'lame' 'opencore-amr' 'gsm')
@@ -27,7 +27,7 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
- --with-dyn-default --with-distro="Arch Linux"
+ --with-dyn-default --with-distro="Parabola"
make
}
diff --git a/extra/spamassassin/PKGBUILD b/extra/spamassassin/PKGBUILD
index d5699b83e..2344af353 100644
--- a/extra/spamassassin/PKGBUILD
+++ b/extra/spamassassin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=spamassassin
pkgver=3.3.2
pkgrel=9
pkgdesc="A mail filter to identify spam."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
url="http://spamassassin.apache.org"
depends=('openssl' 'zlib' 're2c' 'perl-net-dns' 'perl-io-socket-ssl'
diff --git a/extra/spandsp/PKGBUILD b/extra/spandsp/PKGBUILD
index f8f6501a8..cb0f64879 100644
--- a/extra/spandsp/PKGBUILD
+++ b/extra/spandsp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=spandsp
pkgver=0.0.6pre21
pkgrel=2
pkgdesc="A DSP library for telephony"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 mips64el)
license=('GPL')
url="http://www.soft-switch.org/"
depends=('libtiff')
diff --git a/extra/speech-dispatcher/PKGBUILD b/extra/speech-dispatcher/PKGBUILD
index 36eb479a4..7a2541d27 100644
--- a/extra/speech-dispatcher/PKGBUILD
+++ b/extra/speech-dispatcher/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=speech-dispatcher
pkgver=0.8
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="High-level device independent layer for speech synthesis interface"
url="http://www.freebsoft.org/speechd"
license=('GPL2' 'FDL')
diff --git a/extra/speex/PKGBUILD b/extra/speex/PKGBUILD
index 4e69ffb66..f3716a7ff 100644
--- a/extra/speex/PKGBUILD
+++ b/extra/speex/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=speex
pkgver=1.2rc1
pkgrel=4
pkgdesc="A free codec for free speech"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.speex.org/"
license=(BSD)
depends=(libogg)
diff --git a/extra/sqlite/PKGBUILD b/extra/sqlite/PKGBUILD
index 9aecd02d6..6cef631d0 100644
--- a/extra/sqlite/PKGBUILD
+++ b/extra/sqlite/PKGBUILD
@@ -3,14 +3,14 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase="sqlite"
-pkgname=('sqlite' 'sqlite-tcl' 'sqlite-doc')
+pkgname=('sqlite' 'sqlite-tcl')
_amalgamationver=3080100
_docver=${_amalgamationver}
#_docver=3080001
pkgver=3.8.1
pkgrel=2
pkgdesc="A C library that implements an SQL database engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:Public Domain')
url="http://www.sqlite.org/"
makedepends=('tcl' 'readline')
@@ -75,28 +75,3 @@ package_sqlite-tcl() {
install -m755 -d ${pkgdir}/usr/share/licenses
ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
}
-
-package_sqlite-doc() {
-
- pkgdesc="most of the static HTML files that comprise this website, including all of the SQL Syntax and the C/C++ interface specs and other miscellaneous documentation"
- #arch=('any') - not yet supported
- provides=("sqlite3-doc=$pkgver")
- replaces=("sqlite3-doc")
-
- #cd ${srcdir}/sqlite-doc-${_amalgamationver}
- cd ${srcdir}/sqlite-doc-${_docver}
- mkdir -p ${pkgdir}/usr/share/doc/${pkgbase}
- cp -R * ${pkgdir}/usr/share/doc/${pkgbase}/
-
- # fix permissions and remove obsolete files; https://bugs.archlinux.org/task/24605
- find ${pkgdir} -type f -perm 755 -exec ls -lha {} \;
- find ${pkgdir} -type f -perm 755 -exec chmod 644 {} \;
-
- find ${pkgdir} -type f -name '*~' -exec ls -lha {} \;
- find ${pkgdir} -type d -name '*~' -exec ls -lha {} \;
- find ${pkgdir} -name '*~' -exec rm -f {} \;
-
- find ${pkgdir} -type f -name '.~*' -exec ls -lha {} \; # /build/pkg/sqlite-doc/usr/share/doc/sqlite/images/fileformat/.~lock.indexpage.odg#
- find ${pkgdir} -type d -name '.~*' -exec ls -lha {} \;
- find ${pkgdir} -name '.~*' -exec rm -f {} \;
-}
diff --git a/extra/sratom/PKGBUILD b/extra/sratom/PKGBUILD
index c36012be5..09ae20b22 100644
--- a/extra/sratom/PKGBUILD
+++ b/extra/sratom/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sratom
pkgver=0.4.2
pkgrel=1
pkgdesc="An LV2 Atom RDF serialisation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://drobilla.net/software/sratom/"
license=('custom:ISC')
depends=('lv2' 'sord>=0.12.0')
diff --git a/extra/srm/PKGBUILD b/extra/srm/PKGBUILD
index 3ca27ff05..1ca84e154 100644
--- a/extra/srm/PKGBUILD
+++ b/extra/srm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=srm
pkgver=1.2.11
pkgrel=2
pkgdesc="A secure replacement for rm(1) that overwrites data before unlinking"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://srm.sourceforge.net/"
license=('custom')
depends=('glibc')
diff --git a/extra/sshfs/PKGBUILD b/extra/sshfs/PKGBUILD
index 6c18297ab..bd10b2413 100644
--- a/extra/sshfs/PKGBUILD
+++ b/extra/sshfs/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=sshfs
pkgver=2.4
-pkgrel=1
+pkgrel=1.1
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fuse.sourceforge.net/sshfs.html"
license=('GPL')
depends=('fuse' 'glib2' 'openssh')
diff --git a/extra/ssmtp/PKGBUILD b/extra/ssmtp/PKGBUILD
index 77820cd8f..ac9cbcf75 100644
--- a/extra/ssmtp/PKGBUILD
+++ b/extra/ssmtp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ssmtp
pkgver=2.64
pkgrel=5
pkgdesc="Extremely simple MTA to get mail off the system to a mailhub"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://packages.debian.org/stable/mail/ssmtp"
depends=('openssl' 'inetutils')
diff --git a/extra/startup-notification/PKGBUILD b/extra/startup-notification/PKGBUILD
index 3ff1f896b..e313e51b3 100644
--- a/extra/startup-notification/PKGBUILD
+++ b/extra/startup-notification/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=startup-notification
pkgver=0.12
pkgrel=4
pkgdesc="Monitor and display application startup"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('libx11' 'xcb-util>=0.3.9')
url="http://www.freedesktop.org"
diff --git a/extra/stellarium/PKGBUILD b/extra/stellarium/PKGBUILD
index a8b080bad..7186133f0 100644
--- a/extra/stellarium/PKGBUILD
+++ b/extra/stellarium/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=stellarium
pkgver=0.12.4
pkgrel=1
pkgdesc="A stellarium with great graphics and a nice database of sky-objects"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://stellarium.free.fr/"
license=('GPL2')
depends=('libpng' 'glu' 'libgl' 'freetype2' 'qt4' 'openssl' 'desktop-file-utils'
diff --git a/extra/strace/PKGBUILD b/extra/strace/PKGBUILD
index 487446796..3cb8d7ddf 100644
--- a/extra/strace/PKGBUILD
+++ b/extra/strace/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=strace
pkgver=4.8
pkgrel=1
pkgdesc="A useful diagnositic, instructional, and debugging tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/strace/"
license=('custom')
depends=('perl')
diff --git a/extra/streamripper/PKGBUILD b/extra/streamripper/PKGBUILD
index 534334022..6f7315850 100644
--- a/extra/streamripper/PKGBUILD
+++ b/extra/streamripper/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=streamripper
pkgver=1.64.6
pkgrel=2
pkgdesc="Records and splits streaming mp3 into tracks"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://streamripper.sourceforge.net"
license=('GPL')
depends=('glib2' 'libmad' 'faad2' 'libvorbis')
@@ -15,7 +15,7 @@ sha1sums=('bc8a8d3ad045e0772ca691d2063c39efcc0dca45')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --build=$CHOST
make
}
diff --git a/extra/strigi/PKGBUILD b/extra/strigi/PKGBUILD
index 16119cacb..b78bd338a 100644
--- a/extra/strigi/PKGBUILD
+++ b/extra/strigi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=strigi
pkgver=0.7.8
pkgrel=4
pkgdesc="Fast crawling desktop search engine with Qt GUI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://strigi.sourceforge.net/'
license=('GPL2')
depends=('dbus' 'exiv2' 'libxml2' 'bzip2')
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD
index 481afd445..d0bc12d08 100644
--- a/extra/subversion/PKGBUILD
+++ b/extra/subversion/PKGBUILD
@@ -8,12 +8,13 @@ pkgname=subversion
pkgver=1.8.3
pkgrel=1
pkgdesc="A Modern Concurrent Version Control System"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://subversion.apache.org/"
license=('APACHE')
depends=('sqlite' 'file' 'serf' 'systemd')
-makedepends=('apache' 'python2' 'perl' 'swig' 'java-runtime' 'java-environment'
+makedepends=('apache' 'python2' 'perl' 'swig'
'libgnome-keyring' 'kdelibs' 'ruby')
+[ "$CARCH" != "mips64el" ] && makedepends+=('java-runtime' 'java-environment')
optdepends=('libgnome-keyring: for GNOME Keyring for auth credentials'
'kdeutils-kwallet: for KWallet for auth credentials'
'bash-completion: for svn bash completion'
@@ -47,17 +48,20 @@ prepare() {
build() {
cd ${pkgname}-${pkgver}
export PYTHON=/usr/bin/python2
+ [ "$CARCH" = "mips64el" ] && extraconf="--disable-javahl"
./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr \
--with-zlib=/usr --with-serf=/usr --with-apxs \
--with-sqlite=/usr --with-berkeley-db=:/usr/include/:/usr/lib:db-5.3 \
--enable-javahl --with-gnome-keyring --with-kwallet \
--with-apache-libexecdir=/usr/lib/httpd/modules \
--with-ruby-sitedir=/usr/lib/ruby/vendor_ruby \
- --disable-static
+ --disable-static $extraconf
make LT_LDFLAGS="-L$Fdestdir/usr/lib"
make swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
- swig_pydir_extra=/usr/lib/python2.7/site-packages/svn swig-py swig-pl javahl swig-rb
+ swig_pydir_extra=/usr/lib/python2.7/site-packages/svn swig-py swig-pl swig-rb
+
+ [ "$CARCH" = "mips64el" ] || make javahl
}
#check() {
@@ -73,7 +77,9 @@ package() {
make DESTDIR="${pkgdir}" INSTALLDIRS=vendor \
swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
swig_pydir_extra=/usr/lib/python2.7/site-packages/svn \
- install install-swig-py install-swig-pl install-javahl install-swig-rb
+ install install-swig-py install-swig-pl install-swig-rb
+
+ [ "$CARCH" = "mips64el" ] || make install-javahl
install -dm755 "${pkgdir}"/usr/share/subversion
cp -a tools/hook-scripts "${pkgdir}"/usr/share/subversion/
diff --git a/extra/suil/PKGBUILD b/extra/suil/PKGBUILD
index 8290fdac8..b2e94ba4b 100644
--- a/extra/suil/PKGBUILD
+++ b/extra/suil/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=suil
pkgver=0.6.16
pkgrel=1
pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://drobilla.net/software/suil/"
license=('custom:ISC')
depends=('lv2>=1.6.0')
diff --git a/extra/suitesparse/PKGBUILD b/extra/suitesparse/PKGBUILD
index 4e570f3a5..81bc936a3 100644
--- a/extra/suitesparse/PKGBUILD
+++ b/extra/suitesparse/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.2.1
pkgrel=1
pkgdesc="A collection of sparse matrix libraries"
url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
conflicts=('umfpack')
provides=('umfpack')
replaces=('umfpack')
diff --git a/extra/sushi/PKGBUILD b/extra/sushi/PKGBUILD
index ea3b761fc..ed805f0d9 100644
--- a/extra/sushi/PKGBUILD
+++ b/extra/sushi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sushi
pkgver=3.10.0
pkgrel=1
pkgdesc="A quick previewer for Nautilus"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL2')
groups=(gnome)
diff --git a/extra/sweep/PKGBUILD b/extra/sweep/PKGBUILD
index 0cc3698c7..3c0647115 100644
--- a/extra/sweep/PKGBUILD
+++ b/extra/sweep/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=sweep
pkgver=0.9.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="Sound editing and mixing program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.metadecks.org/software/sweep/"
license=('GPL2')
depends=('gtk2' 'libsamplerate' 'libmad' 'libvorbis' 'alsa-lib' 'speex')
diff --git a/extra/swell-foop/PKGBUILD b/extra/swell-foop/PKGBUILD
index c0d94e611..0c252a135 100644
--- a/extra/swell-foop/PKGBUILD
+++ b/extra/swell-foop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=swell-foop
pkgver=3.10.1
pkgrel=1
pkgdesc="Clear the screen by removing groups of colored and shaped tiles"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'clutter-gtk' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/swh-plugins/PKGBUILD b/extra/swh-plugins/PKGBUILD
index 50685f19a..5e3314f4d 100644
--- a/extra/swh-plugins/PKGBUILD
+++ b/extra/swh-plugins/PKGBUILD
@@ -7,11 +7,11 @@ pkgname=swh-plugins
pkgver=0.4.15
pkgrel=5
pkgdesc="Steve Harris' LADSPA plug-ins suite"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://plugin.org.uk/"
license=('GPL')
depends=('fftw' 'ladspa')
-makedepends=('libxml2')
+makedepends=('libxml2' 'perl-xml-parser')
groups=('ladspa-plugins')
source=("http://plugin.org.uk/releases/$pkgver/$pkgname-$pkgver.tar.gz"
'mbeq_crash_fix.patch')
@@ -23,9 +23,9 @@ build() {
# Arch64 fix;
# -fPIC seems to be the only option
- if [ "$CARCH" = 'x86_64' ]; then
+ if [ "$CARCH" != 'i686' ]; then
export CFLAGS="$CFLAGS -fPIC"
- export CXXFLAGS="$CFLAGS"
+ export CXXFLAGS="$CXXFLAGS -fPIC"
fi
# fix Firefox crash on x64 when
diff --git a/extra/swig/PKGBUILD b/extra/swig/PKGBUILD
index 235a74225..f145fb1e6 100644
--- a/extra/swig/PKGBUILD
+++ b/extra/swig/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=swig
pkgver=2.0.11
pkgrel=1
pkgdesc="Generate scripting interfaces to C/C++ code"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.swig.org/"
license=('custom')
depends=('zlib' 'pcre')
diff --git a/extra/system-config-printer/PKGBUILD b/extra/system-config-printer/PKGBUILD
index ad1c62a8d..a798f6ed6 100644
--- a/extra/system-config-printer/PKGBUILD
+++ b/extra/system-config-printer/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.4.2
pkgrel=1
pkgdesc="A CUPS printer configuration tool and status applet"
url="http://cyberelk.net/tim/software/system-config-printer/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('pycups' 'python2-dbus' 'pysmbc' 'python2-pycurl' 'dbus-glib'
'gnome-icon-theme' 'python2-notify' 'python2-gobject' 'gtk3')
diff --git a/extra/t1lib/PKGBUILD b/extra/t1lib/PKGBUILD
index 0e40c7abc..251c98d9c 100644
--- a/extra/t1lib/PKGBUILD
+++ b/extra/t1lib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=t1lib
pkgver=5.1.2
pkgrel=4
pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html"
license=('GPL')
depends=('libxaw')
diff --git a/extra/taglib-extras/PKGBUILD b/extra/taglib-extras/PKGBUILD
index 23080ec64..912406c06 100644
--- a/extra/taglib-extras/PKGBUILD
+++ b/extra/taglib-extras/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=taglib-extras
pkgver=1.0.1
pkgrel=2
pkgdesc="Additional taglib plugins for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://developer.kde.org/~wheeler/taglib.html"
license=('LGPL')
depends=('taglib>=1.6')
diff --git a/extra/taglib/PKGBUILD b/extra/taglib/PKGBUILD
index c1f52e425..dcfb6d191 100644
--- a/extra/taglib/PKGBUILD
+++ b/extra/taglib/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=taglib
pkgver=1.9.1
pkgrel=1
pkgdesc="A Library for reading and editing the meta-data of several popular audio formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://developer.kde.org/~wheeler/taglib.html"
license=('LGPL' 'MPL')
depends=('sh' 'zlib' 'gcc-libs')
diff --git a/extra/tali/PKGBUILD b/extra/tali/PKGBUILD
index 0724791a5..ddeb7113c 100644
--- a/extra/tali/PKGBUILD
+++ b/extra/tali/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tali
pkgver=3.10.0
pkgrel=1
pkgdesc="Beat the odds in a poker-style dice game"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'hicolor-icon-theme' 'gtk3' 'librsvg')
makedepends=('intltool' 'itstool' 'gobject-introspection')
diff --git a/extra/talloc/PKGBUILD b/extra/talloc/PKGBUILD
index 90e4faa7d..fff399c50 100644
--- a/extra/talloc/PKGBUILD
+++ b/extra/talloc/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=talloc
pkgver=2.0.8
pkgrel=2
pkgdesc="Hierarchical pool based memory allocator with destructors"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://talloc.samba.org/"
depends=('glibc')
diff --git a/extra/tamu-anova/PKGBUILD b/extra/tamu-anova/PKGBUILD
index 5db605b48..d6a14160f 100644
--- a/extra/tamu-anova/PKGBUILD
+++ b/extra/tamu-anova/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tamu-anova
pkgver=0.2.1
pkgrel=2
pkgdesc="ANOVA Extensions to the GNU Scientific Library"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://www.stat.tamu.edu/~aredd/tamuanova/"
license=('GPL')
depends=('gsl')
diff --git a/extra/tcl/PKGBUILD b/extra/tcl/PKGBUILD
index 0b73c22fe..70dd07dfc 100644
--- a/extra/tcl/PKGBUILD
+++ b/extra/tcl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tcl
pkgver=8.6.1
pkgrel=1
pkgdesc="The Tcl scripting language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tcl.sourceforge.net/"
license=('custom')
depends=('zlib')
diff --git a/extra/tcpdump/PKGBUILD b/extra/tcpdump/PKGBUILD
index 9fe48df7c..c7a65c864 100644
--- a/extra/tcpdump/PKGBUILD
+++ b/extra/tcpdump/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tcpdump
pkgver=4.4.0
pkgrel=2
pkgdesc="A tool for network monitoring and data acquisition"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.tcpdump.org"
license=('BSD')
depends=('libpcap' 'openssl')
diff --git a/extra/tdb/PKGBUILD b/extra/tdb/PKGBUILD
index bfc8dfd2d..23e93d60a 100644
--- a/extra/tdb/PKGBUILD
+++ b/extra/tdb/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=tdb
pkgver=1.2.12
pkgrel=1
pkgdesc="A Trivial Database similar to GDBM but allows simultaneous commits"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL3')
url="http://tdb.samba.org/"
source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/telepathy-farstream/PKGBUILD b/extra/telepathy-farstream/PKGBUILD
index 5b5777368..7f258a543 100644
--- a/extra/telepathy-farstream/PKGBUILD
+++ b/extra/telepathy-farstream/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-farstream
pkgver=0.6.0
pkgrel=1
pkgdesc="A telepathy-backend to use stream engine."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://telepathy.freedesktop.org"
license=('LGPL2.1')
depends=('telepathy-glib' 'farstream')
diff --git a/extra/telepathy-gabble/PKGBUILD b/extra/telepathy-gabble/PKGBUILD
index 96eb4705b..b5ed216dd 100644
--- a/extra/telepathy-gabble/PKGBUILD
+++ b/extra/telepathy-gabble/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-gabble
pkgver=0.18.1
pkgrel=2
pkgdesc="A Jabber/XMPP connection manager for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL2.1')
diff --git a/extra/telepathy-glib/PKGBUILD b/extra/telepathy-glib/PKGBUILD
index dea1911a4..4320149c4 100644
--- a/extra/telepathy-glib/PKGBUILD
+++ b/extra/telepathy-glib/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=telepathy-glib
pkgver=0.22.0
pkgrel=1
pkgdesc="GLib bindings for the Telepathy D-Bus protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
license=('LGPL2.1')
options=('!emptydirs')
diff --git a/extra/telepathy-haze/PKGBUILD b/extra/telepathy-haze/PKGBUILD
index 84767e9ed..92172f940 100644
--- a/extra/telepathy-haze/PKGBUILD
+++ b/extra/telepathy-haze/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-haze
pkgver=0.8.0
pkgrel=1
pkgdesc="A telepathy-backend to use libpurple (Pidgin) protocols."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
license=('GPL')
depends=('telepathy-glib' 'libpurple')
diff --git a/extra/telepathy-idle/PKGBUILD b/extra/telepathy-idle/PKGBUILD
index f5aa963d2..47ca43df5 100644
--- a/extra/telepathy-idle/PKGBUILD
+++ b/extra/telepathy-idle/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=telepathy-idle
pkgver=0.2.0
pkgrel=1
pkgdesc="An IRC connection manager for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
diff --git a/extra/telepathy-kde-accounts-kcm/PKGBUILD b/extra/telepathy-kde-accounts-kcm/PKGBUILD
index 83799c3ec..7d6b77f3d 100644
--- a/extra/telepathy-kde-accounts-kcm/PKGBUILD
+++ b/extra/telepathy-kde-accounts-kcm/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-accounts-kcm
pkgver=0.7.0
pkgrel=1
pkgdesc="KCM Module for configuring Telepathy Instant Messaging Accounts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'telepathy-kde-contact-list')
diff --git a/extra/telepathy-kde-approver/PKGBUILD b/extra/telepathy-kde-approver/PKGBUILD
index a2ca351fe..aa1b49953 100644
--- a/extra/telepathy-kde-approver/PKGBUILD
+++ b/extra/telepathy-kde-approver/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-approver
pkgver=0.7.0
pkgrel=1
pkgdesc="KDE Channel Approver for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'telepathy-kde-contact-list')
diff --git a/extra/telepathy-kde-auth-handler/PKGBUILD b/extra/telepathy-kde-auth-handler/PKGBUILD
index 520a9cf75..16362720e 100644
--- a/extra/telepathy-kde-auth-handler/PKGBUILD
+++ b/extra/telepathy-kde-auth-handler/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-auth-handler
pkgver=0.7.0
pkgrel=1
pkgdesc="Provide UI/KWallet Integration For Passwords and SSL Errors on Account Connect"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'qjson' 'qca-ossl' 'libaccounts-qt' 'signon')
diff --git a/extra/telepathy-kde-common-internals/PKGBUILD b/extra/telepathy-kde-common-internals/PKGBUILD
index 17d1154cd..1258d21f3 100644
--- a/extra/telepathy-kde-common-internals/PKGBUILD
+++ b/extra/telepathy-kde-common-internals/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-common-internals
pkgver=0.7.0
pkgrel=1
pkgdesc="Common components for KDE-Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('libkpeople' 'telepathy-logger-qt' 'telepathy-mission-control')
diff --git a/extra/telepathy-kde-contact-list/PKGBUILD b/extra/telepathy-kde-contact-list/PKGBUILD
index 03d4ab079..60d53dd55 100644
--- a/extra/telepathy-kde-contact-list/PKGBUILD
+++ b/extra/telepathy-kde-contact-list/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-contact-list
pkgver=0.7.0
pkgrel=1
pkgdesc="Telepathy contact list application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'kdebase-runtime')
diff --git a/extra/telepathy-kde-contact-runner/PKGBUILD b/extra/telepathy-kde-contact-runner/PKGBUILD
index 3bd877ccc..ed999f9a5 100644
--- a/extra/telepathy-kde-contact-runner/PKGBUILD
+++ b/extra/telepathy-kde-contact-runner/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-contact-runner
pkgver=0.7.0
pkgrel=1
pkgdesc="KRunner plugin for KDE Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals')
diff --git a/extra/telepathy-kde-desktop-applets/PKGBUILD b/extra/telepathy-kde-desktop-applets/PKGBUILD
index 998dcaa2f..50b216a0c 100644
--- a/extra/telepathy-kde-desktop-applets/PKGBUILD
+++ b/extra/telepathy-kde-desktop-applets/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-desktop-applets
pkgver=0.7.0
pkgrel=1
pkgdesc="The KDE-Telepathy Plasma desktop applets"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'kdebase-workspace')
diff --git a/extra/telepathy-kde-filetransfer-handler/PKGBUILD b/extra/telepathy-kde-filetransfer-handler/PKGBUILD
index 23718aa01..346aa35e1 100644
--- a/extra/telepathy-kde-filetransfer-handler/PKGBUILD
+++ b/extra/telepathy-kde-filetransfer-handler/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-filetransfer-handler
pkgver=0.7.0
pkgrel=1
pkgdesc="Telepathy file transfer handler"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals')
diff --git a/extra/telepathy-kde-integration-module/PKGBUILD b/extra/telepathy-kde-integration-module/PKGBUILD
index 1f3ece5e5..bb212eb14 100644
--- a/extra/telepathy-kde-integration-module/PKGBUILD
+++ b/extra/telepathy-kde-integration-module/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-kded-integration-module
pkgver=0.7.0
pkgrel=1
pkgdesc="Sits in KDED and takes care of various bits of system integration like setting user to auto-away or handling connection errors"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals')
diff --git a/extra/telepathy-kde-send-file/PKGBUILD b/extra/telepathy-kde-send-file/PKGBUILD
index 15564ff47..423d5b2bd 100644
--- a/extra/telepathy-kde-send-file/PKGBUILD
+++ b/extra/telepathy-kde-send-file/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-send-file
pkgver=0.7.0
pkgrel=1
pkgdesc="A File manager plugin to launch a file transfer job with a specified contact"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-filetransfer-handler' 'telepathy-kde-contact-list')
diff --git a/extra/telepathy-kde-text-ui/PKGBUILD b/extra/telepathy-kde-text-ui/PKGBUILD
index ab5148fed..f086be5e9 100644
--- a/extra/telepathy-kde-text-ui/PKGBUILD
+++ b/extra/telepathy-kde-text-ui/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-text-ui
pkgver=0.7.0
pkgrel=1
pkgdesc="Telepathy handler for Text Chats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-contact-list' 'telepathy-logger-qt')
diff --git a/extra/telepathy-logger-qt/PKGBUILD b/extra/telepathy-logger-qt/PKGBUILD
index afe4ebc98..031a5f0fd 100644
--- a/extra/telepathy-logger-qt/PKGBUILD
+++ b/extra/telepathy-logger-qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-logger-qt
pkgver=0.8.0
pkgrel=1
pkgdesc="Qt bindings for telepathy logger"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/extragear/network/telepathy/telepathy-logger-qt'
license=('GPL')
depends=('telepathy-qt' 'telepathy-logger' 'qt-gstreamer')
diff --git a/extra/telepathy-logger/PKGBUILD b/extra/telepathy-logger/PKGBUILD
index c7e6a69d4..a44ddb98a 100644
--- a/extra/telepathy-logger/PKGBUILD
+++ b/extra/telepathy-logger/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=telepathy-logger
pkgver=0.8.0
pkgrel=1
pkgdesc="Telepathy framework logging daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://telepathy.freedesktop.org/wiki/Logger"
license=('LGPL2.1')
depends=('telepathy-glib' 'sqlite' 'libxml2' 'dconf')
diff --git a/extra/telepathy-mission-control/PKGBUILD b/extra/telepathy-mission-control/PKGBUILD
index 63d050690..73c4e93c8 100644
--- a/extra/telepathy-mission-control/PKGBUILD
+++ b/extra/telepathy-mission-control/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=telepathy-mission-control
pkgver=5.16.0
pkgrel=1
pkgdesc="A Telepathy component providing abstraction of some of the details of connection managers."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org/wiki/Mission Control"
license=('LGPL2.1')
depends=('telepathy-glib' 'libgnome-keyring' 'dconf' 'upower' 'networkmanager')
diff --git a/extra/telepathy-qt/PKGBUILD b/extra/telepathy-qt/PKGBUILD
index 3182d9e2d..671efdab3 100644
--- a/extra/telepathy-qt/PKGBUILD
+++ b/extra/telepathy-qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-qt
pkgver=0.9.3
pkgrel=7
pkgdesc="A library for Qt-based Telepathy clients"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org/wiki/"
license=('LGPL')
depends=('qt4' 'telepathy-farstream' 'gstreamer0.10-base')
diff --git a/extra/telepathy-rakia/PKGBUILD b/extra/telepathy-rakia/PKGBUILD
index 4dd4bf5bc..35f14853e 100644
--- a/extra/telepathy-rakia/PKGBUILD
+++ b/extra/telepathy-rakia/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-rakia
pkgver=0.8.0
pkgrel=1
pkgdesc="SIP connection manager for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
license=('LGPL')
depends=('telepathy-glib' 'sofia-sip')
diff --git a/extra/telepathy-salut/PKGBUILD b/extra/telepathy-salut/PKGBUILD
index e031f7da4..d52a2e1d3 100644
--- a/extra/telepathy-salut/PKGBUILD
+++ b/extra/telepathy-salut/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-salut
pkgver=0.8.1
pkgrel=1
pkgdesc="A link-local XMPP connection manager for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
diff --git a/extra/testdisk/PKGBUILD b/extra/testdisk/PKGBUILD
index 6f21c9d27..b3ee6b030 100644
--- a/extra/testdisk/PKGBUILD
+++ b/extra/testdisk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=testdisk
pkgver=6.14
pkgrel=1
pkgdesc="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cgsecurity.org/index.html?testdisk.html"
license=('GPL')
depends=('libjpeg' 'openssl' 'progsreiserfs' 'ntfsprogs')
diff --git a/extra/tevent/PKGBUILD b/extra/tevent/PKGBUILD
index fac6d2aea..82c199ad0 100644
--- a/extra/tevent/PKGBUILD
+++ b/extra/tevent/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=tevent
pkgver=0.9.18
pkgrel=1
pkgdesc="An event system based on the talloc memory management library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://tevent.samba.org/"
source=("http://samba.org/ftp/tevent/${pkgname}-${pkgver}.tar.gz")
license=('GPL3')
diff --git a/extra/texmacs/PKGBUILD b/extra/texmacs/PKGBUILD
index 461730a8f..8ae557e05 100644
--- a/extra/texmacs/PKGBUILD
+++ b/extra/texmacs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=texmacs
pkgver=1.0.7.19
pkgrel=2
pkgdesc="Free scientific text editor, inspired by TeX and GNU Emacs. WYSIWYG editor TeX-fonts and CAS-interface (Giac, GTybalt, Macaulay 2, Maxima, Octave, Pari, Qcl, R and Yacas) in one."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.texmacs.org/"
license=('GPL')
depends=('perl' 'guile1.8' 'texlive-core' 'python2' 'libxext' 'freetype2' 'shared-mime-info'
@@ -35,6 +35,9 @@ build() {
sed -i '/update-mime-database/d' Makefile.in
sed -i '/gtk-update-icon-cache/d' Makefile.in
sed -i '\/icons\/gnome 2>\/dev\/null/d' Makefile.in
+
+ # Unused i386 binary making strip fail.
+ rm plugins/maxima/bin/maxima_filter
export QMAKE=qmake-qt4
export MOC=moc-qt4
diff --git a/extra/tftp-hpa/PKGBUILD b/extra/tftp-hpa/PKGBUILD
index 9d2733395..ca202c1bc 100644
--- a/extra/tftp-hpa/PKGBUILD
+++ b/extra/tftp-hpa/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tftp-hpa
pkgver=5.2
pkgrel=4
pkgdesc="Official tftp server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/software/network/tftp/tftp-hpa/"
license=('BSD')
depends=('readline>=6.0.00')
diff --git a/extra/thinkfinger/PKGBUILD b/extra/thinkfinger/PKGBUILD
index 0470552b0..5e82da674 100644
--- a/extra/thinkfinger/PKGBUILD
+++ b/extra/thinkfinger/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=0.3
pkgrel=7
pkgdesc="A driver for the SGS Thomson Microelectronics fingerprint reader found in most IBM/Lenovo ThinkPads"
url="http://thinkfinger.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=("GPL")
depends=('pam' 'libusb-compat')
options=('emptydirs')
diff --git a/extra/thunar-archive-plugin/PKGBUILD b/extra/thunar-archive-plugin/PKGBUILD
index 7b21e0ec2..d2b7defc2 100644
--- a/extra/thunar-archive-plugin/PKGBUILD
+++ b/extra/thunar-archive-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar-archive-plugin
pkgver=0.3.1
pkgrel=2
pkgdesc="Create and extract archives in Thunar"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/thunar-media-tags-plugin/PKGBUILD b/extra/thunar-media-tags-plugin/PKGBUILD
index 3dab7835f..70a890bab 100644
--- a/extra/thunar-media-tags-plugin/PKGBUILD
+++ b/extra/thunar-media-tags-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar-media-tags-plugin
pkgver=0.2.1
pkgrel=1
pkgdesc="Adds special features for media files to the Thunar File Manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-media-tags-plugin"
groups=('xfce4-goodies')
diff --git a/extra/thunar-volman/PKGBUILD b/extra/thunar-volman/PKGBUILD
index f9a3a5fe5..e775d244d 100644
--- a/extra/thunar-volman/PKGBUILD
+++ b/extra/thunar-volman/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar-volman
pkgver=0.8.0
pkgrel=1
pkgdesc="Automatic management of removeable devices in Thunar"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://foo-projects.org/~benny/projects/thunar-volman"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/thunar/PKGBUILD b/extra/thunar/PKGBUILD
index 21a794363..ad4c50162 100644
--- a/extra/thunar/PKGBUILD
+++ b/extra/thunar/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar
pkgver=1.6.3
pkgrel=1
pkgdesc="Modern file manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://thunar.xfce.org"
license=('GPL2' 'LGPL2.1')
groups=('xfce4')
diff --git a/extra/tidyhtml/PKGBUILD b/extra/tidyhtml/PKGBUILD
index 958210b0a..22b02a1e0 100644
--- a/extra/tidyhtml/PKGBUILD
+++ b/extra/tidyhtml/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=tidyhtml
pkgver=1.46
pkgrel=3
pkgdesc="A tool to tidy down your HTML code to a clean style"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tidy.sourceforge.net/"
license=('custom')
depends=('glibc')
diff --git a/extra/time/PKGBUILD b/extra/time/PKGBUILD
index bfb999c58..09d9d15c2 100644
--- a/extra/time/PKGBUILD
+++ b/extra/time/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=time
pkgver=1.7
pkgrel=7
pkgdesc="Utility for monitoring a program's use of system resources"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/directory/time.html"
license=('GPL')
depends=('glibc')
diff --git a/extra/timidity++/PKGBUILD b/extra/timidity++/PKGBUILD
index a948629e6..151d036f4 100644
--- a/extra/timidity++/PKGBUILD
+++ b/extra/timidity++/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=timidity++
pkgver=2.14.0
pkgrel=5
pkgdesc="A MIDI to WAVE converter and player"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://timidity.sourceforge.net"
license=('GPL')
depends=('libao' 'jack')
diff --git a/extra/tinycdb/PKGBUILD b/extra/tinycdb/PKGBUILD
index 2e803febd..5467ce5ff 100644
--- a/extra/tinycdb/PKGBUILD
+++ b/extra/tinycdb/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Very fast and simple package for creating and reading constant data bases'
url='http://www.corpit.ru/mjt/tinycdb.html'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://www.corpit.ru/mjt/tinycdb/${pkgname}-${pkgver}.tar.gz")
sha1sums=('ade42ee1e7c56f66a63cb933206c089b9983adba')
diff --git a/extra/tk/PKGBUILD b/extra/tk/PKGBUILD
index c8dc7bf0c..bd5f87744 100644
--- a/extra/tk/PKGBUILD
+++ b/extra/tk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tk
pkgver=8.6.1
pkgrel=1
pkgdesc="A windowing toolkit for use with tcl"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tcl.sourceforge.net/"
license=('custom')
depends=("tcl=${pkgver}" 'libxss' 'libxft')
diff --git a/extra/totem-plparser/PKGBUILD b/extra/totem-plparser/PKGBUILD
index d89f8dbf8..7dea33a64 100644
--- a/extra/totem-plparser/PKGBUILD
+++ b/extra/totem-plparser/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2
url="http://www.gnome.org"
pkgdesc="Totem playlist parser library"
license=('LGPL')
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('gmime' 'libsoup' 'libarchive')
makedepends=('intltool' 'gobject-introspection' 'libquvi')
optdepends=('libquvi: video site handling (Youtube etc.)')
diff --git a/extra/totem/PKGBUILD b/extra/totem/PKGBUILD
index 0a8c7df14..284578699 100644
--- a/extra/totem/PKGBUILD
+++ b/extra/totem/PKGBUILD
@@ -8,13 +8,14 @@ pkgver=3.10.1
pkgrel=1
pkgdesc="GNOME3 movie player based on GStreamer"
url="http://www.gnome.org"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL2 custom)
depends=(gst-plugins-base gst-plugins-good totem-plparser desktop-file-utils iso-codes libpeas
hicolor-icon-theme gnome-icon-theme gsettings-desktop-schemas dconf clutter-gst
clutter-gtk python-gobject python-xdg gst-plugins-bad)
makedepends=(intltool libnautilus-extension lirc-utils vala grilo dbus-glib zeitgeist
itstool docbook-xsl python-pylint)
+[ "$CARCH" != "mips64el" ] && makedepends+=('lirc-utils')
options=('!emptydirs')
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
browser-plugins.ini bugreport.patch)
diff --git a/extra/tracker/PKGBUILD b/extra/tracker/PKGBUILD
index 52107dde6..7cc1868a5 100644
--- a/extra/tracker/PKGBUILD
+++ b/extra/tracker/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=0.16.3
_tver=${pkgver%.*}
pkgrel=1
pkgdesc="All-in-one indexer, search tool and metadata database"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
makedepends=(libgee libsecret upower libexif exempi
poppler-glib libgsf icu enca networkmanager gtk3
diff --git a/extra/transcode/PKGBUILD b/extra/transcode/PKGBUILD
index 1b07e0912..20d49318e 100644
--- a/extra/transcode/PKGBUILD
+++ b/extra/transcode/PKGBUILD
@@ -8,7 +8,7 @@ _sripver=0.3-4
pkgver=1.1.7
pkgrel=12
pkgdesc="A video/DVD ripper and encoder for the terminal/console"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tcforge.berlios.de/"
license=('GPL')
depends=('gawk' 'imagemagick' 'lzo2' 'libdvdread' 'ffmpeg' 'mjpegtools'
diff --git a/extra/transfig/PKGBUILD b/extra/transfig/PKGBUILD
index bd73bf55b..fb25f29d8 100644
--- a/extra/transfig/PKGBUILD
+++ b/extra/transfig/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=transfig
pkgver=3.2.5e
pkgrel=1
pkgdesc="Format conversion utility that can be used with xfig"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfig.org"
license=('custom')
depends=('libpng' 'libxpm' 'bc')
diff --git a/extra/transmission/PKGBUILD b/extra/transmission/PKGBUILD
index af7b4e93f..836b49468 100644
--- a/extra/transmission/PKGBUILD
+++ b/extra/transmission/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=transmission
pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
pkgver=2.82
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.transmissionbt.com/"
license=('MIT')
makedepends=('gtk3' 'intltool' 'curl' 'qt5-base' 'libevent')
diff --git a/extra/trayer/PKGBUILD b/extra/trayer/PKGBUILD
index 3e3a6aaf4..d9a8e1259 100644
--- a/extra/trayer/PKGBUILD
+++ b/extra/trayer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=trayer
pkgver=1.0
pkgrel=7
pkgdesc="A lightweight GTK2-based systray"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://gna.org/projects/fvwm-crystal/"
license=('GPL' 'MIT')
depends=('gtk2')
diff --git a/extra/tree/PKGBUILD b/extra/tree/PKGBUILD
index b718ec3ed..c17f97b38 100644
--- a/extra/tree/PKGBUILD
+++ b/extra/tree/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=tree
pkgver=1.6.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A directory listing program displaying a depth indented list of files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mama.indstate.edu/users/ice/tree/"
license=('GPL')
depends=('glibc')
diff --git a/extra/tsocks/PKGBUILD b/extra/tsocks/PKGBUILD
index 6b5aec3f2..19bfbfbfd 100644
--- a/extra/tsocks/PKGBUILD
+++ b/extra/tsocks/PKGBUILD
@@ -7,13 +7,14 @@ pkgrel=6
pkgdesc='Transparent SOCKS proxying library'
url='http://tsocks.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('489f88c5df999ba21b27cdaa7836d9426d062aec')
build() {
cd "${srcdir}/${pkgname}-1.8"
- ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib \
+ --build=$CHOST --host=$CHOST
make
}
diff --git a/extra/tumbler/PKGBUILD b/extra/tumbler/PKGBUILD
index 72e26070c..af38e2b03 100644
--- a/extra/tumbler/PKGBUILD
+++ b/extra/tumbler/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=tumbler
pkgver=0.1.29
pkgrel=1
pkgdesc="D-Bus service for applications to request thumbnails"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2' 'LGPL')
groups=('xfce4')
diff --git a/extra/tuxpuck/PKGBUILD b/extra/tuxpuck/PKGBUILD
index 20791a80c..edbcbe3b4 100644
--- a/extra/tuxpuck/PKGBUILD
+++ b/extra/tuxpuck/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tuxpuck
pkgver=0.8.2
pkgrel=6
pkgdesc="Airhockey with tux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://home.no.net/munsuun/tuxpuck/"
license=('GPL2')
depends=('libjpeg' 'sdl' 'libpng' 'libvorbis')
diff --git a/extra/twisted/PKGBUILD b/extra/twisted/PKGBUILD
index 1ad8c45d3..9dc4e570f 100644
--- a/extra/twisted/PKGBUILD
+++ b/extra/twisted/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=twisted
pkgver=13.1.0
pkgrel=1
pkgdesc="Asynchronous networking framework written in Python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://twistedmatrix.com/"
license=('MIT')
depends=('python2-crypto' 'python2-zope-interface')
diff --git a/extra/ucommon/PKGBUILD b/extra/ucommon/PKGBUILD
index f88f7cc21..1902c97d9 100644
--- a/extra/ucommon/PKGBUILD
+++ b/extra/ucommon/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ucommon
pkgver=6.0.7
pkgrel=2
pkgdesc="A light-weight C++ library to facilitate using C++ design patterns"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnutelephony.org/index.php/GNU_uCommon_C++"
license=('GPL3' 'LGPL3')
depends=('openssl')
diff --git a/extra/udisks/PKGBUILD b/extra/udisks/PKGBUILD
index 08ab09073..7b5ddcf2b 100644
--- a/extra/udisks/PKGBUILD
+++ b/extra/udisks/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=udisks
pkgver=1.0.4
pkgrel=8
pkgdesc="Disk Management Service"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL')
depends=('systemd' 'util-linux' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof')
diff --git a/extra/udisks2/PKGBUILD b/extra/udisks2/PKGBUILD
index e1b1528a8..253a31df4 100644
--- a/extra/udisks2/PKGBUILD
+++ b/extra/udisks2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=udisks2
pkgver=2.1.1
pkgrel=3
pkgdesc="Disk Management Service, version 2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL2')
depends=('glib2' 'systemd' 'polkit' 'libatasmart' 'util-linux')
diff --git a/extra/uim/PKGBUILD b/extra/uim/PKGBUILD
index 386667bf5..f111a1b8e 100644
--- a/extra/uim/PKGBUILD
+++ b/extra/uim/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2
pkgdesc='Multilingual input method library'
url='http://code.google.com/p/uim/'
license=('custom:BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxft' 'libedit' 'anthy' 'm17n-lib')
makedepends=('intltool' 'gettext' 'qt4' 'gtk2' 'gtk3')
optdepends=('qt4: immodule and helper applications'
@@ -34,7 +34,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ make -j1 DESTDIR="${pkgdir}" install
rm "${pkgdir}"/usr/lib/libgcroots.a
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
diff --git a/extra/unison/PKGBUILD b/extra/unison/PKGBUILD
index c92284689..f5d0bf067 100644
--- a/extra/unison/PKGBUILD
+++ b/extra/unison/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=unison
pkgver=2.40.102
pkgrel=1
pkgdesc="Unison is a file-synchronization tool"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://www.cis.upenn.edu/~bcpierce/unison"
depends=('glibc')
diff --git a/extra/unixodbc/PKGBUILD b/extra/unixodbc/PKGBUILD
index 9f1ab59c8..da109776e 100644
--- a/extra/unixodbc/PKGBUILD
+++ b/extra/unixodbc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=unixodbc
pkgver=2.3.2
pkgrel=1
pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'LGPL2.1')
url="http://www.unixodbc.org/"
backup=('etc/odbc.ini' 'etc/odbcinst.ini')
diff --git a/extra/upower/PKGBUILD b/extra/upower/PKGBUILD
index 891dacb42..15586e6ad 100644
--- a/extra/upower/PKGBUILD
+++ b/extra/upower/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=upower
pkgver=0.9.23
pkgrel=2
pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://upower.freedesktop.org"
license=('GPL')
depends=('systemd-tools' 'libsystemd' 'libusb' 'polkit' 'dbus-glib' 'libimobiledevice')
diff --git a/extra/usbmuxd/PKGBUILD b/extra/usbmuxd/PKGBUILD
index beb49de32..92176aa3b 100644
--- a/extra/usbmuxd/PKGBUILD
+++ b/extra/usbmuxd/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.0.8
pkgrel=2
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'GPL3' 'LGPL2.1')
depends=('libusb' 'libplist')
makedepends=('cmake')
diff --git a/extra/v4l-utils/PKGBUILD b/extra/v4l-utils/PKGBUILD
index dec180c63..d7a85848c 100644
--- a/extra/v4l-utils/PKGBUILD
+++ b/extra/v4l-utils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=v4l-utils
pkgver=1.0.0
pkgrel=2
pkgdesc="Userspace tools and conversion library for Video 4 Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freshmeat.net/projects/libv4l"
provides=("libv4l=$pkgver")
replaces=('libv4l')
diff --git a/extra/v86d/PKGBUILD b/extra/v86d/PKGBUILD
index 96304c84d..e336788a2 100644
--- a/extra/v86d/PKGBUILD
+++ b/extra/v86d/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=v86d
pkgver=0.1.10
pkgrel=5
pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="https://github.com/mjanusz/v86d"
license=('GPL2')
depends=('glibc')
diff --git a/extra/vala/PKGBUILD b/extra/vala/PKGBUILD
index ad04afdb1..f1a689a05 100644
--- a/extra/vala/PKGBUILD
+++ b/extra/vala/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vala
pkgver=0.22.0
pkgrel=1
pkgdesc="Compiler for the GObject type system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Vala"
license=('LGPL')
depends=('glib2')
diff --git a/extra/vamp-plugin-sdk/PKGBUILD b/extra/vamp-plugin-sdk/PKGBUILD
index 13989211a..bc6751e26 100644
--- a/extra/vamp-plugin-sdk/PKGBUILD
+++ b/extra/vamp-plugin-sdk/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.5
_dir=690
pkgrel=1
pkgdesc="The Vamp audio analysis plug-in system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.vamp-plugins.org/"
license=('BSD')
depends=('gcc-libs' 'libsndfile')
diff --git a/extra/varnish/PKGBUILD b/extra/varnish/PKGBUILD
index 1b7237f43..537dae473 100644
--- a/extra/varnish/PKGBUILD
+++ b/extra/varnish/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=varnish
pkgver=3.0.4
pkgrel=2
pkgdesc="High-performance HTTP accelerator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.varnish-cache.org/"
license=('BSD')
depends=('gcc' 'libedit' 'pcre')
diff --git a/extra/vcdimager/PKGBUILD b/extra/vcdimager/PKGBUILD
index efcfdae64..c31bd530a 100644
--- a/extra/vcdimager/PKGBUILD
+++ b/extra/vcdimager/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vcdimager
pkgver=0.7.24
pkgrel=4
pkgdesc="A full-featured mastering suite for authoring disassembling and analyzing Video CD's and Super Video CD's"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.vcdimager.org/"
license=('GPL')
depends=('libcdio' 'libxml2' 'popt')
diff --git a/extra/vde2/PKGBUILD b/extra/vde2/PKGBUILD
index 403ad5e34..e109ccd4d 100644
--- a/extra/vde2/PKGBUILD
+++ b/extra/vde2/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=5
pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
url="http://sourceforge.net/projects/vde/"
license=("GPL" "LGPL" "CUSTOM")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('bash' 'libpcap' 'openssl')
makedepends=('python')
source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2
diff --git a/extra/vice/PKGBUILD b/extra/vice/PKGBUILD
index 8f8a11e8f..e4fa0f68c 100644
--- a/extra/vice/PKGBUILD
+++ b/extra/vice/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vice
pkgver=2.4
pkgrel=4
pkgdesc="The Versatile Commodore 8-bit Emulator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.viceteam.org/"
depends=('alsa-lib' 'giflib' 'libxxf86vm' 'vte' 'libnet' 'libpcap')
diff --git a/extra/vigra/PKGBUILD b/extra/vigra/PKGBUILD
index 304d3f905..3f1c3e15b 100644
--- a/extra/vigra/PKGBUILD
+++ b/extra/vigra/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=vigra
pkgname=('vigra' 'vigra-doc')
pkgver=1.9.0
pkgrel=7
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hci.iwr.uni-heidelberg.de/vigra/"
license=('custom:MIT')
makedepends=(# runtime deps
diff --git a/extra/vim/PKGBUILD b/extra/vim/PKGBUILD
index dff83232c..a2fba37ca 100644
--- a/extra/vim/PKGBUILD
+++ b/extra/vim/PKGBUILD
@@ -11,7 +11,7 @@ __hgrev=d17ef148ada4
_versiondir="vim${_topver//./}"
pkgver=${_topver}.${_patchlevel}
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:vim')
url="http://www.vim.org"
makedepends=('gpm' 'python2' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2' 'lua')
@@ -74,7 +74,7 @@ build() {
--prefix=/usr \
--localstatedir=/var/lib/vim \
--with-features=huge \
- --with-compiledby='Arch Linux' \
+ --with-compiledby=Parabola \
--enable-gpm \
--enable-acl \
--with-x=no \
@@ -96,7 +96,7 @@ build() {
--prefix=/usr \
--localstatedir=/var/lib/vim \
--with-features=huge \
- --with-compiledby='Arch Linux' \
+ --with-compiledby=Parabola \
--enable-gpm \
--enable-acl \
--with-x=yes \
diff --git a/extra/vinagre/PKGBUILD b/extra/vinagre/PKGBUILD
index 9e81c1a64..474e69271 100644
--- a/extra/vinagre/PKGBUILD
+++ b/extra/vinagre/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=vinagre
pkgver=3.10.1
pkgrel=1
pkgdesc="A VNC Client for the GNOME Desktop"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
url="http://www.gnome.org/projects/vinagre/"
install=vinagre.install
diff --git a/extra/vino/PKGBUILD b/extra/vino/PKGBUILD
index 1861cab1f..28686520c 100644
--- a/extra/vino/PKGBUILD
+++ b/extra/vino/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vino
pkgver=3.10.1
pkgrel=1
pkgdesc="a VNC server for the GNOME desktop"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
depends=(libnotify libxtst libsm telepathy-glib gtk3 libsecret avahi desktop-file-utils)
makedepends=(intltool networkmanager gnome-common)
diff --git a/extra/virtuoso/PKGBUILD b/extra/virtuoso/PKGBUILD
index b098d36e5..0f4f4e2f7 100644
--- a/extra/virtuoso/PKGBUILD
+++ b/extra/virtuoso/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('virtuoso' 'virtuoso-base')
epoch=1
pkgver=6.1.7
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://virtuoso.openlinksw.com/wiki/main/Main/'
license=('GPL')
makedepends=('libldap' 'bison' 'flex' 'gperf' 'net-tools' 'libxml2' 'optipng')
diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD
index 4de4e840a..d091bb6e8 100644
--- a/extra/vlc/PKGBUILD
+++ b/extra/vlc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=vlc
pkgver=2.1.0
pkgrel=5
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.videolan.org/vlc/"
license=('LGPL2.1' 'GPL2')
depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt4' 'libproxy'
@@ -15,26 +15,28 @@ depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt4' 'libproxy'
'zvbi' 'taglib' 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp'
'libshout' 'libmad' 'libmpeg2' 'xcb-util-keysyms')
makedepends=('live-media' 'libnotify' 'libbluray' 'flac' 'kdelibs'
- 'libdc1394' 'libavc1394' 'lirc-utils' 'libcaca'
- 'librsvg' 'portaudio' 'libgme' 'xosd' 'projectm'
+ 'libdc1394' 'libavc1394' 'libcaca'
+ 'librsvg' 'portaudio' 'libgme' 'xosd'
'twolame' 'aalib' 'libmtp' 'libdvdcss' 'gnome-vfs'
'libgoom2' 'libtar' 'vcdimager' 'opus' 'libssh2' 'mesa')
+[ "$CARCH" = "mips64el" ] || makedepends+=('lirc-utils' 'projectm')
optdepends=('avahi: for service discovery using bonjour protocol'
'libnotify: for notification plugin'
'ncurses: for ncurses interface support'
- 'libdvdcss: for decoding encrypted DVDs'
- 'lirc-utils: for lirc plugin'
- 'libavc1394: for devices using the 1394ta AV/C'
+ 'libdvdcss: for decoding encrypted DVDs')
+[ "$CARCH" = "mips64el" ] || optdepends+=('lirc-utils: for lirc plugin')
+optdepends+=('libavc1394: for devices using the 1394ta AV/C'
'libdc1394: for IEEE 1394 plugin'
- 'kdelibs: KDE Solid hardware integration'
- 'libva-vdpau-driver: vdpau back-end for nvidia'
- 'libva-intel-driver: back-end for intel cards'
- 'libbluray: for Blu-Ray support'
- 'flac: for Free Lossless Audio Codec plugin'
- 'portaudio: for portaudio support'
- 'twolame: for TwoLAME mpeg2 encoder plugin'
- 'projectm: for ProjectM visualisation plugin'
- 'libcaca: for colored ASCII art video output'
+ 'kdelibs: KDE Solid hardware integration')
+[ "$CARCH" = "mips64el" ] || optdepends+=('libva-vdpau-driver: vdpau back-end for nvidia'
+ 'libva-driver-intel: back-end for intel cards')
+optdepends+=('libbluray: for Blu-Ray support'
+ 'flac: for Free Lossless Audio Codec plugin')
+[ "$CARCH" = "mips64el" ] || optdepends+=('oss: for OSS audio support')
+optdepends+=('portaudio: for portaudio support'
+ 'twolame: for TwoLAME mpeg2 encoder plugin')
+[ "$CARCH" = "mips64el" ] || optdepends+=('projectm: for ProjectM visualisation plugin')
+optdepends+=('libcaca: for colored ASCII art video output'
'libgme: for libgme plugin'
'librsvg: for SVG plugin'
'gnome-vfs: for GNOME Virtual File System support'
@@ -72,6 +74,7 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${pkgver/.a}"
+ [ "$CARCH" = "mips64el" ] && extraconf="--disable-lirc"
CFLAGS+="-I/usr/include/samba-4.0" CPPFLAGS+="-I/usr/include/samba-4.0" \
./configure --prefix=/usr \
--sysconfdir=/etc \
@@ -88,6 +91,7 @@ build() {
--enable-upnp \
--enable-opus \
--enable-sftp \
+ $extraconf \
LUAC=luac5.1 \
RCC=/usr/bin/rcc-qt4
diff --git a/extra/vorbis-tools/PKGBUILD b/extra/vorbis-tools/PKGBUILD
index 7b54e44d6..7c9b87fcb 100644
--- a/extra/vorbis-tools/PKGBUILD
+++ b/extra/vorbis-tools/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=vorbis-tools
pkgver=1.4.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="Extra tools for Ogg-Vorbis"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.xiph.org/vorbis/'
license=('GPL2')
depends=('libao' 'libvorbis' 'curl' 'flac')
diff --git a/extra/vpnc/PKGBUILD b/extra/vpnc/PKGBUILD
index 45d6b28e1..b9f449d4a 100644
--- a/extra/vpnc/PKGBUILD
+++ b/extra/vpnc/PKGBUILD
@@ -12,7 +12,7 @@ url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
license=('GPL')
depends=('libgcrypt' 'openssl' 'iproute2')
optdepends=('openresolv: Let vpnc manage resolv.conf')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
"http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/$_git:/vpnc-script"
'vpnc.conf')
diff --git a/extra/vte/PKGBUILD b/extra/vte/PKGBUILD
index 95324bdf3..da983b0b3 100644
--- a/extra/vte/PKGBUILD
+++ b/extra/vte/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=vte
pkgver=0.28.2
-pkgrel=3
+pkgrel=3.2
pkgdesc="Virtual Terminal Emulator widget for use with GTK2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
options=('!emptydirs')
depends=('gtk2' 'vte-common')
diff --git a/extra/vte3/PKGBUILD b/extra/vte3/PKGBUILD
index 0732cf476..8bff41b9d 100644
--- a/extra/vte3/PKGBUILD
+++ b/extra/vte3/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(vte3 vte-common)
pkgver=0.34.9
pkgrel=1
pkgdesc="Virtual Terminal Emulator widget for use with GTK3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
options=('!emptydirs')
makedepends=('intltool' 'gobject-introspection' 'gtk3')
diff --git a/extra/w3m/GC_set_warn_proc.patch b/extra/w3m/GC_set_warn_proc.patch
new file mode 100644
index 000000000..a679c8d23
--- /dev/null
+++ b/extra/w3m/GC_set_warn_proc.patch
@@ -0,0 +1,12 @@
+--- main.c.orig 2011-09-07 17:30:01.181808262 +0200
++++ main.c 2011-09-07 17:30:52.833808484 +0200
+@@ -833,7 +833,8 @@
+ mySignal(SIGPIPE, SigPipe);
+ #endif
+
+- orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
++ orig_GC_warn_proc = GC_get_warn_proc();
++ GC_set_warn_proc(wrap_GC_warn_proc);
+ err_msg = Strnew();
+ if (load_argc == 0) {
+ /* no URL specified */
diff --git a/extra/w3m/PKGBUILD b/extra/w3m/PKGBUILD
index 407b696dc..8f522c943 100644
--- a/extra/w3m/PKGBUILD
+++ b/extra/w3m/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=w3m
pkgver=0.5.3
-pkgrel=4
+pkgrel=4.1
pkgdesc='Text-based Web browser, as well as pager'
url='http://w3m.sourceforge.net/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('imlib2')
optdepends=('imlib2: for graphics support')
depends=('openssl' 'gc' 'ncurses')
@@ -35,8 +35,7 @@ build() {
--with-imagelib=imlib2 \
--with-termlib=ncurses \
--disable-w3mmailer \
- --disable-mouse \
-
+ --disable-mouse
make
}
diff --git a/extra/watchdog/PKGBUILD b/extra/watchdog/PKGBUILD
index 802d06d87..560eb2945 100644
--- a/extra/watchdog/PKGBUILD
+++ b/extra/watchdog/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=watchdog
pkgver=5.13
pkgrel=2
pkgdesc="Watchdog daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://sourceforge.net/projects/watchdog"
license=('GPL')
depends=('glibc')
diff --git a/extra/wavpack/PKGBUILD b/extra/wavpack/PKGBUILD
index 37f4b5764..7f7cfbaf2 100644
--- a/extra/wavpack/PKGBUILD
+++ b/extra/wavpack/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wavpack
pkgver=4.70.0
pkgrel=2
pkgdesc="Audio compression format with lossless, lossy and hybrid compression modes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.wavpack.com/"
license=('BSD')
depends=('glibc')
@@ -14,7 +14,8 @@ sha1sums=('7bf2022c988c19067196ee1fdadc919baacf46d1')
build() {
cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --libdir=/usr/lib --enable-mmx
+ [ "$CARCH" = "mips64el" ] || extra=--enable-mmx
+ ./configure --prefix=/usr --libdir=/usr/lib --enable-mmx $extra
make
}
diff --git a/extra/wayland/PKGBUILD b/extra/wayland/PKGBUILD
index 4729cd6b2..2928796cf 100644
--- a/extra/wayland/PKGBUILD
+++ b/extra/wayland/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=wayland
pkgver=1.3.0
pkgrel=1
pkgdesc='A computer display server protocol'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://wayland.freedesktop.org'
license=('MIT')
depends=('libffi' 'expat')
diff --git a/extra/wcslib/PKGBUILD b/extra/wcslib/PKGBUILD
index c70dd0211..142469968 100644
--- a/extra/wcslib/PKGBUILD
+++ b/extra/wcslib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wcslib
pkgver=4.19
pkgrel=1
pkgdesc="A C library that implements the 'World Coordinate System' (WCS) standard in FITS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/"
license=('GPL3')
depends=('cfitsio')
@@ -32,7 +32,7 @@ package() {
install -d "${pkgdir}"/usr/include/${pkgname}-${pkgver}
cd $pkgname-$pkgver
- make DESTDIR="$pkgdir/" install
+ make -j1 DESTDIR="$pkgdir/" install
# Fix wrong permissions
chmod g=rx,-s "${pkgdir}"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/}
diff --git a/extra/webkitgtk/0001-https-bugs.webkit.org-show_bug.cgi-id-112141.patch b/extra/webkitgtk/0001-https-bugs.webkit.org-show_bug.cgi-id-112141.patch
new file mode 100644
index 000000000..49eb83223
--- /dev/null
+++ b/extra/webkitgtk/0001-https-bugs.webkit.org-show_bug.cgi-id-112141.patch
@@ -0,0 +1,64 @@
+Without ChangeLog change.
+
+From 7ba6eb5405cb66c97398f8cdb6d5f9e919ba6131 Mon Sep 17 00:00:00 2001
+From: "rgabor@webkit.org"
+ <rgabor@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
+Date: Tue, 12 Mar 2013 15:28:10 +0000
+Subject: [PATCH] https://bugs.webkit.org/show_bug.cgi?id=112141 LLInt CLoop
+ backend misses Double2Ints() on 32bit architectures
+
+Reviewed by Filip Pizlo.
+
+Implement Double2Ints() in CLoop backend of LLInt on 32bit architectures.
+
+* llint/LowLevelInterpreter.cpp:
+(LLInt):
+(JSC::LLInt::Double2Ints):
+* offlineasm/cloop.rb:
+
+
+git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+---
+ Source/JavaScriptCore/ChangeLog | 14 ++++++++++++++
+ Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 11 +++++++++++
+ Source/JavaScriptCore/offlineasm/cloop.rb | 2 +-
+ 3 files changed, 26 insertions(+), 1 deletion(-)
+
+diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+index d3c73b0..186c659 100644
+--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
++++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
+@@ -117,6 +117,17 @@ static double Ints2Double(uint32_t lo, uint32_t hi)
+ u.ival64 = (static_cast<uint64_t>(hi) << 32) | lo;
+ return u.dval;
+ }
++
++static void Double2Ints(double val, uint32_t& lo, uint32_t& hi)
++{
++ union {
++ double dval;
++ uint64_t ival64;
++ } u;
++ u.dval = val;
++ hi = static_cast<uint32_t>(u.ival64 >> 32);
++ lo = static_cast<uint32_t>(u.ival64);
++}
+ #endif // USE(JSVALUE32_64)
+
+ } // namespace LLint
+diff --git a/Source/JavaScriptCore/offlineasm/cloop.rb b/Source/JavaScriptCore/offlineasm/cloop.rb
+index 14cacb9..f6bd552 100644
+--- a/Source/JavaScriptCore/offlineasm/cloop.rb
++++ b/Source/JavaScriptCore/offlineasm/cloop.rb
+@@ -1025,7 +1025,7 @@ class Instruction
+ # 32-bit instruction: f2dii dblOp int32LoOp int32HiOp (based on ARMv7)
+ # Encode a 64-bit double into 2 32-bit ints (low and high).
+ when "fd2ii"
+- $asm.putc "Double2Ints(#{operands[0].clValue(:double)}, #{operands[1].clValue}, #{operands[2].clValue});"
++ $asm.putc "Double2Ints(#{operands[0].clValue(:double)}, #{operands[1].clValue(:uint32)}, #{operands[2].clValue(:uint32)});"
+
+ # 64-bit instruction: fq2d int64Op dblOp (based on X64)
+ # Copy a bit-encoded double in a 64-bit int register to a double register.
+--
+1.8.2.1
+
diff --git a/extra/webkitgtk/PKGBUILD b/extra/webkitgtk/PKGBUILD
index 4fb64d9b0..e5e2a4eb0 100644
--- a/extra/webkitgtk/PKGBUILD
+++ b/extra/webkitgtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=webkitgtk
pkgver=2.2.0
pkgrel=2
pkgdesc="GTK+ Web content engine library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://webkitgtk.org/"
license=(custom)
depends=(libxt libxslt sqlite libsoup enchant libgl geoclue gtk3 gst-plugins-base-libs
@@ -19,11 +19,39 @@ options=(!emptydirs)
source=(http://webkitgtk.org/releases/$pkgname-${pkgver}.tar.xz)
sha256sums=('84902e3255dcc6efa1298c8a1f2d2a49674126dcacea383f309aeed9e734d538')
+prepare() {
+ cd $pkgbase-$pkgver
+
+ if [ "$CARCH" = "mips64el" ]; then
+ # Fix MIPS N32 support.
+ sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
+ Source/WTF/wtf/Platform.h
+ # Don't enable JIT even if configure finds that it's not supported.
+ sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \
+ Source/WTF/wtf/Platform.h
+ fi
+
+ # Won't be made before files there.
+ mkdir -p Programs/resources
+}
+
build() {
cd $pkgname-$pkgver
+
+ if [ "$CARCH" = "mips64el" ]; then
+ # Optimizations make it segfault when running; without
+ # -mlong-calls R_MIPS_26 relocations will be used and truncated.
+ # Disable unneeded arch-specific warnings.
+ export CPPFLAGS="${CPPFLAGS/-D_FORTIFY_SOURCE=[0-9]} -Wno-cast-align"
+ export CFLAGS="${CFLAGS/-O[0-9]} -mlong-calls"
+ export CXXFLAGS="${CXXFLAGS/-O[0-9]} -mlong-calls"
+ extra="--disable-fast-malloc --disable-optimizations"
+ fi
+
./configure --prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
- --enable-introspection
+ --enable-introspection \
+ ${extra}
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
diff --git a/extra/webkitgtk2/PKGBUILD b/extra/webkitgtk2/PKGBUILD
index 7ac1d56aa..e2e8aa1b6 100644
--- a/extra/webkitgtk2/PKGBUILD
+++ b/extra/webkitgtk2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=webkitgtk2
pkgver=1.10.2
pkgrel=8
pkgdesc="GTK+ Web content engine library for GTK+ 2.0"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://webkitgtk.org/"
license=(custom)
depends=(libxt libxslt sqlite libsoup enchant libgl geoclue gtk2 gstreamer0.10-base
@@ -32,12 +32,27 @@ build() {
# Suppress a *lot* of gcc 4.8 warnings
CPPFLAGS+=" -Wno-unused-local-typedefs"
+ if [ "$CARCH" = "mips64el" ]; then
+ # Fix MIPS N32 support.
+ sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
+ Source/WTF/wtf/Platform.h
+ # Don't enable JIT even if configure finds that it's not supported.
+ sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \
+ Source/WTF/wtf/Platform.h
+
+# --disable-optimizations will add -O0
+ export CFLAGS="${CFLAGS/-O[0-9]}"
+
+ extra="--disable-fast-malloc --disable-optimizations"
+ fi
+
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--enable-introspection \
--disable-webkit2 \
--with-gstreamer=0.10 \
- --with-gtk=2.0
+ --with-gtk=2.0 \
+ $extra
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
diff --git a/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch b/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
new file mode 100644
index 000000000..93a3d098a
--- /dev/null
+++ b/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
@@ -0,0 +1,24 @@
+From 6480b6b44e376cbec2d8e4499692573a3861e003 Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd@luon.net>
+Date: Sat, 19 May 2012 21:52:09 +0200
+Subject: [PATCH] Don't error or set options for unknown architectures
+
+---
+ src/typedefs.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/typedefs.h b/src/typedefs.h
+index 6620550..774905b 100644
+--- a/src/typedefs.h
++++ b/src/typedefs.h
+@@ -77,7 +77,6 @@
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_LITTLE_ENDIAN
+ #else
+-#error Please add support for your architecture in typedefs.h
+ #endif
+
+ #if defined(__SSE2__) || defined(_MSC_VER)
+--
+1.7.10
+
diff --git a/extra/webrtc-audio-processing/PKGBUILD b/extra/webrtc-audio-processing/PKGBUILD
index 299adac16..58bdf6e9c 100644
--- a/extra/webrtc-audio-processing/PKGBUILD
+++ b/extra/webrtc-audio-processing/PKGBUILD
@@ -3,18 +3,24 @@
pkgname=webrtc-audio-processing
pkgver=0.1
-pkgrel=1
+pkgrel=1.1
_gitrev=9413986
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
license=(custom)
depends=(gcc-libs)
-source=("$url/$pkgname-$pkgver.tar.xz")
-sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc')
+source=("$url/$pkgname-$pkgver.tar.xz"
+ 0001-Don-t-error-or-set-options-for-unknown-architectures.patch)
+sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc'
+ '0f423b24565d0c50be4937b6f50a43cfd683c1a76c25ef80fca5f731e283fe1c')
build() {
cd $pkgname-$pkgver
+
+# Patch from Debian
+ patch -Np1 -i ${srcdir}/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
+
./configure --prefix=/usr --disable-static
make
}
diff --git a/extra/weechat/PKGBUILD b/extra/weechat/PKGBUILD
index 9693f0e8c..d831a5712 100644
--- a/extra/weechat/PKGBUILD
+++ b/extra/weechat/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=weechat
pkgver=0.4.2
pkgrel=1
pkgdesc="Fast, light and extensible IRC client (curses UI)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.weechat.org/"
license=('GPL')
depends=('gnutls' 'curl' 'libgcrypt')
diff --git a/extra/wget/PKGBUILD b/extra/wget/PKGBUILD
index ef7eb62b1..a4518a5fe 100644
--- a/extra/wget/PKGBUILD
+++ b/extra/wget/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wget
pkgver=1.14
pkgrel=3
pkgdesc="A network utility to retrieve files from the Web"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/wget/wget.html"
license=('GPL3')
depends=('openssl' 'libidn' 'util-linux')
diff --git a/extra/whois/PKGBUILD b/extra/whois/PKGBUILD
index 36a012bcd..6564b180f 100644
--- a/extra/whois/PKGBUILD
+++ b/extra/whois/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=whois
pkgver=5.0.26
pkgrel=1
pkgdesc="The whois client by Marco d'Itri"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.linux.it/~md/software/"
license=('GPL')
depends=('libidn')
diff --git a/extra/wildmidi/PKGBUILD b/extra/wildmidi/PKGBUILD
index 76ae766f6..bcdb6e326 100644
--- a/extra/wildmidi/PKGBUILD
+++ b/extra/wildmidi/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=wildmidi
pkgver=0.2.3.5
-pkgrel=2
+pkgrel=2.1
pkgdesc='Open Source MIDI Synthesizer'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://wildmidi.sourceforge.net/'
license=('LGPL3')
depends=('alsa-lib')
diff --git a/extra/windowmaker/PKGBUILD b/extra/windowmaker/PKGBUILD
index c5b9b12cb..2a17fdd5b 100644
--- a/extra/windowmaker/PKGBUILD
+++ b/extra/windowmaker/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=windowmaker
pkgver=0.95.5
pkgrel=1
pkgdesc="An X11 window manager with a NEXTSTEP look and feel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.windowmaker.org/"
license=('GPL' 'custom')
depends=('libxinerama' 'libxrandr' 'libxmu' 'libpng' 'libxpm' 'libxft' 'libtiff' 'giflib')
diff --git a/extra/wipe/PKGBUILD b/extra/wipe/PKGBUILD
index b876b0dca..c471c03cb 100644
--- a/extra/wipe/PKGBUILD
+++ b/extra/wipe/PKGBUILD
@@ -6,18 +6,19 @@
pkgname=wipe
pkgver=2.3.1
-pkgrel=2
+pkgrel=2.1
pkgdesc='Secure file wiping utility'
url='http://wipe.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('72aa8bcbeb54deb676ae08af78401132860703de')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
+ cd $srcdir/$pkgname-$pkgver
+ [ "$CARCH" = "mips64el" ] && extra="--build=$CHOST --host=$CHOST --target=$CHOST"
+ ./configure --prefix=/usr --mandir=/usr/share/man $extra
+ make
}
package() {
diff --git a/extra/wpa_supplicant_gui/PKGBUILD b/extra/wpa_supplicant_gui/PKGBUILD
index c90e36cc5..5ed7de404 100644
--- a/extra/wpa_supplicant_gui/PKGBUILD
+++ b/extra/wpa_supplicant_gui/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.0
pkgrel=3
pkgdesc="A Qt frontend to wpa_supplicant"
url="http://hostap.epitest.fi/wpa_supplicant"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('qt4' "wpa_supplicant")
license=('GPL')
source=("http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz")
diff --git a/extra/wv/PKGBUILD b/extra/wv/PKGBUILD
index 6d8d27205..da58e0a96 100644
--- a/extra/wv/PKGBUILD
+++ b/extra/wv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wv
pkgver=1.2.9
pkgrel=3
pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/wvware"
license=('GPL')
depends=(libgsf libpng sh)
diff --git a/extra/wxgtk/PKGBUILD b/extra/wxgtk/PKGBUILD
index 0b8c6fcf9..741d5601c 100644
--- a/extra/wxgtk/PKGBUILD
+++ b/extra/wxgtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wxgtk
pkgver=2.8.12.1
pkgrel=5
pkgdesc="GTK+ implementation of wxWidgets API for GUI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wxwidgets.org"
license=('custom:wxWindows')
depends=('gtk2' 'gstreamer0.10-base' 'sdl')
diff --git a/extra/wxmaxima/PKGBUILD b/extra/wxmaxima/PKGBUILD
index a0209e580..0e3a76672 100644
--- a/extra/wxmaxima/PKGBUILD
+++ b/extra/wxmaxima/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=wxmaxima
pkgver=13.04.1
pkgrel=1
pkgdesc="A wxWidgets GUI for the computer algebra system Maxima"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wxmaxima.sourceforge.net/"
license=('GPL2')
depends=('maxima' 'libxml2' 'wxgtk' 'shared-mime-info' 'desktop-file-utils')
diff --git a/extra/wxpython/PKGBUILD b/extra/wxpython/PKGBUILD
index af7659559..49cbfa7dc 100644
--- a/extra/wxpython/PKGBUILD
+++ b/extra/wxpython/PKGBUILD
@@ -3,13 +3,13 @@
pkgname=wxpython
pkgver=2.8.12.1
-pkgrel=4
+pkgrel=4.1
pkgdesc="A wxWidgets GUI toolkit for Python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:wxWindows')
url="http://www.wxpython.org"
depends=('wxgtk' 'python2')
-makedepends=('mesa')
+makedepends=('mesa' 'glu')
source=(http://downloads.sourceforge.net/wxpython/wxPython-src-${pkgver}.tar.bz2
wxpython-cairo.patch wxpython-fpb_default_style.patch)
sha1sums=('05688dc03d61631750f5904273122bb40a2115f5'
diff --git a/extra/x11-ssh-askpass/PKGBUILD b/extra/x11-ssh-askpass/PKGBUILD
index 18d23681f..9e88da1da 100644
--- a/extra/x11-ssh-askpass/PKGBUILD
+++ b/extra/x11-ssh-askpass/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=4
pkgdesc='Lightweight passphrase dialog for SSH'
url='http://www.jmknoble.net/software/x11-ssh-askpass/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxt')
makedepends=('imake')
#source=("${url}${pkgname}-${pkgver}.tar.gz" # httpd only sends half the bits
diff --git a/extra/x11vnc/PKGBUILD b/extra/x11vnc/PKGBUILD
index eb75748b0..eb9471cdf 100644
--- a/extra/x11vnc/PKGBUILD
+++ b/extra/x11vnc/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.9.13
pkgrel=4
pkgdesc='VNC server for real X displays'
url='http://www.karlrunge.com/x11vnc/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
optdepends=('tk: for GUI support')
depends=('openssl' 'libjpeg' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
diff --git a/extra/x264/PKGBUILD b/extra/x264/PKGBUILD
index 775010075..4a06db7df 100644
--- a/extra/x264/PKGBUILD
+++ b/extra/x264/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=x264
pkgver=20130702
pkgrel=2
pkgdesc="free library for encoding H264/AVC video streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.videolan.org/developers/x264.html"
license=('GPL')
depends=('glibc')
diff --git a/extra/x2goclient/PKGBUILD b/extra/x2goclient/PKGBUILD
index 2312b68a5..5ac5eb002 100644
--- a/extra/x2goclient/PKGBUILD
+++ b/extra/x2goclient/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=x2goclient
pkgver=4.0.1.1
pkgrel=1
pkgdesc="x2go qt4 client"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.x2go.org"
depends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'hicolor-icon-theme' 'xdg-utils')
diff --git a/extra/x2goserver/PKGBUILD b/extra/x2goserver/PKGBUILD
index 7df63d7c0..dba40a0bf 100644
--- a/extra/x2goserver/PKGBUILD
+++ b/extra/x2goserver/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=x2goserver
pkgver=4.0.1.6
pkgrel=1
pkgdesc="Open source terminal server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.x2go.org/"
license=('GPL')
depends=('openssh' 'perl-config-simple' 'perl-dbd-sqlite' 'perl-file-basedir' 'python' 'x2go-agent' 'xorg-xauth')
diff --git a/extra/xaos/PKGBUILD b/extra/xaos/PKGBUILD
index 32e9c40a3..f964132bf 100644
--- a/extra/xaos/PKGBUILD
+++ b/extra/xaos/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xaos
pkgver=3.5
pkgrel=6
pkgdesc="A fast portable real-time interactive fractal zoomer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/xaos/"
license=('GPL')
depends=('gsl' 'libpng' 'aalib')
diff --git a/extra/xaw3d/PKGBUILD b/extra/xaw3d/PKGBUILD
index 981fbd1ef..d4bdc36a8 100644
--- a/extra/xaw3d/PKGBUILD
+++ b/extra/xaw3d/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xaw3d
pkgver=1.6.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Three-D Athena widgets"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://directory.fsf.org/project/xaw3d/"
license=('MIT')
depends=('libxmu')
diff --git a/extra/xawtv/PKGBUILD b/extra/xawtv/PKGBUILD
index 233bf3bde..d7a039cc0 100644
--- a/extra/xawtv/PKGBUILD
+++ b/extra/xawtv/PKGBUILD
@@ -7,10 +7,11 @@ pkgname=xawtv
pkgver=3.103
pkgrel=1
pkgdesc="A simple Xaw-based TV program which uses the bttv driver or video4linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://git.linuxtv.org/xawtv3.git"
license=('GPL')
-depends=('aalib' 'v4l-utils' 'libxv' 'libxxf86dga' 'libxrandr' 'libgl' 'libdv' 'zvbi' 'libxinerama' 'lirc-utils' 'libxft' 'libxaw' 'xorg-fonts-misc' 'libxxf86vm')
+depends=('aalib' 'v4l-utils' 'libxv' 'libxxf86dga' 'libxrandr' 'libgl' 'libdv' 'zvbi' 'libxinerama' 'libxft' 'libxaw' 'xorg-fonts-misc' 'libxxf86vm')
+[ "$CARCH" != "mips64el" ] && depends+=('lirc-utils')
makedepends=('mesa')
source=(http://linuxtv.org/downloads/xawtv/xawtv-${pkgver}.tar.bz2)
md5sums=('18822bb3660540fa9ea8b643a5b30d6b')
diff --git a/extra/xbase/PKGBUILD b/extra/xbase/PKGBUILD
index ed992e937..b0410ec8a 100644
--- a/extra/xbase/PKGBUILD
+++ b/extra/xbase/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xbase
pkgver=2.0.0
pkgrel=2
pkgdesc="An XBase compatible C++ class library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://linux.techass.com/projects/xdb/'
license=('LGPL')
depends=('bash' 'gcc-libs')
diff --git a/extra/xbill/PKGBUILD b/extra/xbill/PKGBUILD
index 6e696a388..f18b89794 100644
--- a/extra/xbill/PKGBUILD
+++ b/extra/xbill/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xbill
pkgver=2.1
-pkgrel=8
+pkgrel=8.1
pkgdesc="A game that tests your reflexes as you seek and destroy all forms of Bill"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xbill.org/"
license=('GPL')
depends=('xaw3d>=1.6')
diff --git a/extra/xcb-util-image/PKGBUILD b/extra/xcb-util-image/PKGBUILD
index 9c1372155..7c9b4091f 100644
--- a/extra/xcb-util-image/PKGBUILD
+++ b/extra/xcb-util-image/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xcb-util-image
pkgver=0.3.9
pkgrel=1
pkgdesc="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7' 'xcb-util>=0.3.9')
diff --git a/extra/xcb-util-keysyms/PKGBUILD b/extra/xcb-util-keysyms/PKGBUILD
index 9aa85f7c3..02c057083 100644
--- a/extra/xcb-util-keysyms/PKGBUILD
+++ b/extra/xcb-util-keysyms/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xcb-util-keysyms
pkgver=0.3.9
pkgrel=1
pkgdesc="Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7')
diff --git a/extra/xcb-util-renderutil/PKGBUILD b/extra/xcb-util-renderutil/PKGBUILD
index b6efdc470..70b9e40f7 100644
--- a/extra/xcb-util-renderutil/PKGBUILD
+++ b/extra/xcb-util-renderutil/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=xcb-util-renderutil
pkgver=0.3.8
-pkgrel=1
+pkgrel=1.1
pkgdesc="Utility libraries for XC Binding - Convenience functions for the Render extension"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7')
diff --git a/extra/xcb-util-wm/PKGBUILD b/extra/xcb-util-wm/PKGBUILD
index 55868ba5c..c0ea83cff 100644
--- a/extra/xcb-util-wm/PKGBUILD
+++ b/extra/xcb-util-wm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xcb-util-wm
pkgver=0.3.9
pkgrel=1
pkgdesc="Utility libraries for XC Binding - client and window-manager helpers for ICCCM"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7')
diff --git a/extra/xcb-util/PKGBUILD b/extra/xcb-util/PKGBUILD
index 56c0e82d8..637aae039 100644
--- a/extra/xcb-util/PKGBUILD
+++ b/extra/xcb-util/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xcb-util
pkgver=0.3.9
pkgrel=1
pkgdesc="Utility libraries for XC Binding"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7')
diff --git a/extra/xchm/PKGBUILD b/extra/xchm/PKGBUILD
index 61eabda50..a339f9e1b 100644
--- a/extra/xchm/PKGBUILD
+++ b/extra/xchm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xchm
pkgver=1.23
pkgrel=1
pkgdesc="A cross-platform GUI front-end to chmlib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xchm.sourceforge.net/"
license=('GPL')
depends=('chmlib' 'wxgtk' 'desktop-file-utils')
@@ -21,7 +21,9 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ --build=$CHOST \
+ --host=$CHOST
make
}
diff --git a/extra/xclip/PKGBUILD b/extra/xclip/PKGBUILD
index 0e5d405e5..2b8387bdf 100644
--- a/extra/xclip/PKGBUILD
+++ b/extra/xclip/PKGBUILD
@@ -5,12 +5,12 @@
pkgname=xclip
pkgver=0.12
-pkgrel=3
+pkgrel=3.1
pkgdesc='Command line interface to the X11 clipboard'
url='http://sourceforge.net/projects/xclip'
license=('GPL')
depends=('libxmu')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/sourceforge/xclip/${pkgname}-${pkgver}.tar.gz")
sha1sums=('aed2cff18b9aecfe3377ad064c6a67518bbec211')
diff --git a/extra/xcompmgr/PKGBUILD b/extra/xcompmgr/PKGBUILD
index cab1793ed..821e36277 100644
--- a/extra/xcompmgr/PKGBUILD
+++ b/extra/xcompmgr/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=xcompmgr
pkgver=1.1.6
-pkgrel=2
+pkgrel=2.1
pkgdesc="Composite Window-effects manager for X.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcomposite' 'libxdamage' 'libxrender' 'libxext')
diff --git a/extra/xdg-user-dirs-gtk/PKGBUILD b/extra/xdg-user-dirs-gtk/PKGBUILD
index 29f89c034..ff309b0bf 100644
--- a/extra/xdg-user-dirs-gtk/PKGBUILD
+++ b/extra/xdg-user-dirs-gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xdg-user-dirs-gtk
pkgver=0.10
pkgrel=1
pkgdesc="Creates user dirs and asks to relocalize them"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
depends=('gtk3' 'xdg-user-dirs')
makedepends=('intltool')
diff --git a/extra/xdg-user-dirs/PKGBUILD b/extra/xdg-user-dirs/PKGBUILD
index 88e7897a9..9a2b73d29 100644
--- a/extra/xdg-user-dirs/PKGBUILD
+++ b/extra/xdg-user-dirs/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xdg-user-dirs
pkgver=0.15
pkgrel=1
pkgdesc="Manage user directories like ~/Desktop and ~/Music"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/xdg-user-dirs"
license=(GPL)
depends=(sh)
diff --git a/extra/xerces-c/PKGBUILD b/extra/xerces-c/PKGBUILD
index 09ee547fe..2d287ab47 100644
--- a/extra/xerces-c/PKGBUILD
+++ b/extra/xerces-c/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=xerces-c
pkgver=3.1.1
pkgrel=5
pkgdesc="A validating XML parser written in a portable subset of C++"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xerces.apache.org/xerces-c/"
license=('APACHE')
depends=('gcc-libs' 'curl')
diff --git a/extra/xf86-input-acecad/PKGBUILD b/extra/xf86-input-acecad/PKGBUILD
index 663772be0..8ba910b19 100644
--- a/extra/xf86-input-acecad/PKGBUILD
+++ b/extra/xf86-input-acecad/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-input-acecad
pkgver=1.5.0
pkgrel=6
pkgdesc="X.Org acecad tablet input driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('sysfsutils')
diff --git a/extra/xf86-input-aiptek/PKGBUILD b/extra/xf86-input-aiptek/PKGBUILD
index 5471a1702..093f62d9d 100644
--- a/extra/xf86-input-aiptek/PKGBUILD
+++ b/extra/xf86-input-aiptek/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-input-aiptek
pkgver=1.4.1
pkgrel=6
pkgdesc="X.Org Aiptek USB Digital Tablet input driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/xf86-input-evdev/PKGBUILD b/extra/xf86-input-evdev/PKGBUILD
index d7324435f..c15ba2cff 100644
--- a/extra/xf86-input-evdev/PKGBUILD
+++ b/extra/xf86-input-evdev/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-input-evdev
pkgver=2.8.2
pkgrel=1
pkgdesc="X.org evdev input driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'systemd-tools' 'mtdev')
diff --git a/extra/xf86-input-joystick/PKGBUILD b/extra/xf86-input-joystick/PKGBUILD
index b4db2f238..85ad66cfb 100644
--- a/extra/xf86-input-joystick/PKGBUILD
+++ b/extra/xf86-input-joystick/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-input-joystick
pkgver=1.6.2
pkgrel=2
pkgdesc="X.Org Joystick input driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/xf86-input-synaptics/PKGBUILD b/extra/xf86-input-synaptics/PKGBUILD
index 060f9190e..b235d50a3 100644
--- a/extra/xf86-input-synaptics/PKGBUILD
+++ b/extra/xf86-input-synaptics/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=xf86-input-synaptics
pkgver=1.7.1
pkgrel=1
pkgdesc="Synaptics driver for notebook touchpads"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxtst' 'mtdev')
diff --git a/extra/xf86-input-void/PKGBUILD b/extra/xf86-input-void/PKGBUILD
index 8f1925632..20f2669c9 100644
--- a/extra/xf86-input-void/PKGBUILD
+++ b/extra/xf86-input-void/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-input-void
pkgver=1.4.0
pkgrel=5
pkgdesc="X.org void input driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('glibc')
diff --git a/extra/xf86-input-wacom/PKGBUILD b/extra/xf86-input-wacom/PKGBUILD
index 5e80b4982..290d197b1 100644
--- a/extra/xf86-input-wacom/PKGBUILD
+++ b/extra/xf86-input-wacom/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xf86-input-wacom
pkgver=0.23.0
pkgrel=1
pkgdesc="X.Org Wacom tablet driver"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://linuxwacom.sourceforge.net/"
license=(GPL)
backup=('etc/X11/xorg.conf.d/50-wacom.conf')
diff --git a/extra/xf86-video-dummy/PKGBUILD b/extra/xf86-video-dummy/PKGBUILD
index 8388880cb..d06834211 100644
--- a/extra/xf86-video-dummy/PKGBUILD
+++ b/extra/xf86-video-dummy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-dummy
pkgver=0.3.7
pkgrel=1
pkgdesc="X.org dummy video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/xf86-video-fbdev/PKGBUILD b/extra/xf86-video-fbdev/PKGBUILD
index 781c3e74d..91400da95 100644
--- a/extra/xf86-video-fbdev/PKGBUILD
+++ b/extra/xf86-video-fbdev/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-fbdev
pkgver=0.4.4
pkgrel=1
pkgdesc="X.org framebuffer video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('glibc')
diff --git a/extra/xf86-video-modesetting/PKGBUILD b/extra/xf86-video-modesetting/PKGBUILD
index 6f30fe36a..fa9b0e673 100644
--- a/extra/xf86-video-modesetting/PKGBUILD
+++ b/extra/xf86-video-modesetting/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-video-modesetting
pkgver=0.8.0
pkgrel=1
pkgdesc="X.org generic modesetting video driver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libdrm>=2.4.37' 'systemd')
diff --git a/extra/xf86-video-siliconmotion/0001-Remove-miInitializeBackingStore.patch b/extra/xf86-video-siliconmotion/0001-Remove-miInitializeBackingStore.patch
new file mode 100644
index 000000000..8552d40a4
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/0001-Remove-miInitializeBackingStore.patch
@@ -0,0 +1,26 @@
+From f19d7e463c30f1364e82e8c9f87b8a8407d53680 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax@redhat.com>
+Date: Wed, 9 Jan 2013 22:59:39 -0500
+Subject: [PATCH] Remove miInitializeBackingStore()
+
+Signed-off-by: Adam Jackson <ajax@redhat.com>
+---
+ src/smi_driver.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/smi_driver.c b/src/smi_driver.c
+index 4794571..134db79 100644
+--- a/src/smi_driver.c
++++ b/src/smi_driver.c
+@@ -1750,8 +1750,6 @@ SMI_ScreenInit(SCREEN_INIT_ARGS_DECL)
+ "Done writing mode. Register dump:\n");
+ SMI_PrintRegs(pScrn);
+
+- miInitializeBackingStore(pScreen);
+-
+ #ifdef HAVE_XMODES
+ xf86DiDGAInit(pScreen, (unsigned long)(pSmi->FBBase + pScrn->fbOffset));
+ #endif
+--
+1.8.2
+
diff --git a/extra/xf86-video-siliconmotion/98_sm712_CRT_enable.diff b/extra/xf86-video-siliconmotion/98_sm712_CRT_enable.diff
new file mode 100644
index 000000000..9ff473aff
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/98_sm712_CRT_enable.diff
@@ -0,0 +1,14 @@
+--- ../xx/xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c 2010-03-09 23:39:23.451798382 +0800
++++ xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c 2010-03-10 10:36:58.835798871 +0800
+@@ -1805,6 +1797,11 @@
+ pScreen->SaveScreen = SMI_SaveScreen;
+ pSmi->CloseScreen = pScreen->CloseScreen;
+ pScreen->CloseScreen = SMI_CloseScreen;
++ /* Added by Belcon to enable LCD Panel Control Select */
++ if (pSmi->Chipset == SMI_LYNXEMplus)
++ {
++ VGAOUT8_INDEX (pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x22, 2);
++ }
+
+ if ((IS_MSOC(pSmi) &&
+ !xf86DPMSInit(pScreen, SMI501_DisplayPowerManagementSet, 0)) ||
diff --git a/extra/xf86-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff b/extra/xf86-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
new file mode 100644
index 000000000..4be6d6469
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
@@ -0,0 +1,160 @@
+rixed@happyleptic.org
+ 发送至 loongson-dev
+
+A patch for siliconmotion 1.7.3 is available in the bug trackers
+at freedesktop.org, but a better one will be available monday.
+Still, it lacks the most interresting part : the MMX pack function,
+which should not be implemented there but probably either directly
+in Xv or in pixman (and make Xv use pixman).
+
+So for now the simpliest is to fix these manually.
+For the impatient I attach a patch against SM 1.7.3
+With it, 16bpp and AccelMethod = "XAA" works quite well.
+
+Just an ugly hack really.
+diff -ur orig/src/smi_video.c mod/src/smi_video.c
+--- orig/src/smi_video.c 2010-02-05 13:11:18.000000000 +0100
++++ mod/src/smi_video.c 2010-02-05 13:20:36.000000000 +0100
+@@ -276,6 +276,7 @@
+ XVIMAGE_YUY2,
+ XVIMAGE_YV12,
+ XVIMAGE_I420,
++ XVIMAGE_UYVY,
+ {
+ FOURCC_RV15, /* id */
+ XvRGB, /* type */
+@@ -1462,6 +1463,117 @@
+ LEAVE();
+ }
+
++static void myXVCopyYUV12ToPacked(const unsigned char *srcy, const unsigned char *srcv, const unsigned char *srcu,
++ unsigned char *dst, int srcPitchy, int srcPitchuv, int dstPitch, int h, int w)
++{
++ int i, j;
++ unsigned char const *y, *u, *v;
++ int dstinc, yinc, uinc, vinc;
++
++ y = srcy;
++ u = srcu;
++ v = srcv;
++
++ dstinc = dstPitch - 2*w;
++ yinc = srcPitchy - w;
++ uinc = srcPitchuv - w/2;
++ vinc = srcPitchuv - w/2;
++
++ for (i = 0; i < h; i++) {
++ asm (
++// ".set arch=loongson2f\n\t"
++ ".set noreorder\n\t"
++ "move $8, %8 \n\t"
++ "1: \n\t"
++ "beqz $8, 2f \n\t"
++ "xor $f0, $f0, $f0 \n\t"
++ "ldc1 $f4, (%0) \n\t"
++ "punpcklbh $f2, $f4, $f0 \n\t"
++ "punpckhbh $f4, $f4, $f0 \n\t"
++ "ldc1 $f16, 8(%0) \n\t"
++ "punpcklbh $f14, $f16, $f0 \n\t"
++ "punpckhbh $f16, $f16, $f0 \n\t"
++
++ "lwc1 $f8, (%1) \n\t"
++ "lwc1 $f12, (%2) \n\t"
++ "punpcklbh $f8, $f8, $f12 \n\t"
++ "punpcklbh $f6, $f0, $f8 \n\t"
++ "punpckhbh $f8, $f0, $f8 \n\t"
++ "lwc1 $f18, 4(%1) \n\t"
++ "lwc1 $f12, 4(%2) \n\t"
++ "punpcklbh $f18, $f18, $f12 \n\t"
++ "punpcklbh $f10, $f0, $f18 \n\t"
++ "punpckhbh $f12, $f0, $f18 \n\t"
++
++ "or $f2, $f2, $f6 \n\t"
++ "or $f4, $f4, $f8 \n\t"
++ "or $f14, $f14, $f10 \n\t"
++ "or $f16, $f16, $f12 \n\t"
++
++ "sdc1 $f2, (%3) \n\t"
++ "sdc1 $f4, 8(%3) \n\t"
++ "add %0, 16 \n\t"
++ "add %1, 8 \n\t"
++ "add %2, 8 \n\t"
++ "sdc1 $f14, 0x10(%3) \n\t"
++ "sdc1 $f16, 0x18(%3) \n\t"
++ "add $8, -1 \n\t"
++ "b 1b \n\t"
++ "add %3, 32 \n\t"
++ "2: \n\t"
++ ".set reorder\n\t"
++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" (w>>4)
++ : "memory","$8"
++ );
++
++ asm (
++// ".set arch=loongson2f\n\t"
++ ".set noreorder\n\t"
++ "move $8, %8 \n\t"
++ "1: \n\t"
++ "beqz $8, 2f \n\t"
++ "xor $f0, $f0, $f0 \n\t"
++ "ldc1 $f4, (%0) \n\t"
++ "punpcklbh $f2, $f4, $f0 \n\t"
++ "punpckhbh $f4, $f4, $f0 \n\t"
++
++ "lwc1 $f8, (%1) \n\t"
++ "lwc1 $f12, (%2) \n\t"
++ "punpcklbh $f8, $f8, $f12 \n\t"
++ "punpcklbh $f6, $f0, $f8 \n\t"
++ "punpckhbh $f8, $f0, $f8 \n\t"
++
++ "or $f2, $f2, $f6 \n\t"
++ "or $f4, $f4, $f8 \n\t"
++
++ "sdc1 $f2, (%3) \n\t"
++ "sdc1 $f4, 8(%3) \n\t"
++ "add %0, 8 \n\t"
++ "add %1, 4 \n\t"
++ "add %2, 4 \n\t"
++ "add $8, -1 \n\t"
++ "b 1b \n\t"
++ "add %3, 16 \n\t"
++ "2:\n\t"
++ ".set reorder\n\t"
++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" ((w&0xf)/8)
++ : "memory","$8"
++ );
++
++ for (j = (w&7)/2; j; j--) {
++ *dst++ = *y++;
++ *dst++ = *u++;
++ *dst++ = *y++;
++ *dst++ = *v++;
++ }
++ y += yinc;
++ u = (i%2) ? (u + uinc): (u - w/2);
++ v = (i%2) ? (v + vinc): (v - w/2);
++ dst += dstinc;
++ }
++}
+
+ static int
+ SMI_PutImage(
+@@ -1593,7 +1705,7 @@
+ offset3 = tmp;
+ }
+ nLines = ((((y2 + 0xffff) >> 16) + 1) & ~1) - top;
+- xf86XVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
++ myXVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
+ buf + offset2, buf + offset3, dstStart,
+ srcPitch, srcPitch2, dstPitch, nLines,
+ nPixels);
+@@ -1793,6 +1905,7 @@
+ WRITE_VPR(pSmi, 0x1C, offset >> 3);
+ WRITE_VPR(pSmi, 0x20, (pitch >> 3) | ((pitch >> 3) << 16));
+ WRITE_VPR(pSmi, 0x24, (hstretch & 0xff00) | ((vstretch & 0xff00) >> 8));
++ WRITE_VPR(pSmi, 0x68, ((hstretch & 0xff) << 8) | (vstretch & 0xff));
+ if (pSmi->Chipset == SMI_LYNXEMplus) { /* This one can store additional precision */
+ WRITE_VPR(pSmi, 0x68, ((hstretch & 0xff) << 8) | (vstretch & 0xff));
+ }
diff --git a/extra/xf86-video-siliconmotion/PKGBUILD b/extra/xf86-video-siliconmotion/PKGBUILD
index d0572943b..48420a138 100644
--- a/extra/xf86-video-siliconmotion/PKGBUILD
+++ b/extra/xf86-video-siliconmotion/PKGBUILD
@@ -6,18 +6,24 @@ pkgname=xf86-video-siliconmotion
pkgver=1.7.7
pkgrel=3
pkgdesc="X.org siliconmotion video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=14' 'resourceproto' 'scrnsaverproto')
conflicts=('xorg-server<1.14.0' 'X-ABI-VIDEODRV_VERSION<14' 'X-ABI-VIDEODRV_VERSION>=15')
groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('87b8b59d43945d4fc8012860c0bd9aed42c4684a943355c607b8eb8d6710c3aa')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+ 98_sm712_CRT_enable.diff
+ 0001-Remove-miInitializeBackingStore.patch)
+sha256sums=('87b8b59d43945d4fc8012860c0bd9aed42c4684a943355c607b8eb8d6710c3aa'
+ 'd24016e40ee07a0cc1bedc1b9d3832c692b8a78453ac5a84bafab6ace4ff5da3'
+ 'c3d8cec4f301ccd739d9709a962698390f99ce9749388273c22afba739d078c6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/98_sm712_CRT_enable.diff
+ patch -Np1 -i "${srcdir}/0001-Remove-miInitializeBackingStore.patch"
./configure --prefix=/usr
make
}
diff --git a/extra/xf86-video-siliconmotion/medanr04.diff b/extra/xf86-video-siliconmotion/medanr04.diff
new file mode 100644
index 000000000..85a15f393
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/medanr04.diff
@@ -0,0 +1,81 @@
+--- orig/src/smi_video.c 2009-07-27 09:42:44.000000000 +0600
++++ new/src/smi_video.c 2011-04-02 19:21:53.545665717 +0600
+@@ -223,7 +223,7 @@
+
+ /**************************************************************************/
+ /* number of (generated) XV_ENCODING vaulues */
+-#define N_ENCODINGS ((N_VIDEO_NORMS) * (N_COMPOSITE_CHANNELS + N_SVIDEO_CHANNELS))
++#define N_ENCODINGS (((N_VIDEO_NORMS) * (N_COMPOSITE_CHANNELS + N_SVIDEO_CHANNELS)) +1)
+
+
+ /**************************************************************************/
+@@ -288,7 +288,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 15, /* depth */
+- 0x001F, 0x03E0, 0x7C00, /* red_mask, green, blue */
++ 0x7C00, 0x03E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -307,7 +307,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 16, /* depth */
+- 0x001F, 0x07E0, 0xF800, /* red_mask, green, blue */
++ 0xF800, 0x07E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -326,7 +326,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -345,7 +345,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -372,7 +372,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 16, /* depth */
+- 0x001F, 0x07E0, 0xF800, /* red_mask, green, blue */
++ 0xF800, 0x07E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -391,7 +391,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -569,6 +569,15 @@
+
+ /* fill arrays */
+ p->nenc = 0;
++ /* force XV_IMAGE at 0 */
++ p->enc[0].width = 2048;
++ p->enc[0].height = 2048;
++ p->enc[0].rate.numerator = 1;
++ p->enc[0].rate.denominator = 1;
++ p->enc[0].name = xalloc(strlen("XV_IMAGE")+1);
++ sprintf(p->enc[0].name, "% s", "XV_IMAGE");
++
++ p->nenc = 1;
+ for (ch = 0; ch < N_COMPOSITE_CHANNELS; ch++) {
+ for (n = 0; n < N_VIDEO_NORMS; n++) {
+ SMI_AddEncoding(p->enc, p->nenc, n, VID_COMPOSITE, ch);
diff --git a/extra/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.5-loongson-video-accl.patch b/extra/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.5-loongson-video-accl.patch
new file mode 100644
index 000000000..e31044473
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.5-loongson-video-accl.patch
@@ -0,0 +1,139 @@
+diff --git a/src/smi_video.c b/src/smi_video.c
+index c2e8868..3e128fa 100644
+--- a/src/smi_video.c
++++ b/src/smi_video.c
+@@ -276,6 +276,7 @@ static XF86ImageRec SMI_VideoImages[] =
+ XVIMAGE_YUY2,
+ XVIMAGE_YV12,
+ XVIMAGE_I420,
++ XVIMAGE_UYVY,
+ {
+ FOURCC_RV15, /* id */
+ XvRGB, /* type */
+@@ -1464,6 +1465,117 @@ SMI_QueryBestSize(
+ LEAVE();
+ }
+
++static void myXVCopyYUV12ToPacked(const unsigned char *srcy, const unsigned char *srcv, const unsigned char *srcu,
++ unsigned char *dst, int srcPitchy, int srcPitchuv, int dstPitch, int h, int w)
++{
++ int i, j;
++ unsigned char const *y, *u, *v;
++ int dstinc, yinc, uinc, vinc;
++
++ y = srcy;
++ u = srcu;
++ v = srcv;
++
++ dstinc = dstPitch - 2*w;
++ yinc = srcPitchy - w;
++ uinc = srcPitchuv - w/2;
++ vinc = srcPitchuv - w/2;
++
++ for (i = 0; i < h; i++) {
++ asm (
++// ".set arch=loongson2f\n\t"
++ ".set noreorder\n\t"
++ "move $8, %8 \n\t"
++ "1: \n\t"
++ "beqz $8, 2f \n\t"
++ "xor $f0, $f0, $f0 \n\t"
++ "ldc1 $f4, (%0) \n\t"
++ "punpcklbh $f2, $f4, $f0 \n\t"
++ "punpckhbh $f4, $f4, $f0 \n\t"
++ "ldc1 $f16, 8(%0) \n\t"
++ "punpcklbh $f14, $f16, $f0 \n\t"
++ "punpckhbh $f16, $f16, $f0 \n\t"
++
++ "lwc1 $f8, (%1) \n\t"
++ "lwc1 $f12, (%2) \n\t"
++ "punpcklbh $f8, $f8, $f12 \n\t"
++ "punpcklbh $f6, $f0, $f8 \n\t"
++ "punpckhbh $f8, $f0, $f8 \n\t"
++ "lwc1 $f18, 4(%1) \n\t"
++ "lwc1 $f12, 4(%2) \n\t"
++ "punpcklbh $f18, $f18, $f12 \n\t"
++ "punpcklbh $f10, $f0, $f18 \n\t"
++ "punpckhbh $f12, $f0, $f18 \n\t"
++
++ "or $f2, $f2, $f6 \n\t"
++ "or $f4, $f4, $f8 \n\t"
++ "or $f14, $f14, $f10 \n\t"
++ "or $f16, $f16, $f12 \n\t"
++
++ "sdc1 $f2, (%3) \n\t"
++ "sdc1 $f4, 8(%3) \n\t"
++ "add %0, 16 \n\t"
++ "add %1, 8 \n\t"
++ "add %2, 8 \n\t"
++ "sdc1 $f14, 0x10(%3) \n\t"
++ "sdc1 $f16, 0x18(%3) \n\t"
++ "add $8, -1 \n\t"
++ "b 1b \n\t"
++ "add %3, 32 \n\t"
++ "2: \n\t"
++ ".set reorder\n\t"
++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" (w>>4)
++ : "memory","$8"
++ );
++
++ asm (
++// ".set arch=loongson2f\n\t"
++ ".set noreorder\n\t"
++ "move $8, %8 \n\t"
++ "1: \n\t"
++ "beqz $8, 2f \n\t"
++ "xor $f0, $f0, $f0 \n\t"
++ "ldc1 $f4, (%0) \n\t"
++ "punpcklbh $f2, $f4, $f0 \n\t"
++ "punpckhbh $f4, $f4, $f0 \n\t"
++
++ "lwc1 $f8, (%1) \n\t"
++ "lwc1 $f12, (%2) \n\t"
++ "punpcklbh $f8, $f8, $f12 \n\t"
++ "punpcklbh $f6, $f0, $f8 \n\t"
++ "punpckhbh $f8, $f0, $f8 \n\t"
++
++ "or $f2, $f2, $f6 \n\t"
++ "or $f4, $f4, $f8 \n\t"
++
++ "sdc1 $f2, (%3) \n\t"
++ "sdc1 $f4, 8(%3) \n\t"
++ "add %0, 8 \n\t"
++ "add %1, 4 \n\t"
++ "add %2, 4 \n\t"
++ "add $8, -1 \n\t"
++ "b 1b \n\t"
++ "add %3, 16 \n\t"
++ "2:\n\t"
++ ".set reorder\n\t"
++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" ((w&0xf)/8)
++ : "memory","$8"
++ );
++
++ for (j = (w&7)/2; j; j--) {
++ *dst++ = *y++;
++ *dst++ = *u++;
++ *dst++ = *y++;
++ *dst++ = *v++;
++ }
++ y += yinc;
++ u = (i%2) ? (u + uinc): (u - w/2);
++ v = (i%2) ? (v + vinc): (v - w/2);
++ dst += dstinc;
++ }
++}
+
+ static int
+ SMI_PutImage(
+@@ -1592,7 +1704,7 @@ SMI_PutImage(
+ offset3 = tmp;
+ }
+ nLines = ((((y2 + 0xffff) >> 16) + 1) & ~1) - top;
+- xf86XVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
++ myXVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
+ buf + offset2, buf + offset3, dstStart,
+ srcPitch, srcPitch2, dstPitch, nLines,
+ nPixels);
diff --git a/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion-2.2.8-medan.r04.patch b/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion-2.2.8-medan.r04.patch
new file mode 100644
index 000000000..acb9716be
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion-2.2.8-medan.r04.patch
@@ -0,0 +1,104 @@
+diff -Naur xserver-xorg-video-siliconmotion-2.2.8/debian/changelog xserver-xorg-video-siliconmotion-2.2.8-new/debian/changelog
+--- xserver-xorg-video-siliconmotion-2.2.8/debian/changelog 2009-02-22 02:19:30.000000000 +0800
++++ xserver-xorg-video-siliconmotion-2.2.8-new/debian/changelog 2009-02-21 07:36:10.000000000 +0800
+@@ -1,3 +1,18 @@
++xserver-xorg-video-siliconmotion (2:2.2.8-medan.r04) unstable; urgency=low
++
++ * Fixed Xv not reporting any imaging modes. Caused all SDL overlays to
++ be software scaled and drawn in xshm.
++
++ -- Derrick Sobodash <derrick@cinnamonpirate.com> Sat, 21 Feb 2009 06:49:11 +0000
++
++xserver-xorg-video-siliconmotion (2:2.2.8-medan.r03) unstable; urgency=low
++
++ * Hacked Xv to fix driver reporting RGB colorspaces as BGR.
++ * Forked from 2:2.2.8-lemote.r02. Next revision writes Loongson opcodes,
++ which GCC is not supporting. How do you compile it!?
++
++ -- Derrick Sobodash <derrick@cinnamonpirate.com> Sat, 14 Feb 2009 06:49:11 +0000
++
+ xserver-xorg-video-siliconmotion (2:2.2.8-lemote.r02) unstable; urgency=low
+
+ * Add fast Xv packed ouput for YeeLoong notebook without lost of quality.
+diff -Naur xserver-xorg-video-siliconmotion-2.2.8/src/smi_video.c xserver-xorg-video-siliconmotion-2.2.8-new/src/smi_video.c
+--- xserver-xorg-video-siliconmotion-2.2.8/src/smi_video.c 2009-02-22 02:19:30.000000000 +0800
++++ xserver-xorg-video-siliconmotion-2.2.8-new/src/smi_video.c 2009-02-22 02:23:55.000000000 +0800
+@@ -245,7 +245,7 @@
+
+ /**************************************************************************/
+ /* number of (generated) XV_ENCODING vaulues */
+-#define N_ENCODINGS ((N_VIDEO_NORMS) * (N_COMPOSITE_CHANNELS + N_SVIDEO_CHANNELS))
++#define N_ENCODINGS (((N_VIDEO_NORMS) * (N_COMPOSITE_CHANNELS + N_SVIDEO_CHANNELS)) +1)
+
+
+ /**************************************************************************/
+@@ -310,7 +310,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 15, /* depth */
+- 0x001F, 0x03E0, 0x7C00, /* red_mask, green, blue */
++ 0x7C00, 0x03E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -329,7 +329,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 16, /* depth */
+- 0x001F, 0x07E0, 0xF800, /* red_mask, green, blue */
++ 0xF800, 0x07E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -348,7 +348,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -367,7 +367,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -394,7 +394,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 16, /* depth */
+- 0x001F, 0x07E0, 0xF800, /* red_mask, green, blue */
++ 0xF800, 0x07E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -413,7 +413,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -589,6 +589,15 @@
+
+ /* fill arrays */
+ p->nenc = 0;
++ /* force XV_IMAGE at 0 */
++ p->enc[0].width = 2048;
++ p->enc[0].height = 2048;
++ p->enc[0].rate.numerator = 1;
++ p->enc[0].rate.denominator = 1;
++ p->enc[0].name = xalloc(strlen("XV_IMAGE")+1);
++ sprintf(p->enc[0].name, "% s", "XV_IMAGE");
++
++ p->nenc = 1;
+ for (ch = 0; ch < N_COMPOSITE_CHANNELS; ch++) {
+ for (n = 0; n < N_VIDEO_NORMS; n++) {
+ SMI_AddEncoding(p->enc, p->nenc, n, VID_COMPOSITE, ch);
diff --git a/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion_1.7.5-1loongson2.diff b/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion_1.7.5-1loongson2.diff
new file mode 100644
index 000000000..8b9f49395
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion_1.7.5-1loongson2.diff
@@ -0,0 +1,707 @@
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/autogen.sh
++++ xserver-xorg-video-siliconmotion-1.7.5/autogen.sh
+@@ -0,0 +1,12 @@
++#! /bin/sh
++
++srcdir=`dirname $0`
++test -z "$srcdir" && srcdir=.
++
++ORIGDIR=`pwd`
++cd $srcdir
++
++autoreconf -v --install || exit 1
++cd $ORIGDIR || exit $?
++
++$srcdir/configure --enable-maintainer-mode "$@"
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/README.source
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/README.source
+@@ -0,0 +1,49 @@
++------------------------------------------------------
++Quick Guide To Patching This Package For The Impatient
++------------------------------------------------------
++
++1. Make sure you have quilt installed
++2. Unpack the package as usual with "dpkg-source -x"
++3. Run the "patch" target in debian/rules
++4. Create a new patch with "quilt new" (see quilt(1))
++5. Edit all the files you want to include in the patch with "quilt edit"
++ (see quilt(1)).
++6. Write the patch with "quilt refresh" (see quilt(1))
++7. Run the "clean" target in debian/rules
++
++Alternatively, instead of using quilt directly, you can drop the patch in to
++debian/patches and add the name of the patch to debian/patches/series.
++
++------------------------------------
++Guide To The X Strike Force Packages
++------------------------------------
++
++The X Strike Force team maintains X packages in git repositories on
++git.debian.org in the pkg-xorg subdirectory. Most upstream packages
++are actually maintained in git repositories as well, so they often
++just need to be pulled into git.debian.org in a "upstream-*" branch.
++Otherwise, the upstream sources are manually installed in the Debian
++git repository.
++
++The .orig.tar.gz upstream source file could be generated using this
++"upstream-*" branch in the Debian git repository but it is actually
++copied from upstream tarballs directly.
++
++Due to X.org being highly modular, packaging all X.org applications
++as their own independent packages would have created too many Debian
++packages. For this reason, some X.org applications have been grouped
++into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
++x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
++Most packages, including the X.org server itself and all libraries
++and drivers are, however maintained independently.
++
++The Debian packaging is added by creating the "debian-*" git branch
++which contains the aforementioned "upstream-*" branch plus the debian/
++repository files.
++When a patch has to be applied to the Debian package, two solutions
++are involved:
++* If the patch is available in one of the upstream branches, it
++ may be git'cherry-picked into the Debian repository. In this
++ case, it appears directly in the .diff.gz.
++* Otherwise, the patch is added to debian/patches/ which is managed
++ with quilt as documented in /usr/share/doc/quilt/README.source.
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/changelog
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/changelog
+@@ -0,0 +1,287 @@
++xserver-xorg-video-siliconmotion (1:1.7.5-1loongson2) unstable; urgency=low
++
++ * Non-maintainer upload.
++ * enable CRT output,
++ * loongson2f
++
++ -- liu shiwei <liushiwei@gmail.com> Sun, 15 May 2011 21:35:08 +0800
++
++xserver-xorg-video-siliconmotion (1:1.7.5-1) unstable; urgency=low
++
++ * New upstream release.
++ * Bump xutils-dev build-dep for new macros.
++ * Update debian/copyright from upstream COPYING.
++
++ -- Cyril Brulebois <kibi@debian.org> Wed, 09 Mar 2011 00:31:34 +0100
++
++xserver-xorg-video-siliconmotion (1:1.7.4-3) unstable; urgency=low
++
++ * Switch to dh:
++ - Use debhelper 8.
++ - Use dh-autoreconf.
++ - Bump xserver-xorg-dev build-dep for dh_xsf_substvars and xsf
++ debhelper sequence.
++ * Remove xsfbs accordingly.
++ * Update Uploaders list. Thanks, David & Brice!
++ * Remove long obsolete Replaces/Conflicts.
++ * Wrap Depends/Provides.
++ * Bump Standards-Version to 3.9.1 (no changes needed).
++
++ -- Cyril Brulebois <kibi@debian.org> Sat, 05 Feb 2011 14:55:28 +0100
++
++xserver-xorg-video-siliconmotion (1:1.7.4-2) experimental; urgency=low
++
++ [ Julien Cristau ]
++ * Drop 01_siliconmotion_rotate_option_disables_randr.diff, it was disabled
++ since 1.7.0 and most likely obsoleted by randr 1.2 support in that
++ release.
++
++ [ Cyril Brulebois ]
++ * Build against Xserver 1.9.1 rc1.
++
++ -- Cyril Brulebois <kibi@debian.org> Sat, 16 Oct 2010 21:03:39 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.4-1) experimental; urgency=low
++
++ [ Christopher James Halse Rogers ]
++ * New upstream release
++ - Fixes FTBFS against Xserver 1.8
++
++ -- Julien Cristau <jcristau@debian.org> Thu, 10 Jun 2010 11:32:50 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.3-2) unstable; urgency=low
++
++ [ Julien Cristau ]
++ * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
++ good reason. Thanks, Colin Watson!
++ * Remove myself from Uploaders
++
++ [ Cyril Brulebois ]
++ * Update to new xsfbs, replace deprecated ${xserver:Depends} with
++ ${xviddriver:Depends} in Depends, and bump B-D on xserver-xorg-dev
++ accordingly.
++ * Add myself to Uploaders.
++ * Bump Standards-Version from 3.8.3 to 3.8.4 (no changes needed).
++
++ -- Cyril Brulebois <kibi@debian.org> Tue, 04 May 2010 00:19:15 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.3-1) experimental; urgency=low
++
++ [ Timo Aaltonen ]
++ * New upstream release.
++ * Bump Standards-Version to 3.8.3.
++ * Build against Xserver 1.7.
++
++ [ Cyril Brulebois ]
++ * Upload to experimental.
++
++ -- Cyril Brulebois <kibi@debian.org> Sun, 06 Dec 2009 01:50:22 +0100
++
++xserver-xorg-video-siliconmotion (1:1.7.2-1) unstable; urgency=low
++
++ * New upstream release.
++ * Bump Standards-Version to 3.8.2.
++ * Remove 01_gen_pci_ids.diff. The X server now uses an internal table to
++ choose a driver during autoconfiguration.
++
++ -- Brice Goglin <bgoglin@debian.org> Mon, 20 Jul 2009 00:13:38 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.1-1) unstable; urgency=low
++
++ * New upstream release.
++
++ -- Brice Goglin <bgoglin@debian.org> Wed, 29 Apr 2009 18:33:55 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.0-2) unstable; urgency=low
++
++ * Upload to unstable.
++
++ -- Julien Cristau <jcristau@debian.org> Thu, 09 Apr 2009 11:38:48 +0100
++
++xserver-xorg-video-siliconmotion (1:1.7.0-1) experimental; urgency=low
++
++ * New upstream release.
++ + Add support for EXA, RandR 1.2 and some smi 50x chipsets.
++ + Disable 01_siliconmotion_rotate_option_disables_randr.diff.
++ * Build against xserver 1.6 rc1.
++ * Allow parallel builds.
++ * Run autoreconf on build; add build-deps on automake, libtool and
++ xutils-dev.
++ * Add myself to Uploaders.
++
++ -- Brice Goglin <bgoglin@debian.org> Sun, 01 Feb 2009 16:15:46 +0100
++
++xserver-xorg-video-siliconmotion (1:1.6.0-2) experimental; urgency=low
++
++ * Build against xserver 1.5.
++
++ -- Julien Cristau <jcristau@debian.org> Mon, 08 Sep 2008 19:37:00 +0100
++
++xserver-xorg-video-siliconmotion (1:1.6.0-1) unstable; urgency=low
++
++ [ Brice Goglin ]
++ * Add upstream URL to debian/copyright.
++
++ [ Julien Cristau ]
++ * New upstream release.
++ * Refresh patches.
++ * Remove Branden from Uploaders with his permission, and add myself.
++ * Bump Standards-Version to 3.7.3.
++ * Drop the XS- prefix from Vcs-* control fields.
++ * Run dpkg-shlibdeps with --warnings=6. Drivers reference symbols from
++ /usr/bin/Xorg and other modules, and that's not a bug, so we want
++ dpkg-shlibdeps to shut up about symbols it can't find. Build-depend on
++ dpkg-dev >= 1.14.17.
++
++ -- Julien Cristau <jcristau@debian.org> Fri, 06 Jun 2008 12:19:48 +0200
++
++xserver-xorg-video-siliconmotion (1:1.5.1-3) unstable; urgency=low
++
++ * Upload to unstable
++
++ -- David Nusinow <dnusinow@debian.org> Sun, 16 Sep 2007 15:43:48 -0400
++
++xserver-xorg-video-siliconmotion (1:1.5.1-2) experimental; urgency=low
++
++ * Build against xserver 1.4 and build-dep on it
++ * Add 02_gen_pci_ids.diff. This patch provides a set of pci id's supported
++ by this driver so that it can be automatically loaded by the server.
++
++ -- David Nusinow <dnusinow@debian.org> Thu, 13 Sep 2007 20:20:40 -0400
++
++xserver-xorg-video-siliconmotion (1:1.5.1-1) unstable; urgency=low
++
++ [ Julien Cristau ]
++ * Add link to xserver-xorg-core bug script, so that bugreports contain
++ the user's config and log files.
++ * Bump dependency on xserver-xorg-core to >= 2:1.1.1-11, as previous
++ versions don't have the bug script.
++
++ [ Timo Aaltonen ]
++ * Replaces/Conflicts: xserver-xorg-driver-siliconmotion.
++
++ [ Brice Goglin ]
++ * New upstream version
++ + Pull more upstream fixes up-to 1a803a8f91a931c00106f9d3d41cfa5d74c19f55
++ + Refresh 01_siliconmotion_rotate_option_disables_randr.diff
++ * Install the upstream changelog.
++ * Bump Build-Depends: xserver-xorg-dev to >= 2:1.2.99.902
++ (needed to let xsfbs get access to serverminver).
++ * Add XS-Vcs-*.
++ * Add a link to www.X.org and a reference to the xf86-video-siliconmotion
++ module in the long description.
++ * Remove Fabio from uploaders with his permission. He's always welcome back.
++
++ -- Julien Cristau <jcristau@debian.org> Wed, 02 May 2007 15:08:45 +0200
++
++xserver-xorg-video-siliconmotion (1:1.4.2-1) experimental; urgency=low
++
++ * New upstream version
++ * Generate server dependencies automatically from the ABI
++
++ -- David Nusinow <dnusinow@debian.org> Wed, 21 Feb 2007 22:54:34 -0500
++
++xserver-xorg-video-siliconmotion (1:1.4.1-4) unstable; urgency=low
++
++ * Add quilt to build-depends. Thanks lamont. closes: #388641
++ * Bump standards version to 3.7.2.0. No changes needed.
++
++ -- David Nusinow <dnusinow@debian.org> Thu, 21 Sep 2006 22:20:51 -0400
++
++xserver-xorg-video-siliconmotion (1:1.4.1-3) unstable; urgency=low
++
++ [ Steve Langasek ]
++ * Upload to unstable
++
++ -- David Nusinow <dnusinow@debian.org> Mon, 18 Sep 2006 19:57:51 -0400
++
++xserver-xorg-video-siliconmotion (1:1.4.1-2) experimental; urgency=low
++
++ [ Drew Parsons ]
++ * Provides: xserver-xorg-video-1.0 not xserver-xorg-video.
++
++ [ David Nusinow ]
++ * Bump xserver (build-)depends epochs to 2: to deal with botched
++ server upload
++
++ -- David Nusinow <dnusinow@debian.org> Tue, 22 Aug 2006 23:46:40 +0000
++
++xserver-xorg-video-siliconmotion (1:1.4.1-1) experimental; urgency=low
++
++ [ Andres Salomon ]
++ * Test for obj-$(DEB_BUILD_GNU_TYPE) before creating it during build;
++ idempotency fix.
++ * Run dh_install w/ --list-missing.
++
++ [ David Nusinow ]
++ * New upstream release
++ * Add dependency on xserver-xorg-core to >= 1:1.1.1. Bump version for
++ the build-dep on xserver-xorg-dev.
++ * Bump debhelper compat to 5
++
++ -- David Nusinow <dnusinow@debian.org> Tue, 15 Aug 2006 23:45:05 +0000
++
++xserver-xorg-video-siliconmotion (1:1.3.1.5-3) unstable; urgency=low
++
++ * Upload to modular
++
++ -- David Nusinow <dnusinow@debian.org> Sun, 26 Mar 2006 20:25:54 -0500
++
++xserver-xorg-video-siliconmotion (1:1.3.1.5-2) experimental; urgency=low
++
++ * Port patches from trunk:
++ + general/083_siliconmotion_rotate_option_disables_randr.diff
++
++ -- David Nusinow <dnusinow@debian.org> Sun, 26 Feb 2006 17:53:12 -0500
++
++xserver-xorg-video-siliconmotion (1:1.3.1.5-1) experimental; urgency=low
++
++ * First upload to Debian
++ * Change source package, package, and provides names to denote the
++ type of driver and that they are for xserver-xorg
++
++ -- David Nusinow <dnusinow@debian.org> Fri, 13 Jan 2006 00:40:05 -0500
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.5-0ubuntu1) dapper; urgency=low
++
++ * New upstream release.
++ * Add provides on xserver-xorg-driver.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Wed, 4 Jan 2006 20:02:33 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.4-0ubuntu1) dapper; urgency=low
++
++ * New upstream release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Mon, 19 Dec 2005 09:11:22 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.3-0ubuntu1) dapper; urgency=low
++
++ * New upstream release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Mon, 12 Dec 2005 13:07:11 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.2-0ubuntu2) dapper; urgency=low
++
++ * Add missing Build-Depends (x11proto-core-dev, x11proto-fonts-dev,
++ x11proto-randr-dev, x11proto-render-dev).
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Mon, 5 Dec 2005 12:57:32 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.2-0ubuntu1) dapper; urgency=low
++
++ * New upstream release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Tue, 22 Nov 2005 13:36:09 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.1-1) dapper; urgency=low
++
++ * New upstream release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Tue, 25 Oct 2005 17:10:12 +1000
++
++xserver-xorg-driver-siliconmotion (1:1.3.1-1) breezy; urgency=low
++
++ * First xserver-xorg-driver-siliconmotion release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Wed, 6 Jul 2005 15:48:17 +1000
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/xserver-xorg-video-siliconmotion.install
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/xserver-xorg-video-siliconmotion.install
+@@ -0,0 +1,2 @@
++usr/lib/xorg/modules/drivers/*.so
++usr/share/man/man4/*
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/copyright
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/copyright
+@@ -0,0 +1,75 @@
++This package was downloaded from
++http://xorg.freedesktop.org/releases/individual/driver/
++
++Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved.
++Copyright (C) 2000,2008 Silicon Motion, Inc. All Rights Reserved.
++Copyright (C) 2001 Corvin Zahn. All Rights Reserved.
++Copyright (C) 2008 Francisco Jerez. All Rights Reserved.
++Copyright (C) 2008 Mandriva Linux. All Rights Reserved.
++
++Permission is hereby granted, free of charge, to any person obtaining a copy of
++this software and associated documentation files (the "Software"), to deal in
++the Software without restriction, including without limitation the rights to
++use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
++of the Software, and to permit persons to whom the Software is furnished to do
++so, subject to the following conditions:
++
++The above copyright notice and this permission notice shall be included in all
++copies or substantial portions of the Software.
++
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
++NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
++XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
++WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
++
++Except as contained in this notice, the names of The XFree86 Project and
++Silicon Motion shall not be used in advertising or otherwise to promote the
++sale, use or other dealings in this Software without prior written
++authorization from The XFree86 Project or Silicon Motion.
++
++******************************************************************************
++
++Copyright 2007 George Sapountzis
++
++Permission is hereby granted, free of charge, to any person obtaining a
++copy of this software and associated documentation files (the "Software"),
++to deal in the Software without restriction, including without limitation
++the rights to use, copy, modify, merge, publish, distribute, sublicense,
++and/or sell copies of the Software, and to permit persons to whom the
++Software is furnished to do so, subject to the following conditions:
++
++The above copyright notice and this permission notice (including the next
++paragraph) shall be included in all copies or substantial portions of the
++Software.
++
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
++THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
++OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
++SOFTWARE.
++
++******************************************************************************
++
++Copyright (C) 2006 Dennis De Winter All Rights Reserved.
++Copyright (C) 2007 Alex Deucher All Rights Reserved.
++
++Permission is hereby granted, free of charge, to any person obtaining a copy of
++this software and associated documentation files (the "Software"), to deal in
++the Software without restriction, including without limitation the rights to
++use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
++of the Software, and to permit persons to whom the Software is furnished to do
++so, subject to the following conditions:
++
++The above copyright notice and this permission notice shall be included in all
++copies or substantial portions of the Software.
++
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
++NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
++XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
++WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/watch
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/watch
+@@ -0,0 +1,3 @@
++#git=git://anongit.freedesktop.org/xorg/driver/xf86-video-siliconmotion
++version=3
++http://xorg.freedesktop.org/releases/individual/driver/ xf86-video-siliconmotion-(.*)\.tar\.gz
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/gbp.conf
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/gbp.conf
+@@ -0,0 +1,4 @@
++[DEFAULT]
++upstream-branch=upstream-experimental
++debian-branch=debian-experimental
++pristine-tar = True
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/rules
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/rules
+@@ -0,0 +1,17 @@
++#!/usr/bin/make -f
++
++# Install in debian/tmp to retain control through dh_install:
++override_dh_auto_install:
++ dh_auto_install --destdir=debian/tmp
++
++# Kill *.la files, and forget no-one:
++override_dh_install:
++ find debian/tmp -name '*.la' -delete
++ dh_install --fail-missing
++
++# That's a plugin, use appropriate warning level:
++override_dh_shlibdeps:
++ dh_shlibdeps -- --warnings=6
++
++%:
++ dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/control
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/control
+@@ -0,0 +1,38 @@
++Source: xserver-xorg-video-siliconmotion
++Section: x11
++Priority: optional
++Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
++Uploaders: Cyril Brulebois <kibi@debian.org>
++Build-Depends:
++ debhelper (>= 8),
++ dh-autoreconf,
++ pkg-config,
++ xserver-xorg-dev (>= 2:1.9.4),
++ x11proto-video-dev,
++ x11proto-xext-dev,
++ x11proto-core-dev,
++ x11proto-fonts-dev,
++ x11proto-randr-dev (>= 1.2),
++ x11proto-render-dev,
++ quilt,
++ xutils-dev (>= 1:7.5+4),
++Standards-Version: 3.9.1
++Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-siliconmotion
++Vcs-Browser: http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-video-siliconmotion.git
++
++Package: xserver-xorg-video-siliconmotion
++Architecture: any
++Depends:
++ ${shlibs:Depends},
++ ${misc:Depends},
++ ${xviddriver:Depends},
++Provides:
++ ${xviddriver:Provides}
++Description: X.Org X server -- SiliconMotion display driver
++ This package provides the driver for the SiliconMotion Lynx and Cougar family
++ of chipsets, commonly found in laptops.
++ .
++ More information about X.Org can be found at:
++ <URL:http://www.X.org>
++ .
++ This package is built from the X.org xf86-video-siliconmotion driver module.
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/xserver-xorg-video-siliconmotion.links
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/xserver-xorg-video-siliconmotion.links
+@@ -0,0 +1 @@
++usr/share/bug/xserver-xorg-core/script usr/share/bug/xserver-xorg-video-siliconmotion/script
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/compat
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/compat
+@@ -0,0 +1 @@
++8
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/patches/98_sm712_CRT_enable.diff
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/patches/98_sm712_CRT_enable.diff
+@@ -0,0 +1,14 @@
++--- ../xx/xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c 2010-03-09 23:39:23.451798382 +0800
+++++ xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c 2010-03-10 10:36:58.835798871 +0800
++@@ -1805,6 +1797,11 @@
++ pScreen->SaveScreen = SMI_SaveScreen;
++ pSmi->CloseScreen = pScreen->CloseScreen;
++ pScreen->CloseScreen = SMI_CloseScreen;
+++ /* Added by Belcon to enable LCD Panel Control Select */
+++ if (pSmi->Chipset == SMI_LYNXEMplus)
+++ {
+++ VGAOUT8_INDEX (pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x22, 2);
+++ }
++
++ if ((IS_MSOC(pSmi) &&
++ !xf86DPMSInit(pScreen, SMI501_DisplayPowerManagementSet, 0)) ||
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/patches/series
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/patches/series
+@@ -0,0 +1,2 @@
++98_sm712_CRT_enable.diff
++99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/patches/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/patches/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
+@@ -0,0 +1,160 @@
++rixed@happyleptic.org
++ 发送至 loongson-dev
++
++A patch for siliconmotion 1.7.3 is available in the bug trackers
++at freedesktop.org, but a better one will be available monday.
++Still, it lacks the most interresting part : the MMX pack function,
++which should not be implemented there but probably either directly
++in Xv or in pixman (and make Xv use pixman).
++
++So for now the simpliest is to fix these manually.
++For the impatient I attach a patch against SM 1.7.3
++With it, 16bpp and AccelMethod = "XAA" works quite well.
++
++Just an ugly hack really.
++diff -ur orig/src/smi_video.c mod/src/smi_video.c
++--- orig/src/smi_video.c 2010-02-05 13:11:18.000000000 +0100
+++++ mod/src/smi_video.c 2010-02-05 13:20:36.000000000 +0100
++@@ -276,6 +276,7 @@
++ XVIMAGE_YUY2,
++ XVIMAGE_YV12,
++ XVIMAGE_I420,
+++ XVIMAGE_UYVY,
++ {
++ FOURCC_RV15, /* id */
++ XvRGB, /* type */
++@@ -1462,6 +1463,117 @@
++ LEAVE();
++ }
++
+++static void myXVCopyYUV12ToPacked(const unsigned char *srcy, const unsigned char *srcv, const unsigned char *srcu,
+++ unsigned char *dst, int srcPitchy, int srcPitchuv, int dstPitch, int h, int w)
+++{
+++ int i, j;
+++ unsigned char const *y, *u, *v;
+++ int dstinc, yinc, uinc, vinc;
+++
+++ y = srcy;
+++ u = srcu;
+++ v = srcv;
+++
+++ dstinc = dstPitch - 2*w;
+++ yinc = srcPitchy - w;
+++ uinc = srcPitchuv - w/2;
+++ vinc = srcPitchuv - w/2;
+++
+++ for (i = 0; i < h; i++) {
+++ asm (
+++// ".set arch=loongson2f\n\t"
+++ ".set noreorder\n\t"
+++ "move $8, %8 \n\t"
+++ "1: \n\t"
+++ "beqz $8, 2f \n\t"
+++ "xor $f0, $f0, $f0 \n\t"
+++ "ldc1 $f4, (%0) \n\t"
+++ "punpcklbh $f2, $f4, $f0 \n\t"
+++ "punpckhbh $f4, $f4, $f0 \n\t"
+++ "ldc1 $f16, 8(%0) \n\t"
+++ "punpcklbh $f14, $f16, $f0 \n\t"
+++ "punpckhbh $f16, $f16, $f0 \n\t"
+++
+++ "lwc1 $f8, (%1) \n\t"
+++ "lwc1 $f12, (%2) \n\t"
+++ "punpcklbh $f8, $f8, $f12 \n\t"
+++ "punpcklbh $f6, $f0, $f8 \n\t"
+++ "punpckhbh $f8, $f0, $f8 \n\t"
+++ "lwc1 $f18, 4(%1) \n\t"
+++ "lwc1 $f12, 4(%2) \n\t"
+++ "punpcklbh $f18, $f18, $f12 \n\t"
+++ "punpcklbh $f10, $f0, $f18 \n\t"
+++ "punpckhbh $f12, $f0, $f18 \n\t"
+++
+++ "or $f2, $f2, $f6 \n\t"
+++ "or $f4, $f4, $f8 \n\t"
+++ "or $f14, $f14, $f10 \n\t"
+++ "or $f16, $f16, $f12 \n\t"
+++
+++ "sdc1 $f2, (%3) \n\t"
+++ "sdc1 $f4, 8(%3) \n\t"
+++ "add %0, 16 \n\t"
+++ "add %1, 8 \n\t"
+++ "add %2, 8 \n\t"
+++ "sdc1 $f14, 0x10(%3) \n\t"
+++ "sdc1 $f16, 0x18(%3) \n\t"
+++ "add $8, -1 \n\t"
+++ "b 1b \n\t"
+++ "add %3, 32 \n\t"
+++ "2: \n\t"
+++ ".set reorder\n\t"
+++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
+++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" (w>>4)
+++ : "memory","$8"
+++ );
+++
+++ asm (
+++// ".set arch=loongson2f\n\t"
+++ ".set noreorder\n\t"
+++ "move $8, %8 \n\t"
+++ "1: \n\t"
+++ "beqz $8, 2f \n\t"
+++ "xor $f0, $f0, $f0 \n\t"
+++ "ldc1 $f4, (%0) \n\t"
+++ "punpcklbh $f2, $f4, $f0 \n\t"
+++ "punpckhbh $f4, $f4, $f0 \n\t"
+++
+++ "lwc1 $f8, (%1) \n\t"
+++ "lwc1 $f12, (%2) \n\t"
+++ "punpcklbh $f8, $f8, $f12 \n\t"
+++ "punpcklbh $f6, $f0, $f8 \n\t"
+++ "punpckhbh $f8, $f0, $f8 \n\t"
+++
+++ "or $f2, $f2, $f6 \n\t"
+++ "or $f4, $f4, $f8 \n\t"
+++
+++ "sdc1 $f2, (%3) \n\t"
+++ "sdc1 $f4, 8(%3) \n\t"
+++ "add %0, 8 \n\t"
+++ "add %1, 4 \n\t"
+++ "add %2, 4 \n\t"
+++ "add $8, -1 \n\t"
+++ "b 1b \n\t"
+++ "add %3, 16 \n\t"
+++ "2:\n\t"
+++ ".set reorder\n\t"
+++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
+++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" ((w&0xf)/8)
+++ : "memory","$8"
+++ );
+++
+++ for (j = (w&7)/2; j; j--) {
+++ *dst++ = *y++;
+++ *dst++ = *u++;
+++ *dst++ = *y++;
+++ *dst++ = *v++;
+++ }
+++ y += yinc;
+++ u = (i%2) ? (u + uinc): (u - w/2);
+++ v = (i%2) ? (v + vinc): (v - w/2);
+++ dst += dstinc;
+++ }
+++}
++
++ static int
++ SMI_PutImage(
++@@ -1593,7 +1705,7 @@
++ offset3 = tmp;
++ }
++ nLines = ((((y2 + 0xffff) >> 16) + 1) & ~1) - top;
++- xf86XVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
+++ myXVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
++ buf + offset2, buf + offset3, dstStart,
++ srcPitch, srcPitch2, dstPitch, nLines,
++ nPixels);
++@@ -1793,6 +1905,7 @@
++ WRITE_VPR(pSmi, 0x1C, offset >> 3);
++ WRITE_VPR(pSmi, 0x20, (pitch >> 3) | ((pitch >> 3) << 16));
++ WRITE_VPR(pSmi, 0x24, (hstretch & 0xff00) | ((vstretch & 0xff00) >> 8));
+++ WRITE_VPR(pSmi, 0x68, ((hstretch & 0xff) << 8) | (vstretch & 0xff));
++ if (pSmi->Chipset == SMI_LYNXEMplus) { /* This one can store additional precision */
++ WRITE_VPR(pSmi, 0x68, ((hstretch & 0xff) << 8) | (vstretch & 0xff));
++ }
diff --git a/extra/xf86-video-sis/PKGBUILD b/extra/xf86-video-sis/PKGBUILD
index 067bd0cdc..1339a4111 100644
--- a/extra/xf86-video-sis/PKGBUILD
+++ b/extra/xf86-video-sis/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-sis
pkgver=0.10.7
pkgrel=4
pkgdesc="X.org SiS video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/xfburn/PKGBUILD b/extra/xfburn/PKGBUILD
index ec80b00ac..c093a8991 100755
--- a/extra/xfburn/PKGBUILD
+++ b/extra/xfburn/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=xfburn
pkgver=0.4.3
-pkgrel=6
-arch=('i686' 'x86_64')
+pkgrel=6.1
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="A simple CD/DVD burning tool based on libburnia libraries"
url="http://goodies.xfce.org/projects/applications/xfburn"
license=('GPL2')
diff --git a/extra/xfce4-appfinder/PKGBUILD b/extra/xfce4-appfinder/PKGBUILD
index 6e279dbdd..997245e6a 100644
--- a/extra/xfce4-appfinder/PKGBUILD
+++ b/extra/xfce4-appfinder/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-appfinder
pkgver=4.10.1
pkgrel=1
pkgdesc="An application finder for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-battery-plugin/PKGBUILD b/extra/xfce4-battery-plugin/PKGBUILD
index b9e3c3e01..e3cbca473 100644
--- a/extra/xfce4-battery-plugin/PKGBUILD
+++ b/extra/xfce4-battery-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-battery-plugin
pkgver=1.0.5
pkgrel=1
pkgdesc="A battery monitor plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-clipman-plugin/PKGBUILD b/extra/xfce4-clipman-plugin/PKGBUILD
index 981a05e11..fbebd7d55 100644
--- a/extra/xfce4-clipman-plugin/PKGBUILD
+++ b/extra/xfce4-clipman-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-clipman-plugin
pkgver=1.2.3
pkgrel=2
pkgdesc="A clipboard plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-cpufreq-plugin/PKGBUILD b/extra/xfce4-cpufreq-plugin/PKGBUILD
index 4ebb07cc2..1c1e8eff1 100644
--- a/extra/xfce4-cpufreq-plugin/PKGBUILD
+++ b/extra/xfce4-cpufreq-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-cpufreq-plugin
pkgver=1.1.0
pkgrel=1
pkgdesc="CPU frequency plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpufreq-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-cpugraph-plugin/PKGBUILD b/extra/xfce4-cpugraph-plugin/PKGBUILD
index 3166f6dfb..6a67b57ac 100644
--- a/extra/xfce4-cpugraph-plugin/PKGBUILD
+++ b/extra/xfce4-cpugraph-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-cpugraph-plugin
pkgver=1.0.5
pkgrel=1
pkgdesc="CPU graph plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'custom')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-datetime-plugin/PKGBUILD b/extra/xfce4-datetime-plugin/PKGBUILD
index c19b2ad37..bd17435d4 100644
--- a/extra/xfce4-datetime-plugin/PKGBUILD
+++ b/extra/xfce4-datetime-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-datetime-plugin
pkgver=0.6.2
pkgrel=1
pkgdesc="A date and time display plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
@@ -22,7 +22,6 @@ build() {
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
- --disable-static \
--disable-static
make
}
diff --git a/extra/xfce4-dev-tools/PKGBUILD b/extra/xfce4-dev-tools/PKGBUILD
index 5fc04de6a..8408d9bbd 100644
--- a/extra/xfce4-dev-tools/PKGBUILD
+++ b/extra/xfce4-dev-tools/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-dev-tools
pkgver=4.10.0
pkgrel=2
pkgdesc="Xfce developer tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
depends=('gtk-doc' 'automake' 'make' 'intltool' 'pkg-config')
diff --git a/extra/xfce4-dict/PKGBUILD b/extra/xfce4-dict/PKGBUILD
index fc9b00f5e..b2e800264 100644
--- a/extra/xfce4-dict/PKGBUILD
+++ b/extra/xfce4-dict/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-dict
pkgver=0.7.0
pkgrel=1
pkgdesc="A dictionary plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/applications/xfce4-dict"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-diskperf-plugin/PKGBUILD b/extra/xfce4-diskperf-plugin/PKGBUILD
index 78ae0c0ba..ab2a70e3d 100644
--- a/extra/xfce4-diskperf-plugin/PKGBUILD
+++ b/extra/xfce4-diskperf-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-diskperf-plugin
pkgver=2.5.4
pkgrel=1
pkgdesc="Plugin for the Xfce4 panel displaying instant disk/partition performance"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-eyes-plugin/PKGBUILD b/extra/xfce4-eyes-plugin/PKGBUILD
index 1f60e474f..b9847e98f 100644
--- a/extra/xfce4-eyes-plugin/PKGBUILD
+++ b/extra/xfce4-eyes-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-eyes-plugin
pkgver=4.4.2
pkgrel=1
pkgdesc="A rolling eyes (following mouse pointer) plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-eyes-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-fsguard-plugin/PKGBUILD b/extra/xfce4-fsguard-plugin/PKGBUILD
index cb060f9a3..f3ed1f12b 100644
--- a/extra/xfce4-fsguard-plugin/PKGBUILD
+++ b/extra/xfce4-fsguard-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-fsguard-plugin
pkgver=1.0.1
pkgrel=1
pkgdesc="File system usage monitor plugin for the Xfce4 panel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-genmon-plugin/PKGBUILD b/extra/xfce4-genmon-plugin/PKGBUILD
index 6686eb5f3..249baa0b6 100644
--- a/extra/xfce4-genmon-plugin/PKGBUILD
+++ b/extra/xfce4-genmon-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-genmon-plugin
pkgver=3.4.0
pkgrel=1
pkgdesc="plugin that monitors customizable programs stdout for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-mailwatch-plugin/PKGBUILD b/extra/xfce4-mailwatch-plugin/PKGBUILD
index f0b8ff2ae..0b3751ac9 100644
--- a/extra/xfce4-mailwatch-plugin/PKGBUILD
+++ b/extra/xfce4-mailwatch-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-mailwatch-plugin
pkgver=1.2.0
pkgrel=1
pkgdesc="A mailbox watch/check plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-mailwatch-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-mixer/PKGBUILD b/extra/xfce4-mixer/PKGBUILD
index d8ed644b8..48dd4b3f8 100644
--- a/extra/xfce4-mixer/PKGBUILD
+++ b/extra/xfce4-mixer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xfce4-mixer
pkgver=4.10.0
pkgrel=2
pkgdesc="The volume control plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-mount-plugin/PKGBUILD b/extra/xfce4-mount-plugin/PKGBUILD
index b509250c0..661998909 100644
--- a/extra/xfce4-mount-plugin/PKGBUILD
+++ b/extra/xfce4-mount-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-mount-plugin
pkgver=0.6.4
pkgrel=1
pkgdesc="Plugin for the Xfce4 panel to mount and unmount volumes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xfce-goodies.berlios.de/"
license=('GPL')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-mpc-plugin/PKGBUILD b/extra/xfce4-mpc-plugin/PKGBUILD
index d4ea1caef..66408b2f2 100644
--- a/extra/xfce4-mpc-plugin/PKGBUILD
+++ b/extra/xfce4-mpc-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-mpc-plugin
pkgver=0.4.4
pkgrel=1
pkgdesc="A plugin to control the music player daemon from the xfce4-panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin"
license=('BSD')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-netload-plugin/PKGBUILD b/extra/xfce4-netload-plugin/PKGBUILD
index e660ad85b..818bd8692 100644
--- a/extra/xfce4-netload-plugin/PKGBUILD
+++ b/extra/xfce4-netload-plugin/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=xfce4-netload-plugin
pkgver=1.2.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="A netload plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xfce-goodies.berlios.de/"
license=('GPL')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-notes-plugin/PKGBUILD b/extra/xfce4-notes-plugin/PKGBUILD
index 6ce2f413b..5f9c5216f 100644
--- a/extra/xfce4-notes-plugin/PKGBUILD
+++ b/extra/xfce4-notes-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-notes-plugin
pkgver=1.7.7
pkgrel=4
pkgdesc="A notes plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-notifyd/PKGBUILD b/extra/xfce4-notifyd/PKGBUILD
index 403bffaa2..aff533b1b 100644
--- a/extra/xfce4-notifyd/PKGBUILD
+++ b/extra/xfce4-notifyd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-notifyd
pkgver=0.2.4
pkgrel=1
pkgdesc="Notification daemon for the Xfce desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/applications/xfce4-notifyd"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-panel/PKGBUILD b/extra/xfce4-panel/PKGBUILD
index bdce30a68..f0e9babd1 100644
--- a/extra/xfce4-panel/PKGBUILD
+++ b/extra/xfce4-panel/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-panel
pkgver=4.10.1
pkgrel=1
pkgdesc="Panel for the Xfce desktop environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-power-manager/PKGBUILD b/extra/xfce4-power-manager/PKGBUILD
index 265b6f284..bbb6e306e 100644
--- a/extra/xfce4-power-manager/PKGBUILD
+++ b/extra/xfce4-power-manager/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-power-manager
pkgver=1.2.0
pkgrel=6
pkgdesc="Power manager for Xfce desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-quicklauncher-plugin/PKGBUILD b/extra/xfce4-quicklauncher-plugin/PKGBUILD
index e43e9d64e..e98881e47 100644
--- a/extra/xfce4-quicklauncher-plugin/PKGBUILD
+++ b/extra/xfce4-quicklauncher-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-quicklauncher-plugin
pkgver=1.9.4
pkgrel=7
pkgdesc="plugin that creates 4 little application launcher in the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-screenshooter/PKGBUILD b/extra/xfce4-screenshooter/PKGBUILD
index 05df96a97..474ab6961 100644
--- a/extra/xfce4-screenshooter/PKGBUILD
+++ b/extra/xfce4-screenshooter/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-screenshooter
pkgver=1.8.1
pkgrel=1
pkgdesc="Plugin that makes screenshots for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-sensors-plugin/PKGBUILD b/extra/xfce4-sensors-plugin/PKGBUILD
index 0ecb2dec6..a518b18a2 100644
--- a/extra/xfce4-sensors-plugin/PKGBUILD
+++ b/extra/xfce4-sensors-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-sensors-plugin
pkgver=1.2.5
pkgrel=1
pkgdesc="A lm_sensors plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-session/PKGBUILD b/extra/xfce4-session/PKGBUILD
index 41287ad2a..4349f993e 100644
--- a/extra/xfce4-session/PKGBUILD
+++ b/extra/xfce4-session/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-session
pkgver=4.10.1
pkgrel=3
pkgdesc="A session manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-settings/PKGBUILD b/extra/xfce4-settings/PKGBUILD
index d3ff38d8b..c83a4a3d6 100644
--- a/extra/xfce4-settings/PKGBUILD
+++ b/extra/xfce4-settings/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-settings
pkgver=4.10.1
pkgrel=1
pkgdesc="Settings manager for xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-smartbookmark-plugin/PKGBUILD b/extra/xfce4-smartbookmark-plugin/PKGBUILD
index 29beab70f..dac718bf9 100644
--- a/extra/xfce4-smartbookmark-plugin/PKGBUILD
+++ b/extra/xfce4-smartbookmark-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-smartbookmark-plugin
pkgver=0.4.5
pkgrel=1
pkgdesc="Plugin for the Xfce4 panel that lets you quicksearch from selected websites"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-systemload-plugin/PKGBUILD b/extra/xfce4-systemload-plugin/PKGBUILD
index 53c3d0dde..dd2d680f4 100644
--- a/extra/xfce4-systemload-plugin/PKGBUILD
+++ b/extra/xfce4-systemload-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-systemload-plugin
pkgver=1.1.1
pkgrel=1
pkgdesc="A system load plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-taskmanager/PKGBUILD b/extra/xfce4-taskmanager/PKGBUILD
index 3e5278722..8dbc2d150 100644
--- a/extra/xfce4-taskmanager/PKGBUILD
+++ b/extra/xfce4-taskmanager/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xfce4-taskmanager
pkgver=1.0.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="Easy to use task manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/applications/xfce4-taskmanager"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-terminal/PKGBUILD b/extra/xfce4-terminal/PKGBUILD
index 10611056f..413d20ee9 100644
--- a/extra/xfce4-terminal/PKGBUILD
+++ b/extra/xfce4-terminal/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-terminal
pkgver=0.6.2
pkgrel=1
pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-time-out-plugin/PKGBUILD b/extra/xfce4-time-out-plugin/PKGBUILD
index b6374ee81..9e8333f10 100755
--- a/extra/xfce4-time-out-plugin/PKGBUILD
+++ b/extra/xfce4-time-out-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-time-out-plugin
pkgver=1.0.1
pkgrel=2
pkgdesc="Take a break from your computer with this plugin for XFCE4."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
license=('GPL')
diff --git a/extra/xfce4-timer-plugin/PKGBUILD b/extra/xfce4-timer-plugin/PKGBUILD
index 1f89e65c6..35f7f1de1 100644
--- a/extra/xfce4-timer-plugin/PKGBUILD
+++ b/extra/xfce4-timer-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-timer-plugin
pkgver=1.0.0
pkgrel=1
pkgdesc="plugin to track time for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-verve-plugin/PKGBUILD b/extra/xfce4-verve-plugin/PKGBUILD
index 1087fa358..622c9cbeb 100644
--- a/extra/xfce4-verve-plugin/PKGBUILD
+++ b/extra/xfce4-verve-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-verve-plugin
pkgver=1.0.0
pkgrel=3
pkgdesc="command line plugin Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-wavelan-plugin/PKGBUILD b/extra/xfce4-wavelan-plugin/PKGBUILD
index 06efded79..4d66341e8 100644
--- a/extra/xfce4-wavelan-plugin/PKGBUILD
+++ b/extra/xfce4-wavelan-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-wavelan-plugin
pkgver=0.5.11
pkgrel=1
pkgdesc="Plugin to monitor wifi connectivity for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-weather-plugin/PKGBUILD b/extra/xfce4-weather-plugin/PKGBUILD
index 348e739ea..68588600b 100644
--- a/extra/xfce4-weather-plugin/PKGBUILD
+++ b/extra/xfce4-weather-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-weather-plugin
pkgver=0.8.3
pkgrel=3
pkgdesc="A weather plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-xkb-plugin/PKGBUILD b/extra/xfce4-xkb-plugin/PKGBUILD
index dc420ccce..cdea7988f 100644
--- a/extra/xfce4-xkb-plugin/PKGBUILD
+++ b/extra/xfce4-xkb-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-xkb-plugin
pkgver=0.5.6
pkgrel=1
pkgdesc="Plugin to switch keyboard layouts for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
license=('custom')
groups=('xfce4-goodies')
diff --git a/extra/xfconf/PKGBUILD b/extra/xfconf/PKGBUILD
index 94eae5a2e..49a73f2ad 100644
--- a/extra/xfconf/PKGBUILD
+++ b/extra/xfconf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfconf
pkgver=4.10.0
pkgrel=3
pkgdesc="A simple client-server configuration storage and query system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfdesktop/PKGBUILD b/extra/xfdesktop/PKGBUILD
index 230d5bbf7..56edc76ab 100644
--- a/extra/xfdesktop/PKGBUILD
+++ b/extra/xfdesktop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfdesktop
pkgver=4.10.2
pkgrel=1
pkgdesc="A desktop manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfig/PKGBUILD b/extra/xfig/PKGBUILD
index 832a84914..548e94fab 100644
--- a/extra/xfig/PKGBUILD
+++ b/extra/xfig/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xfig
pkgver=3.2.5c
pkgrel=1
pkgdesc="An interactive drawing tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfig.org/userman/"
license=('custom')
depends=('libpng' 'libjpeg' 'libxaw' 'libxi' 'desktop-file-utils' 'gsfonts')
diff --git a/extra/xfwm4/PKGBUILD b/extra/xfwm4/PKGBUILD
index 3930ebd0b..7ea8529b1 100644
--- a/extra/xfwm4/PKGBUILD
+++ b/extra/xfwm4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfwm4
pkgver=4.10.1
pkgrel=1
pkgdesc="Xfce window manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD
index 8490caa3e..1d6ddbd3a 100644
--- a/extra/xine-lib/PKGBUILD
+++ b/extra/xine-lib/PKGBUILD
@@ -5,18 +5,19 @@ pkgname=xine-lib
pkgver=1.2.4
pkgrel=1
pkgdesc="A multimedia playback engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xine-project.org"
license=('LGPL' 'GPL')
depends=('libxvmc' 'ffmpeg' 'libxinerama')
-makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug'
+makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'libmodplug'
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad'
- 'libmpcdec' 'libcaca' 'libbluray' 'gnome-vfs' 'libvdpau' 'glu')
+ 'libmpcdec' 'libcaca' 'libbluray' 'gnome-vfs')
+[ "$CARCH" = "mips64el" ] || makedepends+=('mesa' 'glu' 'libvdpau')
optdepends=('imagemagick: for using the imagemagick plugin' \
'jack: for using the jack plugin' \
- 'vcdimager: for using the vcd plugin' \
- 'glu: for using the opengl plugin' \
- 'wavpack: for using the wavpack plugin' \
+ 'vcdimager: for using the vcd plugin')
+[ "$CARCH" = "mips64el" ] || optdepends+=('glu: for using the opengl plugin')
+optdepends+=('wavpack: for using the wavpack plugin' \
'faad2: for using the faad plugin' \
'libmng: for using the mng plugin' \
'aalib: for using the aalib plugin' \
@@ -27,15 +28,16 @@ optdepends=('imagemagick: for using the imagemagick plugin' \
'libmpcdec: for using the musepack plugin' \
'libcaca: for using the caca plugin' \
'libbluray: for using the bluray plugin' \
- 'gnome-vfs: for using the gnome-vfs plugin' \
- 'libvdpau: for using the VDPAU plugin' \
+ 'gnome-vfs: for using the gnome-vfs plugin'
'smbclient: for using the samba plugin')
+[ "$CARCH" = "mips64el" ] || optdepends+=('libvdpau: for using the VDPAU plugin')
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz)
sha1sums=('32267c5fcaa1439a5fbf7606d27dc4fafba9e504')
build() {
cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr --with-wavpack --enable-vdpau --disable-optimizations
+ [ "$CARCH" = "mips64el" ] || extraconf=--enable-vdpau
+ ./configure --prefix=/usr --with-wavpack --disable-optimizations $extraconf
make
}
diff --git a/extra/xmahjongg/PKGBUILD b/extra/xmahjongg/PKGBUILD
index 56df4a23f..63e383811 100644
--- a/extra/xmahjongg/PKGBUILD
+++ b/extra/xmahjongg/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xmahjongg
pkgver=3.7
-pkgrel=4
+pkgrel=4.1
pkgdesc="Mahjongg game for X-Window"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lcdf.org/xmahjongg/"
license=('GPL')
depends=('gcc-libs' 'libx11')
diff --git a/extra/xmlsec/PKGBUILD b/extra/xmlsec/PKGBUILD
index 81cfd66cb..331860bfe 100644
--- a/extra/xmlsec/PKGBUILD
+++ b/extra/xmlsec/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.2.19
pkgrel=1
pkgdesc="XML Security Library is a C library based on LibXML2"
license=('custom')
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.aleksey.com/xmlsec/index.html"
depends=('libxslt' 'openssl' 'gnutls' 'nss' 'libltdl')
source=(http://www.aleksey.com/xmlsec/download/${pkgname}1-${pkgver}.tar.gz)
diff --git a/extra/xmlto/PKGBUILD b/extra/xmlto/PKGBUILD
index 6386c18ce..2b719ac92 100644
--- a/extra/xmlto/PKGBUILD
+++ b/extra/xmlto/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=xmlto
pkgver=0.0.25
-pkgrel=2
+pkgrel=2.1
pkgdesc="Convert xml to many other formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cyberelk.net/tim/software/xmlto/"
license=('GPL')
depends=('libxslt' 'perl-yaml-syck' 'perl-test-pod')
diff --git a/extra/xmms/PKGBUILD b/extra/xmms/PKGBUILD
index 592ae820e..e5ba1f51f 100644
--- a/extra/xmms/PKGBUILD
+++ b/extra/xmms/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xmms
pkgver=1.2.11
pkgrel=7
pkgdesc="The X MultiMedia System - a multimedia player"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://legacy.xmms2.org/"
license=('GPL')
depends=('gtk' 'libxxf86vm' 'libsm' 'zlib' 'desktop-file-utils')
@@ -45,7 +45,7 @@ prepare() {
# Several patches from Mandriva
patch -p1 < ../xmms-1.2.11-fix-http-title-mpg123.patch
patch -p0 < ../xmms-1.2.10-recode-id3.patch
- patch -p1 < ../xmms-1.2.11-3dse.patch
+ [ "$CARCH" != "mips64el" ] && patch -p1 < ../xmms-1.2.11-3dse.patch
patch -p1 < ../xmms-1.2.10-fonts.patch
patch -p1 < ../xmms-1.2.11-CVE-2007-0653.0654.patch
patch -p1 < ../xmms-1.2.11-fix-mikmod-driver.patch
diff --git a/extra/xorg-appres/PKGBUILD b/extra/xorg-appres/PKGBUILD
index 27bbbd6a7..6f566cd17 100644
--- a/extra/xorg-appres/PKGBUILD
+++ b/extra/xorg-appres/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xorg-appres
pkgver=1.0.4
pkgrel=1
pkgdesc="List X application resource database"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxt')
diff --git a/extra/xorg-bdftopcf/PKGBUILD b/extra/xorg-bdftopcf/PKGBUILD
index 8bef25d11..188b0e283 100644
--- a/extra/xorg-bdftopcf/PKGBUILD
+++ b/extra/xorg-bdftopcf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-bdftopcf
pkgver=1.0.4
pkgrel=1
pkgdesc="Convert X font from Bitmap Distribution Format to Portable Compiled Format"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfont')
diff --git a/extra/xorg-font-util/PKGBUILD b/extra/xorg-font-util/PKGBUILD
index 2589f10e6..b0f88c1a5 100644
--- a/extra/xorg-font-util/PKGBUILD
+++ b/extra/xorg-font-util/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=xorg-font-util
pkgver=1.3.0
-pkgrel=1
+pkgrel=1.1
pkgdesc='X.Org font utilities'
url='http://xorg.freedesktop.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
makedepends=('xorg-util-macros')
source=("${url}/releases/individual/font/font-util-${pkgver}.tar.bz2")
diff --git a/extra/xorg-iceauth/PKGBUILD b/extra/xorg-iceauth/PKGBUILD
index 6a851a494..4860a675c 100644
--- a/extra/xorg-iceauth/PKGBUILD
+++ b/extra/xorg-iceauth/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-iceauth
pkgver=1.0.6
pkgrel=1
pkgdesc="ICE authority file utility"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libice')
diff --git a/extra/xorg-luit/PKGBUILD b/extra/xorg-luit/PKGBUILD
index 6e6878e1f..a60f4dc4c 100644
--- a/extra/xorg-luit/PKGBUILD
+++ b/extra/xorg-luit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-luit
pkgver=1.1.1
pkgrel=2
pkgdesc="Filter that can be run between an arbitrary application and a UTF-8 terminal emulator"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libfontenc')
diff --git a/extra/xorg-mkfontscale/PKGBUILD b/extra/xorg-mkfontscale/PKGBUILD
index 0da167e34..964796cf6 100644
--- a/extra/xorg-mkfontscale/PKGBUILD
+++ b/extra/xorg-mkfontscale/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-mkfontscale
pkgver=1.1.1
pkgrel=1
pkgdesc="Create an index of scalable font files for X"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('freetype2' 'libfontenc')
diff --git a/extra/xorg-oclock/PKGBUILD b/extra/xorg-oclock/PKGBUILD
index 76c42e775..ec79fd84a 100644
--- a/extra/xorg-oclock/PKGBUILD
+++ b/extra/xorg-oclock/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-oclock
pkgver=1.0.3
-pkgrel=1
+pkgrel=1.2
pkgdesc="Round X clock"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'libxext' 'libxkbfile')
diff --git a/extra/xorg-server/PKGBUILD b/extra/xorg-server/PKGBUILD
index d8a71d32d..ff5a25796 100644
--- a/extra/xorg-server/PKGBUILD
+++ b/extra/xorg-server/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=xorg-server
pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xdmx' 'xorg-server-xvfb' 'xorg-server-xnest' 'xorg-server-common' 'xorg-server-devel')
pkgver=1.14.4
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org"
makedepends=('pixman' 'libx11' 'mesa' 'mesa-libgl' 'xf86driproto' 'xcmiscproto' 'xtrans' 'bigreqsproto' 'randrproto' 'inputproto' 'fontsproto' 'videoproto'
@@ -22,6 +22,7 @@ source=(${url}/releases/individual/xserver/${pkgbase}-${pkgver}.tar.bz2
xvfb-run
xvfb-run.1
10-quirks.conf
+ loongson.patch
fb-rename-wfbDestroyGlyphCache.patch)
sha256sums=('608ccfaafb845f6e559884a30f946d365209172416710d687b190e9e1ff65dc3'
'66e25f76a7496c429e0aff4b0670f168719bb0ceaeb88c6f2272f2bf3ed21162'
@@ -32,6 +33,7 @@ sha256sums=('608ccfaafb845f6e559884a30f946d365209172416710d687b190e9e1ff65dc3'
'ff0156309470fc1d378fd2e104338020a884295e285972cc88e250e031cc35b9'
'2460adccd3362fefd4cdc5f1c70f332d7b578091fb9167bf88b5f91265bbd776'
'94612f5c0d34a3b7152915c2e285c7b462e9d8e38d3539bd551a339498eac166'
+ 'c1081681093cd56003f77e1bf4febc3e6bb84a1bde95292fbe19e8c461a7d207'
'd0832cc16b5e6c1dee2959055a4b327f5c87e2a67b5f427d654663057207b2c1')
prepare() {
@@ -42,6 +44,9 @@ prepare() {
# Use unofficial imedia SiS driver for supported SiS devices
patch -Np0 -i ../autoconfig-sis.patch
+ # Based on http://lists.freedesktop.org/archives/xorg-devel/2011-October/026249.html
+ patch -Np1 -i "${srcdir}/loongson.patch"
+
# https://bugs.freedesktop.org/show_bug.cgi?id=59825 - fixes crash with vboxvideo
# patch -Np1 -i ../bug59825.patch
diff --git a/extra/xorg-server/loongson.patch b/extra/xorg-server/loongson.patch
new file mode 100644
index 000000000..632753873
--- /dev/null
+++ b/extra/xorg-server/loongson.patch
@@ -0,0 +1,56 @@
+diff -ru xorg-server-1.14.0.orig/hw/xfree86/dri/sarea.h xorg-server-1.14.0/hw/xfree86/dri/sarea.h
+--- xorg-server-1.14.0.orig/hw/xfree86/dri/sarea.h 2013-03-19 13:50:10.838242935 +0100
++++ xorg-server-1.14.0/hw/xfree86/dri/sarea.h 2013-03-19 13:50:39.129859642 +0100
+@@ -41,6 +41,8 @@
+ /* SAREA area needs to be at least a page */
+ #if defined(__alpha__)
+ #define SAREA_MAX 0x2000
++#elif defined(__mips__)
++#define SAREA_MAX 0x4000
+ #elif defined(__ia64__)
+ #define SAREA_MAX 0x10000 /* 64kB */
+ #else
+diff -ru xorg-server-1.14.0.orig/hw/xfree86/os-support/linux/lnx_video.c xorg-server-1.14.0/hw/xfree86/os-support/linux/lnx_video.c
+--- xorg-server-1.14.0.orig/hw/xfree86/os-support/linux/lnx_video.c 2013-03-19 13:50:10.869508709 +0100
++++ xorg-server-1.14.0/hw/xfree86/os-support/linux/lnx_video.c 2013-03-19 14:02:26.536090562 +0100
+@@ -503,6 +503,40 @@
+ ioBase = NULL;
+ }
+
++#elif defined(__mips__)
++
++extern unsigned int IOPortBase;
++
++static Bool
++hwEnableIO(void)
++{
++ int fd;
++
++ fd = open("/dev/mem", O_RDWR);
++ IOPortBase = (volatile unsigned char *)mmap(0, 0x20000,
++ PROT_READ | PROT_WRITE, MAP_SHARED, fd,
++ 0x1fd00000);
++ if (IOPortBase == MAP_FAILED) {
++ xf86Msg(X_WARNING,
++ "xf86EnableIOPorts: Failed to map iobase (%s)\n",
++ strerror(errno));
++ return FALSE;
++ }
++ close(fd);
++ xf86Msg(X_WARNING,
++ "xf86EnableIOPorts: map iobase (%x)\n",
++ IOPortBase);
++
++ return IOPortBase != MAP_FAILED;
++}
++
++static void
++hwDisableIO(void)
++{
++ munmap(IOPortBase, 0x20000);
++ IOPortBase = NULL;
++}
++
+ #elif defined(__i386__) || defined(__x86_64__) || defined(__ia64__) || \
+ defined(__alpha__)
+
diff --git a/extra/xorg-sessreg/PKGBUILD b/extra/xorg-sessreg/PKGBUILD
index 2bc48e061..7096159ea 100644
--- a/extra/xorg-sessreg/PKGBUILD
+++ b/extra/xorg-sessreg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-sessreg
pkgver=1.0.8
pkgrel=1
pkgdesc="Register X sessions in system utmp/utmpx databases"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/xorg-setxkbmap/PKGBUILD b/extra/xorg-setxkbmap/PKGBUILD
index f48a852d9..24df12a09 100644
--- a/extra/xorg-setxkbmap/PKGBUILD
+++ b/extra/xorg-setxkbmap/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Set the keyboard using the X Keyboard Extension'
url='http://xorg.freedesktop.org/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxkbfile')
makedepends=('xorg-util-macros')
source=("${url}/releases/individual/app/setxkbmap-${pkgver}.tar.bz2")
diff --git a/extra/xorg-smproxy/PKGBUILD b/extra/xorg-smproxy/PKGBUILD
index d8c25e0a4..bbfd531ad 100644
--- a/extra/xorg-smproxy/PKGBUILD
+++ b/extra/xorg-smproxy/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-smproxy
pkgver=1.0.5
-pkgrel=1
+pkgrel=1.1
pkgdesc="Allows X applications that do not support X11R6 session management to participate in an X11R6 session"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libsm' 'libxt' 'libxmu')
diff --git a/extra/xorg-twm/PKGBUILD b/extra/xorg-twm/PKGBUILD
index 472672da3..210a1ee7e 100644
--- a/extra/xorg-twm/PKGBUILD
+++ b/extra/xorg-twm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xorg-twm
pkgver=1.0.8
pkgrel=1
pkgdesc="Tab Window Manager for the X Window System"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
backup=(etc/X11/twm/system.twmrc)
license=('custom')
diff --git a/extra/xorg-x11perf/PKGBUILD b/extra/xorg-x11perf/PKGBUILD
index 7c7479dca..a46972d16 100644
--- a/extra/xorg-x11perf/PKGBUILD
+++ b/extra/xorg-x11perf/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-x11perf
pkgver=1.5.4
-pkgrel=1
+pkgrel=1.2
pkgdesc="Simple X server performance benchmarker"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'libxrender' 'libxft' 'libxext')
diff --git a/extra/xorg-xauth/PKGBUILD b/extra/xorg-xauth/PKGBUILD
index 558a17b99..6edbc76f4 100644
--- a/extra/xorg-xauth/PKGBUILD
+++ b/extra/xorg-xauth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xorg-xauth
pkgver=1.0.8
pkgrel=1
pkgdesc="X.Org authorization settings program"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxmu')
diff --git a/extra/xorg-xbacklight/PKGBUILD b/extra/xorg-xbacklight/PKGBUILD
index 412b91056..c14213649 100644
--- a/extra/xorg-xbacklight/PKGBUILD
+++ b/extra/xorg-xbacklight/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xbacklight
pkgver=1.2.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="RandR-based backlight control application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xcb-util')
diff --git a/extra/xorg-xbiff/PKGBUILD b/extra/xorg-xbiff/PKGBUILD
index d30551e11..938a15d9f 100644
--- a/extra/xorg-xbiff/PKGBUILD
+++ b/extra/xorg-xbiff/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xbiff
pkgver=1.0.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="Watch mailboxes for new message delivery"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxext')
diff --git a/extra/xorg-xcalc/PKGBUILD b/extra/xorg-xcalc/PKGBUILD
index 7d949a313..71a746d92 100644
--- a/extra/xorg-xcalc/PKGBUILD
+++ b/extra/xorg-xcalc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xcalc
pkgver=1.0.5
pkgrel=1
pkgdesc="Scientific calculator for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw')
diff --git a/extra/xorg-xclipboard/PKGBUILD b/extra/xorg-xclipboard/PKGBUILD
index 835cb897f..1cfa339ed 100644
--- a/extra/xorg-xclipboard/PKGBUILD
+++ b/extra/xorg-xclipboard/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xclipboard
pkgver=1.1.3
pkgrel=1
pkgdesc="X clipboard manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xclock/PKGBUILD b/extra/xorg-xclock/PKGBUILD
index 77d1098bd..1b9eda13b 100644
--- a/extra/xorg-xclock/PKGBUILD
+++ b/extra/xorg-xclock/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xclock
pkgver=1.0.7
pkgrel=1
pkgdesc="X clock"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'libxaw' 'libxrender' 'libxft' 'libxkbfile')
diff --git a/extra/xorg-xcmsdb/PKGBUILD b/extra/xorg-xcmsdb/PKGBUILD
index 37346f97a..fbb387949 100644
--- a/extra/xorg-xcmsdb/PKGBUILD
+++ b/extra/xorg-xcmsdb/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xcmsdb
pkgver=1.0.4
-pkgrel=1
+pkgrel=1.1
pkgdesc="Device Color Characterization utility for X Color Management System"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xconsole/PKGBUILD b/extra/xorg-xconsole/PKGBUILD
index bc3ca28f5..cd09847f6 100644
--- a/extra/xorg-xconsole/PKGBUILD
+++ b/extra/xorg-xconsole/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xconsole
pkgver=1.0.6
pkgrel=1
pkgdesc="Monitor system console messages with X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xcursorgen/PKGBUILD b/extra/xorg-xcursorgen/PKGBUILD
index 73b44508d..b08bd5fc5 100644
--- a/extra/xorg-xcursorgen/PKGBUILD
+++ b/extra/xorg-xcursorgen/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xcursorgen
pkgver=1.0.5
pkgrel=2
pkgdesc="Create an X cursor file from PNG images"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxcursor' 'libpng')
diff --git a/extra/xorg-xdm/PKGBUILD b/extra/xorg-xdm/PKGBUILD
index c1d8eb0e3..686d749f2 100644
--- a/extra/xorg-xdm/PKGBUILD
+++ b/extra/xorg-xdm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xdm
pkgver=1.1.11
pkgrel=4
pkgdesc="X Display Manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('pam' 'libxaw' 'libxinerama' 'xorg-xrdb' 'xorg-sessreg' 'libxft' 'systemd')
diff --git a/extra/xorg-xdpyinfo/PKGBUILD b/extra/xorg-xdpyinfo/PKGBUILD
index 6072f73e0..dc1b608d5 100644
--- a/extra/xorg-xdpyinfo/PKGBUILD
+++ b/extra/xorg-xdpyinfo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xorg-xdpyinfo
pkgver=1.3.1
pkgrel=1
pkgdesc="Display information utility for X"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxext' 'libxtst' 'libxxf86vm' 'libxxf86dga' 'libxrender' 'libxcomposite' 'libxinerama' 'libdmx')
diff --git a/extra/xorg-xdriinfo/PKGBUILD b/extra/xorg-xdriinfo/PKGBUILD
index e2fb4a36d..322b029b6 100644
--- a/extra/xorg-xdriinfo/PKGBUILD
+++ b/extra/xorg-xdriinfo/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xdriinfo
pkgver=1.0.4
-pkgrel=3
+pkgrel=3.1
pkgdesc="Query configuration information of DRI drivers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libgl')
diff --git a/extra/xorg-xedit/PKGBUILD b/extra/xorg-xedit/PKGBUILD
index 5fcec8b7d..0246a8ce3 100644
--- a/extra/xorg-xedit/PKGBUILD
+++ b/extra/xorg-xedit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xedit
pkgver=1.2.1
pkgrel=1
pkgdesc="Simple text editor for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xev/PKGBUILD b/extra/xorg-xev/PKGBUILD
index 3d0eebc3b..f817360e1 100644
--- a/extra/xorg-xev/PKGBUILD
+++ b/extra/xorg-xev/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.2.1
pkgrel=1
pkgdesc='Print contents of X events'
url='http://xorg.freedesktop.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('libx11' 'libxrandr')
makedepends=('xorg-util-macros' 'xproto')
diff --git a/extra/xorg-xeyes/PKGBUILD b/extra/xorg-xeyes/PKGBUILD
index 717d7a7b7..4efe1ce00 100644
--- a/extra/xorg-xeyes/PKGBUILD
+++ b/extra/xorg-xeyes/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xeyes
pkgver=1.1.1
-pkgrel=2
+pkgrel=2.2
pkgdesc="Follow the mouse/SHAPE extension X demo"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxt' 'libxext' 'libxmu' 'libxrender')
diff --git a/extra/xorg-xfd/PKGBUILD b/extra/xorg-xfd/PKGBUILD
index 6ea8b8d64..6892d54de 100644
--- a/extra/xorg-xfd/PKGBUILD
+++ b/extra/xorg-xfd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xfd
pkgver=1.1.2
pkgrel=1
pkgdesc="Displays all the characters in a font using either the X11 core protocol or libXft2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'fontconfig' 'libxft' 'libxrender' 'libxmu')
diff --git a/extra/xorg-xfontsel/PKGBUILD b/extra/xorg-xfontsel/PKGBUILD
index 533c1a102..ba9194ebf 100644
--- a/extra/xorg-xfontsel/PKGBUILD
+++ b/extra/xorg-xfontsel/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.0.5
pkgrel=1
pkgdesc='Point and click selection of X11 font names'
url='http://xorg.freedesktop.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
makedepends=('xorg-util-macros')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xgamma/PKGBUILD b/extra/xorg-xgamma/PKGBUILD
index e77997d4f..e36cf6083 100644
--- a/extra/xorg-xgamma/PKGBUILD
+++ b/extra/xorg-xgamma/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xgamma
pkgver=1.0.5
pkgrel=1
pkgdesc="Alter a monitor's gamma correction"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxxf86vm')
diff --git a/extra/xorg-xhost/PKGBUILD b/extra/xorg-xhost/PKGBUILD
index 8599de6a6..0b546f80e 100644
--- a/extra/xorg-xhost/PKGBUILD
+++ b/extra/xorg-xhost/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xhost
pkgver=1.0.6
pkgrel=1
pkgdesc="Server access control program for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu')
diff --git a/extra/xorg-xinit/PKGBUILD b/extra/xorg-xinit/PKGBUILD
index 15d645dee..38ccfeb49 100644
--- a/extra/xorg-xinit/PKGBUILD
+++ b/extra/xorg-xinit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xorg-xinit
pkgver=1.3.3
pkgrel=2
pkgdesc="X.Org initialisation program "
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libx11' 'xorg-xauth' 'inetutils')
diff --git a/extra/xorg-xinput/PKGBUILD b/extra/xorg-xinput/PKGBUILD
index 0f2007c94..fc8e6d320 100644
--- a/extra/xorg-xinput/PKGBUILD
+++ b/extra/xorg-xinput/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xinput
pkgver=1.6.1
pkgrel=1
pkgdesc="Small commandline tool to configure devices"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxi>=1.5.99.2' 'xorg-xrandr' 'libxinerama')
diff --git a/extra/xorg-xkbcomp/PKGBUILD b/extra/xorg-xkbcomp/PKGBUILD
index 35dce4fce..ae3d9a204 100644
--- a/extra/xorg-xkbcomp/PKGBUILD
+++ b/extra/xorg-xkbcomp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xkbcomp
pkgver=1.2.4
pkgrel=1
pkgdesc="X Keyboard description compiler"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxkbfile')
diff --git a/extra/xorg-xkbevd/PKGBUILD b/extra/xorg-xkbevd/PKGBUILD
index 0f523d902..c28d91a6e 100644
--- a/extra/xorg-xkbevd/PKGBUILD
+++ b/extra/xorg-xkbevd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xkbevd
pkgver=1.1.3
pkgrel=1
pkgdesc="XKB event daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxkbfile')
diff --git a/extra/xorg-xkbutils/PKGBUILD b/extra/xorg-xkbutils/PKGBUILD
index 5203a4fbb..22ceec025 100644
--- a/extra/xorg-xkbutils/PKGBUILD
+++ b/extra/xorg-xkbutils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xkbutils
pkgver=1.0.4
pkgrel=1
pkgdesc="XKB utility demos"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxt' 'libx11')
diff --git a/extra/xorg-xkill/PKGBUILD b/extra/xorg-xkill/PKGBUILD
index 6fe9bda86..3b5541f10 100644
--- a/extra/xorg-xkill/PKGBUILD
+++ b/extra/xorg-xkill/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xkill
pkgver=1.0.4
pkgrel=1
pkgdesc="Kill a client by its X resource"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu')
diff --git a/extra/xorg-xload/PKGBUILD b/extra/xorg-xload/PKGBUILD
index 961cb2d26..b4b78d3c8 100644
--- a/extra/xorg-xload/PKGBUILD
+++ b/extra/xorg-xload/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xload
pkgver=1.1.2
pkgrel=1
pkgdesc="System load average display for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xlogo/PKGBUILD b/extra/xorg-xlogo/PKGBUILD
index 8a3713b97..42cf8c3db 100644
--- a/extra/xorg-xlogo/PKGBUILD
+++ b/extra/xorg-xlogo/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xlogo
pkgver=1.0.4
pkgrel=1
pkgdesc="Draw [old] X logo"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libsm' 'libxaw' 'libxmu' 'libxt' 'libxext' 'libx11' 'libxrender' 'libxft')
diff --git a/extra/xorg-xlsatoms/PKGBUILD b/extra/xorg-xlsatoms/PKGBUILD
index eef31393d..4e36c7e9d 100644
--- a/extra/xorg-xlsatoms/PKGBUILD
+++ b/extra/xorg-xlsatoms/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xlsatoms
pkgver=1.1.1
pkgrel=1
pkgdesc="List interned atoms defined on server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcb')
diff --git a/extra/xorg-xlsclients/PKGBUILD b/extra/xorg-xlsclients/PKGBUILD
index c23d1aaa6..5701a8336 100644
--- a/extra/xorg-xlsclients/PKGBUILD
+++ b/extra/xorg-xlsclients/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xlsclients
pkgver=1.1.3
pkgrel=1
pkgdesc="List client applications running on a display"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcb')
diff --git a/extra/xorg-xmag/PKGBUILD b/extra/xorg-xmag/PKGBUILD
index cdce17e7c..501d5e12f 100644
--- a/extra/xorg-xmag/PKGBUILD
+++ b/extra/xorg-xmag/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xmag
pkgver=1.0.5
pkgrel=1
pkgdesc="Magnify parts of the screen"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xman/PKGBUILD b/extra/xorg-xman/PKGBUILD
index 1b6bd6aa8..6eef4f51c 100644
--- a/extra/xorg-xman/PKGBUILD
+++ b/extra/xorg-xman/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xman
pkgver=1.1.3
pkgrel=1
pkgdesc="Unix manual page viewer"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxt')
diff --git a/extra/xorg-xmessage/PKGBUILD b/extra/xorg-xmessage/PKGBUILD
index 8c6ddd5f4..de79d4648 100644
--- a/extra/xorg-xmessage/PKGBUILD
+++ b/extra/xorg-xmessage/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xmessage
pkgver=1.0.4
pkgrel=1
pkgdesc="Display a message or query in a window"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw')
diff --git a/extra/xorg-xmodmap/PKGBUILD b/extra/xorg-xmodmap/PKGBUILD
index f15e1b895..85a3f3aef 100644
--- a/extra/xorg-xmodmap/PKGBUILD
+++ b/extra/xorg-xmodmap/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xmodmap
pkgver=1.0.8
pkgrel=1
pkgdesc="Utility for modifying keymaps and button mappings"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xpr/PKGBUILD b/extra/xorg-xpr/PKGBUILD
index 11ba4bad5..0eb9d1dd4 100644
--- a/extra/xorg-xpr/PKGBUILD
+++ b/extra/xorg-xpr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xpr
pkgver=1.0.4
pkgrel=1
pkgdesc="Print an X window dump from xwd"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'sh')
diff --git a/extra/xorg-xprop/PKGBUILD b/extra/xorg-xprop/PKGBUILD
index 57c671c62..66c31787a 100644
--- a/extra/xorg-xprop/PKGBUILD
+++ b/extra/xorg-xprop/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xprop
pkgver=1.2.2
pkgrel=1
pkgdesc="Property displayer for X"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xrandr/PKGBUILD b/extra/xorg-xrandr/PKGBUILD
index e98fe02c7..43fe711f3 100644
--- a/extra/xorg-xrandr/PKGBUILD
+++ b/extra/xorg-xrandr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xrandr
pkgver=1.4.1
pkgrel=1
pkgdesc="Primitive command line interface to RandR extension"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxrandr' 'libx11')
diff --git a/extra/xorg-xrdb/PKGBUILD b/extra/xorg-xrdb/PKGBUILD
index 4555a3f80..d3f422b92 100644
--- a/extra/xorg-xrdb/PKGBUILD
+++ b/extra/xorg-xrdb/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xrdb
pkgver=1.1.0
pkgrel=1
pkgdesc="X server resource database utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'mcpp')
diff --git a/extra/xorg-xrefresh/PKGBUILD b/extra/xorg-xrefresh/PKGBUILD
index a0d5abce1..66bf9a086 100644
--- a/extra/xorg-xrefresh/PKGBUILD
+++ b/extra/xorg-xrefresh/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xorg-xrefresh
pkgver=1.0.5
pkgrel=1
pkgdesc="Refresh all or part of an X screen"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xset/PKGBUILD b/extra/xorg-xset/PKGBUILD
index ab4573148..fe4fa833e 100644
--- a/extra/xorg-xset/PKGBUILD
+++ b/extra/xorg-xset/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xset
pkgver=1.2.3
pkgrel=1
pkgdesc="User preference utility for X"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxmu')
diff --git a/extra/xorg-xsetroot/PKGBUILD b/extra/xorg-xsetroot/PKGBUILD
index ab156de7d..545c33bc4 100644
--- a/extra/xorg-xsetroot/PKGBUILD
+++ b/extra/xorg-xsetroot/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xsetroot
pkgver=1.1.1
pkgrel=1
pkgdesc="Classic X utility to set your root window background to a given pattern or color"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxmu' 'libx11' 'libxcursor')
diff --git a/extra/xorg-xvidtune/PKGBUILD b/extra/xorg-xvidtune/PKGBUILD
index 5cf0c2b81..16efa8c97 100644
--- a/extra/xorg-xvidtune/PKGBUILD
+++ b/extra/xorg-xvidtune/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xvidtune
pkgver=1.0.3
pkgrel=1
pkgdesc="Video mode tuner for Xorg"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxxf86vm' 'libxt' 'libxaw' 'libxmu' 'libx11')
diff --git a/extra/xorg-xvinfo/PKGBUILD b/extra/xorg-xvinfo/PKGBUILD
index f3ef41f7d..6d8d13b74 100644
--- a/extra/xorg-xvinfo/PKGBUILD
+++ b/extra/xorg-xvinfo/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xvinfo
pkgver=1.1.2
pkgrel=1
pkgdesc="Prints out the capabilities of any video adaptors associated with the display that are accessible through the X-Video extension"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxv')
diff --git a/extra/xorg-xwd/PKGBUILD b/extra/xorg-xwd/PKGBUILD
index b66cac88b..a1efcae8c 100644
--- a/extra/xorg-xwd/PKGBUILD
+++ b/extra/xorg-xwd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xwd
pkgver=1.0.6
pkgrel=1
pkgdesc="X Window System image dumping utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxkbfile')
diff --git a/extra/xorg-xwininfo/PKGBUILD b/extra/xorg-xwininfo/PKGBUILD
index f4f678935..6e0f703a5 100644
--- a/extra/xorg-xwininfo/PKGBUILD
+++ b/extra/xorg-xwininfo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xorg-xwininfo
pkgver=1.1.3
pkgrel=1
pkgdesc="Command-line utility to print information about windows on an X server"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcb')
diff --git a/extra/xorg-xwud/PKGBUILD b/extra/xorg-xwud/PKGBUILD
index b2a30dc07..de10341d3 100644
--- a/extra/xorg-xwud/PKGBUILD
+++ b/extra/xorg-xwud/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xwud
pkgver=1.0.4
pkgrel=1
pkgdesc="X Window System image undumping utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xournal/PKGBUILD b/extra/xournal/PKGBUILD
index 240f15da7..ba03596fd 100644
--- a/extra/xournal/PKGBUILD
+++ b/extra/xournal/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc='Notetaking and sketching application'
url='http://xournal.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libgnomecanvas' 'poppler-glib' 'shared-mime-info' 'desktop-file-utils' 'hicolor-icon-theme')
optdepends=('ghostscript: import PS/PDF files as bitmap backgrounds')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/xsane/PKGBUILD b/extra/xsane/PKGBUILD
index bc68f6eb5..dd25f19b9 100644
--- a/extra/xsane/PKGBUILD
+++ b/extra/xsane/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=xsane
pkgname=('xsane' 'xsane-gimp')
pkgver=0.998
pkgrel=5
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.xsane.org"
license=('GPL2')
makedepends=('gtk2' 'lcms' 'sane' 'zlib' 'libjpeg' 'gimp')
diff --git a/extra/xsd/PKGBUILD b/extra/xsd/PKGBUILD
index 5bce2a625..8309fe961 100644
--- a/extra/xsd/PKGBUILD
+++ b/extra/xsd/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=3.3.0
_pkgver=3.3.0-2+dep
pkgrel=9
pkgdesc="An open-source, cross-platform W3C XML Schema to C++ data binding compiler"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.codesynthesis.com/products/xsd"
license=('GPL2')
depends=('boost-libs' 'xerces-c')
diff --git a/extra/xterm/PKGBUILD b/extra/xterm/PKGBUILD
index 76e08e595..048e57d2b 100644
--- a/extra/xterm/PKGBUILD
+++ b/extra/xterm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xterm
pkgver=297
pkgrel=1
pkgdesc="X Terminal Emulator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://invisible-island.net/xterm/"
license=('custom')
depends=('libxft' 'libxaw' 'ncurses' 'xorg-luit' 'xbitmaps' 'libutempter')
diff --git a/extra/xvidcore/PKGBUILD b/extra/xvidcore/PKGBUILD
index 5ef4629a6..ab93903d9 100644
--- a/extra/xvidcore/PKGBUILD
+++ b/extra/xvidcore/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xvidcore
pkgver=1.3.2
pkgrel=3
pkgdesc="XviD is an open source MPEG-4 video codec"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xvid.org/"
license=('GPL')
depends=('glibc')
diff --git a/extra/yajl/PKGBUILD b/extra/yajl/PKGBUILD
index 3f1850713..317f51f61 100644
--- a/extra/yajl/PKGBUILD
+++ b/extra/yajl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=yajl
pkgver=2.0.4
pkgrel=2
pkgdesc='Yet Another JSON Library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://lloyd.github.com/yajl/'
license=('ISC')
makedepends=('cmake')
diff --git a/extra/yakuake/PKGBUILD b/extra/yakuake/PKGBUILD
index 1642a8bd4..6a7fe7479 100644
--- a/extra/yakuake/PKGBUILD
+++ b/extra/yakuake/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=yakuake
pkgver=2.9.9
pkgrel=1
pkgdesc="A drop-down terminal emulator based on KDE konsole technology"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://yakuake.kde.org/'
license=('GPL')
depends=('kdebase-konsole')
diff --git a/extra/yasm/PKGBUILD b/extra/yasm/PKGBUILD
index 3c229a87a..82d89ac53 100644
--- a/extra/yasm/PKGBUILD
+++ b/extra/yasm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=yasm
pkgver=1.2.0
pkgrel=3
pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.tortall.net/projects/yasm/"
license=('BSD' 'GPL2' 'LGPL2.1' 'PerlArtistic')
depends=('glibc')
diff --git a/extra/yelp/PKGBUILD b/extra/yelp/PKGBUILD
index 9ca8686ab..80bfe578d 100644
--- a/extra/yelp/PKGBUILD
+++ b/extra/yelp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=yelp
pkgver=3.10.1
pkgrel=1
pkgdesc="A help browser for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('webkitgtk' 'yelp-xsl' 'libxslt' 'hicolor-icon-theme' 'xz' 'bzip2'
'desktop-file-utils' 'dconf')
makedepends=('intltool' 'gtk-doc' 'itstool')
diff --git a/extra/yp-tools/PKGBUILD b/extra/yp-tools/PKGBUILD
index 2b2edf481..4d0c167c0 100644
--- a/extra/yp-tools/PKGBUILD
+++ b/extra/yp-tools/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=yp-tools
pkgver=2.14
pkgrel=3
pkgdesc='Linux NIS Tools'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.linux-nis.org/nis/yp-tools/'
license=('GPL2')
depends=('ypbind-mt')
diff --git a/extra/ypbind-mt/PKGBUILD b/extra/ypbind-mt/PKGBUILD
index c2bbc1c08..c1fedbfc3 100644
--- a/extra/ypbind-mt/PKGBUILD
+++ b/extra/ypbind-mt/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=5
pkgdesc='Linux NIS daemon'
url='http://www.linux-nis.org/nis/ypbind-mt/'
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('networkmanager')
depends=('rpcbind' 'openslp' 'yp-tools' 'systemd')
backup=('etc/yp.conf')
@@ -22,6 +22,7 @@ build() {
./configure \
--prefix=/usr \
+ --build=$CHOST \
--sbindir=/usr/bin
make
diff --git a/extra/ypserv/PKGBUILD b/extra/ypserv/PKGBUILD
index 98420b735..1b84a81ac 100644
--- a/extra/ypserv/PKGBUILD
+++ b/extra/ypserv/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=ypserv
pkgver=2.31
pkgrel=2
pkgdesc='Linux NIS Server'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.linux-nis.org/nis/ypserv/'
license=('GPL2')
depends=('gdbm' 'openslp' 'inetutils' 'yp-tools')
diff --git a/extra/zeitgeist/PKGBUILD b/extra/zeitgeist/PKGBUILD
index 951dc0f79..81b6b13cf 100644
--- a/extra/zeitgeist/PKGBUILD
+++ b/extra/zeitgeist/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=zeitgeist
pkgver=0.9.14
pkgrel=1
pkgdesc="Service logging user activities and events"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://zeitgeist-project.com/"
license=(GPL2 LGPL2.1)
depends=(json-glib telepathy-glib gtk3)
diff --git a/extra/zenity/PKGBUILD b/extra/zenity/PKGBUILD
index d3ba402b8..442193471 100644
--- a/extra/zenity/PKGBUILD
+++ b/extra/zenity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=zenity
pkgver=3.10.0
pkgrel=1
pkgdesc="Display graphical dialog boxes from shell scripts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(LGPL)
depends=(gtk3 libnotify)
makedepends=(intltool gtk-doc itstool docbook-xsl git gnome-common yelp-tools)
diff --git a/extra/zip/PKGBUILD b/extra/zip/PKGBUILD
index dca110344..48769e74f 100644
--- a/extra/zip/PKGBUILD
+++ b/extra/zip/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=zip
pkgver=3.0
_pkgver=30
-pkgrel=3
+pkgrel=3.1
pkgdesc="Creates PKZIP-compatible .zip files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.info-zip.org/Zip.html"
license=('BSD')
depends=('bzip2')
diff --git a/extra/zsh/PKGBUILD b/extra/zsh/PKGBUILD
index 034b66e99..b989acd8c 100644
--- a/extra/zsh/PKGBUILD
+++ b/extra/zsh/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=zsh
pkgver=5.0.2
pkgrel=4
pkgdesc='A very advanced and programmable command interpreter (shell) for UNIX'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.zsh.org/'
license=('custom')
depends=('pcre' 'libcap' 'gdbm')
diff --git a/extra/zvbi/PKGBUILD b/extra/zvbi/PKGBUILD
index e7819a46b..447b93a97 100644
--- a/extra/zvbi/PKGBUILD
+++ b/extra/zvbi/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.2.33
pkgrel=6
pkgdesc="VBI capture and decoding library"
url="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libpng' 'libx11')
license=('GPL')
source=("http://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2"
diff --git a/extra/zziplib/PKGBUILD b/extra/zziplib/PKGBUILD
index 0e4077123..f5376730e 100644
--- a/extra/zziplib/PKGBUILD
+++ b/extra/zziplib/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=zziplib
pkgver=0.13.62
pkgrel=2
pkgdesc="A lightweight library that offers the ability to easily extract data from files archived in a single zip file"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://zziplib.sourceforge.net"
license=('LGPL' 'MPL')
depends=('zlib')