summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/a2ps/PKGBUILD2
-rw-r--r--extra/a52dec/PKGBUILD5
-rw-r--r--extra/aalib/PKGBUILD2
-rw-r--r--extra/abiword/PKGBUILD58
-rw-r--r--extra/abiword/compat_libwpg_0_9.patch371
-rw-r--r--extra/abook/PKGBUILD2
-rw-r--r--extra/acpi/PKGBUILD2
-rw-r--r--extra/aiksaurus/PKGBUILD2
-rw-r--r--extra/akonadi/PKGBUILD3
-rw-r--r--extra/alex/PKGBUILD2
-rw-r--r--extra/allegro/PKGBUILD2
-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-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/PKGBUILD2
-rw-r--r--extra/anthy/PKGBUILD2
-rw-r--r--extra/antlr2/PKGBUILD2
-rw-r--r--extra/apache/PKGBUILD4
-rw-r--r--extra/apr-util/PKGBUILD2
-rw-r--r--extra/apr/PKGBUILD2
-rw-r--r--extra/apricots/PKGBUILD2
-rw-r--r--extra/archboot/PKGBUILD2
-rw-r--r--extra/ardour/PKGBUILD2
-rw-r--r--extra/arj/PKGBUILD2
-rw-r--r--extra/arora/PKGBUILD2
-rw-r--r--extra/asio/PKGBUILD2
-rw-r--r--extra/aspell-de/PKGBUILD2
-rw-r--r--extra/aspell-en/PKGBUILD2
-rw-r--r--extra/aspell-es/PKGBUILD2
-rw-r--r--extra/aspell-fr/PKGBUILD2
-rw-r--r--extra/aspell-hu/PKGBUILD2
-rw-r--r--extra/aspell-it/PKGBUILD2
-rw-r--r--extra/aspell-nl/PKGBUILD2
-rw-r--r--extra/aspell-pt/PKGBUILD2
-rw-r--r--extra/aspell-ru/PKGBUILD2
-rw-r--r--extra/aspell/PKGBUILD2
-rw-r--r--extra/asymptote/PKGBUILD2
-rw-r--r--extra/at-spi/PKGBUILD2
-rw-r--r--extra/at-spi2-atk/PKGBUILD2
-rw-r--r--extra/at-spi2-core/PKGBUILD2
-rw-r--r--extra/at/PKGBUILD2
-rw-r--r--extra/aterm/PKGBUILD2
-rw-r--r--extra/atk/PKGBUILD2
-rw-r--r--extra/atkmm/PKGBUILD2
-rw-r--r--extra/attica/PKGBUILD2
-rw-r--r--extra/aubio/PKGBUILD2
-rw-r--r--extra/audacious/PKGBUILD2
-rw-r--r--extra/audiofile/PKGBUILD2
-rw-r--r--extra/autogen/PKGBUILD2
-rw-r--r--extra/automoc4/PKGBUILD2
-rw-r--r--extra/autopano-sift-c/PKGBUILD2
-rw-r--r--extra/avahi/PKGBUILD20
-rw-r--r--extra/avfs/PKGBUILD2
-rw-r--r--extra/avogadro/PKGBUILD2
-rw-r--r--extra/babl/PKGBUILD2
-rw-r--r--extra/banshee/PKGBUILD2
-rw-r--r--extra/barcode/PKGBUILD2
-rw-r--r--extra/basket/PKGBUILD2
-rw-r--r--extra/bc/PKGBUILD2
-rw-r--r--extra/bdf-unifont/PKGBUILD2
-rw-r--r--extra/beagle/PKGBUILD2
-rw-r--r--extra/beep/PKGBUILD2
-rw-r--r--extra/bftpd/PKGBUILD2
-rw-r--r--extra/bigloo/PKGBUILD2
-rw-r--r--extra/bind/PKGBUILD2
-rw-r--r--extra/bitlbee/PKGBUILD5
-rw-r--r--extra/blender/PKGBUILD2
-rw-r--r--extra/bluedevil/PKGBUILD2
-rw-r--r--extra/bluefish/PKGBUILD2
-rw-r--r--extra/bluez-hcidump/PKGBUILD2
-rw-r--r--extra/bluez/PKGBUILD2
-rw-r--r--extra/bmp-musepack/PKGBUILD2
-rw-r--r--extra/bmp-wma/PKGBUILD2
-rw-r--r--extra/bmp/PKGBUILD2
-rw-r--r--extra/bochs/PKGBUILD2
-rw-r--r--extra/bogofilter/PKGBUILD2
-rw-r--r--extra/boo/PKGBUILD2
-rw-r--r--extra/boost/PKGBUILD3
-rw-r--r--extra/botan/PKGBUILD2
-rw-r--r--extra/brasero/PKGBUILD2
-rw-r--r--extra/brltty/PKGBUILD2
-rw-r--r--extra/bug-buddy/PKGBUILD2
-rw-r--r--extra/bzflag/PKGBUILD2
-rw-r--r--extra/bzr/PKGBUILD2
-rw-r--r--extra/c-ares/PKGBUILD2
-rw-r--r--extra/cabal-install/PKGBUILD2
-rw-r--r--extra/cagibi/PKGBUILD2
-rw-r--r--extra/cairo-perl/PKGBUILD2
-rw-r--r--extra/cairo/PKGBUILD2
-rw-r--r--extra/cairomm/PKGBUILD2
-rw-r--r--extra/camsource/PKGBUILD2
-rw-r--r--extra/capi4hylafax/PKGBUILD2
-rw-r--r--extra/capi4k-utils/PKGBUILD2
-rw-r--r--extra/capseo/PKGBUILD2
-rw-r--r--extra/catdoc/PKGBUILD2
-rw-r--r--extra/ccache/PKGBUILD2
-rw-r--r--extra/cdargs/PKGBUILD2
-rw-r--r--extra/cdparanoia/PKGBUILD2
-rw-r--r--extra/cdrdao/PKGBUILD2
-rw-r--r--extra/cdrkit/PKGBUILD2
-rw-r--r--extra/celestia/PKGBUILD2
-rw-r--r--extra/cfitsio/PKGBUILD2
-rw-r--r--extra/cheese/PKGBUILD2
-rw-r--r--extra/chemtool/PKGBUILD2
-rw-r--r--extra/chkrootkit/PKGBUILD2
-rw-r--r--extra/chmlib/PKGBUILD13
-rw-r--r--extra/chmlib/src_chm_lib.c.diff58
-rw-r--r--extra/cifs-utils/PKGBUILD2
-rw-r--r--extra/clamav/PKGBUILD2
-rw-r--r--extra/claws-mail-extra-plugins/PKGBUILD2
-rw-r--r--extra/claws-mail/PKGBUILD4
-rw-r--r--extra/clisp/PKGBUILD6
-rw-r--r--extra/cln/PKGBUILD2
-rw-r--r--extra/clutter-gtk/PKGBUILD2
-rw-r--r--extra/clutter-gtk2/PKGBUILD2
-rw-r--r--extra/clutter/PKGBUILD2
-rw-r--r--extra/cmake/PKGBUILD2
-rw-r--r--extra/cmatrix/PKGBUILD2
-rw-r--r--extra/cmt/PKGBUILD2
-rw-r--r--extra/cmus/PKGBUILD2
-rw-r--r--extra/compface/PKGBUILD2
-rw-r--r--extra/conky/PKGBUILD2
-rw-r--r--extra/consolekit/PKGBUILD2
-rw-r--r--extra/convmv/PKGBUILD2
-rw-r--r--extra/cowsay/PKGBUILD2
-rw-r--r--extra/cpio/PKGBUILD2
-rw-r--r--extra/cppunit/PKGBUILD2
-rw-r--r--extra/cpufrequtils/PKGBUILD20
-rw-r--r--extra/cpufrequtils/cpufrequtils-mips.patch18
-rw-r--r--extra/crypto++/PKGBUILD2
-rw-r--r--extra/cscope/PKGBUILD2
-rw-r--r--extra/ctags/PKGBUILD2
-rw-r--r--extra/cups-pdf/PKGBUILD2
-rw-r--r--extra/cups/PKGBUILD1
-rw-r--r--extra/curl/PKGBUILD5
-rw-r--r--extra/cvs/PKGBUILD2
-rw-r--r--extra/cx_freeze/PKGBUILD2
-rw-r--r--extra/cyrus-sasl-plugins/PKGBUILD5
-rw-r--r--extra/cyrus-sasl/PKGBUILD4
-rw-r--r--extra/dansguardian/PKGBUILD2
-rw-r--r--extra/dasher/PKGBUILD2
-rw-r--r--extra/davfs2/PKGBUILD2
-rw-r--r--extra/dbus-glib/PKGBUILD2
-rw-r--r--extra/dbus-python/PKGBUILD2
-rw-r--r--extra/dbus-qt3/PKGBUILD2
-rw-r--r--extra/dbus/PKGBUILD2
-rw-r--r--extra/dcfldd/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/devilspie/PKGBUILD2
-rw-r--r--extra/dhcp/PKGBUILD4
-rw-r--r--extra/di/PKGBUILD2
-rw-r--r--extra/diffstat/PKGBUILD2
-rw-r--r--extra/digikam/PKGBUILD2
-rw-r--r--extra/dirmngr/PKGBUILD2
-rw-r--r--extra/djvulibre/PKGBUILD2
-rw-r--r--extra/dmapi/PKGBUILD2
-rw-r--r--extra/dmidecode/PKGBUILD2
-rw-r--r--extra/dnsmasq/PKGBUILD2
-rw-r--r--extra/docker/PKGBUILD2
-rw-r--r--extra/dosfstools/PKGBUILD2
-rw-r--r--extra/dovecot/PKGBUILD2
-rw-r--r--extra/doxygen/PKGBUILD9
-rw-r--r--extra/dssi/PKGBUILD2
-rw-r--r--extra/dvd+rw-tools/PKGBUILD2
-rw-r--r--extra/dvdauthor/PKGBUILD2
-rw-r--r--extra/dvdrip/PKGBUILD2
-rw-r--r--extra/dvdrtools/PKGBUILD2
-rw-r--r--extra/dvgrab/PKGBUILD2
-rw-r--r--extra/easytag/PKGBUILD2
-rw-r--r--extra/ebook-tools/PKGBUILD3
-rw-r--r--extra/ecasound/PKGBUILD2
-rw-r--r--extra/ecl/PKGBUILD2
-rw-r--r--extra/eclipse/PKGBUILD2
-rwxr-xr-xextra/efibootmgr/PKGBUILD2
-rw-r--r--extra/eject/PKGBUILD2
-rw-r--r--extra/ekiga/PKGBUILD2
-rw-r--r--extra/elfutils/PKGBUILD2
-rw-r--r--extra/emacs/PKGBUILD2
-rw-r--r--extra/emelfm2/PKGBUILD2
-rw-r--r--extra/emovix/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/PKGBUILD2
-rw-r--r--extra/enlightenment/PKGBUILD2
-rw-r--r--extra/enscript/PKGBUILD2
-rw-r--r--extra/eog/PKGBUILD2
-rw-r--r--extra/epiphany-extensions/PKGBUILD2
-rw-r--r--extra/epiphany/PKGBUILD2
-rw-r--r--extra/epplet-base/PKGBUILD2
-rw-r--r--extra/erlang/PKGBUILD2
-rw-r--r--extra/esound/PKGBUILD2
-rw-r--r--extra/ethstatus/PKGBUILD2
-rw-r--r--extra/ethtool/PKGBUILD2
-rw-r--r--extra/ettercap/PKGBUILD2
-rw-r--r--extra/evilwm/PKGBUILD2
-rw-r--r--extra/evince/PKGBUILD5
-rw-r--r--extra/evolution-data-server/PKGBUILD2
-rw-r--r--extra/evolution-exchange/PKGBUILD2
-rw-r--r--extra/evolution-sharp/PKGBUILD2
-rw-r--r--extra/evolution-webcal/PKGBUILD2
-rw-r--r--extra/evolution/PKGBUILD2
-rw-r--r--extra/exempi/PKGBUILD2
-rw-r--r--extra/exiv2/PKGBUILD2
-rw-r--r--extra/exo/PKGBUILD2
-rw-r--r--extra/expect/PKGBUILD2
-rw-r--r--extra/f-spot/PKGBUILD2
-rw-r--r--extra/faad2/PKGBUILD2
-rw-r--r--extra/facile/PKGBUILD2
-rw-r--r--extra/fakechroot/PKGBUILD2
-rw-r--r--extra/fam/PKGBUILD4
-rw-r--r--extra/farsight2/PKGBUILD2
-rw-r--r--extra/fastjar/PKGBUILD2
-rw-r--r--extra/fbset/PKGBUILD2
-rw-r--r--extra/fcgi/PKGBUILD2
-rw-r--r--extra/fcitx/PKGBUILD2
-rw-r--r--extra/feh/PKGBUILD2
-rw-r--r--extra/festival/PKGBUILD2
-rw-r--r--extra/ffcall/PKGBUILD12
-rw-r--r--extra/ffcall/mipsn32.patch11
-rw-r--r--extra/ffmpeg/PKGBUILD4
-rw-r--r--extra/ffmpeg/ffmpeg-loongson.patch1794
-rw-r--r--extra/ffmpegthumbnailer/PKGBUILD2
-rw-r--r--extra/fftw/PKGBUILD5
-rw-r--r--extra/flac/PKGBUILD2
-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/PKGBUILD2
-rw-r--r--extra/fortune-mod/PKGBUILD2
-rw-r--r--extra/fping/PKGBUILD2
-rw-r--r--extra/freealut/PKGBUILD2
-rw-r--r--extra/freeciv/PKGBUILD2
-rw-r--r--extra/freeglut/PKGBUILD2
-rw-r--r--extra/freenx/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/fssos-nsvs/PKGBUILD2
-rw-r--r--extra/ftgl/PKGBUILD2
-rw-r--r--extra/ftjam/PKGBUILD2
-rw-r--r--extra/fuse/PKGBUILD2
-rw-r--r--extra/fvwm/PKGBUILD2
-rw-r--r--extra/fwbuilder/PKGBUILD2
-rw-r--r--extra/fyre/PKGBUILD2
-rw-r--r--extra/garcon/PKGBUILD2
-rw-r--r--extra/gc/PKGBUILD2
-rw-r--r--extra/gcalctool/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/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/gecko-sharp-2.0/PKGBUILD2
-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/geoip/PKGBUILD2
-rw-r--r--extra/gettext-mono/PKGBUILD2
-rw-r--r--extra/gftp/PKGBUILD2
-rw-r--r--extra/ggv/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-dbp/PKGBUILD2
-rw-r--r--extra/gimp-devel/PKGBUILD2
-rw-r--r--extra/gimp-gap/PKGBUILD2
-rw-r--r--extra/gimp-refocus/PKGBUILD2
-rw-r--r--extra/gimp-ufraw/PKGBUILD2
-rw-r--r--extra/gimp/PKGBUILD2
-rw-r--r--extra/git/PKGBUILD2
-rw-r--r--extra/gksu/PKGBUILD2
-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/PKGBUILD8
-rw-r--r--extra/glpk/PKGBUILD2
-rw-r--r--extra/glsof/PKGBUILD2
-rw-r--r--extra/gluezilla/PKGBUILD2
-rw-r--r--extra/gmetadom/PKGBUILD8
-rw-r--r--extra/gmime/PKGBUILD4
-rw-r--r--extra/gmpc/PKGBUILD2
-rw-r--r--extra/gnet/PKGBUILD2
-rw-r--r--extra/gnokii/PKGBUILD2
-rw-r--r--extra/gnome-alsamixer/PKGBUILD2
-rw-r--r--extra/gnome-applets/PKGBUILD2
-rw-r--r--extra/gnome-bluetooth/PKGBUILD2
-rw-r--r--extra/gnome-control-center/PKGBUILD3
-rw-r--r--extra/gnome-desktop/PKGBUILD2
-rw-r--r--extra/gnome-desktop2/PKGBUILD2
-rw-r--r--extra/gnome-disk-utility/PKGBUILD2
-rw-r--r--extra/gnome-games/PKGBUILD2
-rw-r--r--extra/gnome-keyring-sharp/PKGBUILD2
-rw-r--r--extra/gnome-keyring/PKGBUILD2
-rw-r--r--extra/gnome-mag/PKGBUILD2
-rw-r--r--extra/gnome-media/PKGBUILD2
-rw-r--r--extra/gnome-menus/PKGBUILD2
-rw-r--r--extra/gnome-nettool/PKGBUILD2
-rw-r--r--extra/gnome-perl/PKGBUILD2
-rw-r--r--extra/gnome-phone-manager/PKGBUILD2
-rw-r--r--extra/gnome-pilot/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/PKGBUILD2
-rw-r--r--extra/gnome-screensaver/PKGBUILD2
-rw-r--r--extra/gnome-session/PKGBUILD2
-rw-r--r--extra/gnome-settings-daemon/PKGBUILD2
-rw-r--r--extra/gnome-sharp/PKGBUILD2
-rw-r--r--extra/gnome-speech/PKGBUILD2
-rw-r--r--extra/gnome-spell/PKGBUILD2
-rw-r--r--extra/gnome-system-monitor/PKGBUILD2
-rw-r--r--extra/gnome-terminal/PKGBUILD2
-rw-r--r--extra/gnome-themes-standard/PKGBUILD2
-rw-r--r--extra/gnome-user-share/PKGBUILD2
-rw-r--r--extra/gnome-utils/PKGBUILD2
-rw-r--r--extra/gnome-vfs-perl/PKGBUILD2
-rw-r--r--extra/gnome-vfs/PKGBUILD2
-rw-r--r--extra/gnome-vfsmm/PKGBUILD2
-rw-r--r--extra/gnomecanvas-perl/PKGBUILD2
-rw-r--r--extra/gnu-netcat/PKGBUILD2
-rw-r--r--extra/gnucash/PKGBUILD2
-rw-r--r--extra/gnuchess/PKGBUILD2
-rw-r--r--extra/gnumeric/PKGBUILD2
-rw-r--r--extra/gnupg/PKGBUILD9
-rw-r--r--extra/gnupg/gnupg_1.4.11_mips_gcc4.4.patch47
-rw-r--r--extra/gnupg2/PKGBUILD2
-rw-r--r--extra/gnuplot/PKGBUILD2
-rw-r--r--extra/gnutls/PKGBUILD2
-rw-r--r--extra/gob2/PKGBUILD2
-rw-r--r--extra/gobject-introspection/PKGBUILD2
-rw-r--r--extra/goffice/PKGBUILD2
-rw-r--r--extra/gok/PKGBUILD2
-rw-r--r--extra/gpart/PKGBUILD2
-rw-r--r--extra/gparted/PKGBUILD2
-rw-r--r--extra/gperf/PKGBUILD2
-rw-r--r--extra/gpgme/PKGBUILD2
-rw-r--r--extra/gphoto2/PKGBUILD2
-rw-r--r--extra/gpsd/PKGBUILD2
-rw-r--r--extra/gqview/PKGBUILD2
-rw-r--r--extra/grantlee/PKGBUILD2
-rw-r--r--extra/graphicsmagick/PKGBUILD2
-rw-r--r--extra/graphite/PKGBUILD2
-rw-r--r--extra/graphviz/PKGBUILD2
-rw-r--r--extra/grip/PKGBUILD2
-rw-r--r--extra/gsf-sharp/PKGBUILD2
-rw-r--r--extra/gsl/PKGBUILD2
-rw-r--r--extra/gsm/PKGBUILD2
-rw-r--r--extra/gstreamer0.10-base/PKGBUILD2
-rw-r--r--extra/gstreamer0.10-ffmpeg/PKGBUILD2
-rw-r--r--extra/gstreamer0.10-good/PKGBUILD6
-rw-r--r--extra/gstreamer0.10-python/PKGBUILD2
-rw-r--r--extra/gstreamer0.10-ugly/PKGBUILD2
-rw-r--r--extra/gstreamer0.10/PKGBUILD2
-rw-r--r--extra/gthumb/PKGBUILD2
-rw-r--r--extra/gtk-engines/PKGBUILD2
-rw-r--r--extra/gtk-qt-engine/PKGBUILD2
-rw-r--r--extra/gtk-sharp-2/PKGBUILD2
-rw-r--r--extra/gtk-vnc/PKGBUILD2
-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/PKGBUILD2
-rw-r--r--extra/gtkglextmm/PKGBUILD2
-rw-r--r--extra/gtkhtml/PKGBUILD2
-rw-r--r--extra/gtkimageview/PKGBUILD2
-rw-r--r--extra/gtkmathview/PKGBUILD2
-rw-r--r--extra/gtkmm/PKGBUILD2
-rw-r--r--extra/gtkpod/PKGBUILD2
-rw-r--r--extra/gtksourceview2/PKGBUILD2
-rw-r--r--extra/gtkspell/PKGBUILD2
-rw-r--r--extra/gucharmap/PKGBUILD2
-rw-r--r--extra/guile/PKGBUILD2
-rw-r--r--extra/gutenprint/PKGBUILD2
-rw-r--r--extra/gv/PKGBUILD2
-rw-r--r--extra/gvfs/PKGBUILD2
-rw-r--r--extra/gweled/PKGBUILD2
-rw-r--r--extra/habak/PKGBUILD2
-rw-r--r--extra/hal/PKGBUILD2
-rw-r--r--extra/happy/PKGBUILD2
-rw-r--r--extra/haskell-cgi/PKGBUILD2
-rw-r--r--extra/haskell-deepseq/PKGBUILD2
-rw-r--r--extra/haskell-fgl/PKGBUILD2
-rw-r--r--extra/haskell-glut/PKGBUILD2
-rw-r--r--extra/haskell-haskell-src/PKGBUILD2
-rw-r--r--extra/haskell-html/PKGBUILD2
-rw-r--r--extra/haskell-http/PKGBUILD2
-rw-r--r--extra/haskell-hunit/PKGBUILD2
-rw-r--r--extra/haskell-mtl/PKGBUILD2
-rw-r--r--extra/haskell-network/PKGBUILD2
-rw-r--r--extra/haskell-opengl/PKGBUILD2
-rw-r--r--extra/haskell-parallel/PKGBUILD2
-rw-r--r--extra/hd2u/PKGBUILD2
-rw-r--r--extra/hddtemp/PKGBUILD2
-rw-r--r--extra/hdf5/PKGBUILD2
-rw-r--r--extra/help2man/PKGBUILD2
-rw-r--r--extra/hercules/PKGBUILD2
-rw-r--r--extra/hexedit/PKGBUILD2
-rw-r--r--extra/hplip/PKGBUILD2
-rw-r--r--extra/hpoj/PKGBUILD2
-rw-r--r--extra/hspell/PKGBUILD2
-rw-r--r--extra/htdig/PKGBUILD2
-rw-r--r--extra/htop/PKGBUILD2
-rw-r--r--extra/hugin/PKGBUILD2
-rw-r--r--extra/hunspell/PKGBUILD2
-rw-r--r--extra/hwloc/PKGBUILD2
-rw-r--r--extra/hydrogen/PKGBUILD2
-rw-r--r--extra/hylafax/PKGBUILD2
-rw-r--r--extra/hyphen/PKGBUILD2
-rw-r--r--extra/i8kutils/PKGBUILD2
-rw-r--r--extra/icedtea-web/PKGBUILD2
-rw-r--r--extra/icewm/PKGBUILD2
-rw-r--r--extra/icu/PKGBUILD2
-rw-r--r--extra/id3/PKGBUILD2
-rw-r--r--extra/id3lib/PKGBUILD2
-rw-r--r--extra/id3v2/PKGBUILD2
-rw-r--r--extra/ifplugd/PKGBUILD2
-rw-r--r--extra/ilmbase/PKGBUILD2
-rw-r--r--extra/imagemagick/PKGBUILD2
-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/inkscape/PKGBUILD2
-rw-r--r--extra/iperf/PKGBUILD2
-rw-r--r--extra/iptraf-ng/PKGBUILD2
-rw-r--r--extra/irqbalance/PKGBUILD2
-rw-r--r--extra/irssi/PKGBUILD2
-rw-r--r--extra/isapnptools/PKGBUILD2
-rw-r--r--extra/ispell/PKGBUILD2
-rw-r--r--extra/ivtv-utils/PKGBUILD2
-rw-r--r--extra/jack/PKGBUILD6
-rw-r--r--extra/jade/PKGBUILD2
-rw-r--r--extra/jasper/PKGBUILD2
-rw-r--r--extra/java-access-bridge/PKGBUILD2
-rw-r--r--extra/jhead/PKGBUILD4
-rw-r--r--extra/json-glib/PKGBUILD2
-rw-r--r--extra/k3b/PKGBUILD2
-rw-r--r--extra/k9copy/PKGBUILD2
-rw-r--r--extra/kaffeine/PKGBUILD2
-rw-r--r--extra/kdeaccessibility/PKGBUILD2
-rw-r--r--extra/kdeadmin/PKGBUILD2
-rw-r--r--extra/kdeartwork/PKGBUILD2
-rw-r--r--extra/kdebase-runtime/PKGBUILD2
-rw-r--r--extra/kdebase-workspace/PKGBUILD2
-rw-r--r--extra/kdebase/PKGBUILD2
-rw-r--r--extra/kdelibs/PKGBUILD11
-rw-r--r--extra/kdelibs/archlinux-menu.patch22
-rw-r--r--extra/kdelibs3/PKGBUILD2
-rw-r--r--extra/kdemultimedia/PKGBUILD2
-rw-r--r--extra/kdenetwork/PKGBUILD2
-rw-r--r--extra/kdepim-runtime/PKGBUILD2
-rw-r--r--extra/kdepim/PKGBUILD2
-rw-r--r--extra/kdepimlibs/PKGBUILD3
-rw-r--r--extra/kdeplasma-addons/PKGBUILD2
-rw-r--r--extra/kdeplasma-applets-networkmanagement/PKGBUILD2
-rw-r--r--extra/kdetoys/PKGBUILD2
-rw-r--r--extra/kdeutils/PKGBUILD2
-rw-r--r--extra/kdevelop-pg-qt/PKGBUILD2
-rw-r--r--extra/kdevelop-php/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/keytouch-editor/PKGBUILD2
-rw-r--r--extra/keytouch/PKGBUILD2
-rw-r--r--extra/kile/PKGBUILD2
-rw-r--r--extra/kino/PKGBUILD2
-rw-r--r--extra/kobodeluxe/PKGBUILD2
-rw-r--r--extra/koffice/PKGBUILD10
-rw-r--r--extra/konversation/PKGBUILD2
-rw-r--r--extra/kradio/PKGBUILD2
-rw-r--r--extra/krusader/PKGBUILD2
-rw-r--r--extra/ksensors/PKGBUILD2
-rw-r--r--extra/kshutdown/PKGBUILD2
-rw-r--r--extra/ktorrent/PKGBUILD2
-rw-r--r--extra/lablgtk/PKGBUILD2
-rw-r--r--extra/lablgtk2/PKGBUILD2
-rw-r--r--extra/ladspa/PKGBUILD2
-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/PKGBUILD2
-rw-r--r--extra/lcms/PKGBUILD2
-rw-r--r--extra/leafpad/PKGBUILD2
-rw-r--r--extra/lensfun/PKGBUILD2
-rw-r--r--extra/lesstif/PKGBUILD2
-rw-r--r--extra/lftp/PKGBUILD2
-rw-r--r--extra/libao/PKGBUILD2
-rw-r--r--extra/libart-lgpl/PKGBUILD2
-rw-r--r--extra/libass/PKGBUILD2
-rw-r--r--extra/libassuan/PKGBUILD2
-rw-r--r--extra/libasyncns/PKGBUILD2
-rw-r--r--extra/libatasmart/PKGBUILD2
-rw-r--r--extra/libavc1394/PKGBUILD2
-rw-r--r--extra/libbeagle/PKGBUILD2
-rw-r--r--extra/libbluedevil/PKGBUILD2
-rw-r--r--extra/libbonobo/PKGBUILD2
-rw-r--r--extra/libbonoboui/PKGBUILD2
-rw-r--r--extra/libburn/PKGBUILD2
-rw-r--r--extra/libcaca/PKGBUILD2
-rw-r--r--extra/libcanberra/PKGBUILD2
-rw-r--r--extra/libcdaudio/PKGBUILD2
-rw-r--r--extra/libcddb/PKGBUILD2
-rw-r--r--extra/libcdio/PKGBUILD2
-rw-r--r--extra/libchamplain/PKGBUILD2
-rw-r--r--extra/libchewing/PKGBUILD2
-rw-r--r--extra/libcroco/PKGBUILD2
-rw-r--r--extra/libcue/PKGBUILD2
-rw-r--r--extra/libdaemon/PKGBUILD2
-rw-r--r--extra/libdatrie/PKGBUILD2
-rw-r--r--extra/libdbusmenu-qt/PKGBUILD2
-rw-r--r--extra/libdc1394/PKGBUILD12
-rw-r--r--extra/libdc1394/fix-videodev.h.patch53
-rw-r--r--extra/libdca/PKGBUILD2
-rw-r--r--extra/libdiscid/PKGBUILD2
-rw-r--r--extra/libdmx/PKGBUILD2
-rw-r--r--extra/libdrm/PKGBUILD2
-rw-r--r--extra/libdv/PKGBUILD2
-rw-r--r--extra/libdvdcss/PKGBUILD2
-rw-r--r--extra/libdvdnav/PKGBUILD2
-rw-r--r--extra/libdvdread/PKGBUILD2
-rw-r--r--extra/libebml/PKGBUILD2
-rw-r--r--extra/libepc/PKGBUILD2
-rw-r--r--extra/libetpan/PKGBUILD2
-rw-r--r--extra/libexif/PKGBUILD2
-rw-r--r--extra/libffado/PKGBUILD9
-rw-r--r--extra/libffi/PKGBUILD2
-rw-r--r--extra/libfontenc/PKGBUILD2
-rw-r--r--extra/libfs/PKGBUILD2
-rw-r--r--extra/libfwbuilder/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/libgksu/PKGBUILD2
-rw-r--r--extra/libglade/PKGBUILD2
-rw-r--r--extra/libglademm/PKGBUILD2
-rw-r--r--extra/libgme/PKGBUILD2
-rw-r--r--extra/libgnome-keyring/PKGBUILD2
-rw-r--r--extra/libgnome/PKGBUILD2
-rw-r--r--extra/libgnomecanvas/PKGBUILD2
-rw-r--r--extra/libgnomecanvasmm/PKGBUILD2
-rw-r--r--extra/libgnomecups/PKGBUILD2
-rw-r--r--extra/libgnomekbd/PKGBUILD2
-rw-r--r--extra/libgnomemm/PKGBUILD2
-rw-r--r--extra/libgnomeprint/PKGBUILD2
-rw-r--r--extra/libgnomeprintui/PKGBUILD2
-rw-r--r--extra/libgnomeui/PKGBUILD2
-rw-r--r--extra/libgnomeuimm/PKGBUILD2
-rw-r--r--extra/libgphoto2/PKGBUILD2
-rw-r--r--extra/libgpod/PKGBUILD2
-rw-r--r--extra/libgsf/PKGBUILD2
-rw-r--r--extra/libgtkhtml/PKGBUILD2
-rw-r--r--extra/libgtop/PKGBUILD2
-rw-r--r--extra/libguess/PKGBUILD2
-rw-r--r--extra/libgweather/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/PKGBUILD2
-rw-r--r--extra/libieee1284/PKGBUILD4
-rw-r--r--extra/libifp/PKGBUILD2
-rw-r--r--extra/libimobiledevice/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/libksba/PKGBUILD2
-rw-r--r--extra/libktorrent/PKGBUILD2
-rw-r--r--extra/liblastfm/PKGBUILD2
-rw-r--r--extra/liblo/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/libmcrypt/PKGBUILD2
-rw-r--r--extra/libmikmod/PKGBUILD2
-rw-r--r--extra/libmms/PKGBUILD2
-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/PKGBUILD2
-rw-r--r--extra/libmpcdec/PKGBUILD2
-rw-r--r--extra/libmpd/PKGBUILD2
-rw-r--r--extra/libmpdclient/PKGBUILD2
-rw-r--r--extra/libmpeg2/PKGBUILD2
-rw-r--r--extra/libmsn/PKGBUILD2
-rw-r--r--extra/libmspack/PKGBUILD2
-rw-r--r--extra/libmtp/PKGBUILD2
-rw-r--r--extra/libmusicbrainz3/PKGBUILD2
-rw-r--r--extra/libmythes/PKGBUILD2
-rw-r--r--extra/libnet/PKGBUILD2
-rw-r--r--extra/libnice/PKGBUILD2
-rw-r--r--extra/libnotify/PKGBUILD2
-rw-r--r--extra/libnova/PKGBUILD2
-rw-r--r--extra/libofa/PKGBUILD2
-rw-r--r--extra/libofx/PKGBUILD2
-rw-r--r--extra/libogg/PKGBUILD2
-rw-r--r--extra/liboil/PKGBUILD2
-rw-r--r--extra/libotf/PKGBUILD2
-rw-r--r--extra/libotr/PKGBUILD2
-rw-r--r--extra/libots/PKGBUILD2
-rw-r--r--extra/libpciaccess/PKGBUILD2
-rw-r--r--extra/libpeas/PKGBUILD2
-rw-r--r--extra/libplist/PKGBUILD2
-rw-r--r--extra/libpng/PKGBUILD2
-rw-r--r--extra/libproxy/PKGBUILD5
-rw-r--r--extra/libqalculate/PKGBUILD2
-rw-r--r--extra/libraw1394/PKGBUILD4
-rw-r--r--extra/librsvg/PKGBUILD2
-rw-r--r--extra/libsamplerate/PKGBUILD2
-rw-r--r--extra/libsexy/PKGBUILD2
-rw-r--r--extra/libshout/PKGBUILD2
-rw-r--r--extra/libsidplay/PKGBUILD2
-rw-r--r--extra/libsigc++/PKGBUILD2
-rw-r--r--extra/libsigsegv/PKGBUILD2
-rw-r--r--extra/libsm/PKGBUILD2
-rw-r--r--extra/libsmbios/PKGBUILD2
-rw-r--r--extra/libsndfile/PKGBUILD2
-rw-r--r--extra/libsoup/PKGBUILD2
-rw-r--r--extra/libspectre/PKGBUILD2
-rw-r--r--extra/libssh/PKGBUILD2
-rw-r--r--extra/libstdc++5/PKGBUILD2
-rw-r--r--extra/libstroke/PKGBUILD2
-rw-r--r--extra/libtasn1/PKGBUILD2
-rw-r--r--extra/libtextcat/PKGBUILD2
-rw-r--r--extra/libthai/PKGBUILD2
-rw-r--r--extra/libtheora/PKGBUILD2
-rw-r--r--extra/libtiff/PKGBUILD2
-rw-r--r--extra/libtorrent-rasterbar/PKGBUILD2
-rw-r--r--extra/libunique/PKGBUILD2
-rw-r--r--extra/libupnp/PKGBUILD2
-rw-r--r--extra/libva/PKGBUILD2
-rw-r--r--extra/libvdpau/PKGBUILD2
-rw-r--r--extra/libvisual-plugins/PKGBUILD2
-rw-r--r--extra/libvisual/PKGBUILD2
-rw-r--r--extra/libvncserver/PKGBUILD2
-rw-r--r--extra/libvorbis/PKGBUILD10
-rw-r--r--extra/libvpx/PKGBUILD2
-rw-r--r--extra/libwebkit/PKGBUILD27
-rw-r--r--extra/libwebkit/fix-mips-n32.patch25
-rw-r--r--extra/libwmf/PKGBUILD2
-rw-r--r--extra/libwnck/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/PKGBUILD2
-rw-r--r--extra/libxevie/PKGBUILD2
-rw-r--r--extra/libxext/PKGBUILD2
-rw-r--r--extra/libxfce4menu/PKGBUILD2
-rw-r--r--extra/libxfce4ui/PKGBUILD2
-rw-r--r--extra/libxfce4util/PKGBUILD2
-rw-r--r--extra/libxfcegui4/PKGBUILD2
-rw-r--r--extra/libxfixes/PKGBUILD2
-rw-r--r--extra/libxfont/PKGBUILD2
-rw-r--r--extra/libxft/PKGBUILD2
-rw-r--r--extra/libxi/PKGBUILD9
-rw-r--r--extra/libxi/XExtInt-align-classes-n32.diff31
-rw-r--r--extra/libxinerama/PKGBUILD2
-rw-r--r--extra/libxkbfile/PKGBUILD2
-rw-r--r--extra/libxkbui/PKGBUILD2
-rw-r--r--extra/libxklavier/PKGBUILD2
-rw-r--r--extra/libxmi/PKGBUILD2
-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/PKGBUILD2
-rw-r--r--extra/libzip/PKGBUILD2
-rw-r--r--extra/libzvt/PKGBUILD2
-rw-r--r--extra/licq/PKGBUILD2
-rw-r--r--extra/lighttpd/PKGBUILD2
-rw-r--r--extra/link-grammar/PKGBUILD2
-rw-r--r--extra/linux_logo/PKGBUILD2
-rw-r--r--extra/liquidwar/PKGBUILD2
-rw-r--r--extra/lirc/PKGBUILD2
-rw-r--r--extra/live-media/PKGBUILD3
-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/lv2core/PKGBUILD2
-rw-r--r--extra/lxsplit/PKGBUILD2
-rw-r--r--extra/lynx/PKGBUILD2
-rw-r--r--extra/lyx/PKGBUILD2
-rw-r--r--extra/lzop/PKGBUILD2
-rw-r--r--extra/m17n-lib/PKGBUILD2
-rw-r--r--extra/mahjong/PKGBUILD2
-rw-r--r--extra/mail-notification/PKGBUILD2
-rw-r--r--extra/mailman/PKGBUILD2
-rw-r--r--extra/manedit/PKGBUILD2
-rw-r--r--extra/maxima/PKGBUILD17
-rw-r--r--extra/mcpp/PKGBUILD2
-rw-r--r--extra/mcrypt/PKGBUILD2
-rw-r--r--extra/memcached/PKGBUILD2
-rw-r--r--extra/mercurial/PKGBUILD2
-rw-r--r--extra/mesa/PKGBUILD30
-rw-r--r--extra/mesa/mesa-7.5-mips-wmb.patch11
-rw-r--r--extra/mesa/mesa-loongson.patch11
-rw-r--r--extra/metacity/PKGBUILD2
-rw-r--r--extra/metalog/PKGBUILD2
-rw-r--r--extra/mhash/PKGBUILD2
-rw-r--r--extra/midori/PKGBUILD4
-rw-r--r--extra/minicom/PKGBUILD2
-rw-r--r--extra/mirage/PKGBUILD2
-rw-r--r--extra/miro/PKGBUILD2
-rw-r--r--extra/mjpegtools/PKGBUILD19
-rw-r--r--extra/mkbootcd/PKGBUILD2
-rw-r--r--extra/mkvtoolnix/PKGBUILD2
-rw-r--r--extra/moc/PKGBUILD2
-rw-r--r--extra/mod_dnssd/PKGBUILD2
-rw-r--r--extra/mod_fcgid/PKGBUILD2
-rw-r--r--extra/mod_mono/PKGBUILD2
-rw-r--r--extra/mod_perl/PKGBUILD2
-rw-r--r--extra/mod_wsgi/PKGBUILD2
-rw-r--r--extra/modemmanager/PKGBUILD2
-rw-r--r--extra/monica/PKGBUILD2
-rw-r--r--extra/mono-addins/PKGBUILD2
-rw-r--r--extra/mono-basic/PKGBUILD2
-rw-r--r--extra/mono-debugger/PKGBUILD2
-rw-r--r--extra/mono-tools/PKGBUILD2
-rw-r--r--extra/mono-zeroconf/PKGBUILD2
-rw-r--r--extra/mono/PKGBUILD2
-rw-r--r--extra/monodevelop-debugger-gdb/PKGBUILD2
-rw-r--r--extra/monodevelop-debugger-mdb/PKGBUILD2
-rw-r--r--extra/monodevelop/PKGBUILD2
-rw-r--r--extra/most/PKGBUILD2
-rw-r--r--extra/mousetweaks/PKGBUILD2
-rw-r--r--extra/mozilla-common/PKGBUILD2
-rw-r--r--extra/mp3splt/PKGBUILD2
-rw-r--r--extra/mp3wrap/PKGBUILD2
-rw-r--r--extra/mpc/PKGBUILD2
-rw-r--r--extra/mpck/PKGBUILD2
-rw-r--r--extra/mpd/PKGBUILD2
-rw-r--r--extra/mpg123/PKGBUILD2
-rw-r--r--extra/mrtg/PKGBUILD2
-rw-r--r--extra/msmtp/PKGBUILD2
-rw-r--r--extra/mt-st/PKGBUILD4
-rw-r--r--extra/mtools/PKGBUILD2
-rw-r--r--extra/mtr/PKGBUILD2
-rw-r--r--extra/mtx/PKGBUILD2
-rw-r--r--extra/muine/PKGBUILD2
-rw-r--r--extra/multitail/PKGBUILD2
-rw-r--r--extra/muparser/PKGBUILD2
-rw-r--r--extra/musicbrainz/PKGBUILD2
-rw-r--r--extra/mysql-python/PKGBUILD2
-rw-r--r--extra/mysql/PKGBUILD2
-rw-r--r--extra/naim/PKGBUILD2
-rw-r--r--extra/nasm/PKGBUILD2
-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/ncftp/PKGBUILD2
-rw-r--r--extra/ncmpc/PKGBUILD2
-rw-r--r--extra/ndesk-dbus-glib/PKGBUILD2
-rw-r--r--extra/nedit/PKGBUILD2
-rw-r--r--extra/neon/PKGBUILD2
-rw-r--r--extra/net-snmp/PKGBUILD2
-rw-r--r--extra/netcdf/PKGBUILD2
-rw-r--r--extra/netkit-bsd-finger/PKGBUILD2
-rw-r--r--extra/netpbm/PKGBUILD2
-rw-r--r--extra/network-manager-applet/PKGBUILD2
-rw-r--r--extra/networkmanager-openconnect/PKGBUILD2
-rw-r--r--extra/networkmanager-openvpn/PKGBUILD2
-rw-r--r--extra/networkmanager-pptp/PKGBUILD2
-rw-r--r--extra/networkmanager-vpnc/PKGBUILD2
-rw-r--r--extra/networkmanager/PKGBUILD2
-rw-r--r--extra/neverball/PKGBUILD2
-rw-r--r--extra/nicotine/PKGBUILD2
-rw-r--r--extra/nitrogen/PKGBUILD2
-rw-r--r--extra/nmap/PKGBUILD2
-rw-r--r--extra/normalize/PKGBUILD2
-rw-r--r--extra/notification-daemon/PKGBUILD2
-rw-r--r--extra/nouveau-drm-lts/PKGBUILD2
-rw-r--r--extra/nspr/PKGBUILD2
-rw-r--r--extra/nss-mdns/PKGBUILD2
-rw-r--r--extra/nss/PKGBUILD2
-rw-r--r--extra/nss_ldap/PKGBUILD2
-rw-r--r--extra/ntp/PKGBUILD2
-rw-r--r--extra/ntrack/PKGBUILD2
-rw-r--r--extra/nx-common/PKGBUILD2
-rw-r--r--extra/nxserver/PKGBUILD4
-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/PKGBUILD18
-rw-r--r--extra/ocaml/fix-caml_int64_float_of_bits-n32.patch12
-rw-r--r--extra/ocfs2-tools/PKGBUILD2
-rw-r--r--extra/ocrad/PKGBUILD2
-rw-r--r--extra/octave/PKGBUILD2
-rw-r--r--extra/ode/PKGBUILD2
-rw-r--r--extra/ogle/PKGBUILD2
-rw-r--r--extra/ogmtools/PKGBUILD2
-rw-r--r--extra/opal/PKGBUILD2
-rw-r--r--extra/openal/PKGBUILD2
-rw-r--r--extra/openbabel/PKGBUILD2
-rw-r--r--extra/opencdk/PKGBUILD2
-rw-r--r--extra/openconnect/PKGBUILD2
-rw-r--r--extra/opencore-amr/PKGBUILD2
-rw-r--r--extra/opencv/PKGBUILD2
-rw-r--r--extra/openexr/PKGBUILD2
-rw-r--r--extra/opengtl/PKGBUILD2
-rw-r--r--extra/openjdk6/PKGBUILD2
-rw-r--r--extra/openjpeg/PKGBUILD2
-rw-r--r--extra/openmpi/PKGBUILD25
-rw-r--r--extra/openobex/PKGBUILD2
-rw-r--r--extra/openslp/PKGBUILD2
-rw-r--r--extra/oprofile/PKGBUILD2
-rw-r--r--extra/orage/PKGBUILD2
-rw-r--r--extra/orbit2/PKGBUILD2
-rw-r--r--extra/orc/PKGBUILD2
-rw-r--r--extra/ortp/PKGBUILD2
-rw-r--r--extra/ossp/PKGBUILD2
-rw-r--r--extra/oxine/PKGBUILD2
-rw-r--r--extra/oxygen-gtk/PKGBUILD2
-rw-r--r--extra/pam_ldap/PKGBUILD2
-rw-r--r--extra/pango-perl/PKGBUILD2
-rw-r--r--extra/pango/PKGBUILD2
-rw-r--r--extra/pangomm/PKGBUILD2
-rw-r--r--extra/paprefs/PKGBUILD2
-rw-r--r--extra/parted/PKGBUILD2
-rw-r--r--extra/pathological/PKGBUILD2
-rw-r--r--extra/pavucontrol/PKGBUILD2
-rw-r--r--extra/pdksh/PKGBUILD2
-rw-r--r--extra/pdns-recursor/PKGBUILD2
-rw-r--r--extra/pdns/PKGBUILD2
-rw-r--r--extra/pekwm/PKGBUILD2
-rw-r--r--extra/perl-alien-sdl/PKGBUILD2
-rw-r--r--extra/perl-bit-vector/PKGBUILD2
-rw-r--r--extra/perl-compress-bzip2/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-event/PKGBUILD2
-rw-r--r--extra/perl-fcgi/PKGBUILD2
-rw-r--r--extra/perl-html-parser/PKGBUILD2
-rw-r--r--extra/perl-libintl-perl/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-template-toolkit/PKGBUILD2
-rw-r--r--extra/perl-term-readkey/PKGBUILD2
-rw-r--r--extra/perl-text-iconv/PKGBUILD2
-rw-r--r--extra/perl-time-hires/PKGBUILD2
-rw-r--r--extra/perl-tk/PKGBUILD2
-rw-r--r--extra/perl-unicode-string/PKGBUILD2
-rw-r--r--extra/perl-xml-parser/PKGBUILD2
-rw-r--r--extra/perl-yaml-syck/PKGBUILD2
-rw-r--r--extra/phonon-gstreamer/PKGBUILD2
-rw-r--r--extra/phonon-vlc/PKGBUILD2
-rw-r--r--extra/phonon/PKGBUILD2
-rw-r--r--extra/php-apc/PKGBUILD2
-rw-r--r--extra/php-suhosin/PKGBUILD2
-rw-r--r--extra/php/PKGBUILD2
-rw-r--r--extra/physfs/PKGBUILD2
-rw-r--r--extra/pidgin-encryption/PKGBUILD2
-rw-r--r--extra/pilot-link/PKGBUILD2
-rw-r--r--extra/pinentry/PKGBUILD2
-rw-r--r--extra/pixman/PKGBUILD6
-rw-r--r--extra/pixman/pixman-loongson2f.patch2745
-rw-r--r--extra/plotutils/PKGBUILD2
-rw-r--r--extra/pm-utils/PKGBUILD2
-rw-r--r--extra/pmount/PKGBUILD2
-rw-r--r--extra/polkit-gnome/PKGBUILD2
-rw-r--r--extra/polkit-kde/PKGBUILD2
-rw-r--r--extra/polkit-qt/PKGBUILD2
-rw-r--r--extra/polkit/PKGBUILD2
-rw-r--r--extra/poppler/PKGBUILD2
-rw-r--r--extra/postfix/PKGBUILD2
-rw-r--r--extra/potrace/PKGBUILD2
-rw-r--r--extra/procmail/PKGBUILD2
-rw-r--r--extra/proftpd/PKGBUILD2
-rw-r--r--extra/progsreiserfs/PKGBUILD2
-rw-r--r--extra/psi/PKGBUILD2
-rw-r--r--extra/psiconv/PKGBUILD2
-rw-r--r--extra/pstoedit/PKGBUILD2
-rw-r--r--extra/pth/PKGBUILD2
-rw-r--r--extra/ptlib/PKGBUILD2
-rw-r--r--extra/pulseaudio/PKGBUILD2
-rw-r--r--extra/purple-plugin-pack/PKGBUILD2
-rw-r--r--extra/putty/PKGBUILD2
-rw-r--r--extra/pwgen/PKGBUILD2
-rw-r--r--extra/pyalpm/PKGBUILD2
-rw-r--r--extra/pycrypto/PKGBUILD2
-rw-r--r--extra/pycups/PKGBUILD2
-rw-r--r--extra/pygobject/PKGBUILD2
-rw-r--r--extra/pygobject/fix-pycairo-capi-declaration.patch17
-rw-r--r--extra/pygtk/PKGBUILD2
-rw-r--r--extra/pygtksourceview2/PKGBUILD2
-rw-r--r--extra/pymad/PKGBUILD2
-rw-r--r--extra/pyopenssl/PKGBUILD2
-rw-r--r--extra/pyorbit/PKGBUILD2
-rw-r--r--extra/pypgsql/PKGBUILD2
-rw-r--r--extra/pyqt/PKGBUILD2
-rw-r--r--extra/python-cairo/PKGBUILD2
-rw-r--r--extra/python-geoip/PKGBUILD2
-rw-r--r--extra/python-imaging/PKGBUILD2
-rw-r--r--extra/python-iwscan/PKGBUILD2
-rw-r--r--extra/python-lxml/PKGBUILD2
-rw-r--r--extra/python-m2crypto/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/PKGBUILD2
-rw-r--r--extra/python-urwid/PKGBUILD2
-rw-r--r--extra/python-wpactrl/PKGBUILD2
-rw-r--r--extra/python/PKGBUILD17
-rw-r--r--extra/python2-cairo/PKGBUILD2
-rw-r--r--extra/python2/PKGBUILD3
-rw-r--r--extra/pywebkitgtk/PKGBUILD2
-rw-r--r--extra/pyxml/PKGBUILD2
-rw-r--r--extra/qalculate-gtk/PKGBUILD2
-rw-r--r--extra/qalculate-kde/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/qemu-kvm/PKGBUILD2
-rw-r--r--extra/qemu/PKGBUILD2
-rw-r--r--extra/qimageblitz/PKGBUILD3
-rw-r--r--extra/qiv/PKGBUILD2
-rw-r--r--extra/qjackctl/PKGBUILD2
-rw-r--r--extra/qjson/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/PKGBUILD10
-rw-r--r--extra/qt3/PKGBUILD2
-rw-r--r--extra/qtcurve-gtk2/PKGBUILD2
-rw-r--r--extra/qtcurve-kde3/PKGBUILD2
-rw-r--r--extra/qtcurve-kde4/PKGBUILD2
-rw-r--r--extra/qtiplot/PKGBUILD2
-rw-r--r--extra/qtscriptgenerator/PKGBUILD2
-rw-r--r--extra/quodlibet/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/raptor1/PKGBUILD2
-rw-r--r--extra/rarian/PKGBUILD2
-rw-r--r--extra/rasqal/PKGBUILD2
-rw-r--r--extra/ratpoison/PKGBUILD2
-rw-r--r--extra/rdesktop/PKGBUILD2
-rw-r--r--extra/recode/PKGBUILD2
-rw-r--r--extra/redland/PKGBUILD2
-rw-r--r--extra/rhythmbox/PKGBUILD2
-rw-r--r--extra/ristretto/PKGBUILD2
-rw-r--r--extra/rosegarden/PKGBUILD2
-rw-r--r--extra/rox/PKGBUILD4
-rw-r--r--extra/rrdtool/PKGBUILD2
-rw-r--r--extra/rssh/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/PKGBUILD11
-rw-r--r--extra/rxvt-unicode/PKGBUILD2
-rw-r--r--extra/samba/PKGBUILD2
-rw-r--r--extra/sane-frontends/PKGBUILD2
-rw-r--r--extra/sane/PKGBUILD12
-rw-r--r--extra/sbcl/PKGBUILD16
-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-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/screen/PKGBUILD2
-rw-r--r--extra/scribus/PKGBUILD2
-rw-r--r--extra/scrot/PKGBUILD2
-rw-r--r--extra/scummvm/PKGBUILD2
-rw-r--r--extra/sdl/PKGBUILD2
-rw-r--r--extra/sdl_gfx/PKGBUILD2
-rw-r--r--extra/sdl_image/PKGBUILD2
-rw-r--r--extra/sdl_mixer/PKGBUILD2
-rw-r--r--extra/sdl_net/PKGBUILD2
-rw-r--r--extra/sdl_pango/PKGBUILD2
-rw-r--r--extra/sdl_sound/PKGBUILD2
-rw-r--r--extra/sdl_ttf/PKGBUILD2
-rw-r--r--extra/seahorse/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/silc-toolkit/PKGBUILD2
-rw-r--r--extra/skanlite/PKGBUILD2
-rw-r--r--extra/slang/PKGBUILD2
-rw-r--r--extra/slim/PKGBUILD2
-rw-r--r--extra/slv2/PKGBUILD2
-rw-r--r--extra/smartmontools/PKGBUILD2
-rw-r--r--extra/smb4k/PKGBUILD2
-rw-r--r--extra/smpeg/PKGBUILD2
-rw-r--r--extra/smplayer-themes/PKGBUILD2
-rw-r--r--extra/smplayer/PKGBUILD2
-rw-r--r--extra/snarf/PKGBUILD2
-rw-r--r--extra/snd/PKGBUILD2
-rw-r--r--extra/sofia-sip/PKGBUILD2
-rw-r--r--extra/sonata/PKGBUILD2
-rw-r--r--extra/soprano/PKGBUILD5
-rw-r--r--extra/sound-juicer/PKGBUILD2
-rw-r--r--extra/soundtouch/PKGBUILD44
-rw-r--r--extra/soundtouch/disable-mmx.patch36
-rw-r--r--extra/source-highlight/PKGBUILD2
-rw-r--r--extra/sox/PKGBUILD2
-rw-r--r--extra/spamassassin/PKGBUILD2
-rw-r--r--extra/spassgen/PKGBUILD2
-rw-r--r--extra/speech-dispatcher/PKGBUILD2
-rw-r--r--extra/speex/PKGBUILD2
-rw-r--r--extra/squid/PKGBUILD2
-rw-r--r--extra/srm/PKGBUILD2
-rw-r--r--extra/sshfs/PKGBUILD2
-rw-r--r--extra/ssmtp/PKGBUILD2
-rw-r--r--extra/stardict/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/PKGBUILD2
-rw-r--r--extra/streamtuner/PKGBUILD2
-rw-r--r--extra/strigi/PKGBUILD2
-rw-r--r--extra/subversion/PKGBUILD15
-rw-r--r--extra/sweep/PKGBUILD2
-rw-r--r--extra/swig/PKGBUILD2
-rw-r--r--extra/sysklogd/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-sharp/PKGBUILD2
-rw-r--r--extra/taglib/PKGBUILD2
-rw-r--r--extra/talloc/PKGBUILD2
-rw-r--r--extra/tcl/PKGBUILD2
-rw-r--r--extra/tcpdump/PKGBUILD2
-rw-r--r--extra/tdb/PKGBUILD2
-rw-r--r--extra/telepathy-butterfly/PKGBUILD2
-rw-r--r--extra/telepathy-farsight/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-logger/PKGBUILD2
-rw-r--r--extra/telepathy-mission-control/PKGBUILD2
-rw-r--r--extra/telepathy-qt4/PKGBUILD2
-rw-r--r--extra/telepathy-salut/PKGBUILD2
-rw-r--r--extra/telepathy-sofiasip/PKGBUILD2
-rw-r--r--extra/terminal/PKGBUILD2
-rw-r--r--extra/testdisk/PKGBUILD2
-rw-r--r--extra/texmacs/PKGBUILD2
-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/tightvnc/PKGBUILD2
-rw-r--r--extra/time/PKGBUILD2
-rw-r--r--extra/timidity++/PKGBUILD2
-rw-r--r--extra/tk/PKGBUILD2
-rw-r--r--extra/tomboy/PKGBUILD2
-rw-r--r--extra/tomcat/PKGBUILD2
-rw-r--r--extra/totem-plparser/PKGBUILD2
-rw-r--r--extra/totem/PKGBUILD6
-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/PKGBUILD2
-rw-r--r--extra/truecrypt/PKGBUILD2
-rw-r--r--extra/tsocks/PKGBUILD2
-rw-r--r--extra/tumbler/PKGBUILD2
-rw-r--r--extra/tunepimp/PKGBUILD2
-rw-r--r--extra/tuxpuck/PKGBUILD2
-rw-r--r--extra/twisted/PKGBUILD2
-rw-r--r--extra/udisks/PKGBUILD2
-rw-r--r--extra/uim/PKGBUILD2
-rw-r--r--extra/umfpack/PKGBUILD2
-rw-r--r--extra/unison/PKGBUILD2
-rw-r--r--extra/unixodbc/PKGBUILD2
-rw-r--r--extra/unzip/PKGBUILD2
-rw-r--r--extra/upower/PKGBUILD2
-rw-r--r--extra/usbmuxd/PKGBUILD2
-rw-r--r--extra/usbview/PKGBUILD2
-rw-r--r--extra/usermin/PKGBUILD2
-rw-r--r--extra/v4l-utils/PKGBUILD2
-rw-r--r--extra/v86d/PKGBUILD2
-rw-r--r--extra/vala/PKGBUILD2
-rw-r--r--extra/valgrind/PKGBUILD45
-rw-r--r--extra/valgrind/glibc-patch-version.patch52
-rw-r--r--extra/vamp-plugin-sdk/PKGBUILD2
-rw-r--r--extra/vcdimager/PKGBUILD2
-rw-r--r--extra/vde2/PKGBUILD2
-rw-r--r--extra/vdpau-video/PKGBUILD2
-rw-r--r--extra/vice/PKGBUILD2
-rw-r--r--extra/vigra/PKGBUILD2
-rw-r--r--extra/vim/PKGBUILD2
-rw-r--r--extra/vinagre/PKGBUILD2
-rw-r--r--extra/vino/PKGBUILD2
-rw-r--r--extra/virtuoso/PKGBUILD2
-rw-r--r--extra/vorbis-tools/PKGBUILD2
-rw-r--r--extra/vsftpd/PKGBUILD2
-rw-r--r--extra/vte/PKGBUILD2
-rw-r--r--extra/w3m/PKGBUILD2
-rw-r--r--extra/watchdog/PKGBUILD2
-rw-r--r--extra/wavpack/PKGBUILD2
-rw-r--r--extra/webkit-sharp/PKGBUILD2
-rw-r--r--extra/webmin/PKGBUILD2
-rw-r--r--extra/weechat/PKGBUILD2
-rw-r--r--extra/wesnoth/PKGBUILD2
-rw-r--r--extra/whois/PKGBUILD2
-rw-r--r--extra/windowmaker-crm-git/PKGBUILD2
-rw-r--r--extra/windowmaker/PKGBUILD2
-rw-r--r--extra/wipe/PKGBUILD5
-rw-r--r--extra/wpa_supplicant_gui/PKGBUILD2
-rw-r--r--extra/wv/PKGBUILD2
-rw-r--r--extra/wv2/PKGBUILD2
-rw-r--r--extra/wxgtk/PKGBUILD2
-rw-r--r--extra/wxmaxima/PKGBUILD2
-rw-r--r--extra/wxpython/PKGBUILD2
-rw-r--r--extra/x11vnc/PKGBUILD2
-rw-r--r--extra/x264/PKGBUILD6
-rw-r--r--extra/x2x/PKGBUILD2
-rw-r--r--extra/xaos/PKGBUILD2
-rw-r--r--extra/xaw3d/PKGBUILD2
-rw-r--r--extra/xawtv/PKGBUILD2
-rw-r--r--extra/xbill/PKGBUILD2
-rw-r--r--extra/xcb-util/PKGBUILD2
-rw-r--r--extra/xchm/PKGBUILD6
-rw-r--r--extra/xclip/PKGBUILD2
-rw-r--r--extra/xcompmgr/PKGBUILD2
-rw-r--r--extra/xdelta/PKGBUILD2
-rw-r--r--extra/xdelta3/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-keyboard/PKGBUILD2
-rw-r--r--extra/xf86-input-mouse/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-apm/PKGBUILD2
-rw-r--r--extra/xf86-video-ark/PKGBUILD2
-rw-r--r--extra/xf86-video-ast/PKGBUILD2
-rw-r--r--extra/xf86-video-ati/PKGBUILD2
-rw-r--r--extra/xf86-video-chips/PKGBUILD2
-rw-r--r--extra/xf86-video-cirrus/PKGBUILD2
-rw-r--r--extra/xf86-video-dummy/PKGBUILD2
-rw-r--r--extra/xf86-video-fbdev/PKGBUILD2
-rw-r--r--extra/xf86-video-glint/PKGBUILD2
-rw-r--r--extra/xf86-video-i128/PKGBUILD2
-rw-r--r--extra/xf86-video-i740/PKGBUILD2
-rw-r--r--extra/xf86-video-intel/PKGBUILD2
-rw-r--r--extra/xf86-video-mach64/PKGBUILD2
-rw-r--r--extra/xf86-video-mga/PKGBUILD2
-rw-r--r--extra/xf86-video-neomagic/PKGBUILD2
-rw-r--r--extra/xf86-video-nouveau/PKGBUILD2
-rw-r--r--extra/xf86-video-nv/PKGBUILD2
-rw-r--r--extra/xf86-video-openchrome/PKGBUILD2
-rw-r--r--extra/xf86-video-r128/PKGBUILD2
-rw-r--r--extra/xf86-video-rendition/PKGBUILD2
-rw-r--r--extra/xf86-video-s3/PKGBUILD2
-rw-r--r--extra/xf86-video-s3virge/PKGBUILD2
-rw-r--r--extra/xf86-video-savage/PKGBUILD2
-rw-r--r--extra/xf86-video-siliconmotion/PKGBUILD11
-rw-r--r--extra/xf86-video-sis/PKGBUILD2
-rw-r--r--extra/xf86-video-sisusb/PKGBUILD2
-rw-r--r--extra/xf86-video-tdfx/PKGBUILD2
-rw-r--r--extra/xf86-video-trident/PKGBUILD2
-rw-r--r--extra/xf86-video-tseng/PKGBUILD2
-rw-r--r--extra/xf86-video-unichrome/PKGBUILD2
-rw-r--r--extra/xf86-video-v4l/PKGBUILD2
-rw-r--r--extra/xf86-video-vesa/PKGBUILD2
-rw-r--r--extra/xf86-video-voodoo/PKGBUILD2
-rw-r--r--extra/xf86-video-xgi/PKGBUILD2
-rw-r--r--extra/xf86-video-xgixp/PKGBUILD2
-rwxr-xr-xextra/xfburn/PKGBUILD2
-rw-r--r--extra/xfce-utils/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/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/PKGBUILD8
-rw-r--r--extra/xfce4-mount-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-mpc-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-netload-plugin/PKGBUILD2
-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/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/PKGBUILD7
-rw-r--r--extra/xfdesktop/PKGBUILD2
-rw-r--r--extra/xfig/PKGBUILD2
-rw-r--r--extra/xfwm4-themes/PKGBUILD2
-rw-r--r--extra/xfwm4/PKGBUILD2
-rw-r--r--extra/xine-lib/PKGBUILD2
-rw-r--r--extra/xine-ui/PKGBUILD2
-rw-r--r--extra/xmahjongg/PKGBUILD2
-rw-r--r--extra/xmlsec/PKGBUILD2
-rw-r--r--extra/xmlto/PKGBUILD2
-rw-r--r--extra/xmms/PKGBUILD2
-rw-r--r--extra/xorg-iceauth/PKGBUILD2
-rw-r--r--extra/xorg-server/PKGBUILD11
-rw-r--r--extra/xorg-server/vbe-fix-malloc-size-bug.patch39
-rw-r--r--extra/xorg-xauth/PKGBUILD2
-rw-r--r--extra/xorg-xkbcomp/PKGBUILD2
-rw-r--r--extra/xorg-xrdb/PKGBUILD8
-rw-r--r--extra/xournal/PKGBUILD2
-rw-r--r--extra/xpdf/PKGBUILD2
-rw-r--r--extra/xsane/PKGBUILD2
-rw-r--r--extra/xscreensaver/PKGBUILD2
-rw-r--r--extra/xsp/PKGBUILD2
-rw-r--r--extra/xterm/PKGBUILD2
-rw-r--r--extra/xulrunner/PKGBUILD20
-rw-r--r--extra/xulrunner/mips.patch114
-rw-r--r--extra/xvidcore/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/PKGBUILD2
-rw-r--r--extra/ypserv/PKGBUILD2
-rw-r--r--extra/zenity/PKGBUILD2
-rw-r--r--extra/zile/PKGBUILD2
-rw-r--r--extra/zip/PKGBUILD2
-rw-r--r--extra/zsh/PKGBUILD2
-rw-r--r--extra/zvbi/PKGBUILD2
-rw-r--r--extra/zziplib/PKGBUILD2
1323 files changed, 6742 insertions, 1981 deletions
diff --git a/extra/a2ps/PKGBUILD b/extra/a2ps/PKGBUILD
index ae316078b..b1fa5191c 100644
--- a/extra/a2ps/PKGBUILD
+++ b/extra/a2ps/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=a2ps
pkgver=4.14
pkgrel=2
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' 'perl')
diff --git a/extra/a52dec/PKGBUILD b/extra/a52dec/PKGBUILD
index a5743a79e..581b0abd1 100644
--- a/extra/a52dec/PKGBUILD
+++ b/extra/a52dec/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.7.4
pkgrel=5
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')
options=(!libtool)
@@ -21,7 +21,8 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/a52dec-0.7.4-build.patch"
./bootstrap
- ./configure --prefix=/usr --enable-shared
+ ./configure --prefix=/usr --enable-shared \
+ --build=$CHOST --host=$CHOST
make
}
diff --git a/extra/aalib/PKGBUILD b/extra/aalib/PKGBUILD
index d86d8220c..08c9e2f60 100644
--- a/extra/aalib/PKGBUILD
+++ b/extra/aalib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=aalib
pkgver=1.4rc5
pkgrel=8
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=('glibc' 'ncurses' 'gpm' 'libx11')
diff --git a/extra/abiword/PKGBUILD b/extra/abiword/PKGBUILD
deleted file mode 100644
index 4448b28b5..000000000
--- a/extra/abiword/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# $Id: PKGBUILD 102234 2010-12-06 22:32:25Z ibiru $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Maël Lavault <moimael@neuf.fr>
-
-pkgbase=abiword
-pkgname=('abiword' 'abiword-plugins')
-pkgver=2.8.6
-pkgrel=4
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.abisource.com"
-makedepends=('pkgconfig' 'asio' 'boost' 'fribidi' 'goffice' 'libwmf' 'wv' 'link-grammar' 'gtkmathview' 'aiksaurus' 'libxslt' 'enchant' 'libots' 'libwpg' 'librsvg' 'loudmouth' 'libsoup')
-options=('!makeflags' '!libtool')
-source=("http://www.abisource.com/downloads/${pkgbase}/${pkgver}/source/${pkgbase}-${pkgver}.tar.gz"
- compat_libwpg_0_9.patch)
-sha1sums=('998f69d038000b3fc027d4259548f02d67c8d0df'
- 'e5374f439e3d9b63a4bbd2cd39146c67cf1e85ea')
-
-build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- patch -Np1 -i "${srcdir}/compat_libwpg_0_9.patch"
- libtoolize --force
- autoreconf
-
- ./configure --prefix=/usr --enable-clipart --enable-templates --enable-collab-backend-xmpp --enable-collab-backend-tcp --enable-collab-backend-service --disable-collab-backend-sugar --enable-plugins --without-gnomevfs --with-gio --with-goffice --disable-static --with-psiconv-config=/nothere
- make
-}
-
-package_abiword() {
- pkgdesc="A fully-featured word processor"
- depends=('fribidi' 'wv' 'goffice' 'librsvg' 'enchant')
- optdepends=('abiword-plugins')
- conflicts=("abiword-plugins<${pkgver}-${pkgrel}")
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
- sed -i plugins/Makefile \
- -e 's/ collab / /' \
- -e 's/ wpg / /' \
- -e 's/ wmf / /' \
- -e 's/ grammar / /' \
- -e 's/ mathview / /' \
- -e 's/ aiksaurus / /' \
- -e 's/ latex / /' \
- -e 's/ ots / /' \
- -e 's/ wordperfect / /'
- make DESTDIR="${pkgdir}" install
-}
-
-package_abiword-plugins() {
- pkgdesc="Additional plugins for Abiword"
- depends=("abiword=${pkgver}-${pkgrel}" 'loudmouth' 'libwpg' 'libwmf' 'link-grammar' 'gtkmathview' 'aiksaurus' 'libxslt' 'libsoup' 'libots')
-
- cd "${srcdir}/${pkgbase}-${pkgver}/plugins"
- for dir in collab wpg wmf grammar mathview aiksaurus latex ots wordperfect; do
- make -C ${dir} DESTDIR="${pkgdir}" install
- done
-}
diff --git a/extra/abiword/compat_libwpg_0_9.patch b/extra/abiword/compat_libwpg_0_9.patch
deleted file mode 100644
index cf36e188e..000000000
--- a/extra/abiword/compat_libwpg_0_9.patch
+++ /dev/null
@@ -1,371 +0,0 @@
-diff -Nur abiword-2.8.6.orig//plugin-configure.m4 abiword-2.8.6/plugin-configure.m4
---- abiword-2.8.6.orig//plugin-configure.m4 2010-06-13 14:17:27.000000000 -0700
-+++ abiword-2.8.6/plugin-configure.m4 2010-12-06 13:59:43.083048588 -0800
-@@ -794,7 +794,7 @@
- AC_SUBST([OPENXML_LIBS])
-
-
--wpg_pkgs="$gsf_req libwpg-0.1 >= 0.1.0 libwpd-0.8 >= 0.8.0"
-+wpg_pkgs="$gsf_req libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0"
- wpg_deps="no"
-
- if test "$enable_wpg" != ""; then
-@@ -1497,8 +1497,8 @@
- AC_SUBST([EML_LIBS])
-
-
--wordperfect_pkgs="libwpd-0.8 >= 0.8.0 $gsf_req"
--wordperfect_wps_pkgs='libwps-0.1 >= 0.1.0'
-+wordperfect_pkgs="libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0 $gsf_req"
-+wordperfect_wps_pkgs='libwps-0.2 >= 0.1.0'
- wordperfect_deps="no"
-
- WORDPERFECT_CFLAGS=
-diff -Nur abiword-2.8.6.orig//plugins/wordperfect/plugin.m4 abiword-2.8.6/plugins/wordperfect/plugin.m4
---- abiword-2.8.6.orig//plugins/wordperfect/plugin.m4 2010-05-30 07:50:46.000000000 -0700
-+++ abiword-2.8.6/plugins/wordperfect/plugin.m4 2010-12-06 13:59:53.929715254 -0800
-@@ -1,6 +1,6 @@
-
--wordperfect_pkgs="libwpd-0.8 >= 0.8.0 $gsf_req"
--wordperfect_wps_pkgs='libwps-0.1 >= 0.1.0'
-+wordperfect_pkgs="libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0 $gsf_req"
-+wordperfect_wps_pkgs='libwps-0.2 >= 0.1.0'
- wordperfect_deps="no"
-
- WORDPERFECT_CFLAGS=
-diff -Nur abiword-2.8.6.orig//plugins/wordperfect/xp/ie_imp_WordPerfect.cpp abiword-2.8.6/plugins/wordperfect/xp/ie_imp_WordPerfect.cpp
---- abiword-2.8.6.orig//plugins/wordperfect/xp/ie_imp_WordPerfect.cpp 2010-02-06 13:06:11.000000000 -0800
-+++ abiword-2.8.6/plugins/wordperfect/xp/ie_imp_WordPerfect.cpp 2010-12-06 13:59:53.926381921 -0800
-@@ -60,7 +60,7 @@
-
- // Stream class
-
--#include <libwpd/WPXStream.h>
-+#include <libwpd-stream/libwpd-stream.h>
-
- #include <gsf/gsf-input.h>
- #include <gsf/gsf-infile.h>
-@@ -70,12 +70,7 @@
- #include <libwps/libwps.h>
- #endif
-
--class AbiWordperfectInputStream :
--#ifdef HAVE_LIBWPS
-- public WPSInputStream
--#else
-- public WPXInputStream
--#endif
-+class AbiWordperfectInputStream : public WPXInputStream
- {
- public:
- AbiWordperfectInputStream(GsfInput *input);
-@@ -86,7 +81,7 @@
-
- virtual WPXInputStream * getDocumentOLEStream(const char * name);
-
-- virtual const uint8_t *read(size_t numBytes, size_t &numBytesRead);
-+ virtual const unsigned char *read(unsigned long numBytes, unsigned long &numBytesRead);
- virtual int seek(long offset, WPX_SEEK_TYPE seekType);
- virtual long tell();
- virtual bool atEOS();
-@@ -98,11 +93,7 @@
- };
-
- AbiWordperfectInputStream::AbiWordperfectInputStream(GsfInput *input) :
--#ifdef HAVE_LIBWPS
-- WPSInputStream(),
--#else
-- WPXInputStream(true),
--#endif
-+ WPXInputStream(),
- m_input(input),
- m_ole(NULL)
- {
-@@ -117,9 +108,9 @@
- g_object_unref(G_OBJECT(m_input));
- }
-
--const uint8_t * AbiWordperfectInputStream::read(size_t numBytes, size_t &numBytesRead)
-+const unsigned char * AbiWordperfectInputStream::read(unsigned long numBytes, unsigned long &numBytesRead)
- {
-- const uint8_t *buf = gsf_input_read(m_input, numBytes, NULL);
-+ const unsigned char *buf = gsf_input_read(m_input, numBytes, NULL);
-
- if (buf == NULL)
- numBytesRead = 0;
-@@ -256,19 +247,12 @@
- {
- AbiWordperfectInputStream gsfInput(input);
-
-- WPDConfidence confidence = WPDocument::isFileFormatSupported(&gsfInput, true);
-+ WPDConfidence confidence = WPDocument::isFileFormatSupported(&gsfInput);
-
- switch (confidence)
- {
- case WPD_CONFIDENCE_NONE:
-- // libwpd > 0.7.1 reports POOR if the text file is plain text (that _could_ be a WP4x document)
-- // however, we'll let the text importer handle such cases
-- case WPD_CONFIDENCE_POOR:
- return UT_CONFIDENCE_ZILCH;
-- case WPD_CONFIDENCE_LIKELY:
-- return UT_CONFIDENCE_SOSO;
-- case WPD_CONFIDENCE_GOOD:
-- return UT_CONFIDENCE_GOOD;
- case WPD_CONFIDENCE_EXCELLENT:
- return UT_CONFIDENCE_PERFECT;
- default:
-@@ -328,7 +312,7 @@
- UT_Error IE_Imp_WordPerfect::_loadFile(GsfInput * input)
- {
- AbiWordperfectInputStream gsfInput(input);
-- WPDResult error = WPDocument::parse(&gsfInput, static_cast<WPXHLListenerImpl *>(this));
-+ WPDResult error = WPDocument::parse(&gsfInput, static_cast<WPXDocumentInterface *>(this), NULL);
-
- if (error != WPD_OK)
- {
-@@ -381,9 +365,9 @@
- float marginLeft = 1.0f, marginRight = 1.0f;
-
- if (propList["fo:margin-left"])
-- marginLeft = propList["fo:margin-left"]->getFloat();
-+ marginLeft = propList["fo:margin-left"]->getDouble();
- if (propList["fo:margin-right"])
-- marginRight = propList["fo:margin-right"]->getFloat();
-+ marginRight = propList["fo:margin-right"]->getDouble();
-
- if (marginLeft != m_leftPageMargin || marginRight != m_rightPageMargin /* || */
- /* marginTop != m_marginBottom || marginBottom != m_marginBottom */ )
-@@ -456,15 +440,15 @@
- float marginTop = 0.0f, marginBottom = 0.0f;
- float marginLeft = 0.0f, marginRight = 0.0f, textIndent = 0.0f;
- if (propList["fo:margin-top"])
-- marginTop = propList["fo:margin-top"]->getFloat();
-+ marginTop = propList["fo:margin-top"]->getDouble();
- if (propList["fo:margin-bottom"])
-- marginBottom = propList["fo:margin-bottom"]->getFloat();
-+ marginBottom = propList["fo:margin-bottom"]->getDouble();
- if (propList["fo:margin-left"])
-- marginLeft = propList["fo:margin-left"]->getFloat();
-+ marginLeft = propList["fo:margin-left"]->getDouble();
- if (propList["fo:margin-right"])
-- marginRight = propList["fo:margin-right"]->getFloat();
-+ marginRight = propList["fo:margin-right"]->getDouble();
- if (propList["fo:text-indent"])
-- textIndent = propList["fo:text-indent"]->getFloat();
-+ textIndent = propList["fo:text-indent"]->getDouble();
-
- m_topMargin = marginTop;
- m_bottomMargin = marginBottom;
-@@ -487,7 +471,7 @@
-
- float lineSpacing = 1.0f;
- if (propList["fo:line-height"])
-- lineSpacing = propList["fo:line-height"]->getFloat();
-+ lineSpacing = propList["fo:line-height"]->getDouble();
-
- UT_String tmpBuffer;
- UT_String_sprintf(tmpBuffer, "; margin-top:%.4fin; margin-bottom:%.4fin; margin-left:%.4fin; margin-right:%.4fin; text-indent:%.4fin; line-height:%.4f",
-@@ -504,7 +488,7 @@
- propBuffer += tmpBuffer;
- if (i()["style:position"])
- {
-- UT_String_sprintf(tmpBuffer, "%.4fin", i()["style:position"]->getFloat());
-+ UT_String_sprintf(tmpBuffer, "%.4fin", i()["style:position"]->getDouble());
- propBuffer += tmpBuffer;
- }
-
-@@ -640,9 +624,9 @@
-
- // TODO: support spaceAfter
- if (propList["fo:margin-left"])
-- marginLeft = propList["fo:margin-left"]->getFloat();
-+ marginLeft = propList["fo:margin-left"]->getDouble();
- if (propList["fo:margin-right"])
-- marginRight = propList["fo:margin-right"]->getFloat();
-+ marginRight = propList["fo:margin-right"]->getDouble();
-
- if (marginLeft != m_leftSectionMargin || marginRight != m_rightSectionMargin || m_sectionColumnsCount != columnsCount)
- m_bSectionChanged = true;
-@@ -709,9 +693,9 @@
- if (propList["style:num-format"])
- listType = propList["style:num-format"]->getStr().cstr()[0];
- if (propList["text:space-before"])
-- listLeftOffset = propList["text:space-before"]->getFloat();
-+ listLeftOffset = propList["text:space-before"]->getDouble();
- if (propList["text:min-label-width"])
-- listMinLabelWidth = propList["text:min-label-width"]->getFloat();
-+ listMinLabelWidth = propList["text:min-label-width"]->getDouble();
-
- if (!m_pCurrentListDefinition ||
- m_pCurrentListDefinition->getOutlineHash() != listID ||
-@@ -749,9 +733,9 @@
- if (propList["libwpd:level"])
- level = propList["libwpd:level"]->getInt();
- if (propList["text:space-before"])
-- listLeftOffset = propList["text:space-before"]->getFloat();
-+ listLeftOffset = propList["text:space-before"]->getDouble();
- if (propList["text:min-label-width"])
-- listMinLabelWidth = propList["text:min-label-width"]->getFloat();
-+ listMinLabelWidth = propList["text:min-label-width"]->getDouble();
-
- if (!m_pCurrentListDefinition || m_pCurrentListDefinition->getOutlineHash() != listID)
- {
-@@ -871,10 +855,10 @@
-
- UT_String_sprintf(tempBuffer, "margin-left:%.4fin; ", m_pCurrentListDefinition->getListLeftOffset(m_iCurrentListLevel)
- + m_pCurrentListDefinition->getListMinLabelWidth(m_iCurrentListLevel)
-- - (propList["fo:text-indent"] ? propList["fo:text-indent"]->getFloat() : 0.0f));
-+ - (propList["fo:text-indent"] ? propList["fo:text-indent"]->getDouble() : 0.0f));
- propBuffer += tempBuffer;
- UT_String_sprintf(tempBuffer, "text-indent:%.4fin", - m_pCurrentListDefinition->getListMinLabelWidth(m_iCurrentListLevel)
-- + (propList["fo:text-indent"] ? propList["fo:text-indent"]->getFloat() : 0.0f));
-+ + (propList["fo:text-indent"] ? propList["fo:text-indent"]->getDouble() : 0.0f));
- propBuffer += tempBuffer;
-
- listAttribs[attribsCount++] = PT_PROPS_ATTRIBUTE_NAME;
-@@ -1263,7 +1247,7 @@
- virtual UT_Error _loadFile(GsfInput * input)
- {
- AbiWordperfectInputStream gsfInput(input);
-- WPSResult error = WPSDocument::parse(&gsfInput, static_cast<WPXHLListenerImpl *>(this));
-+ WPSResult error = WPSDocument::parse(&gsfInput, static_cast<WPXDocumentInterface *>(this));
-
- if (error != WPS_OK)
- {
-@@ -1302,18 +1286,12 @@
- {
- AbiWordperfectInputStream gsfInput(input);
-
-- WPSConfidence confidence = WPSDocument::isFileFormatSupported(&gsfInput, true);
-+ WPSConfidence confidence = WPSDocument::isFileFormatSupported(&gsfInput);
-
- switch (confidence)
- {
- case WPS_CONFIDENCE_NONE:
- return UT_CONFIDENCE_ZILCH;
-- case WPS_CONFIDENCE_POOR:
-- return UT_CONFIDENCE_POOR;
-- case WPS_CONFIDENCE_LIKELY:
-- return UT_CONFIDENCE_SOSO;
-- case WPS_CONFIDENCE_GOOD:
-- return UT_CONFIDENCE_GOOD;
- case WPS_CONFIDENCE_EXCELLENT:
- return UT_CONFIDENCE_PERFECT;
- default:
-diff -Nur abiword-2.8.6.orig//plugins/wordperfect/xp/ie_imp_WordPerfect.h abiword-2.8.6/plugins/wordperfect/xp/ie_imp_WordPerfect.h
---- abiword-2.8.6.orig//plugins/wordperfect/xp/ie_imp_WordPerfect.h 2009-06-19 01:55:49.000000000 -0700
-+++ abiword-2.8.6/plugins/wordperfect/xp/ie_imp_WordPerfect.h 2010-12-06 13:59:53.929715254 -0800
-@@ -30,13 +30,7 @@
- #define IE_IMP_WP_H
-
- #include <stdio.h>
--#ifdef _WIN32
--#define POINT WPX_POINT
--#endif
- #include <libwpd/libwpd.h>
--#ifdef _WIN32
--#undef POINT
--#endif
- #include "ie_imp.h"
- #include "ut_string.h"
- #include "ut_string_class.h"
-@@ -98,7 +92,7 @@
- IE_Imp ** ppie);
- };
-
--class IE_Imp_WordPerfect : public IE_Imp, public WPXHLListenerImpl
-+class IE_Imp_WordPerfect : public IE_Imp, public WPXDocumentInterface
- {
- public:
- IE_Imp_WordPerfect(PD_Document * pDocument);
-@@ -154,6 +148,21 @@
- virtual void insertCoveredTableCell(const WPXPropertyList & /*propList*/) {}
- virtual void closeTable();
-
-+ virtual void definePageStyle(const WPXPropertyList&) {}
-+ virtual void defineParagraphStyle(const WPXPropertyList&, const WPXPropertyListVector&) {}
-+ virtual void defineCharacterStyle(const WPXPropertyList&) {}
-+ virtual void defineSectionStyle(const WPXPropertyList&, const WPXPropertyListVector&) {}
-+ virtual void insertSpace() {}
-+ virtual void insertField(const WPXString&, const WPXPropertyList&) {}
-+ virtual void openComment(const WPXPropertyList&) {}
-+ virtual void closeComment() {}
-+ virtual void openTextBox(const WPXPropertyList&) {}
-+ virtual void closeTextBox() {}
-+ virtual void openFrame(const WPXPropertyList&) {}
-+ virtual void closeFrame() {}
-+ virtual void insertBinaryObject(const WPXPropertyList&, const WPXBinaryData&) {}
-+ virtual void insertEquation(const WPXPropertyList&, const WPXString&) {}
-+
-
- protected:
- virtual UT_Error _loadFile(GsfInput * input);
-diff -Nur abiword-2.8.6.orig//plugins/wpg/plugin.m4 abiword-2.8.6/plugins/wpg/plugin.m4
---- abiword-2.8.6.orig//plugins/wpg/plugin.m4 2010-05-30 07:50:46.000000000 -0700
-+++ abiword-2.8.6/plugins/wpg/plugin.m4 2010-12-06 13:59:53.929715254 -0800
-@@ -1,5 +1,5 @@
-
--wpg_pkgs="$gsf_req libwpg-0.1 >= 0.1.0 libwpd-0.8 >= 0.8.0"
-+wpg_pkgs="$gsf_req libwpg-0.2 >= 0.2.0 libwpd-0.9 >= 0.9.0 libwpd-stream-0.9 >= 0.9.0"
- wpg_deps="no"
-
- if test "$enable_wpg" != ""; then
-diff -Nur abiword-2.8.6.orig//plugins/wpg/xp/ie_impGraphic_WPG.cpp abiword-2.8.6/plugins/wpg/xp/ie_impGraphic_WPG.cpp
---- abiword-2.8.6.orig//plugins/wpg/xp/ie_impGraphic_WPG.cpp 2008-08-15 14:52:32.000000000 -0700
-+++ abiword-2.8.6/plugins/wpg/xp/ie_impGraphic_WPG.cpp 2010-12-06 13:59:53.923048588 -0800
-@@ -31,11 +31,10 @@
- #include <gsf/gsf-input-memory.h>
- #include <gsf/gsf-input-stdio.h>
- #include <gsf/gsf-infile-msole.h>
--#include <libwpd/WPXStream.h>
-+#include <libwpd-stream/libwpd-stream.h>
- #include "xap_Module.h"
-
- using libwpg::WPGraphics;
--using libwpg::WPGString;
-
- ABI_PLUGIN_DECLARE("WPG")
-
-@@ -48,7 +47,7 @@
- virtual bool isOLEStream();
- virtual WPXInputStream * getDocumentOLEStream();
- virtual WPXInputStream * getDocumentOLEStream(const char * name);
-- virtual const uint8_t *read(size_t numBytes, size_t &numBytesRead);
-+ virtual const unsigned char *read(unsigned long numBytes, unsigned long &numBytesRead);
- virtual int seek(long offset, WPX_SEEK_TYPE seekType);
- virtual long tell();
- virtual bool atEOS();
-@@ -60,7 +59,7 @@
- };
-
- AbiWordPerfectGraphicsInputStream::AbiWordPerfectGraphicsInputStream(GsfInput *input) :
-- WPXInputStream(true),
-+ WPXInputStream(),
- m_input(input),
- m_ole(NULL)
- {
-@@ -75,9 +74,9 @@
- g_object_unref(G_OBJECT(m_input));
- }
-
--const uint8_t * AbiWordPerfectGraphicsInputStream::read(size_t numBytes, size_t &numBytesRead)
-+const unsigned char * AbiWordPerfectGraphicsInputStream::read(unsigned long numBytes, unsigned long &numBytesRead)
- {
-- const uint8_t *buf = gsf_input_read(m_input, numBytes, NULL);
-+ const unsigned char *buf = gsf_input_read(m_input, numBytes, NULL);
-
- if (buf == NULL)
- numBytesRead = 0;
-@@ -245,10 +244,10 @@
- UT_Error IE_Imp_WordPerfectGraphics::importGraphic(GsfInput *input, FG_Graphic **ppfg)
- {
- AbiWordPerfectGraphicsInputStream gsfInput(input);
-- WPGString svgOutput;
-+ WPXString svgOutput;
- if (WPGraphics::generateSVG(&gsfInput, svgOutput))
- {
-- GsfInput * svgInput = gsf_input_memory_new((const guint8*)svgOutput.cstr(), svgOutput.length(), false);
-+ GsfInput * svgInput = gsf_input_memory_new((const guint8*)svgOutput.cstr(), svgOutput.len(), false);
- UT_Error result = IE_ImpGraphic::loadGraphic(svgInput, IE_ImpGraphic::fileTypeForSuffix(".svg"), ppfg);
- g_object_unref(svgInput);
- return result;
diff --git a/extra/abook/PKGBUILD b/extra/abook/PKGBUILD
index 33832c165..44f9699b8 100644
--- a/extra/abook/PKGBUILD
+++ b/extra/abook/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=abook
pkgver=0.6.0pre2
pkgrel=3
pkgdesc='Text-based addressbook designed for use with Mutt'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://abook.sourceforge.net/'
license=('GPL2')
depends=('readline')
diff --git a/extra/acpi/PKGBUILD b/extra/acpi/PKGBUILD
index 10d25d391..0014dd64d 100644
--- a/extra/acpi/PKGBUILD
+++ b/extra/acpi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=acpi
pkgver=1.5
pkgrel=1
pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/acpiclient"
depends=('glibc')
source=(http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz)
diff --git a/extra/aiksaurus/PKGBUILD b/extra/aiksaurus/PKGBUILD
index 7990bebb4..24fc074f9 100644
--- a/extra/aiksaurus/PKGBUILD
+++ b/extra/aiksaurus/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2
pkgdesc="A cross-platform, open-source thesaurus"
url="http://aiksaurus.sourceforge.net/"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!libtool')
depends=('gtk2')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
diff --git a/extra/akonadi/PKGBUILD b/extra/akonadi/PKGBUILD
index 96798a34d..473a7cef4 100644
--- a/extra/akonadi/PKGBUILD
+++ b/extra/akonadi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=akonadi
pkgver=1.6.0
pkgrel=2
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://pim.kde.org/akonadi'
license=('LGPL')
depends=('shared-mime-info' 'boost-libs' 'mysql' 'soprano')
@@ -19,6 +19,7 @@ build() {
cd "${srcdir}"
mkdir build
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
diff --git a/extra/alex/PKGBUILD b/extra/alex/PKGBUILD
index 7d1e975ba..1882aaf44 100644
--- a/extra/alex/PKGBUILD
+++ b/extra/alex/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=alex
pkgver=2.3.5
pkgrel=1.1
pkgdesc='a lexical analyser generator for Haskell'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.haskell.org/alex/'
license=('custom:BSD3')
depends=('gmp')
diff --git a/extra/allegro/PKGBUILD b/extra/allegro/PKGBUILD
index 582e292cc..a37609c5e 100644
--- a/extra/allegro/PKGBUILD
+++ b/extra/allegro/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=allegro
pkgver=4.4.2
pkgrel=1
pkgdesc="Portable library mainly aimed at video game and multimedia programming"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://alleg.sourceforge.net/"
license=('custom')
depends=('jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor' 'libpng')
diff --git a/extra/alsa-lib/PKGBUILD b/extra/alsa-lib/PKGBUILD
index b5f7fda08..957ef0b1c 100644
--- a/extra/alsa-lib/PKGBUILD
+++ b/extra/alsa-lib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=alsa-lib
pkgver=1.0.24.1
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 14050f70b..723b95447 100644
--- a/extra/alsa-oss/PKGBUILD
+++ b/extra/alsa-oss/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=alsa-oss
pkgver=1.0.17
pkgrel=1
pkgdesc="OSS compatibility library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.alsa-project.org"
options=(!libtool)
diff --git a/extra/alsa-plugins/PKGBUILD b/extra/alsa-plugins/PKGBUILD
index b485b65db..11aed0c85 100644
--- a/extra/alsa-plugins/PKGBUILD
+++ b/extra/alsa-plugins/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=alsa-plugins
pkgver=1.0.24
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-utils/PKGBUILD b/extra/alsa-utils/PKGBUILD
index f71ae7d95..291bb5767 100644
--- a/extra/alsa-utils/PKGBUILD
+++ b/extra/alsa-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=alsa-utils
pkgver=1.0.24.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')
diff --git a/extra/alsaplayer/PKGBUILD b/extra/alsaplayer/PKGBUILD
index ed5a8b546..e768b82ca 100644
--- a/extra/alsaplayer/PKGBUILD
+++ b/extra/alsaplayer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=alsaplayer
pkgver=0.99.81
pkgrel=2
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://www.alsaplayer.org/"
license=('GPL')
depends=('gcc-libs' 'desktop-file-utils')
diff --git a/extra/amarok/PKGBUILD b/extra/amarok/PKGBUILD
index a8183bd63..2dbf5d668 100644
--- a/extra/amarok/PKGBUILD
+++ b/extra/amarok/PKGBUILD
@@ -7,7 +7,7 @@ replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
pkgver=2.4.3
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' 'mysql' 'qtscriptgenerator' 'taglib-extras'
diff --git a/extra/amule/PKGBUILD b/extra/amule/PKGBUILD
index 91ad6c41f..069770de6 100644
--- a/extra/amule/PKGBUILD
+++ b/extra/amule/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=amule
pkgver=10587
pkgrel=1
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++' 'libsm')
diff --git a/extra/anjuta/PKGBUILD b/extra/anjuta/PKGBUILD
index 0d8858500..1512f33b7 100644
--- a/extra/anjuta/PKGBUILD
+++ b/extra/anjuta/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=anjuta
pkgver=3.0.3.0
pkgrel=1
pkgdesc="GNOME Integrated Development Environment (IDE)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('vte3' 'gdl' 'autogen' 'devhelp' 'gtksourceview3' 'glade' 'libgda'
'subversion' 'gnome-icon-theme' 'hicolor-icon-theme' 'vala' 'graphviz'
diff --git a/extra/anthy/PKGBUILD b/extra/anthy/PKGBUILD
index c38e8ba48..c0a3fbf9a 100644
--- a/extra/anthy/PKGBUILD
+++ b/extra/anthy/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=9100h
_filecode=37536
pkgrel=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')
options=('!libtool')
diff --git a/extra/antlr2/PKGBUILD b/extra/antlr2/PKGBUILD
index 021da9bb4..b002792bb 100644
--- a/extra/antlr2/PKGBUILD
+++ b/extra/antlr2/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=antlr2
pkgname=('antlr2' 'python-antlr2')
pkgver=2.7.7
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.antlr2.org/"
license=('custom')
makedepends=('java-environment' 'python2' 'sh')
diff --git a/extra/apache/PKGBUILD b/extra/apache/PKGBUILD
index 15820f05f..82f013287 100644
--- a/extra/apache/PKGBUILD
+++ b/extra/apache/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=apache
pkgver=2.2.19
-pkgrel=1
+pkgrel=2
pkgdesc='A high performance Unix-based HTTP server'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!libtool')
url='http://www.apache.org/dist/httpd'
license=('APACHE')
diff --git a/extra/apr-util/PKGBUILD b/extra/apr-util/PKGBUILD
index 5cdab4d99..05a1627f5 100644
--- a/extra/apr-util/PKGBUILD
+++ b/extra/apr-util/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=apr-util
pkgver=1.3.12
pkgrel=2
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')
options=('!libtool')
diff --git a/extra/apr/PKGBUILD b/extra/apr/PKGBUILD
index 3f18110f0..78753328d 100644
--- a/extra/apr/PKGBUILD
+++ b/extra/apr/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=apr
pkgver=1.4.5
pkgrel=1
pkgdesc="The Apache Portable Runtime"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://apr.apache.org/"
depends=('util-linux-ng>=2.16')
options=('!libtool')
diff --git a/extra/apricots/PKGBUILD b/extra/apricots/PKGBUILD
index 76edd3871..e0832363a 100644
--- a/extra/apricots/PKGBUILD
+++ b/extra/apricots/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=apricots
pkgver=0.2.6
pkgrel=3
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>=1.6.372' 'sdl' 'freealut>=1.1.0')
diff --git a/extra/archboot/PKGBUILD b/extra/archboot/PKGBUILD
index 959b19cd6..a5fa7b6c2 100644
--- a/extra/archboot/PKGBUILD
+++ b/extra/archboot/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=archboot
pkgver=2011.07
pkgrel=2
pkgdesc="Advanced, modular arch boot/install image creation utility"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.archlinux.org/"
depends=('mkinitcpio>=0.6.12-1' 'mksyslinux>=2010.08-1' 'mkpxelinux>=2010.08-1' 'mkisolinux>=2010.08-1' 'initscripts>=2011.05.2-1' 'subversion>=1.6.15-2' 'wget>=1.12-7' 'bash>=4.2.010-1' 'coreutils>=8.12-1' 'cryptsetup>=1.3.0-1' 'dialog>=1.1_20110302-1' 'e2fsprogs>=1.41.14-1' 'findutils>=4.4.2-3' 'gawk>=3.1.8-2' 'grep>=2.7-1' 'iputils>=20101006-1' 'jfsutils>=1.1.14-2' 'less>=443-1' 'lvm2>=2.02.85-1' 'mdadm>=3.2.1-3' 'module-init-tools>=3.12-2' 'nano>=2.2.6-1' 'ncurses>=5.9-1' 'net-tools>=1.60-14' 'gnu-netcat>=0.7.1-3' 'ntfsprogs>=2011.4.12-1' 'pcmciautils>=017-2' 'procps>=3.2.8-3' 'psmisc>=22.13-1' 'reiserfsprogs>=3.6.21-3' 'sed>=4.2.1-3' 'snarf>=7.0-4' 'syslog-ng>=3.2.4-1' 'sysvinit>=2.88-2' 'tar>=1.26-1' 'util-linux>=2.19.1-2' 'which>=2.20-4' 'kbd>=1.15.3-1' 'wireless_tools>=29-4' 'xfsprogs>=3.1.5-1' 'dnsutils>=9.8.0.P1-1' 'hdparm>=9.37-1' 'memtest86+>=4.20-1' 'inetutils>=1.8-2' 'openssh>=5.8p2-6' 'hwdetect>=2011.03-1' 'shadow>=4.1.4.3-1' 'bridge-utils>=1.4-4' 'ifenslave>=1.1.0-6' 'cpufrequtils>=008-1' 'links>=2.3pre1-1' 'dosfstools>=3.0.11-1' 'glibc>=2.13-5' 'linux-api-headers>=2.6.38.1-1' 'kernel26>=2.6.38.6-2' 'kernel26-lts>=2.6.32.40-1' 'xinetd>=2.3.14-6' 'kexec-tools>=2.0.2-3' 'ppp>=2.4.5-2' 'rp-pppoe>=3.10-6' 'lilo>=23.2-1' 'iptables>=1.4.10-1' 'capi4k-utils>=050718-7' 'isdn4k-utils>=3.2p1-6' 'ntfs-3g>=2011.4.12-1' 'pciutils>=3.1.7-4' 'usbutils>=002-3' 'vpnc>=0.5.3-3' 'openvpn>=2.2.0-1' 'b43-fwcutter>=014-1' 'wpa_supplicant>=0.7.3-3' 'rsync>=3.0.8-1' 'gzip>=1.4-2' 'libarchive>=2.8.4-2' 'device-mapper>=2.02.85-1' 'screen>=4.0.3-11' 'elfutils>=0.152-1' 'pam>=1.1.3-1' 'cracklib>=2.8.18-1' 'nfs-utils>=1.2.3-2' 'nfsidmap>=0.24-2' 'readline>=6.2.001-1' 'acl>=2.2.51-1' 'attr>=2.4.46-1' 'pcre>=8.12-1' 'cpio>=2.11-2' 'fuse>=2.8.5-1' 'libusb>=1.0.8-1' 'vim>=7.3.177-1' 'lzo2>=2.05-1' 'libsasl>=2.1.23-5' 'libldap>=2.4.24-1' 'gpm>=1.20.6-6' 'libevent>=2.0.11-1' 'gcc-libs>=4.6.0-5' 'sdparm>=1.06-1' 'licenses>=2.8-1' 'pptpclient>=1.7.2-3' 'zd1211-firmware>=1.4-4' 'ipw2100-fw>=1.3-5' 'ipw2200-fw>=3.1-3' 'smbclient>=3.5.8-3' 'bittorrent>=5.2.2-4' 'dhcpcd>=5.2.12-1' 'openssl>=1.0.0.d-1' 'git>=1.7.5.1-1' 'dmraid>=1.0.0.rc16.3-1' 'linux-atm>=2.5.1-2' 'netcfg>=2.5.4-1' 'parted>=2.3-1' 'tzdata>=2011g-1' 'ntp>=4.2.6.p3-3' 'libgcrypt>=1.4.6-3' 'iw>=0.9.22-1' 'crda>=1.1.1-3' 'libnl>=1.1-2' 'iproute2>=2.6.38-2' 'wireless-regdb>=2010.11.24-1' 'v86d>=0.1.10-1' 'dhclient>=4.2.1.1-1' 'syslinux>=4.04-1' 'mtools>=4.0.16-1' 'fsarchiver>=0.6.12-1' 'xz>=5.0.2-1' 'libtirpc>=0.2.1-3' 'librpcsecgss>=0.19-5' 'rpcbind>=0.2.0-3' 'testdisk>=6.12-1' 'wipe>=2.3.1-1' 'ddrescue>=1.14-1' 'udev>=168-1' 'ifplugd>=0.28-7' 'wpa_actiond>=1.1-2' 'nouveau-firmware>=20091212-4' 'rfkill>=0.4-2' 'libgssglue>=0.1-4' 'mkinitcpio-nfs-utils>=0.2-1' 'gptfdisk>=0.7.1-1' 'nilfs-utils>=2.0.23-1' 'btrfs-progs-unstable>=0.19.20101006-1' 'nouveau-drm-lts>=0.0.16_20100313-5' 'linux-firmware>=20110512-2' 'iana-etc>=2.30-1' 'libusb-compat>=0.1.3-1' 'eject>=2.1.5-5' 'keyutils>=1.4-1' 'libisoburn>=1.1.2' 'squashfs-tools>=4.2')
diff --git a/extra/ardour/PKGBUILD b/extra/ardour/PKGBUILD
index 5780fa159..f63bfdd6f 100644
--- a/extra/ardour/PKGBUILD
+++ b/extra/ardour/PKGBUILD
@@ -11,7 +11,7 @@ pkgname=ardour
pkgver=2.8.11
pkgrel=5
pkgdesc="A multichannel hard disk recorder and digital audio workstation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ardour.org/"
license=('GPL')
depends=('liblrdf>=0.4.0-8' 'liblo' 'aubio' 'libusb-compat'
diff --git a/extra/arj/PKGBUILD b/extra/arj/PKGBUILD
index 7c2b457ca..bf0a734bf 100644
--- a/extra/arj/PKGBUILD
+++ b/extra/arj/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=3.10.22
pkgrel=6
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')
options=('!makeflags')
depends=('glibc')
diff --git a/extra/arora/PKGBUILD b/extra/arora/PKGBUILD
index 9bcf87b01..d1606a56b 100644
--- a/extra/arora/PKGBUILD
+++ b/extra/arora/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=arora
pkgver=0.11.0
pkgrel=2
pkgdesc='A cross platform web browser built using Qt and WebKit'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.arora-browser.org'
license=('GPL')
depends=('qt' 'desktop-file-utils')
diff --git a/extra/asio/PKGBUILD b/extra/asio/PKGBUILD
index add8358e0..a22be2d05 100644
--- a/extra/asio/PKGBUILD
+++ b/extra/asio/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=asio
pkgver=1.4.8
pkgrel=1
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 4e2c6febf..a9f4b05c7 100644
--- a/extra/aspell-de/PKGBUILD
+++ b/extra/aspell-de/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=aspell-de
pkgver=20100727
pkgrel=3
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 6ac72bed5..5cbe89c17 100644
--- a/extra/aspell-en/PKGBUILD
+++ b/extra/aspell-en/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=aspell-en
pkgver=7.1
pkgrel=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 81a93400e..58827eeda 100644
--- a/extra/aspell-es/PKGBUILD
+++ b/extra/aspell-es/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=aspell-es
pkgver=1.11
pkgrel=4
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 ef91b7513..8d8a36cf8 100644
--- a/extra/aspell-fr/PKGBUILD
+++ b/extra/aspell-fr/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=aspell-fr
pkgver=0.50.3
pkgrel=5
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 748f3b129..3afb7f8cb 100644
--- a/extra/aspell-hu/PKGBUILD
+++ b/extra/aspell-hu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=aspell-hu
pkgver=0.99.4.2
pkgrel=2
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 f577080e1..342907206 100644
--- a/extra/aspell-it/PKGBUILD
+++ b/extra/aspell-it/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=aspell-it
pkgver=2.2_20050523
pkgrel=3
pkgdesc="Italian 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-nl/PKGBUILD b/extra/aspell-nl/PKGBUILD
index d0bb9a4af..6e5cce482 100644
--- a/extra/aspell-nl/PKGBUILD
+++ b/extra/aspell-nl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=aspell-nl
pkgver=0.50.2
pkgrel=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 6fac241b7..846abf74a 100644
--- a/extra/aspell-pt/PKGBUILD
+++ b/extra/aspell-pt/PKGBUILD
@@ -9,7 +9,7 @@ _pkgverBR=20090702
pkgver=$_pkgverBR
pkgrel=2
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 23b286b01..ed8f25330 100644
--- a/extra/aspell-ru/PKGBUILD
+++ b/extra/aspell-ru/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=aspell-ru
pkgver=0.99f7
pkgrel=4
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 1b88938d3..a6e4e621d 100644
--- a/extra/aspell/PKGBUILD
+++ b/extra/aspell/PKGBUILD
@@ -9,8 +9,8 @@ pkgver=0.60.6.1
_pkgmajorver=0.60
pkgrel=1
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 3dadd0b5d..9eabbf7e3 100644
--- a/extra/asymptote/PKGBUILD
+++ b/extra/asymptote/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=asymptote
pkgver=2.13
pkgrel=1
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' 'gsl' 'fftw')
diff --git a/extra/at-spi/PKGBUILD b/extra/at-spi/PKGBUILD
index 0970c90f4..82cc1b4ec 100644
--- a/extra/at-spi/PKGBUILD
+++ b/extra/at-spi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=at-spi
pkgver=1.32.0
pkgrel=4
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 9e67ecb21..bc394106c 100644
--- a/extra/at-spi2-atk/PKGBUILD
+++ b/extra/at-spi2-atk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=at-spi2-atk
pkgver=2.0.2
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' 'dconf')
diff --git a/extra/at-spi2-core/PKGBUILD b/extra/at-spi2-core/PKGBUILD
index 4cda3965f..c3dd97d41 100644
--- a/extra/at-spi2-core/PKGBUILD
+++ b/extra/at-spi2-core/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=at-spi2-core
pkgver=2.0.2
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-core' 'glib2' 'libxtst')
diff --git a/extra/at/PKGBUILD b/extra/at/PKGBUILD
index a5ddc81e5..12689eb01 100644
--- a/extra/at/PKGBUILD
+++ b/extra/at/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=at
pkgver=3.1.12
pkgrel=1
pkgdesc="AT and batch delayed command scheduling utility and daemon."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.debian.org"
license=('GPL')
depends=('pam')
diff --git a/extra/aterm/PKGBUILD b/extra/aterm/PKGBUILD
index f68bb3065..161e43890 100644
--- a/extra/aterm/PKGBUILD
+++ b/extra/aterm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=aterm
pkgver=1.0.1
pkgrel=2
pkgdesc="An xterm replacement with transparency support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aterm.sourceforge.net/"
license=('GPL')
depends=('libxext' 'libsm')
diff --git a/extra/atk/PKGBUILD b/extra/atk/PKGBUILD
index 0be01a366..723158973 100644
--- a/extra/atk/PKGBUILD
+++ b/extra/atk/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=atk
pkgver=2.0.1
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=('pkgconfig' 'gobject-introspection')
diff --git a/extra/atkmm/PKGBUILD b/extra/atkmm/PKGBUILD
index 8c519045e..db30facf8 100644
--- a/extra/atkmm/PKGBUILD
+++ b/extra/atkmm/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=atkmm
pkgname=(atkmm atkmm-docs)
pkgver=2.22.4
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('atk' 'glibmm' 'glibmm-docs' 'libsigc++')
license=('LGPL')
options=('!libtool' '!emptydirs')
diff --git a/extra/attica/PKGBUILD b/extra/attica/PKGBUILD
index 66000ef1f..a984a7082 100644
--- a/extra/attica/PKGBUILD
+++ b/extra/attica/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=attica
pkgver=0.2.0
pkgrel=1
pkgdesc='A library to access Open Collaboration Service providers'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('LGPL')
depends=('qt')
diff --git a/extra/aubio/PKGBUILD b/extra/aubio/PKGBUILD
index e172e1fe1..517f756d6 100644
--- a/extra/aubio/PKGBUILD
+++ b/extra/aubio/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=aubio
pkgver=0.3.2
pkgrel=4
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 95f3bab04..1d8ecb84c 100644
--- a/extra/audacious/PKGBUILD
+++ b/extra/audacious/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=audacious
pkgver=3.0
pkgrel=5
pkgdesc='Lightweight, GTK-based advanced audio player focused on audio quality'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://audacious-media-player.org/'
license=('GPL3')
depends=('gtk3' 'libmcs' 'dbus-glib' 'libguess' 'libsm' 'audacious-plugins' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/audiofile/PKGBUILD b/extra/audiofile/PKGBUILD
index 70d3364d9..a7cebf945 100644
--- a/extra/audiofile/PKGBUILD
+++ b/extra/audiofile/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=audiofile
pkgver=0.2.7
pkgrel=1
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=('glibc')
diff --git a/extra/autogen/PKGBUILD b/extra/autogen/PKGBUILD
index 86b53662c..bb4fd7db1 100644
--- a/extra/autogen/PKGBUILD
+++ b/extra/autogen/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=autogen
pkgver=5.9.9
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>=1.8.6' 'libxml2>=2.7.3' 'libtool>=2.2.6a')
diff --git a/extra/automoc4/PKGBUILD b/extra/automoc4/PKGBUILD
index a6f7bc58d..2d0f8dc7c 100644
--- a/extra/automoc4/PKGBUILD
+++ b/extra/automoc4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=automoc4
pkgver=0.9.88
pkgrel=2
pkgdesc="Automatic moc for Qt4"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('custom')
depends=('qt')
diff --git a/extra/autopano-sift-c/PKGBUILD b/extra/autopano-sift-c/PKGBUILD
index 35a5d7fdc..69a9432f2 100644
--- a/extra/autopano-sift-c/PKGBUILD
+++ b/extra/autopano-sift-c/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=autopano-sift-c
pkgver=2.5.1
pkgrel=2
pkgdesc="Identify key feature points within arbitrary images"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hugin.sourceforge.net/"
license=('GPL2')
depends=('libxml2' 'libpano13>=2.9.17' 'gcc-libs')
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD
index 812aeeaa0..61a88ee54 100644
--- a/extra/avahi/PKGBUILD
+++ b/extra/avahi/PKGBUILD
@@ -6,10 +6,11 @@ pkgname=avahi
pkgver=0.6.30
pkgrel=4
pkgdesc='A multicast/unicast DNS-SD framework'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.avahi.org/'
license=('LGPL')
depends=('expat' 'libdaemon' 'glib2' 'dbus' 'libcap' 'gdbm')
+[ "$CARCH" = "mips64el" ] || {
optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
'gtk2: gtk2 bindings'
'qt3: qt3 bindings'
@@ -21,6 +22,19 @@ optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
'nss-mdns: NSS support for mDNS')
makedepends=('qt' 'qt3' 'pygtk' 'mono' 'intltool' 'dbus-python'
'gtk-sharp-2' 'gobject-introspection' 'gtk3')
+}
+
+[ "$CARCH" = "mips64el" ] && {
+optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
+ 'gtk2: gtk2 bindings'
+ 'qt: qt bindings'
+ 'pygtk: avahi-bookmarks, avahi-discover'
+ 'twisted: avahi-bookmarks'
+ 'dbus-python: avahi-discover'
+ 'nss-mdns: NSS support for mDNS')
+makedepends=('qt' 'pygtk' 'intltool' 'dbus-python'
+ 'gobject-introspection' 'gtk3')
+}
backup=(etc/avahi/avahi-daemon.conf etc/avahi/services/{sftp-,}ssh.service)
install=install
conflicts=('howl' 'mdnsresponder')
@@ -40,6 +54,9 @@ build() {
sed -i 's/netdev/network/g' avahi-daemon/avahi-dbus.conf
patch -p1 -i "../rc.d.patch"
+ [ "$CARCH" = "mips64el" ] && \
+ extra="--disable-qt3 --disable-mono"
+
# pygtk requires python2; make it explicit in case other python are installed: FS#21865
PYTHON=python2 \
PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig \
@@ -57,6 +74,7 @@ build() {
--with-avahi-priv-access-group=network \
--with-autoipd-user=avahi \
--with-autoipd-group=avahi \
+ $extra \
--with-systemdsystemunitdir=/lib/systemd/system # See FS#20999
make
diff --git a/extra/avfs/PKGBUILD b/extra/avfs/PKGBUILD
index a647b1185..288312c7a 100644
--- a/extra/avfs/PKGBUILD
+++ b/extra/avfs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=avfs
pkgver=0.9.9
pkgrel=1
pkgdesc="A virtual filesystem which enables programs to look inside archived or compressed files, or access remote files"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://avf.sourceforge.net/"
source=(http://downloads.sourceforge.net/sourceforge/avf/${pkgname}-${pkgver}.tar.bz2)
diff --git a/extra/avogadro/PKGBUILD b/extra/avogadro/PKGBUILD
index f85ad30cd..a30a4355e 100644
--- a/extra/avogadro/PKGBUILD
+++ b/extra/avogadro/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=avogadro
pkgver=1.0.3
pkgrel=3
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=('eigen' 'openbabel' 'python2-pyqt' 'boost-libs' 'glew' 'python2-numpy')
diff --git a/extra/babl/PKGBUILD b/extra/babl/PKGBUILD
index f8db47877..98005f9d9 100644
--- a/extra/babl/PKGBUILD
+++ b/extra/babl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=babl
pkgver=0.1.4
pkgrel=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/banshee/PKGBUILD b/extra/banshee/PKGBUILD
index 39961936b..587b7abff 100644
--- a/extra/banshee/PKGBUILD
+++ b/extra/banshee/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=banshee
pkgver=2.0.1
pkgrel=2
pkgdesc="Music management and playback for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://banshee.fm/"
license=('MIT')
depends=('libxxf86vm' 'mono-addins' 'notify-sharp-svn' 'boo' 'libwebkit' 'gdata-sharp' 'gtk-sharp-beans' 'gudev-sharp' 'gkeyfile-sharp' 'taglib-sharp' 'libmtp' 'libgpod' 'mono-zeroconf' 'gstreamer0.10-base-plugins' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils' 'gconf-sharp')
diff --git a/extra/barcode/PKGBUILD b/extra/barcode/PKGBUILD
index 99dcd7755..6cf46cf26 100644
--- a/extra/barcode/PKGBUILD
+++ b/extra/barcode/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=barcode
pkgver=0.98
pkgrel=3
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 0ad964ea1..8887cd7ca 100644
--- a/extra/basket/PKGBUILD
+++ b/extra/basket/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=basket
pkgver=1.81
pkgrel=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')
makedepends=('cmake' 'automoc4')
diff --git a/extra/bc/PKGBUILD b/extra/bc/PKGBUILD
index 7c7337580..9ee8962c7 100644
--- a/extra/bc/PKGBUILD
+++ b/extra/bc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bc
pkgver=1.06
pkgrel=7
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/bdf-unifont/PKGBUILD b/extra/bdf-unifont/PKGBUILD
index 2df7993e6..a2b62840d 100644
--- a/extra/bdf-unifont/PKGBUILD
+++ b/extra/bdf-unifont/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bdf-unifont
pkgver=5.1.20080820
pkgrel=1
pkgdesc="GNU Unifont Glyphs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom' 'GPL2')
url="http://unifoundry.com/unifont.html"
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
diff --git a/extra/beagle/PKGBUILD b/extra/beagle/PKGBUILD
index 37bfe2b29..ef7fab4d9 100644
--- a/extra/beagle/PKGBUILD
+++ b/extra/beagle/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=beagle
pkgver=0.3.9
pkgrel=4
pkgdesc="Search tool that ransacks your personal information space to find whatever you are looking for."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://beagle-project.org/"
license=('custom')
depends=('gnome-sharp>=2.24.1' 'gmime>=2.4.10' 'evolution-sharp>=0.20.0' 'libexif' 'librsvg>=2.26.0' 'sqlite3>=3.6.13' 'libxss' 'wv>=1.2.4' 'chmlib' 'gsf-sharp>=0.8.1' 'libsm' 'xdg-utils' 'ndesk-dbus-glib' 'mono>=2.4' 'taglib-sharp')
diff --git a/extra/beep/PKGBUILD b/extra/beep/PKGBUILD
index bee2afc6d..f7a9853ea 100644
--- a/extra/beep/PKGBUILD
+++ b/extra/beep/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=beep
pkgver=1.3
pkgrel=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 c8356dcbe..5d3424581 100644
--- a/extra/bftpd/PKGBUILD
+++ b/extra/bftpd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bftpd
pkgver=3.4
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 079a142aa..ba8bd73c1 100644
--- a/extra/bigloo/PKGBUILD
+++ b/extra/bigloo/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=3.6a
pkgver=${_pkgver/-/_}
pkgrel=2
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=('openssl' 'sqlite3')
diff --git a/extra/bind/PKGBUILD b/extra/bind/PKGBUILD
index 9d34dc6dc..b6e6ea92e 100644
--- a/extra/bind/PKGBUILD
+++ b/extra/bind/PKGBUILD
@@ -11,7 +11,7 @@ _pkgver=9.8.0-P4
pkgrel=1
pkgdesc='Berkeley Internet Name Daemon (BIND) is the reference implementation of the Domain Name System (DNS) protocols'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.isc.org/software/bind/'
license=('custom:ISC')
provides=('dns-server')
diff --git a/extra/bitlbee/PKGBUILD b/extra/bitlbee/PKGBUILD
index 1711534b8..2fbdf9266 100644
--- a/extra/bitlbee/PKGBUILD
+++ b/extra/bitlbee/PKGBUILD
@@ -9,10 +9,10 @@ pkgname=bitlbee
pkgver=3.0.3
pkgrel=2
pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.bitlbee.org/'
license=('GPL')
-depends=('openssl' 'glib2' 'libotr')
+depends=('gnutls' 'glib2' 'libotr')
optdepends=('xinetd: to run bitlbee through xinetd')
source=("http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz"
'xinetd'
@@ -35,6 +35,7 @@ build() {
--ssl=openssl \
--strip=0 \
--otr=1 \
+ --ssl=gnutls
make
}
diff --git a/extra/blender/PKGBUILD b/extra/blender/PKGBUILD
index 181602cc3..4959644e2 100644
--- a/extra/blender/PKGBUILD
+++ b/extra/blender/PKGBUILD
@@ -16,7 +16,7 @@ pkgver=2.58a
pkgrel=1
epoch=2
pkgdesc="A fully integrated 3D graphics creation suite"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.blender.org"
depends=('libpng' 'libtiff' 'openexr' 'python' 'desktop-file-utils' \
diff --git a/extra/bluedevil/PKGBUILD b/extra/bluedevil/PKGBUILD
index fa7a1d2f6..c02f14561 100644
--- a/extra/bluedevil/PKGBUILD
+++ b/extra/bluedevil/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bluedevil
pkgver=1.1.1
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 e0e160d4d..3bdb68c03 100644
--- a/extra/bluefish/PKGBUILD
+++ b/extra/bluefish/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bluefish
pkgver=2.0.3
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=('pcre' 'gtk2' 'enchant' 'desktop-file-utils' 'shared-mime-info')
diff --git a/extra/bluez-hcidump/PKGBUILD b/extra/bluez-hcidump/PKGBUILD
index 29a5da889..95651cdbe 100644
--- a/extra/bluez-hcidump/PKGBUILD
+++ b/extra/bluez-hcidump/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.1
pkgrel=1
pkgdesc="Bluetooth HCI package analyzer"
url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc' 'bluez')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/bluez/PKGBUILD b/extra/bluez/PKGBUILD
index ae17ecb75..80773fdf5 100644
--- a/extra/bluez/PKGBUILD
+++ b/extra/bluez/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=4.96
pkgrel=1
pkgdesc="Libraries 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-core')
makedepends=('gstreamer0.10-base' 'libusb-compat' 'libnl' 'libsndfile')
diff --git a/extra/bmp-musepack/PKGBUILD b/extra/bmp-musepack/PKGBUILD
index 2cd7d1898..8aea2500c 100644
--- a/extra/bmp-musepack/PKGBUILD
+++ b/extra/bmp-musepack/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bmp-musepack
pkgver=1.2
pkgrel=3
pkgdesc="A BMP plugin for playing sounds in Musepack (MPC) format"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://musepack.net/"
license=('BSD')
depends=('bmp' 'libmpcdec>=1.2.5' 'taglib')
diff --git a/extra/bmp-wma/PKGBUILD b/extra/bmp-wma/PKGBUILD
index edf54ae20..e8d082961 100644
--- a/extra/bmp-wma/PKGBUILD
+++ b/extra/bmp-wma/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3
pkgdesc="WMA plugin for Beep Media Player"
url="http://bmp-plugins.berlios.de/novelian/project.php?p=bmp-wma"
license=('GPL')
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
depends=('bmp')
groups=('bmp-plugins' 'bmp-io-plugins')
options=(!libtool !emptydirs)
diff --git a/extra/bmp/PKGBUILD b/extra/bmp/PKGBUILD
index 8c89b7db0..800feeca4 100644
--- a/extra/bmp/PKGBUILD
+++ b/extra/bmp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bmp
pkgver=0.9.7.1
pkgrel=6
pkgdesc="gtk2 port of xmms"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://sourceforge.net/projects/beepmp/"
license=('GPL')
depends=('id3lib' 'libglade' 'libsm' 'libvorbis' 'unzip')
diff --git a/extra/bochs/PKGBUILD b/extra/bochs/PKGBUILD
index 0e4920fe7..46bc1161d 100644
--- a/extra/bochs/PKGBUILD
+++ b/extra/bochs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bochs
pkgver=2.4.6
pkgrel=1
pkgdesc="A portable x86 PC emulation software package"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://bochs.sourceforge.net/"
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/bogofilter/PKGBUILD b/extra/bogofilter/PKGBUILD
index 860895cf9..9c939fe03 100644
--- a/extra/bogofilter/PKGBUILD
+++ b/extra/bogofilter/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bogofilter
pkgver=1.2.2
pkgrel=3
pkgdesc="A fast Bayesian spam filtering tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://bogofilter.sourceforge.net"
depends=('db' 'perl' 'gsl')
diff --git a/extra/boo/PKGBUILD b/extra/boo/PKGBUILD
index b9fcee689..c630d2d8c 100644
--- a/extra/boo/PKGBUILD
+++ b/extra/boo/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=boo
pkgver=0.9.4.9
pkgrel=1
pkgdesc="A wrist friendly language for the CLI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://boo.codehaus.org/"
license=('GPL')
depends=('sh' 'mono' 'shared-mime-info')
diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD
index abeaf0569..2ff1dbce0 100644
--- a/extra/boost/PKGBUILD
+++ b/extra/boost/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=('boost-libs' 'boost')
pkgver=1.47.0
_boostver=${pkgver//./_}
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.boost.org/"
makedepends=('icu' 'python' 'python2' 'bzip2' 'zlib' 'openmpi')
source=(http://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}_${_boostver}.tar.gz)
@@ -31,6 +31,7 @@ build() {
_bindir="bin.linuxx86"
[ "${CARCH}" = "x86_64" ] && _bindir="bin.linuxx86_64"
+ [ "${CARCH}" = "mips64el" ] && _bindir="bin.linuxmips"
install -d "${_stagedir}"/usr/bin
install ${_bindir}/bjam "${_stagedir}"/usr/bin/bjam
diff --git a/extra/botan/PKGBUILD b/extra/botan/PKGBUILD
index 2d05b70e8..1623c55c4 100644
--- a/extra/botan/PKGBUILD
+++ b/extra/botan/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.10.0
pkgrel=1
pkgdesc="BSD-licensed crypto library written in C++"
license=('BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://botan.randombit.net/"
depends=('gcc-libs' 'sh')
makedepends=('python2')
diff --git a/extra/brasero/PKGBUILD b/extra/brasero/PKGBUILD
index f3d87e97e..3f082cac3 100644
--- a/extra/brasero/PKGBUILD
+++ b/extra/brasero/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=brasero
pkgver=3.0.0
pkgrel=1
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=('!libtool' '!emptydirs')
diff --git a/extra/brltty/PKGBUILD b/extra/brltty/PKGBUILD
index e173c7e6c..32801c297 100644
--- a/extra/brltty/PKGBUILD
+++ b/extra/brltty/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=brltty
pkgver=4.2
pkgrel=4
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' 'at-spi' 'gpm' 'icu' 'python2' 'tcl' 'atk' 'libxtst')
diff --git a/extra/bug-buddy/PKGBUILD b/extra/bug-buddy/PKGBUILD
index 871b6e10e..bb24f9b29 100644
--- a/extra/bug-buddy/PKGBUILD
+++ b/extra/bug-buddy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bug-buddy
pkgver=2.32.0
pkgrel=1
pkgdesc="A bug reporting tool for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
install=bug-buddy.install
depends=('evolution-data-server>=2.32.0' 'libgtop>=2.28.1' 'elfutils' 'hicolor-icon-theme' 'libbonobo>=2.32.0')
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.20.1')
diff --git a/extra/bzflag/PKGBUILD b/extra/bzflag/PKGBUILD
index 1589b32e7..b0f79e140 100644
--- a/extra/bzflag/PKGBUILD
+++ b/extra/bzflag/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.0.16
pkgrel=1
pkgdesc="A multiplayer 3D tank battle game"
depends=('curl' 'mesa' 'sdl')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
options=(!libtool)
url="http://www.bzflag.org"
diff --git a/extra/bzr/PKGBUILD b/extra/bzr/PKGBUILD
index 942251939..e00f2e0af 100644
--- a/extra/bzr/PKGBUILD
+++ b/extra/bzr/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bzr
pkgver=2.3.4
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 d16d11ce9..75c8351dc 100644
--- a/extra/c-ares/PKGBUILD
+++ b/extra/c-ares/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=c-ares
pkgver=1.7.4
pkgrel=1
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/cabal-install/PKGBUILD b/extra/cabal-install/PKGBUILD
index 78c9c8902..dda18250d 100644
--- a/extra/cabal-install/PKGBUILD
+++ b/extra/cabal-install/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="The command-line interface for Cabal and Hackage."
url="http://hackage.haskell.org/package/cabal-install"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('ghc=7.0.2' 'haskell-http>=4000.1.1' 'haskell-zlib')
depends=('gmp' zlib)
options=('strip')
diff --git a/extra/cagibi/PKGBUILD b/extra/cagibi/PKGBUILD
index ac8f2a431..2f81cc228 100644
--- a/extra/cagibi/PKGBUILD
+++ b/extra/cagibi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cagibi
pkgver=0.2.0
pkgrel=1
pkgdesc='A cache/proxy daemon for SSDP (the discovery part of UPnP)'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('LGPL')
depends=('qt')
diff --git a/extra/cairo-perl/PKGBUILD b/extra/cairo-perl/PKGBUILD
index b697e5e16..8f260c3a8 100644
--- a/extra/cairo-perl/PKGBUILD
+++ b/extra/cairo-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Cairo
pkgver=1.061
pkgrel=4
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 9c80110a0..356a9d270 100644
--- a/extra/cairo/PKGBUILD
+++ b/extra/cairo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cairo
pkgver=1.10.2
pkgrel=2
pkgdesc="Cairo vector graphics library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL' 'MPL')
url="http://cairographics.org/"
depends=('libpng>=1.4.0' 'libxrender' 'fontconfig>=2.8.0' 'pixman>=0.18.4' 'glib2>=2.24.0' 'sh')
diff --git a/extra/cairomm/PKGBUILD b/extra/cairomm/PKGBUILD
index 8bd23555e..faa47880f 100644
--- a/extra/cairomm/PKGBUILD
+++ b/extra/cairomm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cairomm
pkgver=1.10.0
pkgrel=1
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/camsource/PKGBUILD b/extra/camsource/PKGBUILD
index 5c6221769..02fc14222 100644
--- a/extra/camsource/PKGBUILD
+++ b/extra/camsource/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=camsource
pkgver=0.7.0
pkgrel=6
pkgdesc="Grabs images from a v4l and v4l2 webcam devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://camsource.sourceforge.net/"
license=('GPL')
depends=('libxml2' 'libjpeg>=8')
diff --git a/extra/capi4hylafax/PKGBUILD b/extra/capi4hylafax/PKGBUILD
index 039ea496d..f8918d70e 100644
--- a/extra/capi4hylafax/PKGBUILD
+++ b/extra/capi4hylafax/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=capi4hylafax
pkgver=010300
pkgrel=4
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' 'capi4k-utils' 'hylafax' 'gcc-libs' 'libtiff')
diff --git a/extra/capi4k-utils/PKGBUILD b/extra/capi4k-utils/PKGBUILD
index a2610a96f..a7ee7ff40 100644
--- a/extra/capi4k-utils/PKGBUILD
+++ b/extra/capi4k-utils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=capi4k-utils
pkgver=050718
pkgrel=7
pkgdesc="capi utils for isdn cards"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="ftp://ftp.in-berlin.de/pub/capi4linux/"
makedepends=('ppp')
diff --git a/extra/capseo/PKGBUILD b/extra/capseo/PKGBUILD
index 6b4664a0d..d94f8210f 100644
--- a/extra/capseo/PKGBUILD
+++ b/extra/capseo/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=capseo
pkgver=0.3
pkgrel=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/catdoc/PKGBUILD b/extra/catdoc/PKGBUILD
index cf8523bff..aa4f7da01 100644
--- a/extra/catdoc/PKGBUILD
+++ b/extra/catdoc/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=catdoc
pkgver=0.94.2
pkgrel=3
pkgdesc="A convertor for Microsoft Word, Excel, PowerPoint and RTF Files to text"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://www.wagner.pp.ru/~vitus/software/catdoc/"
license=('GPL')
depends=('glibc')
diff --git a/extra/ccache/PKGBUILD b/extra/ccache/PKGBUILD
index 7fd538159..0491cfb94 100644
--- a/extra/ccache/PKGBUILD
+++ b/extra/ccache/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc="A compiler cache"
url="http://ccache.samba.org/"
source=("http://samba.org/ftp/${pkgname}/$pkgname-$pkgver.tar.bz2")
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('zlib')
md5sums=('f652bd20253bb4aa1440ae50bea3c9e3')
diff --git a/extra/cdargs/PKGBUILD b/extra/cdargs/PKGBUILD
index 28e471e84..7d721064b 100644
--- a/extra/cdargs/PKGBUILD
+++ b/extra/cdargs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cdargs
pkgver=1.35
pkgrel=3
pkgdesc="A replacement for 'cd' that includes bookmarks/browsing for faster navigation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.skamphausen.de/cgi-bin/ska/CDargs"
depends=('ncurses' 'gcc-libs')
diff --git a/extra/cdparanoia/PKGBUILD b/extra/cdparanoia/PKGBUILD
index c51bd4ce0..223570a22 100644
--- a/extra/cdparanoia/PKGBUILD
+++ b/extra/cdparanoia/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cdparanoia
pkgver=10.2
pkgrel=3
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 4474dce28..756193f4e 100644
--- a/extra/cdrdao/PKGBUILD
+++ b/extra/cdrdao/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=('cdrdao')
pkgname=('cdrdao' 'gcdmaster')
pkgver=1.2.3
pkgrel=5
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://cdrdao.sourceforge.net/"
makedepends=('gcc-libs' 'lame' 'libmad' 'libvorbis' 'libao' 'libgnomeuimm')
diff --git a/extra/cdrkit/PKGBUILD b/extra/cdrkit/PKGBUILD
index b4814cf6e..0d9c50016 100644
--- a/extra/cdrkit/PKGBUILD
+++ b/extra/cdrkit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cdrkit
pkgver=1.1.11
pkgrel=1
pkgdesc="Suite of programs for CD/DVD recording, ISO image creation, and audio CD extraction"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cdrkit.org/"
license=('GPL2')
depends=('file' 'bzip2' 'perl')
diff --git a/extra/celestia/PKGBUILD b/extra/celestia/PKGBUILD
index 702e3e05f..e41ce2589 100644
--- a/extra/celestia/PKGBUILD
+++ b/extra/celestia/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=celestia
pkgver=1.6.1
pkgrel=1
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' 'lua' 'gtkglext' 'glut' 'libxmu' 'mesa' 'libjpeg')
diff --git a/extra/cfitsio/PKGBUILD b/extra/cfitsio/PKGBUILD
index 554c12923..5f1992744 100644
--- a/extra/cfitsio/PKGBUILD
+++ b/extra/cfitsio/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=3.280
_pkgver=3280
pkgrel=1
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/docs/software/fitsio/fitsio.html"
license=('GPL2')
depends=('glibc')
diff --git a/extra/cheese/PKGBUILD b/extra/cheese/PKGBUILD
index 3a3033792..cc188e284 100644
--- a/extra/cheese/PKGBUILD
+++ b/extra/cheese/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cheese
pkgver=3.0.2
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=('gnome-desktop' 'gtk3' 'libcanberra' 'librsvg' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'gstreamer0.10-bad' 'clutter-gst'
'clutter-gtk' 'mx' 'libgee' 'gnome-video-effects' 'hicolor-icon-theme')
diff --git a/extra/chemtool/PKGBUILD b/extra/chemtool/PKGBUILD
index b3992140d..b5fbb721b 100644
--- a/extra/chemtool/PKGBUILD
+++ b/extra/chemtool/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=chemtool
pkgver=1.6.12
pkgrel=3
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')
diff --git a/extra/chkrootkit/PKGBUILD b/extra/chkrootkit/PKGBUILD
index e47387bcc..452897490 100644
--- a/extra/chkrootkit/PKGBUILD
+++ b/extra/chkrootkit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=chkrootkit
pkgver=0.49
pkgrel=1
pkgdesc="Locally checks for signs of a rootkit."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.chkrootkit.org"
depends=('bash')
license=('BSD')
diff --git a/extra/chmlib/PKGBUILD b/extra/chmlib/PKGBUILD
index 24589b4b2..04c8de5a6 100644
--- a/extra/chmlib/PKGBUILD
+++ b/extra/chmlib/PKGBUILD
@@ -7,16 +7,23 @@ pkgname=chmlib
pkgver=0.40
pkgrel=2
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/"
options=('!libtool')
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/cifs-utils/PKGBUILD b/extra/cifs-utils/PKGBUILD
index 9c33cefba..1c85829c0 100644
--- a/extra/cifs-utils/PKGBUILD
+++ b/extra/cifs-utils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cifs-utils
pkgver=4.9
pkgrel=3
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' 'keyutils' 'krb5' 'talloc')
diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD
index ab6daca4f..34851290a 100644
--- a/extra/clamav/PKGBUILD
+++ b/extra/clamav/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=clamav
pkgver=0.97.2
pkgrel=1
pkgdesc='Anti-virus toolkit for Unix'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('bzip2' 'zlib' 'libtool')
options=('!libtool')
license=('GPL')
diff --git a/extra/claws-mail-extra-plugins/PKGBUILD b/extra/claws-mail-extra-plugins/PKGBUILD
index 9d233d726..7d8ed522b 100644
--- a/extra/claws-mail-extra-plugins/PKGBUILD
+++ b/extra/claws-mail-extra-plugins/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=4
pkgdesc="Extra plugins for claws-mail"
url="http://www.claws-mail.org/plugins.php?branch=EXT"
license=('GPL3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('claws-mail>=3.7.8')
makedepends=('make' 'bc' 'perl>=5.10.1-5' 'libgtkhtml>=2.11.1-2' 'libnotify>=0.7'
'libxml2>=2.7.6' 'curl>=7.19.7' 'libytnef>=1.5-2' 'libwebkit>=1.3.13'
diff --git a/extra/claws-mail/PKGBUILD b/extra/claws-mail/PKGBUILD
index b48969b16..f68c15b6d 100644
--- a/extra/claws-mail/PKGBUILD
+++ b/extra/claws-mail/PKGBUILD
@@ -5,12 +5,12 @@ pkgname=claws-mail
pkgver=3.7.9
pkgrel=4
pkgdesc="A GTK+ based e-mail client."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://www.claws-mail.org"
depends=('gtk2' 'gnutls' 'startup-notification' 'pilot-link' 'enchant'
'gpgme' 'libetpan' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind')
+makedepends=('compface' 'spamassassin' 'bogofilter')
optdepends=('python2: needed for some tools'
'perl: needed for some tools'
'spamassassin: adds support for spamfiltering'
diff --git a/extra/clisp/PKGBUILD b/extra/clisp/PKGBUILD
index a6451270c..4738a52c6 100644
--- a/extra/clisp/PKGBUILD
+++ b/extra/clisp/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=clisp
pkgver=2.49
pkgrel=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')
@@ -20,8 +20,10 @@ 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 || return 1
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
make || return 1
make DESTDIR=$pkgdir install || return 1
-}
+} \ No newline at end of file
diff --git a/extra/cln/PKGBUILD b/extra/cln/PKGBUILD
index 67502ca6c..5932374da 100644
--- a/extra/cln/PKGBUILD
+++ b/extra/cln/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cln
pkgver=1.3.2
pkgrel=1
pkgdesc="Class library for numbers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ginac.de/CLN/"
license=('GPL')
depends=('gmp')
diff --git a/extra/clutter-gtk/PKGBUILD b/extra/clutter-gtk/PKGBUILD
index becd8d5c6..fc291a045 100644
--- a/extra/clutter-gtk/PKGBUILD
+++ b/extra/clutter-gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=clutter-gtk
pkgver=1.0.0
pkgrel=1
pkgdesc="GTK clutter widget"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://clutter-project.org/"
options=('!libtool')
license=('LGPL')
diff --git a/extra/clutter-gtk2/PKGBUILD b/extra/clutter-gtk2/PKGBUILD
index 3b6d7c4f8..3ba9ffa2d 100644
--- a/extra/clutter-gtk2/PKGBUILD
+++ b/extra/clutter-gtk2/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=clutter-gtk
pkgver=0.10.8
pkgrel=1
pkgdesc="GTK clutter widget"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://clutter-project.org/"
options=('!libtool')
license=('LGPL')
diff --git a/extra/clutter/PKGBUILD b/extra/clutter/PKGBUILD
index 4ae8e6bd1..67df353ff 100644
--- a/extra/clutter/PKGBUILD
+++ b/extra/clutter/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=clutter
pkgver=1.6.16
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/"
options=('!libtool')
license=('LGPL')
diff --git a/extra/cmake/PKGBUILD b/extra/cmake/PKGBUILD
index 56432ec30..93c48895d 100644
--- a/extra/cmake/PKGBUILD
+++ b/extra/cmake/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=cmake
pkgver=2.8.5
pkgrel=1
pkgdesc="A cross-platform open-source make system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.cmake.org"
depends=('curl' 'libarchive' 'shared-mime-info')
diff --git a/extra/cmatrix/PKGBUILD b/extra/cmatrix/PKGBUILD
index ad4ad301c..aa8fd9543 100644
--- a/extra/cmatrix/PKGBUILD
+++ b/extra/cmatrix/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cmatrix
pkgver=1.2a
pkgrel=5
pkgdesc="Let you see the matrix code in your console"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.asty.org/cmatrix/"
license=('GPL')
depends=('ncurses' 'fontconfig')
diff --git a/extra/cmt/PKGBUILD b/extra/cmt/PKGBUILD
index 764b691b5..4e0bcd62c 100644
--- a/extra/cmt/PKGBUILD
+++ b/extra/cmt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cmt
pkgver=1.16
pkgrel=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/cmus/PKGBUILD b/extra/cmus/PKGBUILD
index 395192056..beb0e41cc 100644
--- a/extra/cmus/PKGBUILD
+++ b/extra/cmus/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cmus
pkgver=2.4.2
pkgrel=1
pkgdesc="A very feature-rich ncurses-based music player"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cmus.sourceforge.net/"
license=('GPL')
depends=('ncurses')
diff --git a/extra/compface/PKGBUILD b/extra/compface/PKGBUILD
index dd108a6df..ed8935133 100644
--- a/extra/compface/PKGBUILD
+++ b/extra/compface/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=compface
pkgver=1.5.2
pkgrel=2
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 6ae24ea26..48fb72e1a 100644
--- a/extra/conky/PKGBUILD
+++ b/extra/conky/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=conky
pkgver=1.8.1
pkgrel=3
pkgdesc='An advanced, highly configurable system monitor for X based on torsmo'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://conky.sourceforge.net/'
license=('custom')
replaces=('torsmo')
diff --git a/extra/consolekit/PKGBUILD b/extra/consolekit/PKGBUILD
index 6ab97891b..6a020498d 100644
--- a/extra/consolekit/PKGBUILD
+++ b/extra/consolekit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=consolekit
pkgver=0.4.5
pkgrel=1
pkgdesc="A framework for defining and tracking users, login sessions, and seats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
license=('GPL')
depends=('polkit' 'zlib' 'libx11' 'dbus-glib')
diff --git a/extra/convmv/PKGBUILD b/extra/convmv/PKGBUILD
index 4601b7cf3..171d86d02 100644
--- a/extra/convmv/PKGBUILD
+++ b/extra/convmv/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.14
pkgrel=1
pkgdesc="Tool for converting encodings on filesystems"
license=('GPL2')
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://j3e.de/linux/convmv/"
depends=('perl')
source=(http://j3e.de/linux/convmv/$pkgname-$pkgver.tar.gz)
diff --git a/extra/cowsay/PKGBUILD b/extra/cowsay/PKGBUILD
index 7f71b15e7..060ab9a2a 100644
--- a/extra/cowsay/PKGBUILD
+++ b/extra/cowsay/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cowsay
pkgver=3.03
pkgrel=6
pkgdesc="Add speaking and thinking cows (and a few other creatures) to anything"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nog.net/~tony/warez/cowsay.shtml"
license=('PerlArtistic' 'GPL')
depends=('perl')
diff --git a/extra/cpio/PKGBUILD b/extra/cpio/PKGBUILD
index 9f34c4500..c6ebc1d41 100644
--- a/extra/cpio/PKGBUILD
+++ b/extra/cpio/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cpio
pkgver=2.11
pkgrel=2
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 b7dd30d27..79bac05cb 100644
--- a/extra/cppunit/PKGBUILD
+++ b/extra/cppunit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cppunit
pkgver=1.12.1
pkgrel=3
pkgdesc="A C++ unit testing framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cppunit.sourceforge.net"
license=('LGPL')
depends=('sh' 'gcc-libs')
diff --git a/extra/cpufrequtils/PKGBUILD b/extra/cpufrequtils/PKGBUILD
index d5b92095b..21ffbe1cd 100644
--- a/extra/cpufrequtils/PKGBUILD
+++ b/extra/cpufrequtils/PKGBUILD
@@ -7,26 +7,30 @@ pkgname=cpufrequtils
pkgver=008
pkgrel=1
pkgdesc="Userspace tools for the kernel cpufreq subsystem"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
license=('GPL')
depends=('sysfsutils')
backup=('etc/conf.d/cpufreq')
source=(http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${pkgname}-${pkgver}.tar.bz2
cpufreq.rcd
- cpufreq.confd)
-options=(!libtool)
+ cpufreq.confd
+ cpufrequtils-mips.patch)
+options=(!libtool !distcc)
md5sums=('c59b71c044d463896f3247e8dd83dd7e'
'7f2b5085df44d2df3e7c2d0b9f6dab08'
- 'baae1f2abffc6bef2bd32a8dd8263c09')
+ 'baae1f2abffc6bef2bd32a8dd8263c09'
+ 'edbe311e6813f3b395a08b7f174065c1')
build()
{
cd "${srcdir}/${pkgname}-${pkgver}"
- make -j1 || return 1
- make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install || return 1
+ [ "$CARCH" = "mips64el" ] && patch -Np0 -i ${srcdir}/cpufrequtils-mips.patch
- install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq" || return 1
- install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq" || return 1
+ make -j1
+ make INSTALL="/bin/install -c" mandir=/usr/share/man DESTDIR="${pkgdir}" install
+
+ install -D -m755 ${srcdir}/cpufreq.rcd "${pkgdir}/etc/rc.d/cpufreq"
+ install -D -m644 ${srcdir}/cpufreq.confd "${pkgdir}/etc/conf.d/cpufreq"
}
diff --git a/extra/cpufrequtils/cpufrequtils-mips.patch b/extra/cpufrequtils/cpufrequtils-mips.patch
new file mode 100644
index 000000000..cba8ab48b
--- /dev/null
+++ b/extra/cpufrequtils/cpufrequtils-mips.patch
@@ -0,0 +1,18 @@
+--- utils/aperf.c.orig 2010-07-18 01:38:02.000000000 +0800
++++ utils/aperf.c 2010-07-18 01:38:39.000000000 +0800
+@@ -68,11 +68,15 @@
+
+ static int cpu_has_effective_freq()
+ {
++#if defined(__i386__) || defined(__x86_64__)
+ /* largest base level */
+ if (cpuid_eax(0) < 6)
+ return 0;
+
+ return cpuid_ecx(6) & 0x1;
++#else
++ return 0;
++#endif
+ }
+
+ /*
diff --git a/extra/crypto++/PKGBUILD b/extra/crypto++/PKGBUILD
index 855573288..dce623a36 100644
--- a/extra/crypto++/PKGBUILD
+++ b/extra/crypto++/PKGBUILD
@@ -10,7 +10,7 @@ pkgver=5.6.1
_srcver=561
pkgrel=2
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')
diff --git a/extra/cscope/PKGBUILD b/extra/cscope/PKGBUILD
index b480a8166..c0c7c48d0 100644
--- a/extra/cscope/PKGBUILD
+++ b/extra/cscope/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cscope
pkgver=15.7a
pkgrel=2
pkgdesc="A developers tool for browsing program code"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cscope.sourceforge.net/index.html"
license=('BSD')
depends=('ncurses' 'sh')
diff --git a/extra/ctags/PKGBUILD b/extra/ctags/PKGBUILD
index be4e9e20d..041da0283 100644
--- a/extra/ctags/PKGBUILD
+++ b/extra/ctags/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ctags
pkgver=5.8
pkgrel=2
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 aef413f1b..86185ab06 100644
--- a/extra/cups-pdf/PKGBUILD
+++ b/extra/cups-pdf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cups-pdf
pkgver=2.5.1
pkgrel=1
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/PKGBUILD b/extra/cups/PKGBUILD
index 1d3b15889..339d1b66c 100644
--- a/extra/cups/PKGBUILD
+++ b/extra/cups/PKGBUILD
@@ -102,7 +102,6 @@ optdepends=('php: for included phpcups.so module'
'ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images'
'foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly'
'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly'
- 'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly'
'xdg-utils: xdg .desktop file support')
cd ${srcdir}/${pkgbase}-${pkgver}
diff --git a/extra/curl/PKGBUILD b/extra/curl/PKGBUILD
index 07712c045..556c4076e 100644
--- a/extra/curl/PKGBUILD
+++ b/extra/curl/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=curl
pkgver=7.21.7
pkgrel=1
pkgdesc="An URL retrival utility and library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://curl.haxx.se"
license=('MIT')
depends=('zlib' 'openssl' 'bash' 'ca-certificates' 'libssh2')
@@ -19,8 +19,7 @@ source=(http://curl.haxx.se/download/${pkgname}-${pkgver}.tar.bz2
[[ $CARCH == "x86_64" ]] && _curlbuild=curlbuild-64.h
[[ $CARCH == "i686" ]] && _curlbuild=curlbuild-32.h
-md5sums=('5f6d50c4d4ee38c57fe37e3cff75adbd'
- '751bd433ede935c8fae727377625a8ae')
+[[ $CARCH == "mips64el" ]] && _curlbuild=curlbuild-32.h
build() {
cd ${srcdir}/${pkgname}-${pkgver}
diff --git a/extra/cvs/PKGBUILD b/extra/cvs/PKGBUILD
index 76f71a2a1..62db9ea0e 100644
--- a/extra/cvs/PKGBUILD
+++ b/extra/cvs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cvs
pkgver=1.11.23
pkgrel=7
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')
diff --git a/extra/cx_freeze/PKGBUILD b/extra/cx_freeze/PKGBUILD
index ee7476c7b..aa727dccd 100644
--- a/extra/cx_freeze/PKGBUILD
+++ b/extra/cx_freeze/PKGBUILD
@@ -9,7 +9,7 @@ _tarname=cx_Freeze
pkgver=4.2.3
pkgrel=1
pkgdesc="A set of utilities for freezing Python scripts into executables"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.python.net/crew/atuining/cx_Freeze/"
license=('custom')
depends=('python2')
diff --git a/extra/cyrus-sasl-plugins/PKGBUILD b/extra/cyrus-sasl-plugins/PKGBUILD
index 5817bb657..71ff8378b 100644
--- a/extra/cyrus-sasl-plugins/PKGBUILD
+++ b/extra/cyrus-sasl-plugins/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cyrus-sasl-plugins
pkgver=2.1.23
pkgrel=5
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')
depends=('postgresql-libs>=9.0.3' 'krb5' 'libldap>2.4'
@@ -24,6 +24,9 @@ build() {
# from http://bugs.gentoo.org/show_bug.cgi?id=319935
patch -Np0 -i ${srcdir}/cyrus-sasl-2.1.23-db5-fix.patch
./configure --prefix=/usr \
+ --host=$CHOST \
+ --build=$CHOST \
+ --target=$CHOST \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-login \
diff --git a/extra/cyrus-sasl/PKGBUILD b/extra/cyrus-sasl/PKGBUILD
index f4d80b6a6..bb84f6c3a 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.23
pkgrel=7
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
license=('custom')
options=('!makeflags' '!libtool')
@@ -97,6 +97,8 @@ build() {
popd
./configure --prefix=/usr \
+ --host=$CHOST \
+ --build=$CHOST \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
diff --git a/extra/dansguardian/PKGBUILD b/extra/dansguardian/PKGBUILD
index 6d943cc2a..75314e45e 100644
--- a/extra/dansguardian/PKGBUILD
+++ b/extra/dansguardian/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.10.1.1
pkgrel=2
pkgdesc="Squid plugin for web content filtering."
url="http://dansguardian.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('squid' 'pcre' 'zlib')
install=${pkgname}.install
diff --git a/extra/dasher/PKGBUILD b/extra/dasher/PKGBUILD
index 8051c708f..cd566c124 100644
--- a/extra/dasher/PKGBUILD
+++ b/extra/dasher/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dasher
pkgver=4.10.1
pkgrel=2
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>=1.27.91' 'libgnomeui>=2.24.1' 'gnome-speech>=0.4.25' 'gconf>=2.26.2-3' 'hicolor-icon-theme')
makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils>=0.17.3')
diff --git a/extra/davfs2/PKGBUILD b/extra/davfs2/PKGBUILD
index ce4340ef7..cf1503d61 100644
--- a/extra/davfs2/PKGBUILD
+++ b/extra/davfs2/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=davfs2
pkgver=1.4.6
pkgrel=1
pkgdesc="File system driver that allows you to mount a WebDAV server as a local disk drive."
-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-glib/PKGBUILD b/extra/dbus-glib/PKGBUILD
index 79c6a270e..27ea2e8b8 100644
--- a/extra/dbus-glib/PKGBUILD
+++ b/extra/dbus-glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dbus-glib
pkgver=0.94
pkgrel=2
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 8cfacff43..8120d8b36 100644
--- a/extra/dbus-python/PKGBUILD
+++ b/extra/dbus-python/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dbus-python
pkgver=0.84.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"
depends=('dbus-glib' 'python2')
diff --git a/extra/dbus-qt3/PKGBUILD b/extra/dbus-qt3/PKGBUILD
index c14237077..91d0893a8 100644
--- a/extra/dbus-qt3/PKGBUILD
+++ b/extra/dbus-qt3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dbus-qt3
pkgver=0.62
pkgrel=4
pkgdesc="QT3 bindings for DBUS"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.freedesktop.org/software/dbus"
depends=('qt3' 'dbus-core>=1.2.14')
diff --git a/extra/dbus/PKGBUILD b/extra/dbus/PKGBUILD
index 6def02fe7..1b32bef4a 100644
--- a/extra/dbus/PKGBUILD
+++ b/extra/dbus/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.4.14
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'custom')
depends=("dbus-core>=${pkgver}" 'libx11')
source=(http://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz
diff --git a/extra/dcfldd/PKGBUILD b/extra/dcfldd/PKGBUILD
index f04cd8c56..11b0b4067 100644
--- a/extra/dcfldd/PKGBUILD
+++ b/extra/dcfldd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dcfldd
pkgver=1.3.4.1
pkgrel=2
pkgdesc="DCFL (DoD Computer Forensics Lab) dd replacement with hashing"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://dcfldd.sourceforge.net/"
license=('GPL')
depends=(glibc)
diff --git a/extra/dconf/PKGBUILD b/extra/dconf/PKGBUILD
index 36be36922..10957e5f3 100644
--- a/extra/dconf/PKGBUILD
+++ b/extra/dconf/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=dconf
pkgver=0.8.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 eb35b2e1a..baeddbc94 100644
--- a/extra/dcraw/PKGBUILD
+++ b/extra/dcraw/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dcraw
pkgver=9.08
pkgrel=1
pkgdesc="A command line based converter for digicams raw output"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cybercom.net/~dcoffin/dcraw/"
license=('custom')
depends=('lcms')
diff --git a/extra/ddd/PKGBUILD b/extra/ddd/PKGBUILD
index 8fdf4cc16..a7fdf26aa 100644
--- a/extra/ddd/PKGBUILD
+++ b/extra/ddd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ddd
pkgver=3.3.12
pkgrel=2
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' 'ncurses' 'lesstif' 'libxaw' 'elfutils' 'libxext')
diff --git a/extra/ddrescue/PKGBUILD b/extra/ddrescue/PKGBUILD
index 9d57d4bb4..d74363da5 100644
--- a/extra/ddrescue/PKGBUILD
+++ b/extra/ddrescue/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ddrescue
pkgver=1.14
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 fcc02878f..884bb0985 100644
--- a/extra/desktop-file-utils/PKGBUILD
+++ b/extra/desktop-file-utils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=desktop-file-utils
pkgver=0.18
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 cecb70ef8..dd35c9cfe 100644
--- a/extra/devhelp/PKGBUILD
+++ b/extra/devhelp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=devhelp
pkgver=3.0.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=('gconf' 'libwebkit3' 'hicolor-icon-theme')
diff --git a/extra/devilspie/PKGBUILD b/extra/devilspie/PKGBUILD
index 1dba7d39b..f4792043c 100644
--- a/extra/devilspie/PKGBUILD
+++ b/extra/devilspie/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=devilspie
pkgver=0.22
pkgrel=4
pkgdesc="x11 window matching utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.burtonini.com/blog/computers/devilspie"
license=('GPL')
depends=('libwnck')
diff --git a/extra/dhcp/PKGBUILD b/extra/dhcp/PKGBUILD
index 34c3e4448..b7b23fc58 100644
--- a/extra/dhcp/PKGBUILD
+++ b/extra/dhcp/PKGBUILD
@@ -9,10 +9,10 @@ pkgver=4.2.1.1
_pkgver=4.2.1-P1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:isc-dhcp')
url="https://www.isc.org/software/dhcp"
-source=(http://ftp.isc.org/isc/${pkgbase}/${pkgbase}-${_pkgver}.tar.gz
+source=(ftp://ftp.isc.org/isc/${pkgbase}/${pkgbase}-${_pkgver}.tar.gz
dhcp4 dhcp6 dhcp
dhcp-4.1.1-missing-ipv6-not-fatal.patch
dhclient-script-pathFixes.patch)
diff --git a/extra/di/PKGBUILD b/extra/di/PKGBUILD
index e9922cee3..260d5f405 100644
--- a/extra/di/PKGBUILD
+++ b/extra/di/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=di
pkgver=4.27
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 f2651acf0..9cf3855ea 100644
--- a/extra/diffstat/PKGBUILD
+++ b/extra/diffstat/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=diffstat
pkgver=1.54
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=('GPL')
diff --git a/extra/digikam/PKGBUILD b/extra/digikam/PKGBUILD
index 7f60bd6e8..e40f2c6c3 100644
--- a/extra/digikam/PKGBUILD
+++ b/extra/digikam/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libmediawiki')
pkgver=2.0.0
pkgrel=2
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/dirmngr/PKGBUILD b/extra/dirmngr/PKGBUILD
index e8faa4a88..fc6225e39 100644
--- a/extra/dirmngr/PKGBUILD
+++ b/extra/dirmngr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dirmngr
pkgver=1.1.0
pkgrel=1
pkgdesc="A daemon to handle CRL and certificate requests"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="ftp://ftp.gnupg.org/gcrypt/dirmngr"
depends=('libgcrypt' 'libldap' 'libksba' 'libgpg-error' 'libassuan' 'pth')
diff --git a/extra/djvulibre/PKGBUILD b/extra/djvulibre/PKGBUILD
index 6db90e526..af1ef2255 100644
--- a/extra/djvulibre/PKGBUILD
+++ b/extra/djvulibre/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=djvulibre
pkgver=3.5.24
pkgrel=1
pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL')
url="http://djvu.sourceforge.net/"
depends=('gcc-libs' 'libtiff' 'bash' 'hicolor-icon-theme')
diff --git a/extra/dmapi/PKGBUILD b/extra/dmapi/PKGBUILD
index 7b909633d..fc8cb486b 100644
--- a/extra/dmapi/PKGBUILD
+++ b/extra/dmapi/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=dmapi
pkgver=2.2.10
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 d013758ad..6f4be11a8 100644
--- a/extra/dmidecode/PKGBUILD
+++ b/extra/dmidecode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dmidecode
pkgver=2.11
pkgrel=1
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 f1663ceb2..f6224fa17 100644
--- a/extra/dnsmasq/PKGBUILD
+++ b/extra/dnsmasq/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.57
pkgrel=1
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' 'bash')
makedepends=('libcap>=2.16')
diff --git a/extra/docker/PKGBUILD b/extra/docker/PKGBUILD
index 7633ee9c6..2df7e6013 100644
--- a/extra/docker/PKGBUILD
+++ b/extra/docker/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=docker
pkgver=1.5
pkgrel=4
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/dosfstools/PKGBUILD b/extra/dosfstools/PKGBUILD
index 587e15ec4..cff0f5841 100644
--- a/extra/dosfstools/PKGBUILD
+++ b/extra/dosfstools/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dosfstools
pkgver=3.0.11
pkgrel=1
pkgdesc="DOS filesystem utilities"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('glibc')
source=(http://www.daniel-baumann.ch/software/dosfstools/$pkgname-$pkgver.tar.bz2)
url="http://www.daniel-baumann.ch/software/dosfstools/"
diff --git a/extra/dovecot/PKGBUILD b/extra/dovecot/PKGBUILD
index 8d3718c07..179624811 100644
--- a/extra/dovecot/PKGBUILD
+++ b/extra/dovecot/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=dovecot
pkgver=2.0.13
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' 'sqlite3>=3.7.5' 'libmysqlclient>=5.5.10'
diff --git a/extra/doxygen/PKGBUILD b/extra/doxygen/PKGBUILD
index 2f4cbdf42..727981572 100644
--- a/extra/doxygen/PKGBUILD
+++ b/extra/doxygen/PKGBUILD
@@ -6,22 +6,25 @@ pkgname=('doxygen' 'doxygen-docs')
pkgver=1.7.4
pkgrel=1
license=('GPL')
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.doxygen.org/"
-makedepends=('flex' 'qt' 'texlive-core' 'ghostscript' 'texlive-latexextra')
+makedepends=('flex' 'texlive-core' 'ghostscript' 'texlive-latexextra') #'qt'
source=(ftp://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz)
md5sums=('ff908759ff7cd9464424b04ae6c68e48')
sha1sums=('4f68b655c93265cb15ef1b8c9ca35ebc39698cf0')
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
- QTDIR=/usr ./configure --prefix /usr --with-doxywizard
+# mips64el doesn't have qt yet
+ [ "$CARCH" != "mips64el" ] && ./configure --prefix /usr --with-doxywizard #QTDIR=/usr
+ [ "$CARCH" = "mips64el" ] && ./configure --prefix /usr
make
}
package_doxygen() {
pkgdesc="A documentation system for C++, C, Java, IDL and PHP"
depends=('gcc-libs')
+ [ "$CARCH" = "mips64el" ] || \
optdepends=('graphviz: for caller/callee graph generation'
'qt: for doxywizard')
diff --git a/extra/dssi/PKGBUILD b/extra/dssi/PKGBUILD
index a781c4430..e3d017a37 100644
--- a/extra/dssi/PKGBUILD
+++ b/extra/dssi/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=dssi
pkgver=1.1.0
pkgrel=1
pkgdesc="API for audio processing plugins/softsynths with user interfaces"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://dssi.sourceforge.net/"
license=('LGPL' 'BSD')
depends=('liblo' 'jack')
diff --git a/extra/dvd+rw-tools/PKGBUILD b/extra/dvd+rw-tools/PKGBUILD
index e3b21ce31..189753a6b 100644
--- a/extra/dvd+rw-tools/PKGBUILD
+++ b/extra/dvd+rw-tools/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dvd+rw-tools
pkgver=7.1
pkgrel=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 d402220ce..8907f0e9f 100644
--- a/extra/dvdauthor/PKGBUILD
+++ b/extra/dvdauthor/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=dvdauthor
pkgver=0.7.0
pkgrel=1
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/dvdrip/PKGBUILD b/extra/dvdrip/PKGBUILD
index 28d6e8fe1..2a95af612 100644
--- a/extra/dvdrip/PKGBUILD
+++ b/extra/dvdrip/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dvdrip
pkgver=0.98.11
pkgrel=9
pkgdesc="A Gtk frontend for transcode writen in Perl"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.exit1.org/dvdrip/"
install=${pkgname}.install
diff --git a/extra/dvdrtools/PKGBUILD b/extra/dvdrtools/PKGBUILD
index da84f79bb..0d8594e47 100644
--- a/extra/dvdrtools/PKGBUILD
+++ b/extra/dvdrtools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dvdrtools
pkgver=0.3.1
pkgrel=2
pkgdesc="A fork of cdrtools, with the primary goal of supporting writable DVD drives"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://savannah.nongnu.org/projects/dvdrtools/"
license=('GPL')
depends=('glibc' 'file')
diff --git a/extra/dvgrab/PKGBUILD b/extra/dvgrab/PKGBUILD
index 13f366a06..37633a824 100644
--- a/extra/dvgrab/PKGBUILD
+++ b/extra/dvgrab/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dvgrab
pkgver=3.5
pkgrel=3
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/easytag/PKGBUILD b/extra/easytag/PKGBUILD
index 31ea2fff8..f875707ee 100644
--- a/extra/easytag/PKGBUILD
+++ b/extra/easytag/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=easytag
pkgver=2.1.6
pkgrel=3
pkgdesc="Utility for viewing, editing and writing ID3 tags of your MP3 files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://easytag.sourceforge.net/"
depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'libmp4v2' 'speex' 'wavpack')
diff --git a/extra/ebook-tools/PKGBUILD b/extra/ebook-tools/PKGBUILD
index 140b9ca17..10f851255 100644
--- a/extra/ebook-tools/PKGBUILD
+++ b/extra/ebook-tools/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ebook-tools
pkgver=0.2.1
pkgrel=2
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')
@@ -17,6 +17,7 @@ build() {
cd "${srcdir}"
mkdir build
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
diff --git a/extra/ecasound/PKGBUILD b/extra/ecasound/PKGBUILD
index 185581224..05eb23efb 100644
--- a/extra/ecasound/PKGBUILD
+++ b/extra/ecasound/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ecasound
pkgver=2.8.1
pkgrel=1
pkgdesc="A software package designed for multitrack audio processing"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.eca.cx/ecasound/"
license=('GPL' 'LGPL')
depends=('gcc-libs' 'readline>=6.0.00' 'audiofile'
diff --git a/extra/ecl/PKGBUILD b/extra/ecl/PKGBUILD
index 8ab9c23ef..273331df9 100644
--- a/extra/ecl/PKGBUILD
+++ b/extra/ecl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ecl
pkgver=11.1.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 7b01a70e4..6a4c37ae1 100644
--- a/extra/eclipse/PKGBUILD
+++ b/extra/eclipse/PKGBUILD
@@ -9,7 +9,7 @@ _internal_pkgver=3.7
pkgrel=1
_date=201106131736
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' 'xulrunner')
install=${pkgname}.install
diff --git a/extra/efibootmgr/PKGBUILD b/extra/efibootmgr/PKGBUILD
index 7bda0f640..1c25d102d 100755
--- a/extra/efibootmgr/PKGBUILD
+++ b/extra/efibootmgr/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=efibootmgr
pkgver=0.5.4
pkgrel=1
pkgdesc="Tool to modify UEFI Firmware Boot Manager Variables."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://linux.dell.com/efibootmgr/"
license=('GPL2')
depends=('zlib')
diff --git a/extra/eject/PKGBUILD b/extra/eject/PKGBUILD
index b03fd577d..3ec0bd9c2 100644
--- a/extra/eject/PKGBUILD
+++ b/extra/eject/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=eject
pkgver=2.1.5
pkgrel=5
pkgdesc="A program for ejecting removable media under software control"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://eject.sourceforge.net/"
license=('GPL')
depends=('glibc')
diff --git a/extra/ekiga/PKGBUILD b/extra/ekiga/PKGBUILD
index 6a3ab613e..ec11d1c4b 100644
--- a/extra/ekiga/PKGBUILD
+++ b/extra/ekiga/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
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/elfutils/PKGBUILD b/extra/elfutils/PKGBUILD
index 7aef0c8f6..1f825930a 100644
--- a/extra/elfutils/PKGBUILD
+++ b/extra/elfutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=elfutils
pkgver=0.152
pkgrel=1
pkgdesc="Collection of libraries and utilities for working with ELF object files and DWARF debugging information"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/elfutils/"
license=('GPL2')
depends=('glibc')
diff --git a/extra/emacs/PKGBUILD b/extra/emacs/PKGBUILD
index c411dd4fc..ba5563f56 100644
--- a/extra/emacs/PKGBUILD
+++ b/extra/emacs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=emacs
pkgver=23.3a
pkgrel=1
pkgdesc="The Emacs Editor"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnu.org/software/emacs/emacs.html"
license=('GPL')
options=(docs)
diff --git a/extra/emelfm2/PKGBUILD b/extra/emelfm2/PKGBUILD
index e6f370b45..3e1194b3e 100644
--- a/extra/emelfm2/PKGBUILD
+++ b/extra/emelfm2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=emelfm2
pkgver=0.7.5
pkgrel=1
pkgdesc="A file manager that implements the popular two-pane design"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://emelfm2.net/"
depends=('gtk2')
license=('GPL')
diff --git a/extra/emovix/PKGBUILD b/extra/emovix/PKGBUILD
index f18c36675..548babb65 100644
--- a/extra/emovix/PKGBUILD
+++ b/extra/emovix/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=emovix
pkgver=0.9.0
pkgrel=4
pkgdesc="Create Movix-CD's (also emovix plugin for k3b)"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://movix.sourceforge.net/"
license=('GPL2')
depends=('perl' 'cdrtools')
diff --git a/extra/empathy/PKGBUILD b/extra/empathy/PKGBUILD
index 7f371fe26..9bce420a0 100644
--- a/extra/empathy/PKGBUILD
+++ b/extra/empathy/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=empathy
pkgver=3.0.2
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=('telepathy-glib' 'telepathy-mission-control' 'folks' 'telepathy-logger' 'telepathy-farsight' 'gnome-keyring' 'gnutls' 'evolution-data-server'
diff --git a/extra/enblend-enfuse/PKGBUILD b/extra/enblend-enfuse/PKGBUILD
index 219240f8c..ce46b36b6 100644
--- a/extra/enblend-enfuse/PKGBUILD
+++ b/extra/enblend-enfuse/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=enblend-enfuse
pkgver=4.0
pkgrel=2
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>=1.5' 'libxmi' 'freeglut' 'libgl' 'lcms' 'texinfo' 'libpng')
diff --git a/extra/enca/PKGBUILD b/extra/enca/PKGBUILD
index f723af724..c0233ec93 100644
--- a/extra/enca/PKGBUILD
+++ b/extra/enca/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=enca
pkgver=1.13
pkgrel=1
pkgdesc="Charset analyser and converter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freshmeat.net/projects/enca/"
options=('!libtool')
license=('GPL')
diff --git a/extra/enchant/PKGBUILD b/extra/enchant/PKGBUILD
index 2edd15320..d3a1fd26f 100644
--- a/extra/enchant/PKGBUILD
+++ b/extra/enchant/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=enchant
pkgver=1.6.0
pkgrel=3
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')
diff --git a/extra/enlightenment/PKGBUILD b/extra/enlightenment/PKGBUILD
index 9c704780a..106c472b8 100644
--- a/extra/enlightenment/PKGBUILD
+++ b/extra/enlightenment/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.9
_themever=1.0.1
pkgrel=2
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/enscript/PKGBUILD b/extra/enscript/PKGBUILD
index aa9bc0aee..8b2846092 100644
--- a/extra/enscript/PKGBUILD
+++ b/extra/enscript/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=enscript
pkgver=1.6.5.2
pkgrel=1
pkgdesc="Convert ASCII files to PostScript suitable for printing"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
backup=('etc/enscript/enscript.cfg')
depends=('glibc')
license=('GPL2')
diff --git a/extra/eog/PKGBUILD b/extra/eog/PKGBUILD
index 872b9228a..4d6f58f5c 100644
--- a/extra/eog/PKGBUILD
+++ b/extra/eog/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=eog
pkgver=3.0.2
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' 'lcms' 'desktop-file-utils' 'exempi'
'dbus-glib' 'libpeas' 'librsvg' 'gnome-icon-theme' 'dconf')
diff --git a/extra/epiphany-extensions/PKGBUILD b/extra/epiphany-extensions/PKGBUILD
index 72532a2e3..cb6a21df4 100644
--- a/extra/epiphany-extensions/PKGBUILD
+++ b/extra/epiphany-extensions/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.0
pkgrel=1
url="http://www.gnome.org/projects/epiphany/"
pkgdesc="Various extentions for the Epiphany web browser"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('epiphany' 'opensp' 'hicolor-icon-theme')
makedepends=('gnome-doc-utils' 'intltool')
diff --git a/extra/epiphany/PKGBUILD b/extra/epiphany/PKGBUILD
index f30e8e931..c71a08880 100644
--- a/extra/epiphany/PKGBUILD
+++ b/extra/epiphany/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.4
pkgrel=1
install=epiphany.install
pkgdesc="A GNOME3 web browser based on the WebKit rendering engine."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libsoup-gnome' 'gsettings-desktop-schemas' 'libwebkit3' 'nss'
'iso-codes' 'dconf' 'gobject-introspection' 'desktop-file-utils'
diff --git a/extra/epplet-base/PKGBUILD b/extra/epplet-base/PKGBUILD
index 4daecec04..33af3327e 100644
--- a/extra/epplet-base/PKGBUILD
+++ b/extra/epplet-base/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=epplet-base
pkgver=0.13
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/erlang/PKGBUILD b/extra/erlang/PKGBUILD
index e3863df21..3a9533fdd 100644
--- a/extra/erlang/PKGBUILD
+++ b/extra/erlang/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=erlang
pkgver=R14B
pkgrel=2
pkgdesc="A small concurrent functional programming language developed by Ericsson."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.erlang.org/index.html"
license=('custom')
depends=('ncurses' 'glibc')
diff --git a/extra/esound/PKGBUILD b/extra/esound/PKGBUILD
index b6d035b22..bf8f8c0c3 100644
--- a/extra/esound/PKGBUILD
+++ b/extra/esound/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=esound
pkgver=0.2.41
pkgrel=2
pkgdesc="Enlightened Sound Daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('audiofile' 'alsa-lib>=1.0.18')
url="http://www.tux.org/~ricdude/EsounD.html"
diff --git a/extra/ethstatus/PKGBUILD b/extra/ethstatus/PKGBUILD
index 9333a6adf..b9352a85a 100644
--- a/extra/ethstatus/PKGBUILD
+++ b/extra/ethstatus/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ethstatus
pkgver=0.4.3
pkgrel=2
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 02c404210..fdae385dd 100644
--- a/extra/ethtool/PKGBUILD
+++ b/extra/ethtool/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.6.39
pkgrel=1
epoch=1
pkgdesc="gkernel ethtool"
-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/ettercap/PKGBUILD b/extra/ettercap/PKGBUILD
index 0d88722b6..4c26f1985 100644
--- a/extra/ettercap/PKGBUILD
+++ b/extra/ettercap/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=NG_0.7.3
_origver=NG-0.7.3
pkgrel=17
pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - console"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ettercap.sourceforge.net/"
license=('GPL')
depends=('ncurses' 'openssl' 'libpcap' 'zlib' 'pcre' 'libtool' 'libnet')
diff --git a/extra/evilwm/PKGBUILD b/extra/evilwm/PKGBUILD
index 704006067..0e36f70db 100644
--- a/extra/evilwm/PKGBUILD
+++ b/extra/evilwm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=evilwm
pkgver=1.0.1
pkgrel=1
pkgdesc="A minimalist but usable window manager for the X Window System."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxrandr')
url="http://evilwm.sourceforge.net"
source=(http://www.6809.org.uk/evilwm/$pkgname-$pkgver.tar.gz evilwm.desktop)
diff --git a/extra/evince/PKGBUILD b/extra/evince/PKGBUILD
index ae1141789..eb5846789 100644
--- a/extra/evince/PKGBUILD
+++ b/extra/evince/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.2
pkgrel=1
pkgdesc="Simply a document viewer"
url="http://projects.gnome.org/evince/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'libspectre' 'gsfonts' 'poppler-glib' 'djvulibre' 'gnome-icon-theme'
't1lib' 'libgnome-keyring' 'desktop-file-utils' 'dconf' 'gsettings-desktop-schemas')
@@ -23,6 +23,9 @@ sha256sums=('03abb74620caaa255f2d1369b684bbf8f62e15a4bf2d9f2a45f58e1789295a97'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+# Build with -march=mips3
+ [ "$CARCH" = "mips64el" ] && CFLAGS="${CFLAGS/loongson2f/mips3}"
+
patch -Np1 -i "${srcdir}/introspection-fix.patch"
autoreconf -fi
diff --git a/extra/evolution-data-server/PKGBUILD b/extra/evolution-data-server/PKGBUILD
index d7303a1eb..023b2ff4e 100644
--- a/extra/evolution-data-server/PKGBUILD
+++ b/extra/evolution-data-server/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution-data-server
pkgver=3.0.2.1
pkgrel=2
pkgdesc="Central location for addressbook and calendar storage in the GNOME Desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libsoup' 'nss' 'libgnome-keyring' 'krb5' 'libgweather' 'libical' 'db' 'libgdata')
makedepends=('intltool' 'gperf' 'gobject-introspection')
options=('!libtool')
diff --git a/extra/evolution-exchange/PKGBUILD b/extra/evolution-exchange/PKGBUILD
index a04bdc13b..85f5189c5 100644
--- a/extra/evolution-exchange/PKGBUILD
+++ b/extra/evolution-exchange/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution-exchange
pkgver=3.0.2
pkgrel=2
pkgdesc="Ximian Connector Exchange plugin for Evolution"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.ximian.com"
depends=('evolution-data-server' 'gtkhtml4' 'gnome-desktop' 'libunique3')
diff --git a/extra/evolution-sharp/PKGBUILD b/extra/evolution-sharp/PKGBUILD
index be2ea4a02..edd8a44bf 100644
--- a/extra/evolution-sharp/PKGBUILD
+++ b/extra/evolution-sharp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution-sharp
pkgver=0.21.1
pkgrel=3
pkgdesc="C# bindings for Novell Evolution"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://ftp.gnome.org/pub/GNOME/sources/evolution-sharp/"
depends=('evolution-data-server')
diff --git a/extra/evolution-webcal/PKGBUILD b/extra/evolution-webcal/PKGBUILD
index 5fd841ba1..d3cc3790a 100644
--- a/extra/evolution-webcal/PKGBUILD
+++ b/extra/evolution-webcal/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution-webcal
pkgver=2.32.0
pkgrel=1
pkgdesc="Evolution Web calendar"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
install=evolution-webcal.install
url="http://www.ximian.com"
diff --git a/extra/evolution/PKGBUILD b/extra/evolution/PKGBUILD
index 0c91802b7..557c4b855 100644
--- a/extra/evolution/PKGBUILD
+++ b/extra/evolution/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution
pkgver=3.0.2
pkgrel=1
pkgdesc="Integrated Workgroup and Personal Information Management for Gnome"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gnome-desktop' 'evolution-data-server' 'gtkhtml4' 'libcanberra' 'libsm' 'gstreamer0.10' 'libunique3' 'libnotify' 'libpst' 'libytnef'
'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/exempi/PKGBUILD b/extra/exempi/PKGBUILD
index 0f385c8be..a8f53f5e5 100644
--- a/extra/exempi/PKGBUILD
+++ b/extra/exempi/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=exempi
pkgver=2.1.1
pkgrel=1
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>=4.4.2' 'expat>=2.0.1' 'zlib')
diff --git a/extra/exiv2/PKGBUILD b/extra/exiv2/PKGBUILD
index b1bf53dcf..741597dfe 100644
--- a/extra/exiv2/PKGBUILD
+++ b/extra/exiv2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=exiv2
pkgver=0.21.1
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=('GPL2')
depends=('gcc-libs' 'zlib' 'expat')
diff --git a/extra/exo/PKGBUILD b/extra/exo/PKGBUILD
index daf711480..db5811f80 100644
--- a/extra/exo/PKGBUILD
+++ b/extra/exo/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=exo
pkgver=0.6.2
pkgrel=1
pkgdesc="Extensions to Xfce by os-cillation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'LGPL')
url="http://www.xfce.org/projects/exo"
groups=('xfce4')
diff --git a/extra/expect/PKGBUILD b/extra/expect/PKGBUILD
index 3b630ba43..57e7fe5f7 100644
--- a/extra/expect/PKGBUILD
+++ b/extra/expect/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=expect
pkgver=5.45
pkgrel=1
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>=8.5.3')
diff --git a/extra/f-spot/PKGBUILD b/extra/f-spot/PKGBUILD
index 17488c5a5..081ffa01d 100644
--- a/extra/f-spot/PKGBUILD
+++ b/extra/f-spot/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.8.2
pkgrel=2
pkgdesc="A personal photo management program for GNOME"
url="http://www.gnome.org/projects/f-spot/"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('mono-addins' 'gnome-sharp' 'ndesk-dbus-glib' 'lcms' 'gnome-keyring-sharp' 'flickrnet' 'libgphoto2' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'libunique')
makedepends=('intltool' 'gnome-doc-utils' 'gnome-screensaver')
diff --git a/extra/faad2/PKGBUILD b/extra/faad2/PKGBUILD
index 04aae2b74..90b7405dc 100644
--- a/extra/faad2/PKGBUILD
+++ b/extra/faad2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=faad2
pkgver=2.7
pkgrel=2
pkgdesc="ISO AAC audio decoder"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.audiocoding.com/"
license=('custom:GPL')
depends=('glibc')
diff --git a/extra/facile/PKGBUILD b/extra/facile/PKGBUILD
index 217de93c7..ada0648c4 100644
--- a/extra/facile/PKGBUILD
+++ b/extra/facile/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=facile
pkgver=1.1
pkgrel=12
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')
diff --git a/extra/fakechroot/PKGBUILD b/extra/fakechroot/PKGBUILD
index 4c5a23f7e..cc0bb0343 100644
--- a/extra/fakechroot/PKGBUILD
+++ b/extra/fakechroot/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fakechroot
pkgver=2.14
pkgrel=1
pkgdesc="Gives a fake chroot environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/fakechroot/fakechroot/wiki"
license=('LGPL')
options=('!libtool')
diff --git a/extra/fam/PKGBUILD b/extra/fam/PKGBUILD
index 1b4bf6abe..295b69dfe 100644
--- a/extra/fam/PKGBUILD
+++ b/extra/fam/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=fam
pkgver=2.7.0
pkgrel=15
pkgdesc="File Alteration Monitor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'GPL')
depends=('rpcbind' 'gcc-libs' 'bash')
url="http://oss.sgi.com/projects/fam/"
@@ -41,7 +41,7 @@ build() {
autoconf
libtoolize --copy --force
- ./configure --prefix=/usr --sysconfdir=/etc/fam
+ ./configure --build=$CHOST --prefix=/usr --sysconfdir=/etc/fam
make
}
diff --git a/extra/farsight2/PKGBUILD b/extra/farsight2/PKGBUILD
index 9179c3b38..d8e765fb5 100644
--- a/extra/farsight2/PKGBUILD
+++ b/extra/farsight2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=farsight2
pkgver=0.0.29
pkgrel=1
pkgdesc="Audio/Video conference software for Instant Messengers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://farsight.freedesktop.org"
license=('LGPL')
depends=('libnice' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good' 'gstreamer0.10-bad' 'gstreamer0.10-python' 'pygobject')
diff --git a/extra/fastjar/PKGBUILD b/extra/fastjar/PKGBUILD
index 345493735..f0bb8176c 100644
--- a/extra/fastjar/PKGBUILD
+++ b/extra/fastjar/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fastjar
pkgver=0.98
pkgrel=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/fbset/PKGBUILD b/extra/fbset/PKGBUILD
index 0db694c92..8e0669fa3 100644
--- a/extra/fbset/PKGBUILD
+++ b/extra/fbset/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fbset
pkgver=2.1
pkgrel=3
pkgdesc="Framebuffer setup util"
-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 d6024ec72..2614f5a09 100644
--- a/extra/fcgi/PKGBUILD
+++ b/extra/fcgi/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.4.0
pkgrel=6
depends=('gcc-libs')
pkgdesc="FASTCgi(fcgi) islanguage independent, high performant extension to CGI"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
options=('!libtool' '!makeflags')
url="http://www.fastcgi.com"
diff --git a/extra/fcitx/PKGBUILD b/extra/fcitx/PKGBUILD
index 2b34f225f..016dc91ad 100644
--- a/extra/fcitx/PKGBUILD
+++ b/extra/fcitx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fcitx
pkgver=4.0.1
pkgrel=1
pkgdesc="Free Chinese Input Toy of X, a collection of Simplified Chinese input methods for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/fcitx/"
license=('GPL')
depends=('dbus-core' 'pango')
diff --git a/extra/feh/PKGBUILD b/extra/feh/PKGBUILD
index f09d64d55..d799ce65a 100644
--- a/extra/feh/PKGBUILD
+++ b/extra/feh/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=feh
pkgver=1.14.2
pkgrel=1
pkgdesc='Fast, lightweight image viewer which uses imlib2'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://feh.finalrewind.org/'
license=('MIT')
depends=('giblib' 'curl' 'libxinerama')
diff --git a/extra/festival/PKGBUILD b/extra/festival/PKGBUILD
index d6cc0b4f7..f2d642ced 100644
--- a/extra/festival/PKGBUILD
+++ b/extra/festival/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.1
_suffix=release
pkgrel=2
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')
diff --git a/extra/ffcall/PKGBUILD b/extra/ffcall/PKGBUILD
index 5d21a3d7b..f51867990 100644
--- a/extra/ffcall/PKGBUILD
+++ b/extra/ffcall/PKGBUILD
@@ -6,17 +6,23 @@ pkgname=ffcall
pkgver=1.10
pkgrel=4
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=('!libtool' '!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"
+ patch -Np0 -i "$srcdir/mipsn32.patch"
./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG
+
+ patch -Np0 -i $srcdir/mipsn32.patch
+
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/PKGBUILD b/extra/ffmpeg/PKGBUILD
index 25d68877e..074b52487 100644
--- a/extra/ffmpeg/PKGBUILD
+++ b/extra/ffmpeg/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ffmpeg
pkgver=20110724
pkgrel=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=('bzip2' 'lame' 'sdl' 'libvorbis' 'xvidcore' 'zlib' 'x264' 'libtheora' 'opencore-amr' 'alsa-lib' 'libvdpau' 'libxfixes' 'schroedinger' 'libvpx' 'libva' 'openjpeg' 'rtmpdump')
@@ -19,6 +19,8 @@ md5sums=('b6815ae13a17ab57449269bc2156546e')
build() {
cd "$srcdir/$pkgname"
+ [ "$CARCH" = "mips64el" ] && patch -Np1 -i $srcdir/ffmpeg-loongson.patch
+
./configure \
--prefix=/usr \
--enable-libmp3lame \
diff --git a/extra/ffmpeg/ffmpeg-loongson.patch b/extra/ffmpeg/ffmpeg-loongson.patch
new file mode 100644
index 000000000..501eafd15
--- /dev/null
+++ b/extra/ffmpeg/ffmpeg-loongson.patch
@@ -0,0 +1,1794 @@
+diff --git a/configure b/configure
+index 25e8cef..1d6c652 100755
+--- a/configure
++++ b/configure
+@@ -230,6 +230,7 @@ Advanced options (experts only):
+ --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
+@@ -995,6 +996,7 @@ ARCH_EXT_LIST='
+ armvfp
+ iwmmxt
+ mmi
++ loongson2mmi
+ mmx
+ mmx2
+ neon
+@@ -2862,6 +2864,7 @@ if enabled arm; then
+ 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 --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
+index add4b10..8244e51 100644
+--- a/libavcodec/avcodec.h
++++ b/libavcodec/avcodec.h
+@@ -1586,6 +1586,8 @@ typedef struct AVCodecContext {
+ #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 --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
+index bbfdb6a..dfc3452 100644
+--- a/libavcodec/dsputil.c
++++ b/libavcodec/dsputil.c
+@@ -4525,6 +4525,7 @@ av_cold void dsputil_init(DSPContext* c, AVCodecContext *avctx)
+ 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 --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
+index d1816e6..1a72ae9 100644
+--- a/libavcodec/dsputil.h
++++ b/libavcodec/dsputil.h
+@@ -636,6 +636,7 @@ void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx);
+ 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_cavsdsp_init(DSPContext* c, AVCodecContext *avctx);
+diff --git a/libavcodec/loongson2/dsputil_loongson2.c b/libavcodec/loongson2/dsputil_loongson2.c
+new file mode 100644
+index 0000000..01bd3ac
+--- /dev/null
++++ b/libavcodec/loongson2/dsputil_loongson2.c
+@@ -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 --git a/libavcodec/loongson2/dsputil_loongson2.d b/libavcodec/loongson2/dsputil_loongson2.d
+new file mode 100644
+index 0000000..808f0a3
+--- /dev/null
++++ b/libavcodec/loongson2/dsputil_loongson2.d
+@@ -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 --git a/libavcodec/loongson2/dsputil_loongson2.h b/libavcodec/loongson2/dsputil_loongson2.h
+new file mode 100644
+index 0000000..87c7bd9
+--- /dev/null
++++ b/libavcodec/loongson2/dsputil_loongson2.h
+@@ -0,0 +1,3 @@
++#include "libavcodec/dsputil.h"
++
++void dsputil_init_pix_loongson2(DSPContext* c, AVCodecContext *avctx);
+diff --git a/libavcodec/loongson2/dsputil_loongson2.o b/libavcodec/loongson2/dsputil_loongson2.o
+new file mode 100644
+index 0000000..fca0b55
+Binary files /dev/null and b/libavcodec/loongson2/dsputil_loongson2.o differ
+diff --git a/libavcodec/loongson2/idct_loongson2.c b/libavcodec/loongson2/idct_loongson2.c
+new file mode 100644
+index 0000000..539cab5
+--- /dev/null
++++ b/libavcodec/loongson2/idct_loongson2.c
+@@ -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 --git a/libavcodec/loongson2/idct_loongson2_xvid.c b/libavcodec/loongson2/idct_loongson2_xvid.c
+new file mode 100644
+index 0000000..4a1ee1e
+--- /dev/null
++++ b/libavcodec/loongson2/idct_loongson2_xvid.c
+@@ -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)
++//-----------------------------------------------------------------------------
++
++static const int16_t tg_1_16[4*4] attribute_used __attribute__ ((aligned(8))) = {
++ 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
++
++static const int32_t rounder_0[2*8] attribute_used __attribute__ ((aligned(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
++static const int16_t tab_i_04_mmx[32*4] attribute_used __attribute__ ((aligned(8))) = {
++ 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
++static const int16_t tab_i_04_xmm[32*4] attribute_used __attribute__ ((aligned(8))) = {
++ 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 --git a/libavcodec/loongson2/motion_est_loongson2.c b/libavcodec/loongson2/motion_est_loongson2.c
+new file mode 100644
+index 0000000..bb67290
+--- /dev/null
++++ b/libavcodec/loongson2/motion_est_loongson2.c
+@@ -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"
++
++static const __attribute__ ((aligned(8))) uint64_t round_tab[3]={
++ 0x0000000000000000ULL,
++ 0x0001000100010001ULL,
++ 0x0002000200020002ULL,
++};
++
++static attribute_used __attribute__ ((aligned(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 --git a/libavcodec/loongson2/mpegvideo_loongson2.c b/libavcodec/loongson2/mpegvideo_loongson2.c
+new file mode 100644
+index 0000000..18d070a
+--- /dev/null
++++ b/libavcodec/loongson2/mpegvideo_loongson2.c
+@@ -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 --git a/libavcodec/mips/Makefile b/libavcodec/mips/Makefile
+index 3f4da68..73e4d56 100644
+--- a/libavcodec/mips/Makefile
++++ b/libavcodec/mips/Makefile
+@@ -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 --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
+index b47ff9a..af92552 100644
+--- a/libavcodec/mpegvideo.c
++++ b/libavcodec/mpegvideo.c
+@@ -176,6 +176,9 @@ av_cold int ff_dct_common_init(MpegEncContext *s)
+ #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 --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
+index 5302be9..8d09906 100644
+--- a/libavcodec/mpegvideo.h
++++ b/libavcodec/mpegvideo.h
+@@ -689,6 +689,7 @@ int MPV_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size,
+ 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 --git a/libavcodec/options.c b/libavcodec/options.c
+index 7ca1062..c05b3f4 100644
+--- a/libavcodec/options.c.orig 2011-06-22 12:52:11.584428161 -0300
++++ b/libavcodec/options.c 2011-06-22 12:52:25.003143367 -0300
+@@ -219,6 +219,8 @@ static const AVOption options[]={
+ {"simple", NULL, 0, FF_OPT_TYPE_CONST, {.dbl = FF_IDCT_SIMPLE }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"simplemmx", NULL, 0, FF_OPT_TYPE_CONST, {.dbl = FF_IDCT_SIMPLEMMX }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"libmpeg2mmx", NULL, 0, FF_OPT_TYPE_CONST, {.dbl = FF_IDCT_LIBMPEG2MMX }, INT_MIN, INT_MAX, V|E|D, "idct"},
++{"libmpeg2loongson2", NULL, 0, FF_OPT_TYPE_CONST, FF_IDCT_LIBMPEG2LOONGSON2, INT_MIN, INT_MAX, V|E|D, "idct"},
++{"xvidloongson2", NULL, 0, FF_OPT_TYPE_CONST, FF_IDCT_XVIDLOONGSON2, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"ps2", NULL, 0, FF_OPT_TYPE_CONST, {.dbl = FF_IDCT_PS2 }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"mlib", NULL, 0, FF_OPT_TYPE_CONST, {.dbl = FF_IDCT_MLIB }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"arm", NULL, 0, FF_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 8be79eb47..41c4e5431 100644
--- a/extra/ffmpegthumbnailer/PKGBUILD
+++ b/extra/ffmpegthumbnailer/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
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 d8b00ff55..d2a0d5832 100644
--- a/extra/fftw/PKGBUILD
+++ b/extra/fftw/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fftw
pkgver=3.2.2
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')
@@ -26,7 +26,8 @@ build() {
cd ${srcdir}/${pkgname}-${pkgver}
# use upstream default CFLAGS while keeping our -march/-mtune
- CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math"
+ [ "$CARCH" = "mips64el" ] || CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math"
+ [ "$CARCH" = "mips64el" ] && CFLAGS+=" -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math"
CONFIGURE="./configure F77=gfortran --prefix=/usr \
--enable-shared --enable-threads"
diff --git a/extra/flac/PKGBUILD b/extra/flac/PKGBUILD
index d9d539f3f..4a507612d 100644
--- a/extra/flac/PKGBUILD
+++ b/extra/flac/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=flac
pkgver=1.2.1
pkgrel=2
pkgdesc="Free Lossless Audio Codec"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://flac.sourceforge.net/"
license=('custom:Xiph' 'LGPL' 'GPL' 'FDL')
depends=('glibc' 'libogg')
diff --git a/extra/fltk/PKGBUILD b/extra/fltk/PKGBUILD
index 2ce310cdd..ed71922ad 100644
--- a/extra/fltk/PKGBUILD
+++ b/extra/fltk/PKGBUILD
@@ -4,7 +4,7 @@ pkgbase=fltk
pkgname=('fltk' 'fltk-docs')
pkgver=1.3.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:LGPL')
url="http://www.fltk.org/"
depends=('sh' 'libjpeg' 'libpng' 'libxft' 'libxinerama' 'alsa-lib' 'hicolor-icon-theme' 'desktop-file-utils' 'xdg-utils')
diff --git a/extra/fluidsynth/PKGBUILD b/extra/fluidsynth/PKGBUILD
index b82e347d7..650b1689f 100644
--- a/extra/fluidsynth/PKGBUILD
+++ b/extra/fluidsynth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fluidsynth
pkgver=1.1.4
pkgrel=1
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' 'dbus-core' 'libpulse')
makedepends=('cmake' 'ladspa' 'doxygen')
diff --git a/extra/fluxbox/PKGBUILD b/extra/fluxbox/PKGBUILD
index 7d5e7d3b6..e6c39b586 100644
--- a/extra/fluxbox/PKGBUILD
+++ b/extra/fluxbox/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fluxbox
pkgver=1.3.1
pkgrel=1
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' 'sh' 'imlib2' 'fribidi')
diff --git a/extra/fluxter/PKGBUILD b/extra/fluxter/PKGBUILD
index 723543918..705b34f5d 100644
--- a/extra/fluxter/PKGBUILD
+++ b/extra/fluxter/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fluxter
pkgver=0.1.0
pkgrel=5
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 dd0ec3824..81036be00 100644
--- a/extra/folks/PKGBUILD
+++ b/extra/folks/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=folks
pkgver=0.4.3
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')
diff --git a/extra/fontconfig/PKGBUILD b/extra/fontconfig/PKGBUILD
index 701f308a0..514fc8f9d 100644
--- a/extra/fontconfig/PKGBUILD
+++ b/extra/fontconfig/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=fontconfig
pkgver=2.8.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>=2.0.1' 'freetype2>=2.3.11')
diff --git a/extra/fontforge/PKGBUILD b/extra/fontforge/PKGBUILD
index a880f0dc7..55401aa90 100644
--- a/extra/fontforge/PKGBUILD
+++ b/extra/fontforge/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=fontforge
pkgver=20110222
pkgrel=2
pkgdesc='Outline and bitmap font editor'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://fontforge.sourceforge.net'
license=('BSD')
depends=('libxkbui' 'libxi' 'libxml2' 'pango' 'giflib' 'libtiff' 'python2')
diff --git a/extra/foobillard/PKGBUILD b/extra/foobillard/PKGBUILD
index decb5c49d..ce8e6302b 100644
--- a/extra/foobillard/PKGBUILD
+++ b/extra/foobillard/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=foobillard
pkgver=3.0a
pkgrel=6
pkgdesc="An OpenGL billiard game for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://foobillard.sourceforge.net/"
license=('GPL2' 'custom')
depends=('sdl' 'freetype2' 'libpng' 'mesa')
diff --git a/extra/foomatic/PKGBUILD b/extra/foomatic/PKGBUILD
index 7efaa8a18..5354a6c25 100644
--- a/extra/foomatic/PKGBUILD
+++ b/extra/foomatic/PKGBUILD
@@ -3,7 +3,7 @@
pkgbase="foomatic"
pkgname=('foomatic-db' 'foomatic-filters' 'foomatic-db-engine' 'foomatic-db-nonfree')
-arch=('i686' 'x86_64') # needs to be changed in the subpackages when makepkg will support it
+arch=('i686' 'x86_64' 'mips64el') # needs to be changed in the subpackages when makepkg will support it
_snapdate=20110707
_relver=4.0.7
pkgver=${_relver}_${_snapdate}
diff --git a/extra/fortune-mod/PKGBUILD b/extra/fortune-mod/PKGBUILD
index 9cc9b6ac7..a88f7bdb6 100644
--- a/extra/fortune-mod/PKGBUILD
+++ b/extra/fortune-mod/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fortune-mod
pkgver=1.99.1
pkgrel=5
pkgdesc="The Fortune Cookie Program from BSD games"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.redellipse.net/code/fortune"
license=('BSD')
depends=('recode')
diff --git a/extra/fping/PKGBUILD b/extra/fping/PKGBUILD
index e28a03f4c..74adb467b 100644
--- a/extra/fping/PKGBUILD
+++ b/extra/fping/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fping
pkgver=2.4b2
pkgrel=4
pkgdesc="A utility to ping multiple hosts at once"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.fping.com/"
license=('custom')
depends=('glibc')
diff --git a/extra/freealut/PKGBUILD b/extra/freealut/PKGBUILD
index b334ea987..bb18e4729 100644
--- a/extra/freealut/PKGBUILD
+++ b/extra/freealut/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=freealut
pkgver=1.1.0
pkgrel=3
pkgdesc="OpenAL Utility Toolkit (ALUT)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.openal.org"
license=("LGPL")
depends=('openal>=1.6.372')
diff --git a/extra/freeciv/PKGBUILD b/extra/freeciv/PKGBUILD
index 0d2cea023..7a961be54 100644
--- a/extra/freeciv/PKGBUILD
+++ b/extra/freeciv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=freeciv
pkgver=2.2.7
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' 'bzip2' 'hicolor-icon-theme')
diff --git a/extra/freeglut/PKGBUILD b/extra/freeglut/PKGBUILD
index ac748f8ee..92859e9f9 100644
--- a/extra/freeglut/PKGBUILD
+++ b/extra/freeglut/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=freeglut
pkgver=2.6.0
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=('libxxf86vm' 'mesa' 'libxi')
diff --git a/extra/freenx/PKGBUILD b/extra/freenx/PKGBUILD
index bbaa11d59..c32183eda 100644
--- a/extra/freenx/PKGBUILD
+++ b/extra/freenx/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=freenx
pkgver=0.7.3
pkgrel=8
pkgdesc="Free Software (GPL) Implementation of the NX Server"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://freenx.berlios.de"
license=('GPL')
depends=('nxserver' 'gnu-netcat' 'openssh' 'expect' 'xorg-xauth' 'xorg-apps' 'xorg-fonts-misc' 'coreutils' 'xorg-xmessage')
diff --git a/extra/freetds/PKGBUILD b/extra/freetds/PKGBUILD
index 2912f9b39..851c1b87b 100644
--- a/extra/freetds/PKGBUILD
+++ b/extra/freetds/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.82
pkgrel=5
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')
options=('!libtool')
diff --git a/extra/freetype2/PKGBUILD b/extra/freetype2/PKGBUILD
index 4f19b7144..3fc7ee10d 100644
--- a/extra/freetype2/PKGBUILD
+++ b/extra/freetype2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=freetype2
pkgver=2.4.6
pkgrel=1
pkgdesc="TrueType font rendering library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://freetype.sourceforge.net"
depends=('zlib')
diff --git a/extra/fribidi/PKGBUILD b/extra/fribidi/PKGBUILD
index edeaa1f4b..8629540fd 100644
--- a/extra/fribidi/PKGBUILD
+++ b/extra/fribidi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fribidi
pkgver=0.19.2
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 fb21cbd21..c3ce7383a 100644
--- a/extra/frozen-bubble/PKGBUILD
+++ b/extra/frozen-bubble/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=2.2.1-beta1
pkgver=${_pkgver/-/}
pkgrel=3
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 306172fac..25317e58e 100644
--- a/extra/fsarchiver/PKGBUILD
+++ b/extra/fsarchiver/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=fsarchiver
pkgver=0.6.12
pkgrel=1
pkgdesc="A safe and flexible file-system backup and deployment tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.fsarchiver.org/"
license=('GPL')
depends=('bzip2' 'e2fsprogs' 'lzo2' 'xz' 'libgcrypt')
diff --git a/extra/fssos-nsvs/PKGBUILD b/extra/fssos-nsvs/PKGBUILD
index 16e8be8cc..02bae5641 100644
--- a/extra/fssos-nsvs/PKGBUILD
+++ b/extra/fssos-nsvs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fssos-nsvs
pkgver=0.5
pkgrel=7
pkgdesc="NSVS for FSSOS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fssos.sourceforge.net/"
license=('GPL')
depends=('bash' 'mysql>=5.5')
diff --git a/extra/ftgl/PKGBUILD b/extra/ftgl/PKGBUILD
index b284d4289..7a4bd3c85 100644
--- a/extra/ftgl/PKGBUILD
+++ b/extra/ftgl/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=2.1.3-rc5
pkgver=${_pkgver/-/}
pkgrel=2
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 glut)
diff --git a/extra/ftjam/PKGBUILD b/extra/ftjam/PKGBUILD
index b78dac253..d8199c8ee 100644
--- a/extra/ftjam/PKGBUILD
+++ b/extra/ftjam/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ftjam
pkgver=2.5.3rc2
pkgrel=2
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 f3863969e..ef08b69d6 100644
--- a/extra/fuse/PKGBUILD
+++ b/extra/fuse/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fuse
pkgver=2.8.5
pkgrel=1
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 b5ff775d7..8bd2489fe 100644
--- a/extra/fvwm/PKGBUILD
+++ b/extra/fvwm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fvwm
pkgver=2.6.2
pkgrel=1
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/fwbuilder/PKGBUILD b/extra/fwbuilder/PKGBUILD
index 055db9e92..82bdb3ca4 100644
--- a/extra/fwbuilder/PKGBUILD
+++ b/extra/fwbuilder/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=4.1.3
pkgrel=1
pkgdesc="Object-oriented GUI and set of compilers for various firewall platforms"
url="http://www.fwbuilder.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=("libfwbuilder=${pkgver}" 'qt' 'net-snmp' 'hicolor-icon-theme')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/fyre/PKGBUILD b/extra/fyre/PKGBUILD
index a34415046..c9bd6dbaf 100644
--- a/extra/fyre/PKGBUILD
+++ b/extra/fyre/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fyre
pkgver=1.0.1
pkgrel=4
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/garcon/PKGBUILD b/extra/garcon/PKGBUILD
index 8f4b2c5c9..f8990035f 100644
--- a/extra/garcon/PKGBUILD
+++ b/extra/garcon/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=garcon
pkgver=0.1.8
pkgrel=1
pkgdesc="implementation of the freedesktop.org menu specification"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://wiki.xfce.org/dev/garcon"
groups=('xfce4')
diff --git a/extra/gc/PKGBUILD b/extra/gc/PKGBUILD
index 16f608ea1..7817eb002 100644
--- a/extra/gc/PKGBUILD
+++ b/extra/gc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gc
pkgver=7.1
pkgrel=3
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}-${pkgver}.tar.gz)
diff --git a/extra/gcalctool/PKGBUILD b/extra/gcalctool/PKGBUILD
index c4c19605c..d242b0783 100644
--- a/extra/gcalctool/PKGBUILD
+++ b/extra/gcalctool/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gcalctool
pkgver=6.0.2
pkgrel=1
pkgdesc="GNOME Scientific calculator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'dconf')
makedepends=('intltool' 'gnome-doc-utils')
diff --git a/extra/gcin/PKGBUILD b/extra/gcin/PKGBUILD
index 2f92da9a0..966f0dcaf 100644
--- a/extra/gcin/PKGBUILD
+++ b/extra/gcin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gcin
pkgver=1.6.4
pkgrel=2
pkgdesc='Input method server supporting various input methods'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url='http://hyperrate.com/dir.php?eid=67'
depends=('gtk2' 'libxtst')
diff --git a/extra/gconf-editor/PKGBUILD b/extra/gconf-editor/PKGBUILD
index d6fb91c69..d47432967 100644
--- a/extra/gconf-editor/PKGBUILD
+++ b/extra/gconf-editor/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gconf-editor
pkgver=3.0.0
pkgrel=1
pkgdesc="Graphical gconf registry editor"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gconf' 'hicolor-icon-theme')
makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils')
diff --git a/extra/gconf-perl/PKGBUILD b/extra/gconf-perl/PKGBUILD
index e4f58af63..0091031e6 100644
--- a/extra/gconf-perl/PKGBUILD
+++ b/extra/gconf-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2-GConf
pkgver=1.044
pkgrel=5
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 fedc598c9..b932bf803 100644
--- a/extra/gconf/PKGBUILD
+++ b/extra/gconf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gconf
pkgver=2.32.4
pkgrel=1
pkgdesc="A configuration database system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('orbit2' 'libxml2' 'polkit' 'libldap' 'dbus-glib' 'gtk3')
makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gobject-introspection')
diff --git a/extra/gconfmm/PKGBUILD b/extra/gconfmm/PKGBUILD
index d151b32d1..9e9238284 100644
--- a/extra/gconfmm/PKGBUILD
+++ b/extra/gconfmm/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=gconfmm
pkgname=('gconfmm' 'gconfmm-docs')
pkgver=2.28.2
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gtkmm>=2.20.3' 'glibmm-docs' 'gconf>=2.28.1' 'glibmm>=2.24.2')
options=('!libtool')
diff --git a/extra/gd/PKGBUILD b/extra/gd/PKGBUILD
index d00cc4b2c..b3d717672 100644
--- a/extra/gd/PKGBUILD
+++ b/extra/gd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gd
pkgver=2.0.36RC1
pkgrel=3
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=('perl' 'libpng>=1.4.0' 'fontconfig' 'libjpeg>=8')
diff --git a/extra/gdb/PKGBUILD b/extra/gdb/PKGBUILD
index 369098afa..86090d46c 100644
--- a/extra/gdb/PKGBUILD
+++ b/extra/gdb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gdb
pkgver=7.3
pkgrel=2
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 1c1cd9e7e..24ec6ef79 100644
--- a/extra/gdk-pixbuf2/PKGBUILD
+++ b/extra/gdk-pixbuf2/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=gdk-pixbuf2
pkgver=2.23.5
pkgrel=1
pkgdesc="An image loading library for gtk2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('GPL2')
depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11')
diff --git a/extra/gdl/PKGBUILD b/extra/gdl/PKGBUILD
index a20a92c9b..1c05d49c0 100644
--- a/extra/gdl/PKGBUILD
+++ b/extra/gdl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gdl
pkgver=3.0.2
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 cb697cfd8..300eea479 100644
--- a/extra/gdm/PKGBUILD
+++ b/extra/gdm/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=gdm
pkgver=3.0.4
pkgrel=2
pkgdesc="Gnome Display Manager (a reimplementation of xdm)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org"
backup=('etc/pam.d/gdm' 'etc/pam.d/gdm-autologin' 'etc/gdm/custom.conf')
diff --git a/extra/gdome2/PKGBUILD b/extra/gdome2/PKGBUILD
index d9511dc1b..c6e1eb377 100644
--- a/extra/gdome2/PKGBUILD
+++ b/extra/gdome2/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=gdome2
pkgver=0.8.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="Gnome DOM Engine"
url="http://gdome2.cs.unibo.it/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libxml2' 'glib2')
options=(!libtool)
@@ -16,10 +16,21 @@ md5sums=('bfc114e59eec50cbda8e4ece751ff022')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man
+ 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 "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
diff --git a/extra/gecko-sharp-2.0/PKGBUILD b/extra/gecko-sharp-2.0/PKGBUILD
index a9fc4bf26..df7857cf9 100644
--- a/extra/gecko-sharp-2.0/PKGBUILD
+++ b/extra/gecko-sharp-2.0/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gecko-sharp-2.0
pkgver=0.13
pkgrel=3
pkgdesc="C# bindings for gtkmozembed"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL' 'MPL')
url="http://www.mono-project.com/"
depends=('xulrunner>=1.9.1' 'gtk-sharp-2>=2.12.1')
diff --git a/extra/gedit/PKGBUILD b/extra/gedit/PKGBUILD
index ca7df716d..7bb65508e 100644
--- a/extra/gedit/PKGBUILD
+++ b/extra/gedit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gedit
pkgver=3.0.6
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' 'pygobject' 'dconf')
makedepends=('gnome-doc-utils' 'intltool')
diff --git a/extra/geeqie/PKGBUILD b/extra/geeqie/PKGBUILD
index b2315cea4..03ca8f3f4 100644
--- a/extra/geeqie/PKGBUILD
+++ b/extra/geeqie/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geeqie
pkgver=1.0
pkgrel=5
pkgdesc="A lightweight image browser and viewer (fork of GQview)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://geeqie.sourceforge.net/"
license=('GPL3')
depends=('exiv2' 'gtk2' 'lcms' 'desktop-file-utils')
diff --git a/extra/gegl/PKGBUILD b/extra/gegl/PKGBUILD
index 4a018da9c..2d99183f7 100644
--- a/extra/gegl/PKGBUILD
+++ b/extra/gegl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gegl
pkgver=0.1.6
pkgrel=1
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' 'libpng' 'libjpeg' 'gtk2')
diff --git a/extra/genius/PKGBUILD b/extra/genius/PKGBUILD
index fa26e76ad..0eb84efd5 100644
--- a/extra/genius/PKGBUILD
+++ b/extra/genius/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=genius
pkgver=1.0.14
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>=0.26.2' 'gtksourceview2>=2.10.5' 'mpfr>=3.0.0' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/geoip/PKGBUILD b/extra/geoip/PKGBUILD
index bfbeec073..61ad4ea4c 100644
--- a/extra/geoip/PKGBUILD
+++ b/extra/geoip/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geoip
pkgver=1.4.7
pkgrel=1
pkgdesc="Non-DNS IP-to-country resolver C library & utils"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.maxmind.com/app/c"
depends=('zlib')
diff --git a/extra/gettext-mono/PKGBUILD b/extra/gettext-mono/PKGBUILD
index 4ecbe0a05..bb9490811 100644
--- a/extra/gettext-mono/PKGBUILD
+++ b/extra/gettext-mono/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gettext-mono
pkgver=0.17
pkgrel=4
pkgdesc="mono assemblies for GNU internationalization library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gettext"
license=('GPL3')
depends=('mono>=1.9')
diff --git a/extra/gftp/PKGBUILD b/extra/gftp/PKGBUILD
index 4d4bdd661..bfd5fbe2b 100644
--- a/extra/gftp/PKGBUILD
+++ b/extra/gftp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gftp
pkgver=2.0.19
pkgrel=3
pkgdesc="A multithreaded ftp client for X Windows"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gtk2' 'openssl' 'readline')
source=(http://www.gftp.org/$pkgname-$pkgver.tar.bz2)
url="http://www.gftp.org/"
diff --git a/extra/ggv/PKGBUILD b/extra/ggv/PKGBUILD
index 76c346969..6a85287d8 100644
--- a/extra/ggv/PKGBUILD
+++ b/extra/ggv/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=ggv
pkgver=2.12.0
pkgrel=4
pkgdesc="Postscript viewer"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('libgnomeui' 'ghostscript' 'desktop-file-utils')
makedepends=('intltool' 'gnome-doc-utils' 'pkgconfig' 'gnome-common')
diff --git a/extra/ghc/PKGBUILD b/extra/ghc/PKGBUILD
index 9fddba6ca..11a545a29 100644
--- a/extra/ghc/PKGBUILD
+++ b/extra/ghc/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=ghc
pkgver=7.0.3
pkgrel=2
pkgdesc="The Glasgow Haskell Compiler"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.haskell.org/ghc/"
license=("custom")
depends=('perl' 'gmp>=5.0' gcc)
diff --git a/extra/ghex/PKGBUILD b/extra/ghex/PKGBUILD
index 700075f98..6314b3d20 100644
--- a/extra/ghex/PKGBUILD
+++ b/extra/ghex/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ghex
pkgver=2.24.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=('libgnomeui>=2.24.2' 'libgnomeprintui>=2.18.4' 'hicolor-icon-theme')
diff --git a/extra/giblib/PKGBUILD b/extra/giblib/PKGBUILD
index 611d84137..cf3c2396c 100644
--- a/extra/giblib/PKGBUILD
+++ b/extra/giblib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=giblib
pkgver=1.2.4
pkgrel=4
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 b2a2ecc36..762dd3419 100644
--- a/extra/gif2png/PKGBUILD
+++ b/extra/gif2png/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gif2png
pkgver=2.5.4
pkgrel=1
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 86d445528..99b3f6fe6 100644
--- a/extra/giflib/PKGBUILD
+++ b/extra/giflib/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=4.1.6
pkgrel=4
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')
provides=("libungif=${pkgver}")
diff --git a/extra/gifsicle/PKGBUILD b/extra/gifsicle/PKGBUILD
index d4bbf366d..14306db02 100644
--- a/extra/gifsicle/PKGBUILD
+++ b/extra/gifsicle/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gifsicle
pkgver=1.61
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-dbp/PKGBUILD b/extra/gimp-dbp/PKGBUILD
index f09db2f20..9a5ac4635 100644
--- a/extra/gimp-dbp/PKGBUILD
+++ b/extra/gimp-dbp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gimp-dbp
pkgver=1.1.9
pkgrel=2
pkgdesc="David's batch processor for the GIMP"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://members.ozemail.com.au/~hodsond/dbp.html"
license=('GPL')
depends=('gimp')
diff --git a/extra/gimp-devel/PKGBUILD b/extra/gimp-devel/PKGBUILD
index a7667f16d..94743a7c7 100644
--- a/extra/gimp-devel/PKGBUILD
+++ b/extra/gimp-devel/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gimp-devel
pkgver=2.7.2
pkgrel=2
pkgdesc="GNU Image Manipulation Program (Development Version)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gimp.org/"
license=('GPL3' 'LGPL3')
depends=('pygtk' 'lcms' 'libxpm' 'libwmf' 'librsvg' 'libmng' 'dbus-glib' \
diff --git a/extra/gimp-gap/PKGBUILD b/extra/gimp-gap/PKGBUILD
index 997bb3fe2..237e7c908 100644
--- a/extra/gimp-gap/PKGBUILD
+++ b/extra/gimp-gap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gimp-gap
pkgver=2.6.0
pkgrel=2
pkgdesc="A Plug-In collection to edit and create animations for the Gimp"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.gimp.org/downloads/"
depends=('gimp>=2.6.0' 'xvidcore' 'bash' 'libjpeg')
diff --git a/extra/gimp-refocus/PKGBUILD b/extra/gimp-refocus/PKGBUILD
index 5cc3b5703..ad1457deb 100644
--- a/extra/gimp-refocus/PKGBUILD
+++ b/extra/gimp-refocus/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gimp-refocus
pkgver=0.9.0
pkgrel=3
pkgdesc="A sharpen plugin for gimp using FIR Wiener filtering"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://refocus.sourceforge.net/"
license=('GPL2')
depends=('gimp')
diff --git a/extra/gimp-ufraw/PKGBUILD b/extra/gimp-ufraw/PKGBUILD
index 98a22bbc8..41154a386 100644
--- a/extra/gimp-ufraw/PKGBUILD
+++ b/extra/gimp-ufraw/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.18
pkgrel=1
pkgdesc="Standalone or gimp plugin converter for raw files"
url="http://ufraw.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('gtkimageview' 'exiv2')
makedepends=('gimp' 'cinepaint' 'pkg-config')
diff --git a/extra/gimp/PKGBUILD b/extra/gimp/PKGBUILD
index a04de0a07..78d9da1e7 100644
--- a/extra/gimp/PKGBUILD
+++ b/extra/gimp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gimp
pkgver=2.6.11
pkgrel=6
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 e4ae40280..adbbfaf7f 100644
--- a/extra/git/PKGBUILD
+++ b/extra/git/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=git
pkgver=1.7.6
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')
diff --git a/extra/gksu/PKGBUILD b/extra/gksu/PKGBUILD
index d48fdb3a7..95fa52151 100644
--- a/extra/gksu/PKGBUILD
+++ b/extra/gksu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gksu
pkgver=2.0.2
pkgrel=3
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 96d77bced..4388acfec 100644
--- a/extra/glade-perl/PKGBUILD
+++ b/extra/glade-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gtk2-GladeXML
pkgver=1.007
pkgrel=4
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 352bfef15..56daf1721 100644
--- a/extra/glade/PKGBUILD
+++ b/extra/glade/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=glade
pkgver=3.10.0
pkgrel=2
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' 'python2' 'gtk-doc' 'gobject-introspection' 'pygobject-devel')
diff --git a/extra/glew/PKGBUILD b/extra/glew/PKGBUILD
index 6270e8c8f..e573f7b8d 100644
--- a/extra/glew/PKGBUILD
+++ b/extra/glew/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glew
pkgver=1.6.0
pkgrel=1
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' 'mesa')
diff --git a/extra/glhack/PKGBUILD b/extra/glhack/PKGBUILD
index 27ef966e4..35d3fa667 100644
--- a/extra/glhack/PKGBUILD
+++ b/extra/glhack/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glhack
pkgver=1.2
pkgrel=4
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' 'mesa')
diff --git a/extra/glib-networking/PKGBUILD b/extra/glib-networking/PKGBUILD
index ca799b5ba..c789f208b 100644
--- a/extra/glib-networking/PKGBUILD
+++ b/extra/glib-networking/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=glib-networking
pkgver=2.28.7
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 89610fe1e..afc112a00 100644
--- a/extra/glib-perl/PKGBUILD
+++ b/extra/glib-perl/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Glib
pkgver=1.223
pkgrel=3
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 48945164c..dc2d075a1 100644
--- a/extra/glib/PKGBUILD
+++ b/extra/glib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glib
pkgver=1.2.10
pkgrel=8.1
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' 'texinfo')
@@ -25,7 +25,7 @@ build() {
patch -Np0 -i ../aclocal-fixes.patch || return 1
[ "$CARCH" = "x86_64" ] && CONFIGFLAG="--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu"
- ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info $CONFIGFLAG || return 1
- make || return 1
- make DESTDIR="${pkgdir}" install || return 1
+ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info $CONFIGFLAG
+ make
+ make DESTDIR="${pkgdir}" install
}
diff --git a/extra/glpk/PKGBUILD b/extra/glpk/PKGBUILD
index 0ec9479fc..c7d7845c1 100644
--- a/extra/glpk/PKGBUILD
+++ b/extra/glpk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glpk
pkgver=4.44
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')
diff --git a/extra/glsof/PKGBUILD b/extra/glsof/PKGBUILD
index 72ce404fc..f1845aafe 100644
--- a/extra/glsof/PKGBUILD
+++ b/extra/glsof/PKGBUILD
@@ -7,7 +7,7 @@ _fmver=1.5
_qver=1.0.0
pkgrel=1
pkgdesc="Two separate GUI utilities (Queries and Filemonitor) to the lsof command line utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://glsof.sourceforge.net/"
license=('GPL3')
depends=('sh' 'java-runtime' 'lsof')
diff --git a/extra/gluezilla/PKGBUILD b/extra/gluezilla/PKGBUILD
index 224068bd6..f59c0421e 100644
--- a/extra/gluezilla/PKGBUILD
+++ b/extra/gluezilla/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=gluezilla
pkgver=2.6
pkgrel=3
pkgdesc="Web browser implementation (Gecko) for Mono, the free .NET runtime"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL2' 'MPL')
url="http://www.mono-project.com/"
depends=('mono' 'xulrunner>=2.0')
diff --git a/extra/gmetadom/PKGBUILD b/extra/gmetadom/PKGBUILD
index 64be3c3b7..4dd38268a 100644
--- a/extra/gmetadom/PKGBUILD
+++ b/extra/gmetadom/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gmetadom
pkgver=0.2.6
-pkgrel=2
+pkgrel=3
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')
@@ -20,7 +20,9 @@ md5sums=('7bfb5d9c6f20ffa5e790b63d1f8cb481'
build() {
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/gmetadom-0.2.6-gcc43.patch || return 1
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --disable-static
+ # Don't make tests, they need a static library.
+ sed -ri 's/^SUBDIRS = (.+) test$/SUBDIRS = \1/' src/gdome_cpp_smart/Makefile
make || return 1
make DESTDIR=${pkgdir}/ install
}
diff --git a/extra/gmime/PKGBUILD b/extra/gmime/PKGBUILD
index 8ec40cf55..4a88a260b 100644
--- a/extra/gmime/PKGBUILD
+++ b/extra/gmime/PKGBUILD
@@ -6,11 +6,13 @@ pkgname=gmime
pkgver=2.4.25
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' 'zlib')
makedepends=('gtk-sharp-2' 'pkgconfig')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('pkgconfig')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('c1044330652e7098b58e4b9c32202c5c99534da34aa260fc3b7cf8506cd56413')
diff --git a/extra/gmpc/PKGBUILD b/extra/gmpc/PKGBUILD
index 7cee8fc09..b4356d300 100644
--- a/extra/gmpc/PKGBUILD
+++ b/extra/gmpc/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gmpc
pkgver=0.20.0
pkgrel=1
pkgdesc="A GTK2 client for MPD"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
license=("GPL")
depends=('libglade' 'libmpd>=0.20.0' 'curl' 'libsm' 'libsoup' 'libsexy' 'hicolor-icon-theme')
diff --git a/extra/gnet/PKGBUILD b/extra/gnet/PKGBUILD
index 60b952e00..74f641527 100644
--- a/extra/gnet/PKGBUILD
+++ b/extra/gnet/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnet
pkgver=2.0.8
pkgrel=2
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/gnokii/PKGBUILD b/extra/gnokii/PKGBUILD
index 036522ede..cce1c878e 100644
--- a/extra/gnokii/PKGBUILD
+++ b/extra/gnokii/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=gnokii
pkgver=0.6.30
pkgrel=2
pkgdesc="Tools and user space driver for use with mobile phones"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnokii.org/"
license=('GPL')
depends=('libusb-compat' 'libxpm' 'bluez' 'libical')
diff --git a/extra/gnome-alsamixer/PKGBUILD b/extra/gnome-alsamixer/PKGBUILD
index 277ddcbde..d438a1e27 100644
--- a/extra/gnome-alsamixer/PKGBUILD
+++ b/extra/gnome-alsamixer/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-alsamixer
pkgver=0.9.6
pkgrel=3
pkgdesc="Gnome ALSA mixer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.paw.za.org"
license=('GPL')
depends=('libgnomeui>=2.24.1')
diff --git a/extra/gnome-applets/PKGBUILD b/extra/gnome-applets/PKGBUILD
index 6470981a9..3f7395696 100644
--- a/extra/gnome-applets/PKGBUILD
+++ b/extra/gnome-applets/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-applets
pkgver=3.1.2
pkgrel=1
pkgdesc="GNOME Applets"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gnome-panel' 'libgtop' 'gucharmap' 'libnotify' 'cpufrequtils')
makedepends=('gnome-doc-utils' 'intltool' 'gnome-settings-daemon' 'networkmanager' 'gnome-common')
diff --git a/extra/gnome-bluetooth/PKGBUILD b/extra/gnome-bluetooth/PKGBUILD
index 2417f82cc..6b5ef16b8 100644
--- a/extra/gnome-bluetooth/PKGBUILD
+++ b/extra/gnome-bluetooth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-bluetooth
pkgver=3.0.1
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=('gnome-control-center' 'hicolor-icon-theme' 'gvfs-obexftp' 'obexd-client' 'dconf')
diff --git a/extra/gnome-control-center/PKGBUILD b/extra/gnome-control-center/PKGBUILD
index c75fc2c4a..945af2f09 100644
--- a/extra/gnome-control-center/PKGBUILD
+++ b/extra/gnome-control-center/PKGBUILD
@@ -7,8 +7,7 @@ pkgrel=1
pkgdesc="The Control Center for GNOME"
arch=('i686' 'x86_64')
depends=('gtk3' 'gsettings-desktop-schemas' 'gnome-menus' 'gnome-desktop' 'gnome-settings-daemon' 'upower' 'libgtop' 'cups-pk-helper' 'accountsservice' 'sound-theme-freedesktop' 'krb5')
-optdepends=('mesa-demos: provides glxinfo for graphics information'
- 'apg: adds password generation for user accounts')
+optdepends=('apg: adds password generation for user accounts')
makedepends=('gnome-doc-utils' 'intltool' 'networkmanager')
url="http://www.gnome.org"
groups=('gnome')
diff --git a/extra/gnome-desktop/PKGBUILD b/extra/gnome-desktop/PKGBUILD
index 65002fb58..ce09ddf4c 100644
--- a/extra/gnome-desktop/PKGBUILD
+++ b/extra/gnome-desktop/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-desktop
pkgver=3.0.2
pkgrel=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' 'startup-notification' 'gtk3')
makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection')
diff --git a/extra/gnome-desktop2/PKGBUILD b/extra/gnome-desktop2/PKGBUILD
index 3829d54f7..77b1a8972 100644
--- a/extra/gnome-desktop2/PKGBUILD
+++ b/extra/gnome-desktop2/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=${_pkgname}2
pkgver=2.32.1
pkgrel=1
pkgdesc="The GNOME Desktop"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL LGPL)
depends=(gconf gtk2 startup-notification)
makedepends=(gnome-doc-utils intltool)
diff --git a/extra/gnome-disk-utility/PKGBUILD b/extra/gnome-disk-utility/PKGBUILD
index d0398bd9d..a0ce16552 100644
--- a/extra/gnome-disk-utility/PKGBUILD
+++ b/extra/gnome-disk-utility/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-disk-utility
pkgver=3.0.2
pkgrel=1
pkgdesc="GNOME libraries and applications for dealing with storage devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org"
depends=('dbus-glib' 'libgnome-keyring' 'libunique3' 'udisks' 'libnotify' 'hicolor-icon-theme' 'avahi')
diff --git a/extra/gnome-games/PKGBUILD b/extra/gnome-games/PKGBUILD
index 853bcfe8a..cac447e29 100644
--- a/extra/gnome-games/PKGBUILD
+++ b/extra/gnome-games/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-games
pkgver=3.0.2
pkgrel=1
pkgdesc="Some Games for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libsm' 'gconf' 'guile' 'desktop-file-utils' 'libcanberra' 'clutter-gtk' 'hicolor-icon-theme' 'librsvg' 'seed' 'pygobject')
makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection')
diff --git a/extra/gnome-keyring-sharp/PKGBUILD b/extra/gnome-keyring-sharp/PKGBUILD
index e8d024129..39807dce4 100644
--- a/extra/gnome-keyring-sharp/PKGBUILD
+++ b/extra/gnome-keyring-sharp/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=gnome-keyring-sharp
pkgver=1.0.2
pkgrel=2
pkgdesc="A fully managed implementation of libgnome-keyring"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.mono-project.com/Libraries"
license=('custom')
depends=('ndesk-dbus>=0.4' 'libgnome-keyring')
diff --git a/extra/gnome-keyring/PKGBUILD b/extra/gnome-keyring/PKGBUILD
index c8f1a1157..cfa1dc390 100644
--- a/extra/gnome-keyring/PKGBUILD
+++ b/extra/gnome-keyring/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-keyring
pkgver=3.0.3
pkgrel=1
pkgdesc="GNOME Password Management daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('gtk3' 'dconf')
makedepends=('intltool' 'pkgconfig' 'python2')
diff --git a/extra/gnome-mag/PKGBUILD b/extra/gnome-mag/PKGBUILD
index bbe207fa1..8b08b9ee5 100644
--- a/extra/gnome-mag/PKGBUILD
+++ b/extra/gnome-mag/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-mag
pkgver=0.16.3
pkgrel=1
pkgdesc="Gnome magnifier"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.gnome.org"
depends=('at-spi>=1.32.0')
diff --git a/extra/gnome-media/PKGBUILD b/extra/gnome-media/PKGBUILD
index 8e8d3da64..1f0927322 100644
--- a/extra/gnome-media/PKGBUILD
+++ b/extra/gnome-media/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-media
pkgver=2.91.2
pkgrel=2
pkgdesc="GNOME Media Tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libgnome-media-profiles' 'libcanberra' 'hicolor-icon-theme')
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils')
diff --git a/extra/gnome-menus/PKGBUILD b/extra/gnome-menus/PKGBUILD
index 0a0067d13..682651e66 100644
--- a/extra/gnome-menus/PKGBUILD
+++ b/extra/gnome-menus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-menus
pkgver=3.0.1
pkgrel=1
pkgdesc="GNOME menu specifications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glib2' 'python2')
makedepends=('intltool' 'gobject-introspection')
options=('!libtool')
diff --git a/extra/gnome-nettool/PKGBUILD b/extra/gnome-nettool/PKGBUILD
index d9b56afae..026215dfc 100644
--- a/extra/gnome-nettool/PKGBUILD
+++ b/extra/gnome-nettool/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-nettool
pkgver=3.0.0
pkgrel=1
pkgdesc="A Collection of GNOME3 Networking Tools."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
depends=('gtk3' 'libgtop' 'dnsutils' 'netkit-bsd-finger' 'whois' 'hicolor-icon-theme')
makedepends=('gnome-doc-utils' 'pkgconfig' 'intltool')
diff --git a/extra/gnome-perl/PKGBUILD b/extra/gnome-perl/PKGBUILD
index 81f68ee25..cf5d1a776 100644
--- a/extra/gnome-perl/PKGBUILD
+++ b/extra/gnome-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2
pkgver=1.042
pkgrel=6
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-phone-manager/PKGBUILD b/extra/gnome-phone-manager/PKGBUILD
index fc21ea2c1..fd5962276 100644
--- a/extra/gnome-phone-manager/PKGBUILD
+++ b/extra/gnome-phone-manager/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-phone-manager
pkgver=0.66
pkgrel=1
pkgdesc="Control your mobile phone from your GNOME desktop."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/PhoneManager"
license=('GPL')
depends=('evolution-data-server' 'gnokii' 'gnome-bluetooth' 'gnome-icon-theme' 'libcanberra')
diff --git a/extra/gnome-pilot/PKGBUILD b/extra/gnome-pilot/PKGBUILD
index 82d3c5c69..f2751adfa 100644
--- a/extra/gnome-pilot/PKGBUILD
+++ b/extra/gnome-pilot/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-pilot
pkgver=2.91.92
pkgrel=1
pkgdesc="Pilot Support for Gnome"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('pilot-link' 'evolution-data-server')
makedepends=('intltool' 'gob2' 'gnome-doc-utils' 'gnome-panel')
diff --git a/extra/gnome-power-manager/PKGBUILD b/extra/gnome-power-manager/PKGBUILD
index c84277844..4dfe50163 100644
--- a/extra/gnome-power-manager/PKGBUILD
+++ b/extra/gnome-power-manager/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-power-manager
pkgver=3.0.2
pkgrel=2
pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnome.org/projects/gnome-power-manager/"
license=('GPL')
depends=('libnotify' 'gconf' 'libcanberra' 'gnome-icon-theme' 'upower'
diff --git a/extra/gnome-python-desktop/PKGBUILD b/extra/gnome-python-desktop/PKGBUILD
index bee9fec5d..0f5c6cffe 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' 'python-bugbuddy' 'python-evolution' 'python-gnomedesktop' 'python-gnomekeyring' 'python-gtop' 'python-metacity' 'python-rsvg' 'python-totem-plparser' 'python-wnck' 'python-gnomeprint')
pkgver=2.32.0
pkgrel=6
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
options=('!libtool')
makedepends=('intltool' 'pkg-config' 'gnome-python' 'libgnomeprintui' 'libgtop' 'totem-plparser' 'bug-buddy' 'gnome-desktop2' 'metacity' 'librsvg')
diff --git a/extra/gnome-python-extras/PKGBUILD b/extra/gnome-python-extras/PKGBUILD
index ed65bc42a..2e0627415 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-gda' 'python2-gksu2' 'python2-gtkhtml2' 'python2-gtkspell')
pkgver=2.25.3
pkgrel=10
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.daa.com.au/~james/pygtk/"
license=('GPL' 'LGPL')
makedepends=('libgtkhtml' 'gtkspell' 'libgksu' 'libgnomeui' 'libgda' 'python2' 'pygtk' 'gnome-python')
diff --git a/extra/gnome-python/PKGBUILD b/extra/gnome-python/PKGBUILD
index b7a0e897f..26966b96d 100644
--- a/extra/gnome-python/PKGBUILD
+++ b/extra/gnome-python/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=gnome-python
pkgname=('gnome-python' 'python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs')
pkgver=2.28.1
pkgrel=7
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
makedepends=('pygtk' 'pyorbit' 'libgnomeui')
options=('!libtool')
diff --git a/extra/gnome-screensaver/PKGBUILD b/extra/gnome-screensaver/PKGBUILD
index 6b66e6e7e..4b2da8732 100644
--- a/extra/gnome-screensaver/PKGBUILD
+++ b/extra/gnome-screensaver/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-screensaver
pkgver=3.0.0
pkgrel=1
pkgdesc="Screensaver designed to integrate well with the GNOME desktop."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://live.gnome.org/GnomeScreensaver"
backup=(etc/pam.d/gnome-screensaver)
diff --git a/extra/gnome-session/PKGBUILD b/extra/gnome-session/PKGBUILD
index aefd90ecd..3d62ff5bb 100644
--- a/extra/gnome-session/PKGBUILD
+++ b/extra/gnome-session/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-session
pkgver=3.0.2
pkgrel=1
pkgdesc="The GNOME Session Handler"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('upower' 'gtk3' 'gconf' 'startup-notification' 'hicolor-icon-theme' 'libxtst' 'polkit-gnome' 'libgl' 'librsvg'
'gsettings-desktop-schemas' 'consolekit' 'libsm' 'dconf')
diff --git a/extra/gnome-settings-daemon/PKGBUILD b/extra/gnome-settings-daemon/PKGBUILD
index 25433294c..38617dc2e 100644
--- a/extra/gnome-settings-daemon/PKGBUILD
+++ b/extra/gnome-settings-daemon/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-settings-daemon
pkgver=3.0.2
pkgrel=1
pkgdesc="The GNOME Settings daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libgnomekbd' 'gnome-desktop' 'libnotify' 'hicolor-icon-theme'
'libcanberra-pulse' 'gsettings-desktop-schemas' 'nss' 'gconf'
diff --git a/extra/gnome-sharp/PKGBUILD b/extra/gnome-sharp/PKGBUILD
index 276b77a73..c530818c4 100644
--- a/extra/gnome-sharp/PKGBUILD
+++ b/extra/gnome-sharp/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gnome-sharp
pkgname=('gnome-sharp' 'art-sharp' 'gconf-sharp' 'gconf-sharp-peditors' 'libgnome-sharp' 'gnome-vfs-sharp')
pkgver=2.24.2
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(LGPL)
url="http://gtk-sharp.sourceforge.net"
makedepends=('gtk-sharp-2' 'libgnomeui' 'monodoc')
diff --git a/extra/gnome-speech/PKGBUILD b/extra/gnome-speech/PKGBUILD
index 81b95f890..f92d8ff2d 100644
--- a/extra/gnome-speech/PKGBUILD
+++ b/extra/gnome-speech/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-speech
pkgver=0.4.25
pkgrel=1
pkgdesc="Gnome Text-to-Speech"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://www.gnome.org"
depends=('libbonobo>=2.24.1')
diff --git a/extra/gnome-spell/PKGBUILD b/extra/gnome-spell/PKGBUILD
index 020398658..997cb59aa 100644
--- a/extra/gnome-spell/PKGBUILD
+++ b/extra/gnome-spell/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-spell
pkgver=1.0.8
pkgrel=2
pkgdesc="Spell Checking Support for Gnome"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('libgnomeui>=2.24.1' 'enchant>=1.4.2')
makedepends=('pkgconfig' 'intltool')
diff --git a/extra/gnome-system-monitor/PKGBUILD b/extra/gnome-system-monitor/PKGBUILD
index c25d0b22b..04172d277 100644
--- a/extra/gnome-system-monitor/PKGBUILD
+++ b/extra/gnome-system-monitor/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-system-monitor
pkgver=3.0.1
pkgrel=1
pkgdesc="A system monitor for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('libwnck3' 'libgtop' 'gtkmm3' 'librsvg' 'gnome-icon-theme')
makedepends=('pkgconfig' 'gnome-doc-utils' 'intltool')
diff --git a/extra/gnome-terminal/PKGBUILD b/extra/gnome-terminal/PKGBUILD
index a77e25b8b..af4f474be 100644
--- a/extra/gnome-terminal/PKGBUILD
+++ b/extra/gnome-terminal/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-terminal
pkgver=3.0.1
pkgrel=2
pkgdesc="The GNOME Terminal Emulator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gconf' 'vte3' 'gsettings-desktop-schemas' 'libsm')
makedepends=('gnome-doc-utils' 'gtk2' 'intltool')
diff --git a/extra/gnome-themes-standard/PKGBUILD b/extra/gnome-themes-standard/PKGBUILD
index d77d33962..405ffb03d 100644
--- a/extra/gnome-themes-standard/PKGBUILD
+++ b/extra/gnome-themes-standard/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=gnome-themes-standard
pkgver=3.0.2
pkgrel=2
pkgdesc="Default themes for the GNOME desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://abattis.org/cantarell/"
license=('GPL2')
depends=('cantarell-fonts' 'gtk3' 'gtk-engines' 'librsvg')
diff --git a/extra/gnome-user-share/PKGBUILD b/extra/gnome-user-share/PKGBUILD
index e9c45f0d5..82c43da59 100644
--- a/extra/gnome-user-share/PKGBUILD
+++ b/extra/gnome-user-share/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-user-share
pkgver=3.0.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' 'gconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'gnome-bluetooth' 'libcanberra')
diff --git a/extra/gnome-utils/PKGBUILD b/extra/gnome-utils/PKGBUILD
index cbdd24beb..504d130e2 100644
--- a/extra/gnome-utils/PKGBUILD
+++ b/extra/gnome-utils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-utils
pkgver=3.0.1
pkgrel=2
pkgdesc="Common GNOME utilities for viewing disk usage, logs and fonts, taking screenshots, managing dictionaries and searching files"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
depends=('libgtop' 'libcanberra' 'libsm' 'gconf' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'desktop-file-utils')
makedepends=('gnome-doc-utils' 'pkgconfig' 'intltool')
diff --git a/extra/gnome-vfs-perl/PKGBUILD b/extra/gnome-vfs-perl/PKGBUILD
index 3960f5285..885b50ad2 100644
--- a/extra/gnome-vfs-perl/PKGBUILD
+++ b/extra/gnome-vfs-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2-VFS
pkgver=1.081
pkgrel=4
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 6fbc241c5..d3d81d091 100644
--- a/extra/gnome-vfs/PKGBUILD
+++ b/extra/gnome-vfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-vfs
pkgver=2.24.4
pkgrel=4
pkgdesc="The GNOME Virtual File System"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('fam' '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 cb81726bd..74f2ec8ef 100644
--- a/extra/gnome-vfsmm/PKGBUILD
+++ b/extra/gnome-vfsmm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-vfsmm
pkgver=2.26.0
pkgrel=1
pkgdesc="A C++ wrapper for gnome-vfs."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gnome-vfs>=2.24.1' 'glibmm>=2.20.0')
makedepends=('pkgconfig' 'doxygen')
diff --git a/extra/gnomecanvas-perl/PKGBUILD b/extra/gnomecanvas-perl/PKGBUILD
index 2563caae4..88516d278 100644
--- a/extra/gnomecanvas-perl/PKGBUILD
+++ b/extra/gnomecanvas-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2-Canvas
pkgver=1.002
pkgrel=8
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 7a1868d37..520c06703 100644
--- a/extra/gnu-netcat/PKGBUILD
+++ b/extra/gnu-netcat/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.7.1
pkgrel=3
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 cd594befa..dadde70b6 100644
--- a/extra/gnucash/PKGBUILD
+++ b/extra/gnucash/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnucash
pkgver=2.4.7
pkgrel=1
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' 'goffice' 'libgnomeui' 'hicolor-icon-theme'
diff --git a/extra/gnuchess/PKGBUILD b/extra/gnuchess/PKGBUILD
index dedeaddb7..5e6a71091 100644
--- a/extra/gnuchess/PKGBUILD
+++ b/extra/gnuchess/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=6.0.0
pkgrel=1
pkgdesc="Lets most modern computers play a full game of chess"
url="http://www.gnu.org/software/chess/chess.html"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc' 'ncurses' 'readline')
source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
diff --git a/extra/gnumeric/PKGBUILD b/extra/gnumeric/PKGBUILD
index 2fd9e4799..0986173ff 100644
--- a/extra/gnumeric/PKGBUILD
+++ b/extra/gnumeric/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnumeric
pkgver=1.10.15
pkgrel=2
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' 'gconf' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/gnupg/PKGBUILD b/extra/gnupg/PKGBUILD
index 997075abb..43bb5d030 100644
--- a/extra/gnupg/PKGBUILD
+++ b/extra/gnupg/PKGBUILD
@@ -5,16 +5,19 @@ pkgname=gnupg
pkgver=1.4.11
pkgrel=3
pkgdesc="GNU Privacy Guard - a PGP replacement tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
depends=('zlib' 'bzip2' 'libldap>=2.4.18' 'libusb-compat' 'curl>=7.16.2' 'readline>=6.0.00')
-source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/$pkgname-$pkgver.tar.bz2)
+source=(ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg/$pkgname-$pkgver.tar.bz2
+ gnupg_1.4.11_mips_gcc4.4.patch)
install=gnupg.install
url="http://www.gnupg.org/"
-md5sums=('411744e1ef8ce90b87938c4203f001f1')
+md5sums=('411744e1ef8ce90b87938c4203f001f1'
+ '2d919d48c847e9856dabdbb66328f09a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/gnupg_1.4.11_mips_gcc4.4.patch
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--enable-noexecstack
diff --git a/extra/gnupg/gnupg_1.4.11_mips_gcc4.4.patch b/extra/gnupg/gnupg_1.4.11_mips_gcc4.4.patch
new file mode 100644
index 000000000..5fcbdc628
--- /dev/null
+++ b/extra/gnupg/gnupg_1.4.11_mips_gcc4.4.patch
@@ -0,0 +1,47 @@
+## mips_gcc4.4 by Werner Koch
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Build fails on mips(el) due to changes the removal
+## DP: of the 'h' constraint for MIPS in gcc-4.4.x versions.
+## DP: <URL:http://lists.gnupg.org/pipermail/gnupg-devel/2010-October/025805.html>
+
+diff -Nur gnupg-1.4.11.orig/mpi/longlong.h gnupg-1.4.11/mpi/longlong.h
+--- gnupg-1.4.11.orig/mpi/longlong.h 2010-06-01 13:01:46.000000000 +0200
++++ gnupg-1.4.11/mpi/longlong.h 2010-10-28 22:01:19.000000000 +0200
+@@ -710,12 +710,13 @@
+ ************** MIPS *****************
+ ***************************************/
+ #if defined (__mips__) && W_TYPE_SIZE == 32
+-#if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR >= 4 )
+-#define umul_ppmm(w1, w0, u, v) \
++#if (__GNUC__ >= 5) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
++#define umul_ppmm(w1, w0, u, v) \
+ do { \
+- UDItype __ll = (UDItype)(u) * (v); \
+- w1 = __ll >> 32; \
+- w0 = __ll; \
++ UDItype _r; \
++ _r = (UDItype) u * v; \
++ (w1) = _r >> 32; \
++ (w0) = (USItype) _r; \
+ } while (0)
+ #elif __GNUC__ > 2 || __GNUC_MINOR__ >= 7
+ #define umul_ppmm(w1, w0, u, v) \
+@@ -742,7 +743,16 @@
+ ************** MIPS/64 **************
+ ***************************************/
+ #if (defined (__mips) && __mips >= 3) && W_TYPE_SIZE == 64
+-#if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
++# if (__GNUC__ >= 5) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
++ typedef unsigned int UTItype __attribute__ ((mode (TI)));
++ # define umul_ppmm(w1, w0, u, v) \
++ do { \
++ UTItype _r; \
++ _r = (UTItype) u * v; \
++ (w1) = _r >> 64; \
++ (w0) = (UDItype) _r; \
++ } while (0)
++# elif if __GNUC__ > 2 || __GNUC_MINOR__ >= 7
+ #define umul_ppmm(w1, w0, u, v) \
+ __asm__ ("dmultu %2,%3" \
+ : "=l" ((UDItype)(w0)), \
diff --git a/extra/gnupg2/PKGBUILD b/extra/gnupg2/PKGBUILD
index e2711da0d..bf43a7572 100644
--- a/extra/gnupg2/PKGBUILD
+++ b/extra/gnupg2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnupg2
pkgver=2.0.17
pkgrel=1
pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libldap' 'curl' 'bzip2' 'zlib' 'libksba' 'libgcrypt'
'pth' 'libusb-compat' 'libassuan' 'texinfo' 'readline' 'pinentry' 'dirmngr')
license=('GPL')
diff --git a/extra/gnuplot/PKGBUILD b/extra/gnuplot/PKGBUILD
index 1207d38a3..9f5b437c4 100644
--- a/extra/gnuplot/PKGBUILD
+++ b/extra/gnuplot/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gnuplot
pkgver=4.4.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 6f4fe2870..c8358321c 100644
--- a/extra/gnutls/PKGBUILD
+++ b/extra/gnutls/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnutls
pkgver=2.12.7
pkgrel=2
pkgdesc="A library which provides a secure layer over a reliable transport layer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/gnutls/"
install=gnutls.install
diff --git a/extra/gob2/PKGBUILD b/extra/gob2/PKGBUILD
index 72f0a35df..aedce43a2 100644
--- a/extra/gob2/PKGBUILD
+++ b/extra/gob2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gob2
pkgver=2.0.17
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 a2063056c..a3471ac2c 100644
--- a/extra/gobject-introspection/PKGBUILD
+++ b/extra/gobject-introspection/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=0.10.8
pkgrel=1
pkgdesc="Introspection system for GObject-based libraries"
url="http://live.gnome.org/GObjectInstrospection"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
license=('LGPL' 'GPL')
depends=('libffi' 'glib2' 'python2')
makedepends=('cairo')
diff --git a/extra/goffice/PKGBUILD b/extra/goffice/PKGBUILD
index 0352c9453..cc3b434f1 100644
--- a/extra/goffice/PKGBUILD
+++ b/extra/goffice/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=goffice
pkgver=0.8.15
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')
options=('!libtool')
diff --git a/extra/gok/PKGBUILD b/extra/gok/PKGBUILD
index 062ce91b4..a0d841433 100644
--- a/extra/gok/PKGBUILD
+++ b/extra/gok/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gok
pkgver=2.30.1
pkgrel=1
pkgdesc="Gnome Onscreen Keyboard"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.gnome.org"
depends=('gnome-speech>=0.4.25' 'at-spi>=1.32' 'libwnck>=2.30.5' 'hicolor-icon-theme' 'libcanberra>=0.25' 'gconf>=2.32.0')
diff --git a/extra/gpart/PKGBUILD b/extra/gpart/PKGBUILD
index 8798449cd..312ef2953 100644
--- a/extra/gpart/PKGBUILD
+++ b/extra/gpart/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gpart
pkgver=0.1h
pkgrel=4
pkgdesc="A program for recovering corrupt partition tables"
-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 112ee183b..77c1e9866 100644
--- a/extra/gparted/PKGBUILD
+++ b/extra/gparted/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gparted
pkgver=0.9.0
pkgrel=3
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' 'libsigc++')
diff --git a/extra/gperf/PKGBUILD b/extra/gperf/PKGBUILD
index fa560e23b..f3fb917ad 100644
--- a/extra/gperf/PKGBUILD
+++ b/extra/gperf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gperf
pkgver=3.0.4
pkgrel=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/gpgme/PKGBUILD b/extra/gpgme/PKGBUILD
index 3593bb5e7..4b3767af5 100644
--- a/extra/gpgme/PKGBUILD
+++ b/extra/gpgme/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gpgme
pkgver=1.3.1
pkgrel=1
pkgdesc="A C wrapper library for GnuPG"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnupg.org/related_software/gpgme/"
license=('GPL')
depends=('libgpg-error' 'pth' 'gnupg' 'gnupg2')
diff --git a/extra/gphoto2/PKGBUILD b/extra/gphoto2/PKGBUILD
index 87e3e619f..88de2bc72 100644
--- a/extra/gphoto2/PKGBUILD
+++ b/extra/gphoto2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gphoto2
pkgver=2.4.10
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>=2.4.10' 'popt' 'aalib' 'readline>=6.1')
diff --git a/extra/gpsd/PKGBUILD b/extra/gpsd/PKGBUILD
index d26892a8a..26a2a8b0d 100644
--- a/extra/gpsd/PKGBUILD
+++ b/extra/gpsd/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=gpsd
pkgver=2.96
pkgrel=1
pkgdesc="GPS daemon and library to support USB/serial GPS devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gpsd.berlios.de"
license=('BSD')
depends=('lesstif' 'libxaw' 'python2' 'pth' 'libusb' 'desktop-file-utils')
diff --git a/extra/gqview/PKGBUILD b/extra/gqview/PKGBUILD
index 2d61ae442..44ab204b6 100644
--- a/extra/gqview/PKGBUILD
+++ b/extra/gqview/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gqview
pkgver=2.0.4
pkgrel=3
pkgdesc="An image browser and viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gqview.sourceforge.net/"
license=('GPL')
depends=('gtk2')
diff --git a/extra/grantlee/PKGBUILD b/extra/grantlee/PKGBUILD
index 339906704..1b767eba5 100644
--- a/extra/grantlee/PKGBUILD
+++ b/extra/grantlee/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=grantlee
pkgver=0.1.9
pkgrel=1
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=('qt')
diff --git a/extra/graphicsmagick/PKGBUILD b/extra/graphicsmagick/PKGBUILD
index 70b39d568..5a6aa519b 100644
--- a/extra/graphicsmagick/PKGBUILD
+++ b/extra/graphicsmagick/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=graphicsmagick
pkgver=1.3.12
pkgrel=2
pkgdesc="Image processing system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.graphicsmagick.org/"
license=('MIT')
makedepends=('perl')
diff --git a/extra/graphite/PKGBUILD b/extra/graphite/PKGBUILD
index 622ab8eb0..d43977d94 100644
--- a/extra/graphite/PKGBUILD
+++ b/extra/graphite/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=graphite
pkgname=('libgraphite' 'pango-graphite')
pkgver=2.3.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://graphite.sil.org/"
makedepends=('pango' 'gcc-libs')
options=('!libtool' '!emptydirs')
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD
index f1e8ba234..2af2c4c62 100644
--- a/extra/graphviz/PKGBUILD
+++ b/extra/graphviz/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=4
pkgdesc='Graph visualization software'
url='http://www.graphviz.org/'
license=('custom:EPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gd' 'librsvg' 'libxaw' 'ghostscript' 'pango')
makedepends=('swig' 'mono' 'guile' 'lua' 'ocaml' 'perl' 'php' 'python2' 'r' 'ruby' 'tk' 'qt')
optdepends=('mono: sharp bindings'
diff --git a/extra/grip/PKGBUILD b/extra/grip/PKGBUILD
index 9cc95af96..02ad244fb 100644
--- a/extra/grip/PKGBUILD
+++ b/extra/grip/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=grip
pkgver=3.3.1
pkgrel=8
pkgdesc="A cd-player and ripper for the Gnome desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://nostatic.org/grip/"
depends=('vte' 'curl' 'libgnomeui' 'id3lib' 'cdparanoia')
diff --git a/extra/gsf-sharp/PKGBUILD b/extra/gsf-sharp/PKGBUILD
index c0857719e..feabbdea4 100644
--- a/extra/gsf-sharp/PKGBUILD
+++ b/extra/gsf-sharp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gsf-sharp
pkgver=0.8.1
pkgrel=3
pkgdesc="libgsf .NET binding"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://go-mono.org/"
license=('LGPL2')
depends=('libgsf>=1.14.1' 'gtk-sharp-2>=2.10')
diff --git a/extra/gsl/PKGBUILD b/extra/gsl/PKGBUILD
index eda29fb4c..228d50dd8 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.belnet.be/mirror/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')
options=('!libtool')
sha1sums=('d914f84b39a5274b0a589d9b83a66f44cd17ca8e')
diff --git a/extra/gsm/PKGBUILD b/extra/gsm/PKGBUILD
index 647cd2778..b95d4f4e5 100644
--- a/extra/gsm/PKGBUILD
+++ b/extra/gsm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gsm
pkgver=1.0.13
pkgrel=6
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/gstreamer0.10-base/PKGBUILD b/extra/gstreamer0.10-base/PKGBUILD
index f1bb35503..093203eb2 100644
--- a/extra/gstreamer0.10-base/PKGBUILD
+++ b/extra/gstreamer0.10-base/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=('gstreamer0.10-base')
pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
pkgver=0.10.34
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10>=0.10.34' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
options=(!libtool !emptydirs)
diff --git a/extra/gstreamer0.10-ffmpeg/PKGBUILD b/extra/gstreamer0.10-ffmpeg/PKGBUILD
index eb0592572..b7cbc2aaa 100644
--- a/extra/gstreamer0.10-ffmpeg/PKGBUILD
+++ b/extra/gstreamer0.10-ffmpeg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gstreamer0.10-ffmpeg
pkgver=0.10.11
pkgrel=1
pkgdesc="Gstreamer FFMpeg Plugin"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gstreamer0.10-base>=0.10.30' 'bzip2')
makedepends=('pkgconfig' 'yasm' 'sdl')
diff --git a/extra/gstreamer0.10-good/PKGBUILD b/extra/gstreamer0.10-good/PKGBUILD
index 98528c8c1..f8b0dfbf3 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.29
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base>=0.10.34' 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv' 'esound' 'flac' 'gconf' 'wavpack' 'taglib' 'libsoup-gnome' 'v4l-utils' 'libcaca' 'bzip2' 'gdk-pixbuf2' 'libpulse' 'jack' 'udev')
url="http://gstreamer.freedesktop.org/"
@@ -21,8 +21,8 @@ build() {
--disable-static --enable-experimental \
--disable-schemas-install \
--disable-hal \
- --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 a4e6c86ec..610483475 100644
--- a/extra/gstreamer0.10-python/PKGBUILD
+++ b/extra/gstreamer0.10-python/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gstreamer0.10-python
pkgver=0.10.21
pkgrel=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 9f1074038..7c05964ef 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.18
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.34' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libid3tag' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
url="http://gstreamer.freedesktop.org/"
diff --git a/extra/gstreamer0.10/PKGBUILD b/extra/gstreamer0.10/PKGBUILD
index bde26b026..e7498d2be 100644
--- a/extra/gstreamer0.10/PKGBUILD
+++ b/extra/gstreamer0.10/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gstreamer0.10
pkgver=0.10.35
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')
diff --git a/extra/gthumb/PKGBUILD b/extra/gthumb/PKGBUILD
index 204db112e..4c62ed307 100644
--- a/extra/gthumb/PKGBUILD
+++ b/extra/gthumb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gthumb
pkgver=2.13.2
pkgrel=1
pkgdesc="Image browser and viewer for the GNOME Desktop"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://gthumb.sourceforge.net/"
depends=('desktop-file-utils' 'libunique' 'gconf' 'exiv2' 'libsoup-gnome' 'clutter-gtk2')
diff --git a/extra/gtk-engines/PKGBUILD b/extra/gtk-engines/PKGBUILD
index d614c9def..d9b0c8f79 100644
--- a/extra/gtk-engines/PKGBUILD
+++ b/extra/gtk-engines/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gtk-engines
pkgver=2.20.2
pkgrel=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=('pkgconfig' 'intltool')
diff --git a/extra/gtk-qt-engine/PKGBUILD b/extra/gtk-qt-engine/PKGBUILD
index 81cd26667..ab50578bf 100644
--- a/extra/gtk-qt-engine/PKGBUILD
+++ b/extra/gtk-qt-engine/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtk-qt-engine
pkgver=1.1
pkgrel=2
pkgdesc="A GTK engine which makes your GTK2 Apps match your QT theme"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://code.google.com/p/gtk-qt-engine/"
depends=('libbonoboui' 'kdelibs')
diff --git a/extra/gtk-sharp-2/PKGBUILD b/extra/gtk-sharp-2/PKGBUILD
index 8b8e86e0b..46ccad415 100644
--- a/extra/gtk-sharp-2/PKGBUILD
+++ b/extra/gtk-sharp-2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gtk-sharp-2
pkgver=2.12.10
pkgrel=1
pkgdesc="gtk2 bindings for C#"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk-sharp.sourceforge.net"
depends=('mono>=2.4' 'libglade>=2.6.4' 'gtk2>=2.18.0')
diff --git a/extra/gtk-vnc/PKGBUILD b/extra/gtk-vnc/PKGBUILD
index 9487d8769..a7e0372fb 100644
--- a/extra/gtk-vnc/PKGBUILD
+++ b/extra/gtk-vnc/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=gtk-vnc
pkgver=0.4.3
pkgrel=1
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=('gtk3')
diff --git a/extra/gtk-xfce-engine/PKGBUILD b/extra/gtk-xfce-engine/PKGBUILD
index bdf87e2cb..ec2a3bf00 100644
--- a/extra/gtk-xfce-engine/PKGBUILD
+++ b/extra/gtk-xfce-engine/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtk-xfce-engine
pkgver=2.8.1
pkgrel=1
pkgdesc="A port of Xfce engine to GTK+-2.0"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
diff --git a/extra/gtk/PKGBUILD b/extra/gtk/PKGBUILD
index 4895b5942..393e13697 100644
--- a/extra/gtk/PKGBUILD
+++ b/extra/gtk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtk
pkgver=1.2.10
pkgrel=10
pkgdesc="The GTK+ toolkit"
-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 215b21109..ba731572e 100644
--- a/extra/gtk2-perl/PKGBUILD
+++ b/extra/gtk2-perl/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Gtk2
pkgver=1.222
pkgrel=3
pkgdesc="Gtk2-Perl allows Perl developers to write GTK+ 2.x applications."
-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 880d69593..7a3a36e81 100644
--- a/extra/gtk2/PKGBUILD
+++ b/extra/gtk2/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gtk2
pkgname=('gtk2' 'gtk-update-icon-cache')
pkgver=2.24.5
pkgrel=3
-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 6cdf1417f..ffa168329 100644
--- a/extra/gtk3/PKGBUILD
+++ b/extra/gtk3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gtk3
pkgver=3.0.12
pkgrel=1
pkgdesc="The GTK+ 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' 'libxcomposite' 'libxdamage' 'pango' 'shared-mime-info')
diff --git a/extra/gtkglext/PKGBUILD b/extra/gtkglext/PKGBUILD
index 50170f6a3..25b17a369 100644
--- a/extra/gtkglext/PKGBUILD
+++ b/extra/gtkglext/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtkglext
pkgver=1.2.0
pkgrel=6
pkgdesc="opengl extensions for gtk2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkglext.sourceforge.net/"
license=('LGPL')
depends=('gtk2' 'mesa' 'libxmu')
diff --git a/extra/gtkglextmm/PKGBUILD b/extra/gtkglextmm/PKGBUILD
index aa90a4bd9..e29ba745b 100644
--- a/extra/gtkglextmm/PKGBUILD
+++ b/extra/gtkglextmm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtkglextmm
pkgver=1.2.0
pkgrel=6
pkgdesc="Cpp C++ bindings for gtkglext"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkglext.sourceforge.net/"
depends=('gtkmm' 'gtkglext')
makedepends=('pkgconfig')
diff --git a/extra/gtkhtml/PKGBUILD b/extra/gtkhtml/PKGBUILD
index c92e9fcaf..9f55b0792 100644
--- a/extra/gtkhtml/PKGBUILD
+++ b/extra/gtkhtml/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gtkhtml
pkgver=3.32.2
pkgrel=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')
diff --git a/extra/gtkimageview/PKGBUILD b/extra/gtkimageview/PKGBUILD
index 1b90282d8..fb26676a2 100644
--- a/extra/gtkimageview/PKGBUILD
+++ b/extra/gtkimageview/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gtkimageview
pkgver=1.6.4
pkgrel=1
pkgdesc="Simple image viewer widget for GTK"
-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/PKGBUILD b/extra/gtkmathview/PKGBUILD
index 58e10f4df..6c41553a3 100644
--- a/extra/gtkmathview/PKGBUILD
+++ b/extra/gtkmathview/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtkmathview
pkgver=0.8.0
pkgrel=2
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>=0.2.6')
diff --git a/extra/gtkmm/PKGBUILD b/extra/gtkmm/PKGBUILD
index 35801c5cc..00f5ccec6 100644
--- a/extra/gtkmm/PKGBUILD
+++ b/extra/gtkmm/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=gtkmm
pkgname=('gtkmm' 'gtkmm-docs')
pkgver=2.24.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('gtk2' 'pangomm' 'atkmm' 'glibmm-docs')
license=('LGPL')
options=('!libtool' '!emptydirs')
diff --git a/extra/gtkpod/PKGBUILD b/extra/gtkpod/PKGBUILD
index 7fa7f8e4f..f97093a3d 100644
--- a/extra/gtkpod/PKGBUILD
+++ b/extra/gtkpod/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtkpod
pkgver=1.0.0
pkgrel=1
pkgdesc="A platform independent GUI for Apple's iPod using GTK2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://gtkpod.sourceforge.net"
install=gtkpod.install
diff --git a/extra/gtksourceview2/PKGBUILD b/extra/gtksourceview2/PKGBUILD
index 21473004f..08f887870 100644
--- a/extra/gtksourceview2/PKGBUILD
+++ b/extra/gtksourceview2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gtksourceview2
pkgver=2.10.5
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=('gtk2>=2.22.0' 'libxml2>=2.7.7')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/gtkspell/PKGBUILD b/extra/gtkspell/PKGBUILD
index 162584730..272c319ed 100644
--- a/extra/gtkspell/PKGBUILD
+++ b/extra/gtkspell/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.0.16
pkgrel=1
url="http://gtkspell.sourceforge.net/"
pkgdesc="GtkSpell 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>=2.18.3' 'enchant>=1.5.0')
makedepends=('intltool' 'gtk-doc')
diff --git a/extra/gucharmap/PKGBUILD b/extra/gucharmap/PKGBUILD
index d1678816e..36882078c 100644
--- a/extra/gucharmap/PKGBUILD
+++ b/extra/gucharmap/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gucharmap
pkgver=3.0.1
pkgrel=1
pkgdesc="Gnome Unicode Charmap"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org"
depends=('gconf' 'hicolor-icon-theme')
diff --git a/extra/guile/PKGBUILD b/extra/guile/PKGBUILD
index eafece87a..54e90fd83 100644
--- a/extra/guile/PKGBUILD
+++ b/extra/guile/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.8.8
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' 'libtool' 'ncurses>=5.7' 'texinfo')
install=guile.install
diff --git a/extra/gutenprint/PKGBUILD b/extra/gutenprint/PKGBUILD
index 602d12bb4..219ea49e7 100644
--- a/extra/gutenprint/PKGBUILD
+++ b/extra/gutenprint/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gutenprint
pkgver=5.2.7
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>=2.12.3') # 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 028bacf99..8ce7b917d 100644
--- a/extra/gv/PKGBUILD
+++ b/extra/gv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gv
pkgver=3.7.2
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=('GPL')
depends=('xaw3d' 'ghostscript' 'desktop-file-utils')
diff --git a/extra/gvfs/PKGBUILD b/extra/gvfs/PKGBUILD
index 7169a5364..48ee41746 100644
--- a/extra/gvfs/PKGBUILD
+++ b/extra/gvfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gvfs
pkgname=('gvfs' 'gvfs-smb' 'gvfs-afc' 'gvfs-gphoto2' 'gvfs-obexftp')
pkgver=1.8.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('libsoup-gnome' 'libcdio' 'fuse' 'bluez' 'smbclient' 'libgphoto2'
'libarchive' 'gnome-disk-utility' 'pkgconfig' 'intltool'
diff --git a/extra/gweled/PKGBUILD b/extra/gweled/PKGBUILD
index df62dc0a4..ce87fb21e 100644
--- a/extra/gweled/PKGBUILD
+++ b/extra/gweled/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gweled
pkgver=0.9.1
pkgrel=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 5ef6cde6f..47910aa47 100644
--- a/extra/habak/PKGBUILD
+++ b/extra/habak/PKGBUILD
@@ -9,7 +9,7 @@ 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')
md5sums=('bee5c394989367f7a4c5cb9ec99d307c')
build() {
diff --git a/extra/hal/PKGBUILD b/extra/hal/PKGBUILD
index 6eaf1c847..a78832db8 100644
--- a/extra/hal/PKGBUILD
+++ b/extra/hal/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hal
pkgver=0.5.14
pkgrel=6
pkgdesc="Hardware Abstraction Layer"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'custom')
url="http://www.freedesktop.org/wiki/Software/hal"
depends=('dbus-glib>=0.82' 'libusb-compat' 'udev>=146' 'filesystem>=0.7.1-5' 'hal-info>=0.20090716' 'eject' 'dmidecode' 'pciutils>=3.0.2' 'usbutils>=0.73-5' 'pm-utils>=1.2.5' 'consolekit>=0.4.1' 'util-linux-ng>=2.16')
diff --git a/extra/happy/PKGBUILD b/extra/happy/PKGBUILD
index ac93ba2bf..f9cb98065 100644
--- a/extra/happy/PKGBUILD
+++ b/extra/happy/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.18.6
pkgrel=1
pkgdesc="The Parser Generator for Haskell"
url="http://www.haskell.org/happy/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=("custom:BSD3")
depends=(gmp)
makedepends=(ghc=7.0.2 haskell-mtl=2.0.1.0)
diff --git a/extra/haskell-cgi/PKGBUILD b/extra/haskell-cgi/PKGBUILD
index 4b64ba578..1ebe591af 100644
--- a/extra/haskell-cgi/PKGBUILD
+++ b/extra/haskell-cgi/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3.1
pkgdesc="A library for writing CGI programs"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ghc=7.0.3-2' 'haskell-mtl=2.0.1.0-3.1' 'haskell-network=2.3.0.2-2.1' 'haskell-parsec=3.1.1-2.1' 'haskell-xhtml=3000.2.0.1-7.1')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
diff --git a/extra/haskell-deepseq/PKGBUILD b/extra/haskell-deepseq/PKGBUILD
index 934303f2b..92818f74c 100644
--- a/extra/haskell-deepseq/PKGBUILD
+++ b/extra/haskell-deepseq/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2.1
pkgdesc="Fully evaluate data structures"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=(ghc=7.0.3-2 sh)
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
diff --git a/extra/haskell-fgl/PKGBUILD b/extra/haskell-fgl/PKGBUILD
index 45f466e91..a397c16a1 100644
--- a/extra/haskell-fgl/PKGBUILD
+++ b/extra/haskell-fgl/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=4.1
pkgdesc="Martin Erwig's Functional Graph Library"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=()
depends=('ghc=7.0.3-2' 'haskell-mtl=2.0.1.0-3.1')
options=('strip')
diff --git a/extra/haskell-glut/PKGBUILD b/extra/haskell-glut/PKGBUILD
index 98a30495c..c47b76613 100644
--- a/extra/haskell-glut/PKGBUILD
+++ b/extra/haskell-glut/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=7.1
pkgdesc="A binding for the OpenGL Utility Toolkit"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=()
depends=('ghc=7.0.3-2' 'haskell-opengl=2.2.3.0-7.1' 'freeglut')
options=('strip')
diff --git a/extra/haskell-haskell-src/PKGBUILD b/extra/haskell-haskell-src/PKGBUILD
index eeb4844a7..dfc85c3a6 100644
--- a/extra/haskell-haskell-src/PKGBUILD
+++ b/extra/haskell-haskell-src/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2.1
pkgdesc="Facilities for manipulating Haskell source code: an abstract syntax, lexer, parser and pretty-printer."
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ghc=7.0.3-2' 'haskell-syb=0.3-2.1' sh)
makedepends=(happy)
options=('strip')
diff --git a/extra/haskell-html/PKGBUILD b/extra/haskell-html/PKGBUILD
index 1d207117e..203bc1589 100644
--- a/extra/haskell-html/PKGBUILD
+++ b/extra/haskell-html/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=9.1
pkgdesc="HTML combinator library"
url="http://hackage.haskell.org/package/html"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=(ghc=7.0.3-2 sh)
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
diff --git a/extra/haskell-http/PKGBUILD b/extra/haskell-http/PKGBUILD
index d1106c478..f0f33d5cb 100644
--- a/extra/haskell-http/PKGBUILD
+++ b/extra/haskell-http/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3.1
pkgdesc="A library for client-side HTTP"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ghc=7.0.3-2' sh 'haskell-network=2.3.0.2-2.1' 'haskell-parsec=3.1.1-2.1' 'haskell-mtl=2.0.1.0-3.1')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
diff --git a/extra/haskell-hunit/PKGBUILD b/extra/haskell-hunit/PKGBUILD
index 401887e4e..c2009a927 100644
--- a/extra/haskell-hunit/PKGBUILD
+++ b/extra/haskell-hunit/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2.1
pkgdesc="A unit testing framework for Haskell"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=(ghc=7.0.3-2 sh)
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz)
diff --git a/extra/haskell-mtl/PKGBUILD b/extra/haskell-mtl/PKGBUILD
index e0ee184de..932f9360c 100644
--- a/extra/haskell-mtl/PKGBUILD
+++ b/extra/haskell-mtl/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=3.1
pkgdesc="Monad transformer library"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=(ghc=7.0.3-2 sh 'haskell-transformers=0.2.2.0-3.1')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz)
diff --git a/extra/haskell-network/PKGBUILD b/extra/haskell-network/PKGBUILD
index 372cdf623..2d1b78c75 100644
--- a/extra/haskell-network/PKGBUILD
+++ b/extra/haskell-network/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2.1
pkgdesc="Networking-related facilities"
url="http://hackage.haskell.org/package/network"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=(ghc=7.0.3-2 sh 'haskell-parsec=3.1.1-2.1')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
diff --git a/extra/haskell-opengl/PKGBUILD b/extra/haskell-opengl/PKGBUILD
index 8d70bbc91..909a68239 100644
--- a/extra/haskell-opengl/PKGBUILD
+++ b/extra/haskell-opengl/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=7.1
pkgdesc="A binding for the OpenGL graphics system"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ghc=7.0.3-2' 'mesa')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
diff --git a/extra/haskell-parallel/PKGBUILD b/extra/haskell-parallel/PKGBUILD
index 0e46c2c93..7b13af989 100644
--- a/extra/haskell-parallel/PKGBUILD
+++ b/extra/haskell-parallel/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3.1
pkgdesc="Parallel programming library"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=(ghc=7.0.3-2 sh 'haskell-deepseq=1.1.0.2-2.1')
options=('strip')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz)
diff --git a/extra/hd2u/PKGBUILD b/extra/hd2u/PKGBUILD
index be78c1ea0..6146876e9 100644
--- a/extra/hd2u/PKGBUILD
+++ b/extra/hd2u/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hd2u
pkgver=1.0.3
pkgrel=3
pkgdesc="Dos2Unix text file converter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://hany.sk/~hany/software/hd2u/"
depends=('popt')
diff --git a/extra/hddtemp/PKGBUILD b/extra/hddtemp/PKGBUILD
index f43fb8f50..32b3c6b03 100644
--- a/extra/hddtemp/PKGBUILD
+++ b/extra/hddtemp/PKGBUILD
@@ -9,7 +9,7 @@ _origver=0.3-beta15
_patchver=46
pkgrel=1
pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.guzu.net/linux/hddtemp.php"
license=('GPL')
depends=('glibc')
diff --git a/extra/hdf5/PKGBUILD b/extra/hdf5/PKGBUILD
index b727cf225..e4804547e 100644
--- a/extra/hdf5/PKGBUILD
+++ b/extra/hdf5/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=hdf5
pkgver=1.8.7
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/help2man/PKGBUILD b/extra/help2man/PKGBUILD
index 525dd9a65..18157c3f9 100644
--- a/extra/help2man/PKGBUILD
+++ b/extra/help2man/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=help2man
pkgver=1.40.4
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/hercules/PKGBUILD b/extra/hercules/PKGBUILD
index e78a2bee3..1dd88290c 100644
--- a/extra/hercules/PKGBUILD
+++ b/extra/hercules/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="A software implementation of the mainframe System/370 and ESA/390 architectures"
url="http://www.hercules-390.org/"
source=(http://www.hercules-390.org/$pkgname-$pkgver.tar.gz)
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
options=(!libtool)
depends=('bzip2' 'libgcrypt' 'zlib')
diff --git a/extra/hexedit/PKGBUILD b/extra/hexedit/PKGBUILD
index bc2a5bfd0..f9fda6944 100644
--- a/extra/hexedit/PKGBUILD
+++ b/extra/hexedit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hexedit
pkgver=1.2.12
pkgrel=4
pkgdesc="Hex Editor for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://merd.net/pixel/hexedit.html"
license=('GPL')
depends=('ncurses')
diff --git a/extra/hplip/PKGBUILD b/extra/hplip/PKGBUILD
index 961e43b3f..6692d95d8 100644
--- a/extra/hplip/PKGBUILD
+++ b/extra/hplip/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hplip
pkgver=3.11.7
pkgrel=1
pkgdesc="Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet and some LaserJet"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hplipopensource.com"
license=('GPL')
makedepends=('python2-qt' 'pygobject' 'pkgconfig' 'sane' 'rpcbind' 'cups')
diff --git a/extra/hpoj/PKGBUILD b/extra/hpoj/PKGBUILD
index f7a775365..f87b8385d 100644
--- a/extra/hpoj/PKGBUILD
+++ b/extra/hpoj/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hpoj
pkgver=0.91
pkgrel=16
pkgdesc="Hewlett-Packard OfficeJet, PSC, LaserJet, and PhotoSmart printer multi-function peripherals (MFPs) drivers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hpoj.sourceforge.net"
license=('GPL' 'custom')
depends=('perl' 'libusb-compat' 'net-snmp>=5.6.1' 'hplip>=1.7.2')
diff --git a/extra/hspell/PKGBUILD b/extra/hspell/PKGBUILD
index 81b12ed44..43326029e 100644
--- a/extra/hspell/PKGBUILD
+++ b/extra/hspell/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=hspell
pkgname=('hspell' 'hunspell-he')
pkgver=1.1
pkgrel=1
-arch=(i686 x86_64)
+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 38418ee68..f40457224 100644
--- a/extra/htdig/PKGBUILD
+++ b/extra/htdig/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=3.2.0b6
pkgrel=7
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')
options=('!libtool' 'emptydirs')
diff --git a/extra/htop/PKGBUILD b/extra/htop/PKGBUILD
index 75e357adf..447b035a7 100644
--- a/extra/htop/PKGBUILD
+++ b/extra/htop/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=htop
pkgver=0.9
pkgrel=2
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 05ca2c60e..155602fa5 100644
--- a/extra/hugin/PKGBUILD
+++ b/extra/hugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=hugin
pkgver=2011.0.0
pkgrel=2
pkgdesc="A frontend to the panorama-tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hugin.sourceforge.net/"
license=('LGPL')
depends=('wxgtk' 'libpano13' 'boost-libs' 'enblend-enfuse' 'exiv2' 'openexr'
diff --git a/extra/hunspell/PKGBUILD b/extra/hunspell/PKGBUILD
index fefa04db4..7996411ee 100644
--- a/extra/hunspell/PKGBUILD
+++ b/extra/hunspell/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hunspell
pkgver=1.3.2
pkgrel=1
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 e0d40b332..b7713d267 100644
--- a/extra/hwloc/PKGBUILD
+++ b/extra/hwloc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=hwloc
pkgver=1.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')
diff --git a/extra/hydrogen/PKGBUILD b/extra/hydrogen/PKGBUILD
index 33e3805b1..3dc9b7c38 100644
--- a/extra/hydrogen/PKGBUILD
+++ b/extra/hydrogen/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=hydrogen
pkgver=0.9.5
pkgrel=1
pkgdesc="Advanced Drum Machine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.hydrogen-music.org/"
depends=('libarchive' 'liblrdf' 'qt' 'jack')
diff --git a/extra/hylafax/PKGBUILD b/extra/hylafax/PKGBUILD
index f0e678297..a5f794452 100644
--- a/extra/hylafax/PKGBUILD
+++ b/extra/hylafax/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=hylafax
pkgver=6.0.4
pkgrel=1
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 c50ecd886..51291ba39 100644
--- a/extra/hyphen/PKGBUILD
+++ b/extra/hyphen/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=hyphen
pkgname=('hyphen' 'hyphen-en')
pkgver=2.7.1
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hunspell.sf.net"
license=('GPL' 'LGPL' 'MPL')
groups=()
diff --git a/extra/i8kutils/PKGBUILD b/extra/i8kutils/PKGBUILD
index 51329a77f..eba677659 100644
--- a/extra/i8kutils/PKGBUILD
+++ b/extra/i8kutils/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="Dell Inspiron/Latitude kernel driver and utilities"
url="http://people.debian.org/~dz/i8k/"
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
source=(http://ftp.archlinux.org/other/i8kutils/$pkgname\_$pkgver.tar.gz)
md5sums=('1ab077b301dbb0f4be8ef52eb3b97628')
diff --git a/extra/icedtea-web/PKGBUILD b/extra/icedtea-web/PKGBUILD
index 05bfa4ef9..f968f775c 100644
--- a/extra/icedtea-web/PKGBUILD
+++ b/extra/icedtea-web/PKGBUILD
@@ -79,4 +79,4 @@ package_icedtea-web-doc() {
rm -rf ${pkgdir}/usr/share/icedtea-web # conflicting and unneeded file it seems
}
-# plugin test here http://www.java.com/en/download/help/testvm.xml \ No newline at end of file
+# plugin test here http://www.java.com/en/download/help/testvm.xml
diff --git a/extra/icewm/PKGBUILD b/extra/icewm/PKGBUILD
index 7c7951c04..7058d8b7a 100644
--- a/extra/icewm/PKGBUILD
+++ b/extra/icewm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=icewm
pkgver=1.3.7
pkgrel=1
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')
diff --git a/extra/icu/PKGBUILD b/extra/icu/PKGBUILD
index 8321c3e82..92af99e08 100644
--- a/extra/icu/PKGBUILD
+++ b/extra/icu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=icu
pkgver=4.8
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' 'sh')
diff --git a/extra/id3/PKGBUILD b/extra/id3/PKGBUILD
index 046797e07..37015ed0a 100644
--- a/extra/id3/PKGBUILD
+++ b/extra/id3/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=id3
pkgver=0.78
pkgrel=2
pkgdesc="Utility to edit id3v1 and id3v2 tags"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('gcc-libs')
source=(http://home.wanadoo.nl/squell/files/${pkgname}-${pkgver}.tar.gz
diff --git a/extra/id3lib/PKGBUILD b/extra/id3lib/PKGBUILD
index 483d3300f..332f24875 100644
--- a/extra/id3lib/PKGBUILD
+++ b/extra/id3lib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=id3lib
pkgver=3.8.3
pkgrel=11
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 ab90dcfba..ad7900dc6 100644
--- a/extra/id3v2/PKGBUILD
+++ b/extra/id3v2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=id3v2
pkgver=0.1.12
pkgrel=1
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/ifplugd/PKGBUILD b/extra/ifplugd/PKGBUILD
index e3162ac9a..b49d417eb 100644
--- a/extra/ifplugd/PKGBUILD
+++ b/extra/ifplugd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ifplugd
pkgver=0.28
pkgrel=7
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"
license=('GPL2')
depends=('libdaemon' 'bash')
diff --git a/extra/ilmbase/PKGBUILD b/extra/ilmbase/PKGBUILD
index fd95d6f4f..6730537bc 100644
--- a/extra/ilmbase/PKGBUILD
+++ b/extra/ilmbase/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.2
pkgrel=1
depends=('gcc-libs')
pkgdesc="Base libraries from ILM for OpenEXR"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('custom')
options=('!libtool')
source=(http://savannah.nongnu.org/download/openexr/$pkgname-$pkgver.tar.gz
diff --git a/extra/imagemagick/PKGBUILD b/extra/imagemagick/PKGBUILD
index edbf8dc94..cc8504eba 100644
--- a/extra/imagemagick/PKGBUILD
+++ b/extra/imagemagick/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=imagemagick
pkgname=('imagemagick' 'imagemagick-doc')
pkgver=6.7.1.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.imagemagick.org/"
license=('custom')
depends=('libtool' 'lcms2' 'libxt' 'bzip2' 'xz' 'fontconfig' 'libxext' 'libjpeg-turbo')
diff --git a/extra/imake/PKGBUILD b/extra/imake/PKGBUILD
index 9a879d865..a0196e69f 100644
--- a/extra/imake/PKGBUILD
+++ b/extra/imake/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=imake
pkgver=1.0.3
pkgrel=2
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 7e001061d..ec068d19b 100644
--- a/extra/imap/PKGBUILD
+++ b/extra/imap/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=imap
pkgver=2007f
pkgrel=1
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')
@@ -28,7 +28,7 @@ build() {
cd $srcdir/$pkgname-$pkgver
# NOTE: if you wish to enforce SSL, use SSLTYPE=unix.nopwd
- if [ "$CARCH" == "x86_64" ]; then
+ if [ "$CARCH" == "x86_64" -o "$CARCH" == "mips64el" ]; then
yes "y" | make lnp SPECIALAUTHENTICATORS=ssl SSLTYPE=unix EXTRACFLAGS="${CFLAGS} -fPIC" || return 1
else yes "y" | make lnp SPECIALAUTHENTICATORS=ssl SSLTYPE=unix || return 1
fi
diff --git a/extra/imlib/PKGBUILD b/extra/imlib/PKGBUILD
index dd64f75a4..83746ce4f 100644
--- a/extra/imlib/PKGBUILD
+++ b/extra/imlib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=imlib
pkgver=1.9.15
pkgrel=10
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>=1.4.0' 'libtiff>=3.9.2-2' 'libjpeg>=8')
diff --git a/extra/imlib2/PKGBUILD b/extra/imlib2/PKGBUILD
index 03075191b..02e03d3c2 100644
--- a/extra/imlib2/PKGBUILD
+++ b/extra/imlib2/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.4.4
pkgrel=1
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>=3.9.2-2' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng>=1.4.0' 'libid3tag' 'libjpeg>=8')
options=('!libtool')
diff --git a/extra/inkscape/PKGBUILD b/extra/inkscape/PKGBUILD
index 7a6af847c..ddbbf0f95 100644
--- a/extra/inkscape/PKGBUILD
+++ b/extra/inkscape/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.48.2
pkgrel=1
pkgdesc='Vector graphics editor using the SVG file format'
url='http://inkscape.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
makedepends=('boost' 'pkg-config' 'intltool')
depends=('gc' 'gtkmm' 'poppler-glib' 'pyxml' 'libxslt' 'gsl' 'popt' 'python2'
diff --git a/extra/iperf/PKGBUILD b/extra/iperf/PKGBUILD
index e07fa4562..d69c713c1 100644
--- a/extra/iperf/PKGBUILD
+++ b/extra/iperf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=iperf
pkgver=2.0.5
pkgrel=2
pkgdesc="A tool to measure maximum TCP bandwidth"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://iperf.sourceforge.net"
depends=('gcc-libs')
diff --git a/extra/iptraf-ng/PKGBUILD b/extra/iptraf-ng/PKGBUILD
index 0af3de2e1..b47082e86 100644
--- a/extra/iptraf-ng/PKGBUILD
+++ b/extra/iptraf-ng/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.0.2
pkgrel=2
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')
diff --git a/extra/irqbalance/PKGBUILD b/extra/irqbalance/PKGBUILD
index e969c5729..953d1533b 100644
--- a/extra/irqbalance/PKGBUILD
+++ b/extra/irqbalance/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=irqbalance
pkgver=0.56
pkgrel=3
pkgdesc="IRQ balancing daemon for SMP systems"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.irqbalance.org/"
license=('GPL')
depends=(glib2)
diff --git a/extra/irssi/PKGBUILD b/extra/irssi/PKGBUILD
index bba878633..74702e9ad 100644
--- a/extra/irssi/PKGBUILD
+++ b/extra/irssi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=irssi
pkgver=0.8.15
pkgrel=5
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' 'perl')
diff --git a/extra/isapnptools/PKGBUILD b/extra/isapnptools/PKGBUILD
index e29d4cf94..682e99636 100644
--- a/extra/isapnptools/PKGBUILD
+++ b/extra/isapnptools/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2
pkgdesc="Allow ISA Plug-And-Play devices to be configured on a Linux machine"
url="http://www.roestock.demon.co.uk/isapnptools/"
depends=('glibc')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
source=(ftp://metalab.unc.edu/pub/Linux/system/hardware/${pkgname}-${pkgver}.tgz)
md5sums=('b997ba56583dc850fce9b93d658dfa0c')
diff --git a/extra/ispell/PKGBUILD b/extra/ispell/PKGBUILD
index c634a1962..4cd911cbe 100644
--- a/extra/ispell/PKGBUILD
+++ b/extra/ispell/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ispell
pkgver=3.3.02
pkgrel=4
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/ivtv-utils/PKGBUILD b/extra/ivtv-utils/PKGBUILD
index 57d810d9d..ae13de3e3 100644
--- a/extra/ivtv-utils/PKGBUILD
+++ b/extra/ivtv-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ivtv-utils
pkgver=1.4.1
pkgrel=3
pkgdesc="Userspace utilities for Hauppauge PVR cards"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://ivtvdriver.org"
source=(http://dl.ivtvdriver.org/ivtv/stable/${pkgname}-${pkgver}.tar.gz
diff --git a/extra/jack/PKGBUILD b/extra/jack/PKGBUILD
index 3e335f779..fc95815a0 100644
--- a/extra/jack/PKGBUILD
+++ b/extra/jack/PKGBUILD
@@ -8,12 +8,16 @@ _longname=jack-audio-connection-kit
pkgver=0.121.2
pkgrel=2
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-0.7')
optdepends=('libffado: FireWire support'
'celt-0.7: NetJACK driver')
+[ "$CARCH" = "mips64el" ] && {
+makedepends=('doxygen' 'celt-0.7')
+optdepends=('celt-0.7: NetJACK driver')
+}
url="http://jackaudio.org/"
options=('!libtool')
provides=("$_longname=$pkgver")
diff --git a/extra/jade/PKGBUILD b/extra/jade/PKGBUILD
index e86498343..d4935a934 100644
--- a/extra/jade/PKGBUILD
+++ b/extra/jade/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=6
_debpatch=47
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 542f1a91e..ee6a11d7d 100644
--- a/extra/jasper/PKGBUILD
+++ b/extra/jasper/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=jasper
pkgver=1.900.1
pkgrel=6
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' 'libxi' 'libxmu' 'mesa')
diff --git a/extra/java-access-bridge/PKGBUILD b/extra/java-access-bridge/PKGBUILD
index 4c1bc6460..93e50f06d 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=1
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>=2.16.5' 'at-spi>=1.26.0' 'libbonobo>=2.24.1')
diff --git a/extra/jhead/PKGBUILD b/extra/jhead/PKGBUILD
index bc442c8a8..ab14e0ba2 100644
--- a/extra/jhead/PKGBUILD
+++ b/extra/jhead/PKGBUILD
@@ -6,9 +6,9 @@ pkgname=jhead
pkgver=2.90
pkgrel=1
pkgdesc="EXIF JPEG info parser and thumbnail remover"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.sentex.net/~mwandel/jhead/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('glibc')
optdepends=('libjpeg: to up-right images according to rotation tag')
diff --git a/extra/json-glib/PKGBUILD b/extra/json-glib/PKGBUILD
index e22063f61..5cf085ce0 100644
--- a/extra/json-glib/PKGBUILD
+++ b/extra/json-glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=json-glib
pkgver=0.12.6
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/k3b/PKGBUILD b/extra/k3b/PKGBUILD
index 1b94ed8cd..a8836e6e5 100644
--- a/extra/k3b/PKGBUILD
+++ b/extra/k3b/PKGBUILD
@@ -12,7 +12,7 @@ depends=('kdebase-runtime' 'kdemultimedia-kioslave' 'libsamplerate' 'libmad'
makedepends=('cmake' 'pkgconfig' 'automoc4' )
pkgdesc="Feature-rich and easy to handle CD burning application"
url="http://k3b.sourceforge.net/"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL')
install="${pkgname}.install"
optdepends=('dvd+rw-tools: for dvd burning support'
diff --git a/extra/k9copy/PKGBUILD b/extra/k9copy/PKGBUILD
index dfc334918..fccaa81b2 100644
--- a/extra/k9copy/PKGBUILD
+++ b/extra/k9copy/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=k9copy
pkgver=2.3.7
pkgrel=1
pkgdesc="A small utility which allows the copy of DVD under Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://k9copy.sourceforge.net"
license=('GPL')
depends=('kdebase-runtime' 'libmpeg2' 'xine-lib' 'dvd+rw-tools' 'dvdauthor')
diff --git a/extra/kaffeine/PKGBUILD b/extra/kaffeine/PKGBUILD
index 84a710827..5fc44e597 100644
--- a/extra/kaffeine/PKGBUILD
+++ b/extra/kaffeine/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.2
pkgrel=1
pkgdesc='KDE media player'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kaffeine.kde.org"
depends=('kdelibs' 'kdebase-runtime' 'xine-lib')
makedepends=('pkgconfig' 'cmake' 'automoc4')
diff --git a/extra/kdeaccessibility/PKGBUILD b/extra/kdeaccessibility/PKGBUILD
index 49a66a384..5943c4d47 100644
--- a/extra/kdeaccessibility/PKGBUILD
+++ b/extra/kdeaccessibility/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=('kdeaccessibility-jovie'
'kdeaccessibility-kmouth')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://accessibility.kde.org'
license=('GPL' 'FDL')
groups=('kde' 'kdeaccessibility')
diff --git a/extra/kdeadmin/PKGBUILD b/extra/kdeadmin/PKGBUILD
index 30127f572..4d390e1cd 100644
--- a/extra/kdeadmin/PKGBUILD
+++ b/extra/kdeadmin/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=('kdeadmin-kcron'
'kdeadmin-system-config-printer-kde')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeadmin')
diff --git a/extra/kdeartwork/PKGBUILD b/extra/kdeartwork/PKGBUILD
index e12a5ba0a..3ae6bdb9d 100644
--- a/extra/kdeartwork/PKGBUILD
+++ b/extra/kdeartwork/PKGBUILD
@@ -15,7 +15,7 @@ pkgname=('kdeartwork-aurorae'
'kdeartwork-weatherwallpapers')
pkgver=4.7.0
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-runtime/PKGBUILD b/extra/kdebase-runtime/PKGBUILD
index 172fbf6c1..4b2663d4c 100644
--- a/extra/kdebase-runtime/PKGBUILD
+++ b/extra/kdebase-runtime/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdebase-runtime
pkgver=4.7.0
pkgrel=1
pkgdesc="KDE Base Runtime Environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL')
depends=('kdelibs' 'ntrack' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons'
diff --git a/extra/kdebase-workspace/PKGBUILD b/extra/kdebase-workspace/PKGBUILD
index 7c122b37f..97bc50a48 100644
--- a/extra/kdebase-workspace/PKGBUILD
+++ b/extra/kdebase-workspace/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=kde-workspace
pkgver=4.7.0
pkgrel=2
pkgdesc="KDE Base Workspace"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde')
diff --git a/extra/kdebase/PKGBUILD b/extra/kdebase/PKGBUILD
index 0c3a6e4f6..942f43eb1 100644
--- a/extra/kdebase/PKGBUILD
+++ b/extra/kdebase/PKGBUILD
@@ -14,7 +14,7 @@ pkgname=('kdebase-dolphin'
'kdebase-plasma')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdebase')
diff --git a/extra/kdelibs/PKGBUILD b/extra/kdelibs/PKGBUILD
index 3780ce2b4..759360ddd 100644
--- a/extra/kdelibs/PKGBUILD
+++ b/extra/kdelibs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdelibs
pkgver=4.7.0
pkgrel=1
pkgdesc="KDE Core Libraries"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
depends=('strigi' 'attica' 'libxss' 'xz' 'openssl' 'soprano' 'krb5'
@@ -19,18 +19,15 @@ makedepends=('pkgconfig' 'cmake' 'automoc4' 'intltool' 'avahi' 'libgl'
replaces=('kdelibs-experimental')
install='kdelibs.install'
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2"
- 'kde-applications-menu.patch' 'archlinux-menu.patch')
+ 'kde-applications-menu.patch')
sha1sums=('2a7a59ac78a161c7c2393db89179449b495dd2db'
- '86ee8c8660f19de8141ac99cd6943964d97a1ed7'
- '63a850ab4196b9d06934f2b4a13acd9f7739bc67')
+ '86ee8c8660f19de8141ac99cd6943964d97a1ed7')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# avoid file conflict with gnome-menu
patch -p1 -i $srcdir/kde-applications-menu.patch
- # add Archlinux menu entry
- patch -p1 -i $srcdir/archlinux-menu.patch
cd ${srcdir}
mkdir build
@@ -38,7 +35,7 @@ build() {
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
- -DKDE_DISTRIBUTION_TEXT='Arch Linux' \
+ -DKDE_DISTRIBUTION_TEXT='Parabola GNU/LinuxLibre' \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONF_INSTALL_DIR=/etc \
-DHTML_INSTALL_DIR=/usr/share/doc/kde/html \
diff --git a/extra/kdelibs/archlinux-menu.patch b/extra/kdelibs/archlinux-menu.patch
deleted file mode 100644
index 546784fa2..000000000
--- a/extra/kdelibs/archlinux-menu.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- kdelibs-4.3.98/kded/applications.menu 2010-01-31 19:28:11.000000000 +0000
-+++ kdelibs-4.3.98/kded/applications.menu 2010-01-31 22:25:53.556043077 +0000
-@@ -16,11 +16,19 @@
- </DefaultLayout>
- <Layout>
- <Merge type="menus"/>
-+ <Menuname>Arch Linux</Menuname>
- <Menuname>Applications</Menuname>
- <Merge type="files"/>
- </Layout>
-
- <Menu>
-+ <Name>Arch Linux</Name>
-+ <Directory>Archlinux.directory</Directory>
-+ <Include>
-+ <Category>Archlinux</Category>
-+ </Include>
-+ </Menu>
-+ <Menu>
- <Name>Applications</Name>
- <Directory>kde-unknown.directory</Directory>
- <OnlyUnallocated/>
diff --git a/extra/kdelibs3/PKGBUILD b/extra/kdelibs3/PKGBUILD
index a33b8ed25..e9494adac 100644
--- a/extra/kdelibs3/PKGBUILD
+++ b/extra/kdelibs3/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=kdelibs3
pkgver=3.5.10
pkgrel=11
pkgdesc='KDE3 Core Libraries'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL')
depends=('libxslt' 'pcre' 'libart-lgpl' 'alsa-lib' 'libcups' 'jasper'
diff --git a/extra/kdemultimedia/PKGBUILD b/extra/kdemultimedia/PKGBUILD
index 32a8745d3..a51dd670b 100644
--- a/extra/kdemultimedia/PKGBUILD
+++ b/extra/kdemultimedia/PKGBUILD
@@ -12,7 +12,7 @@ pkgname=('kdemultimedia-dragonplayer'
'kdemultimedia-mplayerthumbs')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
diff --git a/extra/kdenetwork/PKGBUILD b/extra/kdenetwork/PKGBUILD
index d4d475626..1cbd71e49 100644
--- a/extra/kdenetwork/PKGBUILD
+++ b/extra/kdenetwork/PKGBUILD
@@ -12,7 +12,7 @@ pkgname=('kdenetwork-filesharing'
'kdenetwork-krfb')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
diff --git a/extra/kdepim-runtime/PKGBUILD b/extra/kdepim-runtime/PKGBUILD
index 3c42a61a0..97aed039f 100644
--- a/extra/kdepim-runtime/PKGBUILD
+++ b/extra/kdepim-runtime/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdepim-runtime
pkgver=4.7.0
pkgrel=1
pkgdesc='KDE PIM Runtime Environment'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
depends=('kdepimlibs' 'kdebase-runtime')
diff --git a/extra/kdepim/PKGBUILD b/extra/kdepim/PKGBUILD
index e485345f3..df93dcef2 100644
--- a/extra/kdepim/PKGBUILD
+++ b/extra/kdepim/PKGBUILD
@@ -22,7 +22,7 @@ pkgname=('kdepim-akonadiconsole'
'kdepim-wizards')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://pim.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdepim')
diff --git a/extra/kdepimlibs/PKGBUILD b/extra/kdepimlibs/PKGBUILD
index 6871bde0c..47ee8ce4e 100644
--- a/extra/kdepimlibs/PKGBUILD
+++ b/extra/kdepimlibs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdepimlibs
pkgver=4.7.0
pkgrel=2
pkgdesc="KDE PIM Libraries"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL')
depends=('kdelibs' 'gpgme' 'akonadi' 'libical' 'prison')
@@ -19,6 +19,7 @@ build() {
cd ${srcdir}
mkdir build
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
diff --git a/extra/kdeplasma-addons/PKGBUILD b/extra/kdeplasma-addons/PKGBUILD
index 4478597f4..b5c2f98fc 100644
--- a/extra/kdeplasma-addons/PKGBUILD
+++ b/extra/kdeplasma-addons/PKGBUILD
@@ -74,7 +74,7 @@ pkgname=('kdeplasma-addons-applets-bball'
'kdeplasma-addons-wallpapers-weather')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL')
groups=('kde' 'kdeplasma-addons')
diff --git a/extra/kdeplasma-applets-networkmanagement/PKGBUILD b/extra/kdeplasma-applets-networkmanagement/PKGBUILD
index 20b279e13..1ae2fd5e4 100644
--- a/extra/kdeplasma-applets-networkmanagement/PKGBUILD
+++ b/extra/kdeplasma-applets-networkmanagement/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=git20110726
_commit=72f48aff1a672af24f66c26dd83b3ac6ee87df5f
pkgrel=1
pkgdesc="KDE control panel and widget network connections"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde.org/"
license=('GPL')
depends=('kdebase-workspace' 'networkmanager')
diff --git a/extra/kdetoys/PKGBUILD b/extra/kdetoys/PKGBUILD
index 51e4e22cf..a4137abcd 100644
--- a/extra/kdetoys/PKGBUILD
+++ b/extra/kdetoys/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('kdetoys-amor'
'kdetoys-ktux')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdetoys')
diff --git a/extra/kdeutils/PKGBUILD b/extra/kdeutils/PKGBUILD
index 701ff0322..c11b250af 100644
--- a/extra/kdeutils/PKGBUILD
+++ b/extra/kdeutils/PKGBUILD
@@ -18,7 +18,7 @@ pkgname=('kdeutils-ark'
'kdeutils-sweeper')
pkgver=4.7.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeutils')
diff --git a/extra/kdevelop-pg-qt/PKGBUILD b/extra/kdevelop-pg-qt/PKGBUILD
index 1a46a89f5..94e797734 100644
--- a/extra/kdevelop-pg-qt/PKGBUILD
+++ b/extra/kdevelop-pg-qt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdevelop-pg-qt
pkgver=0.9.5
pkgrel=1
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 bdf4aab89..7e5ea3478 100644
--- a/extra/kdevelop-php/PKGBUILD
+++ b/extra/kdevelop-php/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.3
_pkgver=4.2.3
pkgrel=1
pkgdesc="PHP language and documentation plugin for KDevelop/Quanta"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdevplatform' 'kdevelop-pg-qt')
diff --git a/extra/kdevelop/PKGBUILD b/extra/kdevelop/PKGBUILD
index 4a56b46c2..a47b0cbd2 100644
--- a/extra/kdevelop/PKGBUILD
+++ b/extra/kdevelop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdevelop
pkgver=4.2.3
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' 'kdesdk-okteta')
diff --git a/extra/kdevplatform/PKGBUILD b/extra/kdevplatform/PKGBUILD
index b77ab5dd6..e01c3d51e 100644
--- a/extra/kdevplatform/PKGBUILD
+++ b/extra/kdevplatform/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.2.3
_pkgver=4.2.3
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' 'boost-libs' 'subversion' 'qjson')
diff --git a/extra/kdewebdev/PKGBUILD b/extra/kdewebdev/PKGBUILD
index e29aec31f..b75c6e4c2 100644
--- a/extra/kdewebdev/PKGBUILD
+++ b/extra/kdewebdev/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('kdewebdev-kfilereplace'
'kdewebdev-kommander')
pkgver=4.7.0
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 0bf620978..6fc1c62cc 100644
--- a/extra/kdiff3/PKGBUILD
+++ b/extra/kdiff3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdiff3
pkgver=0.9.95
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 533c343aa..d9a26d522 100644
--- a/extra/kexec-tools/PKGBUILD
+++ b/extra/kexec-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kexec-tools
pkgver=2.0.2
pkgrel=3
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=("http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-${pkgver}.tar.bz2"
'kexec' 'kexec.conf.d')
diff --git a/extra/keytouch-editor/PKGBUILD b/extra/keytouch-editor/PKGBUILD
index 7f43ca092..e32eb7ff4 100644
--- a/extra/keytouch-editor/PKGBUILD
+++ b/extra/keytouch-editor/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=keytouch-editor
pkgver=3.1.3
pkgrel=2
pkgdesc="An utility to create keyboard files for keytouch"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://keytouch.sourceforge.net/"
license=('GPL')
depends=('gtk2')
diff --git a/extra/keytouch/PKGBUILD b/extra/keytouch/PKGBUILD
index bfc3d182f..b768a4e09 100644
--- a/extra/keytouch/PKGBUILD
+++ b/extra/keytouch/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=keytouch
pkgver=2.4.1
pkgrel=3
pkgdesc="A program which allows you to easily configure the extra function keys of your keyboard"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://keytouch.sourceforge.net/"
license=('GPL')
depends=('libxtst' 'gnome-menus' 'alsa-lib' 'gtk2')
diff --git a/extra/kile/PKGBUILD b/extra/kile/PKGBUILD
index 46fe51c12..30079213d 100644
--- a/extra/kile/PKGBUILD
+++ b/extra/kile/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kile
pkgver=2.1
pkgrel=1
pkgdesc="A user friendly TeX/LaTeX frontend for KDE."
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL2')
url="http://kile.sourceforge.net/"
depends=('kdebase-runtime' 'texlive-core')
diff --git a/extra/kino/PKGBUILD b/extra/kino/PKGBUILD
index eedf2910f..a32733fd7 100644
--- a/extra/kino/PKGBUILD
+++ b/extra/kino/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kino
pkgver=1.3.4
pkgrel=2
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')
diff --git a/extra/kobodeluxe/PKGBUILD b/extra/kobodeluxe/PKGBUILD
index 228930797..8a52ce946 100644
--- a/extra/kobodeluxe/PKGBUILD
+++ b/extra/kobodeluxe/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kobodeluxe
pkgver=0.5.1
pkgrel=3
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=('libjpeg' 'libpng' 'sdl_image' 'hicolor-icon-theme' 'gtk-update-icon-cache')
diff --git a/extra/koffice/PKGBUILD b/extra/koffice/PKGBUILD
index 8f56a93ed..59ce7b6de 100644
--- a/extra/koffice/PKGBUILD
+++ b/extra/koffice/PKGBUILD
@@ -38,12 +38,16 @@ pkgname=(
)
pkgver=2.3.3
pkgrel=5
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://koffice.kde.org'
license=('GPL' 'LGPL' 'FDL')
makedepends=('pkg-config' 'cmake' 'automoc4' 'boost' 'eigen' 'gsl' 'lcms'
'glew' 'qimageblitz' 'kdepimlibs' 'pstoedit' 'poppler-qt' 'libwpd'
'libwpg' 'opengtl' 'libkdcraw')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('pkg-config' 'cmake' 'automoc4' 'boost' 'eigen' 'gsl' 'lcms'
+ 'glew' 'qimageblitz' 'kdepimlibs' 'pstoedit' 'poppler-qt' 'libwpd'
+ 'libwpg' 'libkdcraw')
groups=('koffice')
source=("http://download.kde.org/stable/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.bz2"
'kde4-koffice-libwpg02.patch' 'gcc46.patch')
@@ -216,6 +220,10 @@ package_koffice-krita(){
depends=('hicolor-icon-theme' 'glew' 'qimageblitz' 'koffice-libs' \
'koffice-templates' 'koffice-plugins' 'poppler-qt' 'shared-mime-info' \
'openexr' 'opengtl')
+[ "$CARCH" = "mips64el" ] && \
+ depends=('hicolor-icon-theme' 'glew' 'qimageblitz' 'koffice-libs' \
+ 'koffice-templates' 'koffice-plugins' 'poppler-qt' 'shared-mime-info' \
+ 'openexr')
optdepends=('koffice-filters: import/export filters')
install=krita.install
cd "${srcdir}/build/krita"
diff --git a/extra/konversation/PKGBUILD b/extra/konversation/PKGBUILD
index e118d6562..da5825e84 100644
--- a/extra/konversation/PKGBUILD
+++ b/extra/konversation/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=konversation
pkgver=1.3.1
pkgrel=2
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')
diff --git a/extra/kradio/PKGBUILD b/extra/kradio/PKGBUILD
index 6f776a1fc..05f8f1873 100644
--- a/extra/kradio/PKGBUILD
+++ b/extra/kradio/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kradio
pkgver=4.0.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
pkgdesc="KRadio is a comfortable KDE radio application"
url="http://kradio.sourceforge.net/"
diff --git a/extra/krusader/PKGBUILD b/extra/krusader/PKGBUILD
index 566054515..d8d51eb63 100644
--- a/extra/krusader/PKGBUILD
+++ b/extra/krusader/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=2.4.0beta1
_pkgver=2.4.0-beta1
pkgrel=4
pkgdesc="An alternative file manager for KDE resembling Midnight Commander"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://krusader.sourceforge.net/"
license=('GPL')
depends=('kdebase-runtime' 'kdebase-lib')
diff --git a/extra/ksensors/PKGBUILD b/extra/ksensors/PKGBUILD
index 6db8e7e85..43c278c66 100644
--- a/extra/ksensors/PKGBUILD
+++ b/extra/ksensors/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ksensors
pkgver=0.7.3
pkgrel=5
pkgdesc="ksensors is nice lm_sensors frontend for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ksensors.sourceforge.net/"
license=("GPL")
depends=("lm_sensors>=3.0.0" 'kdelibs3')
diff --git a/extra/kshutdown/PKGBUILD b/extra/kshutdown/PKGBUILD
index f9d9a6322..99e58f307 100644
--- a/extra/kshutdown/PKGBUILD
+++ b/extra/kshutdown/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kshutdown
pkgver=2.0
pkgrel=1
pkgdesc="Shutdown Utility for KDE"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://kshutdown.sourceforge.net/"
license=('GPL')
depends=('kdebase-workspace')
diff --git a/extra/ktorrent/PKGBUILD b/extra/ktorrent/PKGBUILD
index 9aa292207..af2e9d96d 100644
--- a/extra/ktorrent/PKGBUILD
+++ b/extra/ktorrent/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ktorrent
pkgver=4.1.1
pkgrel=2
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/lablgtk/PKGBUILD b/extra/lablgtk/PKGBUILD
index 1da638913..64a24ebb6 100644
--- a/extra/lablgtk/PKGBUILD
+++ b/extra/lablgtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lablgtk
pkgver=1.2.7
pkgrel=8
pkgdesc=" An Objective Caml interface to gtk+"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html"
license=('LGPL')
depends=('gtk')
diff --git a/extra/lablgtk2/PKGBUILD b/extra/lablgtk2/PKGBUILD
index a9f065c4e..d6a04e9e2 100644
--- a/extra/lablgtk2/PKGBUILD
+++ b/extra/lablgtk2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lablgtk2
pkgver=2.14.2
pkgrel=3
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 b5e1c67e8..9bb52997f 100644
--- a/extra/ladspa/PKGBUILD
+++ b/extra/ladspa/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ladspa
pkgver=1.13
pkgrel=2
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>=4.3')
diff --git a/extra/lame/PKGBUILD b/extra/lame/PKGBUILD
index b66bb7f76..8ac24d0ac 100644
--- a/extra/lame/PKGBUILD
+++ b/extra/lame/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lame
pkgver=3.98.4
pkgrel=1
pkgdesc="An MP3 encoder and graphical frame analyzer"
-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 ecc002737..9a7dec0c7 100644
--- a/extra/lapack/PKGBUILD
+++ b/extra/lapack/PKGBUILD
@@ -11,7 +11,7 @@ url="http://www.netlib.org/lapack"
pkgdesc="Linear Algebra PACKage"
makedepends=('gcc-fortran')
depends=("blas=${pkgver}")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=("custom")
source=(http://www.netlib.org/${pkgname}/${pkgname}-${pkgver}.tgz
lapack-3.1.1-make.inc.patch
diff --git a/extra/latex2rtf/PKGBUILD b/extra/latex2rtf/PKGBUILD
index a9796f0b5..e80c4c714 100644
--- a/extra/latex2rtf/PKGBUILD
+++ b/extra/latex2rtf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=latex2rtf
pkgver=2.1.0
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 2744d3bd1..28cd87041 100644
--- a/extra/lbreakout2/PKGBUILD
+++ b/extra/lbreakout2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lbreakout2
pkgver=2.6.3
pkgrel=1
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 bebea4c52..56136c565 100644
--- a/extra/lcab/PKGBUILD
+++ b/extra/lcab/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lcab
pkgver=1.0b12
pkgrel=2
pkgdesc="A program to make Microsoft cabinet files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://freshmeat.net/projects/lcab/"
depends=('glibc')
diff --git a/extra/lcms/PKGBUILD b/extra/lcms/PKGBUILD
index effc73c13..a3907bc85 100644
--- a/extra/lcms/PKGBUILD
+++ b/extra/lcms/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lcms
pkgver=1.19
pkgrel=1
pkgdesc="Lightweight color management development library/engine"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
depends=('libtiff>=3.9.4')
url="http://www.littlecms.com"
diff --git a/extra/leafpad/PKGBUILD b/extra/leafpad/PKGBUILD
index 179133ff4..67317dd6a 100644
--- a/extra/leafpad/PKGBUILD
+++ b/extra/leafpad/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=leafpad
pkgver=0.8.18.1
pkgrel=2
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 965b46875..2cf69b129 100644
--- a/extra/lensfun/PKGBUILD
+++ b/extra/lensfun/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lensfun
pkgver=0.2.5
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')
diff --git a/extra/lesstif/PKGBUILD b/extra/lesstif/PKGBUILD
index be09dc29f..0b4defe8d 100644
--- a/extra/lesstif/PKGBUILD
+++ b/extra/lesstif/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lesstif
pkgver=0.95.2
pkgrel=2
pkgdesc="LGPL'd re-implementation of Motif"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lesstif.org/"
license=('LGPL' 'MIT')
depends=('freetype2' 'libxt' 'libxp')
diff --git a/extra/lftp/PKGBUILD b/extra/lftp/PKGBUILD
index e4838b8c5..eb01995ca 100644
--- a/extra/lftp/PKGBUILD
+++ b/extra/lftp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lftp
pkgver=4.3.1
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>=2.12" "expat>=2.0.1-4" 'sh')
optdepends=('perl: needed for convert-netscape-cookies and verify-file')
diff --git a/extra/libao/PKGBUILD b/extra/libao/PKGBUILD
index 8107c96b2..265e64f2b 100644
--- a/extra/libao/PKGBUILD
+++ b/extra/libao/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.1.0
pkgrel=1
pkgdesc="A cross-platform audio output library and plugins"
url="http://www.xiph.org/ao"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc' 'alsa-lib')
makedepends=('libpulse')
diff --git a/extra/libart-lgpl/PKGBUILD b/extra/libart-lgpl/PKGBUILD
index c7cdbfeac..614af1640 100644
--- a/extra/libart-lgpl/PKGBUILD
+++ b/extra/libart-lgpl/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=2.3.21
pkgrel=1
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')
depends=('glibc')
source=(http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-${pkgver}.tar.bz2)
diff --git a/extra/libass/PKGBUILD b/extra/libass/PKGBUILD
index 5bd45f4e8..5060eb640 100644
--- a/extra/libass/PKGBUILD
+++ b/extra/libass/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libass
pkgver=0.9.13
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' 'libpng')
diff --git a/extra/libassuan/PKGBUILD b/extra/libassuan/PKGBUILD
index 468f2b6a3..b84a55e72 100644
--- a/extra/libassuan/PKGBUILD
+++ b/extra/libassuan/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libassuan
pkgver=2.0.1
pkgrel=1
pkgdesc="A IPC library used by some GnuPG related software"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnupg.org/related_software/libassuan"
depends=('libgpg-error')
diff --git a/extra/libasyncns/PKGBUILD b/extra/libasyncns/PKGBUILD
index 06ac6eaac..93c625931 100644
--- a/extra/libasyncns/PKGBUILD
+++ b/extra/libasyncns/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=libasyncns
pkgver=0.8
pkgrel=3
pkgdesc="A C library for Linux/Unix for executing name service queries asynchronously"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/libasyncns"
license=('LGPL')
options=('!libtool')
diff --git a/extra/libatasmart/PKGBUILD b/extra/libatasmart/PKGBUILD
index 14e28f409..0fc31c993 100644
--- a/extra/libatasmart/PKGBUILD
+++ b/extra/libatasmart/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libatasmart
pkgver=0.17
pkgrel=1
pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('udev>=146')
url="http://0pointer.de/blog/projects/being-smart.html"
diff --git a/extra/libavc1394/PKGBUILD b/extra/libavc1394/PKGBUILD
index 1a359f48d..e63169cef 100644
--- a/extra/libavc1394/PKGBUILD
+++ b/extra/libavc1394/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libavc1394
pkgver=0.5.3
pkgrel=3
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>=2.0.2')
diff --git a/extra/libbeagle/PKGBUILD b/extra/libbeagle/PKGBUILD
index 699fe639f..c024a6dca 100644
--- a/extra/libbeagle/PKGBUILD
+++ b/extra/libbeagle/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libbeagle
pkgver=0.3.9
pkgrel=2
pkgdesc="Beagle desktop search client library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnome.org/projects/beagle/"
license=('custom')
depends=('glib2>=2.20.0' 'libxml2>=2.7.3')
diff --git a/extra/libbluedevil/PKGBUILD b/extra/libbluedevil/PKGBUILD
index fef58105f..f26e0a152 100644
--- a/extra/libbluedevil/PKGBUILD
+++ b/extra/libbluedevil/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libbluedevil
pkgver=1.9
pkgrel=1
pkgdesc='A Qt 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=('qt' 'bluez')
diff --git a/extra/libbonobo/PKGBUILD b/extra/libbonobo/PKGBUILD
index abfb2a186..a80eb9217 100644
--- a/extra/libbonobo/PKGBUILD
+++ b/extra/libbonobo/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libbonobo
pkgver=2.32.1
pkgrel=1
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')
makedepends=('intltool' 'pkgconfig' 'flex')
diff --git a/extra/libbonoboui/PKGBUILD b/extra/libbonoboui/PKGBUILD
index ef75ec844..2dc72c61e 100644
--- a/extra/libbonoboui/PKGBUILD
+++ b/extra/libbonoboui/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libbonoboui
pkgver=2.24.5
pkgrel=1
pkgdesc="User Interface library for Bonobo"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
depends=('libgnomecanvas' 'libgnome')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/libburn/PKGBUILD b/extra/libburn/PKGBUILD
index 9123c4a32..00d7f4213 100644
--- a/extra/libburn/PKGBUILD
+++ b/extra/libburn/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libburn
pkgver=1.1.0.pl01
pkgrel=1
pkgdesc="Library for reading, mastering and writing optical discs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libburnia.pykix.org/"
license=('GPL')
depends=('glibc')
diff --git a/extra/libcaca/PKGBUILD b/extra/libcaca/PKGBUILD
index 65485d162..8252e22ee 100644
--- a/extra/libcaca/PKGBUILD
+++ b/extra/libcaca/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libcaca
pkgver=0.99.beta17
pkgrel=1
pkgdesc="Color AsCii Art library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://libcaca.zoy.org/"
depends=('imlib2' 'ncurses>=5.7')
diff --git a/extra/libcanberra/PKGBUILD b/extra/libcanberra/PKGBUILD
index 93145cbcd..2a2e0af3b 100644
--- a/extra/libcanberra/PKGBUILD
+++ b/extra/libcanberra/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(libcanberra libcanberra-pulse libcanberra-gstreamer)
pkgver=0.28
pkgrel=1
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' 'libtool' 'alsa-lib' 'tdb')
makedepends=('gtk-doc' 'libpulse' 'gstreamer0.10' 'gtk2' 'gtk3')
diff --git a/extra/libcdaudio/PKGBUILD b/extra/libcdaudio/PKGBUILD
index 64159d23e..2a03b2494 100644
--- a/extra/libcdaudio/PKGBUILD
+++ b/extra/libcdaudio/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcdaudio
pkgver=0.99.12
pkgrel=5
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 1c9ae521e..6adf8d6d7 100644
--- a/extra/libcddb/PKGBUILD
+++ b/extra/libcddb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcddb
pkgver=1.3.2
pkgrel=2
pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
options=('!libtool')
depends=('glibc')
diff --git a/extra/libcdio/PKGBUILD b/extra/libcdio/PKGBUILD
index 4c309a65e..40ef4c2f9 100644
--- a/extra/libcdio/PKGBUILD
+++ b/extra/libcdio/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcdio
pkgver=0.82
pkgrel=1
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=('gcc-libs>=4.4.2' 'libcddb' 'ncurses')
diff --git a/extra/libchamplain/PKGBUILD b/extra/libchamplain/PKGBUILD
index 8e3dd885c..199654e11 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')
options=('!libtool')
depends=('clutter-gtk' 'libsoup-gnome' 'cairo' 'sqlite3')
makedepends=('gobject-introspection' 'gtk-doc' 'vala')
diff --git a/extra/libchewing/PKGBUILD b/extra/libchewing/PKGBUILD
index d1ee325e4..7c289746d 100644
--- a/extra/libchewing/PKGBUILD
+++ b/extra/libchewing/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libchewing
pkgver=0.3.3
pkgrel=1
pkgdesc='Intelligent Zhuyin input method library for traditional Chinese'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://chewing.csie.net/'
license=('GPL')
options=('!libtool')
diff --git a/extra/libcroco/PKGBUILD b/extra/libcroco/PKGBUILD
index ca1479053..49f455610 100644
--- a/extra/libcroco/PKGBUILD
+++ b/extra/libcroco/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libcroco
pkgver=0.6.2
pkgrel=1
pkgdesc="GNOME CSS2 parsing and manipulation toolkit"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
depends=('glib2>=2.18.4' 'libxml2>=2.7.3')
makedepends=('intltool' 'pkgconfig')
license=('LGPL')
diff --git a/extra/libcue/PKGBUILD b/extra/libcue/PKGBUILD
index 95e1c4d21..ba69e0e57 100644
--- a/extra/libcue/PKGBUILD
+++ b/extra/libcue/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libcue
pkgver=1.4.0
pkgrel=2
pkgdesc='Parses so-called cue sheets and handles the parsed data'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://sourceforge.net/projects/libcue/'
license=('GPL2')
depends=('glibc')
diff --git a/extra/libdaemon/PKGBUILD b/extra/libdaemon/PKGBUILD
index c6bbc1c9c..092a06c90 100644
--- a/extra/libdaemon/PKGBUILD
+++ b/extra/libdaemon/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc="A lightweight C library which eases the writing of UNIX daemons"
url="http://0pointer.de/lennart/projects/libdaemon/"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
source=(http://0pointer.de/lennart/projects/libdaemon/$pkgname-$pkgver.tar.gz)
options=('!libtool')
diff --git a/extra/libdatrie/PKGBUILD b/extra/libdatrie/PKGBUILD
index 68ac77c7f..1a5ec986b 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/~thep/datrie/datrie.html"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
options=('!libtool' '!emptydirs')
source=(http://linux.thai.net/pub/thailinux/software/libthai/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/libdbusmenu-qt/PKGBUILD b/extra/libdbusmenu-qt/PKGBUILD
index 2622ebbd7..e0aed1a88 100644
--- a/extra/libdbusmenu-qt/PKGBUILD
+++ b/extra/libdbusmenu-qt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdbusmenu-qt
pkgver=0.8.3
pkgrel=1
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=('qt')
diff --git a/extra/libdc1394/PKGBUILD b/extra/libdc1394/PKGBUILD
index 226839e11..ffda48ac9 100644
--- a/extra/libdc1394/PKGBUILD
+++ b/extra/libdc1394/PKGBUILD
@@ -3,18 +3,22 @@
pkgname=libdc1394
pkgver=2.1.3
-pkgrel=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>=2.0.5' 'libusb')
options=(!libtool !emptydirs)
-source=(http://downloads.sourceforge.net/sourceforge/libdc1394/${pkgname}-${pkgver}.tar.gz)
-md5sums=('d8b2cbfae1b329fdeaa638da80427334')
+source=(http://downloads.sourceforge.net/sourceforge/libdc1394/${pkgname}-${pkgver}.tar.gz
+ fix-videodev.h.patch)
+md5sums=('d8b2cbfae1b329fdeaa638da80427334'
+ '8bbf233bf11295649cfd61a9ac3eba1b')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np2 -i $srcdir/fix-videodev.h.patch
+ autoreconf -s -i
./configure --prefix=/usr
make
}
diff --git a/extra/libdc1394/fix-videodev.h.patch b/extra/libdc1394/fix-videodev.h.patch
new file mode 100644
index 000000000..560337978
--- /dev/null
+++ b/extra/libdc1394/fix-videodev.h.patch
@@ -0,0 +1,53 @@
+From 2ee7e7f98dd6225b40d5cd570c240504be7bc86a Mon Sep 17 00:00:00 2001
+From: David Moore <david.moore@gmail.com>
+Date: Sun, 27 Mar 2011 22:48:15 -0700
+Subject: [PATCH] Conditionally compile dc1394_vloopback only when linux/videodev.h exists
+
+---
+ libdc1394/ChangeLog | 3 +++
+ libdc1394/configure.in | 3 +++
+ libdc1394/examples/Makefile.am | 2 ++
+ 3 files changed, 8 insertions(+), 0 deletions(-)
+
+diff --git a/libdc1394/ChangeLog b/libdc1394/ChangeLog
+index e1355de..536ccae 100644
+--- a/libdc1394/ChangeLog
++++ b/libdc1394/ChangeLog
+@@ -1,3 +1,6 @@
++2011-03-27 David Moore <david.moore@gmail.com>
++ * Conditionally compile dc1394_vloopback only when linux/video.h exists
++
+ 2011-01-02 David Moore <david.moore@gmail.com>
+ * dc1394/conversions.h: Fix typo in DC1394_STEREO_METHOD_MIN
+ * Update NEWS, README, AUTHORS and version for release 2.1.3.
+diff --git a/libdc1394/configure.in b/libdc1394/configure.in
+index 69babab..bdddc9b 100644
+--- a/libdc1394/configure.in
++++ b/libdc1394/configure.in
+@@ -75,6 +75,9 @@ AM_CONDITIONAL(HAVE_WINDOWS, test x$have_windows = xtrue)
+ AM_CONDITIONAL(HAVE_LIBRAW1394, test x$libraw1394 = xtrue)
+ AM_CONDITIONAL(HAVE_LIBUSB, test "x$LIBUSB_LIBS" != "x")
+
++AC_CHECK_HEADER([linux/videodev.h], [have_videodev=true])
++AM_CONDITIONAL(HAVE_VIDEODEV, test x$have_videodev = xtrue)
++
+ AC_ARG_ENABLE([examples], [AS_HELP_STRING([--disable-examples], [don't build example programs])], [build_examples=$enableval], [build_examples=true])
+
+ AM_CONDITIONAL(MAKE_EXAMPLES, test x$build_examples = xtrue)
+diff --git a/libdc1394/examples/Makefile.am b/libdc1394/examples/Makefile.am
+index fcebf18..035612e 100644
+--- a/libdc1394/examples/Makefile.am
++++ b/libdc1394/examples/Makefile.am
+@@ -8,7 +8,9 @@ A = grab_gray_image grab_partial_image grab_color_image \
+ B = dc1394_reset_bus
+
+ if HAVE_LINUX
++if HAVE_VIDEODEV
+ B += dc1394_vloopback
++endif
+ if HAVE_XV
+ A += dc1394_multiview
+ endif
+--
+1.7.0.1
+
diff --git a/extra/libdca/PKGBUILD b/extra/libdca/PKGBUILD
index 5a8e195d2..65431bb80 100644
--- a/extra/libdca/PKGBUILD
+++ b/extra/libdca/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdca
pkgver=0.0.5
pkgrel=2
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"
source=(http://download.videolan.org/pub/videolan/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
diff --git a/extra/libdiscid/PKGBUILD b/extra/libdiscid/PKGBUILD
index f1eccb6a8..82c606ebd 100644
--- a/extra/libdiscid/PKGBUILD
+++ b/extra/libdiscid/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libdiscid
pkgver=0.2.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
pkgdesc="A Library for creating MusicBrainz DiscIDs"
url="http://musicbrainz.org/doc/libdiscid"
diff --git a/extra/libdmx/PKGBUILD b/extra/libdmx/PKGBUILD
index 3397db220..bb52faac4 100644
--- a/extra/libdmx/PKGBUILD
+++ b/extra/libdmx/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdmx
pkgver=1.1.1
pkgrel=1
pkgdesc="X11 Distributed Multihead extension library"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('dmxproto' 'libxext')
diff --git a/extra/libdrm/PKGBUILD b/extra/libdrm/PKGBUILD
index fcc236ed2..7523955ae 100644
--- a/extra/libdrm/PKGBUILD
+++ b/extra/libdrm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdrm
pkgver=2.4.26
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
depends=('glibc' 'libpciaccess')
options=('!libtool')
diff --git a/extra/libdv/PKGBUILD b/extra/libdv/PKGBUILD
index d8b127c48..1b6756520 100644
--- a/extra/libdv/PKGBUILD
+++ b/extra/libdv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libdv
pkgver=1.0.0
pkgrel=3
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/libdvdcss/PKGBUILD b/extra/libdvdcss/PKGBUILD
index 6317b615b..fffcd698a 100644
--- a/extra/libdvdcss/PKGBUILD
+++ b/extra/libdvdcss/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.2.10
pkgrel=2
pkgdesc="A 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=('!libtool')
diff --git a/extra/libdvdnav/PKGBUILD b/extra/libdvdnav/PKGBUILD
index a593b3a71..ab1d622b7 100644
--- a/extra/libdvdnav/PKGBUILD
+++ b/extra/libdvdnav/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libdvdnav
pkgver=4.1.3
pkgrel=2
pkgdesc="The library for xine-dvdnav plugin."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
depends=('libdvdread>=4.1.3')
diff --git a/extra/libdvdread/PKGBUILD b/extra/libdvdread/PKGBUILD
index dcdbf47d9..ccd390d61 100644
--- a/extra/libdvdread/PKGBUILD
+++ b/extra/libdvdread/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libdvdread
pkgver=4.1.3
pkgrel=2
pkgdesc="Provides a simple foundation for reading DVD video disks"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
license=('GPL')
depends=('glibc')
diff --git a/extra/libebml/PKGBUILD b/extra/libebml/PKGBUILD
index 9b49bb4b4..764976794 100644
--- a/extra/libebml/PKGBUILD
+++ b/extra/libebml/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libebml
pkgver=1.2.1
pkgrel=1
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 22fd2ca7b..5d2c7c688 100644
--- a/extra/libepc/PKGBUILD
+++ b/extra/libepc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libepc
pkgver=0.3.11
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=('gtk2>=2.20.0' 'avahi>=0.6.25' 'libsoup>=2.29.91')
diff --git a/extra/libetpan/PKGBUILD b/extra/libetpan/PKGBUILD
index 107264bc4..cd4a89a5d 100644
--- a/extra/libetpan/PKGBUILD
+++ b/extra/libetpan/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libetpan
pkgver=1.0
pkgrel=3
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=('db>=5.2.28' 'libsasl>=2.1.23' 'curl>=7.21.' 'expat>=2.0.1-1')
diff --git a/extra/libexif/PKGBUILD b/extra/libexif/PKGBUILD
index 9755ed6a5..580c70626 100644
--- a/extra/libexif/PKGBUILD
+++ b/extra/libexif/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libexif
pkgver=0.6.20
pkgrel=1
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 e97c9273f..5db7a3de8 100644
--- a/extra/libffado/PKGBUILD
+++ b/extra/libffado/PKGBUILD
@@ -7,14 +7,17 @@ pkgname=libffado
pkgver=2.0.1
pkgrel=3
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' 'libsigc++'
'libxml++' 'alsa-lib' 'dbus')
+[ "$CARCH" = "mips64el" ] || {
makedepends=('scons' 'python2-qt')
optdepends=('python2-qt: mixer applet')
-provides=('ffado')
+}
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('scons')
source=(http://www.ffado.org/files/$pkgname-$pkgver.tar.gz)
md5sums=('786f31facd417e6207e429f50af0e15e')
@@ -26,6 +29,8 @@ build() {
if [ "$CARCH" = "x86_64" ]; then
sed -i "s/-m64/-m64 $CFLAGS/g" SConstruct
+ elif [ "$CARCH" = "mips64el" ]; then
+ sed -i "s/-mn32/-mn32 $CFLAGS/g" SConstruct
else
sed -i "s/-m32/-m32 $CFLAGS/g" SConstruct
fi
diff --git a/extra/libffi/PKGBUILD b/extra/libffi/PKGBUILD
index 555f0eb4e..13b8d2ab6 100644
--- a/extra/libffi/PKGBUILD
+++ b/extra/libffi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libffi
pkgver=3.0.9
pkgrel=1
pkgdesc="A portable, high level programming interface to various calling conventions."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MIT')
url="http://sourceware.org/libffi"
depends=('glibc' 'texinfo')
diff --git a/extra/libfontenc/PKGBUILD b/extra/libfontenc/PKGBUILD
index 1d7ca277f..3b3393ab0 100644
--- a/extra/libfontenc/PKGBUILD
+++ b/extra/libfontenc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libfontenc
pkgver=1.1.0
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/libfs/PKGBUILD b/extra/libfs/PKGBUILD
index ee278cfd7..8802d6d1c 100644
--- a/extra/libfs/PKGBUILD
+++ b/extra/libfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libfs
pkgver=1.0.3
pkgrel=1
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/libfwbuilder/PKGBUILD b/extra/libfwbuilder/PKGBUILD
index d84df7014..33f5b51ab 100644
--- a/extra/libfwbuilder/PKGBUILD
+++ b/extra/libfwbuilder/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=4.1.3
pkgrel=2
pkgdesc="Support libraries for fwbuilder"
url="http://www.fwbuilder.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxslt' 'net-snmp' 'gcc-libs')
makedepends=('qt')
diff --git a/extra/libgadu/PKGBUILD b/extra/libgadu/PKGBUILD
index eb86b103d..ffc2c48ed 100644
--- a/extra/libgadu/PKGBUILD
+++ b/extra/libgadu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgadu
pkgver=1.11.0
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=('GPL')
depends=('openssl')
diff --git a/extra/libgda/PKGBUILD b/extra/libgda/PKGBUILD
index 5bf15e17b..41b3a0f71 100644
--- a/extra/libgda/PKGBUILD
+++ b/extra/libgda/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgda
pkgver=4.2.7
pkgrel=1
pkgdesc="Data abstraction layer with mysql, pgsql, xml, sqlite providers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gtksourceview2' 'libunique' 'libxslt' 'db' 'ncurses' 'libsoup'
'libmysqlclient' 'postgresql-libs' 'python2' 'libgnome-keyring'
diff --git a/extra/libgdata/PKGBUILD b/extra/libgdata/PKGBUILD
index 695d8c10d..a17561ee6 100644
--- a/extra/libgdata/PKGBUILD
+++ b/extra/libgdata/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgdata
pkgver=0.8.0
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-gnome')
makedepends=('pkgconfig' 'intltool' 'gobject-introspection')
diff --git a/extra/libgdiplus/PKGBUILD b/extra/libgdiplus/PKGBUILD
index f8d253881..1b1eb5640 100644
--- a/extra/libgdiplus/PKGBUILD
+++ b/extra/libgdiplus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgdiplus
pkgver=2.10
pkgrel=1
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>=3.9.2-2' 'cairo>=1.8.10' 'giflib' 'glib2>=2.24.0' 'libexif')
diff --git a/extra/libgee/PKGBUILD b/extra/libgee/PKGBUILD
index 7a6fe124d..cae3de39b 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>=2.26')
makedepends=('gobject-introspection')
options=('!libtool')
diff --git a/extra/libgksu/PKGBUILD b/extra/libgksu/PKGBUILD
index b4414d58a..ae8b08de8 100644
--- a/extra/libgksu/PKGBUILD
+++ b/extra/libgksu/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgksu
pkgver=2.0.12
pkgrel=3
pkgdesc="gksu authorization library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.nongnu.org/gksu/index.html"
license=(GPL)
depends=('libgnome-keyring>=2.30.1' 'libgtop>=2.28.1' 'startup-notification>=0.10' 'gconf>=2.28.1')
diff --git a/extra/libglade/PKGBUILD b/extra/libglade/PKGBUILD
index b5a6d14f4..e1c71bf59 100644
--- a/extra/libglade/PKGBUILD
+++ b/extra/libglade/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libglade
pkgver=2.6.4
pkgrel=2
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 61ca5e168..bd0e71143 100644
--- a/extra/libglademm/PKGBUILD
+++ b/extra/libglademm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libglademm
pkgver=2.6.7
pkgrel=1
pkgdesc="A C++ wrapper for libglade."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('libglade>=2.6.3' 'gtkmm>=2.14.1')
makedepends=('pkgconfig')
diff --git a/extra/libgme/PKGBUILD b/extra/libgme/PKGBUILD
index 87cf33388..2e874487d 100644
--- a/extra/libgme/PKGBUILD
+++ b/extra/libgme/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
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 c44409f75..fa4540a1a 100644
--- a/extra/libgnome-keyring/PKGBUILD
+++ b/extra/libgnome-keyring/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgnome-keyring
pkgver=3.0.3
pkgrel=1
pkgdesc="GNOME keyring client library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('dbus-core' 'libgcrypt' 'glib2')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/libgnome/PKGBUILD b/extra/libgnome/PKGBUILD
index 9c7318fe2..a654b2790 100644
--- a/extra/libgnome/PKGBUILD
+++ b/extra/libgnome/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libgnome
pkgname=('libgnome' 'libgnome-data')
pkgver=2.32.1
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('intltool' 'gnome-vfs>=2.24.4' 'libbonobo>=2.32.1' 'gconf>=2.32.3' 'gvfs>=1.8.1' 'libcanberra>=0.28')
options=('!libtool' '!emptydirs')
diff --git a/extra/libgnomecanvas/PKGBUILD b/extra/libgnomecanvas/PKGBUILD
index 6bc8b6893..5863266cd 100644
--- a/extra/libgnomecanvas/PKGBUILD
+++ b/extra/libgnomecanvas/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgnomecanvas
pkgver=2.30.3
pkgrel=1
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=('pkgconfig' 'intltool')
diff --git a/extra/libgnomecanvasmm/PKGBUILD b/extra/libgnomecanvasmm/PKGBUILD
index dcb7eccb0..7141ca4ad 100644
--- a/extra/libgnomecanvasmm/PKGBUILD
+++ b/extra/libgnomecanvasmm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgnomecanvasmm
pkgver=2.26.0
pkgrel=1
pkgdesc="A C++ wrapper for libgnomecanvas."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gtkmm>=2.16.0' 'libgnomecanvas>=2.26.0')
makedepends=('pkgconfig')
diff --git a/extra/libgnomecups/PKGBUILD b/extra/libgnomecups/PKGBUILD
index 157e18f50..8a8739700 100644
--- a/extra/libgnomecups/PKGBUILD
+++ b/extra/libgnomecups/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgnomecups
pkgver=0.2.3
pkgrel=8
pkgdesc="GNOME cups library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL' 'GPL')
url="http://www.gnome.org"
depends=('libcups' 'glib2' 'krb5' 'gnutls')
diff --git a/extra/libgnomekbd/PKGBUILD b/extra/libgnomekbd/PKGBUILD
index a1984e5a8..25b12329a 100644
--- a/extra/libgnomekbd/PKGBUILD
+++ b/extra/libgnomekbd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.0.1
pkgrel=1
pkgdesc="Gnome keyboard library"
url="http://gswitchit.sourceforge.net"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libxklavier>=5.1' 'gtk3' 'dconf')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libgnomemm/PKGBUILD b/extra/libgnomemm/PKGBUILD
index 7696a5f30..7603b20cd 100644
--- a/extra/libgnomemm/PKGBUILD
+++ b/extra/libgnomemm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgnomemm
pkgver=2.30.0
pkgrel=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/libgnomeprint/PKGBUILD b/extra/libgnomeprint/PKGBUILD
index db2bfedcd..4779db9b4 100644
--- a/extra/libgnomeprint/PKGBUILD
+++ b/extra/libgnomeprint/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgnomeprint
pkgver=2.18.8
pkgrel=2
pkgdesc="Printing routines for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL' 'GPL')
depends=('pango' 'libart-lgpl' 'libxml2' 'libgnomecups' 'krb5' 'gnutls')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/libgnomeprintui/PKGBUILD b/extra/libgnomeprintui/PKGBUILD
index 0a8186213..2890f2574 100644
--- a/extra/libgnomeprintui/PKGBUILD
+++ b/extra/libgnomeprintui/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgnomeprintui
pkgver=2.18.6
pkgrel=1
pkgdesc="User Interface library for printing with GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('libgnomeprint>=2.18.8' 'libgnomecanvas>=2.30.2' 'gnome-icon-theme>=2.31.0')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/libgnomeui/PKGBUILD b/extra/libgnomeui/PKGBUILD
index 7538c8acc..2f88aa992 100644
--- a/extra/libgnomeui/PKGBUILD
+++ b/extra/libgnomeui/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgnomeui
pkgver=2.24.4
pkgrel=1
pkgdesc="User Interface library for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libbonoboui>=2.24.3' 'libgnome-keyring>=2.31.92' 'libsm')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/libgnomeuimm/PKGBUILD b/extra/libgnomeuimm/PKGBUILD
index 0d88685d5..c85a9a1f6 100644
--- a/extra/libgnomeuimm/PKGBUILD
+++ b/extra/libgnomeuimm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgnomeuimm
pkgver=2.28.0
pkgrel=1
pkgdesc="A C++ wrapper for libgnomeui."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('libgnomeui>=2.24.1' 'libgnomecanvasmm>=2.26.0' 'libgnomemm>=2.28.0' 'libglademm>=2.6.7' 'gconfmm>=2.28.0' 'gnome-vfsmm>=2.26.0')
makedepends=('pkgconfig')
diff --git a/extra/libgphoto2/PKGBUILD b/extra/libgphoto2/PKGBUILD
index 23e7d74b9..cfbc417d7 100644
--- a/extra/libgphoto2/PKGBUILD
+++ b/extra/libgphoto2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgphoto2
pkgver=2.4.10.1
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>=0.6.19' 'libjpeg>=8' 'gd' 'libtool>=2.4' 'libusb-compat')
diff --git a/extra/libgpod/PKGBUILD b/extra/libgpod/PKGBUILD
index 92e8e4a68..f88c65b64 100644
--- a/extra/libgpod/PKGBUILD
+++ b/extra/libgpod/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgpod
pkgver=0.8.2
pkgrel=1
pkgdesc="A shared library to access the contents of an iPod"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gtk2' 'mutagen' 'sg3_utils' 'libimobiledevice')
makedepends=('intltool' 'swig' 'docbook-xsl' 'pygobject-devel' 'gtk-sharp-2')
diff --git a/extra/libgsf/PKGBUILD b/extra/libgsf/PKGBUILD
index 87810e3cf..d5343da70 100644
--- a/extra/libgsf/PKGBUILD
+++ b/extra/libgsf/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=libgsf
pkgname=('libgsf' 'libgsf-gnome')
pkgver=1.14.21
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnome.org/"
license=('GPL' 'LGPL')
makedepends=('libxml2' 'glib2' 'bzip2' 'intltool' 'pkgconfig'
diff --git a/extra/libgtkhtml/PKGBUILD b/extra/libgtkhtml/PKGBUILD
index ff795d406..6725257f8 100644
--- a/extra/libgtkhtml/PKGBUILD
+++ b/extra/libgtkhtml/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgtkhtml
pkgver=2.11.1
pkgrel=3
pkgdesc="An HTML library for GTK"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gtk2>=2.22.1' 'libxml2>=2.7.8')
makedepends=('perlxml')
diff --git a/extra/libgtop/PKGBUILD b/extra/libgtop/PKGBUILD
index 889f6e279..c6b2208c0 100644
--- a/extra/libgtop/PKGBUILD
+++ b/extra/libgtop/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgtop
pkgver=2.28.3
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 ff26ce9a1..917b5fe70 100644
--- a/extra/libguess/PKGBUILD
+++ b/extra/libguess/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libguess
pkgver=1.0
pkgrel=3
pkgdesc='High-speed character set detection library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://atheme.org/project/libguess'
license=('BSD')
depends=('libmowgli')
diff --git a/extra/libgweather/PKGBUILD b/extra/libgweather/PKGBUILD
index f8c1e71c4..55cfcad8c 100644
--- a/extra/libgweather/PKGBUILD
+++ b/extra/libgweather/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgweather
pkgver=3.0.2
pkgrel=1
pkgdesc="Provides access to weather information from the net"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gconf' 'libsoup-gnome' 'gnome-icon-theme')
makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gobject-introspection')
diff --git a/extra/libhangul/PKGBUILD b/extra/libhangul/PKGBUILD
index fb65acc74..cce918db2 100644
--- a/extra/libhangul/PKGBUILD
+++ b/extra/libhangul/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.0.12
pkgrel=2
_filecode=5855
pkgdesc='Input method library for Korean'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://kldp.net/projects/hangul/'
license=('LGPL')
options=('!libtool')
diff --git a/extra/libical/PKGBUILD b/extra/libical/PKGBUILD
index 3f77290ea..56c6f19b2 100644
--- a/extra/libical/PKGBUILD
+++ b/extra/libical/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libical
pkgver=0.46
pkgrel=1
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 a350cfaf7..09c274fb3 100644
--- a/extra/libice/PKGBUILD
+++ b/extra/libice/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libice
pkgver=1.0.7
pkgrel=1
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=('pkgconfig' 'xtrans>=1.2.5')
diff --git a/extra/libid3tag/PKGBUILD b/extra/libid3tag/PKGBUILD
index 759e99240..589902094 100644
--- a/extra/libid3tag/PKGBUILD
+++ b/extra/libid3tag/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libid3tag
pkgver=0.15.1b
pkgrel=6
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 87bb7c218..a2f678871 100644
--- a/extra/libidl2/PKGBUILD
+++ b/extra/libidl2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libidl2
pkgver=0.8.14
pkgrel=1
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>=2.24.0' 'texinfo')
makedepends=('pkgconfig')
diff --git a/extra/libidn/PKGBUILD b/extra/libidn/PKGBUILD
index 8428590f6..67d89a5e1 100644
--- a/extra/libidn/PKGBUILD
+++ b/extra/libidn/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.22
pkgrel=1
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 468cd762f..d3ca8d1ce 100644
--- a/extra/libiec61883/PKGBUILD
+++ b/extra/libiec61883/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libiec61883
pkgver=1.2.0
pkgrel=2
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 98f7d7107..58c0d95a0 100644
--- a/extra/libieee1284/PKGBUILD
+++ b/extra/libieee1284/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libieee1284
pkgver=0.2.11
pkgrel=3
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')
@@ -16,7 +16,7 @@ md5sums=('b8fff9f3d121531bc17430e3f4ea6ed0')
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man
+ ./configure --prefix=/usr --mandir=/usr/share/man PYTHON=/usr/bin/python2
make
}
diff --git a/extra/libifp/PKGBUILD b/extra/libifp/PKGBUILD
index 248d449c5..fc3667670 100644
--- a/extra/libifp/PKGBUILD
+++ b/extra/libifp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libifp
pkgver=1.0.0.2
pkgrel=3
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 279afee1c..dbad1b497 100644
--- a/extra/libimobiledevice/PKGBUILD
+++ b/extra/libimobiledevice/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.1.1
pkgrel=1
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=('gnutls' 'glib2' 'libplist' 'usbmuxd')
makedepends=('swig' 'python2')
diff --git a/extra/libiodbc/PKGBUILD b/extra/libiodbc/PKGBUILD
index a9a47dec7..4266b08f4 100644
--- a/extra/libiodbc/PKGBUILD
+++ b/extra/libiodbc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libiodbc
pkgver=3.52.7
pkgrel=4
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=('glibc' 'sh')
diff --git a/extra/libirman/PKGBUILD b/extra/libirman/PKGBUILD
index 3305a78eb..db0de83f1 100644
--- a/extra/libirman/PKGBUILD
+++ b/extra/libirman/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libirman
pkgver=0.4.5
pkgrel=2
pkgdesc="Irman driver lcd library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lirc.org"
license=('LGPL')
options=(!libtool)
diff --git a/extra/libisoburn/PKGBUILD b/extra/libisoburn/PKGBUILD
index e0cad9930..6b38ff996 100644
--- a/extra/libisoburn/PKGBUILD
+++ b/extra/libisoburn/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.1.2
pkgrel=1
pkgdesc="frontend for libraries libburn and libisofs"
url="http://libburnia.pykix.org/wiki/Libisoburn"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('libburn>=1.1.0' 'libisofs>=1.1.2' 'readline>=6.2')
options=('!libtool')
diff --git a/extra/libisofs/PKGBUILD b/extra/libisofs/PKGBUILD
index ca76e08e4..a25af3e34 100644
--- a/extra/libisofs/PKGBUILD
+++ b/extra/libisofs/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libisofs
pkgver=1.1.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.pykix.org/"
license=('GPL')
depends=('acl' 'zlib')
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD
index 96e9e69b5..330136d46 100644
--- a/extra/libjpeg-turbo/PKGBUILD
+++ b/extra/libjpeg-turbo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libjpeg-turbo
pkgver=1.1.1
pkgrel=3
pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libjpeg-turbo.virtualgl.org/"
license=('GPL' 'custom')
depends=('glibc')
diff --git a/extra/libksba/PKGBUILD b/extra/libksba/PKGBUILD
index 4e19d60a7..81d627fd9 100644
--- a/extra/libksba/PKGBUILD
+++ b/extra/libksba/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libksba
pkgver=1.0.8
pkgrel=1
pkgdesc="Libksba is a CMS and X.509 access library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="ftp://ftp.gnupg.org/gcrypt/alpha/libksba"
depends=('bash' 'libgpg-error' 'glibc')
diff --git a/extra/libktorrent/PKGBUILD b/extra/libktorrent/PKGBUILD
index c4c779b47..b39a2dc82 100644
--- a/extra/libktorrent/PKGBUILD
+++ b/extra/libktorrent/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libktorrent
pkgver=1.1.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 13e5dd98e..a67e1cdfe 100644
--- a/extra/liblastfm/PKGBUILD
+++ b/extra/liblastfm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=liblastfm
pkgver=0.3.3
pkgrel=2
pkgdesc="A collection of libraries to help you integrate Last.fm services into your rich desktop software"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://github.com/mxcl/liblastfm/"
license=('GPL')
depends=('libsamplerate' 'fftw' 'qt')
diff --git a/extra/liblo/PKGBUILD b/extra/liblo/PKGBUILD
index eae1ff944..4963a4649 100644
--- a/extra/liblo/PKGBUILD
+++ b/extra/liblo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=liblo
pkgver=0.26
pkgrel=1
pkgdesc="Lightweight OSC implementation: an implementation of the Open Sound Control protocol for POSIX systems"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://plugin.org.uk/liblo/"
license=('GPL')
depends=('glibc')
diff --git a/extra/liblqr/PKGBUILD b/extra/liblqr/PKGBUILD
index 67f9170d6..445511d75 100644
--- a/extra/liblqr/PKGBUILD
+++ b/extra/liblqr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liblqr
pkgver=0.4.1
pkgrel=2
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 17236fa71..0059600cb 100644
--- a/extra/liblrdf/PKGBUILD
+++ b/extra/liblrdf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liblrdf
pkgver=0.4.0
pkgrel=8
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/lrdf" #"http://sourceforge.net/projects/lrdf"
depends=('raptor' 'ladspa')
makedepends=('pkgconfig')
diff --git a/extra/libmad/PKGBUILD b/extra/libmad/PKGBUILD
index 842fbe930..14f32b061 100644
--- a/extra/libmad/PKGBUILD
+++ b/extra/libmad/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmad
pkgver=0.15.1b
pkgrel=5
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')
@@ -29,7 +29,7 @@ build() {
patch -p1 -i "${srcdir}/optimize.diff"
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 656c4f3d5..4febacedf 100644
--- a/extra/libmatroska/PKGBUILD
+++ b/extra/libmatroska/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmatroska
pkgver=1.2.0
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/libmcrypt/PKGBUILD b/extra/libmcrypt/PKGBUILD
index 0bbe97d83..f4e845f0a 100644
--- a/extra/libmcrypt/PKGBUILD
+++ b/extra/libmcrypt/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.5.8
pkgrel=2
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=('!libtool')
diff --git a/extra/libmikmod/PKGBUILD b/extra/libmikmod/PKGBUILD
index a84418dbb..dd1dd5d3b 100644
--- a/extra/libmikmod/PKGBUILD
+++ b/extra/libmikmod/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3
pkgdesc="A portable sound library"
license=('GPL' 'LGPL')
url="http://sourceforge.net/projects/mikmod/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
options=('!libtool')
install=$pkgname.install
diff --git a/extra/libmms/PKGBUILD b/extra/libmms/PKGBUILD
index fd9ab3ea8..322a4fdd5 100644
--- a/extra/libmms/PKGBUILD
+++ b/extra/libmms/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmms
pkgver=0.6.2
pkgrel=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 660771863..9f1dc49d5 100644
--- a/extra/libmng/PKGBUILD
+++ b/extra/libmng/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmng
pkgver=1.0.10
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=('zlib' 'libjpeg>=8')
diff --git a/extra/libmodplug/PKGBUILD b/extra/libmodplug/PKGBUILD
index ca27edda1..874946404 100644
--- a/extra/libmodplug/PKGBUILD
+++ b/extra/libmodplug/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libmodplug
pkgver=0.8.8.3
pkgrel=1
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 c00b18954..7c3c1bb5c 100644
--- a/extra/libmowgli/PKGBUILD
+++ b/extra/libmowgli/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libmowgli
pkgver=0.9.50
pkgrel=1
pkgdesc='Performance and usability-oriented extensions to C'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.atheme.org/project/mowgli'
license=('custom')
depends=('glibc')
diff --git a/extra/libmp3splt/PKGBUILD b/extra/libmp3splt/PKGBUILD
index f374e413d..af01492ea 100644
--- a/extra/libmp3splt/PKGBUILD
+++ b/extra/libmp3splt/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=libmp3splt
pkgver=0.7
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Library for splitting mp3 and ogg files without decoding"
license=('GPL')
url="http://mp3splt.sourceforge.net"
diff --git a/extra/libmp4v2/PKGBUILD b/extra/libmp4v2/PKGBUILD
index 9182dd229..dd806ff96 100644
--- a/extra/libmp4v2/PKGBUILD
+++ b/extra/libmp4v2/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libmp4v2
pkgver=1.9.1
pkgrel=1
pkgdesc="MPEG-4 library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MPL')
url="http://code.google.com/p/mp4v2/"
options=('!libtool')
diff --git a/extra/libmpcdec/PKGBUILD b/extra/libmpcdec/PKGBUILD
index 3cd953784..5ce2000d7 100644
--- a/extra/libmpcdec/PKGBUILD
+++ b/extra/libmpcdec/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmpcdec
pkgver=1.2.6
pkgrel=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 1c59617e4..9309a8f64 100644
--- a/extra/libmpd/PKGBUILD
+++ b/extra/libmpd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmpd
pkgver=0.20.0
pkgrel=1
pkgdesc="Signal based wrapper around libmpdclient"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
depends=('glib2')
diff --git a/extra/libmpdclient/PKGBUILD b/extra/libmpdclient/PKGBUILD
index faa1c8340..f64f57a3c 100644
--- a/extra/libmpdclient/PKGBUILD
+++ b/extra/libmpdclient/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmpdclient
pkgver=2.5
pkgrel=1
pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://mpd.wikia.com/wiki/ClientLib:libmpdclient'
license=('custom')
options=('!libtool')
diff --git a/extra/libmpeg2/PKGBUILD b/extra/libmpeg2/PKGBUILD
index 25960822d..192d24571 100644
--- a/extra/libmpeg2/PKGBUILD
+++ b/extra/libmpeg2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmpeg2
pkgver=0.5.1
pkgrel=3
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 c62c80a19..21eace859 100644
--- a/extra/libmsn/PKGBUILD
+++ b/extra/libmsn/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=4.1
pkgrel=2
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')
diff --git a/extra/libmspack/PKGBUILD b/extra/libmspack/PKGBUILD
index 75c770b91..a32351445 100644
--- a/extra/libmspack/PKGBUILD
+++ b/extra/libmspack/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmspack
pkgver=0.2alpha
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 9632630d0..78018661f 100644
--- a/extra/libmtp/PKGBUILD
+++ b/extra/libmtp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmtp
pkgver=1.1.0
pkgrel=1
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-compat')
diff --git a/extra/libmusicbrainz3/PKGBUILD b/extra/libmusicbrainz3/PKGBUILD
index a89a5939a..1ac244274 100644
--- a/extra/libmusicbrainz3/PKGBUILD
+++ b/extra/libmusicbrainz3/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.3
pkgrel=1
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/libmythes/PKGBUILD b/extra/libmythes/PKGBUILD
index 77ed47352..360f2ecc8 100644
--- a/extra/libmythes/PKGBUILD
+++ b/extra/libmythes/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmythes
pkgver=1.2.1
pkgrel=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 812ae9a4a..3bf7490a8 100644
--- a/extra/libnet/PKGBUILD
+++ b/extra/libnet/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libnet
pkgver=1.1.5
pkgrel=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 b46074046..97e10f729 100644
--- a/extra/libnice/PKGBUILD
+++ b/extra/libnice/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libnice
pkgver=0.1.0
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=('gstreamer0.10')
diff --git a/extra/libnotify/PKGBUILD b/extra/libnotify/PKGBUILD
index 571001868..34d03a7c6 100644
--- a/extra/libnotify/PKGBUILD
+++ b/extra/libnotify/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libnotify
pkgver=0.7.3
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 5074d4037..7824a8b06 100644
--- a/extra/libnova/PKGBUILD
+++ b/extra/libnova/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="libnova is 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/libofa/PKGBUILD b/extra/libofa/PKGBUILD
index 97905a1ea..b41468114 100644
--- a/extra/libofa/PKGBUILD
+++ b/extra/libofa/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libofa
pkgver=0.9.3
pkgrel=3
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' 'gcc-libs')
diff --git a/extra/libofx/PKGBUILD b/extra/libofx/PKGBUILD
index c2b414cf8..2d8983d95 100644
--- a/extra/libofx/PKGBUILD
+++ b/extra/libofx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('libofx' 'libofx-doc')
pkgver=0.9.4
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 66f9062d3..5da319fdc 100644
--- a/extra/libogg/PKGBUILD
+++ b/extra/libogg/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libogg
pkgver=1.2.2
pkgrel=1.1
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 e206abb99..d227719e6 100644
--- a/extra/liboil/PKGBUILD
+++ b/extra/liboil/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liboil
pkgver=0.3.17
pkgrel=1
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/libotf/PKGBUILD b/extra/libotf/PKGBUILD
index 85f758c52..64b708065 100644
--- a/extra/libotf/PKGBUILD
+++ b/extra/libotf/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.9.12
pkgrel=1
pkgdesc='OpenType Font library'
url='http://www.m17n.org/libotf/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libxaw' 'freetype2')
options=('!libtool')
diff --git a/extra/libotr/PKGBUILD b/extra/libotr/PKGBUILD
index 77e86cba1..853b2751e 100644
--- a/extra/libotr/PKGBUILD
+++ b/extra/libotr/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libotr
pkgver=3.2.0
pkgrel=2
pkgdesc='Off-the-Record Messaging Library and Toolkit'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.cypherpunks.ca/otr/'
license=('GPL' 'LGPL')
depends=('libgcrypt')
diff --git a/extra/libots/PKGBUILD b/extra/libots/PKGBUILD
index cd749e574..1caa0736a 100644
--- a/extra/libots/PKGBUILD
+++ b/extra/libots/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libots
pkgver=0.5.0
pkgrel=2
pkgdesc="Open Text Summarizer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libots.sourceforge.net/"
license=('GPL')
depends=('libxml2' 'glib2')
diff --git a/extra/libpciaccess/PKGBUILD b/extra/libpciaccess/PKGBUILD
index 8302ea92a..0ec358dd2 100644
--- a/extra/libpciaccess/PKGBUILD
+++ b/extra/libpciaccess/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libpciaccess
pkgver=0.12.1
pkgrel=1
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 3cacf3bba..8e190cea6 100644
--- a/extra/libpeas/PKGBUILD
+++ b/extra/libpeas/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libpeas
pkgver=1.0.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' 'pygobject' 'gobject-introspection')
diff --git a/extra/libplist/PKGBUILD b/extra/libplist/PKGBUILD
index 0121e951c..fbf81c3a7 100644
--- a/extra/libplist/PKGBUILD
+++ b/extra/libplist/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.4
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 531e9397e..45de74b8c 100644
--- a/extra/libpng/PKGBUILD
+++ b/extra/libpng/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.4.8
_apngver=1.4.7
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 5b1367bd5..c82563fbc 100644
--- a/extra/libproxy/PKGBUILD
+++ b/extra/libproxy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libproxy
pkgver=0.4.7
pkgrel=1
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'
@@ -28,7 +28,8 @@ build() {
-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}"
make
diff --git a/extra/libqalculate/PKGBUILD b/extra/libqalculate/PKGBUILD
index b9ffa1c21..d34fc9d6c 100644
--- a/extra/libqalculate/PKGBUILD
+++ b/extra/libqalculate/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libqalculate
pkgver=0.9.7
pkgrel=2
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' 'ncurses' 'readline')
diff --git a/extra/libraw1394/PKGBUILD b/extra/libraw1394/PKGBUILD
index 786d0fc96..3f61231e3 100644
--- a/extra/libraw1394/PKGBUILD
+++ b/extra/libraw1394/PKGBUILD
@@ -5,13 +5,13 @@
pkgname=libraw1394
pkgver=2.0.7
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
pkgdesc="Provides an API to the Linux IEEE1394 (FireWire) driver"
depends=('glibc')
makedepends=('pkgconfig')
url="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
-options=(!libtool force)
+options=(!libtool)
source=(ftp://ftp.kernel.org/pub/linux/libs/ieee1394/${pkgname}-${pkgver}.tar.bz2)
build() {
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
index 3104e7ce4..ddc574aa9 100644
--- a/extra/librsvg/PKGBUILD
+++ b/extra/librsvg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=librsvg
pkgver=2.34.0
pkgrel=1
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool')
diff --git a/extra/libsamplerate/PKGBUILD b/extra/libsamplerate/PKGBUILD
index 6cdecef97..b5435f7c0 100644
--- a/extra/libsamplerate/PKGBUILD
+++ b/extra/libsamplerate/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsamplerate
pkgver=0.1.7
pkgrel=2
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/libsexy/PKGBUILD b/extra/libsexy/PKGBUILD
index d40911e2c..4c01ea44f 100644
--- a/extra/libsexy/PKGBUILD
+++ b/extra/libsexy/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libsexy
pkgver=0.1.11
pkgrel=2
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 c74560069..6f992e7c4 100644
--- a/extra/libshout/PKGBUILD
+++ b/extra/libshout/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libshout
pkgver=2.2.2
pkgrel=3
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=('!libtool' 'force')
diff --git a/extra/libsidplay/PKGBUILD b/extra/libsidplay/PKGBUILD
index 4d1dfa791..5aa4368dc 100644
--- a/extra/libsidplay/PKGBUILD
+++ b/extra/libsidplay/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libsidplay
pkgver=1.36.59
pkgrel=4
pkgdesc="A library for playing SID music files."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://critical.ch/distfiles/"
license=('GPL')
depends=('gcc-libs')
diff --git a/extra/libsigc++/PKGBUILD b/extra/libsigc++/PKGBUILD
index 444460e89..52a249faa 100644
--- a/extra/libsigc++/PKGBUILD
+++ b/extra/libsigc++/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=libsigc++
pkgname=('libsigc++' 'libsigc++-docs')
pkgver=2.2.10
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://libsigc.sourceforge.net/"
source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgbase}/2.2/${pkgbase}-${pkgver}.tar.bz2)
diff --git a/extra/libsigsegv/PKGBUILD b/extra/libsigsegv/PKGBUILD
index 753cfd194..c77e0568d 100644
--- a/extra/libsigsegv/PKGBUILD
+++ b/extra/libsigsegv/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libsigsegv
pkgver=2.6
pkgrel=1
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
pkgdesc="Page fault detection library"
url="http://libsigsegv.sourceforge.net/"
license=('GPL2')
diff --git a/extra/libsm/PKGBUILD b/extra/libsm/PKGBUILD
index 0abf5d86c..a68ea74a1 100644
--- a/extra/libsm/PKGBUILD
+++ b/extra/libsm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsm
pkgver=1.2.0
pkgrel=1
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-ng')
diff --git a/extra/libsmbios/PKGBUILD b/extra/libsmbios/PKGBUILD
index 9945172d7..231a7efc8 100644
--- a/extra/libsmbios/PKGBUILD
+++ b/extra/libsmbios/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libsmbios
pkgver=2.2.26
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 b2c8cd0bb..3c8303ed8 100644
--- a/extra/libsndfile/PKGBUILD
+++ b/extra/libsndfile/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsndfile
pkgver=1.0.25
pkgrel=1
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/libsoup/PKGBUILD b/extra/libsoup/PKGBUILD
index 6547c7d42..e6f271723 100644
--- a/extra/libsoup/PKGBUILD
+++ b/extra/libsoup/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libsoup
pkgname=('libsoup' 'libsoup-gnome')
pkgver=2.34.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('glib2' 'libxml2' 'sqlite3' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking')
url="http://www.gnome.org"
diff --git a/extra/libspectre/PKGBUILD b/extra/libspectre/PKGBUILD
index bbef6cfbc..beac5f96b 100644
--- a/extra/libspectre/PKGBUILD
+++ b/extra/libspectre/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libspectre
pkgver=0.2.6
pkgrel=2
pkgdesc="Small library for rendering Postscript documents"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://libspectre.freedesktop.org/wiki/"
depends=('ghostscript>=9.00')
diff --git a/extra/libssh/PKGBUILD b/extra/libssh/PKGBUILD
index 34d929086..d9c8031e0 100644
--- a/extra/libssh/PKGBUILD
+++ b/extra/libssh/PKGBUILD
@@ -9,7 +9,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=("http://www.libssh.org/files/0.5/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/libstdc++5/PKGBUILD b/extra/libstdc++5/PKGBUILD
index ad9e5c374..652fe58fd 100644
--- a/extra/libstdc++5/PKGBUILD
+++ b/extra/libstdc++5/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libstdc++5
pkgver=3.3.6
pkgrel=3
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 107b62f24..ad67c9fe8 100644
--- a/extra/libstroke/PKGBUILD
+++ b/extra/libstroke/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libstroke
pkgver=0.5.1
pkgrel=4
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/libtasn1/PKGBUILD b/extra/libtasn1/PKGBUILD
index 2836a8ceb..339395e69 100644
--- a/extra/libtasn1/PKGBUILD
+++ b/extra/libtasn1/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libtasn1
pkgver=2.9
pkgrel=1
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 dfccfb8db..85e0e4459 100644
--- a/extra/libtextcat/PKGBUILD
+++ b/extra/libtextcat/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libtextcat
pkgver=2.2
pkgrel=8
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 818b8611e..4de54376a 100644
--- a/extra/libthai/PKGBUILD
+++ b/extra/libthai/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.1.15
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>=0.2.3')
makedepends=('pkgconfig')
diff --git a/extra/libtheora/PKGBUILD b/extra/libtheora/PKGBUILD
index 4b26007aa..75ac58368 100644
--- a/extra/libtheora/PKGBUILD
+++ b/extra/libtheora/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libtheora
pkgver=1.1.1
pkgrel=1
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')
diff --git a/extra/libtiff/PKGBUILD b/extra/libtiff/PKGBUILD
index 1624b2a52..a7c221246 100644
--- a/extra/libtiff/PKGBUILD
+++ b/extra/libtiff/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libtiff
pkgver=3.9.5
pkgrel=1
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=('libjpeg' 'zlib')
diff --git a/extra/libtorrent-rasterbar/PKGBUILD b/extra/libtorrent-rasterbar/PKGBUILD
index b18f3442e..53cf9a6d0 100644
--- a/extra/libtorrent-rasterbar/PKGBUILD
+++ b/extra/libtorrent-rasterbar/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.15.7
pkgrel=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=('custom')
depends=('boost-libs' 'python2')
makedepends=('boost')
diff --git a/extra/libunique/PKGBUILD b/extra/libunique/PKGBUILD
index 8bd45f129..a03262a99 100644
--- a/extra/libunique/PKGBUILD
+++ b/extra/libunique/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libunique
pkgver=1.1.6
pkgrel=4
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/libupnp/PKGBUILD b/extra/libupnp/PKGBUILD
index 20c1c66c9..0239b1942 100644
--- a/extra/libupnp/PKGBUILD
+++ b/extra/libupnp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libupnp
pkgver=1.6.13
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/libva/PKGBUILD b/extra/libva/PKGBUILD
index 182f6081c..b01530d09 100644
--- a/extra/libva/PKGBUILD
+++ b/extra/libva/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libva
pkgver=1.0.14
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=('libgl' 'libdrm>=2.4.23' 'libxfixes')
diff --git a/extra/libvdpau/PKGBUILD b/extra/libvdpau/PKGBUILD
index 7500270bc..67ee93f18 100644
--- a/extra/libvdpau/PKGBUILD
+++ b/extra/libvdpau/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libvdpau
pkgver=0.4.1
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')
conflicts=('nvidia-utils<190.42-2')
diff --git a/extra/libvisual-plugins/PKGBUILD b/extra/libvisual-plugins/PKGBUILD
index e6b7eeea0..83b6a2927 100644
--- a/extra/libvisual-plugins/PKGBUILD
+++ b/extra/libvisual-plugins/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libvisual-plugins
pkgver=0.4.0
pkgrel=3
pkgdesc="plugins for libvisual"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL')
url="http://www.localhost.nl/~synap/libvisual/"
depends=('libvisual>=0.4.0' 'gtk2>=2.18.6' 'mesa>=7.7' 'alsa-lib' 'esound' 'jack-audio-connection-kit')
diff --git a/extra/libvisual/PKGBUILD b/extra/libvisual/PKGBUILD
index 11b566762..4a5f8a0b0 100644
--- a/extra/libvisual/PKGBUILD
+++ b/extra/libvisual/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libvisual
pkgver=0.4.0
pkgrel=3
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')
depends=('glibc')
diff --git a/extra/libvncserver/PKGBUILD b/extra/libvncserver/PKGBUILD
index 72fa515e3..446e2bf63 100644
--- a/extra/libvncserver/PKGBUILD
+++ b/extra/libvncserver/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libvncserver
pkgver=0.9.8
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' 'zlib' 'gnutls')
diff --git a/extra/libvorbis/PKGBUILD b/extra/libvorbis/PKGBUILD
index b144a90b1..2c7b35a34 100644
--- a/extra/libvorbis/PKGBUILD
+++ b/extra/libvorbis/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libvorbis
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Vorbis codec library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.xiph.org/ogg/vorbis/"
depends=('libogg')
@@ -18,7 +18,11 @@ md5sums=('c870b9bd5858a0ecb5275c14486d9554')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
#-march=i686 optimizes too much, strip it out
- CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static
+ if [ "$CARCH" = "mips64el" ]; then
+ CFLAGS=${CFLAGS/loongson2f/mips3} ./configure --prefix=/usr --disable-static
+ else
+ CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static
+ fi
make
}
diff --git a/extra/libvpx/PKGBUILD b/extra/libvpx/PKGBUILD
index 573747f4c..d6de05435 100644
--- a/extra/libvpx/PKGBUILD
+++ b/extra/libvpx/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libvpx
pkgver=0.9.7
pkgrel=1
pkgdesc="The VP8 Codec SDK"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.webmproject.org/"
license=('BSD')
depends=('glibc')
diff --git a/extra/libwebkit/PKGBUILD b/extra/libwebkit/PKGBUILD
index 7dccf4179..aa2207e39 100644
--- a/extra/libwebkit/PKGBUILD
+++ b/extra/libwebkit/PKGBUILD
@@ -6,23 +6,33 @@ pkgname=(libwebkit libwebkit3)
pkgver=1.4.2
pkgrel=1
pkgdesc="An opensource web content engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://webkitgtk.org/"
license=('custom')
depends=('libxt' 'libxslt' 'sqlite3' 'icu' 'gstreamer0.10-base' 'libsoup' 'enchant')
+checkdepends=('hspell')
makedepends=('gperf' 'gtk-doc' 'gobject-introspection' 'python2' 'gtk2' 'gtk3')
options=('!libtool')
install=libwebkit.install
source=(http://webkitgtk.org/webkit-${pkgver}.tar.gz
- replace-switch-with-given-when.patch)
-md5sums=('361f8420e93d12101d650758fec09fa0'
- '3ba708a26b7af0e1e853867966fe14f7')
+ replace-switch-with-given-when.patch
+ fix-mips-n32.patch)
build() {
cd "${srcdir}/webkit-${pkgver}"
# patch -Np1 -i "${srcdir}/replace-switch-with-given-when.patch"
mkdir build-gtk{2,3}
+ # WebKit knows only O32, not aligning memory on N32, also wants to
+ # use nonavailable JIT for all MIPS.
+ patch -Np1 -i "${srcdir}/fix-mips-n32.patch"
+
+ # ld needs more virtual memory than is available on MIPS n32, these
+ # options should reduce it.
+ if [ "${CARCH}" == "mips64el" ] ; then
+ export LDFLAGS="${LDFLAGS} -Wl,--reduce-memory-overhead -Wl,--no-keep-memory"
+ fi
+
( cd build-gtk2 && _build --with-gtk=2.0 )
( cd build-gtk3 && _build --with-gtk=3.0 )
}
@@ -36,6 +46,12 @@ _build() {
make all stamp-po
}
+check() {
+ cd "${srcdir}/webkit-${pkgver}"
+ make -C build-gtk2 check
+ make -C build-gtk3 check
+}
+
package_libwebkit() {
pkgdesc+=" (for GTK2)"
depends+=(gtk2)
@@ -56,3 +72,6 @@ package_libwebkit3() {
make DESTDIR="${pkgdir}" install
install -Dm644 ../Source/WebKit/LICENSE "${pkgdir}/usr/share/licenses/libwebkit3/LICENSE"
}
+md5sums=('361f8420e93d12101d650758fec09fa0'
+ '3ba708a26b7af0e1e853867966fe14f7'
+ '1e1971b0214f6705ceb4f816c4b52af9')
diff --git a/extra/libwebkit/fix-mips-n32.patch b/extra/libwebkit/fix-mips-n32.patch
new file mode 100644
index 000000000..0acc0daf6
--- /dev/null
+++ b/extra/libwebkit/fix-mips-n32.patch
@@ -0,0 +1,25 @@
+--- webkit-1.4.1.orig/Source/JavaScriptCore/wtf/Platform.h 2011-06-30 12:14:01.572119909 +0200
++++ webkit-1.4.1/Source/JavaScriptCore/wtf/Platform.h 2011-06-30 12:17:00.352382262 +0200
+@@ -139,8 +139,9 @@
+
+ /* CPU(MIPS) - MIPS 32-bit */
+ /* Note: Only O32 ABI is tested, so we enable it for O32 ABI for now. */
++/* N32 is also tested, without JIT. */
+ #if (defined(mips) || defined(__mips__) || defined(MIPS) || defined(_MIPS_)) \
+- && defined(_ABIO32)
++ && (defined(_ABIO32) || defined(_ABIN32))
+ #define WTF_CPU_MIPS 1
+ #if defined(__MIPSEB__)
+ #define WTF_CPU_BIG_ENDIAN 1
+@@ -1009,9 +1010,9 @@
+ #define ENABLE_JIT 0
+ #endif
+
+-/* The JIT is enabled by default on all x86, x64-64, ARM & MIPS platforms. */
++/* The JIT is enabled by default on all x86, x64-64, ARM & MIPS O32 platforms. */
+ #if !defined(ENABLE_JIT) \
+- && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(MIPS)) \
++ && (CPU(X86) || CPU(X86_64) || CPU(ARM) || (CPU(MIPS) && defined(_ABIO32))) \
+ && (OS(DARWIN) || !COMPILER(GCC) || GCC_VERSION_AT_LEAST(4, 1, 0)) \
+ && !OS(WINCE)
+ #define ENABLE_JIT 1
diff --git a/extra/libwmf/PKGBUILD b/extra/libwmf/PKGBUILD
index 12061510c..6558d3b48 100644
--- a/extra/libwmf/PKGBUILD
+++ b/extra/libwmf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libwmf
pkgver=0.2.8.4
pkgrel=8
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=('libpng' 'libx11' 'freetype2' 'libjpeg' 'gsfonts' 'expat')
diff --git a/extra/libwnck/PKGBUILD b/extra/libwnck/PKGBUILD
index ba2f0ce05..dd3fa4a1e 100644
--- a/extra/libwnck/PKGBUILD
+++ b/extra/libwnck/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libwnck
pkgver=2.30.6
pkgrel=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/libwpd/PKGBUILD b/extra/libwpd/PKGBUILD
index b9032299c..30b22c16e 100644
--- a/extra/libwpd/PKGBUILD
+++ b/extra/libwpd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libwpd
pkgver=0.9.2
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')
diff --git a/extra/libwpg/PKGBUILD b/extra/libwpg/PKGBUILD
index 5dfa3efca..45cb589d9 100644
--- a/extra/libwpg/PKGBUILD
+++ b/extra/libwpg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libwpg
pkgver=0.2.0
pkgrel=1
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>=0.9.0' 'perl')
diff --git a/extra/libwps/PKGBUILD b/extra/libwps/PKGBUILD
index 650e94400..d99ebd4cc 100644
--- a/extra/libwps/PKGBUILD
+++ b/extra/libwps/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libwps
pkgver=0.2.2
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.2')
diff --git a/extra/libx11/PKGBUILD b/extra/libx11/PKGBUILD
index da81d3904..f3194756d 100644
--- a/extra/libx11/PKGBUILD
+++ b/extra/libx11/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libx11
pkgver=1.4.4
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 f5301af1a..d0af40eb0 100644
--- a/extra/libxau/PKGBUILD
+++ b/extra/libxau/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxau
pkgver=1.0.6
pkgrel=1
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 d4f65c437..c62004a74 100644
--- a/extra/libxaw/PKGBUILD
+++ b/extra/libxaw/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxaw
pkgver=1.0.9
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 31a5183f5..9696ea620 100644
--- a/extra/libxcb/PKGBUILD
+++ b/extra/libxcb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxcb
pkgver=1.7
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.6' 'libxdmcp' 'libxau')
makedepends=('pkgconfig' 'libxslt' 'python2')
diff --git a/extra/libxcomposite/PKGBUILD b/extra/libxcomposite/PKGBUILD
index 854af09b6..860c1e4f4 100644
--- a/extra/libxcomposite/PKGBUILD
+++ b/extra/libxcomposite/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxcomposite
pkgver=0.4.3
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 619024f09..aca6b0796 100644
--- a/extra/libxcursor/PKGBUILD
+++ b/extra/libxcursor/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxcursor
pkgver=1.1.12
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 231b4ce2d..f54fb1363 100644
--- a/extra/libxdamage/PKGBUILD
+++ b/extra/libxdamage/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxdamage
pkgver=1.1.3
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 b247b9028..85b694ad7 100644
--- a/extra/libxdmcp/PKGBUILD
+++ b/extra/libxdmcp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxdmcp
pkgver=1.1.0
pkgrel=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 ac39bc680..69c6a9fe1 100644
--- a/extra/libxevie/PKGBUILD
+++ b/extra/libxevie/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxevie
pkgver=1.0.3
pkgrel=1
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 af85db2de..5d7bdd2f0 100644
--- a/extra/libxext/PKGBUILD
+++ b/extra/libxext/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxext
pkgver=1.3.0
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/libxfce4menu/PKGBUILD b/extra/libxfce4menu/PKGBUILD
index b4dbbc21e..07f3076f4 100644
--- a/extra/libxfce4menu/PKGBUILD
+++ b/extra/libxfce4menu/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxfce4menu
pkgver=4.6.2
pkgrel=1
pkgdesc="a freedesktop.org compliant menu implementation for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
depends=("libxfce4util>=4.6.2")
diff --git a/extra/libxfce4ui/PKGBUILD b/extra/libxfce4ui/PKGBUILD
index 5a528e5e2..2e7e8d593 100644
--- a/extra/libxfce4ui/PKGBUILD
+++ b/extra/libxfce4ui/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfce4ui
pkgver=4.8.0
pkgrel=3
pkgdesc="share commonly used Xfce widgets among the Xfce applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
depends=('libxfce4util>=4.8.0' 'gtk2' "xfconf>=4.8.0" 'libsm' 'startup-notification')
diff --git a/extra/libxfce4util/PKGBUILD b/extra/libxfce4util/PKGBUILD
index fb95fda85..7855ad22c 100644
--- a/extra/libxfce4util/PKGBUILD
+++ b/extra/libxfce4util/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfce4util
pkgver=4.8.1
pkgrel=2
pkgdesc="Basic utility non-GUI functions for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
depends=("glib2")
diff --git a/extra/libxfcegui4/PKGBUILD b/extra/libxfcegui4/PKGBUILD
index b89360ae7..5c7e594d0 100644
--- a/extra/libxfcegui4/PKGBUILD
+++ b/extra/libxfcegui4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfcegui4
pkgver=4.8.1
pkgrel=3
pkgdesc="Various gtk widgets for Xfce"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
depends=('startup-notification' "xfconf>=4.8.0" "libglade" 'libsm' 'hicolor-icon-theme')
diff --git a/extra/libxfixes/PKGBUILD b/extra/libxfixes/PKGBUILD
index d4e8ee97e..95c88ce88 100644
--- a/extra/libxfixes/PKGBUILD
+++ b/extra/libxfixes/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxfixes
pkgver=5.0
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 d42d1ede8..3f6cc1113 100644
--- a/extra/libxfont/PKGBUILD
+++ b/extra/libxfont/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxfont
pkgver=1.4.3
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 edcbf82e5..1ec28e76e 100644
--- a/extra/libxft/PKGBUILD
+++ b/extra/libxft/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxft
pkgver=2.2.0
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 26c64dbc0..8c5197122 100644
--- a/extra/libxi/PKGBUILD
+++ b/extra/libxi/PKGBUILD
@@ -5,17 +5,20 @@ pkgname=libxi
pkgver=1.4.3
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')
options=(!libtool)
license=('custom')
-source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
-sha1sums=('c66cfdee74e8d169a7992b5f257395e653ca761b')
+source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2
+ XExtInt-align-classes-n32.diff)
+sha1sums=('c66cfdee74e8d169a7992b5f257395e653ca761b'
+ '30931831efa9a7f8a888f41bb9284fa32f2e2392')
build() {
cd "${srcdir}/libXi-${pkgver}"
+ patch -Nup0 < "${srcdir}/XExtInt-align-classes-n32.diff"
./configure --prefix=/usr --sysconfdir=/etc --disable-static
make
}
diff --git a/extra/libxi/XExtInt-align-classes-n32.diff b/extra/libxi/XExtInt-align-classes-n32.diff
new file mode 100644
index 000000000..dc5cc4db3
--- /dev/null
+++ b/extra/libxi/XExtInt-align-classes-n32.diff
@@ -0,0 +1,31 @@
+--- src/XExtInt.c.orig 2011-06-14 20:46:50.254164713 +0200
++++ src/XExtInt.c 2011-06-14 22:08:38.173047738 +0200
+@@ -1419,6 +1419,13 @@
+ for (i = 0; i < nclasses; i++)
+ {
+ int l = 0;
++#ifdef _ABIN32
++ /* On MIPS n32 doubles must be 8 byte aligned, but longs take
++ 4 bytes, so next_block could make this structure
++ unaligned. */
++ if(len % 8 != 0)
++ len += 8 - len % 8;
++#endif
+ any_wire = (xXIAnyInfo*)ptr_wire;
+ switch(any_wire->type)
+ {
+@@ -1467,6 +1474,14 @@
+
+ for (i = 0; i < nclasses; i++)
+ {
++#ifdef _ABIN32
++ /* On MIPS n32 doubles must be 8 byte aligned, but longs take
++ 4 bytes, so next_block could make this structure
++ unaligned. */
++ if(((size_t) ptr_lib) % 8 != 0)
++ ptr_lib += 8 - ((size_t) ptr_lib) % 8;
++#endif
++
+ any_lib = (XIAnyClassInfo*)ptr_lib;
+ any_wire = (xXIAnyInfo*)ptr_wire;
+
diff --git a/extra/libxinerama/PKGBUILD b/extra/libxinerama/PKGBUILD
index 87801ba8c..53aba3ae1 100644
--- a/extra/libxinerama/PKGBUILD
+++ b/extra/libxinerama/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxinerama
pkgver=1.1.1
pkgrel=1
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/libxkbfile/PKGBUILD b/extra/libxkbfile/PKGBUILD
index 90e05db37..32c0d5adf 100644
--- a/extra/libxkbfile/PKGBUILD
+++ b/extra/libxkbfile/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxkbfile
pkgver=1.0.7
pkgrel=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 78e39fe67..5b6d40daf 100644
--- a/extra/libxkbui/PKGBUILD
+++ b/extra/libxkbui/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxkbui
pkgver=1.0.2
pkgrel=3
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 3539d795c..1779f53c5 100644
--- a/extra/libxklavier/PKGBUILD
+++ b/extra/libxklavier/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxklavier
pkgver=5.1
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=('pkgconfig')
diff --git a/extra/libxmi/PKGBUILD b/extra/libxmi/PKGBUILD
index 855592a1a..4b08aacc3 100644
--- a/extra/libxmi/PKGBUILD
+++ b/extra/libxmi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxmi
pkgver=1.2
pkgrel=2
pkgdesc="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')
diff --git a/extra/libxml++/PKGBUILD b/extra/libxml++/PKGBUILD
index 53566fd25..5f860c6c5 100644
--- a/extra/libxml++/PKGBUILD
+++ b/extra/libxml++/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libxml++
pkgname=('libxml++' 'libxml++-docs')
pkgver=2.34.1
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 c5da2c5d2..0e3ab9d1f 100644
--- a/extra/libxml2/PKGBUILD
+++ b/extra/libxml2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxml2
pkgver=2.7.8
pkgrel=1
pkgdesc="XML parsing library, version 2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
depends=('zlib>=1.2.4' 'readline>=6.1' 'ncurses>=5.7')
makedepends=('python2')
diff --git a/extra/libxmu/PKGBUILD b/extra/libxmu/PKGBUILD
index 172af84ab..24374eb55 100644
--- a/extra/libxmu/PKGBUILD
+++ b/extra/libxmu/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxmu
pkgver=1.1.0
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 fc3117259..1b6cfa728 100644
--- a/extra/libxp/PKGBUILD
+++ b/extra/libxp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxp
pkgver=1.0.1
pkgrel=2
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 676fd9e31..b0dfd032d 100644
--- a/extra/libxpm/PKGBUILD
+++ b/extra/libxpm/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libxpm
pkgver=3.5.9
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 e148eb6cd..8efc601e4 100644
--- a/extra/libxrandr/PKGBUILD
+++ b/extra/libxrandr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxrandr
pkgver=1.3.2
pkgrel=1
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')
diff --git a/extra/libxrender/PKGBUILD b/extra/libxrender/PKGBUILD
index bed1b410e..1ff10819b 100644
--- a/extra/libxrender/PKGBUILD
+++ b/extra/libxrender/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxrender
pkgver=0.9.6
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 8414f6745..2f3cdc8f8 100644
--- a/extra/libxres/PKGBUILD
+++ b/extra/libxres/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxres
pkgver=1.0.5
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 c956c0f08..54953a283 100644
--- a/extra/libxslt/PKGBUILD
+++ b/extra/libxslt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxslt
pkgver=1.1.26
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>=2.7.7' 'libgcrypt>=1.4.6')
diff --git a/extra/libxss/PKGBUILD b/extra/libxss/PKGBUILD
index a6fbca454..c48afc968 100644
--- a/extra/libxss/PKGBUILD
+++ b/extra/libxss/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxss
pkgver=1.2.1
pkgrel=1
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 989e384c3..5676be5c2 100644
--- a/extra/libxt/PKGBUILD
+++ b/extra/libxt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxt
pkgver=1.1.1
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 bcdf92d29..adbb507e7 100644
--- a/extra/libxtst/PKGBUILD
+++ b/extra/libxtst/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxtst
pkgver=1.2.0
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')
diff --git a/extra/libxv/PKGBUILD b/extra/libxv/PKGBUILD
index a06c89882..17446b190 100644
--- a/extra/libxv/PKGBUILD
+++ b/extra/libxv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxv
pkgver=1.0.6
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 3efb46c39..626ff5a95 100644
--- a/extra/libxvmc/PKGBUILD
+++ b/extra/libxvmc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxvmc
pkgver=1.0.6
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>=1.0.5')
diff --git a/extra/libxxf86dga/PKGBUILD b/extra/libxxf86dga/PKGBUILD
index c66ee69e5..09c80014b 100644
--- a/extra/libxxf86dga/PKGBUILD
+++ b/extra/libxxf86dga/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxxf86dga
pkgver=1.1.2
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 12a6f3069..fb98a7fed 100644
--- a/extra/libxxf86vm/PKGBUILD
+++ b/extra/libxxf86vm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxxf86vm
pkgver=1.1.1
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 8a48bb88e..0c5d6e7c5 100644
--- a/extra/libytnef/PKGBUILD
+++ b/extra/libytnef/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2
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')
options=(!libtool)
depends=('glibc')
source=(http://downloads.sourceforge.net/ytnef/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/libzip/PKGBUILD b/extra/libzip/PKGBUILD
index d50b952db..5c485cce0 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=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('zlib')
options=('!libtool')
source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.gz"
diff --git a/extra/libzvt/PKGBUILD b/extra/libzvt/PKGBUILD
index 4c7c92cd0..02cac3521 100644
--- a/extra/libzvt/PKGBUILD
+++ b/extra/libzvt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libzvt
pkgver=2.0.1
pkgrel=6
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>=2.18.6' 'libart-lgpl>=2.3.20')
diff --git a/extra/licq/PKGBUILD b/extra/licq/PKGBUILD
index a96e34f29..2c2104b33 100644
--- a/extra/licq/PKGBUILD
+++ b/extra/licq/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=licq
pkgver=1.3.9
pkgrel=1
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=('libxss' 'qt' 'openssl' 'boost')
diff --git a/extra/lighttpd/PKGBUILD b/extra/lighttpd/PKGBUILD
index a71c5c93e..ff3a34673 100644
--- a/extra/lighttpd/PKGBUILD
+++ b/extra/lighttpd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.4.29
pkgrel=1
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')
makedepends=('fcgi' 'libmysqlclient' 'lua' 'libxml2' 'e2fsprogs' 'sqlite3' 'gdbm' 'pkgconfig')
diff --git a/extra/link-grammar/PKGBUILD b/extra/link-grammar/PKGBUILD
index ccbbffaf3..6db503de5 100644
--- a/extra/link-grammar/PKGBUILD
+++ b/extra/link-grammar/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=link-grammar
pkgver=4.7.4
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=('glibc')
diff --git a/extra/linux_logo/PKGBUILD b/extra/linux_logo/PKGBUILD
index f6476dc9e..ee3632dfd 100644
--- a/extra/linux_logo/PKGBUILD
+++ b/extra/linux_logo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=linux_logo
pkgver=5.10
pkgrel=1
pkgdesc="Text-based logo and system information program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.deater.net/weave/vmwprod/linux_logo"
license=('GPL')
depends=('glibc')
diff --git a/extra/liquidwar/PKGBUILD b/extra/liquidwar/PKGBUILD
index accbd157d..6e62ae215 100644
--- a/extra/liquidwar/PKGBUILD
+++ b/extra/liquidwar/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=liquidwar
pkgver=5.6.4
pkgrel=4
pkgdesc="A unique multiplayer wargame"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ufoot.org/liquidwar/"
license=('GPL')
depends=('allegro>=4.4.0.1')
diff --git a/extra/lirc/PKGBUILD b/extra/lirc/PKGBUILD
index 201e916fa..4491e5510 100644
--- a/extra/lirc/PKGBUILD
+++ b/extra/lirc/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('lirc' 'lirc-utils')
pkgver=0.9.0
pkgrel=4
epoch=1
-_kernver=2.6.39-ARCH
+_kernver=2.6.39-LIBRE
arch=('i686' 'x86_64')
url="http://www.lirc.org/"
license=('GPL')
diff --git a/extra/live-media/PKGBUILD b/extra/live-media/PKGBUILD
index 9593435ea..23b87c139 100644
--- a/extra/live-media/PKGBUILD
+++ b/extra/live-media/PKGBUILD
@@ -6,12 +6,11 @@ pkgname=live-media
pkgver=2011.07.21
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')
source=("http://live555.com/liveMedia/public/live.${pkgver}.tar.gz")
-md5sums=('9377b34ad465950d423bac5f6f1e5307')
build() {
cd ${srcdir}/live
diff --git a/extra/lm_sensors/PKGBUILD b/extra/lm_sensors/PKGBUILD
index 809f53c2e..2ed603918 100644
--- a/extra/lm_sensors/PKGBUILD
+++ b/extra/lm_sensors/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lm_sensors
pkgver=3.3.1
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 ad508d66e..62a25f5e1 100644
--- a/extra/loudmouth/PKGBUILD
+++ b/extra/loudmouth/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=loudmouth
pkgver=1.4.3
pkgrel=2
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>=2.24.1' 'gnutls>=2.8.6' 'libidn>=1.16')
diff --git a/extra/lpsolve/PKGBUILD b/extra/lpsolve/PKGBUILD
index d956a516f..3d70f3bf0 100644
--- a/extra/lpsolve/PKGBUILD
+++ b/extra/lpsolve/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=5.5.2.0
_mainver=5.5
pkgrel=1
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 a5e4c8089..e1e12bf6b 100644
--- a/extra/lsof/PKGBUILD
+++ b/extra/lsof/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=lsof
pkgver=4.84
pkgrel=3
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 9861acb93..98b2c33fe 100644
--- a/extra/ltrace/PKGBUILD
+++ b/extra/ltrace/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ltrace
pkgver=0.5.3
pkgrel=2
pkgdesc="A debugging program which runs a specified command until it exits"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://packages.debian.org/sid/ltrace"
license=('GPL')
depends=('glibc' 'elfutils')
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD
index 9b30c5bf9..da76c9696 100644
--- a/extra/lua/PKGBUILD
+++ b/extra/lua/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lua
pkgver=5.1.4
pkgrel=6
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' 'ncurses')
license=('MIT')
diff --git a/extra/lv2core/PKGBUILD b/extra/lv2core/PKGBUILD
index 21cef7c66..b26c314b1 100644
--- a/extra/lv2core/PKGBUILD
+++ b/extra/lv2core/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2
pkgdesc="LV2: 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')
provides=('lv2')
changelog=$pkgname.changelog
diff --git a/extra/lxsplit/PKGBUILD b/extra/lxsplit/PKGBUILD
index cfc838f3c..73f2c026b 100644
--- a/extra/lxsplit/PKGBUILD
+++ b/extra/lxsplit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lxsplit
pkgver=0.2.4
pkgrel=1
pkgdesc="Command-line file splitter/joiner compatible with any HJSplit version"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://lxsplit.sourceforge.net/"
license=('GPL')
depends=('glibc')
diff --git a/extra/lynx/PKGBUILD b/extra/lynx/PKGBUILD
index 344bdfa54..0b24738ae 100644
--- a/extra/lynx/PKGBUILD
+++ b/extra/lynx/PKGBUILD
@@ -9,7 +9,7 @@ _pkgver=2-8-7
pkgrel=4
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')
diff --git a/extra/lyx/PKGBUILD b/extra/lyx/PKGBUILD
index cf09d5f97..c2f1b8cc5 100644
--- a/extra/lyx/PKGBUILD
+++ b/extra/lyx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lyx
pkgver=2.0.0
pkgrel=3
pkgdesc="An advanced open-source document processor."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lyx.org"
depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'aspell' 'aiksaurus' 'boost-libs')
makedepends=('boost')
diff --git a/extra/lzop/PKGBUILD b/extra/lzop/PKGBUILD
index 240422d27..6ee369002 100644
--- a/extra/lzop/PKGBUILD
+++ b/extra/lzop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lzop
pkgver=1.03
pkgrel=1
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 103eae831..5b4952dd3 100644
--- a/extra/m17n-lib/PKGBUILD
+++ b/extra/m17n-lib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=m17n-lib
pkgver=1.6.2
pkgrel=2
pkgdesc='A multilingual text processing library (runtimes)'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.m17n.org/m17n-lib/'
license=('GPL')
depends=('libxft' 'm17n-db' 'fribidi' 'libxml2' 'gd' 'libotf>=0.9.11')
diff --git a/extra/mahjong/PKGBUILD b/extra/mahjong/PKGBUILD
index 2aaff6579..7ab6fdc3c 100644
--- a/extra/mahjong/PKGBUILD
+++ b/extra/mahjong/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mahjong
pkgver=1.10
pkgrel=1
pkgdesc="The classical game of Mah Jongg (not the solitare version). Includes network play"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.stevens-bradfield.com/MahJong/"
license=('GPL' 'custom')
depends=('gtk2')
diff --git a/extra/mail-notification/PKGBUILD b/extra/mail-notification/PKGBUILD
index b5b1deeff..f4a978457 100644
--- a/extra/mail-notification/PKGBUILD
+++ b/extra/mail-notification/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mail-notification
pkgver=5.4
pkgrel=8
pkgdesc="Tray icon application that informs you if you have new mail"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/mailnotify/"
license=('GPL3' 'FDL')
depends=('cyrus-sasl-plugins' 'gmime' 'libnotify>=0.7.1' 'gnome-keyring' 'hicolor-icon-theme' 'notification-daemon' 'libgnome')
diff --git a/extra/mailman/PKGBUILD b/extra/mailman/PKGBUILD
index 7306c6363..24a513b52 100644
--- a/extra/mailman/PKGBUILD
+++ b/extra/mailman/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mailman
pkgver=2.1.14
pkgrel=1
pkgdesc="Mailing list manager with built in web access"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.list.org/"
depends=('python2' 'smtp-server')
diff --git a/extra/manedit/PKGBUILD b/extra/manedit/PKGBUILD
index 8c6715319..194b4d474 100644
--- a/extra/manedit/PKGBUILD
+++ b/extra/manedit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=manedit
pkgver=1.2.1
pkgrel=3
pkgdesc="An editor specifically tailored for UNIX manual pages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.battlefieldlinux.com/wolfpack/ManEdit/"
depends=('gcc-libs' 'bzip2' 'zlib' 'gtk')
diff --git a/extra/maxima/PKGBUILD b/extra/maxima/PKGBUILD
index 67a5a1755..468b0eb11 100644
--- a/extra/maxima/PKGBUILD
+++ b/extra/maxima/PKGBUILD
@@ -6,10 +6,14 @@ pkgname=maxima
pkgver=5.24.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.0.50' 'texinfo' 'sh')
+if [ "${CARCH}" == "mips64el" ] ; then
+ depends=('clisp' 'texinfo' 'sh')
+else
+ depends=('sbcl=1.0.50' '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
@@ -25,9 +29,14 @@ 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
make
}
diff --git a/extra/mcpp/PKGBUILD b/extra/mcpp/PKGBUILD
index 4f583586b..93f5de195 100644
--- a/extra/mcpp/PKGBUILD
+++ b/extra/mcpp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mcpp
pkgver=2.7.2
pkgrel=2
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/mcrypt/PKGBUILD b/extra/mcrypt/PKGBUILD
index 7db28d78c..0b6e608a5 100644
--- a/extra/mcrypt/PKGBUILD
+++ b/extra/mcrypt/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.6.8
pkgrel=1
pkgdesc="A program for encrypting files or streams"
url="http://mcrypt.sourceforge.net/"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('mhash' 'libmcrypt>=2.5.8' 'zlib')
source=(http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/memcached/PKGBUILD b/extra/memcached/PKGBUILD
index 21822768c..458f173f9 100644
--- a/extra/memcached/PKGBUILD
+++ b/extra/memcached/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=memcached
pkgver=1.4.6
pkgrel=1
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 d139715da..d8010d675 100644
--- a/extra/mercurial/PKGBUILD
+++ b/extra/mercurial/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mercurial
pkgver=1.9.1
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 dbc313875..0e5fa22f6 100644
--- a/extra/mesa/PKGBUILD
+++ b/extra/mesa/PKGBUILD
@@ -4,6 +4,7 @@
pkgbase=mesa
pkgname=('mesa' 'libgl' 'libglapi' 'libgles' 'libegl' 'ati-dri' 'intel-dri' 'unichrome-dri' 'mach64-dri' 'mga-dri' 'r128-dri' 'savage-dri' 'sis-dri' 'tdfx-dri' 'nouveau-dri') # 'llvm-dri')
+[[ "$CARCH" = "mips64el" ]] && pkgname=('mesa' 'libgl' 'libgles' 'libegl')
#_git=true
_git=false
@@ -15,9 +16,10 @@ if [ "${_git}" = "true" ]; then
pkgver=7.11
fi
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('glproto>=1.4.14' 'libdrm>=2.4.26' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libx11>=1.4.3' 'libxt>=1.1.1'
- 'gcc-libs>=4.6.1' 'dri2proto>=2.6' 'python2' 'libxml2' 'imake' 'llvm' 'udev')
+ 'gcc-libs>=4.6.1' 'python2' 'libxml2' 'imake' 'udev')
+[[ "$CARCH" = "mips64el" ]] || makedepends+=('dri2proto=2.6' 'llvm')
url="http://mesa3d.sourceforge.net"
license=('custom')
source=(LICENSE)
@@ -29,12 +31,26 @@ if [ "${_git}" = "true" ]; then
source=(${source[@]} "ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2"
)
fi
-md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
- 'ff03aca82d0560009a076a87c888cf13')
build() {
cd ${srcdir}/?esa-*
+ # WMB for MIPS patch from Fedora and Gentoo
+ patch -Np1 -i $srcdir/mesa-7.5-mips-wmb.patch
+ patch -Np1 -i $srcdir/mesa-loongson.patch
+
+if [ "$CARCH" = "mips64el" ]; then
+ ./configure --prefix=/usr \
+ --enable-glx-tls \
+ --with-driver=xlib \
+ --enable-xcb \
+ --with-state-trackers=glx \
+ --disable-glut \
+ --enable-gles1 \
+ --enable-gles2 \
+ --enable-egl \
+ --disable-gallium-egl
+else
if [ "${_git}" = "true" ]; then
autoreconf -vfi
./autogen.sh --prefix=/usr \
@@ -71,6 +87,7 @@ if [ "${_git}" = "true" ]; then
--enable-texture-float \
--enable-shared-dricore
fi
+fi
make
}
@@ -78,6 +95,7 @@ fi
package_libgl() {
depends=('libdrm>=2.4.26' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libglapi' 'gcc-libs')
pkgdesc="Mesa 3-D graphics library and DRI software rasterizer"
+ [[ "$CARCH" = "mips64el" ]] && pkgdesc="Mesa 3-D graphics library (Xlib)"
cd ${srcdir}/?esa-*
install -m755 -d "${pkgdir}/usr/lib"
@@ -87,6 +105,8 @@ package_libgl() {
bin/minstall lib/libdricore.so* "${pkgdir}/usr/lib/"
bin/minstall lib/libglsl.so* "${pkgdir}/usr/lib/"
+ if [ "$CARCH" != "mips64el" ]; then
+
cd src/mesa/drivers/dri
#make -C swrast DESTDIR="${pkgdir}" install
if [ "${_git}" = "true" ]; then
@@ -97,6 +117,8 @@ fi
ln -s swrastg_dri.so "${pkgdir}/usr/lib/xorg/modules/dri/swrast_dri.so"
ln -s libglx.xorg "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so"
+ fi
+
install -m755 -d "${pkgdir}/usr/share/licenses/libgl"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/libgl/"
}
diff --git a/extra/mesa/mesa-7.5-mips-wmb.patch b/extra/mesa/mesa-7.5-mips-wmb.patch
new file mode 100644
index 000000000..06c3d1835
--- /dev/null
+++ b/extra/mesa/mesa-7.5-mips-wmb.patch
@@ -0,0 +1,11 @@
+--- mesa-20090921/src/mesa/drivers/dri/sis/sis_context.h.orig 2010-03-31 23:31:37.252554011 +0800
++++ mesa-20090921/src/mesa/drivers/dri/sis/sis_context.h 2010-03-31 23:32:06.616553941 +0800
+@@ -404,6 +404,8 @@
+ #define MMIO_WMB() __asm __volatile("" : : : "memory")
+ #elif defined(__ia64__)
+ #define MMIO_WMB() __asm __volatile("mf" : : : "memory")
++#elif defined(__mips__)
++#define MMIO_WMB() __asm __volatile("" : : : "memory")
+ #else
+ #error platform needs WMB
+ #endif
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/metacity/PKGBUILD b/extra/metacity/PKGBUILD
index 3d028d55b..12e0c3b39 100644
--- a/extra/metacity/PKGBUILD
+++ b/extra/metacity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=metacity
pkgver=2.34.1
pkgrel=1
pkgdesc="A window manager for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('startup-notification' 'gconf' 'zenity' 'libcanberra' 'libgtop' 'libwnck' 'libsm')
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils')
diff --git a/extra/metalog/PKGBUILD b/extra/metalog/PKGBUILD
index 78957391c..9ad023eb6 100644
--- a/extra/metalog/PKGBUILD
+++ b/extra/metalog/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=metalog
pkgver=1.0
pkgrel=1
pkgdesc="Metalog is a modern replacement for syslogd and klogd"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('pcre')
makedepends=('xz-utils')
provides=('logger')
diff --git a/extra/mhash/PKGBUILD b/extra/mhash/PKGBUILD
index 3c2f7b732..1fac0fedc 100644
--- a/extra/mhash/PKGBUILD
+++ b/extra/mhash/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=mhash
pkgver=0.9.9.9
pkgrel=2
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/midori/PKGBUILD b/extra/midori/PKGBUILD
index 1c245bb45..3b347e45e 100644
--- a/extra/midori/PKGBUILD
+++ b/extra/midori/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=midori
pkgver=0.3.6 #_git${_gitdate}
pkgrel=1
pkgdesc="A lightweight web browser based on Gtk WebKit"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
license=('LGPL2.1')
install=midori.install
@@ -37,7 +37,7 @@ build() {
export PYTHON=/usr/bin/python2
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" wscript waf
- ./configure --prefix=/usr --jobs=${MAKEFLAGS/-j/} \
+ ./configure --prefix=/usr \
--enable-addons \
--disable-hildon \
--enable-unique \
diff --git a/extra/minicom/PKGBUILD b/extra/minicom/PKGBUILD
index b1db3651b..f6fffb742 100644
--- a/extra/minicom/PKGBUILD
+++ b/extra/minicom/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=minicom
pkgver=2.5
pkgrel=1
pkgdesc="A serial communication program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('bash' 'ncurses')
backup=('etc/minirc.dfl')
diff --git a/extra/mirage/PKGBUILD b/extra/mirage/PKGBUILD
index c63d6eddc..633b00d3c 100644
--- a/extra/mirage/PKGBUILD
+++ b/extra/mirage/PKGBUILD
@@ -9,7 +9,7 @@ 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 64ea31e79..7e3d00838 100644
--- a/extra/miro/PKGBUILD
+++ b/extra/miro/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=miro
pkgver=4.0.2
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=('dbus-python' 'pyrex' 'pygtk' 'gstreamer0.10' 'python2-gconf'
diff --git a/extra/mjpegtools/PKGBUILD b/extra/mjpegtools/PKGBUILD
index 9daf1a2fc..2a2b212ef 100644
--- a/extra/mjpegtools/PKGBUILD
+++ b/extra/mjpegtools/PKGBUILD
@@ -3,10 +3,10 @@
# Mantainer: Roberto Carvajal <roberto@archlinux.org>
pkgname=mjpegtools
-pkgver=1.9.0
-pkgrel=4
+pkgver=2.0.0
+pkgrel=1
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>=8' 'libpng>=1.4.0' 'sdl' 'gcc-libs' 'libdv')
@@ -14,21 +14,12 @@ makedepends=('gtk2>=2.18.6')
optdepends=('gtk2: glav GUI')
options=('!makeflags' '!libtool')
install=mjpegtools.install
-source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz
- mjpegtools-1.9.0-glibc-2.10.patch
- png2yuv-fix-memleak.patch
- mjpegtools-1.9.0-jpeg-7.patch)
-md5sums=('309a6fcf0900a010d6a9c1e91afc2f5c' 'b8ae66237d83be533db8eea166fd3357'\
- '39e1def8fb0f7c58a217b22dc251a86a' 'ccc7562a3933877d3362da7cf4695ea0')
-sha1sums=('1701233354c7ea86b5b7808c4dd5d03a71118e48' '3029f0e835e693b144298ed9f8143c9566be26f3'\
- '8af5c3747756353bef56d03bafbdd086ff15c02c' '2bdb1b3b8591cede11d4a133a758e8ead35db4dd')
+source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz)
+md5sums=('903e1e3b967eebcc5fe5626d7517dc46')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
- patch -Np1 -i "$srcdir/mjpegtools-1.9.0-glibc-2.10.patch"
- patch -Np1 -i "${srcdir}/png2yuv-fix-memleak.patch"
- patch -Np0 -i "${srcdir}/mjpegtools-1.9.0-jpeg-7.patch"
./configure --prefix=/usr --enable-largefile
make
}
diff --git a/extra/mkbootcd/PKGBUILD b/extra/mkbootcd/PKGBUILD
index dc06beb41..4e3f686c8 100644
--- a/extra/mkbootcd/PKGBUILD
+++ b/extra/mkbootcd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mkbootcd
pkgver=2008.09
pkgrel=1
pkgdesc="Advanced, modular isolinux bootcd image creation utility"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.archlinux.org/"
depends=('mkinitcpio' 'cdrkit' 'syslinux')
diff --git a/extra/mkvtoolnix/PKGBUILD b/extra/mkvtoolnix/PKGBUILD
index 217a30f3f..476d271bc 100644
--- a/extra/mkvtoolnix/PKGBUILD
+++ b/extra/mkvtoolnix/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mkvtoolnix
pkgver=4.9.1
pkgrel=2
pkgdesc="Set of tools to create, edit and inspect Matroska files - CLI version"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
depends=('file' 'boost-libs' 'libmatroska' 'lzo2' 'expat' 'flac' 'libvorbis')
diff --git a/extra/moc/PKGBUILD b/extra/moc/PKGBUILD
index d782e1b0f..dbb54a577 100644
--- a/extra/moc/PKGBUILD
+++ b/extra/moc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=moc
pkgver=20110528
pkgrel=3
pkgdesc="An ncurses console audio player with support for the mp3, ogg, and wave formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://moc.daper.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'jack' 'curl' 'libsamplerate' 'libtool' 'file')
diff --git a/extra/mod_dnssd/PKGBUILD b/extra/mod_dnssd/PKGBUILD
index 7c1ddc18d..defdd4cbc 100644
--- a/extra/mod_dnssd/PKGBUILD
+++ b/extra/mod_dnssd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=mod_dnssd
pkgver=0.6
pkgrel=3
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 30eca4e61..b50af4b07 100644
--- a/extra/mod_fcgid/PKGBUILD
+++ b/extra/mod_fcgid/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=2.3.6
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_mono/PKGBUILD b/extra/mod_mono/PKGBUILD
index 21e944d19..d839902fe 100644
--- a/extra/mod_mono/PKGBUILD
+++ b/extra/mod_mono/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mod_mono
pkgver=2.10
pkgrel=1
pkgdesc="The mono module to make ASP.NET running on top of apache"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('APACHE')
depends=('apache>=2.2.11' 'xsp')
url="http://www.go-mono.com"
diff --git a/extra/mod_perl/PKGBUILD b/extra/mod_perl/PKGBUILD
index 0d257544b..703071b1c 100644
--- a/extra/mod_perl/PKGBUILD
+++ b/extra/mod_perl/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc="Apache module that embeds the Perl interpreter within the server"
url="http://search.cpan.org/dist/${pkgname}/"
depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
license=('APACHE')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=(!emptydirs)
source=(http://search.cpan.org/CPAN/authors/id/P/PH/PHRED/${pkgname}-${pkgver}.tar.gz
nolfs.patch)
diff --git a/extra/mod_wsgi/PKGBUILD b/extra/mod_wsgi/PKGBUILD
index 293fcc9d5..3579695e7 100644
--- a/extra/mod_wsgi/PKGBUILD
+++ b/extra/mod_wsgi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mod_wsgi
pkgver=3.3
pkgrel=2
pkgdesc="Python WSGI adapter module for Apache"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.modwsgi.org/"
license=('APACHE')
depends=('apache' 'python2')
diff --git a/extra/modemmanager/PKGBUILD b/extra/modemmanager/PKGBUILD
index 8ac3539e5..bf6bc7c58 100644
--- a/extra/modemmanager/PKGBUILD
+++ b/extra/modemmanager/PKGBUILD
@@ -5,7 +5,7 @@ _realname=ModemManager
pkgver=0.5
pkgrel=1
pkgdesc="Mobile broadband modem management service"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cgit.freedesktop.org/ModemManager/ModemManager/"
license=('GPL2')
depends=('dbus-glib' 'udev' 'ppp')
diff --git a/extra/monica/PKGBUILD b/extra/monica/PKGBUILD
index b3783fd57..0615205f3 100644
--- a/extra/monica/PKGBUILD
+++ b/extra/monica/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=monica
pkgver=3.7
pkgrel=2
pkgdesc="A monitor calibration tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.pcbypaul.com/software/monica.html"
license=('BSD')
depends=('fltk' 'xorg-xgamma')
diff --git a/extra/mono-addins/PKGBUILD b/extra/mono-addins/PKGBUILD
index 5c8181a91..836600130 100644
--- a/extra/mono-addins/PKGBUILD
+++ b/extra/mono-addins/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mono-addins
pkgver=0.5
pkgrel=1
pkgdesc="A generic framework for creating extensible applications and for creating libraries which extend those applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.mono-project.com/Mono.Addins"
license=('custom:MIT')
depends=('gtk-sharp-2>=2.12.8' 'mono>=2.6.4')
diff --git a/extra/mono-basic/PKGBUILD b/extra/mono-basic/PKGBUILD
index 0ffd93c05..f7d780783 100644
--- a/extra/mono-basic/PKGBUILD
+++ b/extra/mono-basic/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mono-basic
pkgver=2.10
pkgrel=1
pkgdesc="Mono Visual Basic.NET compiler"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.mono-project.com/"
depends=('mono>=2.10.1')
diff --git a/extra/mono-debugger/PKGBUILD b/extra/mono-debugger/PKGBUILD
index b9ba3b347..6c5e31f4b 100644
--- a/extra/mono-debugger/PKGBUILD
+++ b/extra/mono-debugger/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=mono-debugger
pkgver=2.10
pkgrel=1
pkgdesc="The Mono Debugger"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.mono-project.com/"
depends=('mono>=2.10.1')
diff --git a/extra/mono-tools/PKGBUILD b/extra/mono-tools/PKGBUILD
index fef384dfd..d3d6ec685 100644
--- a/extra/mono-tools/PKGBUILD
+++ b/extra/mono-tools/PKGBUILD
@@ -13,7 +13,7 @@ pkgname=mono-tools
pkgver=2.10
pkgrel=1
pkgdesc="collection of testing and development tools for use with mono (including monodoc browser)"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.mono-project.com/"
depends=('mono>=2.10.1' 'desktop-file-utils' 'gnome-desktop-sharp>=2.26.0' 'gluezilla')
diff --git a/extra/mono-zeroconf/PKGBUILD b/extra/mono-zeroconf/PKGBUILD
index 6b0728b3f..3bd43a6ee 100644
--- a/extra/mono-zeroconf/PKGBUILD
+++ b/extra/mono-zeroconf/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2
pkgdesc="A cross platform Zero Configuration Networking library for Mono and .NET."
url="http://www.mono-project.com/Mono.Zeroconf"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('mono>=2.6' 'avahi')
options=('!makeflags')
source=(http://download.banshee-project.org/mono-zeroconf/${pkgname}-${pkgver}.tar.bz2)
diff --git a/extra/mono/PKGBUILD b/extra/mono/PKGBUILD
index d4fec3349..390b89b75 100644
--- a/extra/mono/PKGBUILD
+++ b/extra/mono/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mono
pkgver=2.10.2
pkgrel=1
pkgdesc="Free implementation of the .NET platform including runtime and compiler"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL2' 'MPL' 'custom:MITX11')
url="http://www.mono-project.com/"
depends=('zlib' 'libgdiplus>=2.10' 'sh')
diff --git a/extra/monodevelop-debugger-gdb/PKGBUILD b/extra/monodevelop-debugger-gdb/PKGBUILD
index a7c6daf1b..fa4a7bed3 100644
--- a/extra/monodevelop-debugger-gdb/PKGBUILD
+++ b/extra/monodevelop-debugger-gdb/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=monodevelop-debugger-gdb
pkgver=2.4
pkgrel=1
pkgdesc="Mono Debugger support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://monodevelop.com"
license=('GPL')
depends=('monodevelop>=2.4' 'gdb')
diff --git a/extra/monodevelop-debugger-mdb/PKGBUILD b/extra/monodevelop-debugger-mdb/PKGBUILD
index 43a7140c9..23e4c6fa2 100644
--- a/extra/monodevelop-debugger-mdb/PKGBUILD
+++ b/extra/monodevelop-debugger-mdb/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=monodevelop-debugger-mdb
pkgver=2.4
pkgrel=1
pkgdesc="Mono Debugger support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://monodevelop.com"
license=('GPL')
depends=('monodevelop' 'mono-debugger>=2.6.3')
diff --git a/extra/monodevelop/PKGBUILD b/extra/monodevelop/PKGBUILD
index 0566a975e..4851ae271 100644
--- a/extra/monodevelop/PKGBUILD
+++ b/extra/monodevelop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=monodevelop
pkgver=2.4.2
pkgrel=2
pkgdesc="An IDE primarily designed for C# and other .NET languages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.monodevelop.org"
license=('GPL')
depends=('mono>=2.10.1' 'mono-addins>=0.5' 'gnome-sharp' 'gecko-sharp-2.0>=0.10')
diff --git a/extra/most/PKGBUILD b/extra/most/PKGBUILD
index 0cea27712..52a4e8806 100644
--- a/extra/most/PKGBUILD
+++ b/extra/most/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=most
pkgver=5.0.0a
pkgrel=3
pkgdesc="A terminal pager similar to 'more' and 'less'"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('slang')
license=('GPL')
url="ftp://space.mit.edu/pub/davis/most/"
diff --git a/extra/mousetweaks/PKGBUILD b/extra/mousetweaks/PKGBUILD
index c8406a438..c9120e845 100644
--- a/extra/mousetweaks/PKGBUILD
+++ b/extra/mousetweaks/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mousetweaks
pkgver=3.0.1
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/mozilla-common/PKGBUILD b/extra/mozilla-common/PKGBUILD
index ad7efa3a2..3ba8e2c63 100644
--- a/extra/mozilla-common/PKGBUILD
+++ b/extra/mozilla-common/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mozilla-common
pkgver=1.4
pkgrel=1
pkgdesc="Common Initialization Profile for Mozilla.org products"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.mozilla.org/"
install=mozilla-common.install
diff --git a/extra/mp3splt/PKGBUILD b/extra/mp3splt/PKGBUILD
index 3d03d5b62..1c86b70cb 100644
--- a/extra/mp3splt/PKGBUILD
+++ b/extra/mp3splt/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mp3splt
pkgver=2.4
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Comandline 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 897198812..ab378a332 100644
--- a/extra/mp3wrap/PKGBUILD
+++ b/extra/mp3wrap/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mp3wrap
pkgver=0.5
pkgrel=2
pkgdesc="Tool for wrapping mp3 files --- 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 65575e75a..788ddcc88 100644
--- a/extra/mpc/PKGBUILD
+++ b/extra/mpc/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=mpc
pkgver=0.21
pkgrel=1
pkgdesc="Minimalist command line interface to MPD"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mpd.wikia.com/wiki/Client:Mpc"
license=('GPL2')
depends=('libmpdclient')
diff --git a/extra/mpck/PKGBUILD b/extra/mpck/PKGBUILD
index 65a6a2799..7348256f4 100644
--- a/extra/mpck/PKGBUILD
+++ b/extra/mpck/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.19
pkgrel=1
license=('GPL')
pkgdesc="Reads MP3 files and tries to determine if they are correct"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://checkmate.gissen.nl/"
depends=('glibc')
source=(http://checkmate.gissen.nl/checkmate-${pkgver}.tar.gz)
diff --git a/extra/mpd/PKGBUILD b/extra/mpd/PKGBUILD
index 046904a22..6bd462840 100644
--- a/extra/mpd/PKGBUILD
+++ b/extra/mpd/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=mpd
pkgver=0.16.3
pkgrel=2
pkgdesc="Music daemon that plays MP3, FLAC, and Ogg Vorbis files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://mpd.wikia.com/wiki/Server"
depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
diff --git a/extra/mpg123/PKGBUILD b/extra/mpg123/PKGBUILD
index 5a2ebd865..a93082f48 100644
--- a/extra/mpg123/PKGBUILD
+++ b/extra/mpg123/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mpg123
pkgver=1.13.3
pkgrel=2
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=('GPL2' 'LGPL2.1')
depends=('libtool' 'alsa-lib')
diff --git a/extra/mrtg/PKGBUILD b/extra/mrtg/PKGBUILD
index 8df4acbdc..17bd8a4f0 100644
--- a/extra/mrtg/PKGBUILD
+++ b/extra/mrtg/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mrtg
pkgver=2.17.2
pkgrel=1
pkgdesc="Multi Router Traffic Grapher."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://oss.oetiker.ch/mrtg/"
license=('GPL')
depends=('gd' 'perl')
diff --git a/extra/msmtp/PKGBUILD b/extra/msmtp/PKGBUILD
index 8975dc93b..ff1e47629 100644
--- a/extra/msmtp/PKGBUILD
+++ b/extra/msmtp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=msmtp
pkgver=1.4.24
pkgrel=2
pkgdesc="A mini smtp client"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://msmtp.sourceforge.net"
depends=('gnutls' 'libidn')
diff --git a/extra/mt-st/PKGBUILD b/extra/mt-st/PKGBUILD
index 17ef58f94..1cae178a4 100644
--- a/extra/mt-st/PKGBUILD
+++ b/extra/mt-st/PKGBUILD
@@ -4,10 +4,10 @@ pkgname=mt-st
pkgver=1.1
pkgrel=2
pkgdesc="Linux SCSI tape driver aware magnetic tape control"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="ftp://ftp.ibiblio.org/pub/linux/system/backup/"
depends=('glibc')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
source=(ftp://ftp.ibiblio.org/pub/linux/system/backup/$pkgname-$pkgver.tar.gz)
md5sums=('fdd5f5ec673c9f630a102ceff7612774')
diff --git a/extra/mtools/PKGBUILD b/extra/mtools/PKGBUILD
index 482676066..1e9924ca9 100644
--- a/extra/mtools/PKGBUILD
+++ b/extra/mtools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mtools
pkgver=4.0.17
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 47c86db91..f8c36fb4c 100644
--- a/extra/mtr/PKGBUILD
+++ b/extra/mtr/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=mtr
pkgname=(mtr mtr-gtk)
pkgver=0.80
pkgrel=2
-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/mtx/PKGBUILD b/extra/mtx/PKGBUILD
index 7451c78db..59c25746e 100644
--- a/extra/mtx/PKGBUILD
+++ b/extra/mtx/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mtx
pkgver=1.3.12
pkgrel=1
pkgdesc="Send robot commands to tape changer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mtx.opensource-sw.net/"
license=('GPL2')
depends=('glibc')
diff --git a/extra/muine/PKGBUILD b/extra/muine/PKGBUILD
index b6cca9fe7..fbccb76d7 100644
--- a/extra/muine/PKGBUILD
+++ b/extra/muine/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=muine
pkgver=0.8.11
pkgrel=1
pkgdesc="A music player written in C#"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.muine-player.org/"
depends=('gconf>=2.28.0' 'gtk2>=2.18.3' 'gnome-icon-theme>=2.28.0' 'gstreamer0.10>=0.10.25' 'mono>=2.4.2.3' 'gnome-sharp>=2.24.1' 'taglib-sharp>=2.0.3.2' 'ndesk-dbus>=0.6.0' 'ndesk-dbus-glib>=0.4.1' 'gstreamer0.10-base-plugins>=0.10.25' 'gstreamer0.10-good-plugins>=0.10.16')
diff --git a/extra/multitail/PKGBUILD b/extra/multitail/PKGBUILD
index aa356da64..e73c1a9ce 100644
--- a/extra/multitail/PKGBUILD
+++ b/extra/multitail/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=multitail
pkgver=5.2.8
pkgrel=1
pkgdesc="Lets you view one or multiple files like the original tail program"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.vanheusden.com/multitail"
depends=('ncurses')
diff --git a/extra/muparser/PKGBUILD b/extra/muparser/PKGBUILD
index 0746f6631..373a65616 100644
--- a/extra/muparser/PKGBUILD
+++ b/extra/muparser/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=muparser
pkgver=1.34
pkgrel=1
pkgdesc="a fast math parser library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://muparser.sourceforge.net/"
depends=('glibc' 'gcc-libs')
license=('custom')
diff --git a/extra/musicbrainz/PKGBUILD b/extra/musicbrainz/PKGBUILD
index 398cf0f1a..c9ea377ae 100644
--- a/extra/musicbrainz/PKGBUILD
+++ b/extra/musicbrainz/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=musicbrainz
pkgver=2.1.5
pkgrel=4
pkgdesc="The second generation incarnation of the CD Index"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.musicbrainz.org/index.html"
license=('LGPL')
depends=('expat>=2.0')
diff --git a/extra/mysql-python/PKGBUILD b/extra/mysql-python/PKGBUILD
index 7d80d1028..cce458d42 100644
--- a/extra/mysql-python/PKGBUILD
+++ b/extra/mysql-python/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mysql-python
pkgver=1.2.3
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' 'libmysqlclient')
diff --git a/extra/mysql/PKGBUILD b/extra/mysql/PKGBUILD
index a3a8f726c..ead761fa6 100644
--- a/extra/mysql/PKGBUILD
+++ b/extra/mysql/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=mysql
pkgname=('libmysqlclient' 'mysql-clients' 'mysql')
pkgver=5.5.15
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.mysql.com/"
makedepends=('cmake' 'openssl' 'zlib')
diff --git a/extra/naim/PKGBUILD b/extra/naim/PKGBUILD
index a6be5dcb1..30e659211 100644
--- a/extra/naim/PKGBUILD
+++ b/extra/naim/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=naim
pkgver=0.11.8.3.2
pkgrel=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/nasm/PKGBUILD b/extra/nasm/PKGBUILD
index 9085d5e61..68be83af0 100644
--- a/extra/nasm/PKGBUILD
+++ b/extra/nasm/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=nasm
pkgname=('nasm' 'nasm-doc')
pkgver=2.09.10
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nasm.us"
license=('BSD')
makedepends=('ghostscript')
diff --git a/extra/nautilus-open-terminal/PKGBUILD b/extra/nautilus-open-terminal/PKGBUILD
index d45734cf3..2e53a5bef 100644
--- a/extra/nautilus-open-terminal/PKGBUILD
+++ b/extra/nautilus-open-terminal/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nautilus-open-terminal
pkgver=0.19
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')
diff --git a/extra/nautilus-sendto/PKGBUILD b/extra/nautilus-sendto/PKGBUILD
index cc9b88efe..f6a431c28 100644
--- a/extra/nautilus-sendto/PKGBUILD
+++ b/extra/nautilus-sendto/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=nautilus-sendto
pkgver=3.0.0
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')
groups=('gnome-extra')
diff --git a/extra/nautilus/PKGBUILD b/extra/nautilus/PKGBUILD
index 3f1c44be4..7ba50f3f1 100644
--- a/extra/nautilus/PKGBUILD
+++ b/extra/nautilus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=nautilus
pkgver=3.0.2
pkgrel=1
pkgdesc="The GNOME shell and file manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libexif' 'gnome-desktop' 'exempi' 'gtk3' 'hicolor-icon-theme' 'gvfs' 'desktop-file-utils' 'gsettings-desktop-schemas' 'shared-mime-info' 'gnome-icon-theme')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/ncftp/PKGBUILD b/extra/ncftp/PKGBUILD
index 921f49e52..856996539 100644
--- a/extra/ncftp/PKGBUILD
+++ b/extra/ncftp/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=3.2.5
pkgrel=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")
diff --git a/extra/ncmpc/PKGBUILD b/extra/ncmpc/PKGBUILD
index 901e9f73f..c4b433f55 100644
--- a/extra/ncmpc/PKGBUILD
+++ b/extra/ncmpc/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=ncmpc
pkgver=0.19
pkgrel=1
pkgdesc="A ncurses (command line) interface for MPD"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://mpd.wikia.com/wiki/Client:Ncmpc"
license=('GPL')
depends=('ncurses' 'glib2' 'libmpdclient')
diff --git a/extra/ndesk-dbus-glib/PKGBUILD b/extra/ndesk-dbus-glib/PKGBUILD
index b25ce9ce5..b4f9147d4 100644
--- a/extra/ndesk-dbus-glib/PKGBUILD
+++ b/extra/ndesk-dbus-glib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ndesk-dbus-glib
pkgver=0.4.1
pkgrel=2
pkgdesc="C# GLib implementation of D-Bus"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ndesk.org/DBusSharp"
license=('custom')
depends=('ndesk-dbus>=0.6')
diff --git a/extra/nedit/PKGBUILD b/extra/nedit/PKGBUILD
index 8cf610d95..4dca6ad0d 100644
--- a/extra/nedit/PKGBUILD
+++ b/extra/nedit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nedit
pkgver=5.5
pkgrel=5
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 3732a7196..bd8df5b44 100644
--- a/extra/neon/PKGBUILD
+++ b/extra/neon/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=neon
pkgver=0.29.6
pkgrel=2
pkgdesc="HTTP and WebDAV client library with a C interface"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
depends=('krb5' 'expat' 'ca-certificates')
url="http://www.webdav.org/neon/"
diff --git a/extra/net-snmp/PKGBUILD b/extra/net-snmp/PKGBUILD
index a1f72cb01..68bd5942d 100644
--- a/extra/net-snmp/PKGBUILD
+++ b/extra/net-snmp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=net-snmp
pkgver=5.6.1
pkgrel=3
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=('custom')
depends=('openssl' 'libnl')
diff --git a/extra/netcdf/PKGBUILD b/extra/netcdf/PKGBUILD
index 326e3483e..55439cfa9 100644
--- a/extra/netcdf/PKGBUILD
+++ b/extra/netcdf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=netcdf
pkgver=4.1.3
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' 'gcc-fortran' 'curl')
options=('!libtool' '!makeflags')
diff --git a/extra/netkit-bsd-finger/PKGBUILD b/extra/netkit-bsd-finger/PKGBUILD
index ea1987985..7434c2e7b 100644
--- a/extra/netkit-bsd-finger/PKGBUILD
+++ b/extra/netkit-bsd-finger/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=netkit-bsd-finger
pkgver=0.17
pkgrel=5
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 6b92f5ef5..a0bedf98e 100644
--- a/extra/netpbm/PKGBUILD
+++ b/extra/netpbm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=netpbm
pkgver=10.47.24
pkgrel=1
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' 'libjpeg' 'libpng' 'libtiff' 'libxml2')
diff --git a/extra/network-manager-applet/PKGBUILD b/extra/network-manager-applet/PKGBUILD
index 60394a46b..c3607c103 100644
--- a/extra/network-manager-applet/PKGBUILD
+++ b/extra/network-manager-applet/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=network-manager-applet
pkgver=0.8.9997
pkgrel=1
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' 'libgnome-keyring' 'polkit-gnome' 'gtk3'
diff --git a/extra/networkmanager-openconnect/PKGBUILD b/extra/networkmanager-openconnect/PKGBUILD
index df8646ced..46b500642 100644
--- a/extra/networkmanager-openconnect/PKGBUILD
+++ b/extra/networkmanager-openconnect/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-openconnect
pkgver=0.8.999
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}" 'openconnect' 'dbus-glib' 'gconf' 'libgnome-keyring')
diff --git a/extra/networkmanager-openvpn/PKGBUILD b/extra/networkmanager-openvpn/PKGBUILD
index f0a4bbb85..f65860d6b 100644
--- a/extra/networkmanager-openvpn/PKGBUILD
+++ b/extra/networkmanager-openvpn/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-openvpn
pkgver=0.8.9997
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')
diff --git a/extra/networkmanager-pptp/PKGBUILD b/extra/networkmanager-pptp/PKGBUILD
index 4b45d00f6..ff234bf25 100644
--- a/extra/networkmanager-pptp/PKGBUILD
+++ b/extra/networkmanager-pptp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-pptp
pkgver=0.8.999
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 7ee82c2f3..ad33dc5f0 100644
--- a/extra/networkmanager-vpnc/PKGBUILD
+++ b/extra/networkmanager-vpnc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-vpnc
pkgver=0.8.999
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'
diff --git a/extra/networkmanager/PKGBUILD b/extra/networkmanager/PKGBUILD
index ecfc88f0a..ae58bea64 100644
--- a/extra/networkmanager/PKGBUILD
+++ b/extra/networkmanager/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=networkmanager
pkgver=0.8.9997
pkgrel=1
pkgdesc="Network Management daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
depends=('dbus-glib' 'iproute2' 'libnl' 'nss' 'polkit' 'udev' 'wireless_tools' 'wpa_supplicant' 'ppp' 'dhcpcd')
diff --git a/extra/neverball/PKGBUILD b/extra/neverball/PKGBUILD
index cd9c5a79b..839a9a9d1 100644
--- a/extra/neverball/PKGBUILD
+++ b/extra/neverball/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=neverball
pkgver=1.5.4
pkgrel=3
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/nicotine/PKGBUILD b/extra/nicotine/PKGBUILD
index 0be93063f..2c6f54a83 100644
--- a/extra/nicotine/PKGBUILD
+++ b/extra/nicotine/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.2.16
pkgrel=2
pkgdesc="Soulseek music-sharing client, written in python"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('pygtk>=2.14.1' 'mutagen' 'python-geoip>=1.2.4')
conflicts=(nicotine-plus)
replaces=(nicotine-plus)
diff --git a/extra/nitrogen/PKGBUILD b/extra/nitrogen/PKGBUILD
index 3a3ddac95..5b6df2daa 100644
--- a/extra/nitrogen/PKGBUILD
+++ b/extra/nitrogen/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=nitrogen
pkgver=1.5.2
pkgrel=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')
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD
index b79385d88..606fe34d5 100644
--- a/extra/nmap/PKGBUILD
+++ b/extra/nmap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nmap
pkgver=5.51
pkgrel=1
pkgdesc="A network exploration tool and security/port scanner"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://nmap.org"
license=('GPL')
depends=('pcre' 'openssl' 'libpcap' 'lua')
diff --git a/extra/normalize/PKGBUILD b/extra/normalize/PKGBUILD
index b0d56ed4f..f2e8eb00c 100644
--- a/extra/normalize/PKGBUILD
+++ b/extra/normalize/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=normalize
pkgver=0.7.7
pkgrel=4
pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('audiofile' 'libmad' 'vorbis-tools' 'lame' 'flac' 'mpg123')
source=(http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
diff --git a/extra/notification-daemon/PKGBUILD b/extra/notification-daemon/PKGBUILD
index c71f1c7f5..c57033abc 100644
--- a/extra/notification-daemon/PKGBUILD
+++ b/extra/notification-daemon/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=notification-daemon
pkgver=0.7.1
pkgrel=1
pkgdesc="Notification daemon for the desktop notifications framework"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.galago-project.org/specs/notification/"
depends=('gtk3' 'libcanberra')
diff --git a/extra/nouveau-drm-lts/PKGBUILD b/extra/nouveau-drm-lts/PKGBUILD
index 1284563f4..691795b0c 100644
--- a/extra/nouveau-drm-lts/PKGBUILD
+++ b/extra/nouveau-drm-lts/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.0.16_${_snapdate} # see master/drivers/gpu/drm/nouveau/nouveau_drv.h fo
_kernver='2.6.32-lts'
pkgrel=6
pkgdesc="nvidia opensource X driver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://nouveau.freedesktop.org/"
depends=("kernel26-lts>=2.6.32" "kernel26-lts<2.6.33")
makedepends=("kernel26-lts-headers>=2.6.32" "kernel26-lts-headers<2.6.33")
diff --git a/extra/nspr/PKGBUILD b/extra/nspr/PKGBUILD
index 0dc103a82..7b918c9ec 100644
--- a/extra/nspr/PKGBUILD
+++ b/extra/nspr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=nspr
pkgver=4.8.8
pkgrel=1
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 643dac89f..fb75b698e 100644
--- a/extra/nss-mdns/PKGBUILD
+++ b/extra/nss-mdns/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nss-mdns
pkgver=0.10
pkgrel=3
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 bdd3377d4..88c740808 100644
--- a/extra/nss/PKGBUILD
+++ b/extra/nss/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=nss
pkgver=3.12.10
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.8.7
diff --git a/extra/nss_ldap/PKGBUILD b/extra/nss_ldap/PKGBUILD
index 0a1f93d38..44e8df8d2 100644
--- a/extra/nss_ldap/PKGBUILD
+++ b/extra/nss_ldap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nss_ldap
pkgver=265
pkgrel=2
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>=2.4.18' 'krb5')
diff --git a/extra/ntp/PKGBUILD b/extra/ntp/PKGBUILD
index 69669c721..5a27990c3 100644
--- a/extra/ntp/PKGBUILD
+++ b/extra/ntp/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.2.6.p3
_realver=4.2.6p3
pkgrel=3
pkgdesc="NTP (Network Time Protocol) tries to keep servers in sync"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://www.ntp.org/"
depends=('openssl' 'readline' 'libcap')
diff --git a/extra/ntrack/PKGBUILD b/extra/ntrack/PKGBUILD
index 6140cb6dc..5211c17d2 100644
--- a/extra/ntrack/PKGBUILD
+++ b/extra/ntrack/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=13
pkgrel=2
epoch=1
pkgdesc="A network connectivity tracking library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://launchpad.net/ntrack/"
license=('LGPL')
depends=('qt' 'libnl' 'gcc-libs')
diff --git a/extra/nx-common/PKGBUILD b/extra/nx-common/PKGBUILD
index 7ee8cac19..849dc3151 100644
--- a/extra/nx-common/PKGBUILD
+++ b/extra/nx-common/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nx-common
pkgver=3.5.0
pkgrel=2
pkgdesc="NoMachine NX common package for client and server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://nomachine.com/"
depends=('libjpeg-turbo>=1.1.1' 'libpng>=1.4.5' 'openssl>=1.0.0' 'gcc-libs' 'bash')
diff --git a/extra/nxserver/PKGBUILD b/extra/nxserver/PKGBUILD
index 50177cf29..3006d5dc4 100644
--- a/extra/nxserver/PKGBUILD
+++ b/extra/nxserver/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nxserver
pkgver=3.5.0
pkgrel=2
pkgdesc="NoMachine NX is the next-generation X compression and roundtrip suppression scheme."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://nomachine.com/"
license=('GPL')
depends=("nx-common" 'libxaw' 'libxrender' 'libxp' 'gcc-libs' 'libjpeg>=8' #>=$pkgver
@@ -89,4 +89,4 @@ package() {
# nxcompext
cd ${srcdir}/nxcompext
cp -a libXcompext.so* ${pkgdir}/opt/NX/lib
-} \ No newline at end of file
+}
diff --git a/extra/obex-data-server/PKGBUILD b/extra/obex-data-server/PKGBUILD
index e95119cfb..0da129c3d 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=1
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')
diff --git a/extra/obexd/PKGBUILD b/extra/obexd/PKGBUILD
index fc7af1d72..b9a712f86 100644
--- a/extra/obexd/PKGBUILD
+++ b/extra/obexd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('obexd-client' 'obexd-server')
pkgver=0.42
pkgrel=1
url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
makedepends=('openobex' 'libical')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgbase}-${pkgver}.tar.bz2")
diff --git a/extra/obexftp/PKGBUILD b/extra/obexftp/PKGBUILD
index e6da6fd9d..62727963f 100644
--- a/extra/obexftp/PKGBUILD
+++ b/extra/obexftp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=obexftp
pkgver=0.23
pkgrel=4
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' 'python2')
diff --git a/extra/ocaml/PKGBUILD b/extra/ocaml/PKGBUILD
index 5f0a24b79..97c35d6d9 100644
--- a/extra/ocaml/PKGBUILD
+++ b/extra/ocaml/PKGBUILD
@@ -5,19 +5,30 @@ pkgname=ocaml
pkgver=3.12.1
pkgrel=1
pkgdesc="A functional language with OO extensions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2' 'custom: QPL-1.0')
url="http://caml.inria.fr/"
depends=('gdbm')
makedepends=('tk' 'ncurses>=5.6-7' 'libx11')
optdepends=('ncurses: advanced ncurses features' 'tk: advanced tk features')
-source=(http://caml.inria.fr/distrib/ocaml-3.12/${pkgname}-${pkgver}.tar.gz)
+source=(http://caml.inria.fr/distrib/ocaml-3.12/${pkgname}-${pkgver}.tar.gz
+ fix-ocaml-binutils-2.21.patch
+ fix-caml_int64_float_of_bits-n32.patch)
options=('!makeflags' '!emptydirs')
+md5sums=('3ba7cc65123c3579f14e7c726d3ee782'
+ '8c664a0a346424ea2ec6fc6f713170c6'
+ 'e2c8bc316efe40532c5b9d7f9a1d8d62')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/fix-ocaml-binutils-2.21.patch"
+ patch -Np1 -i "${srcdir}/fix-caml_int64_float_of_bits-n32.patch"
./configure -prefix /usr
- make world.opt
+ if [ "${CARCH}" == "mips64el" ] ; then
+ make world
+ else
+ make world.opt
+ fi
make PREFIX="${pkgdir}/usr" MANDIR="${pkgdir}/usr/share/man" install
# Save >10MB with this one, makepkg only strips debug symbols.
@@ -27,4 +38,3 @@ build() {
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}
-md5sums=('814a047085f0f901ab7d8e3a4b7a9e65')
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/ocfs2-tools/PKGBUILD b/extra/ocfs2-tools/PKGBUILD
index 9db43e1e9..3f36a9983 100644
--- a/extra/ocfs2-tools/PKGBUILD
+++ b/extra/ocfs2-tools/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=ocfs2-tools
pkgver=1.4.3
pkgrel=2
pkgdesc="Oracle Cluster File System 2 utilities"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://oss.oracle.com/projects/ocfs2-tools/"
depends=('e2fsprogs' 'glib2' 'readline>=6.0.00')
license=('GPL2')
diff --git a/extra/ocrad/PKGBUILD b/extra/ocrad/PKGBUILD
index 52fb00e05..a5bfd577f 100644
--- a/extra/ocrad/PKGBUILD
+++ b/extra/ocrad/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ocrad
pkgver=0.21
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 b88a9edbc..0bc2c252d 100644
--- a/extra/octave/PKGBUILD
+++ b/extra/octave/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=octave
pkgver=3.4.2
pkgrel=2
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' 'pcre' 'curl' 'lapack' 'libx11' 'graphicsmagick' 'glpk' 'hdf5' 'gcc-libs' 'qhull')
diff --git a/extra/ode/PKGBUILD b/extra/ode/PKGBUILD
index 3ed250d56..631e127b1 100644
--- a/extra/ode/PKGBUILD
+++ b/extra/ode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ode
pkgver=0.11.1
pkgrel=1
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/ogle/PKGBUILD b/extra/ogle/PKGBUILD
index 9d9b19c50..c0276e216 100644
--- a/extra/ogle/PKGBUILD
+++ b/extra/ogle/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ogle
pkgver=0.9.2
pkgrel=12
pkgdesc="A simple DVD player for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.dtek.chalmers.se/groups/dvd/"
license=('GPL')
depends=('libxml2' 'libdvdread' 'libjpeg' 'libmad' 'libxinerama' 'libxv'
diff --git a/extra/ogmtools/PKGBUILD b/extra/ogmtools/PKGBUILD
index f63436582..d92bb0773 100644
--- a/extra/ogmtools/PKGBUILD
+++ b/extra/ogmtools/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ogmtools
pkgver=1.5
pkgrel=3
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 7b4bcdd35..b348676f3 100644
--- a/extra/opal/PKGBUILD
+++ b/extra/opal/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=opal
pkgver=3.10.1
pkgrel=1
pkgdesc="Open Phone Abstraction Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.ekiga.org"
license=('GPL')
depends=('ptlib' 'libtheora' 'x264' 'speex')
diff --git a/extra/openal/PKGBUILD b/extra/openal/PKGBUILD
index 0a3c8f1a2..338d11712 100644
--- a/extra/openal/PKGBUILD
+++ b/extra/openal/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=openal
pkgver=1.13
pkgrel=2
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)
diff --git a/extra/openbabel/PKGBUILD b/extra/openbabel/PKGBUILD
index a265af7a1..e4f8e9e01 100644
--- a/extra/openbabel/PKGBUILD
+++ b/extra/openbabel/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.3.0
pkgrel=3
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/opencdk/PKGBUILD b/extra/opencdk/PKGBUILD
index dccaaced8..2155b4275 100644
--- a/extra/opencdk/PKGBUILD
+++ b/extra/opencdk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=opencdk
pkgver=0.6.6
pkgrel=2
pkgdesc="The Open Crypto Development Kit provides basic parts of the OpenPGP message format"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gnutls/"
license=('GPL')
depends=('libgcrypt>=1.2.4' 'zlib')
diff --git a/extra/openconnect/PKGBUILD b/extra/openconnect/PKGBUILD
index 6798e75d6..1caa4732f 100644
--- a/extra/openconnect/PKGBUILD
+++ b/extra/openconnect/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.02
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' 'openssl' 'libproxy')
diff --git a/extra/opencore-amr/PKGBUILD b/extra/opencore-amr/PKGBUILD
index e4fe7b376..affd35652 100644
--- a/extra/opencore-amr/PKGBUILD
+++ b/extra/opencore-amr/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=opencore-amr
pkgver=0.1.2
pkgrel=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/"
depends=('gcc-libs')
diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD
index 893bb15dc..d73086080 100644
--- a/extra/opencv/PKGBUILD
+++ b/extra/opencv/PKGBUILD
@@ -8,7 +8,7 @@ _realname=OpenCV
pkgver=2.3.0
pkgrel=1
pkgdesc="Open Source Computer Vision Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
url="http://opencv.willowgarage.com/"
depends=('jasper' 'gstreamer0.10-base' 'openexr'
diff --git a/extra/openexr/PKGBUILD b/extra/openexr/PKGBUILD
index 3f4afa72e..9fe115aef 100644
--- a/extra/openexr/PKGBUILD
+++ b/extra/openexr/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.7.0
pkgrel=1
pkgdesc="An high dynamic-range image file format library"
url="http://www.openexr.com/"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
license=('BSD')
depends=('zlib' 'ilmbase')
options=('!libtool')
diff --git a/extra/opengtl/PKGBUILD b/extra/opengtl/PKGBUILD
index a5c7d41c6..1b4168f99 100644
--- a/extra/opengtl/PKGBUILD
+++ b/extra/opengtl/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.9.15.1
pkgrel=1
pkgdesc="A set of library 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')
makedepends=('cmake' 'llvm' 'libpng')
diff --git a/extra/openjdk6/PKGBUILD b/extra/openjdk6/PKGBUILD
index 32ce42ce0..9d178ac62 100644
--- a/extra/openjdk6/PKGBUILD
+++ b/extra/openjdk6/PKGBUILD
@@ -13,7 +13,7 @@ _openjdk_date=28_feb_2011
pkgver=${_javaver}.${_openjdk_version}_${_icedteaver}
pkgrel=1
url='http://icedtea.classpath.org'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
makedepends=('gcc-libs' 'xdg-utils' 'hicolor-icon-theme' 'ca-certificates-java' 'libxtst' 'alsa-lib' 'giflib' 'libxp' 'gtk2'
'nspr' 'zlib' 'freetype2' 'libjpeg>=8' 'libx11' 'libcups' 'patch' 'xalan-java' 'libxt' 'nss'
diff --git a/extra/openjpeg/PKGBUILD b/extra/openjpeg/PKGBUILD
index 087da2f78..a32242d91 100644
--- a/extra/openjpeg/PKGBUILD
+++ b/extra/openjpeg/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.3
_pkgver=v1_3
pkgrel=3
pkgdesc="An open source JPEG 2000 codec"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('BSD')
url="http://www.openjpeg.org"
depends=('glibc')
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD
index c8b2eaf46..1902551d5 100644
--- a/extra/openmpi/PKGBUILD
+++ b/extra/openmpi/PKGBUILD
@@ -4,10 +4,12 @@ pkgname=openmpi
pkgver=1.5.3
pkgrel=4
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' 'gcc-fortran' 'openssh' 'valgrind' 'libtool' 'hwloc')
+[ "$CARCH" = "mips64el" ] && \
+depends=('gcc-fortran' 'openssh' 'libtool' 'hwloc')
makedepends=('net-tools')
options=(!libtool)
source=(http://www.open-mpi.org/software/ompi/v1.5/downloads/${pkgname}-${pkgver}.tar.bz2)
@@ -16,6 +18,26 @@ sha1sums=('669565c708deab82ad4069d82675b2020eb0e0c6')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+# Disable valgrind
+ if [ "$CARCH" = "mips64el" ]; then
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/${pkgname} \
+ --mandir=/usr/share/man \
+ --enable-mpi-f90 \
+ --libdir=/usr/lib/${pkgname} \
+ --with-threads=posix \
+ --enable-mpi-threads \
+ --enable-smp-locks \
+ --without-valgrind \
+ --enable-memchecker \
+ --enable-debug \
+ --enable-pretty-print-stacktrace \
+ --without-slurm \
+ --with-hwloc=external \
+ --with-libltdl=/usr \
+ FC=/usr/bin/gfortran \
+ LDFLAGS='-Wl,-z,noexecstack'
+ else
./configure --prefix=/usr \
--sysconfdir=/etc/${pkgname} \
--mandir=/usr/share/man \
@@ -33,6 +55,7 @@ build() {
--with-libltdl=/usr \
FC=/usr/bin/gfortran \
LDFLAGS='-Wl,-z,noexecstack'
+ fi
make
}
diff --git a/extra/openobex/PKGBUILD b/extra/openobex/PKGBUILD
index 3c3363c0a..0ecce3008 100644
--- a/extra/openobex/PKGBUILD
+++ b/extra/openobex/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.5
pkgrel=2
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=('bluez' 'libusb-compat')
options=('!libtool')
diff --git a/extra/openslp/PKGBUILD b/extra/openslp/PKGBUILD
index 9ba1f94ab..347c5d823 100644
--- a/extra/openslp/PKGBUILD
+++ b/extra/openslp/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=openslp
pkgver=1.2.1
pkgrel=3
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=('glibc' 'bash' 'openssl')
diff --git a/extra/oprofile/PKGBUILD b/extra/oprofile/PKGBUILD
index 9a583d0d7..ab6f17e81 100644
--- a/extra/oprofile/PKGBUILD
+++ b/extra/oprofile/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=oprofile
pkgver=0.9.6
pkgrel=3
pkgdesc="A system-wide profiler for Linux systems, capable of profiling all running code at low overhead"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://oprofile.sourceforge.net"
license=('GPL')
depends=('popt')
diff --git a/extra/orage/PKGBUILD b/extra/orage/PKGBUILD
index 3201d2df2..dbbf6311f 100644
--- a/extra/orage/PKGBUILD
+++ b/extra/orage/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=orage
pkgver=4.8.1
pkgrel=3
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 e141d91a7..5159c7d32 100644
--- a/extra/orbit2/PKGBUILD
+++ b/extra/orbit2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=orbit2
pkgver=2.14.19
pkgrel=1
pkgdesc="Thin/fast CORBA ORB"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'GPL')
depends=('libidl2>=0.8.11')
makedepends=('pkgconfig')
diff --git a/extra/orc/PKGBUILD b/extra/orc/PKGBUILD
index bddf53c9f..902cf3a98 100644
--- a/extra/orc/PKGBUILD
+++ b/extra/orc/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=orc
pkgver=0.4.14
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 ca983cbd3..3a8318535 100644
--- a/extra/ortp/PKGBUILD
+++ b/extra/ortp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ortp
pkgver=0.16.5
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=('LGPL')
depends=('openssl')
diff --git a/extra/ossp/PKGBUILD b/extra/ossp/PKGBUILD
index 964013d1c..dfa484f01 100644
--- a/extra/ossp/PKGBUILD
+++ b/extra/ossp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ossp
pkgver=1.3.2
pkgrel=10
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' 'kernel26>=2.6.35-2')
diff --git a/extra/oxine/PKGBUILD b/extra/oxine/PKGBUILD
index f1fb5eb5e..fc7a30d82 100644
--- a/extra/oxine/PKGBUILD
+++ b/extra/oxine/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=oxine
pkgver=0.7.1
pkgrel=3
pkgdesc="oxine is a lightweight, purely osd based xine frontend for set-top boxes and home entertainment systems."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('xine-lib>=1.1.16.3' 'libexif>=0.6.17' 'eject' 'libcdio>=0.82' 'curl>=7.19.4' 'libxinerama' 'libsm' 'libxtst')
makedepends=('pkgconfig')
license=('GPL')
diff --git a/extra/oxygen-gtk/PKGBUILD b/extra/oxygen-gtk/PKGBUILD
index fa0903bdc..06527527a 100644
--- a/extra/oxygen-gtk/PKGBUILD
+++ b/extra/oxygen-gtk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=oxygen-gtk
pkgver=1.1.1
pkgrel=1
pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kde-look.org/content/show.php/?content=136216"
license=('LGPL')
depends=('gtk2')
diff --git a/extra/pam_ldap/PKGBUILD b/extra/pam_ldap/PKGBUILD
index b3418220a..8b1218e70 100644
--- a/extra/pam_ldap/PKGBUILD
+++ b/extra/pam_ldap/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pam_ldap
pkgver=185
pkgrel=1
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>=2.4.22' 'pam')
diff --git a/extra/pango-perl/PKGBUILD b/extra/pango-perl/PKGBUILD
index ad489dec4..66abfb0c8 100644
--- a/extra/pango-perl/PKGBUILD
+++ b/extra/pango-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Pango
pkgver=1.221
pkgrel=4
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 554adb862..7f74f7683 100644
--- a/extra/pango/PKGBUILD
+++ b/extra/pango/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pango
pkgver=1.28.4
pkgrel=3
pkgdesc="A library for layout and rendering of text"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('glib2' 'cairo' 'libxft' 'libthai' 'freetype2')
makedepends=('gobject-introspection' 'libxt' 'gtk-doc')
diff --git a/extra/pangomm/PKGBUILD b/extra/pangomm/PKGBUILD
index 17d1483cd..e8f39abfc 100644
--- a/extra/pangomm/PKGBUILD
+++ b/extra/pangomm/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=pangomm
pkgname=('pangomm' 'pangomm-docs')
pkgver=2.28.1
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}/2.28/${pkgname}-${pkgver}.tar.bz2)
diff --git a/extra/paprefs/PKGBUILD b/extra/paprefs/PKGBUILD
index 99bf26f3e..35d29aca7 100644
--- a/extra/paprefs/PKGBUILD
+++ b/extra/paprefs/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=paprefs
pkgver=0.9.9
pkgrel=7
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 'pulseaudio=0.9.23' libsigc++)
diff --git a/extra/parted/PKGBUILD b/extra/parted/PKGBUILD
index 8c8d7f3b1..3a50e33ea 100644
--- a/extra/parted/PKGBUILD
+++ b/extra/parted/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=parted
pkgver=3.0
pkgrel=3
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 cdc1bd856..d9fdbbff9 100644
--- a/extra/pathological/PKGBUILD
+++ b/extra/pathological/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pathological
pkgver=1.1.3
pkgrel=6
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=('python-pygame')
diff --git a/extra/pavucontrol/PKGBUILD b/extra/pavucontrol/PKGBUILD
index 989ec4715..5c31c9f44 100644
--- a/extra/pavucontrol/PKGBUILD
+++ b/extra/pavucontrol/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=pavucontrol
pkgver=0.9.10
pkgrel=4
pkgdesc="A simple GTK based volume control tool for the PulseAudio sound server"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://0pointer.de/lennart/projects/pavucontrol"
license=(GPL)
depends=(gnome-icon-theme libcanberra libglademm libpulse libsigc++)
diff --git a/extra/pdksh/PKGBUILD b/extra/pdksh/PKGBUILD
index 388952747..6e73d7e3b 100644
--- a/extra/pdksh/PKGBUILD
+++ b/extra/pdksh/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pdksh
pkgver=5.2.14
pkgrel=6
pkgdesc="A public domain clone of the AT&T Korn shell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cs.mun.ca/~michael/pdksh/"
license=('custom')
depends=('glibc')
diff --git a/extra/pdns-recursor/PKGBUILD b/extra/pdns-recursor/PKGBUILD
index c344995ac..72d354b9d 100644
--- a/extra/pdns-recursor/PKGBUILD
+++ b/extra/pdns-recursor/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="PowerDNS recursor"
url="http://www.powerdns.com"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gcc-libs>=4.5.2' 'lua')
makedepends=('boost')
#options=(!makeflags)
diff --git a/extra/pdns/PKGBUILD b/extra/pdns/PKGBUILD
index 9506deee3..f59ea8a3a 100644
--- a/extra/pdns/PKGBUILD
+++ b/extra/pdns/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pdns
pkgver=2.9.22
pkgrel=7
pkgdesc="A modern, advanced and high performance authoritative-only nameserver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.powerdns.com"
license=('GPL')
depends=('gcc-libs' 'zlib' 'postgresql-libs' 'libmysqlclient' 'sqlite3' 'libldap')
diff --git a/extra/pekwm/PKGBUILD b/extra/pekwm/PKGBUILD
index bfcdb908d..589857269 100644
--- a/extra/pekwm/PKGBUILD
+++ b/extra/pekwm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pekwm
pkgver=0.1.13
pkgrel=1
pkgdesc="A small, fast, functional, and flexible window manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://pekwm.org/"
depends=('gcc-libs' 'libjpeg>=7' 'libpng' 'libxft' 'libxinerama' 'libxpm'
diff --git a/extra/perl-alien-sdl/PKGBUILD b/extra/perl-alien-sdl/PKGBUILD
index 25bd18eeb..196c93a9c 100644
--- a/extra/perl-alien-sdl/PKGBUILD
+++ b/extra/perl-alien-sdl/PKGBUILD
@@ -11,7 +11,7 @@ _realname=Alien-SDL
pkgver=1.426
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.14 perl-file-sharedir perl-capture-tiny)
diff --git a/extra/perl-bit-vector/PKGBUILD b/extra/perl-bit-vector/PKGBUILD
index ebdc0719d..39a4cf8fa 100644
--- a/extra/perl-bit-vector/PKGBUILD
+++ b/extra/perl-bit-vector/PKGBUILD
@@ -7,7 +7,7 @@ _cpanname=Bit-Vector
pkgver=7.1
pkgrel=3
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/${_cpanname}/"
depends=('perl-carp-clan' 'perl>=5.10.0')
diff --git a/extra/perl-compress-bzip2/PKGBUILD b/extra/perl-compress-bzip2/PKGBUILD
index fc142e677..04eb676bf 100644
--- a/extra/perl-compress-bzip2/PKGBUILD
+++ b/extra/perl-compress-bzip2/PKGBUILD
@@ -5,7 +5,7 @@ _realname=Compress-Bzip2
pkgver=2.09
pkgrel=3
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/$_realname"
diff --git a/extra/perl-crypt-ssleay/PKGBUILD b/extra/perl-crypt-ssleay/PKGBUILD
index 37f315f89..9b055e50c 100644
--- a/extra/perl-crypt-ssleay/PKGBUILD
+++ b/extra/perl-crypt-ssleay/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-ssleay
pkgver=0.58
pkgrel=3
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=('openssl')
diff --git a/extra/perl-dbd-mysql/PKGBUILD b/extra/perl-dbd-mysql/PKGBUILD
index 42d22d211..8c7987ea3 100644
--- a/extra/perl-dbd-mysql/PKGBUILD
+++ b/extra/perl-dbd-mysql/PKGBUILD
@@ -7,7 +7,7 @@ _realname=DBD-mysql
pkgver=4.019
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=('libmysqlclient' 'perl-dbi' 'perl>=5.14.0')
diff --git a/extra/perl-dbd-sqlite/PKGBUILD b/extra/perl-dbd-sqlite/PKGBUILD
index 298cc2008..b09ab358f 100644
--- a/extra/perl-dbd-sqlite/PKGBUILD
+++ b/extra/perl-dbd-sqlite/PKGBUILD
@@ -7,7 +7,7 @@ _cpanname=DBD-SQLite
pkgver=1.31
pkgrel=2
pkgdesc="Self-contained RDBMS in a DBI driver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/${_cpanname}"
license=('GPL' 'PerlArtistic')
depends=('perl-dbi>=1.61' 'sqlite3')
diff --git a/extra/perl-dbi/PKGBUILD b/extra/perl-dbi/PKGBUILD
index 42f7a5770..71111f93a 100644
--- a/extra/perl-dbi/PKGBUILD
+++ b/extra/perl-dbi/PKGBUILD
@@ -7,7 +7,7 @@ _realname=DBI
pkgver=1.616
pkgrel=2
pkgdesc="Database independent interface for Perl"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl>=5.12.1')
diff --git a/extra/perl-digest-nilsimsa/PKGBUILD b/extra/perl-digest-nilsimsa/PKGBUILD
index 40e9ae353..93d9a56da 100644
--- a/extra/perl-digest-nilsimsa/PKGBUILD
+++ b/extra/perl-digest-nilsimsa/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Digest-Nilsimsa
pkgver=0.06
pkgrel=7
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>=5.10.0')
diff --git a/extra/perl-digest-sha1/PKGBUILD b/extra/perl-digest-sha1/PKGBUILD
index eaae5e528..f6218022a 100644
--- a/extra/perl-digest-sha1/PKGBUILD
+++ b/extra/perl-digest-sha1/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Digest-SHA1
pkgver=2.13
pkgrel=2
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>=5.10.0')
diff --git a/extra/perl-event/PKGBUILD b/extra/perl-event/PKGBUILD
index 3e20ec4c2..056a22ba8 100644
--- a/extra/perl-event/PKGBUILD
+++ b/extra/perl-event/PKGBUILD
@@ -8,7 +8,7 @@ _srcname=Event
pkgver=1.17
pkgrel=1
pkgdesc="Framework for GUI events"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic' 'GPL')
url="http://search.cpan.org/dist/${_srcname}/"
depends=('perl')
diff --git a/extra/perl-fcgi/PKGBUILD b/extra/perl-fcgi/PKGBUILD
index 40e52f634..458065068 100644
--- a/extra/perl-fcgi/PKGBUILD
+++ b/extra/perl-fcgi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-fcgi
pkgver=0.73
pkgrel=1
pkgdesc="Fast CGI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/FCGI"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.14')
diff --git a/extra/perl-html-parser/PKGBUILD b/extra/perl-html-parser/PKGBUILD
index 7e3b0a701..6d43f820d 100644
--- a/extra/perl-html-parser/PKGBUILD
+++ b/extra/perl-html-parser/PKGBUILD
@@ -8,7 +8,7 @@ _realname=HTML-Parser
pkgver=3.68
pkgrel=2
pkgdesc="Perl HTML parser class"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl-html-tagset' 'perl>=5.12.1')
diff --git a/extra/perl-libintl-perl/PKGBUILD b/extra/perl-libintl-perl/PKGBUILD
index af266d871..e7061cdba 100644
--- a/extra/perl-libintl-perl/PKGBUILD
+++ b/extra/perl-libintl-perl/PKGBUILD
@@ -7,7 +7,7 @@ _realname=libintl-perl
pkgver=1.20
pkgrel=3
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>=5.10.0')
diff --git a/extra/perl-locale-gettext/PKGBUILD b/extra/perl-locale-gettext/PKGBUILD
index 6f916e28e..7f320215a 100644
--- a/extra/perl-locale-gettext/PKGBUILD
+++ b/extra/perl-locale-gettext/PKGBUILD
@@ -8,7 +8,7 @@ _realname=gettext
pkgver=1.05
pkgrel=7
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>=5.10.0')
diff --git a/extra/perl-net-dns/PKGBUILD b/extra/perl-net-dns/PKGBUILD
index 1a4f7c0cc..b676b2524 100644
--- a/extra/perl-net-dns/PKGBUILD
+++ b/extra/perl-net-dns/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Net-DNS
pkgver=0.66
pkgrel=4
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>=5.10.0')
diff --git a/extra/perl-net-ssleay/PKGBUILD b/extra/perl-net-ssleay/PKGBUILD
index 6620fbd6f..39325115f 100644
--- a/extra/perl-net-ssleay/PKGBUILD
+++ b/extra/perl-net-ssleay/PKGBUILD
@@ -7,7 +7,7 @@ _cpanname=Net-SSLeay
pkgver=1.36
pkgrel=5
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=('perl' 'openssl')
diff --git a/extra/perl-net-upnp/PKGBUILD b/extra/perl-net-upnp/PKGBUILD
index e54c70917..e6187ebf1 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=3
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 fa6549515..33fb57a58 100644
--- a/extra/perl-netaddr-ip/PKGBUILD
+++ b/extra/perl-netaddr-ip/PKGBUILD
@@ -8,7 +8,7 @@ _realname=NetAddr-IP
pkgver=4.037
pkgrel=2
pkgdesc="Perl module to manage IP addresses and subnets"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('PerlArtistic' 'GPL')
depends=('perl>=5.10.0')
options=(!emptydirs)
diff --git a/extra/perl-sdl/PKGBUILD b/extra/perl-sdl/PKGBUILD
index 29483fdc1..ba580e6ee 100644
--- a/extra/perl-sdl/PKGBUILD
+++ b/extra/perl-sdl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=perl-sdl
pkgver=2.531
pkgrel=3
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-template-toolkit/PKGBUILD b/extra/perl-template-toolkit/PKGBUILD
index d955edfdd..7e1d939cf 100644
--- a/extra/perl-template-toolkit/PKGBUILD
+++ b/extra/perl-template-toolkit/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Template-Toolkit
pkgver=2.22
pkgrel=4
pkgdesc="Perl template processing system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl-appconfig' 'perl>=5.10.0')
diff --git a/extra/perl-term-readkey/PKGBUILD b/extra/perl-term-readkey/PKGBUILD
index 25f9e397d..8b05c1357 100644
--- a/extra/perl-term-readkey/PKGBUILD
+++ b/extra/perl-term-readkey/PKGBUILD
@@ -8,7 +8,7 @@ _realname=TermReadKey
pkgver=2.30.01
pkgrel=4
pkgdesc="Provides simple control over terminal driver modes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('perl>=5.10.0' 'glibc')
url="http://search.cpan.org/~stsi/${_realname}/"
diff --git a/extra/perl-text-iconv/PKGBUILD b/extra/perl-text-iconv/PKGBUILD
index acd6932e2..f53a5babb 100644
--- a/extra/perl-text-iconv/PKGBUILD
+++ b/extra/perl-text-iconv/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Text-Iconv
pkgver=1.7
pkgrel=6
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>=5.10.0')
diff --git a/extra/perl-time-hires/PKGBUILD b/extra/perl-time-hires/PKGBUILD
index c7bc5a1bd..3f80db457 100644
--- a/extra/perl-time-hires/PKGBUILD
+++ b/extra/perl-time-hires/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-time-hires
pkgver=1.9724
pkgrel=1
pkgdesc="Perl module: high resolution time, sleep, and alarm"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/Time-HiRes/"
depends=('perl')
diff --git a/extra/perl-tk/PKGBUILD b/extra/perl-tk/PKGBUILD
index 2a80a320e..4fbeb965a 100644
--- a/extra/perl-tk/PKGBUILD
+++ b/extra/perl-tk/PKGBUILD
@@ -8,7 +8,7 @@ _cpanname=Tk
pkgver=804.029
pkgrel=3
pkgdesc="A graphical user interface toolkit for Perl"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/${_cpanname}"
license=('PerlArtistic' 'GPL' 'custom')
depends=('libx11' 'libpng' 'libjpeg' 'tk' 'perl')
diff --git a/extra/perl-unicode-string/PKGBUILD b/extra/perl-unicode-string/PKGBUILD
index c8bcd6c7a..d7589af10 100644
--- a/extra/perl-unicode-string/PKGBUILD
+++ b/extra/perl-unicode-string/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Unicode-String
pkgver=2.09
pkgrel=6
pkgdesc="String of Unicode characters for perl (UCS2/UTF16)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl>=5.10.0')
diff --git a/extra/perl-xml-parser/PKGBUILD b/extra/perl-xml-parser/PKGBUILD
index 021aa1b05..b059f5723 100644
--- a/extra/perl-xml-parser/PKGBUILD
+++ b/extra/perl-xml-parser/PKGBUILD
@@ -9,7 +9,7 @@ _realname=XML-Parser
pkgver=2.41
pkgrel=1
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 c2ab5a4f8..e772c2bbb 100644
--- a/extra/perl-yaml-syck/PKGBUILD
+++ b/extra/perl-yaml-syck/PKGBUILD
@@ -7,7 +7,7 @@ _realname=YAML-Syck
pkgver=1.17
pkgrel=2
pkgdesc="Fast, lightweight YAML loader and dumper"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl>=5.10.0')
diff --git a/extra/phonon-gstreamer/PKGBUILD b/extra/phonon-gstreamer/PKGBUILD
index 203bfc867..18c3813c5 100644
--- a/extra/phonon-gstreamer/PKGBUILD
+++ b/extra/phonon-gstreamer/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=phonon-gstreamer
pkgver=4.5.1
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 990855949..941f3309b 100644
--- a/extra/phonon-vlc/PKGBUILD
+++ b/extra/phonon-vlc/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=phonon-vlc
pkgver=0.4.1
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/phonon/PKGBUILD b/extra/phonon/PKGBUILD
index ad7852355..bd6391e64 100644
--- a/extra/phonon/PKGBUILD
+++ b/extra/phonon/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=phonon
pkgver=4.5.55
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://phonon.kde.org"
license=('LGPL')
pkgdesc="The multimedia framework for KDE4"
diff --git a/extra/php-apc/PKGBUILD b/extra/php-apc/PKGBUILD
index 06eb95726..a878b42b5 100644
--- a/extra/php-apc/PKGBUILD
+++ b/extra/php-apc/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=php-apc
pkgver=3.1.9
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='A free, open, and robust framework for caching and optimizing PHP intermediate code'
url='http://pecl.php.net/package/APC'
depends=('php')
diff --git a/extra/php-suhosin/PKGBUILD b/extra/php-suhosin/PKGBUILD
index a3173beaa..924dec114 100644
--- a/extra/php-suhosin/PKGBUILD
+++ b/extra/php-suhosin/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=php-suhosin
pkgver=0.9.32.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='An advanced protection system for PHP installations'
url='http://www.hardened-php.net/suhosin/'
license='PHP'
diff --git a/extra/php/PKGBUILD b/extra/php/PKGBUILD
index 4e7f515cd..1f5d3465f 100644
--- a/extra/php/PKGBUILD
+++ b/extra/php/PKGBUILD
@@ -26,7 +26,7 @@ pkgname=('php'
pkgver=5.3.6
pkgrel=5
_suhosinver=${pkgver}-0.9.10
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PHP')
url='http://www.php.net'
makedepends=('apache' 'imap' 'postgresql-libs' 'mysql' 'libldap' 'postfix'
diff --git a/extra/physfs/PKGBUILD b/extra/physfs/PKGBUILD
index 0f1c90102..e68e4141b 100644
--- a/extra/physfs/PKGBUILD
+++ b/extra/physfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=physfs
pkgver=2.0.2
pkgrel=1
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' 'readline')
diff --git a/extra/pidgin-encryption/PKGBUILD b/extra/pidgin-encryption/PKGBUILD
index d48c99c56..7ed71bf5c 100644
--- a/extra/pidgin-encryption/PKGBUILD
+++ b/extra/pidgin-encryption/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pidgin-encryption
pkgver=3.1
pkgrel=1
pkgdesc="A Pidgin plugin providing transparent RSA encryption using NSS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://pidgin-encrypt.sourceforge.net/"
depends=('pidgin' 'nss')
diff --git a/extra/pilot-link/PKGBUILD b/extra/pilot-link/PKGBUILD
index b9b8f20b4..a77ba5dbe 100644
--- a/extra/pilot-link/PKGBUILD
+++ b/extra/pilot-link/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=pilot-link
pkgver=0.12.5
pkgrel=2
pkgdesc="A suite of tools for connecting to PalmOS handheld devices"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('readline>=6.0' 'libpng>=1.4.0' 'libusb-compat' 'popt' 'bluez>=4.59')
options=('!libtool')
diff --git a/extra/pinentry/PKGBUILD b/extra/pinentry/PKGBUILD
index ae742029e..070e32577 100644
--- a/extra/pinentry/PKGBUILD
+++ b/extra/pinentry/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=pinentry
pkgver=0.8.1
pkgrel=1
pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnupg.org/aegypten2"
depends=('ncurses' 'libcap>=2.16')
diff --git a/extra/pixman/PKGBUILD b/extra/pixman/PKGBUILD
index f02a11779..57414ce5c 100644
--- a/extra/pixman/PKGBUILD
+++ b/extra/pixman/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pixman
pkgver=0.22.2
pkgrel=1
pkgdesc="Pixman library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org"
license=('custom')
depends=('glibc')
@@ -16,6 +16,10 @@ sha1sums=('ad2b828ce4280472f5933d8bb5f0f4d583aed7f3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ [ "$CARCH" = "mips64el" ] && {
+ patch -Np1 -i $srcdir/pixman-loongson2f.patch
+ autoreconf -i
+ }
./configure --prefix=/usr --disable-static
make
}
diff --git a/extra/pixman/pixman-loongson2f.patch b/extra/pixman/pixman-loongson2f.patch
new file mode 100644
index 000000000..15e01cb6b
--- /dev/null
+++ b/extra/pixman/pixman-loongson2f.patch
@@ -0,0 +1,2745 @@
+diff -urN pixman//configure.ac Pixman.Loongson//configure.ac
+--- pixman//configure.ac 2010-12-25 18:46:00.018699000 +0800
++++ Pixman.Loongson//configure.ac 2010-12-25 18:39:15.298778000 +0800
+@@ -264,6 +264,43 @@
+ ])
+
+ dnl ===========================================================================
++dnl Check for Loongson SIMD
++
++have_loongson_intrinsics=no
++AC_MSG_CHECKING(whether to use Loongson SIMD intrinsics)
++
++AC_COMPILE_IFELSE([
++#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4))
++error "Need GCC >= 4.4 for Loongson SIMD compilation"
++#endif
++int main () {
++ /* Test with a loongson SIMD instruction. */
++ asm volatile ( ".set arch = loongson2f \n\t" "and \$f0, \$f0, \$f0 \n\t" : : : "cc", "memory" );
++ return 0;
++}], have_loongson_intrinsics=yes)
++
++
++AC_ARG_ENABLE(loongson,
++ [AC_HELP_STRING([--disable-loongson],
++ [disable Loongson fast paths])],
++ [enable_loongson=$enableval], [enable_loongson=auto])
++
++if test $enable_loongson = no ; then
++ have_loongson_intrinsics=disabled
++fi
++
++if test $have_loongson_intrinsics = yes ; then
++ AC_DEFINE(USE_LS, 1, [use Loongson compiler intrinsics])
++fi
++
++AC_MSG_RESULT($have_loongson_intrinsics)
++if test $enable_loongson = yes && test $have_loongson_intrinsics = no ; then
++ AC_MSG_ERROR([Loongson intrinsics not detected])
++fi
++
++AM_CONDITIONAL(USE_LS, test $have_loongson_intrinsics = yes)
++
++dnl ===========================================================================
+ dnl Check for MMX
+
+ if test "x$MMX_CFLAGS" = "x" ; then
+diff -urN pixman//pixman/Makefile.am Pixman.Loongson//pixman/Makefile.am
+--- pixman//pixman/Makefile.am 2010-12-25 18:46:00.025027000 +0800
++++ Pixman.Loongson//pixman/Makefile.am 2010-12-25 18:39:15.303599000 +0800
+@@ -55,6 +55,19 @@
+ pixman-combine.h.template solaris-hwcap.mapfile pixman-x64-mmx-emulation.h
+ CLEANFILES = pixman-combine32.c pixman-combine64.c pixman-combine32.h pixman-combine64.h
+
++# loongson code
++if USE_LS
++noinst_LTLIBRARIES += libpixman-ls.la
++libpixman_ls_la_SOURCES = \
++ pixman-ls.c
++libpixman_ls_la_CFLAGS = $(DEP_CFLAGS) $(LS_CFLAGS)
++libpixman_ls_la_LIBADD = $(DEP_LIBS)
++libpixman_1_la_LDFLAGS += $(LS_LDFLAGS)
++libpixman_1_la_LIBADD += libpixman-ls.la
++
++ASM_CFLAGS_ls=$(LS_CFLAGS)
++endif
++
+ # mmx code
+ if USE_MMX
+ noinst_LTLIBRARIES += libpixman-mmx.la
+diff -urN pixman//pixman/pixman-combine-ls.c Pixman.Loongson//pixman/pixman-combine-ls.c
+--- pixman//pixman/pixman-combine-ls.c 1970-01-01 08:00:00.000000000 +0800
++++ Pixman.Loongson//pixman/pixman-combine-ls.c 2010-12-25 18:39:15.344171000 +0800
+@@ -0,0 +1,911 @@
++static force_inline uint32_t
++combine (const uint32_t *src, const uint32_t *mask)
++{
++ uint32_t ssrc = *src;
++
++ if (mask)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f22)
++ load8888r(%0,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ store8888r($f8,%0)
++ :"+r"(ssrc):"r"(*mask):clobber
++ );
++ }
++ return ssrc;
++}
++
++static void
++ls_combine_saturate_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++ uint32_t s = combine (src, mask);
++ uint32_t d = *dest;
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f22)
++ load8888r(%0,$f20)
++ :"+r"(d):"r"(s):clobber
++ );
++
++ uint32_t sa = s >> 24;
++ uint32_t da = ~d >> 24;
++
++ if (sa > da)
++ {
++ uint32_t dds = DIV_UN8 (da, sa) << 24;
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f24)
++ pix_multiply($f22,$f24)
++ save_to($f22)
++ ::"r"(dds):clobber
++ );
++ }
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ pix_add($f20,$f22)
++ store8888r($f8,%0)
++ :"=r"(*dest)::clobber
++ );
++
++ ++src;
++ ++dest;
++ if (mask)
++ mask++;
++ }
++}
++static void
++ls_combine_out_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++ if (mask)
++ {
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f24)
++ negate($f24,$f24)
++ pix_multiply($f20,$f24)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++
++ mask++;
++ }else {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++
++
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f24)
++ negate($f24,$f24)
++ pix_multiply($f20,$f24)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++
++ }
++ ++dest;
++ ++src;
++ }
++}
++
++static void
++ls_combine_out_reverse_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++ if (mask)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f20)
++ negate($f20,$f20)
++ pix_multiply($f20,$f24)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++
++ mask++;
++ }else{
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f20)
++ negate($f20,$f20)
++ pix_multiply($f20,$f24)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++ }
++ ++dest;
++ ++src;
++
++ }
++}
++
++static void
++ls_combine_out_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f26)
++ negate($f26,$f26)
++ pix_multiply($f20,$f22)
++ save_to($f20)
++ pix_multiply($f20,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++}
++
++static void
++ls_combine_out_reverse_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f28)
++ pix_multiply($f22,$f28)
++ save_to($f22)
++ negate($f22,$f22)
++ pix_multiply($f24,$f22)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++}
++
++
++static void
++ls_combine_atop_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++ if (mask)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f26)
++ expand_alpha($f24,$f28)
++ negate($f26,$f26)
++ pix_add_mul($f20,$f28,$f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++
++ mask++;
++ }else {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f26)
++ expand_alpha($f24,$f28)
++ negate($f26,$f26)
++ pix_add_mul($f20,$f28,$f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++ }
++ ++dest;
++ ++src;
++
++ }
++}
++
++static void
++ls_combine_atop_reverse_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end;
++
++ end = dest + width;
++
++ while (dest < end)
++ {
++ if (mask){
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f26)
++ expand_alpha($f24,$f28)
++ negate($f28,$f28)
++ pix_add_mul($f20,$f28,$f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ mask++;
++ }else{
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f26)
++ expand_alpha($f24,$f28)
++ negate($f28,$f28)
++ pix_add_mul($f20,$f28,$f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++ }
++ ++dest;
++ ++src;
++ }
++}
++
++
++static void
++ls_combine_atop_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f26)
++ expand_alpha($f20,$f28)
++ pix_multiply($f20,$f22)
++ save_to($f20)
++ pix_multiply($f22,$f28)
++ save_to($f22)
++ negate($f22,$f22)
++ pix_add_mul($f24,$f22,$f20,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++}
++
++static void
++ls_combine_atop_reverse_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f26)
++ expand_alpha($f20,$f28)
++ pix_multiply($f20,$f22)
++ save_to($f20)
++ pix_multiply($f22,$f28)
++ save_to($f22)
++ negate($f26,$f26)
++ pix_add_mul($f24,$f22,$f20,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++}
++
++static void
++ls_combine_xor_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++ if (mask)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f26)
++ expand_alpha($f24,$f28)
++ negate($f26,$f26)
++ negate($f28,$f28)
++ pix_add_mul($f20,$f28,$f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ mask++;
++ }else{
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f26)
++ expand_alpha($f24,$f28)
++ negate($f26,$f26)
++ negate($f28,$f28)
++ pix_add_mul($f20,$f28,$f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++ }
++ ++dest;
++ ++src;
++
++ }
++}
++
++static void
++ls_combine_xor_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f26)
++ expand_alpha($f20,$f28)
++ pix_multiply($f20,$f22)
++ save_to($f20)
++ pix_multiply($f22,$f28)
++ save_to($f22)
++ negate($f26,$f26)
++ negate($f22,$f22)
++ pix_add_mul($f24,$f22,$f20,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++}
++
++
++static void
++ls_combine_in_reverse_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++
++ if (mask)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f26)
++ pix_multiply($f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ mask++;
++ } else {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f26)
++ pix_multiply($f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++ }
++ ++dest;
++ ++src;
++ }
++}
++
++static void
++ls_combine_in_reverse_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ load8888r(%0,$f24)
++ expand_alpha($f20,$f20)
++ pix_multiply($f22,$f20)
++ save_to($f26)
++ pix_multiply($f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++}
++
++static void
++ls_combine_in_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++ if (mask)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f24)
++ pix_multiply($f20,$f24)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ mask++;
++ } else {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f24)
++ pix_multiply($f20,$f24)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++
++ }
++ ++dest;
++ ++src;
++ }
++}
++
++static void
++ls_combine_in_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ load8888r(%0,$f24)
++ expand_alpha($f24,$f24)
++ pix_multiply($f20,$f22)
++ save_to($f26)
++ pix_multiply($f26,$f24)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++ }
++static void
++ls_combine_src_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ pix_multiply($f20,$f22)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++mask;
++ ++dest;
++ }
++
++}
++
++
++static void
++ls_combine_over_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++
++ uint32_t ssrc = combine (src, mask);
++ uint32_t a = ssrc >> 24;
++
++ if (a == 0xff)
++ {
++ *dest = ssrc;
++ }
++ else if (ssrc)
++ {
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++
++ expand_alpha($f20,$f24)
++ load8888r(%0,$f26)
++ over($f20,$f24,$f26)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(ssrc):clobber
++ );
++ }
++
++ ++dest;
++ ++src;
++ if (mask)
++ ++mask;
++ }
++}
++
++static void
++ls_combine_over_reverse_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++ if (mask)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++ load8888r(%0,$f26)
++ expand_alpha($f26,$f28)
++ over($f26,$f28,$f20)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ mask++;
++ }else{
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f26)
++ expand_alpha($f26,$f28)
++ over($f26,$f28,$f20)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++
++ }
++ ++dest;
++ ++src;
++ }
++}
++
++
++static void
++ls_combine_over_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f20)
++ load8888r(%1,$f22)
++ load8888r(%2,$f24)
++ expand_alpha($f22,$f26)
++ in_over($f22,$f26,$f24,$f20)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++
++}
++
++static void
++ls_combine_over_reverse_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f20)
++ load8888r(%1,$f22)
++ load8888r(%2,$f24)
++ in($f22,$f24)
++ save_to($f22)
++ expand_alpha($f20,$f28)
++ over($f20,$f28,$f22)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++
++}
++
++static void
++ls_combine_add_u (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = dest + width;
++
++ while (dest < end)
++ {
++
++ if (mask)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f22)
++ load8888r(%1,$f20)
++ expand_alpha($f22,$f22)
++ pix_multiply($f20,$f22)
++ save_to ($f20)
++
++ load8888r(%0,$f22)
++ pix_add($f20,$f22)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ mask++;
++ }else{
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++
++ load8888r(%0,$f22)
++ pix_add($f20,$f22)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src):clobber
++ );
++
++ }
++ ++dest;
++ ++src;
++ }
++}
++
++static void
++ls_combine_add_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ uint32_t * dest,
++ const uint32_t * src,
++ const uint32_t * mask,
++ int width)
++{
++ const uint32_t *end = src + width;
++
++ while (src < end)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f20)
++ load8888r(%1,$f22)
++ load8888r(%2,$f24)
++ pix_multiply($f22,$f24)
++ save_to($f22)
++ pix_add($f22,$f20)
++ store8888r($f8,%0)
++ :"+r"(*dest):"r"(*src),"r"(*mask):clobber
++ );
++ ++src;
++ ++dest;
++ ++mask;
++ }
++}
+diff -urN pixman//pixman/pixman-composite-ls.c Pixman.Loongson//pixman/pixman-composite-ls.c
+--- pixman//pixman/pixman-composite-ls.c 1970-01-01 08:00:00.000000000 +0800
++++ Pixman.Loongson//pixman/pixman-composite-ls.c 2010-12-25 18:39:15.356667000 +0800
+@@ -0,0 +1,967 @@
++static void
++ls_composite_over_x888_8_8888 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++
++ uint32_t *src, *src_line;
++ uint32_t *dst, *dst_line;
++ uint8_t *mask, *mask_line;
++ int src_stride, mask_stride, dst_stride;
++ uint32_t m;
++ uint32_t s, d;
++ int32_t w;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (mask_image, mask_x, mask_y, uint8_t, mask_stride, mask_line, 1);
++ PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint32_t, src_stride, src_line, 1);
++
++ while (height--)
++ {
++ src = src_line;
++ src_line += src_stride;
++ dst = dst_line;
++ dst_line += dst_stride;
++ mask = mask_line;
++ mask_line += mask_stride;
++
++ w = width;
++ while (w--)
++ {
++ m = *mask++;
++ if (m)
++ {
++ s = *src | 0xff000000;
++
++ if (m == 0xff)
++ {
++ *dst = s;
++ }
++ else
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f20)
++ load8888r(%1,$f22)
++ load8888r(%2,$f24)
++ expand_alpha($f22,$f26)
++ expand_alpha_rev($f24,$f28)
++ in_over($f22,$f26,$f28,$f20)
++ store8888r($f8,%0)
++ :"+r"(*dst):"r"(s),"r"(m):clobber
++ );
++
++// __m64 sa = expand_alpha (s);
++// __m64 vm = expand_alpha_rev (to_m64 (m));
++// __m64 vdest = in_over (s, sa, vm, load8888 (*dst));
++// *dst = store8888 (vdest);
++
++ }
++ }
++ src++;
++ dst++;
++ }
++ }
++}
++
++
++
++
++
++static void
++ls_composite_over_8888_8888 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t *dst_line, *dst;
++ uint32_t *src_line, *src;
++ uint32_t s;
++ int dst_stride, src_stride;
++ uint8_t a;
++ int32_t w;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint32_t, src_stride, src_line, 1);
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ src = src_line;
++ src_line += src_stride;
++ w = width;
++
++ while (w--)
++ {
++ s = *src;
++ a = s >> 24;
++
++ if (a == 0xff)
++ {
++ *dst = s;
++ }
++ else if (s)
++ {
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f24)
++ load8888r(%0,$f20)
++ expand_alpha($f24,$f26)
++ over($f24,$f26,$f20)
++ store8888r($f8,%0)
++ :"+r"(*dst):"r"(*src):clobber
++ );
++ }
++ dst++;
++ src++;
++
++ }
++ }
++}
++
++
++static void
++ls_composite_over_8888_n_8888 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t *dst_line, *dst;
++ uint32_t *src_line, *src;
++ uint32_t mask;
++ __m64 vmask;
++ int dst_stride, src_stride;
++ int32_t w;
++ __m64 srca;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint32_t, src_stride, src_line, 1);
++
++ mask = _pixman_image_get_solid (mask_image, dst_image->bits.format);
++ mask = mask | mask >> 8 | mask >> 16 | mask >> 24;
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888(%1,$f24)
++ store64a($f24,%0)
++ :"=m"(vmask):"m"(mask):clobber
++ );
++
++ srca = ls_4x00ff;
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ src = src_line;
++ src_line += src_stride;
++ w = width;
++
++ while (w)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++ load8888r(%0,$f22)
++ expand_alpha($f20,$f28)
++ in_over($f20,$f28,$f24,$f22)
++ store8888r($f8,%0)
++ :"+r"(*dst):"r"(*src):clobber
++ );
++
++ w--;
++ dst++;
++ src++;
++ }
++ }
++}
++
++static void
++ls_composite_over_n_8888 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t src;
++ uint32_t *dst_line, *dst;
++ int32_t w;
++ int dst_stride;
++ __m64 vsrc, vsrca;
++
++ src = _pixman_image_get_solid (src_image, dst_image->bits.format);
++
++ if (src == 0)
++ return;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f24)
++ store64($f24,%0)
++ expand_alpha($f24,$f26)
++ store64($f26,%1)
++ :"=m"(vsrc), "=m"(vsrca):"r"(src):clobber
++ );
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ w = width;
++
++ while (w)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f28)
++ over($f24,$f26,$f28)
++ store8888r($f8,%0)
++ :"+r"(*dst)::clobber
++ );
++
++ w--;
++ dst++;
++ }
++ }
++}
++
++static void
++ls_composite_over_n_8888_8888_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t src, srca;
++ uint32_t *dst_line;
++ uint32_t *mask_line;
++ int dst_stride, mask_stride;
++ __m64 vsrc, vsrca;
++
++ src = _pixman_image_get_solid (src_image, dst_image->bits.format);
++
++ srca = src >> 24;
++ if (src == 0)
++ return;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (mask_image, mask_x, mask_y, uint32_t, mask_stride, mask_line, 1);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f24)
++ store64($f24,%0)
++ expand_alpha($f24,$f26)
++ store64($f26,%1)
++ :"=m"(vsrc), "=m"(vsrca):"r"(src):clobber
++ );
++
++ while (height--)
++ {
++ int twidth = width;
++ uint32_t *p = (uint32_t *)mask_line;
++ uint32_t *q = (uint32_t *)dst_line;
++
++ while (twidth)
++ {
++
++ if (*p)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f28)
++ load8888r(%1,$f20)
++ in_over($f24,$f26,$f20,$f28)
++ store8888r($f8,%0)
++ :"+r"(*q):"r"(*p):clobber
++ );
++ }
++ twidth--;
++ p++;
++ q++;
++ }
++
++ dst_line += dst_stride;
++ mask_line += mask_stride;
++ }
++}
++
++
++static void
++ls_composite_over_n_8_8888 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t src, srca;
++ uint32_t *dst_line, *dst;
++ uint8_t *mask_line, *mask;
++ int dst_stride, mask_stride;
++ int32_t w;
++ __m64 vsrc, vsrca;
++ uint64_t srcsrc;
++
++ src = _pixman_image_get_solid (src_image, dst_image->bits.format);
++
++ srca = src >> 24;
++ if (src == 0)
++ return;
++
++ srcsrc = (uint64_t)src << 32 | src;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (mask_image, mask_x, mask_y, uint8_t, mask_stride, mask_line, 1);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f24)
++ store64a($f24,%0)
++ expand_alpha($f24,$f26)
++ store64a($f26,%1)
++ :"=m"(vsrc), "=m"(vsrca):"r"(src):clobber
++ );
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ mask = mask_line;
++ mask_line += mask_stride;
++ w = width;
++
++ while (w)
++ {
++ uint32_t m = *mask;
++
++ if (m)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f20)
++ load32r(%1,$f22)
++ expand_alpha_rev($f22,$f28)
++ in_over($f24,$f26,$f28,$f20)
++ store8888r($f8,%0)
++ :"+r"(*dst):"r"(m):clobber
++ );
++ }
++
++ w--;
++ mask++;
++ dst++;
++ }
++ }
++
++}
++
++static void
++ls_composite_over_x888_n_8888 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t *dst_line, *dst;
++ uint32_t *src_line, *src;
++ uint32_t mask;
++ __m64 vmask;
++ int dst_stride, src_stride;
++ int32_t w;
++ __m64 srca;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint32_t, src_stride, src_line, 1);
++ mask = _pixman_image_get_solid (mask_image, dst_image->bits.format);
++
++ mask &= 0xff000000;
++ mask = mask | mask >> 8 | mask >> 16 | mask >> 24;
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f24)
++ store64a($f24,%0)
++ :"=m"(vmask):"r"(mask):clobber
++ );
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load64a(%1,$f26)
++ store64a($f26,%0)
++ :"=m"(srca):"m"(ls_4x00ff):clobber
++ );
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ src = src_line;
++ src_line += src_stride;
++ w = width;
++
++ while (w)
++ {
++ uint32_t src_tmp = *src | 0xff000000;
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++ load8888r(%0,$f22)
++ in_over($f20,$f26,$f24,$f22)
++ store8888r($f8,%0)
++ :"+r"(*dst):"r"(src_tmp):clobber
++ );
++
++ w--;
++ dst++;
++ src++;
++ }
++ }
++}
++
++
++static void
++ls_composite_over_8888_0565 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint16_t *dst_line, *dst;
++ uint32_t d;
++ uint32_t *src_line, *src, s;
++ uint8_t a;
++ int dst_stride, src_stride;
++ int32_t w;
++
++ PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint32_t, src_stride, src_line, 1);
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint16_t, dst_stride, dst_line, 1);
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ src = src_line;
++ src_line += src_stride;
++ w = width;
++
++ while (w--)
++ {
++ s = *src++;
++ a = s >> 24;
++ if (s)
++ {
++ if (a == 0xff)
++ {
++ d = s;
++ }
++ else
++ {
++ d = *dst;
++ d = CONVERT_0565_TO_0888 (d);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f24)
++ load8888r(%0,$f20)
++ expand_alpha($f24,$f26)
++ over($f24,$f26,$f20)
++ store8888r($f8,%0)
++ :"+r"(d):"r"(s):clobber
++ );
++
++
++ }
++ *dst = CONVERT_8888_TO_0565 (d);
++ }
++ dst++;
++ }
++ }
++}
++
++static void
++ls_composite_over_n_0565 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t src;
++ uint32_t d;
++ uint16_t *dst_line, *dst;
++ int32_t w;
++ int dst_stride;
++ __m64 vsrc, vsrca;
++
++ src = _pixman_image_get_solid (src_image, dst_image->bits.format);
++
++ if (src == 0)
++ return;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint16_t, dst_stride, dst_line, 1);
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f24)
++ store64a($f24,%0)
++ expand_alpha($f24,$f26)
++ store64a($f26,%1)
++ :"=m"(vsrc), "=m"(vsrca):"r"(src):clobber
++ );
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ w = width;
++
++ while (w)
++ {
++
++ d = *dst;
++ d = CONVERT_0565_TO_0888 (d);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f20)
++
++ over($f24,$f26,$f20)
++ store8888r($f8,%0)
++ :"+r"(d)::clobber
++ );
++
++ *dst = CONVERT_8888_TO_0565 (d);
++
++ w--;
++ dst++;
++ }
++ }
++}
++
++static void
++ls_composite_over_n_8_0565 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t src, srca, m, d;
++ uint16_t *dst_line, *dst;
++ uint8_t *mask_line, *mask;
++ int dst_stride, mask_stride;
++ int32_t w;
++ __m64 vsrc, vsrca;
++
++ src = _pixman_image_get_solid (src_image, dst_image->bits.format);
++
++ srca = src >> 24;
++ if (src == 0)
++ return;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint16_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (mask_image, mask_x, mask_y, uint8_t, mask_stride, mask_line, 1);
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f24)
++ store64a($f24,%0)
++ expand_alpha($f24,$f26)
++ store64a($f26,%1)
++ :"=m"(vsrc), "=m"(vsrca):"r"(src):clobber
++ );
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ mask = mask_line;
++ mask_line += mask_stride;
++ w = width;
++
++ while (w)
++ {
++ m = *mask;
++ d = *dst;
++
++ if (m)
++ {
++
++ d = CONVERT_0565_TO_0888 (d);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f20)
++ load32r(%1,$f22)
++ expand_alpha_rev($f22,$f28)
++ in_over($f24,$f26,$f28,$f20)
++ store8888r($f8,%0)
++ :"+r"(d):"r"(m):clobber
++ );
++
++ *dst = CONVERT_8888_TO_0565 (d);
++
++ }
++
++ w--;
++ mask++;
++ dst++;
++ }
++ }
++}
++
++static void
++ls_composite_over_n_8888_0565_ca (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t src, srca, m, d;
++ uint16_t *dst_line;
++ uint32_t *mask_line;
++ int dst_stride, mask_stride;
++ __m64 vsrc, vsrca;
++
++ src = _pixman_image_get_solid (src_image, dst_image->bits.format);
++
++ srca = src >> 24;
++ if (src == 0)
++ return;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint16_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (mask_image, mask_x, mask_y, uint32_t, mask_stride, mask_line, 1);
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f24)
++ store64a($f24,%0)
++ expand_alpha($f24,$f26)
++ store64a($f26,%1)
++ :"=m"(vsrc), "=m"(vsrca):"r"(src):clobber
++ );
++
++ while (height--)
++ {
++ int twidth = width;
++ uint32_t *p = (uint32_t *)mask_line;
++ uint16_t *q = (uint16_t *)dst_line;
++
++ while (twidth)
++ {
++
++ m = *(uint32_t *)p;
++ d = *q;
++
++ if (m)
++ {
++
++ d = CONVERT_0565_TO_0888 (d);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%0,$f20)
++ load8888r(%1,$f22)
++ in_over($f24,$f26,$f22,$f20)
++ store8888r($f8,%0)
++ :"+r"(d):"r"(m):clobber
++ );
++
++ *q = CONVERT_8888_TO_0565 (d);
++
++ }
++
++ twidth--;
++ p++;
++ q++;
++ }
++
++ mask_line += mask_stride;
++ dst_line += dst_stride;
++ }
++}
++static void
++ls_composite_over_pixbuf_8888 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t *dst_line, *dst;
++ uint32_t *src_line, *src;
++ int dst_stride, src_stride;
++ int32_t w;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint32_t, src_stride, src_line, 1);
++
++#if 0
++ /* FIXME */
++ assert (src_image->drawable == mask_image->drawable);
++#endif
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ src = src_line;
++ src_line += src_stride;
++ w = width;
++
++ while (w)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f22)
++ load8888r(%0,$f20)
++ over_rev_non_pre($f22,$f20)
++ store8888r($f8,%0)
++ :"+r"(*dst):"r"(*src):clobber
++ );
++
++ w--;
++ dst++;
++ src++;
++ }
++ }
++}
++static void
++ls_composite_over_pixbuf_0565 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint16_t *dst_line, *dst;
++ uint32_t *src_line, *src, d;
++ int dst_stride, src_stride;
++ int32_t w;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint16_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (src_image, src_x, src_y, uint32_t, src_stride, src_line, 1);
++
++#if 0
++ /* FIXME */
++ assert (src_image->drawable == mask_image->drawable);
++#endif
++
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ src = src_line;
++ src_line += src_stride;
++ w = width;
++
++ while (w)
++ {
++
++ d = *dst;
++ d = CONVERT_0565_TO_0888 (d);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%1,$f20)
++ load8888r(%0,$f24)
++ over_rev_non_pre($f20,$f24)
++ store8888r($f8,%0)
++ :"+r"(d):"r"(*src):clobber
++ );
++
++ *dst = CONVERT_8888_TO_0565 (d);
++
++ w--;
++ dst++;
++ src++;
++ }
++ }
++}
++
++static void
++ls_composite_src_n_8_8888 (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ uint32_t src, srca;
++ uint32_t *dst_line, *dst, m;
++ uint8_t *mask_line, *mask;
++ int dst_stride, mask_stride;
++ int32_t w;
++ __m64 vsrc, vsrca;
++ uint64_t srcsrc;
++
++ src = _pixman_image_get_solid (src_image, dst_image->bits.format);
++
++ srca = src >> 24;
++ if (src == 0)
++ {
++ pixman_fill_ls (dst_image->bits.bits, dst_image->bits.rowstride,
++ PIXMAN_FORMAT_BPP (dst_image->bits.format),
++ dest_x, dest_y, width, height, 0);
++ return;
++ }
++
++ srcsrc = (uint64_t)src << 32 | src;
++
++ PIXMAN_IMAGE_GET_LINE (dst_image, dest_x, dest_y, uint32_t, dst_stride, dst_line, 1);
++ PIXMAN_IMAGE_GET_LINE (mask_image, mask_x, mask_y, uint8_t, mask_stride, mask_line, 1);
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load8888r(%2,$f24)
++ store64a($f24,%0)
++ expand_alpha($f24,$f26)
++ store64a($f26,%1)
++ :"=m"(vsrc), "=m"(vsrca):"r"(src):clobber
++ );
++ while (height--)
++ {
++ dst = dst_line;
++ dst_line += dst_stride;
++ mask = mask_line;
++ mask_line += mask_stride;
++ w = width;
++
++ while (w)
++ {
++ m = *mask;
++
++ if (m)
++ {
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ load32r(%1,$f20)
++ expand_alpha_rev($f20,$f28)
++ in($f24,$f28)
++ store8888r($f8,%0)
++ :"=r"(*dst):"r"(m):clobber
++ );
++
++ }
++ else
++ {
++ *dst = 0;
++ }
++
++ w--;
++ mask++;
++ dst++;
++ }
++ }
++}
+diff -urN pixman//pixman/pixman-cpu.c Pixman.Loongson//pixman/pixman-cpu.c
+--- pixman//pixman/pixman-cpu.c 2010-12-25 18:46:00.073234000 +0800
++++ Pixman.Loongson//pixman/pixman-cpu.c 2010-12-25 18:39:15.360337000 +0800
+@@ -579,7 +579,9 @@
+ if (pixman_have_mmx ())
+ return _pixman_implementation_create_mmx ();
+ #endif
+-
++#ifdef USE_LS
++ return _pixman_implementation_create_ls ();
++#endif
+ #ifdef USE_ARM_NEON
+ if (pixman_have_arm_neon ())
+ return _pixman_implementation_create_arm_neon ();
+diff -urN pixman//pixman/pixman-ls.c Pixman.Loongson//pixman/pixman-ls.c
+--- pixman//pixman/pixman-ls.c 1970-01-01 08:00:00.000000000 +0800
++++ Pixman.Loongson//pixman/pixman-ls.c 2010-12-25 18:39:15.386759000 +0800
+@@ -0,0 +1,538 @@
++/*
++* Based on pixman-mmx.c
++* Implemented for loongson 2F only.
++* Free software based on GPL licence.
++* Copyright 2010 WG Ge.
++*/
++
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
++#include <stdlib.h>
++#include <string.h>
++#include <math.h>
++#include <limits.h>
++#include <stdio.h>
++#include "pixman-private.h"
++#include "pixman-combine32.h"
++#include "primitive.h"
++
++#define __m64 __attribute__ ((aligned (8))) uint64_t
++#define DECLARE_ALIGNED(n,t,v) t __attribute__ ((aligned (n))) v
++#define DECLARE_ALIGNED_8(t, v, ...) DECLARE_ALIGNED(8, t, v)
++
++DECLARE_ALIGNED_8 (const uint64_t, ls_4x00ff ) = 0x00ff00ff00ff00ffULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_4x0080 ) = 0x0080008000800080ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_565_rgb ) = 0x000001f0003f001fULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_565_unpack_multiplier ) = 0x0000008404100840ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_565_r ) = 0x000000f800000000ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_565_g ) = 0x0000000000fc0000ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_565_b ) = 0x00000000000000f8ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_mask_0 ) = 0xffffffffffff0000ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_mask_1 ) = 0xffffffff0000ffffULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_mask_2 ) = 0xffff0000ffffffffULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_mask_3 ) = 0x0000ffffffffffffULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_full_alpha ) = 0x00ff000000000000ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_ffff0000ffff0000 ) = 0xffff0000ffff0000ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_0000ffff00000000 ) = 0x0000ffff00000000ULL;
++DECLARE_ALIGNED_8 (const uint64_t, ls_000000000000ffff ) = 0x000000000000ffffULL;
++
++
++pixman_bool_t
++pixman_fill_ls (uint32_t *bits,
++ int stride,
++ int bpp,
++ int x,
++ int y,
++ int width,
++ int height,
++ uint32_t xor)
++{
++ uint64_t fill;
++ uint32_t byte_width;
++ uint8_t *byte_line;
++
++
++
++ if (bpp != 16 && bpp != 32 && bpp != 8)
++ return FALSE;
++
++ if (bpp == 8)
++ {
++ stride = stride * (int) sizeof (uint32_t) / 1;
++ byte_line = (uint8_t *)(((uint8_t *)bits) + stride * y + x);
++ byte_width = width;
++ stride *= 1;
++ xor = (xor & 0xff) * 0x01010101;
++ }
++ else if (bpp == 16)
++ {
++ stride = stride * (int) sizeof (uint32_t) / 2;
++ byte_line = (uint8_t *)(((uint16_t *)bits) + stride * y + x);
++ byte_width = 2 * width;
++ stride *= 2;
++ xor = (xor & 0xffff) * 0x00010001;
++ }
++ else
++ {
++ stride = stride * (int) sizeof (uint32_t) / 4;
++ byte_line = (uint8_t *)(((uint32_t *)bits) + stride * y + x);
++ byte_width = 4 * width;
++ stride *= 4;
++ }
++
++ fill = ((uint64_t)xor << 32) | xor;
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ "ldc1 $f24, %0 \n\t"
++ ::"m"(fill):"$f24"
++ );
++ while (height--)
++ {
++ int w;
++ uint8_t *d = byte_line;
++
++ byte_line += stride;
++ w = byte_width;
++
++ while (w >= 1 && ((unsigned long)d & 1))
++ {
++ *(uint8_t *)d = (xor & 0xff);
++ w--;
++ d++;
++ }
++
++ while (w >= 2 && ((unsigned long)d & 3))
++ {
++ *(uint16_t *)d = xor;
++ w -= 2;
++ d += 2;
++ }
++
++ while (w >= 4 && ((unsigned long)d & 7))
++ {
++ *(uint32_t *)d = xor;
++
++ w -= 4;
++ d += 4;
++ }
++
++ while (w >= 64)
++ {
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ "dmfc1 $8, $f24 \n\t"
++ "sd $8 , (%0) \n\t"
++ "sd $8 , 8(%0) \n\t"
++ "sd $8 , 16(%0) \n\t"
++ "sd $8 , 24(%0) \n\t"
++ "sd $8 , 32(%0) \n\t"
++ "sd $8 , 40(%0) \n\t"
++ "sd $8 , 48(%0) \n\t"
++ "sd $8 , 56(%0) \n\t"
++ ::"r"(d):"$8","memory","$f24"
++ );
++ w -= 64;
++ d += 64;
++ }
++
++ while (w >= 4)
++ {
++ *(uint32_t *)d = xor;
++
++ w -= 4;
++ d += 4;
++ }
++ while (w >= 2)
++ {
++ *(uint16_t *)d = xor;
++ w -= 2;
++ d += 2;
++ }
++ while (w >= 1)
++ {
++ *(uint8_t *)d = (xor & 0xff);
++ w--;
++ d++;
++ }
++
++ }
++ return TRUE;
++}
++
++static pixman_bool_t
++pixman_blt_ls (uint32_t *src_bits,
++ uint32_t *dst_bits,
++ int src_stride,
++ int dst_stride,
++ int src_bpp,
++ int dst_bpp,
++ int src_x,
++ int src_y,
++ int dst_x,
++ int dst_y,
++ int width,
++ int height)
++{
++ uint8_t * src_bytes;
++ uint8_t * dst_bytes;
++ int byte_width;
++
++ if (src_bpp != dst_bpp)
++ return FALSE;
++
++ if (src_bpp == 16)
++ {
++ src_stride = src_stride * (int) sizeof (uint32_t) / 2;
++ dst_stride = dst_stride * (int) sizeof (uint32_t) / 2;
++ src_bytes = (uint8_t *)(((uint16_t *)src_bits) + src_stride * (src_y) + (src_x));
++ dst_bytes = (uint8_t *)(((uint16_t *)dst_bits) + dst_stride * (dst_y) + (dst_x));
++ byte_width = 2 * width;
++ src_stride *= 2;
++ dst_stride *= 2;
++ }
++ else if (src_bpp == 32)
++ {
++ src_stride = src_stride * (int) sizeof (uint32_t) / 4;
++ dst_stride = dst_stride * (int) sizeof (uint32_t) / 4;
++ src_bytes = (uint8_t *)(((uint32_t *)src_bits) + src_stride * (src_y) + (src_x));
++ dst_bytes = (uint8_t *)(((uint32_t *)dst_bits) + dst_stride * (dst_y) + (dst_x));
++ byte_width = 4 * width;
++ src_stride *= 4;
++ dst_stride *= 4;
++ }
++ else
++ {
++ return FALSE;
++ }
++
++ while (height--)
++ {
++ int w;
++ uint8_t *s = src_bytes;
++ uint8_t *d = dst_bytes;
++ src_bytes += src_stride;
++ dst_bytes += dst_stride;
++ w = byte_width;
++
++ while (w >= 2 && ((unsigned long)d & 3))
++ {
++ *(uint16_t *)d = *(uint16_t *)s;
++ w -= 2;
++ s += 2;
++ d += 2;
++ }
++
++ while (w >= 4 && ((unsigned long)d & 7))
++ {
++ *(uint32_t *)d = *(uint32_t *)s;
++
++ w -= 4;
++ s += 4;
++ d += 4;
++ }
++ if ((unsigned long)s & 7)
++{
++ while (w >= 64)
++ {
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ "uld $8 , (%1) \n\t"
++ "uld $9 , 8(%1) \n\t"
++ "uld $10, 16(%1) \n\t"
++ "uld $11, 24(%1) \n\t"
++ "sd $8 , (%0) \n\t"
++ "sd $9 , 8(%0) \n\t"
++ "sd $10, 16(%0) \n\t"
++ "sd $11, 24(%0) \n\t"
++
++ "uld $8 , 32(%1) \n\t"
++ "uld $9 , 40(%1) \n\t"
++ "uld $10, 48(%1) \n\t"
++ "uld $11, 56(%1) \n\t"
++ "sd $8 , 32(%0) \n\t"
++ "sd $9 , 40(%0) \n\t"
++ "sd $10, 48(%0) \n\t"
++ "sd $11, 56(%0) \n\t"
++ ::"r"(d),"r"(s):"$8","$9","$10","$11","memory"
++ );
++ w -= 64;
++ s += 64;
++ d += 64;
++ }
++}
++else
++{
++ while (w >= 64)
++ {
++
++ __asm__ volatile (
++ ".set arch=loongson2f \n\t"
++ "ld $8 , (%1) \n\t"
++ "ld $9 , 8(%1) \n\t"
++ "ld $10, 16(%1) \n\t"
++ "ld $11, 24(%1) \n\t"
++ "sd $8 , (%0) \n\t"
++ "sd $9 , 8(%0) \n\t"
++ "sd $10, 16(%0) \n\t"
++ "sd $11, 24(%0) \n\t"
++
++ "ld $8 , 32(%1) \n\t"
++ "ld $9 , 40(%1) \n\t"
++ "ld $10, 48(%1) \n\t"
++ "ld $11, 56(%1) \n\t"
++ "sd $8 , 32(%0) \n\t"
++ "sd $9 , 40(%0) \n\t"
++ "sd $10, 48(%0) \n\t"
++ "sd $11, 56(%0) \n\t"
++ ::"r"(d),"r"(s):"$8","$9","$10","$11","memory"
++ );
++ w -= 64;
++ s += 64;
++ d += 64;
++ }
++}
++
++ while (w >= 4)
++ {
++ *(uint32_t *)d = *(uint32_t *)s;
++
++ w -= 4;
++ s += 4;
++ d += 4;
++ }
++ if (w >= 2)
++ {
++ *(uint16_t *)d = *(uint16_t *)s;
++ w -= 2;
++ s += 2;
++ d += 2;
++ }
++ }
++ return TRUE;
++}
++
++
++#include "pixman-composite-ls.c"
++#include "pixman-combine-ls.c"
++
++static pixman_bool_t
++ls_blt (pixman_implementation_t *imp,
++ uint32_t * src_bits,
++ uint32_t * dst_bits,
++ int src_stride,
++ int dst_stride,
++ int src_bpp,
++ int dst_bpp,
++ int src_x,
++ int src_y,
++ int dst_x,
++ int dst_y,
++ int width,
++ int height)
++{
++ if (!pixman_blt_ls (
++ src_bits, dst_bits, src_stride, dst_stride, src_bpp, dst_bpp,
++ src_x, src_y, dst_x, dst_y, width, height))
++ {
++ return _pixman_implementation_blt (
++ imp->delegate,
++ src_bits, dst_bits, src_stride, dst_stride, src_bpp, dst_bpp,
++ src_x, src_y, dst_x, dst_y, width, height);
++ }
++
++ return TRUE;
++}
++
++static pixman_bool_t
++ls_fill (pixman_implementation_t *imp,
++ uint32_t * bits,
++ int stride,
++ int bpp,
++ int x,
++ int y,
++ int width,
++ int height,
++ uint32_t xor)
++{
++ if (!pixman_fill_ls (bits, stride, bpp, x, y, width, height, xor))
++ {
++ return _pixman_implementation_fill (
++ imp->delegate, bits, stride, bpp, x, y, width, height, xor);
++ }
++
++ return TRUE;
++}
++
++static void
++ls_composite_copy_area (pixman_implementation_t *imp,
++ pixman_op_t op,
++ pixman_image_t * src_image,
++ pixman_image_t * mask_image,
++ pixman_image_t * dst_image,
++ int32_t src_x,
++ int32_t src_y,
++ int32_t mask_x,
++ int32_t mask_y,
++ int32_t dest_x,
++ int32_t dest_y,
++ int32_t width,
++ int32_t height)
++{
++ pixman_blt_ls (src_image->bits.bits,
++ dst_image->bits.bits,
++ src_image->bits.rowstride,
++ dst_image->bits.rowstride,
++ PIXMAN_FORMAT_BPP (src_image->bits.format),
++ PIXMAN_FORMAT_BPP (dst_image->bits.format),
++ src_x, src_y, dest_x, dest_y, width, height);
++}
++
++
++static const pixman_fast_path_t ls_fast_paths[] =
++{
++
++//these are implemented so far
++#if 1
++ PIXMAN_STD_FAST_PATH (OVER, x8r8g8b8, a8, x8r8g8b8, ls_composite_over_x888_8_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, x8r8g8b8, a8, a8r8g8b8, ls_composite_over_x888_8_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, x8b8g8r8, a8, x8b8g8r8, ls_composite_over_x888_8_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, x8b8g8r8, a8, a8b8g8r8, ls_composite_over_x888_8_8888 ),
++#endif
++
++#if 1
++//over_8888_0565 significant perf improvement, slight better L1, L2, 30% better RT
++ PIXMAN_STD_FAST_PATH (OVER, a8r8g8b8, null, r5g6b5, ls_composite_over_8888_0565 ),
++ PIXMAN_STD_FAST_PATH (OVER, a8b8g8r8, null, b5g6r5, ls_composite_over_8888_0565 ),
++ PIXMAN_STD_FAST_PATH (OVER, pixbuf, pixbuf, r5g6b5, ls_composite_over_pixbuf_0565 ),
++ PIXMAN_STD_FAST_PATH (OVER, rpixbuf, rpixbuf, b5g6r5, ls_composite_over_pixbuf_0565 ),
++
++//big improvement some closing 100%
++ PIXMAN_STD_FAST_PATH_CA (OVER, solid, a8b8g8r8, b5g6r5, ls_composite_over_n_8888_0565_ca ),
++ PIXMAN_STD_FAST_PATH_CA (OVER, solid, a8r8g8b8, r5g6b5, ls_composite_over_n_8888_0565_ca ),
++ PIXMAN_STD_FAST_PATH (OVER, solid, a8, r5g6b5, ls_composite_over_n_8_0565 ),
++ PIXMAN_STD_FAST_PATH (OVER, solid, a8, b5g6r5, ls_composite_over_n_8_0565 ),
++ PIXMAN_STD_FAST_PATH (OVER, solid, null, r5g6b5, ls_composite_over_n_0565 ),
++
++//ubalbe to bench with lowlevel bench, believe it is a gain in perf
++ PIXMAN_STD_FAST_PATH (OVER, x8r8g8b8, solid, a8r8g8b8, ls_composite_over_x888_n_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, x8r8g8b8, solid, x8r8g8b8, ls_composite_over_x888_n_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, x8b8g8r8, solid, a8b8g8r8, ls_composite_over_x888_n_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, x8b8g8r8, solid, x8b8g8r8, ls_composite_over_x888_n_8888 ),
++
++//performance regress 30% in L1,L2, but significant improvement in RT
++ PIXMAN_STD_FAST_PATH (OVER, a8b8g8r8, null, a8b8g8r8, ls_composite_over_8888_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, a8b8g8r8, null, x8b8g8r8, ls_composite_over_8888_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, a8r8g8b8, null, a8r8g8b8, ls_composite_over_8888_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, a8r8g8b8, null, x8r8g8b8, ls_composite_over_8888_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, pixbuf, pixbuf, a8r8g8b8, ls_composite_over_pixbuf_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, pixbuf, pixbuf, x8r8g8b8, ls_composite_over_pixbuf_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, rpixbuf, rpixbuf, a8b8g8r8, ls_composite_over_pixbuf_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, rpixbuf, rpixbuf, x8b8g8r8, ls_composite_over_pixbuf_8888 ),
++
++//same performance in L1,L2, but significant improvement in RT 30-40%
++ PIXMAN_STD_FAST_PATH (OVER, a8r8g8b8, solid, a8r8g8b8, ls_composite_over_8888_n_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, a8r8g8b8, solid, x8r8g8b8, ls_composite_over_8888_n_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, a8b8g8r8, solid, a8b8g8r8, ls_composite_over_8888_n_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, a8b8g8r8, solid, x8b8g8r8, ls_composite_over_8888_n_8888 ),
++
++//significant perf improvement 20%
++ PIXMAN_STD_FAST_PATH (OVER, solid, a8, a8r8g8b8, ls_composite_over_n_8_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, solid, a8, x8r8g8b8, ls_composite_over_n_8_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, solid, a8, a8b8g8r8, ls_composite_over_n_8_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, solid, a8, x8b8g8r8, ls_composite_over_n_8_8888 ),
++
++//3 times perf improvements
++ PIXMAN_STD_FAST_PATH_CA (OVER, solid, a8r8g8b8, a8r8g8b8, ls_composite_over_n_8888_8888_ca ),
++ PIXMAN_STD_FAST_PATH_CA (OVER, solid, a8r8g8b8, x8r8g8b8, ls_composite_over_n_8888_8888_ca ),
++ PIXMAN_STD_FAST_PATH_CA (OVER, solid, a8b8g8r8, a8b8g8r8, ls_composite_over_n_8888_8888_ca ),
++ PIXMAN_STD_FAST_PATH_CA (OVER, solid, a8b8g8r8, x8b8g8r8, ls_composite_over_n_8888_8888_ca ),
++
++//significant performance boost
++ PIXMAN_STD_FAST_PATH (OVER, solid, null, a8r8g8b8, ls_composite_over_n_8888 ),
++ PIXMAN_STD_FAST_PATH (OVER, solid, null, x8r8g8b8, ls_composite_over_n_8888 ),
++//simple add, expect better perf in generic code
++// PIXMAN_STD_FAST_PATH (ADD, a8r8g8b8, null, a8r8g8b8, ls_composite_add_8888_8888 ),
++// PIXMAN_STD_FAST_PATH (ADD, a8b8g8r8, null, a8b8g8r8, ls_composite_add_8888_8888 ),
++
++// FIXME: Copy memory are not better than geneic code
++#if 0
++ PIXMAN_STD_FAST_PATH (SRC, a8r8g8b8, null, a8r8g8b8, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (SRC, a8b8g8r8, null, a8b8g8r8, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (SRC, a8r8g8b8, null, x8r8g8b8, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (SRC, a8b8g8r8, null, x8b8g8r8, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (SRC, x8r8g8b8, null, x8r8g8b8, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (SRC, x8b8g8r8, null, x8b8g8r8, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (SRC, r5g6b5, null, r5g6b5, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (SRC, b5g6r5, null, b5g6r5, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (OVER, x8r8g8b8, null, x8r8g8b8, ls_composite_copy_area ),
++ PIXMAN_STD_FAST_PATH (OVER, x8b8g8r8, null, x8b8g8r8, ls_composite_copy_area ),
++#endif
++
++//significant improvement
++ PIXMAN_STD_FAST_PATH (SRC, solid, a8, a8r8g8b8, ls_composite_src_n_8_8888 ),
++ PIXMAN_STD_FAST_PATH (SRC, solid, a8, x8r8g8b8, ls_composite_src_n_8_8888 ),
++ PIXMAN_STD_FAST_PATH (SRC, solid, a8, a8b8g8r8, ls_composite_src_n_8_8888 ),
++ PIXMAN_STD_FAST_PATH (SRC, solid, a8, x8b8g8r8, ls_composite_src_n_8_8888 ),
++
++#endif
++
++//these are not yet implemented
++
++#if 0
++
++ PIXMAN_STD_FAST_PATH (ADD, a8, null, a8, ls_composite_add_8000_8000 ),
++ PIXMAN_STD_FAST_PATH (ADD, solid, a8, a8, ls_composite_add_n_8_8 ),
++ PIXMAN_STD_FAST_PATH (IN, a8, null, a8, ls_composite_in_8_8 ),
++ PIXMAN_STD_FAST_PATH (IN, solid, a8, a8, ls_composite_in_n_8_8 ),
++#endif
++
++
++ { PIXMAN_OP_NONE },
++};
++
++pixman_implementation_t *
++_pixman_implementation_create_ls (void)
++{
++ pixman_implementation_t *general = _pixman_implementation_create_fast_path ();
++ pixman_implementation_t *imp = _pixman_implementation_create (general, ls_fast_paths);
++
++//Turned on but unable to benchmark.
++#if 1
++ imp->combine_32[PIXMAN_OP_OVER] = ls_combine_over_u;
++ imp->combine_32[PIXMAN_OP_OVER_REVERSE] = ls_combine_over_reverse_u;
++ imp->combine_32[PIXMAN_OP_IN] = ls_combine_in_u;
++ imp->combine_32[PIXMAN_OP_IN_REVERSE] = ls_combine_in_reverse_u;
++ imp->combine_32[PIXMAN_OP_OUT] = ls_combine_out_u;
++ imp->combine_32[PIXMAN_OP_OUT_REVERSE] = ls_combine_out_reverse_u;
++ imp->combine_32[PIXMAN_OP_ATOP] = ls_combine_atop_u;
++ imp->combine_32[PIXMAN_OP_ATOP_REVERSE] = ls_combine_atop_reverse_u;
++ imp->combine_32[PIXMAN_OP_XOR] = ls_combine_xor_u;
++ imp->combine_32[PIXMAN_OP_ADD] = ls_combine_add_u;
++ imp->combine_32[PIXMAN_OP_SATURATE] = ls_combine_saturate_u;
++
++ imp->combine_32_ca[PIXMAN_OP_SRC] = ls_combine_src_ca;
++ imp->combine_32_ca[PIXMAN_OP_OVER] = ls_combine_over_ca;
++ imp->combine_32_ca[PIXMAN_OP_OVER_REVERSE] = ls_combine_over_reverse_ca;
++ imp->combine_32_ca[PIXMAN_OP_IN] = ls_combine_in_ca;
++ imp->combine_32_ca[PIXMAN_OP_IN_REVERSE] = ls_combine_in_reverse_ca;
++ imp->combine_32_ca[PIXMAN_OP_OUT] = ls_combine_out_ca;
++ imp->combine_32_ca[PIXMAN_OP_OUT_REVERSE] = ls_combine_out_reverse_ca;
++ imp->combine_32_ca[PIXMAN_OP_ATOP] = ls_combine_atop_ca;
++ imp->combine_32_ca[PIXMAN_OP_ATOP_REVERSE] = ls_combine_atop_reverse_ca;
++ imp->combine_32_ca[PIXMAN_OP_XOR] = ls_combine_xor_ca;
++ imp->combine_32_ca[PIXMAN_OP_ADD] = ls_combine_add_ca;
++#endif
++
++//FIXME blt and fill not shown better perf than geneic code
++#if 0
++ imp->blt = ls_blt;
++ imp->fill = ls_fill;
++#endif
++
++ return imp;
++}
++
+diff -urN pixman//pixman/pixman-private.h Pixman.Loongson//pixman/pixman-private.h
+--- pixman//pixman/pixman-private.h 2010-12-25 18:46:00.102841000 +0800
++++ Pixman.Loongson//pixman/pixman-private.h 2010-12-25 18:39:15.401808000 +0800
+@@ -493,6 +493,11 @@
+ pixman_implementation_t *
+ _pixman_implementation_create_fast_path (void);
+
++#ifdef USE_LS
++pixman_implementation_t *
++_pixman_implementation_create_ls (void);
++#endif
++
+ #ifdef USE_MMX
+ pixman_implementation_t *
+ _pixman_implementation_create_mmx (void);
+diff -urN pixman//pixman/primitive.h Pixman.Loongson//pixman/primitive.h
+--- pixman//pixman/primitive.h 1970-01-01 08:00:00.000000000 +0800
++++ Pixman.Loongson//pixman/primitive.h 2010-12-25 18:39:15.457084000 +0800
+@@ -0,0 +1,214 @@
++/*
++* MMX register usage protocal
++* return result: f8
++* tmp immediate f12
++* tmp register in primtive f14 f16 f18
++* tmp register in pixman f0,f4,f6,f10,f20,f22,
++* globals in function f24, f26, f28,f30
++* Exceptions for load and store:
++* load will specify dest FPR register
++* store will specify src FPR register
++* expand_alpha(_rev) implemented with GPR, dest FPR as the 2nd parameter
++*
++* Special alert: don't use return result $f8 as input, it might be overwritten
++*/
++
++
++/*primitive macros */
++
++#define clobber "$8","$9","$f0","$f2","$f8",\
++ "$f12","$f14","$f16","$f18","$f20",\
++ "$f22","$f24","$f26","$f28","$f30"
++
++#define DMTC1_IMM(regc1,imm) \
++ "dli $8, "#imm" \n\t" \
++ "dmtc1 $8, "#regc1" \n\t"
++
++#define MTC1_IMM(regc1,imm) \
++ "li $8, "#imm" \n\t" \
++ "dmtc1 $8, "#regc1" \n\t"
++
++
++#define save_to(reg1) "mov.d "#reg1", $f8 \n\t"
++#define zero(reg1) "xor "#reg1","#reg1","#reg1" \n\t"
++
++#define load32(sp,reg1) \
++ "ulw $8, "#sp" \n\t" \
++ "dmtc1 $8, "#reg1" \n\t"
++
++#define load32a(sp,reg1) \
++ "lw $8, "#sp" \n\t" \
++ "dmtc1 $8, "#reg1" \n\t"
++
++#define load32r(sp,reg1) \
++ "dmtc1 "#sp", "#reg1" \n\t"
++
++#define load64(sp,reg1) \
++ "uld $8, "#sp" \n\t" \
++ "dmtc1 $8, "#reg1" \n\t"
++
++#define load64a(sp,reg1) \
++ "ld $8, "#sp" \n\t" \
++ "dmtc1 $8, "#reg1" \n\t"
++
++
++#define store32(reg1,sp) \
++ "dmfc1 $8, "#reg1" \n\t" \
++ "usw $8, "#sp" \n\t"
++
++#define store32r(reg1,sp) \
++ "dmfc1 "#sp", "#reg1" \n\t"
++
++#define store32a(reg1,sp) \
++ "swc1 "#reg1", "#sp" \n\t"
++
++#define store64(reg1,sp) \
++ "dmfc1 $8, "#reg1" \n\t" \
++ "usd $8, "#sp" \n\t"
++
++#define store64a(reg1,sp) \
++ "sdc1 "#reg1", "#sp" \n\t"
++
++#define load8888(sp,reg1) \
++ load64(sp,reg1) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "punpcklbh "#reg1", "#reg1", $f12 \n\t"
++
++#define load8888r(sp,reg1) \
++ load32r(sp,reg1) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "punpcklbh "#reg1", "#reg1", $f12 \n\t"
++
++#define load8888a(sp,reg1) \
++ load64a(sp,reg1) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "punpcklbh "#reg1", "#reg1", $f12 \n\t"
++
++#define load8888ah(sp,reg1) \
++ load64a(sp,reg1) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "punpckhbh "#reg1", "#reg1", $f12 \n\t"
++
++#define store8888(reg1,sp) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "packushb "#reg1", "#reg1", $f12 \n\t" \
++ store64(reg1,sp)
++
++#define store8888r(reg1,sp) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "packushb "#reg1", "#reg1", $f12 \n\t" \
++ store32r(reg1,sp)
++
++#define store8888a(reg1,sp) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "packushb "#reg1", "#reg1", $f12 \n\t" \
++ store64a(reg1,sp)
++
++#define pack8888(reg1,reg2) \
++ "packushb $f8, "#reg1","#reg2" \n\t"
++
++#define unpack8888(reg1,reg2) \
++ "punpcklbh $f8, "#reg1","#reg2" \n\t"
++
++
++#define negate(sreg,dreg) \
++ DMTC1_IMM($f12, 0x00ff00ff00ff00ff)\
++ "xor "#dreg", "#sreg", $f12 \n\t"
++
++#define pix_add(reg1,reg2) \
++ "paddusb $f8, "#reg1", "#reg2" \n\t"
++
++#define pix_multiply(reg1,reg2) \
++ "pmullh $f14, "#reg1", "#reg2" \n\t " \
++ DMTC1_IMM($f12, 0x0080008000800080) \
++ "paddush $f14, $f14, $f12 \n\t "\
++ MTC1_IMM($f12, 8) \
++ "psrlh $f16, $f14, $f12 \n\t" \
++ "paddush $f14, $f14, $f16 \n\t" \
++ "psrlh $f8, $f14, $f12 \n\t"
++
++#define pix_add_mul(reg1,reg2,reg3,reg4) \
++ pix_multiply(reg1,reg2) \
++ "mov.d $f18, $f8 \n\t" \
++ pix_multiply(reg3,reg4) \
++ pix_add($f18,$f8)
++
++#define expand_alpha(sreg,dreg) \
++ "dmfc1 $8, "#sreg" \n\t" \
++ "dsrl32 $8, $8, 16 \n\t" \
++ "dsll $9, $8, 16 \n\t" \
++ "or $8, $8, $9 \n\t" \
++ "dsll32 $9, $8, 0 \n\t" \
++ "or $8, $8, $9 \n\t" \
++ "dmtc1 $8, "#dreg" \n\t"
++
++#define expand_alpha_rev(sreg,dreg)\
++ "dmfc1 $8, "#sreg" \n\t" \
++ "dsll32 $8, $8, 16 \n\t" \
++ "dsrl32 $8, $8, 16 \n\t" \
++ "dsll $9, $8, 16 \n\t" \
++ "or $8, $8, $9 \n\t" \
++ "dsll32 $9, $8, 0 \n\t" \
++ "or $8, $8, $9 \n\t" \
++ "dmtc1 $8, "#dreg" \n\t"
++
++#define expand8888(reg1,pos) expand8888_##pos(reg1)
++
++#define expand8888_0(reg1) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "punpcklbh $f8, "#reg1", $f12 \n\t"
++
++#define expand8888_1(reg1) \
++ "xor $f12, $f12, $f12 \n\t" \
++ "punpckhbh $f8, "#reg1", $f12 \n\t"
++
++#define expandx888(reg1,pos) \
++ expand8888(reg1,pos) \
++ DMTC1_IMM($f12, 0x00ff000000000000) \
++ "or $f8, $f8, $f12 \n\t"
++
++#define invert_colors(reg1) \
++ DMTC1_IMM($f12, 0xffff0000ffff0000) \
++ "and $f14, "#reg1", $f12 \n\t" \
++ DMTC1_IMM($f12, 0x000000000000ffff) \
++ "and $f16, "#reg1", $f12 \n\t" \
++ DMTC1_IMM($f12, 0x0000ffff00000000) \
++ "and $f18, "#reg1", $f12 \n\t" \
++ MTC1_IMM($f12, 32) \
++ "dsll $f16, $f16, $f12 \n\t" \
++ "dsrl $f18, $f18, $f12 \n\t" \
++ "or $f14, $f14, $f16 \n\t" \
++ "or $f8, $f14, $f18 \n\t"
++
++#define over(reg1,reg2,reg3) \
++ negate(reg2,$f8) \
++ pix_multiply(reg3, $f8)\
++ pix_add(reg1, $f8)
++
++
++#define over_rev_non_pre(reg1,reg2) \
++ expand_alpha(reg1,$f0) \
++ DMTC1_IMM($f12,0x00ff000000000000) \
++ "or $f2, $f0, $f12 \n\t" \
++ invert_colors(reg1) \
++ pix_multiply($f8,$f2) \
++ save_to($f2) \
++ over($f2, $f0, reg2)
++
++#define in(reg1,reg2) pix_multiply(reg1,reg2)
++
++#define in_over_full_src_alpha(reg1,reg2,reg3) \
++ DMTC1_IMM($f12,0x00ff000000000000) \
++ "or $f0, "#reg1", $f12 \n\t" \
++ in($f0,reg2) \
++ save_to($f0) \
++ over($f0,reg2,reg3)
++
++#define in_over(reg1,reg2,reg3,reg4) \
++ in(reg1,reg3) \
++ "mov.d $f0, $f8 \n\t" \
++ pix_multiply(reg2,reg3) \
++ "mov.d $f2, $f8 \n\t" \
++ over($f0,$f2,reg4)
++
++
diff --git a/extra/plotutils/PKGBUILD b/extra/plotutils/PKGBUILD
index cd8d4f347..099938aa2 100644
--- a/extra/plotutils/PKGBUILD
+++ b/extra/plotutils/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=plotutils
pkgver=2.6
pkgrel=1
-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 c4ec4e892..82b7e2b79 100644
--- a/extra/pm-utils/PKGBUILD
+++ b/extra/pm-utils/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pm-utils
pkgver=1.4.1
pkgrel=3
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/pmount/PKGBUILD b/extra/pmount/PKGBUILD
index bbdb957e7..908d7acdd 100644
--- a/extra/pmount/PKGBUILD
+++ b/extra/pmount/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pmount
pkgver=0.9.23
pkgrel=2
pkgdesc="mount removable devices as normal user"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://pmount.alioth.debian.org/"
backup=('etc/pmount.allow')
diff --git a/extra/polkit-gnome/PKGBUILD b/extra/polkit-gnome/PKGBUILD
index 2648f5294..d8e5b3782 100644
--- a/extra/polkit-gnome/PKGBUILD
+++ b/extra/polkit-gnome/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=polkit-gnome
pkgver=0.101
pkgrel=3
pkgdesc="PolicyKit integration for the GNOME desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
license=('LGPL')
depends=('polkit>=0.101' 'gtk3')
diff --git a/extra/polkit-kde/PKGBUILD b/extra/polkit-kde/PKGBUILD
index ca94695e5..f81499717 100644
--- a/extra/polkit-kde/PKGBUILD
+++ b/extra/polkit-kde/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=polkit-kde
pkgver=0.99.0
pkgrel=1
pkgdesc='Daemon providing a polkit authentication UI for KDE'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL')
depends=('kdelibs')
diff --git a/extra/polkit-qt/PKGBUILD b/extra/polkit-qt/PKGBUILD
index b71d737d8..4701bf6e6 100644
--- a/extra/polkit-qt/PKGBUILD
+++ b/extra/polkit-qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=polkit-qt
pkgver=0.99.0
pkgrel=1
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='http://www.kde.org'
license=('LGPL')
depends=('polkit' 'qt')
diff --git a/extra/polkit/PKGBUILD b/extra/polkit/PKGBUILD
index 41cf78211..fadb173be 100644
--- a/extra/polkit/PKGBUILD
+++ b/extra/polkit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=polkit
pkgver=0.101
pkgrel=2
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/PolicyKit"
depends=('glib2' 'pam' 'expat')
diff --git a/extra/poppler/PKGBUILD b/extra/poppler/PKGBUILD
index 758a6b582..43f73a0d7 100644
--- a/extra/poppler/PKGBUILD
+++ b/extra/poppler/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=poppler
pkgname=('poppler' 'poppler-glib' 'poppler-qt')
pkgver=0.16.7
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
makedepends=('libjpeg' 'gcc-libs' 'cairo' 'libxml2' 'fontconfig' 'openjpeg' 'gtk2' 'qt' 'pkgconfig' 'lcms' 'gobject-introspection')
options=('!libtool')
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD
index e48ce2510..c94fdc984 100644
--- a/extra/postfix/PKGBUILD
+++ b/extra/postfix/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.8.4
pkgrel=1
pkgdesc='Secure, fast, easy to administer drop in replacement for Sendmail (MTA)'
url='http://www.postfix.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('pcre' 'libsasl' 'libmysqlclient' 'postgresql-libs' 'sqlite3' 'libldap' 'db')
backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
diff --git a/extra/potrace/PKGBUILD b/extra/potrace/PKGBUILD
index 0debf3aa1..749e2cd23 100644
--- a/extra/potrace/PKGBUILD
+++ b/extra/potrace/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=potrace
pkgver=1.9
pkgrel=2
pkgdesc='Utility for tracing a bitmap. Input: PBM, PGM, PPM, or BMP. Output: EPS, PostScript, PDF, SVG, Xfig, Gimppath, or PGM.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://potrace.sourceforge.net/'
license=('GPL')
depends=('zlib')
diff --git a/extra/procmail/PKGBUILD b/extra/procmail/PKGBUILD
index 4fe479094..1a43183d9 100644
--- a/extra/procmail/PKGBUILD
+++ b/extra/procmail/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=procmail
pkgver=3.22
pkgrel=4
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/proftpd/PKGBUILD b/extra/proftpd/PKGBUILD
index 9acc9206a..3726c0db4 100644
--- a/extra/proftpd/PKGBUILD
+++ b/extra/proftpd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=proftpd
pkgver=1.3.3e
pkgrel=2
pkgdesc="A high-performance, scalable FTP server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.proftpd.org"
license=('GPL')
depends=('glibc' 'pam' 'ncurses' 'libcap' 'libldap' 'libmysqlclient'
diff --git a/extra/progsreiserfs/PKGBUILD b/extra/progsreiserfs/PKGBUILD
index 38ad5c1fc..0824c14f6 100644
--- a/extra/progsreiserfs/PKGBUILD
+++ b/extra/progsreiserfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=progsreiserfs
pkgver=0.3.0.5
pkgrel=6
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/psi/PKGBUILD b/extra/psi/PKGBUILD
index cf3d17109..53700078a 100644
--- a/extra/psi/PKGBUILD
+++ b/extra/psi/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=4
pkgdesc='Instant messaging application designed for the Jabber IM'
url='http://psi-im.org/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('qca-ossl' 'qca-gnupg' 'enchant' 'libxss' 'xdg-utils')
install='psi.install'
source=("http://downloads.sourceforge.net/psi/psi-${pkgver}.tar.bz2"
diff --git a/extra/psiconv/PKGBUILD b/extra/psiconv/PKGBUILD
index 0fb78ec8b..e2103ef41 100644
--- a/extra/psiconv/PKGBUILD
+++ b/extra/psiconv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=psiconv
pkgver=0.9.8
pkgrel=7
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 8a075012c..7d4f3238c 100644
--- a/extra/pstoedit/PKGBUILD
+++ b/extra/pstoedit/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pstoedit
pkgver=3.50
pkgrel=4
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/pth/PKGBUILD b/extra/pth/PKGBUILD
index 3075d939b..8176b80e9 100644
--- a/extra/pth/PKGBUILD
+++ b/extra/pth/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pth
pkgver=2.0.7
pkgrel=3
pkgdesc="The GNU Portable Threads."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/pth/"
license=('LGPL')
depends=('glibc')
diff --git a/extra/ptlib/PKGBUILD b/extra/ptlib/PKGBUILD
index 51740fd32..97a79caac 100644
--- a/extra/ptlib/PKGBUILD
+++ b/extra/ptlib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ptlib
pkgver=2.10.1
pkgrel=1
pkgdesc="Portable Windows Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.ekiga.org/"
license=('GPL')
depends=('gcc-libs' 'openssl' 'alsa-lib' 'sdl' 'expat' 'libpulse' 'v4l-utils')
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD
index d62fd9ca7..73cc1d3a2 100644
--- a/extra/pulseaudio/PKGBUILD
+++ b/extra/pulseaudio/PKGBUILD
@@ -8,7 +8,7 @@ pkgbase=pulseaudio
pkgname=(pulseaudio libpulse)
pkgver=0.9.23
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://pulseaudio.org/"
license=(GPL LGPL)
makedepends=(libasyncns libcap attr libxtst libsm libsndfile libtool rtkit
diff --git a/extra/purple-plugin-pack/PKGBUILD b/extra/purple-plugin-pack/PKGBUILD
index 6d2e61e9c..7a46571da 100644
--- a/extra/purple-plugin-pack/PKGBUILD
+++ b/extra/purple-plugin-pack/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=purple-plugin-pack
pkgver=2.6.3
pkgrel=1
pkgdesc="Plugin pack for Pidgin"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://plugins.guifications.org/trac/wiki/PluginPack"
license=('GPL')
depends=('pidgin')
diff --git a/extra/putty/PKGBUILD b/extra/putty/PKGBUILD
index c4b3adcc9..addb040dc 100644
--- a/extra/putty/PKGBUILD
+++ b/extra/putty/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=putty
pkgver=0.61
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')
diff --git a/extra/pwgen/PKGBUILD b/extra/pwgen/PKGBUILD
index 0f9327fe5..bc7dc14c4 100644
--- a/extra/pwgen/PKGBUILD
+++ b/extra/pwgen/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pwgen
pkgver=2.06
pkgrel=2
pkgdesc="Pwgen is a small password generator which creates passwords which can be easily memorized by a human"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://sourceforge.net/projects/pwgen/"
license=('GPL')
depends=('glibc')
diff --git a/extra/pyalpm/PKGBUILD b/extra/pyalpm/PKGBUILD
index 40488fac2..4e4a0d194 100644
--- a/extra/pyalpm/PKGBUILD
+++ b/extra/pyalpm/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=pyalpm
pkgver=0.4.3
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<3.6')
diff --git a/extra/pycrypto/PKGBUILD b/extra/pycrypto/PKGBUILD
index fba0c5d51..1f15d7b14 100644
--- a/extra/pycrypto/PKGBUILD
+++ b/extra/pycrypto/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pycrypto
pkgver=2.3
pkgrel=1
pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('python2')
url="http://www.dlitz.net/software/pycrypto/"
license=(custom)
diff --git a/extra/pycups/PKGBUILD b/extra/pycups/PKGBUILD
index 4936bab3d..9c30e7266 100644
--- a/extra/pycups/PKGBUILD
+++ b/extra/pycups/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.9.58
pkgrel=1
pkgdesc="Python CUPS Bindings"
url="http://cyberelk.net/tim/software/pycups/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libcups' 'python2')
source=("http://cyberelk.net/tim/data/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
diff --git a/extra/pygobject/PKGBUILD b/extra/pygobject/PKGBUILD
index 388e9fb69..08b7bd67c 100644
--- a/extra/pygobject/PKGBUILD
+++ b/extra/pygobject/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=pygobject
pkgname=(pygobject py3gobject pygobject-devel)
pkgver=2.28.6
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('glib2' 'gobject-introspection')
makedepends=(python python2 python-cairo python2-cairo)
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/pygtk/PKGBUILD b/extra/pygtk/PKGBUILD
index bc7c56efa..92a5d3b2b 100644
--- a/extra/pygtk/PKGBUILD
+++ b/extra/pygtk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pygtk
pkgver=2.24.0
pkgrel=2
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' 'pygobject-devel')
diff --git a/extra/pygtksourceview2/PKGBUILD b/extra/pygtksourceview2/PKGBUILD
index b5e11dcdf..32955891d 100644
--- a/extra/pygtksourceview2/PKGBUILD
+++ b/extra/pygtksourceview2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pygtksourceview2
pkgver=2.10.1
pkgrel=3
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' 'pkgconfig')
diff --git a/extra/pymad/PKGBUILD b/extra/pymad/PKGBUILD
index 7b552f30e..768180463 100644
--- a/extra/pymad/PKGBUILD
+++ b/extra/pymad/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pymad
pkgver=0.6
pkgrel=3
pkgdesc="Python interface to libmad."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.spacepants.org/src/pymad/"
license=('LGPL')
depends=('libmad' 'python2')
diff --git a/extra/pyopenssl/PKGBUILD b/extra/pyopenssl/PKGBUILD
index f8b192ac5..f59e0e8d5 100644
--- a/extra/pyopenssl/PKGBUILD
+++ b/extra/pyopenssl/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=pyopenssl
pkgname=('pyopenssl' 'python2-pyopenssl')
pkgver=0.12
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/pyopenssl/"
license=('LGPL2.1')
makedepends=('python' 'python2' 'openssl')
diff --git a/extra/pyorbit/PKGBUILD b/extra/pyorbit/PKGBUILD
index 930dd0dda..ab194f48b 100644
--- a/extra/pyorbit/PKGBUILD
+++ b/extra/pyorbit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pyorbit
pkgver=2.24.0
pkgrel=3
pkgdesc="Python bindings for ORBit2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://www.pygtk.org"
depends=('python2' 'orbit2>=2.14.16')
diff --git a/extra/pypgsql/PKGBUILD b/extra/pypgsql/PKGBUILD
index ef62e81c9..f716a4ca3 100644
--- a/extra/pypgsql/PKGBUILD
+++ b/extra/pypgsql/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=pypgsql
pkgver=2.5.1
pkgrel=7
pkgdesc="A python client library for postgresql"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://pypgsql.sourceforge.net/"
depends=('python-egenix-mx-base>=2.0.6-3' 'postgresql-libs>=8.4')
diff --git a/extra/pyqt/PKGBUILD b/extra/pyqt/PKGBUILD
index cedae286a..5f2d31f30 100644
--- a/extra/pyqt/PKGBUILD
+++ b/extra/pyqt/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=pyqt
pkgname=('pyqt' 'python2-pyqt')
pkgver=4.8.4
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
makedepends=('qt' 'python-sip' 'dbus-python' 'python2-sip' 'phonon'
diff --git a/extra/python-cairo/PKGBUILD b/extra/python-cairo/PKGBUILD
index 458bfca4d..116763cc8 100644
--- a/extra/python-cairo/PKGBUILD
+++ b/extra/python-cairo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python-cairo
pkgver=1.10.0
pkgrel=1
pkgdesc="Python bindings for the cairo graphics library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL3')
depends=('python' 'cairo')
makedepends=('pkg-config')
diff --git a/extra/python-geoip/PKGBUILD b/extra/python-geoip/PKGBUILD
index 0e535d169..764eee3e3 100644
--- a/extra/python-geoip/PKGBUILD
+++ b/extra/python-geoip/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=python-geoip
pkgver=1.2.4
pkgrel=2
pkgdesc="Python bindings for the GeoIP IP-to-country resolver library."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.maxmind.com/app/python"
license=('LGPL')
depends=('python2' 'geoip')
diff --git a/extra/python-imaging/PKGBUILD b/extra/python-imaging/PKGBUILD
index a48ff7309..494b08521 100644
--- a/extra/python-imaging/PKGBUILD
+++ b/extra/python-imaging/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python-imaging
pkgver=1.1.7
pkgrel=3
pkgdesc="PIL. Provides image processing capabilities for python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.pythonware.com/products/pil/index.htm"
license=('custom:"pil"')
depends=('python2' 'libjpeg' 'freetype2')
diff --git a/extra/python-iwscan/PKGBUILD b/extra/python-iwscan/PKGBUILD
index 83019f82e..6a4f0c260 100644
--- a/extra/python-iwscan/PKGBUILD
+++ b/extra/python-iwscan/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=python-iwscan
pkgver=20090609
pkgrel=2
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 76d995f9c..dc1cff385 100644
--- a/extra/python-lxml/PKGBUILD
+++ b/extra/python-lxml/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=python-lxml
pkgver=2.3
pkgrel=1
pkgdesc="Python binding for the libxml2 and libxslt libraries"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD' 'GPL' 'custom')
url="http://codespeak.net/lxml"
depends=('python2' 'libxslt')
diff --git a/extra/python-m2crypto/PKGBUILD b/extra/python-m2crypto/PKGBUILD
index 4e8a1aafb..a4da31bf5 100644
--- a/extra/python-m2crypto/PKGBUILD
+++ b/extra/python-m2crypto/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=python-m2crypto
pkgver=0.20.2
pkgrel=3
pkgdesc="A crypto and SSL toolkit for Python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto"
license=('BSD')
depends=('python2' 'openssl')
diff --git a/extra/python-markupsafe/PKGBUILD b/extra/python-markupsafe/PKGBUILD
index 4fba8e363..a71fc67fb 100644
--- a/extra/python-markupsafe/PKGBUILD
+++ b/extra/python-markupsafe/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python-markupsafe
pkgver=0.12
pkgrel=0
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')
depends=('python2')
diff --git a/extra/python-notify/PKGBUILD b/extra/python-notify/PKGBUILD
index efb98fd88..87f2ed93c 100644
--- a/extra/python-notify/PKGBUILD
+++ b/extra/python-notify/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=python-notify
pkgver=0.1.1
pkgrel=10
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 699137cf6..7db9530c0 100755
--- a/extra/python-numpy/PKGBUILD
+++ b/extra/python-numpy/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('python2-numpy' 'python-numpy')
pkgver=1.6.0
pkgrel=1
pkgdesc="Scientific tools for Python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://numpy.scipy.org/"
makedepends=('lapack' 'python' 'python2' 'python-distribute' 'python2-distribute' 'gcc-fortran' 'python-nose')
diff --git a/extra/python-pygame/PKGBUILD b/extra/python-pygame/PKGBUILD
index a3447b7ce..2843920bc 100644
--- a/extra/python-pygame/PKGBUILD
+++ b/extra/python-pygame/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=python-pygame
pkgver=1.9.1
pkgrel=3
pkgdesc="Python game library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.pygame.org/"
license=('LGPL')
depends=('python2' 'sdl_mixer' 'libvorbis' 'sdl_ttf' 'sdl_image' 'smpeg')
diff --git a/extra/python-pyspi/PKGBUILD b/extra/python-pyspi/PKGBUILD
index ef5c18be6..85274a843 100644
--- a/extra/python-pyspi/PKGBUILD
+++ b/extra/python-pyspi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=python-pyspi
pkgver=0.6.1
pkgrel=4
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>=1.7.12')
diff --git a/extra/python-pysqlite/PKGBUILD b/extra/python-pysqlite/PKGBUILD
index 54265b30d..ab00b1e2d 100644
--- a/extra/python-pysqlite/PKGBUILD
+++ b/extra/python-pysqlite/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.6.0
pkgrel=2
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' 'sqlite3')
replaces=('pysqlite2')
diff --git a/extra/python-telepathy/PKGBUILD b/extra/python-telepathy/PKGBUILD
index 13fde3c16..828b9ed7f 100644
--- a/extra/python-telepathy/PKGBUILD
+++ b/extra/python-telepathy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=python-telepathy
pkgver=0.15.19
pkgrel=1
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')
diff --git a/extra/python-urwid/PKGBUILD b/extra/python-urwid/PKGBUILD
index c91d5675d..2d15fdcf1 100644
--- a/extra/python-urwid/PKGBUILD
+++ b/extra/python-urwid/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.9.9.1
pkgrel=2
pkgdesc="Urwid is a curses-based user interface library."
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('python2')
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 0f3f9b84c..706ad8331 100644
--- a/extra/python-wpactrl/PKGBUILD
+++ b/extra/python-wpactrl/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=python-wpactrl
pkgver=20090609
pkgrel=2
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 c971f7337..948c3f4eb 100644
--- a/extra/python/PKGBUILD
+++ b/extra/python/PKGBUILD
@@ -8,11 +8,13 @@ pkgver=3.2.1
pkgrel=1
_pybasever=3.2
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' 'sqlite3' 'valgrind')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('tk' 'sqlite3')
optdepends=('tk: for tkinter' 'sqlite3')
provides=('python3')
replaces=('python3')
@@ -32,6 +34,18 @@ build() {
rm -r Modules/zlib
rm -r Modules/_ctypes/{darwin,libffi}*
+
+ if [ "$CARCH" = "mips64el" ]; then
+ ./configure --prefix=/usr \
+ --enable-shared \
+ --with-threads \
+ --with-computed-gotos \
+ --enable-ipv6 \
+ --without-valgrind \
+ --with-wide-unicode \
+ --with-system-expat \
+ --with-system-ffi
+ else
./configure --prefix=/usr \
--enable-shared \
--with-threads \
@@ -41,6 +55,7 @@ build() {
--with-wide-unicode \
--with-system-expat \
--with-system-ffi
+ fi
make
}
diff --git a/extra/python2-cairo/PKGBUILD b/extra/python2-cairo/PKGBUILD
index 0f2fb1462..5629199d2 100644
--- a/extra/python2-cairo/PKGBUILD
+++ b/extra/python2-cairo/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=python2-cairo
pkgver=1.10.0
pkgrel=1
pkgdesc="Python2 bindings for the cairo graphics library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'MPL')
depends=('python2' 'cairo')
options=('!libtool')
diff --git a/extra/python2/PKGBUILD b/extra/python2/PKGBUILD
index e0c363027..9ac060591 100644
--- a/extra/python2/PKGBUILD
+++ b/extra/python2/PKGBUILD
@@ -6,9 +6,10 @@
pkgname=python2
pkgver=2.7.2
pkgrel=2
+pkgrel=1 # holdver
_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' 'sqlite3' 'libffi')
diff --git a/extra/pywebkitgtk/PKGBUILD b/extra/pywebkitgtk/PKGBUILD
index df78ea739..7aa9a5f2e 100644
--- a/extra/pywebkitgtk/PKGBUILD
+++ b/extra/pywebkitgtk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pywebkitgtk
pkgver=1.1.8
pkgrel=1
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=('libwebkit' 'pygtk')
diff --git a/extra/pyxml/PKGBUILD b/extra/pyxml/PKGBUILD
index eea70cc62..2474ca9c4 100644
--- a/extra/pyxml/PKGBUILD
+++ b/extra/pyxml/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pyxml
pkgver=0.8.4
pkgrel=8
pkgdesc="Python XML parsing library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/pyxml/"
license=('custom')
depends=('python2')
diff --git a/extra/qalculate-gtk/PKGBUILD b/extra/qalculate-gtk/PKGBUILD
index 9eb48dcaf..56092e7b3 100644
--- a/extra/qalculate-gtk/PKGBUILD
+++ b/extra/qalculate-gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qalculate-gtk
pkgver=0.9.7
pkgrel=2
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/qalculate-kde/PKGBUILD b/extra/qalculate-kde/PKGBUILD
index 1b8a372a1..011fc36d0 100644
--- a/extra/qalculate-kde/PKGBUILD
+++ b/extra/qalculate-kde/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qalculate-kde
pkgver=0.9.7
pkgrel=2
pkgdesc="KDE frontend for libqalculate"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libqalculate' 'kdelibs3' 'cln')
diff --git a/extra/qca-gnupg/PKGBUILD b/extra/qca-gnupg/PKGBUILD
index 376cf31df..cbe885624 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=2
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 700e8a634..91fb1bbf4 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=3
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 41b8aeba9..2cf9184ce 100644
--- a/extra/qca/PKGBUILD
+++ b/extra/qca/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qca
pkgver=2.0.3
pkgrel=1
pkgdesc="Qt Cryptographic Architecture"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://delta.affinix.com/qca/"
license=('LGPL')
depends=('qt' 'ca-certificates')
diff --git a/extra/qemu-kvm/PKGBUILD b/extra/qemu-kvm/PKGBUILD
index 04b21679e..2f16810e5 100644
--- a/extra/qemu-kvm/PKGBUILD
+++ b/extra/qemu-kvm/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=qemu-kvm
pkgver=0.14.1
pkgrel=2
pkgdesc="Latest KVM QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2' 'LGPL2.1')
url="http://www.linux-kvm.org"
depends=('libjpeg' 'libpng' 'libsasl' 'curl' 'sdl' 'alsa-lib' 'esound' 'gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng')
diff --git a/extra/qemu/PKGBUILD b/extra/qemu/PKGBUILD
index c1ed81cf3..f6b1913ea 100644
--- a/extra/qemu/PKGBUILD
+++ b/extra/qemu/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=qemu
pkgver=0.14.1
pkgrel=1
pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'LGPL2.1')
url="http://wiki.qemu.org/Index.html"
makedepends=('texi2html' 'perl')
diff --git a/extra/qimageblitz/PKGBUILD b/extra/qimageblitz/PKGBUILD
index a6717e077..04ad21b8c 100644
--- a/extra/qimageblitz/PKGBUILD
+++ b/extra/qimageblitz/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qimageblitz
pkgver=0.0.6
pkgrel=1
pkgdesc="An interm image effect library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/qimageblitz"
license=('GPL2')
depends=('qt')
@@ -19,6 +19,7 @@ build() {
cd ${srcdir}
mkdir build
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
diff --git a/extra/qiv/PKGBUILD b/extra/qiv/PKGBUILD
index 3a63edc93..affe7369a 100644
--- a/extra/qiv/PKGBUILD
+++ b/extra/qiv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qiv
pkgver=2.2.3
pkgrel=2
pkgdesc="Quick Image Viewer (qiv) is a very small and fast GDK/Imlib image viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('file' 'gtk2' 'imlib2')
makedepends=('pkgconfig')
diff --git a/extra/qjackctl/PKGBUILD b/extra/qjackctl/PKGBUILD
index 1c28b8ae8..d44e3bd72 100644
--- a/extra/qjackctl/PKGBUILD
+++ b/extra/qjackctl/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.3.8
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' 'qt')
options=('!makeflags')
diff --git a/extra/qjson/PKGBUILD b/extra/qjson/PKGBUILD
index c399bb632..619962e02 100644
--- a/extra/qjson/PKGBUILD
+++ b/extra/qjson/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qjson
pkgver=0.7.1
pkgrel=1
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=('qt')
diff --git a/extra/qrencode/PKGBUILD b/extra/qrencode/PKGBUILD
index 54915dcd0..5a816e0b9 100644
--- a/extra/qrencode/PKGBUILD
+++ b/extra/qrencode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qrencode
pkgver=3.1.1
pkgrel=2
pkgdesc="C library for encoding data in a QR Code symbol."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('libpng>=1.4.0')
makedepends=(sdl)
url="http://megaui.net/fukuchi/works/qrencode/index.en.html"
diff --git a/extra/qscintilla/PKGBUILD b/extra/qscintilla/PKGBUILD
index 466140ede..d8c966d4d 100644
--- a/extra/qscintilla/PKGBUILD
+++ b/extra/qscintilla/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('qscintilla' 'python-qscintilla' 'python2-qscintilla')
pkgver=2.5.1
pkgrel=2
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
makedepends=('python2-pyqt')
source=("http://riverbankcomputing.com/static/Downloads/QScintilla2/QScintilla-gpl-${pkgver}.tar.gz"
diff --git a/extra/qsynth/PKGBUILD b/extra/qsynth/PKGBUILD
index 56524dc94..72171d726 100644
--- a/extra/qsynth/PKGBUILD
+++ b/extra/qsynth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qsynth
pkgver=0.3.6
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' 'qt')
diff --git a/extra/qt-assistant-compat/PKGBUILD b/extra/qt-assistant-compat/PKGBUILD
index 49fa9f0f2..e19e19418 100644
--- a/extra/qt-assistant-compat/PKGBUILD
+++ b/extra/qt-assistant-compat/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.6.3
pkgrel=1
pkgdesk="compat version of Qt Assistant"
url="http://qt.nokia.com/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3' 'LGPL')
depends=('qt')
source=('ftp://ftp.qt.nokia.com/qt/source/qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz'
diff --git a/extra/qt/PKGBUILD b/extra/qt/PKGBUILD
index 44a2cff98..413b9c324 100644
--- a/extra/qt/PKGBUILD
+++ b/extra/qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=qt
pkgname=('qt' 'qt-private-headers')
pkgver=4.7.3
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://qt.nokia.com/'
license=('GPL3' 'LGPL')
makedepends=('libtiff' 'libpng' 'libmng' 'sqlite3' 'ca-certificates' 'glib2' 'dbus'
@@ -32,6 +32,12 @@ build() {
export PATH=${QT4DIR}/bin:${PATH}
export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
+# Disable precompiled headers for mips64el
+ [ "$CARCH" = "mips64el" ] && {
+ export CXXFLAGS="$CXXFLAGS -fpermissive"
+ extra="-no-pch"
+ }
+
# FS#24601
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
@@ -82,7 +88,7 @@ build() {
-gtkstyle \
-opengl \
-no-openvg \
- -glib
+ -glib $extra
make
}
diff --git a/extra/qt3/PKGBUILD b/extra/qt3/PKGBUILD
index c0e86f867..47ad18e13 100644
--- a/extra/qt3/PKGBUILD
+++ b/extra/qt3/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=qt3
pkgver=3.3.8
pkgrel=20
pkgdesc="The QT3 gui toolkit"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.trolltech.com/products/qt/index.html"
pkgfqn=qt-x11-free-${pkgver}
diff --git a/extra/qtcurve-gtk2/PKGBUILD b/extra/qtcurve-gtk2/PKGBUILD
index 61497abd3..c76550443 100644
--- a/extra/qtcurve-gtk2/PKGBUILD
+++ b/extra/qtcurve-gtk2/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=qtcurve-gtk2
pkgver=1.8.9
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
groups=('qtcurve')
license=('GPL')
pkgdesc='A configurable set of widget styles for KDE and Gtk'
diff --git a/extra/qtcurve-kde3/PKGBUILD b/extra/qtcurve-kde3/PKGBUILD
index 9aeadda41..a916c64ad 100644
--- a/extra/qtcurve-kde3/PKGBUILD
+++ b/extra/qtcurve-kde3/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=qtcurve-kde3
pkgver=1.8.5
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
groups=('qtcurve')
license=('GPL')
pkgdesc='A configurable set of widget styles for KDE and Gtk'
diff --git a/extra/qtcurve-kde4/PKGBUILD b/extra/qtcurve-kde4/PKGBUILD
index 05191b22b..9455f4bb7 100644
--- a/extra/qtcurve-kde4/PKGBUILD
+++ b/extra/qtcurve-kde4/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=qtcurve-kde4
pkgver=1.8.8
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
groups=('qtcurve')
license=('GPL')
pkgdesc='A configurable set of widget styles for KDE and Gtk'
diff --git a/extra/qtiplot/PKGBUILD b/extra/qtiplot/PKGBUILD
index be97b60dc..c8dc0758c 100644
--- a/extra/qtiplot/PKGBUILD
+++ b/extra/qtiplot/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=qtiplot
pkgver=0.9.8.6
pkgrel=1
-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-qt' 'boost-libs' 'shared-mime-info' 'mesa' 'liborigin2' 'qt-assistant-compat' 'tamu-anova')
diff --git a/extra/qtscriptgenerator/PKGBUILD b/extra/qtscriptgenerator/PKGBUILD
index 7e9773a58..07fb0bff8 100644
--- a/extra/qtscriptgenerator/PKGBUILD
+++ b/extra/qtscriptgenerator/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qtscriptgenerator
pkgver=0.1.0
pkgrel=4
pkgdesc="Script generator for qt"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://code.google.com/p/qtscriptgenerator/"
license=('GPL')
depends=('qt' 'phonon')
diff --git a/extra/quodlibet/PKGBUILD b/extra/quodlibet/PKGBUILD
index c230b9370..f49e53fac 100644
--- a/extra/quodlibet/PKGBUILD
+++ b/extra/quodlibet/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=quodlibet
pkgver=2.3.1
pkgrel=1
pkgdesc="An audio player written in pygtk"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://code.google.com/p/quodlibet/"
depends=('gstreamer0.10-python' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins'
diff --git a/extra/quota-tools/PKGBUILD b/extra/quota-tools/PKGBUILD
index 79bb209a4..b7b18e573 100644
--- a/extra/quota-tools/PKGBUILD
+++ b/extra/quota-tools/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=quota-tools
pkgver=4.00_pre1
pkgrel=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 913a21ba7..b3eccf6de 100644
--- a/extra/qwt/PKGBUILD
+++ b/extra/qwt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qwt
pkgver=6.0.0
pkgrel=1
pkgdesc="Qt Widgets for Technical Applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qwt.sourceforge.net/"
depends=('qt')
options=('!makeflags')
diff --git a/extra/qwtplot3d/PKGBUILD b/extra/qwtplot3d/PKGBUILD
index 8bd7c546b..8b1c1c067 100644
--- a/extra/qwtplot3d/PKGBUILD
+++ b/extra/qwtplot3d/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qwtplot3d
pkgver=0.2.7
pkgrel=3
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=('qt' 'qwt' 'mesa')
diff --git a/extra/r/PKGBUILD b/extra/r/PKGBUILD
index e6b7af9dc..0f8597943 100644
--- a/extra/r/PKGBUILD
+++ b/extra/r/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=r
pkgver=2.13.1
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 2dd085d65..f3388e186 100644
--- a/extra/racket/PKGBUILD
+++ b/extra/racket/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=racket
pkgver=5.1.2
pkgrel=1
pkgdesc="PLT Racket (a variant of Scheme) Environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://racket-lang.org/"
license=('LGPL')
depends=('gtk2' 'libffi' 'desktop-file-utils')
diff --git a/extra/raptor/PKGBUILD b/extra/raptor/PKGBUILD
index 2f73f333a..5953b4fe1 100644
--- a/extra/raptor/PKGBUILD
+++ b/extra/raptor/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=raptor
pkgver=2.0.4
pkgrel=1
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=('libxml2>=2.7.8' 'curl>=7.21.7' 'zlib>=1.2.5' 'libxslt>=1.1.26')
license=('LGPL')
diff --git a/extra/raptor1/PKGBUILD b/extra/raptor1/PKGBUILD
index c50886bde..c8cf6aa7b 100644
--- a/extra/raptor1/PKGBUILD
+++ b/extra/raptor1/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=raptor1
pkgver=1.4.21
pkgrel=3
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples - old V1 api for compatibility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://librdf.org/raptor"
depends=('libxml2' 'curl' 'zlib' 'libxslt')
license=('LGPL')
diff --git a/extra/rarian/PKGBUILD b/extra/rarian/PKGBUILD
index b83caff46..8ab6773b1 100644
--- a/extra/rarian/PKGBUILD
+++ b/extra/rarian/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=rarian
pkgver=0.8.1
pkgrel=1
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 63c0c31b3..ca84c03b5 100644
--- a/extra/rasqal/PKGBUILD
+++ b/extra/rasqal/PKGBUILD
@@ -9,7 +9,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>=2.0.3' 'mpfr')
options=('!libtool')
source=(http://download.librdf.org/source/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/ratpoison/PKGBUILD b/extra/ratpoison/PKGBUILD
index fcea6c2ec..2d42ee67e 100644
--- a/extra/ratpoison/PKGBUILD
+++ b/extra/ratpoison/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ratpoison
pkgver=1.4.5
pkgrel=4
pkgdesc="A simple keystroke-driven window manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxinerama' 'readline' 'bash' 'perl' 'libxtst' 'libxft' 'texinfo')
url="http://www.nongnu.org/ratpoison/"
diff --git a/extra/rdesktop/PKGBUILD b/extra/rdesktop/PKGBUILD
index 07f51ce8b..9356ec06c 100644
--- a/extra/rdesktop/PKGBUILD
+++ b/extra/rdesktop/PKGBUILD
@@ -9,7 +9,7 @@ depends=('libx11' 'openssl' 'libao' 'libsamplerate')
pkgdesc="An open source client for Windows Remote Desktop Services"
url="http://www.rdesktop.org/"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'rdesktop-send_physical_buttons.diff' 'rdesktop-libao.patch')
md5sums=('77fa93b21aa38837a85e81c00e757228'
diff --git a/extra/recode/PKGBUILD b/extra/recode/PKGBUILD
index f95e08fde..24e6e30be 100644
--- a/extra/recode/PKGBUILD
+++ b/extra/recode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=recode
pkgver=3.6
pkgrel=6
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' 'texinfo')
diff --git a/extra/redland/PKGBUILD b/extra/redland/PKGBUILD
index 85ea14d13..3155b0967 100644
--- a/extra/redland/PKGBUILD
+++ b/extra/redland/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.0.14
pkgrel=1
url="http://librdf.org/"
license=("GPL")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('rasqal>=0.9.26' 'raptor>=2.0.4' 'db>=5.2' 'postgresql-libs' 'libmysqlclient' 'unixodbc' 'sqlite3')
options=('!libtool')
source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz
diff --git a/extra/rhythmbox/PKGBUILD b/extra/rhythmbox/PKGBUILD
index a1644664b..6fe4b4ed5 100644
--- a/extra/rhythmbox/PKGBUILD
+++ b/extra/rhythmbox/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rhythmbox
pkgver=2.90.1.git20110610
pkgrel=2
pkgdesc="An iTunes-like music player/libary"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.rhythmbox.org"
depends=('libgpod' 'gvfs-afc' 'libgnome-media-profiles' 'totem-plparser' 'libsoup-gnome' 'gtk3' 'libmusicbrainz3' 'libmtp' 'libnotify'
diff --git a/extra/ristretto/PKGBUILD b/extra/ristretto/PKGBUILD
index 604cf20c1..f92748b78 100644
--- a/extra/ristretto/PKGBUILD
+++ b/extra/ristretto/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ristretto
pkgver=0.0.93
pkgrel=1
pkgdesc="Ristretto is a image viewer for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/applications/ristretto"
license=('GPL2')
depends=('libxfce4ui' 'libexif' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/rosegarden/PKGBUILD b/extra/rosegarden/PKGBUILD
index e3227ab9d..c41f9caee 100644
--- a/extra/rosegarden/PKGBUILD
+++ b/extra/rosegarden/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=rosegarden
pkgver=11.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/rox/PKGBUILD b/extra/rox/PKGBUILD
index 799ad8d43..96dd4393f 100644
--- a/extra/rox/PKGBUILD
+++ b/extra/rox/PKGBUILD
@@ -5,8 +5,8 @@
pkgname=rox
pkgver=2.10
pkgrel=2
-pkgdesc="A small and fast file manager which can optionally manage the desktop background and panels"
-arch=('i686' 'x86_64')
+pkgdesc="A small and fast file manager which can optionally manage the desktop background and panels."
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://roscidus.com/desktop/"
depends=('sh' 'libsm' 'libglade')
diff --git a/extra/rrdtool/PKGBUILD b/extra/rrdtool/PKGBUILD
index 2395df342..184bb230c 100644
--- a/extra/rrdtool/PKGBUILD
+++ b/extra/rrdtool/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=rrdtool
pkgver=1.4.5
pkgrel=3
pkgdesc="Data logging and graphing application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.rrdtool.org"
license=('GPL' 'custom')
depends=('libpng' 'libxml2' 'pango')
diff --git a/extra/rssh/PKGBUILD b/extra/rssh/PKGBUILD
index 131c0ed16..cda6c45e4 100644
--- a/extra/rssh/PKGBUILD
+++ b/extra/rssh/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=rssh
pkgver=2.3.3
pkgrel=2
pkgdesc='A restricted shell for use with OpenSSH, allowing only scp and/or sftp'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.pizzashack.org/rssh/'
depends=('openssh' 'glibc')
backup=('etc/rssh.conf')
diff --git a/extra/rsync/PKGBUILD b/extra/rsync/PKGBUILD
index f807c430a..a43d1440f 100644
--- a/extra/rsync/PKGBUILD
+++ b/extra/rsync/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=rsync
pkgver=3.0.8
pkgrel=2
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=('acl')
diff --git a/extra/rtkit/PKGBUILD b/extra/rtkit/PKGBUILD
index 553c69d38..a81c82fe7 100644
--- a/extra/rtkit/PKGBUILD
+++ b/extra/rtkit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rtkit
pkgver=0.10
pkgrel=1
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')
diff --git a/extra/rtmpdump/PKGBUILD b/extra/rtmpdump/PKGBUILD
index b1e933a21..98318e7d2 100644
--- a/extra/rtmpdump/PKGBUILD
+++ b/extra/rtmpdump/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=rtmpdump
pkgver=2.4
pkgrel=1
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 3566886e3..5326396dc 100644
--- a/extra/rubberband/PKGBUILD
+++ b/extra/rubberband/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rubberband
pkgver=1.5.0
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 0cf2bb88d..9ed0088fc 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -9,14 +9,14 @@ pkgname=('ruby' 'ruby-docs')
pkgver=1.9.2_p290
pkgrel=1
pkgdesc="An object-oriented language for quick and easy programming"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ruby-lang.org/en/"
license=('custom')
makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz')
-options=('!emptydirs' '!makeflags')
-source=(ftp://ftp.ruby-lang.org/pub/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver//_/-}.tar.bz2)
-md5sums=('096758c3e853b839dc980b183227b182')
-sha1sums=('8f25a74f50a10fdd9724e3c74ccd7bae596e198b')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('openssl' 'tk' 'libffi' 'doxygen')
+options=('!emptydirs')
+source=("ftp://ftp.ruby-lang.org/pub/${pkgbase}/1.9/${pkgbase}-${pkgver//_/-}.tar.bz2")
build() {
cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
@@ -43,3 +43,4 @@ package_ruby-docs() {
make DESTDIR="${pkgdir}" install-doc install-capi
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
+md5sums=('096758c3e853b839dc980b183227b182')
diff --git a/extra/rxvt-unicode/PKGBUILD b/extra/rxvt-unicode/PKGBUILD
index 789246858..919693667 100644
--- a/extra/rxvt-unicode/PKGBUILD
+++ b/extra/rxvt-unicode/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=rxvt-unicode
pkgver=9.12
pkgrel=1
pkgdesc="An unicode enabled rxvt-clone terminal emulator (urxvt)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://software.schmorp.de/pkg/rxvt-unicode.html"
license=('GPL')
depends=('gcc-libs' 'libxft' 'gdk-pixbuf2')
diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD
index 1ce37842f..6f3420887 100644
--- a/extra/samba/PKGBUILD
+++ b/extra/samba/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=3.5.11
# misconstrues as alpha, beta, etc. Bad samba!
_realver=3.5.11
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.samba.org"
license=('GPL3')
makedepends=('db' 'popt' 'libcups' 'acl' 'libldap' 'libcap' 'krb5' 'pam' 'fam' 'gnutls>=2.4.1' 'talloc' 'tdb')
diff --git a/extra/sane-frontends/PKGBUILD b/extra/sane-frontends/PKGBUILD
index 0389326dd..36a2b0721 100644
--- a/extra/sane-frontends/PKGBUILD
+++ b/extra/sane-frontends/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sane-frontends
pkgver=1.0.14
pkgrel=5
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 5fbfd67f3..03118b5a2 100644
--- a/extra/sane/PKGBUILD
+++ b/extra/sane/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.0.22
pkgrel=2
pkgdesc="Scanner Access Now Easy"
url="http://www.sane-project.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libtiff>=3.9.2-2' 'libgphoto2>=2.4.7-2' 'libjpeg>=8' 'libieee1284' 'libusb-compat' 'v4l-utils' 'avahi' 'bash')
makedepends=('texlive-latexextra')
@@ -25,12 +25,20 @@ build() {
patch -p1 -i "${srcdir}"/libv4l-0.8.3.patch
+ if [ ${CARCH} == 'mips64el' ]; then
+ export CFLAGS="${CFLAGS} -O1"
+ EXTRAOPTS="--without-snmp"
+ else
+ EXTRAOPTS=""
+ fi
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-docdir=/usr/share/doc/sane \
--enable-avahi \
- --disable-locking
+ --disable-locking \
+ $EXTRAOPTS
make
}
diff --git a/extra/sbcl/PKGBUILD b/extra/sbcl/PKGBUILD
index 8f961492e..6b53be48d 100644
--- a/extra/sbcl/PKGBUILD
+++ b/extra/sbcl/PKGBUILD
@@ -8,14 +8,18 @@ pkgname=sbcl
pkgver=1.0.50
pkgrel=1
pkgdesc="Steel Bank Common Lisp"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('glibc')
provides=('common-lisp' 'cl-asdf')
makedepends=('sbcl' 'texinfo')
-source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" "arch-fixes.lisp")
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('clisp' 'texinfo')
+source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2" "arch-fixes.lisp"
+ "mips-arch.h.diff")
md5sums=('74ce9b24516885d066ec4287cde52e8c'
- '7ac0c1936547f4278198b8bf7725204d')
+ '7ac0c1936547f4278198b8bf7725204d'
+ 'a456535d65d6c5b85b1b646f11455fce')
url="http://www.sbcl.org/"
install=sbcl.install
@@ -36,7 +40,13 @@ build() {
(disable :largefile)))
EOF
+ patch -Nup1 < "${srcdir}/mips-arch.h.diff"
+
+ if [ "$CARCH" = "mips64el" ]; then
+ sh make.sh clisp
+ else
sh make.sh sbcl
+ fi
mkdir -p ${startdir}/pkg/usr
pushd doc/manual
make info || return 1
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 345c96ce6..fb5bcfe88 100644
--- a/extra/schedtool/PKGBUILD
+++ b/extra/schedtool/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=schedtool
pkgver=1.3.0
pkgrel=1
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')
depends=('glibc')
diff --git a/extra/schroedinger/PKGBUILD b/extra/schroedinger/PKGBUILD
index 22fc3e9b2..856f3fec9 100644
--- a/extra/schroedinger/PKGBUILD
+++ b/extra/schroedinger/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=schroedinger
pkgver=1.0.10
pkgrel=1
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' 'MPL' 'MIT')
depends=('orc>=0.4.11')
diff --git a/extra/scim-anthy/PKGBUILD b/extra/scim-anthy/PKGBUILD
index ba47b28a5..f7d4f22d9 100644
--- a/extra/scim-anthy/PKGBUILD
+++ b/extra/scim-anthy/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.2.7
pkgrel=2
_filecode=37309
pkgdesc='Japanese input method module for SCIM'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://sourceforge.jp/projects/scim-imengine/'
license=('GPL')
depends=('scim' 'anthy')
diff --git a/extra/scim-chewing/PKGBUILD b/extra/scim-chewing/PKGBUILD
index d9e6451b5..395288704 100644
--- a/extra/scim-chewing/PKGBUILD
+++ b/extra/scim-chewing/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=scim-chewing
pkgver=0.3.4
pkgrel=1
pkgdesc='Traditional Chinese input method module for SCIM'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://chewing.csie.net/'
license=('GPL')
depends=('scim' 'libchewing')
diff --git a/extra/scim-hangul/PKGBUILD b/extra/scim-hangul/PKGBUILD
index ee612c62e..bb57dfe8c 100644
--- a/extra/scim-hangul/PKGBUILD
+++ b/extra/scim-hangul/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=scim-hangul
pkgver=0.3.2
pkgrel=3
pkgdesc='Korean input method module for SCIM'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.scim-im.org/'
license=('GPL')
depends=('libhangul' 'scim')
diff --git a/extra/scim-m17n/PKGBUILD b/extra/scim-m17n/PKGBUILD
index 4fcb26155..9d643ef8b 100644
--- a/extra/scim-m17n/PKGBUILD
+++ b/extra/scim-m17n/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=scim-m17n
pkgver=0.2.3
pkgrel=3
pkgdesc='Multilingual input method module for SCIM'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.scim-im.org/'
license=('GPL')
depends=('scim' 'm17n-lib')
diff --git a/extra/scim-pinyin/PKGBUILD b/extra/scim-pinyin/PKGBUILD
index 3f8e1e149..1a8220bbd 100644
--- a/extra/scim-pinyin/PKGBUILD
+++ b/extra/scim-pinyin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=scim-pinyin
pkgver=0.5.91
pkgrel=5
pkgdesc="Chinese 拼音 (PinYin) input for SCIM"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.scim-im.org/"
license=GPL
depends=('scim>=1.4.7')
diff --git a/extra/scim-tables/PKGBUILD b/extra/scim-tables/PKGBUILD
index fec4728e9..e60ca977d 100644
--- a/extra/scim-tables/PKGBUILD
+++ b/extra/scim-tables/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=scim-tables
pkgver=0.5.9
pkgrel=2
pkgdesc='Generic table input method module for SCIM'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.scim-im.org/'
license=('GPL')
depends=('scim')
diff --git a/extra/scim-uim/PKGBUILD b/extra/scim-uim/PKGBUILD
index b93293cf4..a7c9216f1 100644
--- a/extra/scim-uim/PKGBUILD
+++ b/extra/scim-uim/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=scim-uim
pkgver=0.2.0
pkgrel=4
pkgdesc='UIM bridging input engine for SCIM'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.scim-im.org/'
license=('GPL')
depends=('scim>=1.4.8' 'uim>=1.5.5')
diff --git a/extra/screen/PKGBUILD b/extra/screen/PKGBUILD
index c22d539c2..1c6224652 100644
--- a/extra/screen/PKGBUILD
+++ b/extra/screen/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=4.0.3
pkgrel=12
_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/scribus/PKGBUILD b/extra/scribus/PKGBUILD
index 4e81935e3..4d9f9bf90 100644
--- a/extra/scribus/PKGBUILD
+++ b/extra/scribus/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=scribus
pkgver=1.3.9
pkgrel=1
pkgdesc="A desktop publishing program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.scribus.net"
license=('GPL')
install=scribus.install
diff --git a/extra/scrot/PKGBUILD b/extra/scrot/PKGBUILD
index 4d6921fda..d093c8457 100644
--- a/extra/scrot/PKGBUILD
+++ b/extra/scrot/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=scrot
pkgver=0.8
pkgrel=4
pkgdesc="A simple command-line screenshot utility for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://scrot.sourcearchive.com/"
license=('MIT')
depends=('giblib')
diff --git a/extra/scummvm/PKGBUILD b/extra/scummvm/PKGBUILD
index 061962a8e..c894ec8dd 100644
--- a/extra/scummvm/PKGBUILD
+++ b/extra/scummvm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=scummvm
pkgver=1.2.1
pkgrel=1
pkgdesc="A 'virtual machine' for several classic graphical point-and-click adventure games."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.scummvm.org/"
depends=('gcc-libs' 'alsa-lib' 'libmad' 'libvorbis' 'zlib' 'flac>=1.1.4' 'sdl' 'fluidsynth')
diff --git a/extra/sdl/PKGBUILD b/extra/sdl/PKGBUILD
index 46ed5bfdd..b7c5035aa 100644
--- a/extra/sdl/PKGBUILD
+++ b/extra/sdl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sdl
pkgver=1.2.14
pkgrel=6
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.libsdl.org"
license=('LGPL')
depends=('glibc' 'libxext' 'libxrender' 'libx11')
diff --git a/extra/sdl_gfx/PKGBUILD b/extra/sdl_gfx/PKGBUILD
index 393f04784..2a07a7c2c 100644
--- a/extra/sdl_gfx/PKGBUILD
+++ b/extra/sdl_gfx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sdl_gfx
pkgver=2.0.22
pkgrel=1
pkgdesc="SDL Graphic Primitives"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
options=(!libtool)
url="http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx"
diff --git a/extra/sdl_image/PKGBUILD b/extra/sdl_image/PKGBUILD
index 3eb670bd6..a61e6c713 100644
--- a/extra/sdl_image/PKGBUILD
+++ b/extra/sdl_image/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sdl_image
pkgver=1.2.10
pkgrel=2
pkgdesc="A simple library to load images of various formats as SDL surfaces"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('sdl>=1.2.13' 'libpng' 'libjpeg>=7' 'libtiff' 'zlib')
options=('!libtool')
diff --git a/extra/sdl_mixer/PKGBUILD b/extra/sdl_mixer/PKGBUILD
index f241519be..914c8612a 100644
--- a/extra/sdl_mixer/PKGBUILD
+++ b/extra/sdl_mixer/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdl_mixer
pkgver=1.2.11
pkgrel=2
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=('LGPL' 'GPL')
depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
diff --git a/extra/sdl_net/PKGBUILD b/extra/sdl_net/PKGBUILD
index b26327678..ffb406155 100644
--- a/extra/sdl_net/PKGBUILD
+++ b/extra/sdl_net/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdl_net
pkgver=1.2.7
pkgrel=3
pkgdesc="A small sample cross-platform networking library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.libsdl.org/projects/SDL_net/"
license=('GPL')
depends=('sdl')
diff --git a/extra/sdl_pango/PKGBUILD b/extra/sdl_pango/PKGBUILD
index 68b686aeb..2bda76f3a 100644
--- a/extra/sdl_pango/PKGBUILD
+++ b/extra/sdl_pango/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sdl_pango
pkgver=0.1.2
pkgrel=3
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 f452d63bf..0a0abd4b4 100644
--- a/extra/sdl_sound/PKGBUILD
+++ b/extra/sdl_sound/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sdl_sound
pkgver=1.0.3
pkgrel=2
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 56e56d9f0..094bd8fd1 100644
--- a/extra/sdl_ttf/PKGBUILD
+++ b/extra/sdl_ttf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sdl_ttf
pkgver=2.0.10
pkgrel=1
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.libsdl.org/projects/SDL_ttf/"
depends=('sdl>=1.2.12' 'freetype2')
diff --git a/extra/seahorse/PKGBUILD b/extra/seahorse/PKGBUILD
index 3bf6b5430..bbf5c4e21 100644
--- a/extra/seahorse/PKGBUILD
+++ b/extra/seahorse/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=seahorse
pkgver=3.0.2
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' 'gconf' 'libgnome-keyring' 'gnome-keyring' 'libnotify' 'libsoup' 'gpgme' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/setserial/PKGBUILD b/extra/setserial/PKGBUILD
index fea301684..5229e7845 100644
--- a/extra/setserial/PKGBUILD
+++ b/extra/setserial/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=setserial
pkgver=2.17
pkgrel=3
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 eca1068a5..2d997b7ae 100644
--- a/extra/sg3_utils/PKGBUILD
+++ b/extra/sg3_utils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sg3_utils
pkgver=1.30
pkgrel=1
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 1bf40a9b2..51cddce46 100644
--- a/extra/shared-mime-info/PKGBUILD
+++ b/extra/shared-mime-info/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=shared-mime-info
pkgver=0.90
pkgrel=1
pkgdesc="Freedesktop.org Shared MIME Info"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxml2>=2.7.7' 'glib2>=2.26.0')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/silc-toolkit/PKGBUILD b/extra/silc-toolkit/PKGBUILD
index a74d067fa..62555f622 100644
--- a/extra/silc-toolkit/PKGBUILD
+++ b/extra/silc-toolkit/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="Toolkit for Secure Internet Live Conferencing"
url="http://www.silcnet.org"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc' 'perl' 'libidn')
source=(http://www.silcnet.org/download/toolkit/sources/$pkgname-$pkgver.tar.bz2)
options=(!libtool)
diff --git a/extra/skanlite/PKGBUILD b/extra/skanlite/PKGBUILD
index 0014d99c7..5b40b1484 100644
--- a/extra/skanlite/PKGBUILD
+++ b/extra/skanlite/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=skanlite
pkgver=0.7
pkgrel=2
pkgdesc="Image Scanning Application for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://kde-apps.org/content/show.php?content=109803'
license=('GPL')
depends=('kdebase-runtime' 'libksane')
diff --git a/extra/slang/PKGBUILD b/extra/slang/PKGBUILD
index 6905293b6..12810e517 100644
--- a/extra/slang/PKGBUILD
+++ b/extra/slang/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=slang
pkgver=2.2.4
pkgrel=1
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=('glibc' 'pcre' 'zlib')
diff --git a/extra/slim/PKGBUILD b/extra/slim/PKGBUILD
index 16f568c46..96f18be9f 100644
--- a/extra/slim/PKGBUILD
+++ b/extra/slim/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=slim
pkgver=1.3.2
pkgrel=5
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')
diff --git a/extra/slv2/PKGBUILD b/extra/slv2/PKGBUILD
index 3005cd313..d86c8a099 100644
--- a/extra/slv2/PKGBUILD
+++ b/extra/slv2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=slv2
pkgver=0.6.6
pkgrel=6
pkgdesc="Library for LV2 hosts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://drobilla.net/software/slv2"
license=('GPL')
depends=('redland>=1.0.13' 'lv2core' 'jack')
diff --git a/extra/smartmontools/PKGBUILD b/extra/smartmontools/PKGBUILD
index 76b468174..49419846b 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')
backup=('etc/smartd.conf'
'etc/conf.d/smartd')
diff --git a/extra/smb4k/PKGBUILD b/extra/smb4k/PKGBUILD
index 280cd0fcd..a44cc4263 100644
--- a/extra/smb4k/PKGBUILD
+++ b/extra/smb4k/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=smb4k
pkgver=0.10.70
pkgrel=1
pkgdesc="A KDE program that browses samba shares"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://smb4k.berlios.de/"
license=('GPL')
depends=('kdebase-runtime')
diff --git a/extra/smpeg/PKGBUILD b/extra/smpeg/PKGBUILD
index 46e52f304..344f9e023 100644
--- a/extra/smpeg/PKGBUILD
+++ b/extra/smpeg/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=smpeg
pkgver=0.4.4
pkgrel=5
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-themes/PKGBUILD b/extra/smplayer-themes/PKGBUILD
index 5f7be24bb..cef1d8118 100644
--- a/extra/smplayer-themes/PKGBUILD
+++ b/extra/smplayer-themes/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=smplayer-themes
pkgver=0.1.20
pkgrel=1
pkgdesc="Themes for smplayer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('smplayer')
diff --git a/extra/smplayer/PKGBUILD b/extra/smplayer/PKGBUILD
index 1646f0c75..c0c7fe001 100644
--- a/extra/smplayer/PKGBUILD
+++ b/extra/smplayer/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=smplayer
pkgver=0.6.9
pkgrel=3
pkgdesc="A complete front-end for MPlayer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('qt>=4.7.1' 'mplayer')
diff --git a/extra/snarf/PKGBUILD b/extra/snarf/PKGBUILD
index 591fd1a7c..5e1e7a8fc 100644
--- a/extra/snarf/PKGBUILD
+++ b/extra/snarf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=snarf
pkgver=7.0
pkgrel=4
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')
depends=('glibc')
diff --git a/extra/snd/PKGBUILD b/extra/snd/PKGBUILD
index cfc281db5..a86d3e9a0 100644
--- a/extra/snd/PKGBUILD
+++ b/extra/snd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=snd
pkgver=11.6
pkgrel=1
pkgdesc="An advanced sound editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ccrma.stanford.edu/software/snd/"
license=('custom')
depends=('lesstif' 'fam')
diff --git a/extra/sofia-sip/PKGBUILD b/extra/sofia-sip/PKGBUILD
index 74e54b92a..cb6cf1d73 100644
--- a/extra/sofia-sip/PKGBUILD
+++ b/extra/sofia-sip/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sofia-sip
pkgver=1.12.11
pkgrel=1
pkgdesc="An open-source SIP User-Agent library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sofia-sip.sourceforge.net"
options=('!libtool' 'zipman')
license=('LGPL')
diff --git a/extra/sonata/PKGBUILD b/extra/sonata/PKGBUILD
index 416352778..00fff2cbe 100644
--- a/extra/sonata/PKGBUILD
+++ b/extra/sonata/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sonata
pkgver=1.6.2.1
pkgrel=7
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' 'python-mpd')
diff --git a/extra/soprano/PKGBUILD b/extra/soprano/PKGBUILD
index bad4099ab..743cf732c 100644
--- a/extra/soprano/PKGBUILD
+++ b/extra/soprano/PKGBUILD
@@ -6,11 +6,12 @@ pkgname=soprano
pkgver=2.7.0
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=('qt' 'redland-storage-virtuoso' 'libiodbc' 'virtuoso')
makedepends=('cmake' 'openjdk6' 'doxygen')
+[ "$CARCH" = "mips64el" ] && makedepends=('cmake' 'doxygen')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('52f216c82e731499bb25bf3b4cf0eecb')
@@ -18,6 +19,8 @@ build() {
cd "${srcdir}"
mkdir build
cd build
+
+ [ "$CARCH" = "mips64el" ] || \
. /etc/profile.d/openjdk6.sh
# we need the rpath
cmake ../${pkgname}-${pkgver} \
diff --git a/extra/sound-juicer/PKGBUILD b/extra/sound-juicer/PKGBUILD
index ba2f50aee..131310350 100644
--- a/extra/sound-juicer/PKGBUILD
+++ b/extra/sound-juicer/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sound-juicer
pkgver=2.32.1
pkgrel=1
pkgdesc="A cd ripper application"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('libmusicbrainz3' 'libgnome-media-profiles' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'brasero' 'hicolor-icon-theme')
makedepends=('intltool' 'gnome-doc-utils>=0.20.0' 'pkgconfig' 'gnome-common' 'gtk-doc')
diff --git a/extra/soundtouch/PKGBUILD b/extra/soundtouch/PKGBUILD
index 5a016aa63..3de1063b2 100644
--- a/extra/soundtouch/PKGBUILD
+++ b/extra/soundtouch/PKGBUILD
@@ -7,30 +7,46 @@ pkgname=soundtouch
pkgver=1.5.0
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')
options=('!libtool')
source=(http://www.surina.net/soundtouch/${pkgname}-${pkgver}.tar.gz
soundtouch-1.4.0-mmx-sse-compile-fix.patch
- soundtouch-1.4.0-x86_64-asm-broken.patch)
-md5sums=('5456481d8707d2a2c27466ea64a099cb' 'f0204136c90ce4f6d4761073151eb4dc'\
- '0d856bb5b519b18c6ba3a2e1770bdfd2')
-sha1sums=('c3e73419acec242a49a408b78c55883def937fc0' '39815091c4cb1817f8a56b8fb29fa684984514d1'\
- '95282cca856b3b8645fadb530ce5eb892074f193')
+ soundtouch-1.4.0-x86_64-asm-broken.patch
+ disable-mmx.patch)
+md5sums=('5456481d8707d2a2c27466ea64a099cb'
+ 'f0204136c90ce4f6d4761073151eb4dc'
+ '0d856bb5b519b18c6ba3a2e1770bdfd2'
+ '3a5097f2a65ec9bd5f733f9935cd498b')
+sha1sums=('c3e73419acec242a49a408b78c55883def937fc0'
+ '39815091c4cb1817f8a56b8fb29fa684984514d1'
+ '95282cca856b3b8645fadb530ce5eb892074f193'
+ '92d7851d1992a592dab5490f18c072df943afdda')
build() {
cd "${srcdir}/${pkgname}"
- patch -Np1 -i "${srcdir}/soundtouch-1.4.0-mmx-sse-compile-fix.patch" || return 1
- patch -Np1 -i "${srcdir}/soundtouch-1.4.0-x86_64-asm-broken.patch" || return 1
- if [ "${CARCH}" = "x86_64" ]; then
- ./configure --prefix=/usr --enable-shared --with-pic || return 1
- else
- ./configure --prefix=/usr --enable-shared || return 1
+ patch -Np1 -i "${srcdir}/soundtouch-1.4.0-mmx-sse-compile-fix.patch"
+ patch -Np1 -i "${srcdir}/soundtouch-1.4.0-x86_64-asm-broken.patch"
+
+ if [ "${CARCH}" = "mips64el" ]; then
+ patch -Np1 -i "${srcdir}/disable-mmx.patch"
fi
- make || return 1
- make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install || return 1
+
+ case $CARCH in
+ i686)
+ ./configure --prefix=/usr --enable-shared
+ ;;
+ x86_64)
+ ./configure --prefix=/usr --enable-shared --with-pic
+ ;;
+ mips64el)
+ ./configure --prefix=/usr --enable-shared --with-pic
+ ;;
+ esac
+ make
+ make DESTDIR="${pkgdir}" pkgdocdir=/usr/share/doc/soundtouch install
# Upstream changed pkgconfig filename
ln -sf soundtouch-1.4.pc "${pkgdir}/usr/lib/pkgconfig/soundtouch-1.0.pc" || return 1
}
diff --git a/extra/soundtouch/disable-mmx.patch b/extra/soundtouch/disable-mmx.patch
new file mode 100644
index 000000000..7be579c43
--- /dev/null
+++ b/extra/soundtouch/disable-mmx.patch
@@ -0,0 +1,36 @@
+--- soundtouch/source/SoundTouch/Makefile.in~ 2011-07-04 15:26:59.621763536 -0300
++++ soundtouch/source/SoundTouch/Makefile.in 2011-07-04 15:27:29.404648895 -0300
+@@ -59,7 +59,7 @@ libLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+ libSoundTouch_la_LIBADD =
+ am_libSoundTouch_la_OBJECTS = AAFilter.lo FIRFilter.lo \
+- FIFOSampleBuffer.lo mmx_optimized.lo sse_optimized.lo \
++ FIFOSampleBuffer.lo \
+ RateTransposer.lo SoundTouch.lo TDStretch.lo \
+ cpu_detect_x86_gcc.lo BPMDetect.lo PeakFinder.lo
+ libSoundTouch_la_OBJECTS = $(am_libSoundTouch_la_OBJECTS)
+@@ -206,14 +206,12 @@ EXTRA_DIST = 3dnow_win.cpp cpu_detect_x8
+ noinst_HEADERS = AAFilter.h cpu_detect.h cpu_detect_x86_gcc.cpp FIRFilter.h RateTransposer.h TDStretch.h PeakFinder.h
+ 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 cpu_detect_x86_gcc.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
+ all: all-am
+
+ .SUFFIXES:
+@@ -292,8 +290,6 @@ distclean-compile:
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/SoundTouch.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/TDStretch.Plo@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu_detect_x86_gcc.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mmx_optimized.Plo@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sse_optimized.Plo@am__quote@
+
+ .cpp.o:
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
diff --git a/extra/source-highlight/PKGBUILD b/extra/source-highlight/PKGBUILD
index c80a86f16..74ee51e37 100644
--- a/extra/source-highlight/PKGBUILD
+++ b/extra/source-highlight/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=source-highlight
pkgver=3.1.4
pkgrel=4
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=('gcc-libs' 'bash' 'boost-libs')
diff --git a/extra/sox/PKGBUILD b/extra/sox/PKGBUILD
index d9f3730c9..577657653 100644
--- a/extra/sox/PKGBUILD
+++ b/extra/sox/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sox
pkgver=14.3.2
pkgrel=3
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=('libtool' 'file' 'libsndfile' 'libpng' 'lame' 'opencore-amr')
diff --git a/extra/spamassassin/PKGBUILD b/extra/spamassassin/PKGBUILD
index 164475d46..ee4d4c060 100644
--- a/extra/spamassassin/PKGBUILD
+++ b/extra/spamassassin/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=spamassassin
pkgver=3.3.2
pkgrel=2
pkgdesc="A mail filter to identify spam."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(APACHE)
url="http://spamassassin.apache.org"
depends=('perl>=5.14' 'perl-net-dns' 'perl-uri' 'perl-html-parser' \
diff --git a/extra/spassgen/PKGBUILD b/extra/spassgen/PKGBUILD
index 653a51f57..858de7df2 100644
--- a/extra/spassgen/PKGBUILD
+++ b/extra/spassgen/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=spassgen
pkgver=1.5
pkgrel=7
pkgdesc="A small program that generates passwords"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://spassgen.sourceforge.net/"
license=('GPL2')
depends=('qt3')
diff --git a/extra/speech-dispatcher/PKGBUILD b/extra/speech-dispatcher/PKGBUILD
index c0269f941..949f5123e 100644
--- a/extra/speech-dispatcher/PKGBUILD
+++ b/extra/speech-dispatcher/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=speech-dispatcher
pkgver=0.7.1
pkgrel=5
-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 672dc9887..e0dedc235 100644
--- a/extra/speex/PKGBUILD
+++ b/extra/speex/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=speex
pkgver=1.2rc1
pkgrel=1
pkgdesc="A free codec for free speech"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
depends=('libogg')
options=('!libtool')
diff --git a/extra/squid/PKGBUILD b/extra/squid/PKGBUILD
index 0e7b97a7c..a4c2f02dc 100644
--- a/extra/squid/PKGBUILD
+++ b/extra/squid/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=squid
pkgver=3.1.14
pkgrel=1
pkgdesc="A full-featured Web proxy cache server."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.squid-cache.org"
depends=('openssl' 'pam' 'cron' 'perl')
makedepends=('libcap>=2.16')
diff --git a/extra/srm/PKGBUILD b/extra/srm/PKGBUILD
index 8609ada5b..d35fb4531 100644
--- a/extra/srm/PKGBUILD
+++ b/extra/srm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=srm
pkgver=1.2.11
pkgrel=1
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 7f3d85374..64231d518 100644
--- a/extra/sshfs/PKGBUILD
+++ b/extra/sshfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sshfs
pkgver=2.3
pkgrel=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 03b72606d..c6268ad4e 100644
--- a/extra/ssmtp/PKGBUILD
+++ b/extra/ssmtp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ssmtp
pkgver=2.64
pkgrel=2
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')
diff --git a/extra/stardict/PKGBUILD b/extra/stardict/PKGBUILD
index 8ce7a50e8..fe150edb8 100644
--- a/extra/stardict/PKGBUILD
+++ b/extra/stardict/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=stardict
pkgver=3.0.3
pkgrel=1
pkgdesc='International dictionary software'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.stardict.org/'
license=('GPL')
depends=('enchant' 'gtk2' 'libsigc++' 'libsm')
diff --git a/extra/startup-notification/PKGBUILD b/extra/startup-notification/PKGBUILD
index eac3df02e..4b1dccd98 100644
--- a/extra/startup-notification/PKGBUILD
+++ b/extra/startup-notification/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=startup-notification
pkgver=0.12
pkgrel=1
pkgdesc="Monitor and display application startup"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('libx11' 'xcb-util>=0.3.4')
options=('!libtool')
diff --git a/extra/stellarium/PKGBUILD b/extra/stellarium/PKGBUILD
index 4837acf97..a8328580f 100644
--- a/extra/stellarium/PKGBUILD
+++ b/extra/stellarium/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=stellarium
pkgver=0.11.0
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' 'mesa' 'libgl' 'freetype2' 'qt' 'openssl')
diff --git a/extra/strace/PKGBUILD b/extra/strace/PKGBUILD
index 93923b007..44e774b28 100644
--- a/extra/strace/PKGBUILD
+++ b/extra/strace/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=strace
pkgver=4.6
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 009f2eb27..9b5a60b18 100644
--- a/extra/streamripper/PKGBUILD
+++ b/extra/streamripper/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=streamripper
pkgver=1.64.6
pkgrel=1
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=('glibc' 'glib2' 'libmad' 'faad2>=2.7' 'libvorbis')
diff --git a/extra/streamtuner/PKGBUILD b/extra/streamtuner/PKGBUILD
index f449a3f89..07243483b 100644
--- a/extra/streamtuner/PKGBUILD
+++ b/extra/streamtuner/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=streamtuner
pkgver=0.99.99
pkgrel=11
pkgdesc="A stream directory browser"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/streamtuner/"
license=('custom')
depends=('taglib' 'libxml2' 'gtk2' 'curl>=7.16.2' 'pygtk>=2.13.0-2')
diff --git a/extra/strigi/PKGBUILD b/extra/strigi/PKGBUILD
index 2292ed9cc..857144c36 100644
--- a/extra/strigi/PKGBUILD
+++ b/extra/strigi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=strigi
pkgver=0.7.5
pkgrel=4
pkgdesc="Fast crawling desktop search engine with Qt4 GUI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.vandenoever.info/software/strigi/"
license=('GPL2')
depends=('bzip2' 'exiv2' 'libxml2' 'boost-libs')
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD
index 8f8e8adbe..bcb020df4 100644
--- a/extra/subversion/PKGBUILD
+++ b/extra/subversion/PKGBUILD
@@ -6,12 +6,16 @@ pkgname=subversion
pkgver=1.6.17
pkgrel=6
pkgdesc="A Modern Concurrent Version Control System"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('apache' 'bsd')
depends=('neon' 'apr-util' 'sqlite3')
optdepends=('libgnome-keyring' 'kdeutils-kwallet' 'bash-completion: for svn bash completion')
makedepends=('krb5' 'apache' 'python2' 'perl' 'swig' 'ruby' 'java-runtime'
'autoconf' 'db' 'e2fsprogs' 'libgnome-keyring' 'kdelibs')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('krb5' 'apache' 'python2' 'perl' 'swig'
+ 'autoconf' 'sqlite3' 'db' 'e2fsprogs' 'libgnome-keyring' 'kdelibs'
+ 'ruby') #'java-runtime'
backup=('etc/xinetd.d/svn' 'etc/conf.d/svnserve')
url="http://subversion.apache.org/"
provides=('svn')
@@ -42,10 +46,17 @@ build() {
# configure
autoreconf
+ if [ "$CARCH" = "mips64el" ]; then
+ ./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr \
+ --with-zlib=/usr --with-neon=/usr --with-apxs \
+ --with-sqlite=/usr --with-berkeley-db=:/usr/include/:/usr/lib:db-5.2 \
+ --with-gnome-keyring --with-kwallet
+ else
./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr \
--with-zlib=/usr --with-neon=/usr --with-apxs \
--with-sqlite=/usr --with-berkeley-db=:/usr/include/:/usr/lib:db-5.2 \
--enable-javahl --with-gnome-keyring --with-kwallet
+ fi
# build
(make external-all && make LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all )
@@ -82,8 +93,10 @@ package() {
make DESTDIR=${pkgdir} swig-rb
make install-swig-rb DESTDIR=${pkgdir}
+ if [ "$CARCH" != "mips64el" ]; then
make DESTDIR=${pkgdir} javahl
make DESTDIR=${pkgdir} install-javahl
+ fi
install -d ${pkgdir}/etc/{rc.d,xinetd.d,conf.d}
diff --git a/extra/sweep/PKGBUILD b/extra/sweep/PKGBUILD
index 3b664723e..4db2e28f3 100644
--- a/extra/sweep/PKGBUILD
+++ b/extra/sweep/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sweep
pkgver=0.9.3
pkgrel=1
pkgdesc="Sound editing and mixing program"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
depends=('gtk2' 'libsamplerate' 'libmad' 'libvorbis' 'alsa-lib' 'speex')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
diff --git a/extra/swig/PKGBUILD b/extra/swig/PKGBUILD
index 0ca1a910e..d1b6f245a 100644
--- a/extra/swig/PKGBUILD
+++ b/extra/swig/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=swig
pkgver=2.0.4
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/sysklogd/PKGBUILD b/extra/sysklogd/PKGBUILD
index 76a376889..ebd117193 100644
--- a/extra/sysklogd/PKGBUILD
+++ b/extra/sysklogd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sysklogd
pkgver=1.5
pkgrel=3
pkgdesc="System and kernel log daemons"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.infodrom.org/projects/sysklogd/"
license=('GPL' 'BSD')
depends=('glibc' 'logrotate')
diff --git a/extra/system-config-printer/PKGBUILD b/extra/system-config-printer/PKGBUILD
index 2976a0be4..20e557e94 100644
--- a/extra/system-config-printer/PKGBUILD
+++ b/extra/system-config-printer/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.3.5
pkgrel=2
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')
makedepends=('intltool' 'python2' 'xmlto' 'docbook-xsl' 'desktop-file-utils' 'libcups' 'libxml2')
source=("http://cyberelk.net/tim/data/${pkgbase}/1.3/${pkgbase}-${pkgver}.tar.xz"
diff --git a/extra/t1lib/PKGBUILD b/extra/t1lib/PKGBUILD
index 96f0c7a6d..6e16819dc 100644
--- a/extra/t1lib/PKGBUILD
+++ b/extra/t1lib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=t1lib
pkgver=5.1.2
pkgrel=2
pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=("GPL")
depends=('libxaw')
options=(!libtool)
diff --git a/extra/taglib-extras/PKGBUILD b/extra/taglib-extras/PKGBUILD
index 3becb51f9..a691c718c 100644
--- a/extra/taglib-extras/PKGBUILD
+++ b/extra/taglib-extras/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=taglib-extras
pkgver=1.0.1
pkgrel=1
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-sharp/PKGBUILD b/extra/taglib-sharp/PKGBUILD
index bde9d495e..ad52b6bc0 100644
--- a/extra/taglib-sharp/PKGBUILD
+++ b/extra/taglib-sharp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=taglib-sharp
pkgver=2.0.3.7
pkgrel=1
pkgdesc="Free and Open Source library for the .NET 2.0 and Mono frameworks which will let you tag your software with as much or as little detail as you like without slowing you down."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.taglib-sharp.com/Main_Page"
license=('LGPL2')
depends=('mono')
diff --git a/extra/taglib/PKGBUILD b/extra/taglib/PKGBUILD
index 00801f6f1..aaa8f869e 100644
--- a/extra/taglib/PKGBUILD
+++ b/extra/taglib/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=taglib
pkgver=1.7
pkgrel=3
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=('GPL2')
depends=('sh' 'zlib' 'gcc-libs')
diff --git a/extra/talloc/PKGBUILD b/extra/talloc/PKGBUILD
index 678ee5af4..c7dbef708 100644
--- a/extra/talloc/PKGBUILD
+++ b/extra/talloc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=talloc
pkgver=2.0.5
pkgrel=1
pkgdesc="A hierarchical pool based memory allocator with destructors"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL3')
url="http://talloc.samba.org/"
source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/tcl/PKGBUILD b/extra/tcl/PKGBUILD
index 49a3581d8..e594a1500 100644
--- a/extra/tcl/PKGBUILD
+++ b/extra/tcl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tcl
pkgver=8.5.10
pkgrel=1
pkgdesc="The Tcl scripting language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tcl.sourceforge.net/"
license=('custom')
depends=('glibc')
diff --git a/extra/tcpdump/PKGBUILD b/extra/tcpdump/PKGBUILD
index c6c455be5..690221396 100644
--- a/extra/tcpdump/PKGBUILD
+++ b/extra/tcpdump/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tcpdump
pkgver=4.1.1
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 dca95ae49..f5f62c361 100644
--- a/extra/tdb/PKGBUILD
+++ b/extra/tdb/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=tdb
pkgver=1.2.9
pkgrel=1
pkgdesc="A Trivia 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-butterfly/PKGBUILD b/extra/telepathy-butterfly/PKGBUILD
index 915673e49..21cd94c91 100644
--- a/extra/telepathy-butterfly/PKGBUILD
+++ b/extra/telepathy-butterfly/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-butterfly
pkgver=0.5.15
pkgrel=1
pkgdesc="A MSN connection manager for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('GPL')
diff --git a/extra/telepathy-farsight/PKGBUILD b/extra/telepathy-farsight/PKGBUILD
index a49577d12..b72920f75 100644
--- a/extra/telepathy-farsight/PKGBUILD
+++ b/extra/telepathy-farsight/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-farsight
pkgver=0.0.19
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=('GPL')
depends=('telepathy-glib' 'farsight2')
diff --git a/extra/telepathy-gabble/PKGBUILD b/extra/telepathy-gabble/PKGBUILD
index f2ccb3dd3..cff9140ab 100644
--- a/extra/telepathy-gabble/PKGBUILD
+++ b/extra/telepathy-gabble/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-gabble
pkgver=0.12.4
pkgrel=1
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 f747b1f60..ead64c0f5 100644
--- a/extra/telepathy-glib/PKGBUILD
+++ b/extra/telepathy-glib/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=telepathy-glib
pkgver=0.15.4
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"
groups=('telepathy')
license=('LGPL2.1')
diff --git a/extra/telepathy-haze/PKGBUILD b/extra/telepathy-haze/PKGBUILD
index d2bce6be0..c406f75cc 100644
--- a/extra/telepathy-haze/PKGBUILD
+++ b/extra/telepathy-haze/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-haze
pkgver=0.5.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 769dd0f00..7390c8b74 100644
--- a/extra/telepathy-idle/PKGBUILD
+++ b/extra/telepathy-idle/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-idle
pkgver=0.1.10
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-logger/PKGBUILD b/extra/telepathy-logger/PKGBUILD
index 1d2fa1d4a..38b399256 100644
--- a/extra/telepathy-logger/PKGBUILD
+++ b/extra/telepathy-logger/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=telepathy-logger
pkgver=0.2.10
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' 'sqlite3' 'libxml2' 'dconf')
diff --git a/extra/telepathy-mission-control/PKGBUILD b/extra/telepathy-mission-control/PKGBUILD
index 76e77def9..d7d3b6b79 100644
--- a/extra/telepathy-mission-control/PKGBUILD
+++ b/extra/telepathy-mission-control/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=telepathy-mission-control
pkgver=5.8.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')
diff --git a/extra/telepathy-qt4/PKGBUILD b/extra/telepathy-qt4/PKGBUILD
index 6709092ea..00efe6491 100644
--- a/extra/telepathy-qt4/PKGBUILD
+++ b/extra/telepathy-qt4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-qt4
pkgver=0.7.1
pkgrel=1
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')
options=('!libtool')
diff --git a/extra/telepathy-salut/PKGBUILD b/extra/telepathy-salut/PKGBUILD
index dc8e1d869..94ba3d455 100644
--- a/extra/telepathy-salut/PKGBUILD
+++ b/extra/telepathy-salut/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-salut
pkgver=0.5.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/telepathy-sofiasip/PKGBUILD b/extra/telepathy-sofiasip/PKGBUILD
index 7704eac95..4205fee4a 100644
--- a/extra/telepathy-sofiasip/PKGBUILD
+++ b/extra/telepathy-sofiasip/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-sofiasip
pkgver=0.7.1
pkgrel=1
pkgdesc="a SIP-protocol connection manager for the Telepathy framework based on SofiaSIP-stack."
-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/terminal/PKGBUILD b/extra/terminal/PKGBUILD
index 44383a3e1..eeefba762 100644
--- a/extra/terminal/PKGBUILD
+++ b/extra/terminal/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=terminal
pkgver=0.4.8
pkgrel=1
pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://www.xfce.org/projects/terminal/"
groups=('xfce4')
diff --git a/extra/testdisk/PKGBUILD b/extra/testdisk/PKGBUILD
index 12f8bc639..c4b1b0218 100644
--- a/extra/testdisk/PKGBUILD
+++ b/extra/testdisk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=testdisk
pkgver=6.12
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>=8' 'openssl' 'progsreiserfs' 'ntfsprogs')
diff --git a/extra/texmacs/PKGBUILD b/extra/texmacs/PKGBUILD
index 3d4c1e7f2..ceec0f63c 100644
--- a/extra/texmacs/PKGBUILD
+++ b/extra/texmacs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=texmacs
pkgver=1.0.7.10
pkgrel=1
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' 'guile' 'texlive-core' 'python2' 'libxext' 'freetype2')
diff --git a/extra/tftp-hpa/PKGBUILD b/extra/tftp-hpa/PKGBUILD
index 72034141e..4b4c7f596 100644
--- a/extra/tftp-hpa/PKGBUILD
+++ b/extra/tftp-hpa/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tftp-hpa
pkgver=5.1
pkgrel=1
pkgdesc="Official tftp server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/software/network/tftp/"
license=('BSD')
depends=('readline>=6.0.00')
diff --git a/extra/thinkfinger/PKGBUILD b/extra/thinkfinger/PKGBUILD
index bf6c8c9bc..f9cfe45e5 100644
--- a/extra/thinkfinger/PKGBUILD
+++ b/extra/thinkfinger/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.3
pkgrel=4
pkgdesc="ThinkFinger is 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')
install=thinkfinger.install
diff --git a/extra/thunar-archive-plugin/PKGBUILD b/extra/thunar-archive-plugin/PKGBUILD
index 2f3a99803..eb27f8f03 100644
--- a/extra/thunar-archive-plugin/PKGBUILD
+++ b/extra/thunar-archive-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar-archive-plugin
pkgver=0.3.0
pkgrel=1
pkgdesc="create and deflate archives in thunar"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
groups=('xfce4-goodies')
diff --git a/extra/thunar-media-tags-plugin/PKGBUILD b/extra/thunar-media-tags-plugin/PKGBUILD
index 142378be6..7cdda5203 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.1.2.99.git20110129
pkgrel=1
pkgdesc="adds special features for media files to the Thunar File Manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
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 8679d8273..413379a29 100644
--- a/extra/thunar-volman/PKGBUILD
+++ b/extra/thunar-volman/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar-volman
pkgver=0.6.0
pkgrel=2
pkgdesc="automatic management for removeable devices in thunar"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://foo-projects.org/~benny/projects/thunar-volman"
groups=('xfce4-goodies')
diff --git a/extra/thunar/PKGBUILD b/extra/thunar/PKGBUILD
index c273914b0..d8494a12c 100644
--- a/extra/thunar/PKGBUILD
+++ b/extra/thunar/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar
pkgver=1.2.2
pkgrel=1
pkgdesc="modern file manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'LGPL2.1')
url="http://thunar.xfce.org"
groups=('xfce4')
diff --git a/extra/tidyhtml/PKGBUILD b/extra/tidyhtml/PKGBUILD
index 031234da6..d39fda268 100644
--- a/extra/tidyhtml/PKGBUILD
+++ b/extra/tidyhtml/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=tidyhtml
pkgver=1.46
pkgrel=1
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')
options=('!libtool')
diff --git a/extra/tightvnc/PKGBUILD b/extra/tightvnc/PKGBUILD
index 642ba8d7f..78e0be4e6 100644
--- a/extra/tightvnc/PKGBUILD
+++ b/extra/tightvnc/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=tightvnc
pkgver=1.3.10
pkgrel=5
pkgdesc="VNC Unix server && viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.tightvnc.com"
depends=('libjpeg>=7' 'zlib' 'libxaw' 'libxp' 'xorg-xauth')
diff --git a/extra/time/PKGBUILD b/extra/time/PKGBUILD
index 8b1a81e6e..d33fb5b2f 100644
--- a/extra/time/PKGBUILD
+++ b/extra/time/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=time
pkgver=1.7
pkgrel=5
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 82ced473c..7cdd2262c 100644
--- a/extra/timidity++/PKGBUILD
+++ b/extra/timidity++/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=timidity++
pkgver=2.13.2
pkgrel=10
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' 'libvorbis' 'jack' 'ncurses')
diff --git a/extra/tk/PKGBUILD b/extra/tk/PKGBUILD
index cb89106d8..f10e33200 100644
--- a/extra/tk/PKGBUILD
+++ b/extra/tk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tk
pkgver=8.5.10
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/tomboy/PKGBUILD b/extra/tomboy/PKGBUILD
index c773a5fce..ae5b3290f 100644
--- a/extra/tomboy/PKGBUILD
+++ b/extra/tomboy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tomboy
pkgver=1.6.1
pkgrel=1
pkgdesc="Desktop note-taking application for Linux and Unix"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/tomboy/"
depends=('gtk2' 'gtkspell' 'ndesk-dbus-glib' 'mono-addins' 'gnome-sharp')
diff --git a/extra/tomcat/PKGBUILD b/extra/tomcat/PKGBUILD
index b58268347..273e65ae2 100644
--- a/extra/tomcat/PKGBUILD
+++ b/extra/tomcat/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=tomcat
pkgver=5.5.33
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Servlet container for Java Servlet and JavaServer Pages"
url="http://tomcat.apache.org/"
license=('APACHE')
diff --git a/extra/totem-plparser/PKGBUILD b/extra/totem-plparser/PKGBUILD
index 520ccd1ea..98cbad621 100644
--- a/extra/totem-plparser/PKGBUILD
+++ b/extra/totem-plparser/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
url="http://www.hadess.net/totem.php3"
pkgdesc="Totem playlist parser library"
license=('LGPL')
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('gmime' 'libsoup-gnome')
makedepends=('intltool' 'pkgconfig' 'gobject-introspection')
options=('!libtool')
diff --git a/extra/totem/PKGBUILD b/extra/totem/PKGBUILD
index 765a40e98..45297ffc3 100644
--- a/extra/totem/PKGBUILD
+++ b/extra/totem/PKGBUILD
@@ -6,11 +6,15 @@ pkgname=('totem' 'totem-plugin')
pkgver=3.0.1
pkgrel=3
url="http://www.gnome.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'custom')
makedepends=('intltool' 'gnome-doc-utils' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'totem-plparser'
'libpeas' 'pygobject' 'pygobject-devel' 'nautilus' 'libxxf86vm' 'libxtst' 'desktop-file-utils' 'iso-codes' 'libgdata'
'xulrunner' 'lirc-utils' 'libepc' 'bluez' 'vala')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('intltool' 'gnome-doc-utils' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'totem-plparser'
+ 'libpeas' 'pygobject' 'pygobject-devel' 'nautilus' 'libxxf86vm' 'libxtst' 'desktop-file-utils' 'iso-codes' 'libgdata'
+ 'xulrunner' 'libepc' 'bluez' 'vala')
options=('!libtool' '!emptydirs')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver}.tar.bz2
fix_crash.patch)
diff --git a/extra/transcode/PKGBUILD b/extra/transcode/PKGBUILD
index 403d93a39..7bd89b1b6 100644
--- a/extra/transcode/PKGBUILD
+++ b/extra/transcode/PKGBUILD
@@ -8,7 +8,7 @@ _sripver=0.3-4
pkgver=1.1.5
pkgrel=5
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=('imagemagick' 'lzo2' 'libdv' 'libdvdread' 'ffmpeg' 'mjpegtools'
diff --git a/extra/transfig/PKGBUILD b/extra/transfig/PKGBUILD
index 6a223da76..5bbf5be0e 100644
--- a/extra/transfig/PKGBUILD
+++ b/extra/transfig/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=transfig
pkgver=3.2.5c
pkgrel=3
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')
diff --git a/extra/transmission/PKGBUILD b/extra/transmission/PKGBUILD
index 5b91d09be..b051af36b 100644
--- a/extra/transmission/PKGBUILD
+++ b/extra/transmission/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=transmission
pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
pkgver=2.33
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.transmissionbt.com/"
license=('MIT')
makedepends=('gtk2' 'intltool' 'curl' 'libnotify' 'qt' 'libevent' 'libcanberra' 'dbus-glib')
diff --git a/extra/trayer/PKGBUILD b/extra/trayer/PKGBUILD
index b56c37863..fc5a39222 100644
--- a/extra/trayer/PKGBUILD
+++ b/extra/trayer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=trayer
pkgver=1.0
pkgrel=5
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 5c4567cae..9ae90de60 100644
--- a/extra/tree/PKGBUILD
+++ b/extra/tree/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tree
pkgver=1.6.0
pkgrel=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/truecrypt/PKGBUILD b/extra/truecrypt/PKGBUILD
index ac08317d4..f6272e2a9 100644
--- a/extra/truecrypt/PKGBUILD
+++ b/extra/truecrypt/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=7.0a
pkgrel=3
pkgdesc="Free open-source cross-platform disk encryption software"
url="http://www.truecrypt.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom') # TrueCrypt License v2.6
depends=('fuse>=2.8.0' 'wxgtk>=2.8.9' 'libsm' 'device-mapper')
makedepends=('nasm')
diff --git a/extra/tsocks/PKGBUILD b/extra/tsocks/PKGBUILD
index 0c65f8794..f2ce9b83d 100644
--- a/extra/tsocks/PKGBUILD
+++ b/extra/tsocks/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tsocks
pkgver=1.8beta5
pkgrel=4
pkgdesc='Transparent SOCKS proxying library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://tsocks.sourceforge.net/'
license=('GPL')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/tumbler/PKGBUILD b/extra/tumbler/PKGBUILD
index e7a3f1d33..015cf6547 100644
--- a/extra/tumbler/PKGBUILD
+++ b/extra/tumbler/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3
pkgdesc="D-Bus service for applications to request thumbnails"
url="http://git.xfce.org/xfce/tumbler/"
license=('GPL2' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
groups=('xfce4')
depends=('poppler-glib' 'dbus-glib')
makedepends=('intltool' 'ffmpegthumbnailer')
diff --git a/extra/tunepimp/PKGBUILD b/extra/tunepimp/PKGBUILD
index a3fe45ed5..caa9c1f0a 100644
--- a/extra/tunepimp/PKGBUILD
+++ b/extra/tunepimp/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.5.3
pkgrel=8
pkgdesc="A development library geared towards developers who wish to create MusicBrainz enabled tagging applications (aka libtunepimp)"
url="http://www.musicbrainz.org/products/tunepimp/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
options=('!libtool' '!makeflags')
makedepends=('python2')
diff --git a/extra/tuxpuck/PKGBUILD b/extra/tuxpuck/PKGBUILD
index bbd316b5d..65bd3c55a 100644
--- a/extra/tuxpuck/PKGBUILD
+++ b/extra/tuxpuck/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tuxpuck
pkgver=0.8.2
pkgrel=4
pkgdesc="Airhockey with tux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://home.no.net/munsuun/tuxpuck/"
license=('GPL2')
depends=('libjpeg>=8' 'sdl' 'libpng>=1.4.0' 'libvorbis')
diff --git a/extra/twisted/PKGBUILD b/extra/twisted/PKGBUILD
index d25475b8d..55850a084 100644
--- a/extra/twisted/PKGBUILD
+++ b/extra/twisted/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=twisted
pkgver=11.0.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' 'pycrypto' 'zope-interface')
diff --git a/extra/udisks/PKGBUILD b/extra/udisks/PKGBUILD
index 2175233cf..0c1529d9e 100644
--- a/extra/udisks/PKGBUILD
+++ b/extra/udisks/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=udisks
pkgver=1.0.3
pkgrel=6
pkgdesc="Disk Management Service"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL')
depends=('udev' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof' 'lvm2' 'eject')
diff --git a/extra/uim/PKGBUILD b/extra/uim/PKGBUILD
index b7782644e..4b569279a 100644
--- a/extra/uim/PKGBUILD
+++ b/extra/uim/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=uim
pkgver=1.7.1
pkgrel=1
pkgdesc='Multilingual input method library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://code.google.com/p/uim/'
license=('custom:BSD')
depends=('libxft' 'libedit' 'anthy' 'm17n-lib')
diff --git a/extra/umfpack/PKGBUILD b/extra/umfpack/PKGBUILD
index b37f17f42..5ebcf0a65 100644
--- a/extra/umfpack/PKGBUILD
+++ b/extra/umfpack/PKGBUILD
@@ -12,7 +12,7 @@ _colamdver=2.7.2
_ccolamdver=2.7.2
pkgrel=1
pkgdesc="A multifrontal direct solver for unsymmetric linear systems (AMD/${_amdver}, UFConfig/${_ufcgfgver})"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cise.ufl.edu/research/sparse/umfpack"
license=('LGPL')
makedepends=('lapack' 'blas')
diff --git a/extra/unison/PKGBUILD b/extra/unison/PKGBUILD
index 059ab98a2..ffa6ab40b 100644
--- a/extra/unison/PKGBUILD
+++ b/extra/unison/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=unison
pkgver=2.40.63
pkgrel=2
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 fbb4bdc26..7b95168a1 100644
--- a/extra/unixodbc/PKGBUILD
+++ b/extra/unixodbc/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=unixodbc
pkgver=2.3.0
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/unzip/PKGBUILD b/extra/unzip/PKGBUILD
index 77608dd01..645f9facc 100644
--- a/extra/unzip/PKGBUILD
+++ b/extra/unzip/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=unzip
pkgver=6.0
pkgrel=5
pkgdesc="Unpacks .zip archives such as those made by PKZIP"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.info-zip.org/"
license=('custom')
depends=('bzip2' 'bash')
diff --git a/extra/upower/PKGBUILD b/extra/upower/PKGBUILD
index ce8770a84..c7887ed96 100644
--- a/extra/upower/PKGBUILD
+++ b/extra/upower/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=upower
pkgver=0.9.12
pkgrel=1
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=('udev' 'libusb' 'polkit' 'pm-utils' 'dbus-glib')
diff --git a/extra/usbmuxd/PKGBUILD b/extra/usbmuxd/PKGBUILD
index 1fe072642..217a0acf6 100644
--- a/extra/usbmuxd/PKGBUILD
+++ b/extra/usbmuxd/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.0.7
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>=1.0.8')
makedepends=('cmake')
diff --git a/extra/usbview/PKGBUILD b/extra/usbview/PKGBUILD
index 84dc43232..824887a2c 100644
--- a/extra/usbview/PKGBUILD
+++ b/extra/usbview/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=usbview
pkgver=1.1
pkgrel=2
pkgdesc="USB Viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kroah.com/linux-usb/"
license=('GPL')
depends=('gtk2')
diff --git a/extra/usermin/PKGBUILD b/extra/usermin/PKGBUILD
index c7494e10a..4dab19940 100644
--- a/extra/usermin/PKGBUILD
+++ b/extra/usermin/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=usermin
pkgver=1.460
pkgrel=1
pkgdesc="a web interface that can be used to easily perform tasks like reading mail, setting up SSH or configuring mail forwarding"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom:usermin')
url="http://www.webmin.com/"
depends=('perl' 'webmin')
diff --git a/extra/v4l-utils/PKGBUILD b/extra/v4l-utils/PKGBUILD
index 6cf58ac50..7fd6833d9 100644
--- a/extra/v4l-utils/PKGBUILD
+++ b/extra/v4l-utils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=v4l-utils
pkgver=0.8.4
pkgrel=1
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 5e3bb7af1..d142a2f8b 100644
--- a/extra/v86d/PKGBUILD
+++ b/extra/v86d/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=v86d
pkgver=0.1.10
pkgrel=2
pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="http://dev.gentoo.org/~spock/projects/uvesafb/"
license=('GPL2')
depends=('glibc')
diff --git a/extra/vala/PKGBUILD b/extra/vala/PKGBUILD
index 339e2f86d..0f630f676 100644
--- a/extra/vala/PKGBUILD
+++ b/extra/vala/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vala
pkgver=0.12.1
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/valgrind/PKGBUILD b/extra/valgrind/PKGBUILD
deleted file mode 100644
index a181f374c..000000000
--- a/extra/valgrind/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 126782 2011-06-07 10:02:00Z allan $
-# Maintainer: Dan McGee <dan@archlinux.org>
-# Maintainer: Allan McRae <allan@archlinux.org>
-
-pkgname=valgrind
-pkgver=3.6.1
-pkgrel=2
-pkgdesc="A tool to help find memory-management problems in programs"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://valgrind.org/"
-depends=('glibc>=2.14' 'glibc<2.15' 'perl')
-makedepends=('gdb')
-options=('!emptydirs')
-source=(http://valgrind.org/downloads/${pkgname}-${pkgver}.tar.bz2
- valgrind-3.6.1-glibc-2.14.patch
- glibc-patch-version.patch)
-md5sums=('2c3aa122498baecc9d69194057ca88f5'
- '560032ce5d27ef0c7c1af32c3fd45833'
- 'b657f0ebdde3d9aefc9fd16f9e653702')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
-
- # make sure our CFLAGS are respected
- sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in
-
- # glibc-2.14 compatibility
- patch -Np1 -i ${srcdir}/valgrind-3.6.1-glibc-2.14.patch
-
- # prevent need to rebuild with glibc patch level version bumps
- patch -Np1 -i ${srcdir}/glibc-patch-version.patch
-
- if [ "${CARCH}" = "x86_64" ]; then
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-only64bit
- else
- ./configure --prefix=/usr --mandir=/usr/share/man
- fi
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-}
diff --git a/extra/valgrind/glibc-patch-version.patch b/extra/valgrind/glibc-patch-version.patch
deleted file mode 100644
index 2c6830aef..000000000
--- a/extra/valgrind/glibc-patch-version.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Saves having to rebuild valgrind on glibc-x.x.* patch level releases
-
-diff -Naur valgrind-3.5.0-old//glibc-2.X.supp.in valgrind-3.5.0/glibc-2.X.supp.in
---- valgrind-3.5.0-old//glibc-2.X.supp.in 2009-08-19 23:37:48.000000000 +1000
-+++ valgrind-3.5.0/glibc-2.X.supp.in 2010-05-22 19:43:08.088007038 +1000
-@@ -168,9 +168,9 @@
- Memcheck:Param
- socketcall.sendto(msg)
- fun:__sendto_nocancel
-- obj:/*libc-@GLIBC_VERSION@.so
-- obj:/*libc-@GLIBC_VERSION@.so
-- obj:/*libc-@GLIBC_VERSION@.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
- }
- {
- glibc24-64bit-padding-1c
-@@ -180,7 +180,7 @@
- fun:__nscd_get_map_ref
- fun:nscd_get*_r
- fun:*nscd*
-- obj:/*libc-@GLIBC_VERSION@.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
- }
-
-
-@@ -199,18 +199,18 @@
- Memcheck:Param
- socketcall.sendto(msg)
- fun:send
-- obj:/*libc-@GLIBC_VERSION@.so
-- obj:/*libc-@GLIBC_VERSION@.so
-- obj:/*libc-@GLIBC_VERSION@.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
- }
- {
- X11-64bit-padding-4b
- Memcheck:Param
- socketcall.send(msg)
- fun:send
-- obj:/*libc-@GLIBC_VERSION@.so
-- obj:/*libc-@GLIBC_VERSION@.so
-- obj:/*libc-@GLIBC_VERSION@.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
-+ obj:/*libc-@GLIBC_VERSION@*.so
- }
-
- ##----------------------------------------------------------------------##
diff --git a/extra/vamp-plugin-sdk/PKGBUILD b/extra/vamp-plugin-sdk/PKGBUILD
index 06633b1de..2474db6da 100644
--- a/extra/vamp-plugin-sdk/PKGBUILD
+++ b/extra/vamp-plugin-sdk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vamp-plugin-sdk
pkgver=2.1
pkgrel=1
pkgdesc="The Vamp audio analysis plugin 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/vcdimager/PKGBUILD b/extra/vcdimager/PKGBUILD
index dc392cb84..e3d114dbb 100644
--- a/extra/vcdimager/PKGBUILD
+++ b/extra/vcdimager/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vcdimager
pkgver=0.7.23
pkgrel=7
pkgdesc="GNU VCDImager is 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')
license=('GPL')
url="http://www.vcdimager.org/"
depends=('libcdio>=0.82' 'libxml2>=2.7.3' 'popt')
diff --git a/extra/vde2/PKGBUILD b/extra/vde2/PKGBUILD
index 17dc83588..3b4b25f6d 100644
--- a/extra/vde2/PKGBUILD
+++ b/extra/vde2/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
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')
backup=(etc/conf.d/vde)
source=(http://downloads.sourceforge.net/vde/$pkgname-$pkgver.tar.bz2
diff --git a/extra/vdpau-video/PKGBUILD b/extra/vdpau-video/PKGBUILD
index b426e758e..44fcf8506 100644
--- a/extra/vdpau-video/PKGBUILD
+++ b/extra/vdpau-video/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=vdpau-video
pkgver=0.7.3
pkgrel=2
pkgdesc="VDPAU backend for VA API"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/"
license=('GPL')
depends=('libva' 'libvdpau')
diff --git a/extra/vice/PKGBUILD b/extra/vice/PKGBUILD
index ee8b413f4..5ac96556b 100644
--- a/extra/vice/PKGBUILD
+++ b/extra/vice/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vice
pkgver=2.3
pkgrel=3
pkgdesc="A Versatile Commodore Emulator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.viceteam.org/"
depends=('alsa-lib' 'gcc-libs' 'giflib' 'lame' 'libxrandr' 'libxv' 'libjpeg' 'libpng' 'libxaw'
diff --git a/extra/vigra/PKGBUILD b/extra/vigra/PKGBUILD
index b981b5987..2808d452b 100644
--- a/extra/vigra/PKGBUILD
+++ b/extra/vigra/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vigra
pkgver=1.7.1
pkgrel=3
pkgdesc="Computer vision library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hci.iwr.uni-heidelberg.de/vigra/"
license=('custom:MIT')
depends=('libpng' 'libtiff' 'gcc-libs' 'sh' 'hdf5>=1.8.7' 'fftw')
diff --git a/extra/vim/PKGBUILD b/extra/vim/PKGBUILD
index 69e156492..01ad1b14f 100644
--- a/extra/vim/PKGBUILD
+++ b/extra/vim/PKGBUILD
@@ -10,7 +10,7 @@ _patchlevel=266
pkgver=${_topver}.${_patchlevel}
__hgrev=124a81f12ca4
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:vim')
url="http://www.vim.org"
makedepends=('gpm' 'perl' 'python2>=2.7.1' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2'
diff --git a/extra/vinagre/PKGBUILD b/extra/vinagre/PKGBUILD
index 14cd6b3c0..82128c578 100644
--- a/extra/vinagre/PKGBUILD
+++ b/extra/vinagre/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=vinagre
pkgver=3.0.2
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 cb1e131ca..d3fdb3962 100644
--- a/extra/vino/PKGBUILD
+++ b/extra/vino/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=vino
pkgver=3.0.3
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' 'libsoup' 'telepathy-glib' 'gtk3' 'libgnome-keyring' 'avahi' 'desktop-file-utils')
makedepends=('intltool' 'networkmanager')
diff --git a/extra/virtuoso/PKGBUILD b/extra/virtuoso/PKGBUILD
index 63ea4be34..e64e3085f 100644
--- a/extra/virtuoso/PKGBUILD
+++ b/extra/virtuoso/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=virtuoso
pkgver=6.1.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='A scalable cross-platform server that combines SQL/RDF/XML Data Management with Web Application Server and Web Services Platform functionality'
url='http://virtuoso.openlinksw.com/wiki/main/Main/'
license=('GPL')
diff --git a/extra/vorbis-tools/PKGBUILD b/extra/vorbis-tools/PKGBUILD
index 706d8a8fb..8fd3c7949 100644
--- a/extra/vorbis-tools/PKGBUILD
+++ b/extra/vorbis-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vorbis-tools
pkgver=1.4.0
pkgrel=2
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/vsftpd/PKGBUILD b/extra/vsftpd/PKGBUILD
index c35fe02de..d1651dd39 100644
--- a/extra/vsftpd/PKGBUILD
+++ b/extra/vsftpd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vsftpd
pkgver=2.3.4
pkgrel=2
pkgdesc="Very Secure FTP daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://security.appspot.com/vsftpd.html"
license=('GPL2')
depends=('openssl')
diff --git a/extra/vte/PKGBUILD b/extra/vte/PKGBUILD
index b518910dc..6ca3a0d59 100644
--- a/extra/vte/PKGBUILD
+++ b/extra/vte/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(vte vte3 vte-common)
pkgver=0.28.1
pkgrel=1
pkgdesc="Virtual Terminal Emulator widget for use with"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
options=('!libtool' '!emptydirs')
makedepends=('pygtk' 'intltool' 'gobject-introspection' 'gtk2' 'gtk3' 'pygobject-devel' 'gtk-doc')
diff --git a/extra/w3m/PKGBUILD b/extra/w3m/PKGBUILD
index 80e79e08b..ef20757d3 100644
--- a/extra/w3m/PKGBUILD
+++ b/extra/w3m/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=w3m
pkgver=0.5.3
pkgrel=1
pkgdesc='Text-based Web browser, as well as pager'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://w3m.sourceforge.net/'
license=('custom')
depends=('openssl' 'gc' 'ncurses' 'zlib')
diff --git a/extra/watchdog/PKGBUILD b/extra/watchdog/PKGBUILD
index 70ec8a57b..b19995eaf 100644
--- a/extra/watchdog/PKGBUILD
+++ b/extra/watchdog/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=watchdog
pkgver=5.9
pkgrel=1
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 389bd0721..acb7b5fc4 100644
--- a/extra/wavpack/PKGBUILD
+++ b/extra/wavpack/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=wavpack
pkgver=4.60.1
pkgrel=1
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=('custom')
depends=('glibc')
diff --git a/extra/webkit-sharp/PKGBUILD b/extra/webkit-sharp/PKGBUILD
index ecab9edcd..aca4645b3 100644
--- a/extra/webkit-sharp/PKGBUILD
+++ b/extra/webkit-sharp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=webkit-sharp
pkgver=0.3
pkgrel=2
pkgdesc="Mono/.NET bindings for the WebKit rendering engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.mono-project.com/"
license=('custom:MIT')
depends=('gtk-sharp-2' 'libwebkit>=1.4.0')
diff --git a/extra/webmin/PKGBUILD b/extra/webmin/PKGBUILD
index d1a55f636..436b73199 100644
--- a/extra/webmin/PKGBUILD
+++ b/extra/webmin/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=webmin
pkgver=1.550
pkgrel=1
pkgdesc="a web-based interface for system administration"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom:webmin')
url="http://www.webmin.com/"
depends=('perl')
diff --git a/extra/weechat/PKGBUILD b/extra/weechat/PKGBUILD
index 7e2144efc..09f86fbfd 100644
--- a/extra/weechat/PKGBUILD
+++ b/extra/weechat/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=weechat
pkgver=0.3.5
pkgrel=2
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')
diff --git a/extra/wesnoth/PKGBUILD b/extra/wesnoth/PKGBUILD
index bdac470ae..9a2ef8d08 100644
--- a/extra/wesnoth/PKGBUILD
+++ b/extra/wesnoth/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=wesnoth
pkgver=1.8.6
pkgrel=2
pkgdesc="A turn-based strategy game on a fantasy world"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.wesnoth.org/"
depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'fribidi' 'boost-libs' 'pango' 'lua' "wesnoth-data=${pkgver}" 'dbus-core')
diff --git a/extra/whois/PKGBUILD b/extra/whois/PKGBUILD
index 99e4b2a91..7916e1320 100644
--- a/extra/whois/PKGBUILD
+++ b/extra/whois/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=whois
pkgver=5.0.11
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/windowmaker-crm-git/PKGBUILD b/extra/windowmaker-crm-git/PKGBUILD
index 6a4789552..326d3a799 100644
--- a/extra/windowmaker-crm-git/PKGBUILD
+++ b/extra/windowmaker-crm-git/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=windowmaker-crm-git
pkgver=20101005
pkgrel=1
pkgdesc="An X11 window manager with a NEXTSTEP look and feel - git version from Carlos R. Mafra"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.windowmaker.org"
license=('GPL' 'custom')
depends=('libxinerama' 'libxrandr' 'libpng' 'libxpm' 'libxft' 'libtiff>=3.9.1' 'giflib' 'libxmu')
diff --git a/extra/windowmaker/PKGBUILD b/extra/windowmaker/PKGBUILD
index 85fdd5062..f1e781932 100644
--- a/extra/windowmaker/PKGBUILD
+++ b/extra/windowmaker/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=windowmaker
pkgver=0.92.0
pkgrel=8
pkgdesc="An X11 window manager with a NEXTSTEP look and feel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.windowmaker.info/"
license=('GPL' 'custom')
depends=('libxinerama' 'libpng' 'libxpm' 'libxft' 'libtiff' 'giflib')
diff --git a/extra/wipe/PKGBUILD b/extra/wipe/PKGBUILD
index 95767e587..c51bcfa2e 100644
--- a/extra/wipe/PKGBUILD
+++ b/extra/wipe/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=wipe
pkgver=2.3.1
pkgrel=1
pkgdesc="A file and block device wiping utility - a secure rm"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wipe.sourceforge.net/"
license=('GPL')
depends=('glibc')
@@ -17,8 +17,9 @@ md5sums=('3aed00711e0490edbec115bc283b8544')
build() {
cd $srcdir/$pkgname-$pkgver
+ [ "$CARCH" = "mips64el" ] && extra="--build=$CHOST --host=$CHOST --target=$CHOST"
./configure --prefix=/usr \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man $extra
make
}
diff --git a/extra/wpa_supplicant_gui/PKGBUILD b/extra/wpa_supplicant_gui/PKGBUILD
index 96095398d..2b38788de 100644
--- a/extra/wpa_supplicant_gui/PKGBUILD
+++ b/extra/wpa_supplicant_gui/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.7.3
pkgrel=1
pkgdesc="A Qt frontend to wpa_supplicant"
url="http://hostap.epitest.fi/wpa_supplicant"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('qt' "wpa_supplicant=$pkgver")
license=('GPL')
source=("http://hostap.epitest.fi/releases/wpa_supplicant-$pkgver.tar.gz")
diff --git a/extra/wv/PKGBUILD b/extra/wv/PKGBUILD
index 0e8208ae6..3b626f0d7 100644
--- a/extra/wv/PKGBUILD
+++ b/extra/wv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wv
pkgver=1.2.7
pkgrel=1
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>=1.14.18' 'libpng>=1.4.2' 'sh')
diff --git a/extra/wv2/PKGBUILD b/extra/wv2/PKGBUILD
index 72ebab120..c2609d367 100644
--- a/extra/wv2/PKGBUILD
+++ b/extra/wv2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=wv2
pkgver=0.4.2
pkgrel=1
pkgdesc="MSWord 9,8,7,6 formats parser"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/wvware/"
depends=('libgsf')
makedepends=('cmake')
diff --git a/extra/wxgtk/PKGBUILD b/extra/wxgtk/PKGBUILD
index f56cd59ec..95575519f 100644
--- a/extra/wxgtk/PKGBUILD
+++ b/extra/wxgtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wxgtk
pkgver=2.8.12.1
pkgrel=1
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' 'libgl' 'libxxf86vm' 'libsm')
diff --git a/extra/wxmaxima/PKGBUILD b/extra/wxmaxima/PKGBUILD
index c7e5a441f..91635e6e1 100644
--- a/extra/wxmaxima/PKGBUILD
+++ b/extra/wxmaxima/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=wxmaxima
pkgver=11.04.0
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')
diff --git a/extra/wxpython/PKGBUILD b/extra/wxpython/PKGBUILD
index 7f02de61a..4a5370c27 100644
--- a/extra/wxpython/PKGBUILD
+++ b/extra/wxpython/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wxpython
pkgver=2.8.12.1
pkgrel=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')
diff --git a/extra/x11vnc/PKGBUILD b/extra/x11vnc/PKGBUILD
index 15d64aa92..a2ba24ffe 100644
--- a/extra/x11vnc/PKGBUILD
+++ b/extra/x11vnc/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=x11vnc
pkgver=0.9.12
pkgrel=1
pkgdesc='VNC server for real X displays'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.karlrunge.com/x11vnc/'
license=('GPL2')
depends=('openssl' 'libjpeg' 'zlib' 'libx11' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
diff --git a/extra/x264/PKGBUILD b/extra/x264/PKGBUILD
index 90508716e..29de1fd05 100644
--- a/extra/x264/PKGBUILD
+++ b/extra/x264/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=x264
pkgver=20110617
pkgrel=1
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')
@@ -18,7 +18,9 @@ md5sums=('928717aa2f0c7ca91e589d6b60e688f1')
build() {
cd "$srcdir/$pkgname-snapshot-$pkgver-2245"
- ./configure --enable-shared
+ [ "$CARCH" = "mips64el" ] && extra="--enable-pic"
+
+ ./configure --enable-shared $extra
make
make DESTDIR="$pkgdir" \
diff --git a/extra/x2x/PKGBUILD b/extra/x2x/PKGBUILD
index 8389e2ef8..3fa89f714 100644
--- a/extra/x2x/PKGBUILD
+++ b/extra/x2x/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=x2x
pkgver=1.27
pkgrel=6
pkgdesc="Control one X display from another"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="https://github.com/dottedmag/x2x"
license=('custom')
depends=('libxtst')
diff --git a/extra/xaos/PKGBUILD b/extra/xaos/PKGBUILD
index 4f958385b..9635c0e9b 100644
--- a/extra/xaos/PKGBUILD
+++ b/extra/xaos/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xaos
pkgver=3.5
pkgrel=3
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 8854d9e98..931513921 100644
--- a/extra/xaw3d/PKGBUILD
+++ b/extra/xaw3d/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xaw3d
pkgver=1.5E
pkgrel=3
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' 'libxpm')
diff --git a/extra/xawtv/PKGBUILD b/extra/xawtv/PKGBUILD
index e9876a82e..4bd5f8da5 100644
--- a/extra/xawtv/PKGBUILD
+++ b/extra/xawtv/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xawtv
pkgver=3.101
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')
diff --git a/extra/xbill/PKGBUILD b/extra/xbill/PKGBUILD
index 98054c7eb..7b9503c78 100644
--- a/extra/xbill/PKGBUILD
+++ b/extra/xbill/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xbill
pkgver=2.1
pkgrel=7
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')
diff --git a/extra/xcb-util/PKGBUILD b/extra/xcb-util/PKGBUILD
index 0045d6837..38c273bac 100644
--- a/extra/xcb-util/PKGBUILD
+++ b/extra/xcb-util/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xcb-util
pkgver=0.3.6
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.4')
diff --git a/extra/xchm/PKGBUILD b/extra/xchm/PKGBUILD
index 6c76cc559..613d13d0f 100644
--- a/extra/xchm/PKGBUILD
+++ b/extra/xchm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xchm
pkgver=1.20
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')
@@ -20,7 +20,9 @@ md5sums=('85943645d20af536704a20b58ebd5849'
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 57834cdc0..d14e1bb42 100644
--- a/extra/xclip/PKGBUILD
+++ b/extra/xclip/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xclip
pkgver=0.12
pkgrel=2
pkgdesc='Command line interface to the X11 clipboard'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://sourceforge.net/projects/xclip'
license=('GPL')
depends=('libxmu')
diff --git a/extra/xcompmgr/PKGBUILD b/extra/xcompmgr/PKGBUILD
index 817b015b1..4769d7443 100644
--- a/extra/xcompmgr/PKGBUILD
+++ b/extra/xcompmgr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xcompmgr
pkgver=1.1.5
pkgrel=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')
diff --git a/extra/xdelta/PKGBUILD b/extra/xdelta/PKGBUILD
index dabc0db1c..c50fe5969 100644
--- a/extra/xdelta/PKGBUILD
+++ b/extra/xdelta/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xdelta
pkgver=1.1.4
pkgrel=3
pkgdesc="binary file delta generator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/xdelta/"
license=('GPL')
depends=('glib' 'zlib')
diff --git a/extra/xdelta3/PKGBUILD b/extra/xdelta3/PKGBUILD
index a8149d55c..a7d6c3533 100644
--- a/extra/xdelta3/PKGBUILD
+++ b/extra/xdelta3/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xdelta3
pkgver=3.0.0
pkgrel=1
pkgdesc="A diff utility which works with binary files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xdelta.org/"
license=('GPL')
makedepends=('python2')
diff --git a/extra/xf86-input-acecad/PKGBUILD b/extra/xf86-input-acecad/PKGBUILD
index 9ec6a2995..f2bfca2e6 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=1
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 0ed562321..61a054eb2 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=1
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 cd181ad42..b524d10ac 100644
--- a/extra/xf86-input-evdev/PKGBUILD
+++ b/extra/xf86-input-evdev/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-input-evdev
pkgver=2.6.0
pkgrel=3
pkgdesc="X.org evdev 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-joystick/PKGBUILD b/extra/xf86-input-joystick/PKGBUILD
index b6ffda70b..c4e4af6f8 100644
--- a/extra/xf86-input-joystick/PKGBUILD
+++ b/extra/xf86-input-joystick/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-input-joystick
pkgver=1.6.0
pkgrel=1
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-keyboard/PKGBUILD b/extra/xf86-input-keyboard/PKGBUILD
index 74318a046..abfcf931a 100644
--- a/extra/xf86-input-keyboard/PKGBUILD
+++ b/extra/xf86-input-keyboard/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-input-keyboard
pkgver=1.6.0
pkgrel=2
pkgdesc="X.Org keyboard 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-mouse/PKGBUILD b/extra/xf86-input-mouse/PKGBUILD
index 6d96d55e9..61ce843bd 100644
--- a/extra/xf86-input-mouse/PKGBUILD
+++ b/extra/xf86-input-mouse/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-input-mouse
pkgver=1.7.1
pkgrel=1
pkgdesc="X.org mouse 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-synaptics/PKGBUILD b/extra/xf86-input-synaptics/PKGBUILD
index 52979a01c..cd8dce772 100644
--- a/extra/xf86-input-synaptics/PKGBUILD
+++ b/extra/xf86-input-synaptics/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=xf86-input-synaptics
pkgver=1.4.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')
diff --git a/extra/xf86-input-void/PKGBUILD b/extra/xf86-input-void/PKGBUILD
index 004bf14a9..ab7400c55 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=1
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 7c96f58c0..3a3607553 100644
--- a/extra/xf86-input-wacom/PKGBUILD
+++ b/extra/xf86-input-wacom/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xf86-input-wacom
pkgver=0.11.1
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-apm/PKGBUILD b/extra/xf86-video-apm/PKGBUILD
index 649a8d7ae..0fda16708 100644
--- a/extra/xf86-video-apm/PKGBUILD
+++ b/extra/xf86-video-apm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-apm
pkgver=1.2.3
pkgrel=3
pkgdesc="X.org Alliance ProMotion 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-ark/PKGBUILD b/extra/xf86-video-ark/PKGBUILD
index c924c8b8d..03e1340b0 100644
--- a/extra/xf86-video-ark/PKGBUILD
+++ b/extra/xf86-video-ark/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-ark
pkgver=0.7.3
pkgrel=3
pkgdesc="X.org ark 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-ast/PKGBUILD b/extra/xf86-video-ast/PKGBUILD
index 46183729c..0920103f8 100644
--- a/extra/xf86-video-ast/PKGBUILD
+++ b/extra/xf86-video-ast/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-ast
pkgver=0.91.10
pkgrel=3
pkgdesc="X.org ASPEED AST Graphics 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-ati/PKGBUILD b/extra/xf86-video-ati/PKGBUILD
index c10416455..47b339cd1 100644
--- a/extra/xf86-video-ati/PKGBUILD
+++ b/extra/xf86-video-ati/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-video-ati
pkgver=6.14.2
pkgrel=1
pkgdesc="X.org ati video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=(libpciaccess libdrm udev pixman ati-dri)
diff --git a/extra/xf86-video-chips/PKGBUILD b/extra/xf86-video-chips/PKGBUILD
index 655847922..c190ad607 100644
--- a/extra/xf86-video-chips/PKGBUILD
+++ b/extra/xf86-video-chips/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-video-chips
pkgver=1.2.4
pkgrel=2
pkgdesc="X.org Chips and Technologies 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-cirrus/PKGBUILD b/extra/xf86-video-cirrus/PKGBUILD
index b0043635d..7c9c76d07 100644
--- a/extra/xf86-video-cirrus/PKGBUILD
+++ b/extra/xf86-video-cirrus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-cirrus
pkgver=1.3.2
pkgrel=6
pkgdesc="X.org Cirrus Logic 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-dummy/PKGBUILD b/extra/xf86-video-dummy/PKGBUILD
index 3b7a1e6d1..8332a0ff4 100644
--- a/extra/xf86-video-dummy/PKGBUILD
+++ b/extra/xf86-video-dummy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-dummy
pkgver=0.3.4
pkgrel=4
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 12edc4e6a..cc8854074 100644
--- a/extra/xf86-video-fbdev/PKGBUILD
+++ b/extra/xf86-video-fbdev/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-fbdev
pkgver=0.4.2
pkgrel=4
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-glint/PKGBUILD b/extra/xf86-video-glint/PKGBUILD
index 2a0e8dbb1..5483e651f 100644
--- a/extra/xf86-video-glint/PKGBUILD
+++ b/extra/xf86-video-glint/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-glint
pkgver=1.2.5
pkgrel=2
pkgdesc="X.org GLINT/Permedia 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-i128/PKGBUILD b/extra/xf86-video-i128/PKGBUILD
index c8f10156e..07daad5ba 100644
--- a/extra/xf86-video-i128/PKGBUILD
+++ b/extra/xf86-video-i128/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-i128
pkgver=1.3.4
pkgrel=3
pkgdesc="X.org Number 9 I128 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-i740/PKGBUILD b/extra/xf86-video-i740/PKGBUILD
index 4316de76b..49bcf9de7 100644
--- a/extra/xf86-video-i740/PKGBUILD
+++ b/extra/xf86-video-i740/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-i740
pkgver=1.3.2
pkgrel=6
pkgdesc="X.org Intel i740 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-intel/PKGBUILD b/extra/xf86-video-intel/PKGBUILD
index 2f845c4d8..ed9252daa 100644
--- a/extra/xf86-video-intel/PKGBUILD
+++ b/extra/xf86-video-intel/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-intel
pkgver=2.15.0
pkgrel=2
pkgdesc="X.org Intel i810/i830/i915/945G/G965+ video drivers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=(intel-dri libxvmc libpciaccess libdrm xcb-util libxfixes udev)
diff --git a/extra/xf86-video-mach64/PKGBUILD b/extra/xf86-video-mach64/PKGBUILD
index 75c9792c5..41a83c7ac 100644
--- a/extra/xf86-video-mach64/PKGBUILD
+++ b/extra/xf86-video-mach64/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-mach64
pkgver=6.9.0
pkgrel=1
pkgdesc="X.org mach64 video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'mach64-dri')
diff --git a/extra/xf86-video-mga/PKGBUILD b/extra/xf86-video-mga/PKGBUILD
index c9793ef73..e67021a97 100644
--- a/extra/xf86-video-mga/PKGBUILD
+++ b/extra/xf86-video-mga/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-mga
pkgver=1.4.13
pkgrel=3
pkgdesc="X.org mga video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'mga-dri')
diff --git a/extra/xf86-video-neomagic/PKGBUILD b/extra/xf86-video-neomagic/PKGBUILD
index 0b6469a69..89650f9a2 100644
--- a/extra/xf86-video-neomagic/PKGBUILD
+++ b/extra/xf86-video-neomagic/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-neomagic
pkgver=1.2.5
pkgrel=4
pkgdesc="X.org neomagic 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-nouveau/PKGBUILD b/extra/xf86-video-nouveau/PKGBUILD
index 1f5a83097..c86785a07 100644
--- a/extra/xf86-video-nouveau/PKGBUILD
+++ b/extra/xf86-video-nouveau/PKGBUILD
@@ -7,7 +7,7 @@ _gitdate=20110726
pkgver=0.0.16_git${_gitdate} # see configure.ac
pkgrel=1
pkgdesc="Open Source 3D acceleration driver for nVidia cards (experimental)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://nouveau.freedesktop.org/wiki/"
license=('GPL') #and MIT, not yet a license file, see http://nouveau.freedesktop.org/wiki/FAQ#head-09f75d03eb30011c754038a3893119a70745de4e
depends=('libdrm' 'udev')
diff --git a/extra/xf86-video-nv/PKGBUILD b/extra/xf86-video-nv/PKGBUILD
index 0ec636081..2e5ce4daf 100644
--- a/extra/xf86-video-nv/PKGBUILD
+++ b/extra/xf86-video-nv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-nv
pkgver=2.1.18
pkgrel=3
pkgdesc="X.org nv 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-openchrome/PKGBUILD b/extra/xf86-video-openchrome/PKGBUILD
index c49885397..05282816d 100644
--- a/extra/xf86-video-openchrome/PKGBUILD
+++ b/extra/xf86-video-openchrome/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-video-openchrome
pkgver=0.2.904
pkgrel=5
pkgdesc="X.Org Openchrome drivers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://www.openchrome.org"
depends=('libdrm' 'libxvmc' 'unichrome-dri')
diff --git a/extra/xf86-video-r128/PKGBUILD b/extra/xf86-video-r128/PKGBUILD
index 44c710729..989b9d964 100644
--- a/extra/xf86-video-r128/PKGBUILD
+++ b/extra/xf86-video-r128/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-r128
pkgver=6.8.1
pkgrel=6
pkgdesc="X.org ati Rage128 video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'r128-dri')
diff --git a/extra/xf86-video-rendition/PKGBUILD b/extra/xf86-video-rendition/PKGBUILD
index 7c664a61b..39238c62d 100644
--- a/extra/xf86-video-rendition/PKGBUILD
+++ b/extra/xf86-video-rendition/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-rendition
pkgver=4.2.4
pkgrel=4
pkgdesc="X.org Rendition 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-s3/PKGBUILD b/extra/xf86-video-s3/PKGBUILD
index fb0233d05..3512d248e 100644
--- a/extra/xf86-video-s3/PKGBUILD
+++ b/extra/xf86-video-s3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-s3
pkgver=0.6.3
pkgrel=5
pkgdesc="X.org S3 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-s3virge/PKGBUILD b/extra/xf86-video-s3virge/PKGBUILD
index 9e5e00ff6..2deeaa2d6 100644
--- a/extra/xf86-video-s3virge/PKGBUILD
+++ b/extra/xf86-video-s3virge/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-video-s3virge
pkgver=1.10.4
pkgrel=5
pkgdesc="X.org S3 Virge 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-savage/PKGBUILD b/extra/xf86-video-savage/PKGBUILD
index 14c73b0a8..32d8afda3 100644
--- a/extra/xf86-video-savage/PKGBUILD
+++ b/extra/xf86-video-savage/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-savage
pkgver=2.3.2
pkgrel=2
pkgdesc="X.org savage video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'savage-dri')
diff --git a/extra/xf86-video-siliconmotion/PKGBUILD b/extra/xf86-video-siliconmotion/PKGBUILD
index fc72fd1c9..ceeb4f2d2 100644
--- a/extra/xf86-video-siliconmotion/PKGBUILD
+++ b/extra/xf86-video-siliconmotion/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=xf86-video-siliconmotion
pkgver=1.7.5
-pkgrel=2
+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')
@@ -14,11 +14,14 @@ makedepends=('xorg-server-devel')
conflicts=('xorg-server<1.10.0')
options=('!libtool')
groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('946acae0822d51da57abe8b7ed049691bd731589')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+ 99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff)
+sha1sums=('946acae0822d51da57abe8b7ed049691bd731589'
+ '84c98a3341d92ed678ad0dee2033d571bd6b29ca')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ [ "$CARCH" = "mips64el" ] && patch -Np0 -i ${srcdir}/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
./configure --prefix=/usr
make
make DESTDIR="${pkgdir}" install
diff --git a/extra/xf86-video-sis/PKGBUILD b/extra/xf86-video-sis/PKGBUILD
index 04958c1c4..436f1e3cb 100644
--- a/extra/xf86-video-sis/PKGBUILD
+++ b/extra/xf86-video-sis/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-sis
pkgver=0.10.3
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' 'sis-dri')
diff --git a/extra/xf86-video-sisusb/PKGBUILD b/extra/xf86-video-sisusb/PKGBUILD
index 1a425a0c5..742f88476 100644
--- a/extra/xf86-video-sisusb/PKGBUILD
+++ b/extra/xf86-video-sisusb/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-sisusb
pkgver=0.9.4
pkgrel=4
pkgdesc="X.org SiS USB 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-tdfx/PKGBUILD b/extra/xf86-video-tdfx/PKGBUILD
index d164f8f49..eb32b5384 100644
--- a/extra/xf86-video-tdfx/PKGBUILD
+++ b/extra/xf86-video-tdfx/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-tdfx
pkgver=1.4.3
pkgrel=6
pkgdesc="X.org tdfx video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'tdfx-dri')
diff --git a/extra/xf86-video-trident/PKGBUILD b/extra/xf86-video-trident/PKGBUILD
index 07e2475b0..7e36853f7 100644
--- a/extra/xf86-video-trident/PKGBUILD
+++ b/extra/xf86-video-trident/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-trident
pkgver=1.3.4
pkgrel=4
pkgdesc="X.org Trident 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-tseng/PKGBUILD b/extra/xf86-video-tseng/PKGBUILD
index f252044c5..ea81f157b 100644
--- a/extra/xf86-video-tseng/PKGBUILD
+++ b/extra/xf86-video-tseng/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-tseng
pkgver=1.2.4
pkgrel=4
pkgdesc="X.org tseng 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-unichrome/PKGBUILD b/extra/xf86-video-unichrome/PKGBUILD
index 71172840e..004ca502b 100644
--- a/extra/xf86-video-unichrome/PKGBUILD
+++ b/extra/xf86-video-unichrome/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.7
pkgrel=5
_gitversion=cd12cce88ff886031c23c743569fba97eccace4e
pkgdesc="Unichrome video drivers for X.Org"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://unichrome.sf.net/"
license=('custom')
depends=('glibc' 'unichrome-dri')
diff --git a/extra/xf86-video-v4l/PKGBUILD b/extra/xf86-video-v4l/PKGBUILD
index 28d1c8c05..777732b84 100644
--- a/extra/xf86-video-v4l/PKGBUILD
+++ b/extra/xf86-video-v4l/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-v4l
pkgver=0.2.0
pkgrel=8
pkgdesc="X.org v4l 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-vesa/PKGBUILD b/extra/xf86-video-vesa/PKGBUILD
index d5778d23f..474b78f57 100644
--- a/extra/xf86-video-vesa/PKGBUILD
+++ b/extra/xf86-video-vesa/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-vesa
pkgver=2.3.0
pkgrel=5
pkgdesc="X.org vesa 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-voodoo/PKGBUILD b/extra/xf86-video-voodoo/PKGBUILD
index ea146879f..c69a03e85 100644
--- a/extra/xf86-video-voodoo/PKGBUILD
+++ b/extra/xf86-video-voodoo/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-voodoo
pkgver=1.2.4
pkgrel=4
pkgdesc="X.org 3dfx Voodoo1/Voodoo2 2D 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-xgi/PKGBUILD b/extra/xf86-video-xgi/PKGBUILD
index 0c06d0615..2a177c9ab 100644
--- a/extra/xf86-video-xgi/PKGBUILD
+++ b/extra/xf86-video-xgi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-xgi
pkgver=1.6.0
pkgrel=3
pkgdesc="X.org XGI 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-xgixp/PKGBUILD b/extra/xf86-video-xgixp/PKGBUILD
index 30d34d3a5..7f98b9990 100644
--- a/extra/xf86-video-xgixp/PKGBUILD
+++ b/extra/xf86-video-xgixp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-xgixp
pkgver=1.8.0
pkgrel=3
pkgdesc="X.org XGIXP 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 131dc466a..2e7aec3bf 100755
--- a/extra/xfburn/PKGBUILD
+++ b/extra/xfburn/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=xfburn
pkgver=0.4.3
pkgrel=4
-arch=('i686' 'x86_64')
+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/xfce-utils/PKGBUILD b/extra/xfce-utils/PKGBUILD
index abf733525..c2357428b 100644
--- a/extra/xfce-utils/PKGBUILD
+++ b/extra/xfce-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce-utils
pkgver=4.8.2
pkgrel=1
pkgdesc="Utilities for Xfce"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
@@ -30,7 +30,7 @@ build() {
--disable-static \
--enable-dbus \
--disable-debug \
- --with-vendor-info=ArchLinux # --enable-gen-doc \
+ --with-vendor-info=Parabola # --enable-gen-doc \
make
}
diff --git a/extra/xfce4-appfinder/PKGBUILD b/extra/xfce4-appfinder/PKGBUILD
index 9eac46486..7f90bbdfa 100644
--- a/extra/xfce4-appfinder/PKGBUILD
+++ b/extra/xfce4-appfinder/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-appfinder
pkgver=4.8.0
pkgrel=1
pkgdesc="Xfce application finder"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
diff --git a/extra/xfce4-battery-plugin/PKGBUILD b/extra/xfce4-battery-plugin/PKGBUILD
index 62e2ae5bd..70b47aa06 100644
--- a/extra/xfce4-battery-plugin/PKGBUILD
+++ b/extra/xfce4-battery-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-battery-plugin
pkgver=1.0.0
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 3629b0725..0c6eb27fe 100644
--- a/extra/xfce4-clipman-plugin/PKGBUILD
+++ b/extra/xfce4-clipman-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-clipman-plugin
pkgver=1.1.3
pkgrel=2
pkgdesc="A clipboard 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-clipman-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-cpufreq-plugin/PKGBUILD b/extra/xfce4-cpufreq-plugin/PKGBUILD
index bea6bf602..f1d95fe32 100644
--- a/extra/xfce4-cpufreq-plugin/PKGBUILD
+++ b/extra/xfce4-cpufreq-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-cpufreq-plugin
pkgver=1.0.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 f775fcce7..615fcc123 100644
--- a/extra/xfce4-cpugraph-plugin/PKGBUILD
+++ b/extra/xfce4-cpugraph-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-cpugraph-plugin
pkgver=1.0.1
pkgrel=2
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 3d9e2a532..8a6e7d9aa 100644
--- a/extra/xfce4-datetime-plugin/PKGBUILD
+++ b/extra/xfce4-datetime-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-datetime-plugin
pkgver=0.6.1
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')
diff --git a/extra/xfce4-dict/PKGBUILD b/extra/xfce4-dict/PKGBUILD
index 344d7f37d..508d5b92b 100644
--- a/extra/xfce4-dict/PKGBUILD
+++ b/extra/xfce4-dict/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-dict
pkgver=0.6.0
pkgrel=1
pkgdesc="A dictionary plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/applications/xfce4-dict"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-diskperf-plugin/PKGBUILD b/extra/xfce4-diskperf-plugin/PKGBUILD
index 11af81a49..4d06b2822 100644
--- a/extra/xfce4-diskperf-plugin/PKGBUILD
+++ b/extra/xfce4-diskperf-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-diskperf-plugin
pkgver=2.3.0
pkgrel=1
pkgdesc="Plugin for the Xfce4 panel displaying instant disk/partition performance"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
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 454c329c4..50dd5e8b6 100644
--- a/extra/xfce4-eyes-plugin/PKGBUILD
+++ b/extra/xfce4-eyes-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-eyes-plugin
pkgver=4.4.1
pkgrel=1
pkgdesc="A rolling eyes (following mouse pointer) 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-fsguard-plugin/PKGBUILD b/extra/xfce4-fsguard-plugin/PKGBUILD
index 11202e348..751b3c26b 100644
--- a/extra/xfce4-fsguard-plugin/PKGBUILD
+++ b/extra/xfce4-fsguard-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-fsguard-plugin
pkgver=1.0.0
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 8e631a255..d7a4bf2c0 100644
--- a/extra/xfce4-genmon-plugin/PKGBUILD
+++ b/extra/xfce4-genmon-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-genmon-plugin
pkgver=3.3.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 234f034ad..58113add0 100644
--- a/extra/xfce4-mailwatch-plugin/PKGBUILD
+++ b/extra/xfce4-mailwatch-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-mailwatch-plugin
pkgver=1.1.0
pkgrel=3
pkgdesc="A mailbox watch/check plugin for the Xfce4 panel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://spurint.org/projects/xfce4-mailwatch-plugin/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-mixer/PKGBUILD b/extra/xfce4-mixer/PKGBUILD
index dd0e3337f..2a611c91f 100644
--- a/extra/xfce4-mixer/PKGBUILD
+++ b/extra/xfce4-mixer/PKGBUILD
@@ -5,15 +5,15 @@ pkgname=xfce4-mixer
pkgver=4.8.0
pkgrel=1
pkgdesc="The volume control plugin for the Xfce panel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
depends=("xfce4-panel>=4.8.0" 'gstreamer0.10-base>=0.10.22' 'hicolor-icon-theme')
makedepends=('intltool')
-optdepends=('gstreamer0.10-base-plugins: to support basic audio hardware' \
- 'gstreamer0.10-good-plugins: well supported hardware'\
- 'gstreamer0.10-bad-plugins: not so well supported hardware'\
+optdepends=('gstreamer0.10-base-plugins: to support basic audio hardware'
+ 'gstreamer0.10-good-plugins: well supported hardware'
+ 'gstreamer0.10-bad-plugins: not so well supported hardware'
'gstreamer0.10-ugly-plugins: might contain questionable license hardware')
options=('!libtool')
install=${pkgname}.install
diff --git a/extra/xfce4-mount-plugin/PKGBUILD b/extra/xfce4-mount-plugin/PKGBUILD
index 72cd37aca..3e735e931 100644
--- a/extra/xfce4-mount-plugin/PKGBUILD
+++ b/extra/xfce4-mount-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-mount-plugin
pkgver=0.5.5
pkgrel=1
pkgdesc="plugin for the Xfce4 panel to mount and unmount volumes"
-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-mpc-plugin/PKGBUILD b/extra/xfce4-mpc-plugin/PKGBUILD
index 13a03f4e2..159a79844 100644
--- a/extra/xfce4-mpc-plugin/PKGBUILD
+++ b/extra/xfce4-mpc-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-mpc-plugin
pkgver=0.3.6
pkgrel=1
pkgdesc="plugin to control the music player daemon from the xfce4-panel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-netload-plugin/PKGBUILD b/extra/xfce4-netload-plugin/PKGBUILD
index 363df6eb7..642deaf20 100644
--- a/extra/xfce4-netload-plugin/PKGBUILD
+++ b/extra/xfce4-netload-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-netload-plugin
pkgver=1.0.0
pkgrel=1
pkgdesc="A netload 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-notes-plugin/PKGBUILD b/extra/xfce4-notes-plugin/PKGBUILD
index 889e1ac02..4bb356307 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=2
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 c08a9d259..90f060e99 100644
--- a/extra/xfce4-notifyd/PKGBUILD
+++ b/extra/xfce4-notifyd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-notifyd
pkgver=0.2.1
pkgrel=1
pkgdesc="notification daemon for the xfce desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/applications/xfce4-notifyd"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-panel/PKGBUILD b/extra/xfce4-panel/PKGBUILD
index f0096c1b1..c7e9014b2 100644
--- a/extra/xfce4-panel/PKGBUILD
+++ b/extra/xfce4-panel/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-panel
pkgver=4.8.5
pkgrel=1
pkgdesc="Panel for the Xfce desktop environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
diff --git a/extra/xfce4-power-manager/PKGBUILD b/extra/xfce4-power-manager/PKGBUILD
index 9992fc0a4..13b2ef273 100644
--- a/extra/xfce4-power-manager/PKGBUILD
+++ b/extra/xfce4-power-manager/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-power-manager
pkgver=1.0.10
pkgrel=2
pkgdesc="power manager for xfce4 desktop"
-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-quicklauncher-plugin/PKGBUILD b/extra/xfce4-quicklauncher-plugin/PKGBUILD
index d783ecf24..272feb35e 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=5
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 4db623812..d3f48ed72 100644
--- a/extra/xfce4-screenshooter/PKGBUILD
+++ b/extra/xfce4-screenshooter/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-screenshooter
pkgver=1.7.9
pkgrel=2
pkgdesc="plugin that makes screenshots for the Xfce4 panel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-sensors-plugin/PKGBUILD b/extra/xfce4-sensors-plugin/PKGBUILD
index 69a940b61..9b54c03f4 100644
--- a/extra/xfce4-sensors-plugin/PKGBUILD
+++ b/extra/xfce4-sensors-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-sensors-plugin
pkgver=1.2.3
pkgrel=1
pkgdesc="A lm_sensors plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-session/PKGBUILD b/extra/xfce4-session/PKGBUILD
index f59b70390..905d8ef2f 100644
--- a/extra/xfce4-session/PKGBUILD
+++ b/extra/xfce4-session/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-session
pkgver=4.8.1
pkgrel=2
pkgdesc="A session manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
diff --git a/extra/xfce4-settings/PKGBUILD b/extra/xfce4-settings/PKGBUILD
index ba264dd3d..c12fdbd4c 100644
--- a/extra/xfce4-settings/PKGBUILD
+++ b/extra/xfce4-settings/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-settings
pkgver=4.8.2
pkgrel=1
pkgdesc="Settings manager for xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
diff --git a/extra/xfce4-smartbookmark-plugin/PKGBUILD b/extra/xfce4-smartbookmark-plugin/PKGBUILD
index 8493b93ea..ec817b2d2 100644
--- a/extra/xfce4-smartbookmark-plugin/PKGBUILD
+++ b/extra/xfce4-smartbookmark-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-smartbookmark-plugin
pkgver=0.4.2
pkgrel=9
pkgdesc="plugin for the Xfce4 panel that let you quicksearch from selected websites"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-systemload-plugin/PKGBUILD b/extra/xfce4-systemload-plugin/PKGBUILD
index a499ab317..31656ceed 100644
--- a/extra/xfce4-systemload-plugin/PKGBUILD
+++ b/extra/xfce4-systemload-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-systemload-plugin
pkgver=1.0.0
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 477abe743..b9a7f1ebf 100644
--- a/extra/xfce4-taskmanager/PKGBUILD
+++ b/extra/xfce4-taskmanager/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xfce4-taskmanager
pkgver=1.0.0
pkgrel=2
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-time-out-plugin/PKGBUILD b/extra/xfce4-time-out-plugin/PKGBUILD
index 119084172..5165c329a 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.0
pkgrel=1
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 97abd1269..df606bd8e 100644
--- a/extra/xfce4-timer-plugin/PKGBUILD
+++ b/extra/xfce4-timer-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-timer-plugin
pkgver=0.6.1
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 1c1586a0e..e416ca41c 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=1
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 69976a7b2..2a531db88 100644
--- a/extra/xfce4-wavelan-plugin/PKGBUILD
+++ b/extra/xfce4-wavelan-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-wavelan-plugin
pkgver=0.5.6
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 fb57ce0f3..ecba2a317 100644
--- a/extra/xfce4-weather-plugin/PKGBUILD
+++ b/extra/xfce4-weather-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-weather-plugin
pkgver=0.7.4
pkgrel=1
pkgdesc="A weather 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-weather-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-xkb-plugin/PKGBUILD b/extra/xfce4-xkb-plugin/PKGBUILD
index d662d4958..df9b426b5 100644
--- a/extra/xfce4-xkb-plugin/PKGBUILD
+++ b/extra/xfce4-xkb-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-xkb-plugin
pkgver=0.5.4.1
pkgrel=1
pkgdesc="plugin to switch keyboard layouts for the Xfce4 panel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfconf/PKGBUILD b/extra/xfconf/PKGBUILD
index 0c5496af8..8f57230a6 100644
--- a/extra/xfconf/PKGBUILD
+++ b/extra/xfconf/PKGBUILD
@@ -4,16 +4,17 @@
pkgname=xfconf
pkgver=4.8.0
-pkgrel=2
+pkgrel=3
pkgdesc="a simple client-server configuration storage and query system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
# http://www.xfce.org/documentation/requirements
# keep dbus and gtk2, see also http://bugs.archlinux.org/task/14536
depends=( "libxfce4util>=4.8.0" "dbus-glib" 'dbus' 'gtk2')
-makedepends=('pkgconfig' 'perl-extutils-depends' 'perl-extutils-pkgconfig' 'glib-perl' 'intltool' 'gtk-doc' 'chrpath')
+makedepends=('pkgconfig' 'perl-extutils-depends' 'perl-extutils-pkgconfig'
+'perl-xml-parser' 'glib-perl' 'intltool' 'gtk-doc' 'chrpath')
options=('!libtool' '!emptydirs')
source=(http://archive.xfce.org/src/xfce/${pkgname}/4.8/${pkgname}-${pkgver}.tar.bz2)
md5sums=('0f11ed1ec7789c5c4c3fcc7cdb3c2940')
diff --git a/extra/xfdesktop/PKGBUILD b/extra/xfdesktop/PKGBUILD
index 08901285f..8c039765c 100644
--- a/extra/xfdesktop/PKGBUILD
+++ b/extra/xfdesktop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfdesktop
pkgver=4.8.2
pkgrel=2
pkgdesc="A desktop manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
diff --git a/extra/xfig/PKGBUILD b/extra/xfig/PKGBUILD
index 45c07d0dc..faf519d2d 100644
--- a/extra/xfig/PKGBUILD
+++ b/extra/xfig/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xfig
pkgver=3.2.5b
pkgrel=5
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' 'xaw3d' 'libxi' 'desktop-file-utils' 'gsfonts')
diff --git a/extra/xfwm4-themes/PKGBUILD b/extra/xfwm4-themes/PKGBUILD
index 2e6f414e6..8ab8b4672 100644
--- a/extra/xfwm4-themes/PKGBUILD
+++ b/extra/xfwm4-themes/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xfwm4-themes
pkgver=4.6.0
pkgrel=1
pkgdesc="A set of additionnal themes for the Xfce window manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
diff --git a/extra/xfwm4/PKGBUILD b/extra/xfwm4/PKGBUILD
index a7d92fb73..5ed044440 100644
--- a/extra/xfwm4/PKGBUILD
+++ b/extra/xfwm4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfwm4
pkgver=4.8.1
pkgrel=1
pkgdesc="Xfce window manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/"
groups=('xfce4')
diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD
index ecaf308d2..ffdf094aa 100644
--- a/extra/xine-lib/PKGBUILD
+++ b/extra/xine-lib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xine-lib
pkgver=1.1.19
pkgrel=3
pkgdesc="A multimedia playback engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xine-project.org"
license=('LGPL' 'GPL')
depends=('libgl' 'libxvmc' 'flac' 'ffmpeg' 'libxinerama')
diff --git a/extra/xine-ui/PKGBUILD b/extra/xine-ui/PKGBUILD
index 9cc134600..f22c7665c 100644
--- a/extra/xine-ui/PKGBUILD
+++ b/extra/xine-ui/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xine-ui
pkgver=0.99.6
pkgrel=2
pkgdesc="A free video player for Unix"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.xine-project.org"
depends=('xine-lib' 'curl' 'libxtst' 'libxinerama' 'libxv' 'libpng' 'libxft'
diff --git a/extra/xmahjongg/PKGBUILD b/extra/xmahjongg/PKGBUILD
index 56df4a23f..2e954d29d 100644
--- a/extra/xmahjongg/PKGBUILD
+++ b/extra/xmahjongg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xmahjongg
pkgver=3.7
pkgrel=4
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 d44420d1f..aa48f707b 100644
--- a/extra/xmlsec/PKGBUILD
+++ b/extra/xmlsec/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.2.18
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>=1.1.26' 'openssl>=1.0.0' 'gnutls>=2.12.7' 'nss>=3.12.10' 'libtool')
makedepends=('pkgconfig')
diff --git a/extra/xmlto/PKGBUILD b/extra/xmlto/PKGBUILD
index b83953432..dbbbbf2a7 100644
--- a/extra/xmlto/PKGBUILD
+++ b/extra/xmlto/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=xmlto
pkgver=0.0.24
pkgrel=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 628a19404..90020879c 100644
--- a/extra/xmms/PKGBUILD
+++ b/extra/xmms/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xmms
pkgver=1.2.11
pkgrel=4
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' 'desktop-file-utils')
diff --git a/extra/xorg-iceauth/PKGBUILD b/extra/xorg-iceauth/PKGBUILD
index 9063e3a4d..8af9aa2b0 100644
--- a/extra/xorg-iceauth/PKGBUILD
+++ b/extra/xorg-iceauth/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-iceauth
pkgver=1.0.5
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-server/PKGBUILD b/extra/xorg-server/PKGBUILD
index 7045d4ed8..d40dd9d01 100644
--- a/extra/xorg-server/PKGBUILD
+++ b/extra/xorg-server/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=2
arch=('i686' 'x86_64')
license=('custom')
url="http://xorg.freedesktop.org"
-makedepends=('pixman' 'libx11' 'mesa' 'libgl' 'xf86driproto' 'xcmiscproto' 'xtrans' 'bigreqsproto' 'randrproto' 'inputproto' 'fontsproto' 'videoproto' 'compositeproto' 'recordproto' 'scrnsaverproto' 'resourceproto' 'xineramaproto' 'libxkbfile' 'libxfont' 'renderproto' 'libpciaccess' 'libxv' 'xf86dgaproto' 'libxmu' 'libxrender' 'libxi' 'dmxproto' 'libxaw' 'libdmx' 'libxtst' 'libxres' 'xorg-xkbcomp' 'xorg-util-macros' 'xorg-font-util')
+makedepends=('pixman' 'libx11' 'mesa' 'libgl' 'xf86driproto' 'xcmiscproto' 'xtrans' 'bigreqsproto' 'randrproto' 'inputproto' 'fontsproto' 'videoproto' 'compositeproto' 'recordproto' 'scrnsaverproto' 'resourceproto' 'xineramaproto' 'libxkbfile' 'libxfont' 'renderproto' 'libpciaccess' 'libxv' 'xf86dgaproto' 'libxmu' 'libxrender' 'libxi' 'dmxproto' 'libxaw' 'libdmx' 'libxtst' 'libxres' 'xorg-xkbcomp')
options=('!libtool')
source=(${url}/releases/individual/xserver/${pkgbase}-${pkgver}.tar.bz2
#git-fixes.patch
@@ -31,11 +31,8 @@ sha1sums=('1699be5c0edeca553cfa3ee6caa228483465136b'
build() {
cd "${srcdir}/${pkgbase}-${pkgver}"
- # Get rid of the ugly pattern
- patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch"
- # Add pointer barrier support, patch from Fedora
- patch -Np1 -i "${srcdir}/xserver-1.10-pointer-barriers.patch"
+ patch -Np1 -i "${srcdir}/vbe-fix-malloc-size-bug.patch"
# Patches from ~ajax/xserver xserver-next branch
patch -Np1 -i "${srcdir}/bg-none-revert.patch"
@@ -46,7 +43,6 @@ build() {
# Use nouveau/nv/nvidia drivers for nvidia devices
patch -Np1 -i "${srcdir}/autoconfig-nvidia.patch"
- autoreconf
./configure --prefix=/usr \
--enable-ipv6 \
--enable-dri \
@@ -70,6 +66,7 @@ build() {
--localstatedir=/var \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
+ --with-dri-driver-path=/usr/lib/xorg/modules/dri \
--with-fontrootdir=/usr/share/fonts
make
@@ -91,7 +88,7 @@ package_xorg-server-common() {
make -C xkb DESTDIR="${pkgdir}" install-data
install -m755 -d "${pkgdir}/usr/share/man/man1"
- install -m644 doc/man/Xserver.1 "${pkgdir}/usr/share/man/man1/"
+ install -m644 doc/Xserver.1 "${pkgdir}/usr/share/man/man1/"
install -m755 -d "${pkgdir}/usr/lib/xorg"
install -m644 dix/protocol.txt "${pkgdir}/usr/lib/xorg/"
diff --git a/extra/xorg-server/vbe-fix-malloc-size-bug.patch b/extra/xorg-server/vbe-fix-malloc-size-bug.patch
new file mode 100644
index 000000000..01ed040d4
--- /dev/null
+++ b/extra/xorg-server/vbe-fix-malloc-size-bug.patch
@@ -0,0 +1,39 @@
+From 8ffaef2ebd2611e2eed4ef97350c3a34508f5252 Mon Sep 17 00:00:00 2001
+From: Adam Jackson <ajax@redhat.com>
+Date: Thu, 24 Feb 2011 21:06:34 +0000
+Subject: vbe: Fix malloc size bug
+
+v2: Slightly more obvious sizing math.
+
+==14882== Invalid write of size 2
+==14882== at 0x6750267: VBEGetVBEInfo (vbe.c:400)
+==14882== by 0x6142064: ??? (in /usr/lib64/xorg/modules/drivers/vesa_drv.so)
+==14882== by 0x471895: InitOutput (xf86Init.c:519)
+==14882== by 0x422778: main (main.c:205)
+==14882== Address 0x4f32fa8 is 72 bytes inside a block of size 73 alloc'd
+==14882== at 0x4A0640D: malloc (vg_replace_malloc.c:236)
+==14882== by 0x675024B: VBEGetVBEInfo (vbe.c:398)
+==14882== by 0x6142064: ??? (in /usr/lib64/xorg/modules/drivers/vesa_drv.so)
+==14882== by 0x471895: InitOutput (xf86Init.c:519)
+==14882== by 0x422778: main (main.c:205)
+
+Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
+Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+Signed-off-by: Adam Jackson <ajax@redhat.com>
+(cherry picked from commit d8caa782009abf4dc17b945e325e83fda299a534)
+---
+diff --git a/hw/xfree86/vbe/vbe.c b/hw/xfree86/vbe/vbe.c
+index 7a64a4a..1d3775b 100644
+--- a/hw/xfree86/vbe/vbe.c
++++ b/hw/xfree86/vbe/vbe.c
+@@ -395,7 +395,7 @@ VBEGetVBEInfo(vbeInfoPtr pVbe)
+ i = 0;
+ while (modes[i] != 0xffff)
+ i++;
+- block->VideoModePtr = malloc(sizeof(CARD16) * i + 1);
++ block->VideoModePtr = malloc(sizeof(CARD16) * (i + 1));
+ memcpy(block->VideoModePtr, modes, sizeof(CARD16) * i);
+ block->VideoModePtr[i] = 0xffff;
+
+--
+cgit v0.8.3-6-g21f6
diff --git a/extra/xorg-xauth/PKGBUILD b/extra/xorg-xauth/PKGBUILD
index 192dcce39..fc3b2bb16 100644
--- a/extra/xorg-xauth/PKGBUILD
+++ b/extra/xorg-xauth/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xauth
pkgver=1.0.6
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-xkbcomp/PKGBUILD b/extra/xorg-xkbcomp/PKGBUILD
index dc2ec9c89..058840aac 100644
--- a/extra/xorg-xkbcomp/PKGBUILD
+++ b/extra/xorg-xkbcomp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xkbcomp
pkgver=1.2.3
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-xrdb/PKGBUILD b/extra/xorg-xrdb/PKGBUILD
index 5e404714a..cb84e2d49 100644
--- a/extra/xorg-xrdb/PKGBUILD
+++ b/extra/xorg-xrdb/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 118463 2011-04-07 07:16:02Z jgc $
+# $Id: PKGBUILD 113821 2011-03-10 15:52:04Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-xrdb
-pkgver=1.0.9
-pkgrel=1
+pkgver=1.0.8
+pkgrel=2
pkgdesc="X server resource database utility"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
@@ -12,7 +12,7 @@ depends=('libx11' 'libxmu' 'mcpp')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/xrdb-${pkgver}.tar.bz2)
-sha1sums=('efa5f2420411988d6a6e142934393fd272507857')
+sha1sums=('9bfdd09a2b303b962439910f7bccaddd69b6ca8a')
build() {
cd "${srcdir}/xrdb-${pkgver}"
diff --git a/extra/xournal/PKGBUILD b/extra/xournal/PKGBUILD
index e9c825e26..9337f08c5 100644
--- a/extra/xournal/PKGBUILD
+++ b/extra/xournal/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xournal
pkgver=0.4.5
pkgrel=4
pkgdesc='Notetaking and sketching application'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://xournal.sourceforge.net/'
license=('GPL')
depends=('libgnomecanvas' 'poppler-glib' 'shared-mime-info' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/xpdf/PKGBUILD b/extra/xpdf/PKGBUILD
index 3fda983cf..f1e05a636 100644
--- a/extra/xpdf/PKGBUILD
+++ b/extra/xpdf/PKGBUILD
@@ -9,7 +9,7 @@ _patchlevel=pl6
pkgver=${_srcver}_${_patchlevel}
pkgrel=1
pkgdesc="A viewer for Portable Document Format (PDF) files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('lesstif' 'gsfonts' 'libxt' 'desktop-file-utils')
optdepends=('poppler: pdf tools that used to be included in xpdf')
diff --git a/extra/xsane/PKGBUILD b/extra/xsane/PKGBUILD
index 531985301..0a0f1c527 100644
--- a/extra/xsane/PKGBUILD
+++ b/extra/xsane/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=xsane
pkgname=('xsane' 'xsane-gimp')
pkgver=0.998
pkgrel=1
-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/xscreensaver/PKGBUILD b/extra/xscreensaver/PKGBUILD
index a7dae6b94..ff9f3e5a4 100644
--- a/extra/xscreensaver/PKGBUILD
+++ b/extra/xscreensaver/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xscreensaver
pkgver=5.14
pkgrel=1
pkgdesc="Screen saver and locker for the X Window System"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.jwz.org/xscreensaver/"
license=('BSD')
depends=('libxxf86vm' 'libglade' 'mesa' 'pam' 'xorg-appres' 'libxmu')
diff --git a/extra/xsp/PKGBUILD b/extra/xsp/PKGBUILD
index 85730ab32..3e0a1b614 100644
--- a/extra/xsp/PKGBUILD
+++ b/extra/xsp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xsp
pkgver=2.10.2
pkgrel=1
pkgdesc="A simple webserver based on mono - provides ASP.NET support"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://www.go-mono.com"
depends=('mono>=2.10.2' 'sqlite3')
diff --git a/extra/xterm/PKGBUILD b/extra/xterm/PKGBUILD
index 62f025ed3..400399311 100644
--- a/extra/xterm/PKGBUILD
+++ b/extra/xterm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xterm
pkgver=271
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')
diff --git a/extra/xulrunner/PKGBUILD b/extra/xulrunner/PKGBUILD
index 1bf7cd3db..783b9f3e3 100644
--- a/extra/xulrunner/PKGBUILD
+++ b/extra/xulrunner/PKGBUILD
@@ -5,23 +5,31 @@ pkgname=xulrunner
pkgver=5.0
_ffoxver=5.0
pkgrel=1
+pkgver=2.0
+pkgrel=2 # hold ver
pkgdesc="Mozilla Runtime Environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MPL' 'GPL' 'LGPL')
depends=('gtk2' 'gcc-libs' 'libidl2' 'mozilla-common' 'nss' 'libxt' 'libxrender' 'hunspell' 'startup-notification' 'mime-types' 'dbus-glib' 'alsa-lib' 'libevent' 'sqlite3>=3.7.4' 'libnotify')
makedepends=('zip' 'pkg-config' 'diffutils' 'python2' 'wireless_tools' 'yasm' 'mesa' 'gconf')
url="http://wiki.mozilla.org/XUL:Xul_Runner"
-source=(http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}/source/firefox-${_ffoxver}.source.tar.bz2
+source=(http://ftp.gnu.org/gnu/gnuzilla/${_ffoxver}/icecat-${_ffoxver}.tar.xz
mozconfig
- mozilla-pkgconfig.patch)
+ mozilla-pkgconfig.patch
+ mips.patch)
options=('!emptydirs' '!buildflags')
replaces=('xulrunner-oss')
build() {
- cd "${srcdir}/mozilla-release"
+ cd "${srcdir}/icecat-${_ffoxver}/"
cp "${srcdir}/mozconfig" .mozconfig
#fix libdir/sdkdir - fedora
- patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch"
+ patch -Np1 -i "${srcdir}/mozilla-pkgconfig.patch"
+
+ [[ "$CARCH" == "mips64el" ]] && {
+ echo "ac_add_options --disable-ipc" >> .mozconfig
+ patch -Np0 -i "${srcdir}/mips.patch"
+ }
export CXXFLAGS="-fpermissive"
export LDFLAGS="-Wl,-rpath,/usr/lib/xulrunner-${pkgver} -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
@@ -30,7 +38,7 @@ build() {
}
package() {
- cd "${srcdir}/mozilla-release"
+ cd "${srcdir}/icecat-${_ffoxver}/"
make -j1 -f client.mk DESTDIR="${pkgdir}" install
#Remove included dictionaries, add symlink to system myspell path.
diff --git a/extra/xulrunner/mips.patch b/extra/xulrunner/mips.patch
new file mode 100644
index 000000000..f9de910b2
--- /dev/null
+++ b/extra/xulrunner/mips.patch
@@ -0,0 +1,114 @@
+--- ../../tmp.ne6Bz1oy72/xulrunner/src/mozilla-2.0/js/src/assembler/jit/ExecutableAllocator.h 2011-03-18 20:33:47.000000000 -0300
++++ js/src/assembler/jit/ExecutableAllocator.h 2011-03-30 15:45:07.537247142 -0300
+@@ -44,9 +44,7 @@
+ #include <e32std.h>
+ #endif
+
+-#if WTF_CPU_MIPS && WTF_PLATFORM_LINUX
+ #include <sys/cachectl.h>
+-#endif
+
+ #if WTF_PLATFORM_WINCE
+ // From pkfuncs.h (private header file from the Platform Builder)
+@@ -311,89 +309,10 @@
+ #endif
+
+
+-#if WTF_CPU_X86 || WTF_CPU_X86_64
+- static void cacheFlush(void*, size_t)
+- {
+- }
+-#elif WTF_CPU_MIPS
+ static void cacheFlush(void* code, size_t size)
+ {
+-#if WTF_COMPILER_GCC && (GCC_VERSION >= 40300)
+-#if WTF_MIPS_ISA_REV(2) && (GCC_VERSION < 40403)
+- int lineSize;
+- asm("rdhwr %0, $1" : "=r" (lineSize));
+- //
+- // Modify "start" and "end" to avoid GCC 4.3.0-4.4.2 bug in
+- // mips_expand_synci_loop that may execute synci one more time.
+- // "start" points to the fisrt byte of the cache line.
+- // "end" points to the last byte of the line before the last cache line.
+- // Because size is always a multiple of 4, this is safe to set
+- // "end" to the last byte.
+- //
+- intptr_t start = reinterpret_cast<intptr_t>(code) & (-lineSize);
+- intptr_t end = ((reinterpret_cast<intptr_t>(code) + size - 1) & (-lineSize)) - 1;
+- __builtin___clear_cache(reinterpret_cast<char*>(start), reinterpret_cast<char*>(end));
+-#else
+- intptr_t end = reinterpret_cast<intptr_t>(code) + size;
+- __builtin___clear_cache(reinterpret_cast<char*>(code), reinterpret_cast<char*>(end));
+-#endif
+-#else
+ _flush_cache(reinterpret_cast<char*>(code), size, BCACHE);
+-#endif
+- }
+-#elif WTF_CPU_ARM_THUMB2 && WTF_PLATFORM_IPHONE
+- static void cacheFlush(void* code, size_t size)
+- {
+- sys_dcache_flush(code, size);
+- sys_icache_invalidate(code, size);
+- }
+-#elif WTF_CPU_ARM_THUMB2 && WTF_PLATFORM_LINUX
+- static void cacheFlush(void* code, size_t size)
+- {
+- asm volatile (
+- "push {r7}\n"
+- "mov r0, %0\n"
+- "mov r1, %1\n"
+- "movw r7, #0x2\n"
+- "movt r7, #0xf\n"
+- "movs r2, #0x0\n"
+- "svc 0x0\n"
+- "pop {r7}\n"
+- :
+- : "r" (code), "r" (reinterpret_cast<char*>(code) + size)
+- : "r0", "r1", "r2");
+- }
+-#elif WTF_PLATFORM_SYMBIAN
+- static void cacheFlush(void* code, size_t size)
+- {
+- User::IMB_Range(code, static_cast<char*>(code) + size);
+- }
+-#elif WTF_CPU_ARM_TRADITIONAL && WTF_PLATFORM_LINUX && WTF_COMPILER_RVCT
+- static __asm void cacheFlush(void* code, size_t size);
+-#elif WTF_CPU_ARM_TRADITIONAL && (WTF_PLATFORM_LINUX || WTF_PLATFORM_ANDROID) && WTF_COMPILER_GCC
+- static void cacheFlush(void* code, size_t size)
+- {
+- asm volatile (
+- "push {r7}\n"
+- "mov r0, %0\n"
+- "mov r1, %1\n"
+- "mov r7, #0xf0000\n"
+- "add r7, r7, #0x2\n"
+- "mov r2, #0x0\n"
+- "svc 0x0\n"
+- "pop {r7}\n"
+- :
+- : "r" (code), "r" (reinterpret_cast<char*>(code) + size)
+- : "r0", "r1", "r2");
+- }
+-#elif WTF_PLATFORM_WINCE
+- static void cacheFlush(void* code, size_t size)
+- {
+- CacheRangeFlush(code, size, CACHE_SYNC_ALL);
+ }
+-#else
+- #error "The cacheFlush support is missing on this platform."
+-#endif
+
+ private:
+
+--- js/src/Makefile.in.orig 2011-03-30 22:02:39.725318514 -0300
++++ js/src/Makefile.in 2011-03-30 22:02:51.689347820 -0300
+@@ -914,7 +914,7 @@
+ # Needed to "configure" it correctly. Unfortunately these
+ # flags wind up being applied to all code in js/src, not just
+ # the code in js/src/assembler.
+-CXXFLAGS += -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1
++CXXFLAGS += -DUSE_SYSTEM_MALLOC=1 -DENABLE_JIT=1
+
+ INCLUDES += -I$(srcdir)/assembler -I$(srcdir)/yarr
+
+
diff --git a/extra/xvidcore/PKGBUILD b/extra/xvidcore/PKGBUILD
index 360ddd8aa..924265186 100644
--- a/extra/xvidcore/PKGBUILD
+++ b/extra/xvidcore/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xvidcore
pkgver=1.3.2
pkgrel=1
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/yakuake/PKGBUILD b/extra/yakuake/PKGBUILD
index 6fe44c6cb..be80c0c5b 100644
--- a/extra/yakuake/PKGBUILD
+++ b/extra/yakuake/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=yakuake
pkgver=2.9.8
pkgrel=1
pkgdesc="A KDE konsole application with the look and feel of that in the Quake engine"
-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 950d609ca..16ec9e273 100644
--- a/extra/yasm/PKGBUILD
+++ b/extra/yasm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=yasm
pkgver=1.1.0
pkgrel=1
pkgdesc="A rewrite of NASM to allow for multiple syntax supported (NASM, TASM, GAS, etc.)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.tortall.net/projects/yasm/"
depends=('glibc')
diff --git a/extra/yelp/PKGBUILD b/extra/yelp/PKGBUILD
index 5acc58459..863e1016d 100644
--- a/extra/yelp/PKGBUILD
+++ b/extra/yelp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=yelp
pkgver=3.0.4
pkgrel=1
pkgdesc="A help browser for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libwebkit3' 'yelp-xsl' 'libxslt' 'hicolor-icon-theme' 'dbus-glib'
'xz' 'bzip2' 'desktop-file-utils' 'dconf')
makedepends=('intltool' 'gtk-doc')
diff --git a/extra/yp-tools/PKGBUILD b/extra/yp-tools/PKGBUILD
index 8cf4b6960..d17e30adc 100644
--- a/extra/yp-tools/PKGBUILD
+++ b/extra/yp-tools/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=yp-tools
pkgver=2.12
pkgrel=2
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 45cf58258..2621d1a84 100644
--- a/extra/ypbind-mt/PKGBUILD
+++ b/extra/ypbind-mt/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ypbind-mt
pkgver=1.33
pkgrel=2
pkgdesc='Linux NIS daemon'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.linux-nis.org/nis/ypbind-mt/'
license=('GPL2')
depends=('rpcbind' 'openslp')
diff --git a/extra/ypserv/PKGBUILD b/extra/ypserv/PKGBUILD
index 4c6e2333b..013eb774c 100644
--- a/extra/ypserv/PKGBUILD
+++ b/extra/ypserv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ypserv
pkgver=2.25
pkgrel=1
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')
diff --git a/extra/zenity/PKGBUILD b/extra/zenity/PKGBUILD
index 25969c047..202f80ecd 100644
--- a/extra/zenity/PKGBUILD
+++ b/extra/zenity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=zenity
pkgver=3.0.0
pkgrel=2
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')
diff --git a/extra/zile/PKGBUILD b/extra/zile/PKGBUILD
index 8ada94ea7..5a8334b7a 100644
--- a/extra/zile/PKGBUILD
+++ b/extra/zile/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=zile
pkgver=2.3.24
pkgrel=1
pkgdesc="A small, fast, and powerful Emacs clone"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnu.org/software/zile/"
# Lua is not required, the author uses it to generate some source files.
makedepends=('help2man')
diff --git a/extra/zip/PKGBUILD b/extra/zip/PKGBUILD
index 6d13a1917..ecf3e02a5 100644
--- a/extra/zip/PKGBUILD
+++ b/extra/zip/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=3.0
_pkgver=30
pkgrel=2
pkgdesc="Creates PKZIP-compatible .zip files"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.info-zip.org/pub/infozip/Zip.html"
license=('BSD')
depends=('bzip2')
diff --git a/extra/zsh/PKGBUILD b/extra/zsh/PKGBUILD
index 027b192d2..dac5f02c5 100644
--- a/extra/zsh/PKGBUILD
+++ b/extra/zsh/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=zsh
pkgver=4.3.12
pkgrel=2
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 8ad534a47..4f3dd1622 100644
--- a/extra/zvbi/PKGBUILD
+++ b/extra/zvbi/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.2.33
pkgrel=3
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')
options=('!libtool')
diff --git a/extra/zziplib/PKGBUILD b/extra/zziplib/PKGBUILD
index 4783fc5ee..73d728632 100644
--- a/extra/zziplib/PKGBUILD
+++ b/extra/zziplib/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=zziplib
pkgver=0.13.60
pkgrel=1
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')