summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/a2ps/PKGBUILD4
-rw-r--r--extra/a52dec/PKGBUILD7
-rw-r--r--extra/aalib/PKGBUILD6
-rw-r--r--extra/abook/PKGBUILD2
-rw-r--r--extra/accountsservice/PKGBUILD2
-rw-r--r--extra/aiksaurus/PKGBUILD4
-rw-r--r--extra/aisleriot/PKGBUILD2
-rw-r--r--extra/akonadi/PKGBUILD3
-rw-r--r--extra/allegro4/PKGBUILD2
-rw-r--r--extra/alsa-lib/PKGBUILD2
-rw-r--r--extra/alsa-oss/PKGBUILD4
-rw-r--r--extra/alsa-plugins/PKGBUILD2
-rw-r--r--extra/alsa-plugins/gcc-4.7.patch13
-rw-r--r--extra/alsa-utils/PKGBUILD2
-rw-r--r--extra/alsaplayer/PKGBUILD2
-rw-r--r--extra/amarok/PKGBUILD2
-rw-r--r--extra/amule/PKGBUILD2
-rw-r--r--extra/anjuta-extras/PKGBUILD2
-rw-r--r--extra/anjuta/PKGBUILD2
-rw-r--r--extra/anthy/PKGBUILD4
-rw-r--r--extra/antlr2/PKGBUILD2
-rw-r--r--extra/apache/PKGBUILD2
-rw-r--r--extra/appmenu-qt/PKGBUILD2
-rw-r--r--extra/apr-util/PKGBUILD4
-rw-r--r--extra/apr/PKGBUILD2
-rw-r--r--extra/apricots/PKGBUILD4
-rw-r--r--extra/ardour/PKGBUILD2
-rw-r--r--extra/arj/PKGBUILD4
-rw-r--r--extra/arora/PKGBUILD4
-rw-r--r--extra/asio/PKGBUILD4
-rw-r--r--extra/aspell-de/PKGBUILD2
-rw-r--r--extra/aspell-en/PKGBUILD4
-rw-r--r--extra/aspell-es/PKGBUILD4
-rw-r--r--extra/aspell-fr/PKGBUILD4
-rw-r--r--extra/aspell-hu/PKGBUILD4
-rw-r--r--extra/aspell-it/PKGBUILD4
-rw-r--r--extra/aspell-nl/PKGBUILD4
-rw-r--r--extra/aspell-pt/PKGBUILD2
-rw-r--r--extra/aspell-ru/PKGBUILD4
-rw-r--r--extra/aspell/PKGBUILD4
-rw-r--r--extra/asymptote/PKGBUILD2
-rw-r--r--extra/at-spi/PKGBUILD4
-rw-r--r--extra/at-spi2-atk/PKGBUILD2
-rw-r--r--extra/at-spi2-core/PKGBUILD2
-rw-r--r--extra/at/PKGBUILD2
-rw-r--r--extra/aterm/PKGBUILD4
-rw-r--r--extra/atk/PKGBUILD2
-rw-r--r--extra/atkmm/PKGBUILD4
-rw-r--r--extra/attica/PKGBUILD2
-rw-r--r--extra/aubio/PKGBUILD4
-rw-r--r--extra/audacious/PKGBUILD4
-rw-r--r--extra/audacity/PKGBUILD7
-rw-r--r--extra/audiofile/PKGBUILD2
-rw-r--r--extra/autogen/PKGBUILD2
-rw-r--r--extra/automoc4/PKGBUILD4
-rw-r--r--extra/autopano-sift-c/PKGBUILD2
-rw-r--r--extra/avahi/PKGBUILD23
-rw-r--r--extra/avfs/PKGBUILD4
-rw-r--r--extra/avidemux/PKGBUILD8
-rw-r--r--extra/avogadro/PKGBUILD2
-rw-r--r--extra/babl/PKGBUILD2
-rw-r--r--extra/baobab/PKGBUILD2
-rw-r--r--extra/barcode/PKGBUILD4
-rw-r--r--extra/basket/PKGBUILD2
-rw-r--r--extra/bc/PKGBUILD4
-rw-r--r--extra/beep/PKGBUILD4
-rw-r--r--extra/bftpd/PKGBUILD2
-rw-r--r--extra/bigloo/PKGBUILD2
-rw-r--r--extra/bind/PKGBUILD2
-rw-r--r--extra/bitlbee/PKGBUILD8
-rwxr-xr-xextra/blas/PKGBUILD2
-rw-r--r--extra/bluedevil/PKGBUILD2
-rw-r--r--extra/bluefish/PKGBUILD2
-rw-r--r--extra/bluez-hcidump/PKGBUILD4
-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/PKGBUILD4
-rw-r--r--extra/bochs/PKGBUILD2
-rw-r--r--extra/boost/PKGBUILD3
-rw-r--r--extra/bootchart/PKGBUILD2
-rw-r--r--extra/botan/PKGBUILD2
-rw-r--r--extra/brasero/PKGBUILD2
-rw-r--r--extra/brltty/PKGBUILD2
-rw-r--r--extra/burp/PKGBUILD2
-rw-r--r--extra/bzflag/PKGBUILD2
-rw-r--r--extra/bzr/PKGBUILD2
-rw-r--r--extra/c-ares/PKGBUILD2
-rw-r--r--extra/cabal-install/PKGBUILD2
-rw-r--r--extra/cagibi/PKGBUILD2
-rw-r--r--extra/cairo-perl/PKGBUILD2
-rw-r--r--extra/cairo/PKGBUILD5
-rw-r--r--extra/cairomm/PKGBUILD4
-rw-r--r--extra/calligra/PKGBUILD4
-rw-r--r--extra/capi4hylafax/PKGBUILD2
-rw-r--r--extra/capseo/PKGBUILD4
-rw-r--r--extra/caribou/PKGBUILD2
-rw-r--r--extra/catdoc/PKGBUILD31
-rw-r--r--extra/ccache/PKGBUILD2
-rw-r--r--extra/ccrtp/PKGBUILD2
-rw-r--r--extra/cd-discid/PKGBUILD4
-rw-r--r--extra/cdargs/PKGBUILD4
-rw-r--r--extra/cdparanoia/PKGBUILD4
-rw-r--r--extra/cdrdao/PKGBUILD5
-rw-r--r--extra/celestia/PKGBUILD2
-rw-r--r--extra/celt/PKGBUILD2
-rw-r--r--extra/cfitsio/PKGBUILD2
-rw-r--r--extra/check/PKGBUILD2
-rw-r--r--extra/cheese/PKGBUILD2
-rw-r--r--extra/chemtool/PKGBUILD4
-rw-r--r--extra/chkrootkit/PKGBUILD4
-rw-r--r--extra/chmlib/PKGBUILD14
-rw-r--r--extra/chmlib/src_chm_lib.c.diff58
-rw-r--r--extra/chromaprint/PKGBUILD2
-rw-r--r--extra/cifs-utils/PKGBUILD2
-rw-r--r--extra/cinepaint/PKGBUILD2
-rw-r--r--extra/clamav/PKGBUILD2
-rw-r--r--extra/claws-mail-extra-plugins/PKGBUILD2
-rw-r--r--extra/claws-mail/PKGBUILD5
-rw-r--r--extra/clisp/PKGBUILD4
-rw-r--r--extra/cln/PKGBUILD20
-rw-r--r--extra/clucene/PKGBUILD2
-rw-r--r--extra/clutter-gst/PKGBUILD4
-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/PKGBUILD30
-rw-r--r--extra/cmatrix/cmatrix.install3
-rw-r--r--extra/cmt/PKGBUILD4
-rw-r--r--extra/cogl/PKGBUILD2
-rw-r--r--extra/colord-gtk/PKGBUILD2
-rw-r--r--extra/colord/PKGBUILD2
-rw-r--r--extra/compface/PKGBUILD4
-rw-r--r--extra/conky/PKGBUILD2
-rw-r--r--extra/consolekit/PKGBUILD49
-rw-r--r--extra/consolekit/consolekit.logrotate5
-rw-r--r--extra/consolekit/consolekit.tmpfiles.conf1
-rw-r--r--extra/consolekit/pam-foreground-compat.ck16
-rw-r--r--extra/convertlit/PKGBUILD2
-rw-r--r--extra/cpio/PKGBUILD4
-rw-r--r--extra/cppunit/PKGBUILD2
-rw-r--r--extra/cpufrequtils/PKGBUILD35
-rw-r--r--extra/cpufrequtils/cpufreq.confd14
-rw-r--r--extra/cpufrequtils/cpufreq.rcd60
-rw-r--r--extra/crypto++/GNUmakefile.parabola94
-rw-r--r--extra/crypto++/PKGBUILD11
-rw-r--r--extra/cscope/PKGBUILD2
-rw-r--r--extra/ctags/PKGBUILD4
-rw-r--r--extra/cups-pdf/PKGBUILD4
-rw-r--r--extra/cups-pk-helper/PKGBUILD2
-rw-r--r--extra/cups/PKGBUILD2
-rw-r--r--extra/cvs/PKGBUILD4
-rw-r--r--extra/cvsps/PKGBUILD4
-rw-r--r--extra/cx_freeze/PKGBUILD4
-rw-r--r--extra/cyrus-sasl/PKGBUILD4
-rw-r--r--extra/dansguardian/PKGBUILD155
-rw-r--r--extra/dansguardian/dansguardian36
-rw-r--r--extra/dansguardian/dansguardian.install8
-rw-r--r--extra/dansguardian/dg2.10.1.1-missing.stdio.patch10
-rw-r--r--extra/dasher/PKGBUILD2
-rw-r--r--extra/datefudge/PKGBUILD2
-rw-r--r--extra/davfs2/PKGBUILD2
-rw-r--r--extra/dbus-c++/PKGBUILD2
-rw-r--r--extra/dbus-glib/PKGBUILD2
-rw-r--r--extra/dbus-python/PKGBUILD2
-rw-r--r--extra/dbus/PKGBUILD2
-rw-r--r--extra/dcfldd/PKGBUILD4
-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/PKGBUILD4
-rw-r--r--extra/dhcp/PKGBUILD2
-rw-r--r--extra/di/PKGBUILD2
-rw-r--r--extra/diffstat/PKGBUILD4
-rw-r--r--extra/digikam/PKGBUILD2
-rw-r--r--extra/djvulibre/PKGBUILD2
-rw-r--r--extra/dmapi/PKGBUILD4
-rw-r--r--extra/dnsmasq/PKGBUILD2
-rw-r--r--extra/docker/PKGBUILD4
-rw-r--r--extra/dosfstools/PKGBUILD4
-rw-r--r--extra/dotconf/PKGBUILD4
-rw-r--r--extra/dovecot/PKGBUILD2
-rw-r--r--extra/doxygen/PKGBUILD8
-rw-r--r--extra/dssi/PKGBUILD4
-rw-r--r--extra/dvd+rw-tools/PKGBUILD4
-rw-r--r--extra/dvdauthor/PKGBUILD2
-rw-r--r--extra/dvdrtools/PKGBUILD29
-rw-r--r--extra/dvgrab/PKGBUILD4
-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/PKGBUILD50
-rw-r--r--extra/eject/eject-2.1.1-verbose.patch15
-rw-r--r--extra/eject/eject-2.1.5-lock.patch171
-rw-r--r--extra/eject/eject-2.1.5-openrw.patch17
-rw-r--r--extra/eject/eject-2.1.5-spaces.patch62
-rw-r--r--extra/eject/eject-2.1.5-umount.patch176
-rw-r--r--extra/eject/eject-2.1.5-unlock.patch59
-rw-r--r--extra/eject/eject-timeout.patch11
-rw-r--r--extra/ekiga/PKGBUILD2
-rw-r--r--extra/elfutils/PKGBUILD3
-rw-r--r--extra/emacs/PKGBUILD2
-rw-r--r--extra/emelfm2/PKGBUILD2
-rw-r--r--extra/empathy/PKGBUILD2
-rw-r--r--extra/enblend-enfuse/PKGBUILD2
-rw-r--r--extra/enca/PKGBUILD4
-rw-r--r--extra/enchant/PKGBUILD4
-rw-r--r--extra/enlightenment/PKGBUILD2
-rw-r--r--extra/enscript/PKGBUILD4
-rw-r--r--extra/eog-plugins/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/ethstatus/PKGBUILD4
-rw-r--r--extra/ethtool/PKGBUILD2
-rw-r--r--extra/eventlog/PKGBUILD2
-rw-r--r--extra/evilwm/PKGBUILD4
-rw-r--r--extra/evince/PKGBUILD2
-rw-r--r--extra/evolution-data-server/PKGBUILD2
-rw-r--r--extra/evolution-ews/PKGBUILD2
-rw-r--r--extra/evolution-exchange/PKGBUILD33
-rw-r--r--extra/evolution-exchange/evolution-exchange.install17
-rw-r--r--extra/evolution-groupwise/PKGBUILD32
-rw-r--r--extra/evolution/PKGBUILD2
-rw-r--r--extra/exempi/PKGBUILD4
-rw-r--r--extra/exiv2/PKGBUILD2
-rw-r--r--extra/exo/PKGBUILD2
-rw-r--r--extra/expect/PKGBUILD4
-rw-r--r--extra/faad2/PKGBUILD4
-rw-r--r--extra/facile/PKGBUILD2
-rw-r--r--extra/fakechroot/PKGBUILD4
-rw-r--r--extra/farstream/PKGBUILD6
-rw-r--r--extra/fastjar/PKGBUILD4
-rw-r--r--extra/fbida/PKGBUILD4
-rw-r--r--extra/fbset/PKGBUILD2
-rw-r--r--extra/fcgi/PKGBUILD2
-rw-r--r--extra/fcitx/PKGBUILD75
-rw-r--r--extra/fcitx/fcitx-gtk2.install11
-rw-r--r--extra/fcitx/fcitx-gtk3.install11
-rw-r--r--extra/fcitx/fcitx.install13
-rw-r--r--extra/feh/PKGBUILD2
-rw-r--r--extra/festival/PKGBUILD8
-rw-r--r--extra/fetchmail/PKGBUILD2
-rw-r--r--extra/ffcall/PKGBUILD16
-rw-r--r--extra/ffcall/mipsn32.patch11
-rw-r--r--extra/ffmpeg/PKGBUILD22
-rw-r--r--extra/ffmpeg/ffmpeg-loongson.patch1767
-rw-r--r--extra/ffmpegthumbnailer/PKGBUILD2
-rw-r--r--extra/fftw/PKGBUILD26
-rw-r--r--extra/flac/PKGBUILD8
-rw-r--r--extra/fltk/PKGBUILD2
-rw-r--r--extra/fluidsynth/PKGBUILD2
-rw-r--r--extra/fluxbox/PKGBUILD2
-rw-r--r--extra/fluxter/PKGBUILD4
-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/fortune-mod/01_all_fortune_all-fix.patch21
-rw-r--r--extra/fortune-mod/LICENSE35
-rw-r--r--extra/fortune-mod/PKGBUILD36
-rw-r--r--extra/fping/PKGBUILD2
-rw-r--r--extra/fprintd/PKGBUILD2
-rw-r--r--extra/freealut/PKGBUILD2
-rw-r--r--extra/freeciv/PKGBUILD2
-rw-r--r--extra/freeglut/PKGBUILD2
-rw-r--r--extra/freenx/PKGBUILD2
-rw-r--r--extra/freetds/PKGBUILD4
-rw-r--r--extra/freetype2/PKGBUILD2
-rw-r--r--extra/fribidi/PKGBUILD4
-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/PKGBUILD4
-rw-r--r--extra/fuse/PKGBUILD2
-rw-r--r--extra/fvwm/PKGBUILD2
-rw-r--r--extra/fyre/PKGBUILD2
-rw-r--r--extra/gamin/PKGBUILD4
-rw-r--r--extra/garcon/PKGBUILD2
-rw-r--r--extra/gc/PKGBUILD4
-rw-r--r--extra/gcalctool/PKGBUILD2
-rw-r--r--extra/gcc4.6/PKGBUILD95
-rw-r--r--extra/gcc4.6/gcc-4.6.2-cloog-0.17.patch36
-rw-r--r--extra/gcc4.6/gcc-hash-style-both.patch122
-rw-r--r--extra/gcc4.6/gcc_pure64.patch26
-rw-r--r--extra/gcin/PKGBUILD2
-rw-r--r--extra/gconf-editor/PKGBUILD2
-rw-r--r--extra/gconf-perl/PKGBUILD2
-rw-r--r--extra/gconf/PKGBUILD2
-rw-r--r--extra/gconfmm/PKGBUILD4
-rw-r--r--extra/gcr/PKGBUILD2
-rw-r--r--extra/gd/PKGBUILD4
-rw-r--r--extra/gdb/PKGBUILD4
-rw-r--r--extra/gdk-pixbuf2/PKGBUILD2
-rw-r--r--extra/gdl/PKGBUILD2
-rw-r--r--extra/gdm/PKGBUILD2
-rw-r--r--extra/gdome2/PKGBUILD17
-rw-r--r--extra/gedit/PKGBUILD2
-rw-r--r--extra/geeqie/PKGBUILD2
-rw-r--r--extra/gegl/PKGBUILD2
-rw-r--r--extra/genius/PKGBUILD4
-rw-r--r--extra/geoclue/PKGBUILD2
-rw-r--r--extra/geoip/PKGBUILD2
-rw-r--r--extra/ggv/PKGBUILD2
-rw-r--r--extra/ggz-client-libs/PKGBUILD27
-rw-r--r--extra/ggz-gtk-client/PKGBUILD29
-rw-r--r--extra/ggz-gtk-client/gtk2.patch40
-rw-r--r--extra/ghc/PKGBUILD2
-rw-r--r--extra/ghex/PKGBUILD2
-rw-r--r--extra/giblib/PKGBUILD4
-rw-r--r--extra/gif2png/PKGBUILD4
-rw-r--r--extra/giflib/PKGBUILD4
-rw-r--r--extra/gifsicle/PKGBUILD4
-rw-r--r--extra/gimp-dbp/PKGBUILD4
-rw-r--r--extra/gimp-gap/PKGBUILD7
-rw-r--r--extra/gimp-ufraw/PKGBUILD2
-rw-r--r--extra/gimp/PKGBUILD2
-rw-r--r--extra/git/PKGBUILD2
-rw-r--r--extra/gjs/PKGBUILD2
-rw-r--r--extra/gksu/PKGBUILD4
-rw-r--r--extra/glade-perl/PKGBUILD2
-rw-r--r--extra/glade/PKGBUILD2
-rw-r--r--extra/glew/PKGBUILD2
-rw-r--r--extra/glhack/PKGBUILD4
-rw-r--r--extra/glib-networking/PKGBUILD2
-rw-r--r--extra/glib-perl/PKGBUILD2
-rw-r--r--extra/glib/PKGBUILD4
-rw-r--r--extra/glibmm/PKGBUILD2
-rw-r--r--extra/glpk/PKGBUILD4
-rw-r--r--extra/glsof/PKGBUILD2
-rw-r--r--extra/glu/PKGBUILD2
-rw-r--r--extra/gmetadom/PKGBUILD4
-rw-r--r--extra/gmime/PKGBUILD4
-rw-r--r--extra/gmpc/PKGBUILD4
-rw-r--r--extra/gnet/PKGBUILD4
-rw-r--r--extra/gnokii/PKGBUILD4
-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-color-manager/PKGBUILD2
-rw-r--r--extra/gnome-contacts/PKGBUILD2
-rw-r--r--extra/gnome-control-center/PKGBUILD2
-rw-r--r--extra/gnome-desktop/PKGBUILD2
-rw-r--r--extra/gnome-desktop2/PKGBUILD6
-rw-r--r--extra/gnome-dictionary/PKGBUILD2
-rw-r--r--extra/gnome-disk-utility/PKGBUILD2
-rw-r--r--extra/gnome-documents/PKGBUILD2
-rw-r--r--extra/gnome-font-viewer/PKGBUILD2
-rw-r--r--extra/gnome-games/PKGBUILD2
-rw-r--r--extra/gnome-keyring/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-online-accounts/PKGBUILD2
-rw-r--r--extra/gnome-panel/PKGBUILD2
-rw-r--r--extra/gnome-perl/PKGBUILD2
-rw-r--r--extra/gnome-phone-manager/PKGBUILD2
-rw-r--r--extra/gnome-pilot/PKGBUILD35
-rw-r--r--extra/gnome-pilot/gnome-pilot.install17
-rw-r--r--extra/gnome-power-manager/PKGBUILD2
-rw-r--r--extra/gnome-python-desktop/PKGBUILD2
-rw-r--r--extra/gnome-python-extras/PKGBUILD4
-rw-r--r--extra/gnome-python/PKGBUILD4
-rw-r--r--extra/gnome-screensaver/PKGBUILD2
-rw-r--r--extra/gnome-screenshot/PKGBUILD2
-rw-r--r--extra/gnome-search-tool/PKGBUILD2
-rw-r--r--extra/gnome-session/PKGBUILD2
-rw-r--r--extra/gnome-settings-daemon/PKGBUILD2
-rw-r--r--extra/gnome-shell/PKGBUILD2
-rw-r--r--extra/gnome-speech/PKGBUILD2
-rw-r--r--extra/gnome-system-log/PKGBUILD2
-rw-r--r--extra/gnome-system-monitor/PKGBUILD2
-rw-r--r--extra/gnome-terminal/PKGBUILD2
-rw-r--r--extra/gnome-themes-standard/PKGBUILD2
-rw-r--r--extra/gnome-user-share/PKGBUILD2
-rw-r--r--extra/gnome-vfs-perl/PKGBUILD2
-rw-r--r--extra/gnome-vfs/PKGBUILD4
-rw-r--r--extra/gnome-vfsmm/PKGBUILD4
-rw-r--r--extra/gnomecanvas-perl/PKGBUILD2
-rw-r--r--extra/gnu-efi/PKGBUILD34
-rw-r--r--extra/gnu-netcat/PKGBUILD4
-rw-r--r--extra/gnucash/PKGBUILD2
-rw-r--r--extra/gnuchess/PKGBUILD26
-rw-r--r--extra/gnugo/PKGBUILD4
-rw-r--r--extra/gnumeric/PKGBUILD2
-rw-r--r--extra/gnuplot/PKGBUILD2
-rw-r--r--extra/gnutls/PKGBUILD5
-rw-r--r--extra/gob2/PKGBUILD4
-rw-r--r--extra/gobject-introspection/PKGBUILD2
-rw-r--r--extra/goffice/PKGBUILD4
-rw-r--r--extra/gpart/PKGBUILD4
-rw-r--r--extra/gparted/PKGBUILD2
-rw-r--r--extra/gperf/PKGBUILD4
-rw-r--r--extra/gperftools/PKGBUILD2
-rw-r--r--extra/gphoto2/PKGBUILD2
-rw-r--r--extra/gpsd/PKGBUILD2
-rw-r--r--extra/gptfdisk/PKGBUILD2
-rw-r--r--extra/gqview/PKGBUILD25
-rw-r--r--extra/gqview/gqview.install11
-rw-r--r--extra/grantlee/PKGBUILD2
-rw-r--r--extra/graphicsmagick/PKGBUILD2
-rw-r--r--extra/graphite/PKGBUILD4
-rw-r--r--extra/graphviz/PKGBUILD18
-rw-r--r--extra/grilo-plugins/PKGBUILD2
-rw-r--r--extra/grilo/PKGBUILD2
-rw-r--r--extra/grip/PKGBUILD2
-rw-r--r--extra/gsasl/PKGBUILD2
-rw-r--r--extra/gsl/PKGBUILD4
-rw-r--r--extra/gsm/PKGBUILD4
-rw-r--r--extra/gssdp/PKGBUILD2
-rw-r--r--extra/gst-libav/PKGBUILD2
-rw-r--r--extra/gst-plugins-bad/PKGBUILD37
-rw-r--r--extra/gst-plugins-base/PKGBUILD2
-rw-r--r--extra/gst-plugins-good/PKGBUILD2
-rw-r--r--extra/gst-plugins-ugly/PKGBUILD2
-rw-r--r--extra/gstreamer/PKGBUILD2
-rw-r--r--extra/gstreamer0.10-base/PKGBUILD8
-rw-r--r--extra/gstreamer0.10-ffmpeg/PKGBUILD4
-rw-r--r--extra/gstreamer0.10-python/PKGBUILD4
-rw-r--r--extra/gstreamer0.10-ugly/PKGBUILD6
-rw-r--r--extra/gstreamer0.10/PKGBUILD8
-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-vnc/PKGBUILD2
-rw-r--r--extra/gtk-xfce-engine/PKGBUILD2
-rw-r--r--extra/gtk/PKGBUILD4
-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/PKGBUILD4
-rw-r--r--extra/gtkhtml4/PKGBUILD2
-rw-r--r--extra/gtkimageview/PKGBUILD4
-rw-r--r--extra/gtkmathview/PKGBUILD2
-rw-r--r--extra/gtkmm/PKGBUILD4
-rw-r--r--extra/gtkmm3/PKGBUILD2
-rw-r--r--extra/gtkpod/PKGBUILD2
-rw-r--r--extra/gtksourceview2/PKGBUILD4
-rw-r--r--extra/gtksourceview3/PKGBUILD2
-rw-r--r--extra/gtkspell/PKGBUILD4
-rw-r--r--extra/gts/PKGBUILD4
-rw-r--r--extra/gucharmap/PKGBUILD2
-rw-r--r--extra/guile/PKGBUILD4
-rw-r--r--extra/gupnp-av/PKGBUILD2
-rw-r--r--extra/gupnp-igd/PKGBUILD2
-rw-r--r--extra/gupnp/PKGBUILD2
-rw-r--r--extra/gutenprint/PKGBUILD2
-rw-r--r--extra/gv/PKGBUILD4
-rw-r--r--extra/gvfs/PKGBUILD2
-rw-r--r--extra/gweled/PKGBUILD2
-rw-r--r--extra/habak/PKGBUILD4
-rw-r--r--extra/harfbuzz/PKGBUILD2
-rw-r--r--extra/haskell-http/PKGBUILD2
-rw-r--r--extra/haskell-mtl/PKGBUILD2
-rw-r--r--extra/haskell-network/PKGBUILD2
-rw-r--r--extra/haskell-parsec/PKGBUILD2
-rw-r--r--extra/haskell-text/PKGBUILD2
-rw-r--r--extra/haskell-transformers/PKGBUILD2
-rw-r--r--extra/haskell-zlib/PKGBUILD2
-rw-r--r--extra/hd2u/PKGBUILD4
-rw-r--r--extra/hddtemp/PKGBUILD2
-rw-r--r--extra/hdf5/PKGBUILD4
-rw-r--r--extra/hefur/PKGBUILD2
-rw-r--r--extra/help2man/PKGBUILD4
-rw-r--r--extra/hercules/PKGBUILD4
-rw-r--r--extra/herqq/PKGBUILD2
-rw-r--r--extra/hexedit/PKGBUILD4
-rw-r--r--extra/hspell/PKGBUILD4
-rw-r--r--extra/htdig/PKGBUILD4
-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/PKGBUILD4
-rw-r--r--extra/ibus/PKGBUILD2
-rw-r--r--extra/icedtea-web/PKGBUILD2
-rw-r--r--extra/icewm/PKGBUILD6
-rw-r--r--extra/icu/PKGBUILD2
-rw-r--r--extra/id3/PKGBUILD4
-rw-r--r--extra/id3lib/PKGBUILD4
-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/PKGBUILD4
-rw-r--r--extra/imap/PKGBUILD6
-rw-r--r--extra/imlib/PKGBUILD4
-rw-r--r--extra/imlib2/PKGBUILD4
-rw-r--r--extra/indent/PKGBUILD4
-rw-r--r--extra/inkscape/PKGBUILD2
-rw-r--r--extra/iptraf-ng/PKGBUILD2
-rw-r--r--extra/irqbalance/PKGBUILD2
-rw-r--r--extra/irssi/PKGBUILD2
-rw-r--r--extra/ispell/PKGBUILD4
-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/java-commons-daemon/PKGBUILD2
-rw-r--r--extra/jhead/LICENSE12
-rw-r--r--extra/jhead/PKGBUILD29
-rw-r--r--extra/js/PKGBUILD14
-rw-r--r--extra/json-c/PKGBUILD4
-rw-r--r--extra/json-glib/PKGBUILD2
-rw-r--r--extra/k3b/PKGBUILD2
-rw-r--r--extra/k9copy/PKGBUILD2
-rw-r--r--extra/kactivities/PKGBUILD2
-rw-r--r--extra/kaffeine/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-jovie/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-kaccessible/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-kmag/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-kmousetool/PKGBUILD2
-rw-r--r--extra/kdeaccessibility-kmouth/PKGBUILD2
-rw-r--r--extra/kdeadmin/PKGBUILD2
-rw-r--r--extra/kdeartwork/PKGBUILD2
-rw-r--r--extra/kdebase-konsole/PKGBUILD2
-rw-r--r--extra/kdebase-runtime/PKGBUILD43
-rw-r--r--extra/kdebase-runtime/kdebase-runtime.install13
-rw-r--r--extra/kdebase-workspace/PKGBUILD2
-rw-r--r--extra/kdebase/PKGBUILD17
-rw-r--r--extra/kdebase/kdebase-konqueror.install12
-rw-r--r--extra/kdebindings-korundum/PKGBUILD2
-rw-r--r--extra/kdebindings-kross/PKGBUILD2
-rw-r--r--extra/kdebindings-perlkde/PKGBUILD2
-rw-r--r--extra/kdebindings-perlqt/PKGBUILD2
-rw-r--r--extra/kdebindings-python/PKGBUILD4
-rw-r--r--extra/kdebindings-qtruby/PKGBUILD2
-rw-r--r--extra/kdebindings-smokegen/PKGBUILD2
-rw-r--r--extra/kdebindings-smokekde/PKGBUILD2
-rw-r--r--extra/kdebindings-smokeqt/PKGBUILD2
-rw-r--r--extra/kdeedu-analitza/PKGBUILD2
-rw-r--r--extra/kdeedu-blinken/PKGBUILD2
-rw-r--r--extra/kdeedu-cantor/PKGBUILD2
-rw-r--r--extra/kdeedu-kalgebra/PKGBUILD2
-rw-r--r--extra/kdeedu-kalzium/PKGBUILD2
-rw-r--r--extra/kdeedu-kanagram/PKGBUILD2
-rw-r--r--extra/kdeedu-kbruch/PKGBUILD2
-rw-r--r--extra/kdeedu-kgeography/PKGBUILD2
-rw-r--r--extra/kdeedu-khangman/PKGBUILD2
-rw-r--r--extra/kdeedu-kig/PKGBUILD2
-rw-r--r--extra/kdeedu-kiten/PKGBUILD2
-rw-r--r--extra/kdeedu-klettres/PKGBUILD2
-rw-r--r--extra/kdeedu-kmplot/PKGBUILD2
-rw-r--r--extra/kdeedu-kstars/PKGBUILD2
-rw-r--r--extra/kdeedu-ktouch/PKGBUILD2
-rw-r--r--extra/kdeedu-kturtle/PKGBUILD2
-rw-r--r--extra/kdeedu-kwordquiz/PKGBUILD2
-rw-r--r--extra/kdeedu-marble/PKGBUILD2
-rw-r--r--extra/kdeedu-pairs/PKGBUILD2
-rw-r--r--extra/kdeedu-parley/PKGBUILD2
-rw-r--r--extra/kdeedu-rocs/PKGBUILD2
-rw-r--r--extra/kdeedu-step/PKGBUILD2
-rw-r--r--extra/kdegames/PKGBUILD2
-rw-r--r--extra/kdegraphics-gwenview/PKGBUILD2
-rw-r--r--extra/kdegraphics-kamera/PKGBUILD2
-rw-r--r--extra/kdegraphics-kcolorchooser/PKGBUILD2
-rw-r--r--extra/kdegraphics-kgamma/PKGBUILD2
-rw-r--r--extra/kdegraphics-kolourpaint/PKGBUILD2
-rw-r--r--extra/kdegraphics-kruler/PKGBUILD2
-rw-r--r--extra/kdegraphics-ksaneplugin/PKGBUILD2
-rw-r--r--extra/kdegraphics-ksnapshot/PKGBUILD2
-rw-r--r--extra/kdegraphics-mobipocket/PKGBUILD2
-rw-r--r--extra/kdegraphics-okular/PKGBUILD2
-rw-r--r--extra/kdegraphics-strigi-analyzer/PKGBUILD2
-rw-r--r--extra/kdegraphics-svgpart/PKGBUILD2
-rw-r--r--extra/kdegraphics-thumbnailers/PKGBUILD2
-rw-r--r--extra/kdemultimedia-audiocd-kio/PKGBUILD2
-rw-r--r--extra/kdemultimedia-dragonplayer/PKGBUILD2
-rw-r--r--extra/kdemultimedia-ffmpegthumbs/PKGBUILD2
-rw-r--r--extra/kdemultimedia-juk/PKGBUILD2
-rw-r--r--extra/kdemultimedia-kmix/PKGBUILD2
-rw-r--r--extra/kdemultimedia-kscd/PKGBUILD2
-rw-r--r--extra/kdemultimedia-mplayerthumbs/PKGBUILD2
-rw-r--r--extra/kdemultimedia/PKGBUILD111
-rw-r--r--extra/kdemultimedia/ffmpeg0.11.patch29
-rw-r--r--extra/kdemultimedia/kdemultimedia-dragonplayer.install12
-rw-r--r--extra/kdemultimedia/kdemultimedia.install11
-rw-r--r--extra/kdemultimedia/mplayerthumbs.config2
-rw-r--r--extra/kdenetwork/PKGBUILD2
-rw-r--r--extra/kdepim-runtime/PKGBUILD2
-rw-r--r--extra/kdepim/PKGBUILD2
-rw-r--r--extra/kdepimlibs/PKGBUILD2
-rw-r--r--extra/kdeplasma-addons/PKGBUILD2
-rw-r--r--extra/kdeplasma-applets-networkmanagement/PKGBUILD2
-rw-r--r--extra/kdesdk-kate/PKGBUILD2
-rw-r--r--extra/kdesdk/PKGBUILD2
-rw-r--r--extra/kdetoys/PKGBUILD2
-rw-r--r--extra/kdeutils-filelight/PKGBUILD2
-rw-r--r--extra/kdeutils-kcalc/PKGBUILD2
-rw-r--r--extra/kdeutils-kcharselect/PKGBUILD2
-rw-r--r--extra/kdeutils-kdf/PKGBUILD2
-rw-r--r--extra/kdeutils-kfloppy/PKGBUILD2
-rw-r--r--extra/kdeutils-kgpg/PKGBUILD2
-rw-r--r--extra/kdeutils-kremotecontrol/PKGBUILD2
-rw-r--r--extra/kdeutils-ksecrets/PKGBUILD31
-rw-r--r--extra/kdeutils-ksecrets/kdeutils-ksecrets.install12
-rw-r--r--extra/kdeutils-ktimer/PKGBUILD2
-rw-r--r--extra/kdeutils-kwallet/PKGBUILD2
-rw-r--r--extra/kdeutils-superkaramba/PKGBUILD2
-rw-r--r--extra/kdeutils-sweeper/PKGBUILD2
-rw-r--r--extra/kdevelop-pg-qt/PKGBUILD2
-rw-r--r--extra/kdevelop-php/PKGBUILD2
-rw-r--r--extra/kdevelop/PKGBUILD2
-rw-r--r--extra/kdevplatform/PKGBUILD2
-rw-r--r--extra/kdewebdev/PKGBUILD2
-rw-r--r--extra/kdiff3/PKGBUILD2
-rw-r--r--extra/kexec-tools/PKGBUILD2
-rw-r--r--extra/kino/PKGBUILD2
-rw-r--r--extra/kismet/PKGBUILD5
-rw-r--r--extra/kobodeluxe/PKGBUILD4
-rw-r--r--extra/konversation/PKGBUILD2
-rw-r--r--extra/kradio/PKGBUILD5
-rw-r--r--extra/kshutdown/PKGBUILD2
-rw-r--r--extra/ktorrent/PKGBUILD2
-rw-r--r--extra/kwebkitpart/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/PKGBUILD4
-rw-r--r--extra/lcms/PKGBUILD4
-rw-r--r--extra/lcms2/PKGBUILD2
-rw-r--r--extra/leafpad/PKGBUILD4
-rw-r--r--extra/lensfun/PKGBUILD9
-rw-r--r--extra/lesstif/PKGBUILD5
-rw-r--r--extra/leveldb/PKGBUILD2
-rw-r--r--extra/lftp/PKGBUILD2
-rw-r--r--extra/libao/PKGBUILD4
-rw-r--r--extra/libart-lgpl/PKGBUILD4
-rw-r--r--extra/libass/PKGBUILD4
-rw-r--r--extra/libasyncns/PKGBUILD4
-rw-r--r--extra/libatasmart/PKGBUILD4
-rw-r--r--extra/libavc1394/PKGBUILD4
-rw-r--r--extra/libbluedevil/PKGBUILD4
-rw-r--r--extra/libbluray/PKGBUILD11
-rw-r--r--extra/libbonobo/PKGBUILD4
-rw-r--r--extra/libbonoboui/PKGBUILD4
-rw-r--r--extra/libburn/PKGBUILD2
-rw-r--r--extra/libcaca/PKGBUILD2
-rw-r--r--extra/libcanberra/PKGBUILD2
-rw-r--r--extra/libcap-ng/PKGBUILD2
-rw-r--r--extra/libcdaudio/PKGBUILD2
-rw-r--r--extra/libcddb/PKGBUILD4
-rw-r--r--extra/libcdio/PKGBUILD4
-rw-r--r--extra/libchamplain/PKGBUILD2
-rw-r--r--extra/libchewing/PKGBUILD4
-rw-r--r--extra/libconfig/PKGBUILD2
-rw-r--r--extra/libcroco/PKGBUILD2
-rw-r--r--extra/libcue/PKGBUILD2
-rw-r--r--extra/libdaemon/PKGBUILD4
-rw-r--r--extra/libdatrie/PKGBUILD4
-rw-r--r--extra/libdbusmenu-qt/PKGBUILD2
-rw-r--r--extra/libdc1394/PKGBUILD4
-rw-r--r--extra/libdca/PKGBUILD4
-rw-r--r--extra/libdiscid/PKGBUILD2
-rw-r--r--extra/libdmapsharing/PKGBUILD2
-rw-r--r--extra/libdmtx/PKGBUILD2
-rw-r--r--extra/libdmx/PKGBUILD4
-rw-r--r--extra/libdrm-new/COPYING48
-rw-r--r--extra/libdrm-new/PKGBUILD53
-rw-r--r--extra/libdrm-new/no-pthread-stubs.patch70
-rw-r--r--extra/libdrm-old/COPYING48
-rw-r--r--extra/libdrm-old/PKGBUILD54
-rw-r--r--extra/libdrm-old/no-pthread-stubs.patch66
-rw-r--r--extra/libdrm/PKGBUILD5
-rw-r--r--extra/libdv/PKGBUILD4
-rw-r--r--extra/libdvbpsi/PKGBUILD4
-rw-r--r--extra/libdvdcss/PKGBUILD2
-rw-r--r--extra/libdvdnav/PKGBUILD4
-rw-r--r--extra/libdvdread/PKGBUILD4
-rw-r--r--extra/libebml/PKGBUILD4
-rw-r--r--extra/libepc/PKGBUILD2
-rw-r--r--extra/libetpan/PKGBUILD2
-rw-r--r--extra/libexif/PKGBUILD2
-rw-r--r--extra/libffado/PKGBUILD8
-rw-r--r--extra/libfontenc/PKGBUILD4
-rw-r--r--extra/libfprint/PKGBUILD2
-rw-r--r--extra/libfs/PKGBUILD4
-rw-r--r--extra/libftdi/PKGBUILD2
-rw-r--r--extra/libgadu/PKGBUILD2
-rw-r--r--extra/libgda/PKGBUILD5
-rw-r--r--extra/libgdata/PKGBUILD2
-rw-r--r--extra/libgdiplus/PKGBUILD2
-rw-r--r--extra/libgee/PKGBUILD2
-rw-r--r--extra/libggz/PKGBUILD26
-rw-r--r--extra/libgksu/PKGBUILD2
-rw-r--r--extra/libglade/PKGBUILD4
-rw-r--r--extra/libglademm/PKGBUILD4
-rw-r--r--extra/libgme/PKGBUILD4
-rw-r--r--extra/libgnome-keyring/PKGBUILD2
-rw-r--r--extra/libgnome-media-profiles/PKGBUILD2
-rw-r--r--extra/libgnome/PKGBUILD4
-rw-r--r--extra/libgnomecanvas/PKGBUILD4
-rw-r--r--extra/libgnomecanvasmm/PKGBUILD4
-rw-r--r--extra/libgnomekbd/PKGBUILD2
-rw-r--r--extra/libgnomemm/PKGBUILD4
-rw-r--r--extra/libgnomeui/PKGBUILD4
-rw-r--r--extra/libgnomeuimm/PKGBUILD4
-rw-r--r--extra/libgphoto2/PKGBUILD2
-rw-r--r--extra/libgpod/PKGBUILD12
-rw-r--r--extra/libgsf/PKGBUILD2
-rw-r--r--extra/libgtkhtml/PKGBUILD4
-rw-r--r--extra/libgtop/PKGBUILD4
-rw-r--r--extra/libguess/PKGBUILD4
-rw-r--r--extra/libgusb/PKGBUILD2
-rw-r--r--extra/libgweather/PKGBUILD2
-rw-r--r--extra/libgxps/PKGBUILD2
-rw-r--r--extra/libhangul/PKGBUILD5
-rw-r--r--extra/libical/PKGBUILD2
-rw-r--r--extra/libice/PKGBUILD4
-rw-r--r--extra/libid3tag/PKGBUILD4
-rw-r--r--extra/libidl2/PKGBUILD4
-rw-r--r--extra/libidn/PKGBUILD2
-rw-r--r--extra/libiec61883/PKGBUILD4
-rw-r--r--extra/libieee1284/PKGBUILD6
-rw-r--r--extra/libifp/PKGBUILD2
-rw-r--r--extra/libimobiledevice/PKGBUILD4
-rw-r--r--extra/libimobiledevice/swig-version-check.patch14
-rw-r--r--extra/libindi/PKGBUILD2
-rw-r--r--extra/libiodbc/PKGBUILD2
-rw-r--r--extra/libirman/PKGBUILD2
-rw-r--r--extra/libisoburn/PKGBUILD2
-rw-r--r--extra/libisofs/PKGBUILD2
-rw-r--r--extra/libjpeg-turbo/PKGBUILD2
-rw-r--r--extra/libkate/PKGBUILD4
-rw-r--r--extra/libkcddb/PKGBUILD2
-rw-r--r--extra/libkcompactdisc/PKGBUILD2
-rw-r--r--extra/libkdcraw/PKGBUILD2
-rw-r--r--extra/libkdeedu/PKGBUILD2
-rw-r--r--extra/libkexiv2/PKGBUILD2
-rw-r--r--extra/libkgapi/PKGBUILD2
-rw-r--r--extra/libkgoogle/PKGBUILD31
-rw-r--r--extra/libkipi/PKGBUILD2
-rw-r--r--extra/libksane/PKGBUILD2
-rw-r--r--extra/libktorrent/PKGBUILD2
-rw-r--r--extra/liblastfm/PKGBUILD2
-rw-r--r--extra/liblo/PKGBUILD4
-rw-r--r--extra/liblouis/PKGBUILD4
-rw-r--r--extra/liblqr/PKGBUILD2
-rw-r--r--extra/liblrdf/PKGBUILD2
-rw-r--r--extra/libmad/PKGBUILD6
-rw-r--r--extra/libmatroska/PKGBUILD4
-rw-r--r--extra/libmcrypt/PKGBUILD4
-rw-r--r--extra/libmikmod/PKGBUILD2
-rw-r--r--extra/libmms/PKGBUILD4
-rw-r--r--extra/libmng/PKGBUILD5
-rw-r--r--extra/libmodplug/PKGBUILD4
-rw-r--r--extra/libmowgli/PKGBUILD2
-rw-r--r--extra/libmp3splt/PKGBUILD4
-rw-r--r--extra/libmp4v2/PKGBUILD2
-rw-r--r--extra/libmpcdec/PKGBUILD4
-rw-r--r--extra/libmpd/PKGBUILD4
-rw-r--r--extra/libmpdclient/PKGBUILD4
-rw-r--r--extra/libmpeg2/PKGBUILD4
-rw-r--r--extra/libmsn/PKGBUILD12
-rw-r--r--extra/libmsn/gcc47.patch11
-rw-r--r--extra/libmspack/PKGBUILD4
-rw-r--r--extra/libmtp/PKGBUILD2
-rw-r--r--extra/libmusicbrainz3/PKGBUILD2
-rw-r--r--extra/libmusicbrainz4/PKGBUILD2
-rw-r--r--extra/libmusicbrainz5/PKGBUILD2
-rw-r--r--extra/libmygpo-qt/PKGBUILD2
-rw-r--r--extra/libmythes/PKGBUILD2
-rw-r--r--extra/libnet/PKGBUILD2
-rw-r--r--extra/libnice/PKGBUILD2
-rw-r--r--extra/libnl1/PKGBUILD4
-rw-r--r--extra/libnotify/PKGBUILD4
-rw-r--r--extra/libnova/PKGBUILD2
-rw-r--r--extra/liboauth/PKGBUILD4
-rw-r--r--extra/libofa/PKGBUILD5
-rw-r--r--extra/libofa/gcc47.patch22
-rw-r--r--extra/libofx/PKGBUILD2
-rw-r--r--extra/libogg/PKGBUILD4
-rw-r--r--extra/liboil/PKGBUILD4
-rw-r--r--extra/liborigin2/PKGBUILD2
-rw-r--r--extra/libotf/PKGBUILD4
-rw-r--r--extra/libotr/PKGBUILD2
-rw-r--r--extra/libotr3/PKGBUILD2
-rw-r--r--extra/libots/PKGBUILD4
-rw-r--r--extra/libpano13/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/PKGBUILD10
-rw-r--r--extra/libpst/PKGBUILD2
-rw-r--r--extra/libpwquality/PKGBUILD2
-rw-r--r--extra/libqalculate/PKGBUILD4
-rw-r--r--extra/libquvi/PKGBUILD2
-rw-r--r--extra/libqzeitgeist/PKGBUILD4
-rw-r--r--extra/libraw1394/PKGBUILD4
-rw-r--r--extra/librsvg/PKGBUILD2
-rw-r--r--extra/libsamplerate/PKGBUILD4
-rw-r--r--extra/libsecret/PKGBUILD2
-rw-r--r--extra/libsexy/PKGBUILD4
-rw-r--r--extra/libshout/PKGBUILD2
-rw-r--r--extra/libsidplay/PKGBUILD4
-rw-r--r--extra/libsigc++/PKGBUILD2
-rw-r--r--extra/libsigsegv/PKGBUILD4
-rw-r--r--extra/libsm/PKGBUILD4
-rw-r--r--extra/libsmbios/PKGBUILD2
-rw-r--r--extra/libsndfile/PKGBUILD4
-rw-r--r--extra/libsocialweb/PKGBUILD2
-rw-r--r--extra/libsoup/PKGBUILD2
-rw-r--r--extra/libspectre/PKGBUILD4
-rw-r--r--extra/libspiro/PKGBUILD4
-rw-r--r--extra/libsrtp/PKGBUILD9
-rw-r--r--extra/libsrtp/mips.patch55
-rw-r--r--extra/libssh/PKGBUILD4
-rw-r--r--extra/libstdc++5/PKGBUILD2
-rw-r--r--extra/libstroke/PKGBUILD4
-rw-r--r--extra/libtar/PKGBUILD2
-rw-r--r--extra/libtasn1/PKGBUILD2
-rw-r--r--extra/libtextcat/PKGBUILD2
-rw-r--r--extra/libthai/PKGBUILD2
-rw-r--r--extra/libtheora/PKGBUILD6
-rw-r--r--extra/libtiff/PKGBUILD2
-rw-r--r--extra/libtiger/PKGBUILD4
-rw-r--r--extra/libtorrent-rasterbar/PKGBUILD2
-rw-r--r--extra/libunique/PKGBUILD4
-rw-r--r--extra/libunique3/PKGBUILD4
-rw-r--r--extra/libunistring/PKGBUILD2
-rw-r--r--extra/libupnp/PKGBUILD2
-rw-r--r--extra/libva-driver-intel/PKGBUILD29
-rw-r--r--extra/libvisual-plugins/PKGBUILD2
-rw-r--r--extra/libvisual/PKGBUILD4
-rw-r--r--extra/libvncserver/PKGBUILD2
-rw-r--r--extra/libvorbis/PKGBUILD4
-rw-r--r--extra/libvpx/PKGBUILD18
-rw-r--r--extra/libvpx/mips64el.patch38
-rw-r--r--extra/libwacom/PKGBUILD2
-rw-r--r--extra/libwebkit/PKGBUILD77
-rw-r--r--extra/libwebkit/bison26.diff556
-rw-r--r--extra/libwebp/PKGBUILD2
-rw-r--r--extra/libwmf/PKGBUILD4
-rw-r--r--extra/libwnck/PKGBUILD4
-rw-r--r--extra/libwnck3/PKGBUILD2
-rw-r--r--extra/libwpd/PKGBUILD2
-rw-r--r--extra/libwpg/PKGBUILD4
-rw-r--r--extra/libwps/PKGBUILD2
-rw-r--r--extra/libx11/PKGBUILD2
-rw-r--r--extra/libxau/PKGBUILD4
-rw-r--r--extra/libxaw/PKGBUILD2
-rw-r--r--extra/libxcb/PKGBUILD2
-rw-r--r--extra/libxcomposite/PKGBUILD4
-rw-r--r--extra/libxcursor/PKGBUILD4
-rw-r--r--extra/libxdamage/PKGBUILD4
-rw-r--r--extra/libxdmcp/PKGBUILD4
-rw-r--r--extra/libxevie/PKGBUILD2
-rw-r--r--extra/libxext/PKGBUILD4
-rw-r--r--extra/libxfce4ui/PKGBUILD2
-rw-r--r--extra/libxfce4util/PKGBUILD2
-rw-r--r--extra/libxfcegui4/PKGBUILD2
-rw-r--r--extra/libxfixes/PKGBUILD4
-rw-r--r--extra/libxfont/PKGBUILD4
-rw-r--r--extra/libxft/PKGBUILD2
-rw-r--r--extra/libxi/PKGBUILD2
-rw-r--r--extra/libxinerama/PKGBUILD4
-rw-r--r--extra/libxkbfile/PKGBUILD4
-rw-r--r--extra/libxkbui/PKGBUILD2
-rw-r--r--extra/libxklavier/PKGBUILD2
-rw-r--r--extra/libxmi/PKGBUILD2
-rw-r--r--extra/libxml++/PKGBUILD10
-rw-r--r--extra/libxml2/PKGBUILD2
-rw-r--r--extra/libxmu/PKGBUILD4
-rw-r--r--extra/libxp/PKGBUILD4
-rw-r--r--extra/libxpm/PKGBUILD4
-rw-r--r--extra/libxrandr/PKGBUILD4
-rw-r--r--extra/libxrender/PKGBUILD4
-rw-r--r--extra/libxres/PKGBUILD4
-rw-r--r--extra/libxslt/PKGBUILD4
-rw-r--r--extra/libxss/PKGBUILD4
-rw-r--r--extra/libxt/PKGBUILD4
-rw-r--r--extra/libxtst/PKGBUILD4
-rw-r--r--extra/libxv/PKGBUILD4
-rw-r--r--extra/libxvmc/PKGBUILD4
-rw-r--r--extra/libxxf86dga/PKGBUILD2
-rw-r--r--extra/libxxf86vm/PKGBUILD4
-rw-r--r--extra/libytnef/PKGBUILD4
-rw-r--r--extra/libzapojit/PKGBUILD2
-rw-r--r--extra/libzeitgeist/PKGBUILD2
-rw-r--r--extra/libzip/PKGBUILD2
-rw-r--r--extra/libzrtpcpp/PKGBUILD2
-rw-r--r--extra/libzvt/PKGBUILD2
-rw-r--r--extra/licq/PKGBUILD2
-rw-r--r--extra/lighttpd/PKGBUILD2
-rw-r--r--extra/lilv/PKGBUILD2
-rw-r--r--extra/link-grammar/PKGBUILD2
-rw-r--r--extra/liquidwar/PKGBUILD2
-rw-r--r--extra/lirc/PKGBUILD105
-rw-r--r--extra/lirc/irexec.conf5
-rwxr-xr-xextra/lirc/irexecd38
-rw-r--r--extra/lirc/kernel-2.6.39.patch54
-rw-r--r--extra/lirc/lirc.install16
-rw-r--r--extra/lirc/lirc.logrotate5
-rw-r--r--extra/lirc/lirc_atiusb-kfifo.patch31
-rw-r--r--extra/lirc/lirc_wpc8769l.patch88
-rwxr-xr-xextra/lirc/lircd52
-rw-r--r--extra/lirc/lircd-handle-large-config.patch39
-rw-r--r--extra/lirc/lircd.conf8
-rwxr-xr-xextra/lirc/lircmd36
-rw-r--r--extra/live-media/PKGBUILD2
-rw-r--r--extra/llvm/PKGBUILD2
-rw-r--r--extra/lm_sensors/PKGBUILD2
-rw-r--r--extra/loudmouth/PKGBUILD2
-rw-r--r--extra/lpsolve/PKGBUILD2
-rw-r--r--extra/lsdvd/PKGBUILD28
-rw-r--r--extra/lsdvd/stdint_usage.patch22
-rw-r--r--extra/lsof/PKGBUILD2
-rw-r--r--extra/ltrace/PKGBUILD2
-rw-r--r--extra/lua/PKGBUILD2
-rw-r--r--extra/lv2/PKGBUILD2
-rw-r--r--extra/lxsplit/PKGBUILD4
-rw-r--r--extra/lynx/PKGBUILD2
-rw-r--r--extra/lyx/PKGBUILD2
-rw-r--r--extra/lzo/PKGBUILD4
-rw-r--r--extra/lzop/PKGBUILD2
-rw-r--r--extra/m17n-lib/PKGBUILD6
-rw-r--r--extra/mahjong/PKGBUILD2
-rw-r--r--extra/manedit/PKGBUILD4
-rw-r--r--extra/mash/PKGBUILD2
-rw-r--r--extra/maxima/PKGBUILD15
-rw-r--r--extra/mcpp/PKGBUILD2
-rw-r--r--extra/mcrypt/PKGBUILD4
-rw-r--r--extra/mediastreamer/PKGBUILD2
-rw-r--r--extra/memcached/PKGBUILD2
-rw-r--r--extra/mercurial/PKGBUILD2
-rw-r--r--extra/mesa/PKGBUILD26
-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/PKGBUILD4
-rw-r--r--extra/minicom/PKGBUILD2
-rw-r--r--extra/mirage/PKGBUILD4
-rw-r--r--extra/miro/PKGBUILD2
-rw-r--r--extra/mjpegtools/PKGBUILD6
-rw-r--r--extra/mkvtoolnix/PKGBUILD2
-rw-r--r--extra/moc/PKGBUILD2
-rw-r--r--extra/mod_dnssd/PKGBUILD4
-rw-r--r--extra/mod_fcgid/PKGBUILD2
-rw-r--r--extra/mod_perl/PKGBUILD2
-rw-r--r--extra/mod_wsgi/PKGBUILD2
-rw-r--r--extra/modemmanager/PKGBUILD2
-rw-r--r--extra/monica/PKGBUILD2
-rw-r--r--extra/most/PKGBUILD2
-rw-r--r--extra/mousetweaks/PKGBUILD2
-rw-r--r--extra/mp3splt/PKGBUILD2
-rw-r--r--extra/mp3wrap/PKGBUILD4
-rw-r--r--extra/mpc/PKGBUILD4
-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/PKGBUILD26
-rw-r--r--extra/mtdev/PKGBUILD2
-rw-r--r--extra/mtools/PKGBUILD2
-rw-r--r--extra/mtr/PKGBUILD4
-rw-r--r--extra/mtx/PKGBUILD27
-rw-r--r--extra/multitail/PKGBUILD28
-rw-r--r--extra/muparser/PKGBUILD2
-rw-r--r--extra/musicbrainz/PKGBUILD2
-rw-r--r--extra/mutt/PKGBUILD2
-rw-r--r--extra/mutter/PKGBUILD5
-rw-r--r--extra/mx/PKGBUILD2
-rw-r--r--extra/mysql-python/PKGBUILD2
-rw-r--r--extra/mysql/PKGBUILD2
-rw-r--r--extra/naim/PKGBUILD4
-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/nawk/PKGBUILD2
-rw-r--r--extra/ncftp/PKGBUILD5
-rw-r--r--extra/ncmpc/PKGBUILD4
-rw-r--r--extra/nedit/PKGBUILD4
-rw-r--r--extra/neon/PKGBUILD2
-rw-r--r--extra/nepomuk-core/PKGBUILD2
-rw-r--r--extra/net-snmp/PKGBUILD2
-rw-r--r--extra/netcdf-cxx/PKGBUILD2
-rw-r--r--extra/netcdf-fortran/PKGBUILD2
-rw-r--r--extra/netcdf/PKGBUILD2
-rw-r--r--extra/netkit-bsd-finger/PKGBUILD4
-rw-r--r--extra/netpbm/PKGBUILD6
-rw-r--r--extra/nettle/PKGBUILD2
-rw-r--r--extra/network-manager-applet/PKGBUILD2
-rw-r--r--extra/networkmanager-openconnect/PKGBUILD2
-rw-r--r--extra/networkmanager-openvpn/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/PKGBUILD4
-rw-r--r--extra/nmap/PKGBUILD2
-rw-r--r--extra/normalize/PKGBUILD2
-rw-r--r--extra/notification-daemon/PKGBUILD2
-rw-r--r--extra/nouveau-dri/LICENSE82
-rw-r--r--extra/nouveau-dri/PKGBUILD56
-rw-r--r--extra/nouveau-dri/mesa-8.0.3-llvm-3.1-fixes.patch46
-rw-r--r--extra/nspr/PKGBUILD2
-rw-r--r--extra/nss-mdns/PKGBUILD4
-rw-r--r--extra/nss-myhostname/PKGBUILD30
-rw-r--r--extra/nss-myhostname/nss-myhostname.install6
-rw-r--r--extra/nss/PKGBUILD2
-rw-r--r--extra/nss_ldap/PKGBUILD3
-rw-r--r--extra/ntfs-3g_ntfsprogs/PKGBUILD2
-rw-r--r--extra/ntp/PKGBUILD4
-rw-r--r--extra/numactl/PKGBUILD2
-rw-r--r--extra/nx-common/PKGBUILD6
-rw-r--r--extra/nx/PKGBUILD2
-rw-r--r--extra/obex-data-server/PKGBUILD2
-rw-r--r--extra/obexd/PKGBUILD2
-rw-r--r--extra/obexftp/PKGBUILD2
-rw-r--r--extra/ocaml/PKGBUILD19
-rw-r--r--extra/ocaml/fix-caml_int64_float_of_bits-n32.patch12
-rw-r--r--extra/ocrad/PKGBUILD4
-rw-r--r--extra/octave/PKGBUILD2
-rw-r--r--extra/ode/PKGBUILD4
-rw-r--r--extra/ogle/PKGBUILD2
-rw-r--r--extra/ogmtools/PKGBUILD4
-rw-r--r--extra/opal/PKGBUILD2
-rw-r--r--extra/openal/PKGBUILD21
-rw-r--r--extra/openal/fpu.patch57
-rw-r--r--extra/openbabel/PKGBUILD2
-rw-r--r--extra/openconnect/PKGBUILD2
-rw-r--r--extra/opencore-amr/PKGBUILD4
-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/PKGBUILD12
-rw-r--r--extra/opennx/PKGBUILD2
-rw-r--r--extra/openobex/PKGBUILD4
-rw-r--r--extra/openslp/PKGBUILD2
-rw-r--r--extra/opensp/PKGBUILD2
-rw-r--r--extra/oprofile/PKGBUILD2
-rw-r--r--extra/opus/PKGBUILD2
-rw-r--r--extra/orage/PKGBUILD2
-rw-r--r--extra/orbit2/PKGBUILD4
-rw-r--r--extra/orc/PKGBUILD4
-rw-r--r--extra/ortp/PKGBUILD2
-rw-r--r--extra/ossp/PKGBUILD4
-rw-r--r--extra/oxine/PKGBUILD28
-rw-r--r--extra/oxygen-gtk2/PKGBUILD2
-rw-r--r--extra/oxygen-gtk3/PKGBUILD2
-rw-r--r--extra/p11-kit/PKGBUILD4
-rw-r--r--extra/pam_ldap/PKGBUILD5
-rw-r--r--extra/pango-perl/PKGBUILD2
-rw-r--r--extra/pango/PKGBUILD2
-rw-r--r--extra/pangomm/PKGBUILD4
-rw-r--r--extra/pangox-compat/PKGBUILD2
-rw-r--r--extra/paprefs/PKGBUILD4
-rw-r--r--extra/parted/PKGBUILD4
-rw-r--r--extra/pathological/PKGBUILD2
-rw-r--r--extra/pavucontrol/PKGBUILD4
-rw-r--r--extra/pdksh/PKGBUILD31
-rw-r--r--extra/pdksh/pdksh-5.2.14.patch26
-rw-r--r--extra/pdksh/pdksh.install22
-rw-r--r--extra/pdksh/usr_ksh.sh9
-rw-r--r--extra/pdns-recursor/PKGBUILD31
-rw-r--r--extra/pdns-recursor/pdns-recursor.rc35
-rwxr-xr-xextra/pdns/2.9.18-default-mysql-options.patch13
-rw-r--r--extra/pdns/PKGBUILD58
-rw-r--r--extra/pdns/pdns-2.9.22-gcc44.patch22
-rw-r--r--extra/pdns/pdns.conf290
-rw-r--r--extra/pdns/pdns.install11
-rw-r--r--extra/pdns/pdns.rc35
-rw-r--r--extra/pekwm/PKGBUILD2
-rw-r--r--extra/perl-alien-sdl/PKGBUILD2
-rw-r--r--extra/perl-async-interrupt/PKGBUILD2
-rw-r--r--extra/perl-bit-vector/PKGBUILD2
-rw-r--r--extra/perl-compress-bzip2/PKGBUILD2
-rw-r--r--extra/perl-crypt-openssl-bignum/PKGBUILD2
-rw-r--r--extra/perl-crypt-openssl-random/PKGBUILD2
-rw-r--r--extra/perl-crypt-openssl-rsa/PKGBUILD2
-rw-r--r--extra/perl-crypt-ssleay/PKGBUILD2
-rw-r--r--extra/perl-dbd-mysql/PKGBUILD2
-rw-r--r--extra/perl-dbd-sqlite/PKGBUILD2
-rw-r--r--extra/perl-dbi/PKGBUILD2
-rw-r--r--extra/perl-digest-nilsimsa/PKGBUILD2
-rw-r--r--extra/perl-digest-sha1/PKGBUILD2
-rw-r--r--extra/perl-ev/PKGBUILD2
-rw-r--r--extra/perl-event/PKGBUILD2
-rw-r--r--extra/perl-fcgi/PKGBUILD2
-rw-r--r--extra/perl-guard/PKGBUILD2
-rw-r--r--extra/perl-html-parser/PKGBUILD2
-rw-r--r--extra/perl-libintl-perl/PKGBUILD2
-rw-r--r--extra/perl-list-moreutils/PKGBUILD2
-rw-r--r--extra/perl-locale-gettext/PKGBUILD2
-rw-r--r--extra/perl-net-dns/PKGBUILD2
-rw-r--r--extra/perl-net-ssleay/PKGBUILD2
-rw-r--r--extra/perl-net-upnp/PKGBUILD2
-rw-r--r--extra/perl-netaddr-ip/PKGBUILD2
-rw-r--r--extra/perl-sdl/PKGBUILD2
-rw-r--r--extra/perl-socket6/PKGBUILD2
-rw-r--r--extra/perl-template-toolkit/PKGBUILD2
-rw-r--r--extra/perl-term-readkey/PKGBUILD2
-rw-r--r--extra/perl-text-iconv/PKGBUILD2
-rw-r--r--extra/perl-time-hires/PKGBUILD35
-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-xcache/PKGBUILD2
-rw-r--r--extra/php/PKGBUILD2
-rw-r--r--extra/physfs/PKGBUILD2
-rw-r--r--extra/pidgin-encryption/PKGBUILD4
-rw-r--r--extra/pidgin/PKGBUILD2
-rw-r--r--extra/pilot-link/PKGBUILD4
-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/PKGBUILD4
-rw-r--r--extra/pmount/PKGBUILD2
-rw-r--r--extra/polkit-gnome/PKGBUILD4
-rw-r--r--extra/polkit-kde/PKGBUILD4
-rw-r--r--extra/polkit-qt/PKGBUILD4
-rw-r--r--extra/polkit/PKGBUILD2
-rw-r--r--extra/poppler/PKGBUILD2
-rw-r--r--extra/postfix/PKGBUILD2
-rw-r--r--extra/postgresql-old-upgrade/PKGBUILD2
-rw-r--r--extra/postgresql/PKGBUILD2
-rw-r--r--extra/potrace/PKGBUILD4
-rw-r--r--extra/prison/PKGBUILD4
-rw-r--r--extra/procmail/PKGBUILD2
-rw-r--r--extra/proftpd/PKGBUILD2
-rw-r--r--extra/progsreiserfs/PKGBUILD4
-rw-r--r--extra/psi/PKGBUILD2
-rw-r--r--extra/psiconv/PKGBUILD2
-rw-r--r--extra/pstoedit/PKGBUILD2
-rw-r--r--extra/ptlib/PKGBUILD2
-rw-r--r--extra/pulseaudio/PKGBUILD9
-rw-r--r--extra/purple-plugin-pack/PKGBUILD4
-rw-r--r--extra/putty/PKGBUILD3
-rw-r--r--extra/pyalpm/PKGBUILD2
-rw-r--r--extra/pycrypto/PKGBUILD2
-rw-r--r--extra/pycups/PKGBUILD2
-rw-r--r--extra/pycurl/PKGBUILD2
-rw-r--r--extra/pygobject/PKGBUILD2
-rw-r--r--extra/pygobject/fix-pycairo-capi-declaration.patch17
-rw-r--r--extra/pygobject2/PKGBUILD2
-rw-r--r--extra/pygtk/PKGBUILD4
-rw-r--r--extra/pygtksourceview2/PKGBUILD4
-rw-r--r--extra/pymad/PKGBUILD2
-rw-r--r--extra/pyopenssl/PKGBUILD2
-rw-r--r--extra/pyorbit/PKGBUILD4
-rw-r--r--extra/pypgsql/COPYING20
-rw-r--r--extra/pypgsql/PKGBUILD23
-rw-r--r--extra/pyqt/PKGBUILD2
-rw-r--r--extra/pysmbc/PKGBUILD2
-rw-r--r--extra/python-cairo/PKGBUILD2
-rw-r--r--extra/python-egenix-mx-base/PKGBUILD2
-rw-r--r--extra/python-geoip/PKGBUILD2
-rw-r--r--extra/python-imaging/PKGBUILD48
-rw-r--r--extra/python-iwscan/PKGBUILD2
-rw-r--r--extra/python-lxml/PKGBUILD2
-rw-r--r--extra/python-m2crypto/PKGBUILD4
-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-pycurl/PKGBUILD22
-rw-r--r--extra/python-pygame/PKGBUILD2
-rw-r--r--extra/python-pyspi/PKGBUILD2
-rw-r--r--extra/python-pysqlite/PKGBUILD2
-rw-r--r--extra/python-telepathy/PKGBUILD10
-rw-r--r--extra/python-telepathy/telepathy-python-generated-errors.patch18
-rw-r--r--extra/python-urwid/PKGBUILD2
-rw-r--r--extra/python-wpactrl/PKGBUILD2
-rw-r--r--extra/python/PKGBUILD15
-rw-r--r--extra/python2-cairo/PKGBUILD4
-rw-r--r--extra/python2/PKGBUILD4
-rw-r--r--extra/pywebkitgtk/PKGBUILD2
-rw-r--r--extra/pyxml/PKGBUILD4
-rw-r--r--extra/qalculate-gtk/PKGBUILD2
-rw-r--r--extra/qca-gnupg/PKGBUILD4
-rw-r--r--extra/qca-ossl/PKGBUILD4
-rw-r--r--extra/qca/PKGBUILD4
-rw-r--r--extra/qemu-kvm/PKGBUILD2
-rw-r--r--extra/qemu/PKGBUILD2
-rw-r--r--extra/qhull/PKGBUILD6
-rw-r--r--extra/qimageblitz/PKGBUILD5
-rw-r--r--extra/qiv/PKGBUILD2
-rw-r--r--extra/qjackctl/PKGBUILD2
-rw-r--r--extra/qjson/PKGBUILD2
-rw-r--r--extra/qoauth/PKGBUILD2
-rw-r--r--extra/qpdf/PKGBUILD2
-rw-r--r--extra/qrencode/PKGBUILD2
-rw-r--r--extra/qscintilla/PKGBUILD2
-rw-r--r--extra/qsynth/PKGBUILD2
-rw-r--r--extra/qt-assistant-compat/PKGBUILD4
-rw-r--r--extra/qt-gstreamer/PKGBUILD2
-rw-r--r--extra/qt/PKGBUILD25
-rw-r--r--extra/qt/declarative-fix-sigbus.patch33
-rw-r--r--extra/qt3/PKGBUILD2
-rw-r--r--extra/qtiplot/PKGBUILD2
-rw-r--r--extra/qtscriptgenerator/PKGBUILD2
-rw-r--r--extra/qtwebkit/PKGBUILD11
-rw-r--r--extra/quodlibet/PKGBUILD4
-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/PKGBUILD36
-rw-r--r--extra/raptor1/curl.patch11
-rw-r--r--extra/rarian/PKGBUILD4
-rw-r--r--extra/rasqal/PKGBUILD2
-rw-r--r--extra/ratpoison/PKGBUILD2
-rw-r--r--extra/razor/PKGBUILD2
-rw-r--r--extra/rcs/PKGBUILD2
-rw-r--r--extra/rdesktop/PKGBUILD4
-rw-r--r--extra/re-alpine/PKGBUILD2
-rw-r--r--extra/re2c/PKGBUILD4
-rw-r--r--extra/recode/PKGBUILD5
-rw-r--r--extra/redland/PKGBUILD4
-rw-r--r--extra/rest/PKGBUILD2
-rw-r--r--extra/rhythmbox/PKGBUILD2
-rw-r--r--extra/rosegarden/PKGBUILD2
-rw-r--r--extra/rox/PKGBUILD2
-rw-r--r--extra/rrdtool/PKGBUILD2
-rw-r--r--extra/rssh/PKGBUILD43
-rw-r--r--extra/rssh/destdir.patch24
-rw-r--r--extra/rssh/env-breach.patch228
-rw-r--r--extra/rssh/rsync.patch54
-rw-r--r--extra/rsync/PKGBUILD2
-rw-r--r--extra/rtkit/PKGBUILD2
-rw-r--r--extra/rtmpdump/PKGBUILD4
-rw-r--r--extra/rubberband/PKGBUILD2
-rw-r--r--extra/ruby/PKGBUILD2
-rw-r--r--extra/samba/PKGBUILD2
-rw-r--r--extra/sane-frontends/PKGBUILD2
-rw-r--r--extra/sane/PKGBUILD4
-rw-r--r--extra/sbc/PKGBUILD2
-rw-r--r--extra/sbcl/PKGBUILD10
-rw-r--r--extra/sbcl/mips-arch.h.diff20
-rw-r--r--extra/schedtool/PKGBUILD2
-rw-r--r--extra/schroedinger/PKGBUILD4
-rw-r--r--extra/scim-anthy/PKGBUILD2
-rw-r--r--extra/scim-chewing/PKGBUILD4
-rw-r--r--extra/scim-hangul/PKGBUILD2
-rw-r--r--extra/scim-hangul/unistd.patch11
-rw-r--r--extra/scim-m17n/PKGBUILD2
-rw-r--r--extra/scim-pinyin/PKGBUILD2
-rw-r--r--extra/scim-tables/PKGBUILD2
-rw-r--r--extra/scim-uim/PKGBUILD2
-rw-r--r--extra/scim/PKGBUILD2
-rw-r--r--extra/screen/PKGBUILD2
-rw-r--r--extra/scribus/PKGBUILD2
-rw-r--r--extra/scrot/PKGBUILD4
-rw-r--r--extra/scummvm/PKGBUILD29
-rw-r--r--extra/sdl_gfx/PKGBUILD6
-rw-r--r--extra/sdl_image/PKGBUILD4
-rw-r--r--extra/sdl_mixer/PKGBUILD2
-rw-r--r--extra/sdl_net/PKGBUILD4
-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/10_gpgme_keyring_finalize_typo.patch21
-rw-r--r--extra/seahorse/PKGBUILD6
-rw-r--r--extra/seed/PKGBUILD2
-rw-r--r--extra/serd/PKGBUILD2
-rw-r--r--extra/setserial/PKGBUILD2
-rw-r--r--extra/sg3_utils/PKGBUILD4
-rw-r--r--extra/shared-mime-info/PKGBUILD4
-rw-r--r--extra/sharutils/PKGBUILD4
-rw-r--r--extra/sip/PKGBUILD2
-rw-r--r--extra/skanlite/PKGBUILD30
-rw-r--r--extra/slang/PKGBUILD4
-rw-r--r--extra/slim/PKGBUILD2
-rw-r--r--extra/slv2/PKGBUILD32
-rw-r--r--extra/slv2/slv2.changelog23
-rw-r--r--extra/slv2/slv2.install14
-rw-r--r--extra/smartmontools/PKGBUILD2
-rw-r--r--extra/smb4k/PKGBUILD2
-rw-r--r--extra/smpeg/PKGBUILD2
-rw-r--r--extra/smplayer/PKGBUILD2
-rw-r--r--extra/snappy/PKGBUILD2
-rw-r--r--extra/snarf/PKGBUILD2
-rw-r--r--extra/snd/PKGBUILD2
-rw-r--r--extra/socat/PKGBUILD2
-rw-r--r--extra/sofia-sip/PKGBUILD4
-rw-r--r--extra/sonata/PKGBUILD2
-rw-r--r--extra/soprano/PKGBUILD5
-rw-r--r--extra/sord/PKGBUILD2
-rw-r--r--extra/sound-juicer/PKGBUILD2
-rw-r--r--extra/soundtouch/PKGBUILD24
-rw-r--r--extra/soundtouch/disable-mmx.patch115
-rw-r--r--extra/source-highlight/PKGBUILD2
-rw-r--r--extra/sox/PKGBUILD2
-rw-r--r--extra/spamassassin/PKGBUILD2
-rw-r--r--extra/spandsp/PKGBUILD2
-rw-r--r--extra/speech-dispatcher/PKGBUILD2
-rw-r--r--extra/speex/PKGBUILD4
-rw-r--r--extra/sqlite/PKGBUILD30
-rw-r--r--extra/squid/PKGBUILD94
-rw-r--r--extra/squid/squid48
-rw-r--r--extra/squid/squid.conf.d4
-rw-r--r--extra/squid/squid.cron9
-rw-r--r--extra/squid/squid.install26
-rw-r--r--extra/squid/squid.pam4
-rw-r--r--extra/squid/squid.service13
-rw-r--r--extra/sratom/PKGBUILD2
-rw-r--r--extra/srm/PKGBUILD2
-rw-r--r--extra/sshfs/PKGBUILD4
-rw-r--r--extra/ssmtp/PKGBUILD4
-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/strigi/PKGBUILD2
-rw-r--r--extra/subversion/PKGBUILD20
-rw-r--r--extra/suil/PKGBUILD2
-rw-r--r--extra/suitesparse/PKGBUILD2
-rw-r--r--extra/sushi/PKGBUILD2
-rw-r--r--extra/sweep/PKGBUILD4
-rw-r--r--extra/swh-plugins/PKGBUILD2
-rw-r--r--extra/swig/PKGBUILD4
-rw-r--r--extra/sysklogd/LICENSE16
-rw-r--r--extra/sysklogd/PKGBUILD55
-rwxr-xr-xextra/sysklogd/klogd37
-rw-r--r--extra/sysklogd/sysklogd-1.4.1-caen-owl-klogd-drop-root.diff161
-rw-r--r--extra/sysklogd/sysklogd-1.4.1-caen-owl-syslogd-bind.diff104
-rw-r--r--extra/sysklogd/sysklogd-1.4.1-caen-owl-syslogd-drop-root.diff117
-rw-r--r--extra/sysklogd/sysklogd-1.5-syslog-func-collision.patch103
-rw-r--r--extra/sysklogd/syslog.conf15
-rw-r--r--extra/sysklogd/syslog.logrotate6
-rwxr-xr-xextra/sysklogd/syslogd37
-rw-r--r--extra/system-config-printer/PKGBUILD2
-rw-r--r--extra/t1lib/PKGBUILD4
-rw-r--r--extra/taglib-extras/PKGBUILD2
-rw-r--r--extra/taglib/PKGBUILD2
-rw-r--r--extra/talloc/PKGBUILD4
-rw-r--r--extra/tamu-anova/PKGBUILD2
-rw-r--r--extra/tcl/PKGBUILD2
-rw-r--r--extra/tcpdump/PKGBUILD2
-rw-r--r--extra/tdb/PKGBUILD2
-rw-r--r--extra/telepathy-farstream/PKGBUILD2
-rw-r--r--extra/telepathy-gabble/PKGBUILD2
-rw-r--r--extra/telepathy-glib/PKGBUILD2
-rw-r--r--extra/telepathy-haze/PKGBUILD2
-rw-r--r--extra/telepathy-idle/PKGBUILD2
-rw-r--r--extra/telepathy-kde-accounts-kcm/PKGBUILD2
-rw-r--r--extra/telepathy-kde-approver/PKGBUILD2
-rw-r--r--extra/telepathy-kde-auth-handler/PKGBUILD2
-rw-r--r--extra/telepathy-kde-call-ui/PKGBUILD2
-rw-r--r--extra/telepathy-kde-common-internals/PKGBUILD2
-rw-r--r--extra/telepathy-kde-contact-applet/PKGBUILD2
-rw-r--r--extra/telepathy-kde-contact-list/PKGBUILD2
-rw-r--r--extra/telepathy-kde-contact-runner/PKGBUILD2
-rw-r--r--extra/telepathy-kde-filetransfer-handler/PKGBUILD2
-rw-r--r--extra/telepathy-kde-integration-module/PKGBUILD2
-rw-r--r--extra/telepathy-kde-presence-applet/PKGBUILD2
-rw-r--r--extra/telepathy-kde-send-file/PKGBUILD2
-rw-r--r--extra/telepathy-kde-text-ui/PKGBUILD2
-rw-r--r--extra/telepathy-logger-qt/PKGBUILD2
-rw-r--r--extra/telepathy-logger/PKGBUILD2
-rw-r--r--extra/telepathy-mission-control/PKGBUILD2
-rw-r--r--extra/telepathy-qt/PKGBUILD2
-rw-r--r--extra/telepathy-rakia/PKGBUILD2
-rw-r--r--extra/telepathy-salut/PKGBUILD2
-rw-r--r--extra/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/PKGBUILD4
-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/PKGBUILD4
-rw-r--r--extra/time/PKGBUILD2
-rw-r--r--extra/timidity++/PKGBUILD2
-rw-r--r--extra/tinycdb/PKGBUILD2
-rw-r--r--extra/tk/PKGBUILD2
-rw-r--r--extra/tomcat-native/PKGBUILD2
-rw-r--r--extra/tomcat/PKGBUILD49
-rwxr-xr-xextra/tomcat/tomcat53
-rw-r--r--extra/tomcat/tomcat.conf.d5
-rw-r--r--extra/tomcat/tomcat.install36
-rw-r--r--extra/totem-plparser/PKGBUILD2
-rw-r--r--extra/totem/PKGBUILD7
-rw-r--r--extra/tracker/PKGBUILD2
-rw-r--r--extra/transcode/PKGBUILD2
-rw-r--r--extra/transfig/PKGBUILD2
-rw-r--r--extra/transmission/PKGBUILD2
-rw-r--r--extra/trayer/PKGBUILD2
-rw-r--r--extra/tree/PKGBUILD4
-rw-r--r--extra/truecrypt/PKGBUILD2
-rw-r--r--extra/tsocks/PKGBUILD5
-rw-r--r--extra/tumbler/PKGBUILD2
-rw-r--r--extra/tuxpuck/PKGBUILD2
-rw-r--r--extra/twisted/PKGBUILD2
-rw-r--r--extra/ucommon/PKGBUILD2
-rw-r--r--extra/udisks/PKGBUILD4
-rw-r--r--extra/udisks2/PKGBUILD2
-rw-r--r--extra/uim/PKGBUILD2
-rw-r--r--extra/umfpack/PKGBUILD55
-rw-r--r--extra/unison/PKGBUILD2
-rw-r--r--extra/unixodbc/PKGBUILD4
-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/vamp-plugin-sdk/PKGBUILD2
-rw-r--r--extra/varnish/PKGBUILD2
-rw-r--r--extra/vcdimager/PKGBUILD4
-rw-r--r--extra/vde2/PKGBUILD2
-rw-r--r--extra/vdpau-video/PKGBUILD30
-rw-r--r--extra/vice/PKGBUILD2
-rw-r--r--extra/vigra/PKGBUILD7
-rw-r--r--extra/vim/PKGBUILD6
-rw-r--r--extra/vinagre/PKGBUILD2
-rw-r--r--extra/vino/PKGBUILD2
-rw-r--r--extra/virtuoso/PKGBUILD2
-rw-r--r--extra/vlc/PKGBUILD39
-rw-r--r--extra/vorbis-tools/PKGBUILD2
-rw-r--r--extra/vpnc/PKGBUILD2
-rw-r--r--extra/vte/PKGBUILD4
-rw-r--r--extra/vte3/PKGBUILD2
-rw-r--r--extra/w3m/GC_set_warn_proc.patch12
-rw-r--r--extra/w3m/PKGBUILD14
-rw-r--r--extra/watchdog/PKGBUILD2
-rw-r--r--extra/wavpack/PKGBUILD7
-rw-r--r--extra/webkitgtk/PKGBUILD22
-rw-r--r--extra/webmin/PKGBUILD2
-rw-r--r--extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch24
-rw-r--r--extra/webrtc-audio-processing/PKGBUILD12
-rw-r--r--extra/weechat/PKGBUILD2
-rw-r--r--extra/wget/PKGBUILD2
-rw-r--r--extra/whois/PKGBUILD2
-rw-r--r--extra/wildmidi/PKGBUILD2
-rw-r--r--extra/windowmaker/PKGBUILD2
-rw-r--r--extra/wipe/PKGBUILD11
-rw-r--r--extra/wireshark/PKGBUILD2
-rw-r--r--extra/wpa_supplicant_gui/PKGBUILD2
-rw-r--r--extra/wv/PKGBUILD4
-rw-r--r--extra/wv2/PKGBUILD34
-rw-r--r--extra/wxgtk/PKGBUILD2
-rw-r--r--extra/wxmaxima/PKGBUILD2
-rw-r--r--extra/wxpython/PKGBUILD2
-rw-r--r--extra/x11-ssh-askpass/PKGBUILD2
-rw-r--r--extra/x11vnc/PKGBUILD2
-rw-r--r--extra/x264/PKGBUILD6
-rw-r--r--extra/x2x/LICENSE39
-rw-r--r--extra/x2x/PKGBUILD29
-rw-r--r--extra/xaos/PKGBUILD4
-rw-r--r--extra/xaw3d/PKGBUILD4
-rw-r--r--extra/xawtv/PKGBUILD5
-rw-r--r--extra/xbase/PKGBUILD2
-rw-r--r--extra/xbill/PKGBUILD4
-rw-r--r--extra/xcb-util-image/PKGBUILD2
-rw-r--r--extra/xcb-util-keysyms/PKGBUILD2
-rw-r--r--extra/xcb-util-renderutil/PKGBUILD4
-rw-r--r--extra/xcb-util-wm/PKGBUILD2
-rw-r--r--extra/xcb-util/PKGBUILD2
-rw-r--r--extra/xchm/PKGBUILD6
-rw-r--r--extra/xclip/PKGBUILD4
-rw-r--r--extra/xcompmgr/PKGBUILD2
-rw-r--r--extra/xdelta/PKGBUILD4
-rw-r--r--extra/xdelta3/PKGBUILD2
-rw-r--r--extra/xdg-user-dirs-gtk/PKGBUILD2
-rw-r--r--extra/xdg-user-dirs/PKGBUILD2
-rw-r--r--extra/xf86-input-acecad/PKGBUILD2
-rw-r--r--extra/xf86-input-aiptek/PKGBUILD2
-rw-r--r--extra/xf86-input-evdev/PKGBUILD2
-rw-r--r--extra/xf86-input-joystick/PKGBUILD2
-rw-r--r--extra/xf86-input-synaptics/PKGBUILD2
-rw-r--r--extra/xf86-input-void/PKGBUILD2
-rw-r--r--extra/xf86-input-wacom/PKGBUILD2
-rw-r--r--extra/xf86-video-dummy/PKGBUILD2
-rw-r--r--extra/xf86-video-fbdev/PKGBUILD2
-rw-r--r--extra/xf86-video-siliconmotion/98_sm712_CRT_enable.diff14
-rw-r--r--extra/xf86-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff160
-rw-r--r--extra/xf86-video-siliconmotion/PKGBUILD9
-rw-r--r--extra/xf86-video-siliconmotion/medanr04.diff81
-rw-r--r--extra/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.5-loongson-video-accl.patch139
-rw-r--r--extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion-2.2.8-medan.r04.patch104
-rw-r--r--extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion_1.7.5-1loongson2.diff707
-rw-r--r--extra/xf86-video-sis/PKGBUILD2
-rw-r--r--extra/xf86-video-unichrome/LICENSE23
-rw-r--r--extra/xf86-video-unichrome/PKGBUILD30
-rwxr-xr-xextra/xfburn/PKGBUILD2
-rw-r--r--extra/xfce4-appfinder/PKGBUILD2
-rw-r--r--extra/xfce4-battery-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-clipman-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-cpufreq-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-cpugraph-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-datetime-plugin/PKGBUILD3
-rw-r--r--extra/xfce4-dev-tools/PKGBUILD2
-rw-r--r--extra/xfce4-dict/PKGBUILD2
-rw-r--r--extra/xfce4-diskperf-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-eyes-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-fsguard-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-genmon-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-mailwatch-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-mixer/PKGBUILD2
-rw-r--r--extra/xfce4-mount-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-mpc-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-netload-plugin/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/PKGBUILD4
-rwxr-xr-xextra/xfce4-time-out-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-timer-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-verve-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-wavelan-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-weather-plugin/PKGBUILD2
-rw-r--r--extra/xfce4-xkb-plugin/PKGBUILD2
-rw-r--r--extra/xfconf/PKGBUILD2
-rw-r--r--extra/xfdesktop/PKGBUILD2
-rw-r--r--extra/xfig/PKGBUILD2
-rw-r--r--extra/xfwm4/PKGBUILD2
-rw-r--r--extra/xine-lib/PKGBUILD20
-rw-r--r--extra/xmahjongg/PKGBUILD4
-rw-r--r--extra/xmlsec/PKGBUILD4
-rw-r--r--extra/xmlto/PKGBUILD4
-rw-r--r--extra/xmms/PKGBUILD4
-rw-r--r--extra/xorg-appres/PKGBUILD4
-rw-r--r--extra/xorg-bdftopcf/PKGBUILD4
-rw-r--r--extra/xorg-font-util/PKGBUILD4
-rw-r--r--extra/xorg-iceauth/PKGBUILD4
-rw-r--r--extra/xorg-luit/PKGBUILD2
-rw-r--r--extra/xorg-mkfontscale/PKGBUILD4
-rw-r--r--extra/xorg-oclock/PKGBUILD4
-rw-r--r--extra/xorg-server/PKGBUILD27
-rw-r--r--extra/xorg-server/loongson.patch49
-rw-r--r--extra/xorg-sessreg/PKGBUILD4
-rw-r--r--extra/xorg-setxkbmap/PKGBUILD2
-rw-r--r--extra/xorg-smproxy/PKGBUILD4
-rw-r--r--extra/xorg-twm/PKGBUILD4
-rw-r--r--extra/xorg-x11perf/PKGBUILD4
-rw-r--r--extra/xorg-xauth/PKGBUILD4
-rw-r--r--extra/xorg-xbacklight/PKGBUILD4
-rw-r--r--extra/xorg-xbiff/PKGBUILD4
-rw-r--r--extra/xorg-xcalc/PKGBUILD4
-rw-r--r--extra/xorg-xclipboard/PKGBUILD4
-rw-r--r--extra/xorg-xclock/PKGBUILD4
-rw-r--r--extra/xorg-xcmsdb/PKGBUILD4
-rw-r--r--extra/xorg-xconsole/PKGBUILD4
-rw-r--r--extra/xorg-xcursorgen/PKGBUILD2
-rw-r--r--extra/xorg-xdm/PKGBUILD2
-rw-r--r--extra/xorg-xdpyinfo/PKGBUILD4
-rw-r--r--extra/xorg-xdriinfo/PKGBUILD4
-rw-r--r--extra/xorg-xedit/PKGBUILD4
-rw-r--r--extra/xorg-xev/PKGBUILD4
-rw-r--r--extra/xorg-xeyes/PKGBUILD4
-rw-r--r--extra/xorg-xfd/PKGBUILD4
-rw-r--r--extra/xorg-xfontsel/PKGBUILD2
-rw-r--r--extra/xorg-xfs/PKGBUILD64
-rw-r--r--extra/xorg-xfs/xfs.rc46
-rw-r--r--extra/xorg-xgamma/PKGBUILD2
-rw-r--r--extra/xorg-xhost/PKGBUILD2
-rw-r--r--extra/xorg-xinit/PKGBUILD2
-rw-r--r--extra/xorg-xinput/PKGBUILD2
-rw-r--r--extra/xorg-xkbcomp/PKGBUILD2
-rw-r--r--extra/xorg-xkbevd/PKGBUILD2
-rw-r--r--extra/xorg-xkbutils/PKGBUILD4
-rw-r--r--extra/xorg-xkill/PKGBUILD4
-rw-r--r--extra/xorg-xload/PKGBUILD2
-rw-r--r--extra/xorg-xlogo/PKGBUILD2
-rw-r--r--extra/xorg-xlsatoms/PKGBUILD2
-rw-r--r--extra/xorg-xlsclients/PKGBUILD4
-rw-r--r--extra/xorg-xmag/PKGBUILD4
-rw-r--r--extra/xorg-xman/PKGBUILD4
-rw-r--r--extra/xorg-xmessage/PKGBUILD4
-rw-r--r--extra/xorg-xmodmap/PKGBUILD2
-rw-r--r--extra/xorg-xpr/PKGBUILD2
-rw-r--r--extra/xorg-xprop/PKGBUILD4
-rw-r--r--extra/xorg-xrandr/PKGBUILD4
-rw-r--r--extra/xorg-xrdb/PKGBUILD4
-rw-r--r--extra/xorg-xrefresh/PKGBUILD4
-rw-r--r--extra/xorg-xset/PKGBUILD4
-rw-r--r--extra/xorg-xsetroot/PKGBUILD4
-rw-r--r--extra/xorg-xvidtune/PKGBUILD4
-rw-r--r--extra/xorg-xvinfo/PKGBUILD4
-rw-r--r--extra/xorg-xwd/PKGBUILD4
-rw-r--r--extra/xorg-xwininfo/PKGBUILD4
-rw-r--r--extra/xorg-xwud/PKGBUILD2
-rw-r--r--extra/xournal/PKGBUILD2
-rw-r--r--extra/xpdf/PKGBUILD2
-rw-r--r--extra/xsane/PKGBUILD2
-rw-r--r--extra/xscreensaver/LICENSE9
-rw-r--r--extra/xscreensaver/PKGBUILD40
-rw-r--r--extra/xscreensaver/add-electricsheep.diff12
-rw-r--r--extra/xscreensaver/xscreensaver.pam1
-rw-r--r--extra/xterm/PKGBUILD2
-rw-r--r--extra/xvidcore/PKGBUILD4
-rw-r--r--extra/yajl/PKGBUILD2
-rw-r--r--extra/yakuake/PKGBUILD2
-rw-r--r--extra/yasm/PKGBUILD2
-rw-r--r--extra/yelp/PKGBUILD2
-rw-r--r--extra/yp-tools/PKGBUILD2
-rw-r--r--extra/ypbind-mt/PKGBUILD3
-rw-r--r--extra/ypserv/PKGBUILD2
-rw-r--r--extra/zeitgeist/PKGBUILD2
-rw-r--r--extra/zenity/PKGBUILD2
-rw-r--r--extra/zile/PKGBUILD2
-rw-r--r--extra/zip/PKGBUILD4
-rw-r--r--extra/zsh/PKGBUILD2
-rw-r--r--extra/zvbi/PKGBUILD4
-rw-r--r--extra/zziplib/PKGBUILD4
1638 files changed, 8831 insertions, 8889 deletions
diff --git a/extra/a2ps/PKGBUILD b/extra/a2ps/PKGBUILD
index ae316078b..fd0323114 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')
@@ -36,6 +36,8 @@ build() {
patch -p1 < ../a2ps-4.13-manpage-chmod.patch
patch -p1 < ../a2ps-4.14-check-mempcpy.patch
patch -p0 < ../a2ps-4.14-fix-stpcpy-proto.patch
+ sed -i '/AM_C_PROTOTYPES/d' configure.in
+ sed -i '/ansi2knr/d' Makefile.am {src,lib,contrib/sample}/Makefile.am
libtoolize --force --copy
autoreconf -I m4
./configure --prefix=/usr --sysconfdir=/etc/a2ps \
diff --git a/extra/a52dec/PKGBUILD b/extra/a52dec/PKGBUILD
index 2c9483fc3..d0a262da0 100644
--- a/extra/a52dec/PKGBUILD
+++ b/extra/a52dec/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=a52dec
pkgver=0.7.4
-pkgrel=6
+pkgrel=6.1
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 ae5a98b54..de80ea003 100644
--- a/extra/aalib/PKGBUILD
+++ b/extra/aalib/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=aalib
pkgver=1.4rc5
-pkgrel=9
+pkgrel=9.1
pkgdesc="A portable ASCII art graphic library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aa-project.sourceforge.net/aalib/"
license=('LGPL')
depends=('gpm' 'libx11')
@@ -20,7 +20,7 @@ sha1sums=('a23269e950a249d2ef93625837cace45ddbce03b'
build() {
cd "${srcdir}/${pkgname}-1.4.0"
patch -p0 -i "${srcdir}/aclocal-fixes.patch"
- ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
+ ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --host=$CHOST
make
}
diff --git a/extra/abook/PKGBUILD b/extra/abook/PKGBUILD
index 7c4e1c16c..6433ad1b0 100644
--- a/extra/abook/PKGBUILD
+++ b/extra/abook/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=abook
pkgver=0.6.0pre2
pkgrel=5
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/accountsservice/PKGBUILD b/extra/accountsservice/PKGBUILD
index c326518e2..21258e3e1 100644
--- a/extra/accountsservice/PKGBUILD
+++ b/extra/accountsservice/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=accountsservice
pkgver=0.6.25
pkgrel=1
pkgdesc="D-Bus interface for user account query and manipulation"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://cgit.freedesktop.org/accountsservice/"
license=('GPL3')
depends=('glib2' 'polkit' 'libsystemd')
diff --git a/extra/aiksaurus/PKGBUILD b/extra/aiksaurus/PKGBUILD
index ae6b40bc2..342a16357 100644
--- a/extra/aiksaurus/PKGBUILD
+++ b/extra/aiksaurus/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=aiksaurus
pkgver=1.2.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="A cross-platform, open-source thesaurus"
url="http://aiksaurus.sourceforge.net/"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!libtool')
depends=('gtk2')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
diff --git a/extra/aisleriot/PKGBUILD b/extra/aisleriot/PKGBUILD
index 9a9786fa9..da5b43bb8 100644
--- a/extra/aisleriot/PKGBUILD
+++ b/extra/aisleriot/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=aisleriot
pkgver=3.2.3.2
pkgrel=1
pkgdesc="GNOME Solitaire card games"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
url="http://www.gnome.org"
groups=('gnome-extra')
diff --git a/extra/akonadi/PKGBUILD b/extra/akonadi/PKGBUILD
index a5225c3a6..f3251c819 100644
--- a/extra/akonadi/PKGBUILD
+++ b/extra/akonadi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=akonadi
pkgver=1.8.1
pkgrel=1
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://community.kde.org/KDE_PIM/Akonadi'
license=('LGPL')
depends=('shared-mime-info' 'boost-libs' 'mysql' 'soprano')
@@ -18,6 +18,7 @@ md5sums=('39411abc7bec8a485362ea7460e7e3d7')
build() {
mkdir build
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
diff --git a/extra/allegro4/PKGBUILD b/extra/allegro4/PKGBUILD
index 203d0b3a5..2d393ca87 100644
--- a/extra/allegro4/PKGBUILD
+++ b/extra/allegro4/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=allegro4
pkgver=4.4.2
pkgrel=2
pkgdesc="Portable library mainly aimed at video game and multimedia programming (legacy version)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://alleg.sourceforge.net/"
license=('custom')
depends=('sh' 'jack' 'libxpm' 'libxxf86vm' 'libxxf86dga' 'libxcursor')
diff --git a/extra/alsa-lib/PKGBUILD b/extra/alsa-lib/PKGBUILD
index a538da976..de97bc77f 100644
--- a/extra/alsa-lib/PKGBUILD
+++ b/extra/alsa-lib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=alsa-lib
pkgver=1.0.26
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 06e0f8cfc..808e16f84 100644
--- a/extra/alsa-oss/PKGBUILD
+++ b/extra/alsa-oss/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=alsa-oss
pkgver=1.0.25
-pkgrel=1
+pkgrel=1.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 b7bcee9a0..ae5b4f4e8 100644
--- a/extra/alsa-plugins/PKGBUILD
+++ b/extra/alsa-plugins/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=alsa-plugins
pkgver=1.0.26
pkgrel=1
pkgdesc="Extra alsa plugins"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.alsa-project.org"
license=(GPL)
depends=(alsa-lib)
diff --git a/extra/alsa-plugins/gcc-4.7.patch b/extra/alsa-plugins/gcc-4.7.patch
new file mode 100644
index 000000000..1518b2afb
--- /dev/null
+++ b/extra/alsa-plugins/gcc-4.7.patch
@@ -0,0 +1,13 @@
+diff -ru alsa-plugins-1.0.25.orig/usb_stream/pcm_usb_stream.c alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c
+--- alsa-plugins-1.0.25.orig/usb_stream/pcm_usb_stream.c 2012-08-05 11:24:22.652219959 +0200
++++ alsa-plugins-1.0.25/usb_stream/pcm_usb_stream.c 2012-08-05 11:25:08.599688184 +0200
+@@ -18,8 +18,8 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+-#include <byteswap.h>
+ #define _GNU_SOURCE
++#include <byteswap.h>
+ #include <sys/mman.h>
+ #include <sys/shm.h>
+ #include <sys/ioctl.h>
diff --git a/extra/alsa-utils/PKGBUILD b/extra/alsa-utils/PKGBUILD
index 5fd8b4e61..c59061818 100644
--- a/extra/alsa-utils/PKGBUILD
+++ b/extra/alsa-utils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=alsa-utils
pkgver=1.0.26
pkgrel=1
pkgdesc="An alternative implementation of Linux sound support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.alsa-project.org"
#can not use >=$pkgver due to use of letters in alsa-lib update versioning
depends=("alsa-lib>1.0.24" 'dialog' 'pciutils' 'ncurses' 'psmisc' 'libsamplerate')
diff --git a/extra/alsaplayer/PKGBUILD b/extra/alsaplayer/PKGBUILD
index 4fd53e435..446018b78 100644
--- a/extra/alsaplayer/PKGBUILD
+++ b/extra/alsaplayer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=alsaplayer
pkgver=0.99.81
pkgrel=5
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 bbeb27b28..510062cc1 100644
--- a/extra/amarok/PKGBUILD
+++ b/extra/amarok/PKGBUILD
@@ -8,7 +8,7 @@ replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree')
pkgver=2.6.0
pkgrel=1
pkgdesc="The powerful music player for KDE"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://amarok.kde.org"
license=('GPL2' 'LGPL2.1' 'FDL')
depends=('kdebase-runtime' 'mysql' 'qtscriptgenerator' 'taglib-extras'
diff --git a/extra/amule/PKGBUILD b/extra/amule/PKGBUILD
index c43d64e11..2493c3359 100644
--- a/extra/amule/PKGBUILD
+++ b/extra/amule/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=amule
pkgver=10795
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++')
diff --git a/extra/anjuta-extras/PKGBUILD b/extra/anjuta-extras/PKGBUILD
index 4a3a1bc49..da103ab51 100644
--- a/extra/anjuta-extras/PKGBUILD
+++ b/extra/anjuta-extras/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=anjuta-extras
pkgver=3.6.0
pkgrel=1
pkgdesc="Anjuta Integrated Development Environment extra plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('anjuta')
makedepends=('intltool' 'gnome-doc-utils')
diff --git a/extra/anjuta/PKGBUILD b/extra/anjuta/PKGBUILD
index 8f08a31e6..b168f485b 100644
--- a/extra/anjuta/PKGBUILD
+++ b/extra/anjuta/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('libanjuta' 'anjuta')
pkgver=3.6.2
pkgrel=1
pkgdesc="GNOME Integrated Development Environment (IDE)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
makedepends=('vte3' 'gdl' 'autogen' 'devhelp' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'vala' 'dconf' 'gnome-doc-utils' 'intltool' 'gobject-introspection' 'itstool')
url="http://www.anjuta.org/"
diff --git a/extra/anthy/PKGBUILD b/extra/anthy/PKGBUILD
index 62e0ba805..56eebd8f5 100644
--- a/extra/anthy/PKGBUILD
+++ b/extra/anthy/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=anthy
pkgver=9100h
_filecode=37536
-pkgrel=3
+pkgrel=3.1
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 31269e235..99c2a3a2d 100644
--- a/extra/antlr2/PKGBUILD
+++ b/extra/antlr2/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('antlr2' 'python2-antlr2')
pkgver=2.7.7
pkgrel=3
# Arch dependant files in /usr/lib/libantlr.a
-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 295d98174..63bd8d3e4 100644
--- a/extra/apache/PKGBUILD
+++ b/extra/apache/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=apache
pkgver=2.2.23
pkgrel=1
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/appmenu-qt/PKGBUILD b/extra/appmenu-qt/PKGBUILD
index 8a18170b7..079fff115 100644
--- a/extra/appmenu-qt/PKGBUILD
+++ b/extra/appmenu-qt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=appmenu-qt
pkgver=0.2.6
pkgrel=1
pkgdesc="Allows Qt applications to export menus over DBus to a menu applet"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://launchpad.net/appmenu-qt'
license=('GPL')
depends=('libdbusmenu-qt')
diff --git a/extra/apr-util/PKGBUILD b/extra/apr-util/PKGBUILD
index 4a8b38052..9f38e2e49 100644
--- a/extra/apr-util/PKGBUILD
+++ b/extra/apr-util/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=apr-util
pkgver=1.4.1
-pkgrel=1
+pkgrel=1.1
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 a1e496a34..dbb1fe20a 100644
--- a/extra/apr/PKGBUILD
+++ b/extra/apr/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=apr
pkgver=1.4.6
pkgrel=1
pkgdesc="The Apache Portable Runtime"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://apr.apache.org/"
depends=('util-linux')
options=('!libtool')
diff --git a/extra/apricots/PKGBUILD b/extra/apricots/PKGBUILD
index 3fbe423f6..5611ce76d 100644
--- a/extra/apricots/PKGBUILD
+++ b/extra/apricots/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=apricots
pkgver=0.2.6
pkgrel=5
pkgdesc="A simple 2D flying/bombing game similar to basic side scrollers"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL')
url="http://www.fishies.org.uk/apricots.html"
depends=('gcc-libs' 'openal' 'sdl' 'freealut')
@@ -18,7 +18,7 @@ md5sums=('910828d717e46d8cbd9c24f702d09fbc'
build() {
cd $srcdir/$pkgname-$pkgver
patch -p0 -i $srcdir/apricots-0.2.6-freealut.patch
- ./configure --prefix=/usr
+ ./configure --prefix=/usr --build=$CHOST
make LIBTOOL='/usr/bin/libtool'
}
diff --git a/extra/ardour/PKGBUILD b/extra/ardour/PKGBUILD
index 5d170a978..3f20433d9 100644
--- a/extra/ardour/PKGBUILD
+++ b/extra/ardour/PKGBUILD
@@ -13,7 +13,7 @@ pkgname=ardour
pkgver=2.8.14
pkgrel=1
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' 'libusb-compat' 'liblo' 'soundtouch'
diff --git a/extra/arj/PKGBUILD b/extra/arj/PKGBUILD
index 4f07f5617..c48de8f65 100644
--- a/extra/arj/PKGBUILD
+++ b/extra/arj/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=arj
pkgver=3.10.22
-pkgrel=7
+pkgrel=7.1
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 ac4085b60..ce7012596 100644
--- a/extra/arora/PKGBUILD
+++ b/extra/arora/PKGBUILD
@@ -5,11 +5,11 @@
pkgname=arora
pkgver=0.11.0
-pkgrel=3
+pkgrel=3.1
pkgdesc='Lightweight cross-platform Web browser'
url='http://www.arora-browser.org/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('qtwebkit' 'desktop-file-utils')
source=("http://${pkgname}.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
sha1sums=('480cfd7482cccbb7ece866fa10afe9acace29b31')
diff --git a/extra/asio/PKGBUILD b/extra/asio/PKGBUILD
index 952b5e16d..1d86a8db5 100644
--- a/extra/asio/PKGBUILD
+++ b/extra/asio/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=asio
pkgver=1.4.8
-pkgrel=2
+pkgrel=2.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 65b775c23..61a0f09e5 100644
--- a/extra/aspell-de/PKGBUILD
+++ b/extra/aspell-de/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=aspell-de
pkgver=20120607
pkgrel=1
pkgdesc="German dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://j3e.de/ispell/igerman98/index.html"
license=('GPL2')
depends=('aspell')
diff --git a/extra/aspell-en/PKGBUILD b/extra/aspell-en/PKGBUILD
index aceb777bc..de2783b93 100644
--- a/extra/aspell-en/PKGBUILD
+++ b/extra/aspell-en/PKGBUILD
@@ -2,9 +2,9 @@
pkgname=aspell-en
pkgver=7.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="English dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('custom')
depends=('aspell')
diff --git a/extra/aspell-es/PKGBUILD b/extra/aspell-es/PKGBUILD
index 3b9df0a33..6357dc184 100644
--- a/extra/aspell-es/PKGBUILD
+++ b/extra/aspell-es/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aspell-es
pkgver=1.11
-pkgrel=5
+pkgrel=5.1
pkgdesc="Spanish dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
diff --git a/extra/aspell-fr/PKGBUILD b/extra/aspell-fr/PKGBUILD
index ddaf5c77d..a73e2db62 100644
--- a/extra/aspell-fr/PKGBUILD
+++ b/extra/aspell-fr/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aspell-fr
pkgver=0.50.3
-pkgrel=6
+pkgrel=6.1
pkgdesc="French dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
diff --git a/extra/aspell-hu/PKGBUILD b/extra/aspell-hu/PKGBUILD
index fce7c7f36..00b634498 100644
--- a/extra/aspell-hu/PKGBUILD
+++ b/extra/aspell-hu/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=aspell-hu
pkgver=0.99.4.2
-pkgrel=3
+pkgrel=3.1
pkgdesc="Hungarian spellcheck dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
diff --git a/extra/aspell-it/PKGBUILD b/extra/aspell-it/PKGBUILD
index f02041354..40cee32ef 100644
--- a/extra/aspell-it/PKGBUILD
+++ b/extra/aspell-it/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=aspell-it
pkgver=2.2_20050523
-pkgrel=4
+pkgrel=4.1
pkgdesc="Italian dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
diff --git a/extra/aspell-nl/PKGBUILD b/extra/aspell-nl/PKGBUILD
index 28439b454..bf35f509d 100644
--- a/extra/aspell-nl/PKGBUILD
+++ b/extra/aspell-nl/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aspell-nl
pkgver=0.50.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="Dutch dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('custom')
depends=('aspell')
diff --git a/extra/aspell-pt/PKGBUILD b/extra/aspell-pt/PKGBUILD
index a75faab38..45b4196a8 100644
--- a/extra/aspell-pt/PKGBUILD
+++ b/extra/aspell-pt/PKGBUILD
@@ -9,7 +9,7 @@ _pkgverBR=20090702
pkgver=$_pkgverBR
pkgrel=4
pkgdesc="Portuguese and Brazilian Portuguese dictionary for aspell"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aspell.net/"
license=('GPL2')
depends=('aspell')
diff --git a/extra/aspell-ru/PKGBUILD b/extra/aspell-ru/PKGBUILD
index 7195479b4..cbbb2b7d2 100644
--- a/extra/aspell-ru/PKGBUILD
+++ b/extra/aspell-ru/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aspell-ru
pkgver=0.99f7
-pkgrel=5
+pkgrel=5.1
pkgdesc="Russian dictionary for aspell"
-arch=('i686' 'x86_64') #We cannot use 'any' see FS#22443
+arch=('i686' 'x86_64' 'mips64el') #We cannot use 'any' see FS#22443
url="http://aspell.net/"
license=('custom')
depends=('aspell')
diff --git a/extra/aspell/PKGBUILD b/extra/aspell/PKGBUILD
index 1b88938d3..f75ce00b8 100644
--- a/extra/aspell/PKGBUILD
+++ b/extra/aspell/PKGBUILD
@@ -7,10 +7,10 @@
pkgname=aspell
pkgver=0.60.6.1
_pkgmajorver=0.60
-pkgrel=1
+pkgrel=1.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 bbd3a3814..66c49f488 100644
--- a/extra/asymptote/PKGBUILD
+++ b/extra/asymptote/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=asymptote
pkgver=2.21
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' 'glu' 'gsl' 'fftw' 'libsigsegv')
diff --git a/extra/at-spi/PKGBUILD b/extra/at-spi/PKGBUILD
index c42990c8f..2c381d9ad 100644
--- a/extra/at-spi/PKGBUILD
+++ b/extra/at-spi/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=at-spi
pkgver=1.32.0
-pkgrel=5
+pkgrel=5.1
pkgdesc="Assistive Technology Service Provider Interface"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libbonobo' 'libxtst' 'gtk2' 'gconf')
makedepends=('pkgconfig' 'python2' 'intltool' 'libice' 'libsm')
diff --git a/extra/at-spi2-atk/PKGBUILD b/extra/at-spi2-atk/PKGBUILD
index ca6c85c99..acb82a0b4 100644
--- a/extra/at-spi2-atk/PKGBUILD
+++ b/extra/at-spi2-atk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=at-spi2-atk
pkgver=2.6.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 a9166abc6..847ee4068 100644
--- a/extra/at-spi2-core/PKGBUILD
+++ b/extra/at-spi2-core/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=at-spi2-core
pkgver=2.6.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 19267a906..881b5485b 100644
--- a/extra/at/PKGBUILD
+++ b/extra/at/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=at
pkgver=3.1.13
pkgrel=2
pkgdesc="AT and batch delayed command scheduling utility and daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://packages.qa.debian.org/a/at.html"
license=('GPL')
depends=('pam')
diff --git a/extra/aterm/PKGBUILD b/extra/aterm/PKGBUILD
index 0dafc580a..e122f00d5 100644
--- a/extra/aterm/PKGBUILD
+++ b/extra/aterm/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=aterm
pkgver=1.0.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="An xterm replacement with transparency support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://aterm.sourceforge.net/"
license=('GPL')
depends=('libx11')
diff --git a/extra/atk/PKGBUILD b/extra/atk/PKGBUILD
index a59f6258f..75f326579 100644
--- a/extra/atk/PKGBUILD
+++ b/extra/atk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=atk
pkgver=2.6.0
pkgrel=1
pkgdesc="A library providing a set of interfaces for accessibility"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('glib2')
makedepends=('gobject-introspection')
diff --git a/extra/atkmm/PKGBUILD b/extra/atkmm/PKGBUILD
index 1cb843d48..f59fca7d8 100644
--- a/extra/atkmm/PKGBUILD
+++ b/extra/atkmm/PKGBUILD
@@ -4,8 +4,8 @@
pkgbase=atkmm
pkgname=(atkmm atkmm-docs)
pkgver=2.22.6
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+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 9716dc011..4ed745406 100644
--- a/extra/attica/PKGBUILD
+++ b/extra/attica/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=attica
pkgver=0.4.1
pkgrel=1
pkgdesc='A Qt library that implements the Open Collaboration Services API'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kdesupport/attica'
license=('LGPL')
depends=('qt')
diff --git a/extra/aubio/PKGBUILD b/extra/aubio/PKGBUILD
index 29f3848d0..2d064f93d 100644
--- a/extra/aubio/PKGBUILD
+++ b/extra/aubio/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=aubio
pkgver=0.3.2
-pkgrel=5
+pkgrel=5.1
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 d660f6d86..086a8e942 100644
--- a/extra/audacious/PKGBUILD
+++ b/extra/audacious/PKGBUILD
@@ -9,10 +9,10 @@ pkgrel=1
pkgdesc='Lightweight, advanced audio player focused on audio quality'
url='http://audacious-media-player.org/'
license=('custom:BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gtk3' 'dbus-glib' 'libguess' 'libsm' 'audacious-plugins'
'hicolor-icon-theme' 'desktop-file-utils')
-optdepends=('unzip: zipped skins support')
+optdepends=('unzip-libre: zipped skins support')
source=("http://distfiles.audacious-media-player.org/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('bab3bcb267b8b333570c85cae9590470fe509eb9')
diff --git a/extra/audacity/PKGBUILD b/extra/audacity/PKGBUILD
index 92c46ae73..fc91e0526 100644
--- a/extra/audacity/PKGBUILD
+++ b/extra/audacity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=audacity
pkgver=2.0.2
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'hicolor-icon-theme'
@@ -17,6 +17,9 @@ sha1sums=('c5e4058346c96713a0d39fcd6b33f27137589b06')
build() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
+
+ [ "$CARCH" = "mips64el" ] && extra="--disable-sse"
+
WX_CONFIG=/usr/bin/wx-config PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \
./configure --prefix=/usr \
--with-portaudio --with-libsamplerate \
@@ -24,7 +27,7 @@ build() {
--with-ffmpeg --with-id3tag --with-libflac \
--with-vorbis --with-libexpat \
--with-libsndfile --with-soundtouch \
- --enable-unicode --without-taglib
+ --enable-unicode --without-taglib $extra
make
}
diff --git a/extra/audiofile/PKGBUILD b/extra/audiofile/PKGBUILD
index 2c92888db..2ae3967b9 100644
--- a/extra/audiofile/PKGBUILD
+++ b/extra/audiofile/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=audiofile
pkgver=0.3.4
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=('gcc-libs' 'alsa-lib')
diff --git a/extra/autogen/PKGBUILD b/extra/autogen/PKGBUILD
index dda533b5b..b69d3e049 100644
--- a/extra/autogen/PKGBUILD
+++ b/extra/autogen/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=autogen
pkgver=5.15
pkgrel=1
pkgdesc="A tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://autogen.sourceforge.net/"
license=('GPL3')
depends=('guile' 'libxml2')
diff --git a/extra/automoc4/PKGBUILD b/extra/automoc4/PKGBUILD
index 4e1309042..ab169d0f1 100644
--- a/extra/automoc4/PKGBUILD
+++ b/extra/automoc4/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=automoc4
pkgver=0.9.88
-pkgrel=3
+pkgrel=3.1
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 f3708cb4a..c908de4ce 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=3
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' 'gcc-libs')
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD
index 4b20f73a1..c050e4fc5 100644
--- a/extra/avahi/PKGBUILD
+++ b/extra/avahi/PKGBUILD
@@ -8,20 +8,21 @@ pkgrel=4
pkgdesc='Multicast/unicast DNS-SD framework'
url='http://www.avahi.org/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!libtool' '!emptydirs')
depends=('expat' 'libdaemon' 'glib2' 'dbus' 'libcap' 'gdbm')
optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
- 'gtk2: gtk2 bindings'
- 'qt3: qt3 bindings'
- 'qt: qt bindings'
+ 'gtk2: gtk2 bindings')
+[ "$CARCH" != "mips64el" ] && optdepends+=('qt3: qt3 bindings')
+optdepends+=('qt: qt bindings'
'pygtk: avahi-bookmarks, avahi-discover'
- 'twisted: avahi-bookmarks'
- 'mono: mono bindings'
- 'dbus-python: avahi-discover'
+ 'twisted: avahi-bookmarks')
+[ "$CARCH" != "mips64el" ] && optdepends+=('mono: mono bindings')
+optdepends+=('dbus-python: avahi-discover'
'nss-mdns: NSS support for mDNS')
-makedepends=('qt' 'qt3' 'pygtk' 'mono' 'intltool' 'dbus-python'
- 'gtk-sharp-2' 'gobject-introspection' 'gtk3' 'xmltoman')
+makedepends=('qt' 'pygtk' 'intltool' 'dbus-python'
+ 'gobject-introspection' 'gtk3' 'xmltoman')
+[ "$CARCH" != "mips64el" ] && makedepends+=('qt3' 'mono' 'gtk-sharp-2')
backup=('etc/avahi/hosts'
'etc/avahi/avahi-daemon.conf'
'etc/avahi/services/ssh.service'
@@ -42,6 +43,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 +61,7 @@ build() {
--with-avahi-priv-access-group=network \
--with-autoipd-user=avahi \
--with-autoipd-group=avahi \
+ $extra \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
make
diff --git a/extra/avfs/PKGBUILD b/extra/avfs/PKGBUILD
index 85cfe088b..385fcc403 100644
--- a/extra/avfs/PKGBUILD
+++ b/extra/avfs/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=avfs
pkgver=1.0.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="A virtual filesystem that allows browsing of compressed files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
url="http://avf.sourceforge.net/"
depends=('fuse' 'xz' 'perl')
diff --git a/extra/avidemux/PKGBUILD b/extra/avidemux/PKGBUILD
index 64598ae27..8b87b1527 100644
--- a/extra/avidemux/PKGBUILD
+++ b/extra/avidemux/PKGBUILD
@@ -5,12 +5,13 @@ pkgbase=avidemux
pkgname=('avidemux-cli' 'avidemux-gtk' 'avidemux-qt')
pkgver=2.5.6
pkgrel=4
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://fixounet.free.fr/avidemux/"
makedepends=('cmake' 'libxslt' 'gtk2' 'qt' 'jack' 'libvorbis' 'sdl' 'libxv' \
'alsa-lib' 'lame' 'xvidcore' 'faad2' 'faac' 'x264' 'libsamplerate' \
- 'opencore-amr' 'yasm' 'mesa' 'libvpx' 'libpulse' 'libva')
+ 'opencore-amr' 'yasm' 'mesa' 'libvpx' 'libpulse')
+[ "$CARCH" != "mips64el" ] && makedepends+=('libva')
options=('!makeflags')
source=(http://downloads.sourceforge.net/avidemux/avidemux_${pkgver}.tar.gz)
sha1sums=('47205c236bf6a4435b9d4dd944493c7b7e2752f5')
@@ -39,7 +40,8 @@ build() {
package_avidemux-cli() {
pkgdesc="A graphical tool to edit video (filter/re-encode/split)"
- depends=('libxml2' 'sdl' 'fontconfig' 'libvpx' 'libva')
+ depends=('libxml2' 'sdl' 'fontconfig' 'libvpx')
+ [ "$CARCH" != "mips64el" ] && depends+=('libva')
optdepends=('lame: for the corresponding audio encoder plugin'
'faac: for the corresponding audio encoder plugin'
'faad2: for the corresponding audio decoder plugin'
diff --git a/extra/avogadro/PKGBUILD b/extra/avogadro/PKGBUILD
index d85caecac..dfd5b481e 100644
--- a/extra/avogadro/PKGBUILD
+++ b/extra/avogadro/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=avogadro
pkgver=1.1.0
pkgrel=1
pkgdesc="An advanced molecular editor based on Qt"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://avogadro.openmolecules.net/wiki/Main_Page"
license=('GPL2')
depends=('eigen2' 'openbabel' 'python2-pyqt' 'boost-libs' 'glew' 'python2-numpy')
diff --git a/extra/babl/PKGBUILD b/extra/babl/PKGBUILD
index 6001370e0..99db414f3 100644
--- a/extra/babl/PKGBUILD
+++ b/extra/babl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=babl
pkgver=0.1.10
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/baobab/PKGBUILD b/extra/baobab/PKGBUILD
index 01a39bed9..7c9ae5a38 100644
--- a/extra/baobab/PKGBUILD
+++ b/extra/baobab/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=baobab
pkgver=3.6.3
pkgrel=1
pkgdesc="A graphical directory tree analyzer"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('dconf' 'gtk3' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'desktop-file-utils')
diff --git a/extra/barcode/PKGBUILD b/extra/barcode/PKGBUILD
index b69e764d5..a6c6d382f 100644
--- a/extra/barcode/PKGBUILD
+++ b/extra/barcode/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=barcode
pkgver=0.98
-pkgrel=4
+pkgrel=4.1
pkgdesc="A tool to convert text strings to printed bars"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/barcode/"
license=('GPL')
depends=('glibc')
diff --git a/extra/basket/PKGBUILD b/extra/basket/PKGBUILD
index fd46016ed..adfb8d063 100644
--- a/extra/basket/PKGBUILD
+++ b/extra/basket/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=basket
pkgver=1.81
pkgrel=3
pkgdesc="All-purpose notes taker for KDE."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://basket.kde.org/"
depends=('kdelibs' 'gpgme' 'qimageblitz' 'hicolor-icon-theme' 'kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/bc/PKGBUILD b/extra/bc/PKGBUILD
index 96ab3239b..bc214dd20 100644
--- a/extra/bc/PKGBUILD
+++ b/extra/bc/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=bc
pkgver=1.06
-pkgrel=8
+pkgrel=8.1
pkgdesc="An arbitrary precision calculator language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/bc/"
license=('GPL')
depends=('readline')
diff --git a/extra/beep/PKGBUILD b/extra/beep/PKGBUILD
index be85621ee..1034b881b 100644
--- a/extra/beep/PKGBUILD
+++ b/extra/beep/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=beep
pkgver=1.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="Advanced PC speaker beeping program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.johnath.com/beep"
license=('GPL2')
depends=('glibc')
diff --git a/extra/bftpd/PKGBUILD b/extra/bftpd/PKGBUILD
index 3d8c636ae..d1dfe3337 100644
--- a/extra/bftpd/PKGBUILD
+++ b/extra/bftpd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bftpd
pkgver=3.8
pkgrel=2
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 d940edfb7..6d6075c7b 100644
--- a/extra/bigloo/PKGBUILD
+++ b/extra/bigloo/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=3.9a
pkgver=${_pkgver/-/_}
pkgrel=1
pkgdesc="Fast scheme compiler"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www-sop.inria.fr/mimosa/fp/Bigloo/"
license=('GPL' 'LGPL')
depends=()
diff --git a/extra/bind/PKGBUILD b/extra/bind/PKGBUILD
index 8cf9e4be6..600b1a6fd 100644
--- a/extra/bind/PKGBUILD
+++ b/extra/bind/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=2
pkgdesc='Berkeley Internet Name Daemon is the reference implementation of the DNS protocols'
url='http://www.isc.org/software/bind/'
license=('custom:ISC')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!makeflags' '!libtool')
depends=('openssl' 'krb5' 'libxml2')
source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"
diff --git a/extra/bitlbee/PKGBUILD b/extra/bitlbee/PKGBUILD
index 2b6362be8..42b60ffaf 100644
--- a/extra/bitlbee/PKGBUILD
+++ b/extra/bitlbee/PKGBUILD
@@ -13,11 +13,10 @@ pkgrel=2
pkgdesc='Brings instant messaging (XMPP, MSN, Yahoo!, AIM, ICQ, Twitter) to IRC'
url='http://www.bitlbee.org/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('openssl' 'glib2')
makedepends=('asciidoc' 'libotr3')
-optdepends=('skype4py: to use skyped'
- 'libotr3: for OTR encryption support'
+optdepends=('libotr3: for OTR encryption support'
'xinetd: to run bitlbee through xinetd')
source=("http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz"
'xinetd'
@@ -43,8 +42,7 @@ build() {
--systemdsystemunitdir=/usr/lib/systemd/system \
--ssl=openssl \
--strip=0 \
- --otr=plugin \
- --skype=plugin
+ --otr=plugin
# hacky: build against libotr3
sed -i 's,^OTRFLAGS=.*,OTRFLAGS=-lotr3,' Makefile.settings
diff --git a/extra/blas/PKGBUILD b/extra/blas/PKGBUILD
index b5b65cbc5..68c7103db 100755
--- a/extra/blas/PKGBUILD
+++ b/extra/blas/PKGBUILD
@@ -11,7 +11,7 @@ url="http://www.netlib.org/blas"
makedepends=('gcc-fortran')
depends=('gcc-libs')
pkgdesc="Basic Linear Algebra Subprograms"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=("custom")
source=(http://www.netlib.org/lapack/lapack-${pkgver}.tgz
Makefile.blas
diff --git a/extra/bluedevil/PKGBUILD b/extra/bluedevil/PKGBUILD
index b8107fcaa..86214c98b 100644
--- a/extra/bluedevil/PKGBUILD
+++ b/extra/bluedevil/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bluedevil
pkgver=1.2.4
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 26cbe5081..ab7807e37 100644
--- a/extra/bluefish/PKGBUILD
+++ b/extra/bluefish/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=bluefish
pkgver=2.2.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=('gtk3' 'enchant' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/bluez-hcidump/PKGBUILD b/extra/bluez-hcidump/PKGBUILD
index 21bcaa93b..12dec55a7 100644
--- a/extra/bluez-hcidump/PKGBUILD
+++ b/extra/bluez-hcidump/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=bluez-hcidump
pkgver=2.4
-pkgrel=1
+pkgrel=1.1
pkgdesc="Bluetooth HCI package analyzer"
url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('bluez')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/bluez/PKGBUILD b/extra/bluez/PKGBUILD
index f6270a7ad..5b1d35995 100644
--- a/extra/bluez/PKGBUILD
+++ b/extra/bluez/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=4.101
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' 'python2' 'systemd-tools')
makedepends=('gstreamer0.10-base' 'libusb-compat' 'libsndfile' 'libusbx')
diff --git a/extra/bmp-musepack/PKGBUILD b/extra/bmp-musepack/PKGBUILD
index 408e4113d..0cde321fb 100644
--- a/extra/bmp-musepack/PKGBUILD
+++ b/extra/bmp-musepack/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bmp-musepack
pkgver=1.2
pkgrel=4
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' 'taglib')
diff --git a/extra/bmp-wma/PKGBUILD b/extra/bmp-wma/PKGBUILD
index bf2deef41..55449d66f 100644
--- a/extra/bmp-wma/PKGBUILD
+++ b/extra/bmp-wma/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=4
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 0cf018e71..ca1f9132f 100644
--- a/extra/bmp/PKGBUILD
+++ b/extra/bmp/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=bmp
pkgver=0.9.7.1
-pkgrel=9
+pkgrel=9.1
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' 'alsa-lib' 'unzip' 'desktop-file-utils')
diff --git a/extra/bochs/PKGBUILD b/extra/bochs/PKGBUILD
index f479c319e..6fb801418 100644
--- a/extra/bochs/PKGBUILD
+++ b/extra/bochs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bochs
pkgver=2.6
pkgrel=1
pkgdesc="A portable x86 PC emulation software package"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://bochs.sourceforge.net/"
license=('LGPL')
depends=('gcc-libs' 'libxrandr')
diff --git a/extra/boost/PKGBUILD b/extra/boost/PKGBUILD
index 11efb802a..a032792f9 100644
--- a/extra/boost/PKGBUILD
+++ b/extra/boost/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=('boost-libs' 'boost')
pkgver=1.50.0
_boostver=${pkgver//./_}
pkgrel=3
-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/${pkgbase}/${pkgbase}_${_boostver}.tar.gz)
@@ -33,6 +33,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/bootchart/PKGBUILD b/extra/bootchart/PKGBUILD
index 501f9ea56..1768ce0de 100644
--- a/extra/bootchart/PKGBUILD
+++ b/extra/bootchart/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="A 'startup' graphing tool"
url="https://github.com/sofar/bootchart"
license=('GPL2')
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
depends=('glibc')
source=("http://foo-projects.org/~sofar/${pkgname}/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/botan/PKGBUILD b/extra/botan/PKGBUILD
index 51603c0fc..6c5d4ddec 100644
--- a/extra/botan/PKGBUILD
+++ b/extra/botan/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.10.3
pkgrel=1
pkgdesc="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 f94746e86..244fcc7b5 100644
--- a/extra/brasero/PKGBUILD
+++ b/extra/brasero/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=brasero
pkgver=3.6.1
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 dbd4fcc63..d80fa52f0 100644
--- a/extra/brltty/PKGBUILD
+++ b/extra/brltty/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=brltty
pkgver=4.3
pkgrel=7
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-spi2-core' 'gpm' 'icu' 'tcl' 'atk' 'pyrex')
diff --git a/extra/burp/PKGBUILD b/extra/burp/PKGBUILD
index 7a5290bf1..17caf175e 100644
--- a/extra/burp/PKGBUILD
+++ b/extra/burp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=burp
pkgver=2
pkgrel=1
pkgdesc="A simple AUR uploader"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://github.com/falconindy/burp"
license=('GPL')
depends=('glibc' 'curl')
diff --git a/extra/bzflag/PKGBUILD b/extra/bzflag/PKGBUILD
index a565f2d7c..b2e52439e 100644
--- a/extra/bzflag/PKGBUILD
+++ b/extra/bzflag/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc='Multiplayer 3D tank battle game'
url='http://bzflag.org/'
license=('LGPL')
options=('!libtool')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('curl' 'glew' 'glu' 'sdl')
makedepends=('mesa') # glu requires <GL/gl.h>
source=("http://downloads.sourceforge.net/project/bzflag/bzflag%20source/${pkgver}/bzflag-${pkgver}.tar.bz2")
diff --git a/extra/bzr/PKGBUILD b/extra/bzr/PKGBUILD
index beef24350..d0f0ec89e 100644
--- a/extra/bzr/PKGBUILD
+++ b/extra/bzr/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=bzr
pkgver=2.5.1
pkgrel=2
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 e047a5611..2b3868c2d 100644
--- a/extra/c-ares/PKGBUILD
+++ b/extra/c-ares/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=c-ares
pkgver=1.9.0
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 0ea842488..040c9363f 100644
--- a/extra/cabal-install/PKGBUILD
+++ b/extra/cabal-install/PKGBUILD
@@ -8,7 +8,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=('haskell-http=4000.2.4-1' 'haskell-zlib=0.5.3.3-5' 'haskell-mtl=2.1.2-1' 'haskell-network=2.3.1.0-1' 'haskell-random=1.0.1.1-3')
depends=('ghc' 'gmp' 'zlib')
source=("http://hackage.haskell.org/packages/archive/cabal-install/${pkgver}/cabal-install-${pkgver}.tar.gz")
diff --git a/extra/cagibi/PKGBUILD b/extra/cagibi/PKGBUILD
index 949f42453..660fc48d7 100644
--- a/extra/cagibi/PKGBUILD
+++ b/extra/cagibi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cagibi
pkgver=0.2.0
pkgrel=2
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 17cae72ed..8906fd484 100644
--- a/extra/cairo-perl/PKGBUILD
+++ b/extra/cairo-perl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cairo-perl
pkgver=1.082
pkgrel=2
pkgdesc="Perl wrappers for cairo"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
options=('!emptydirs')
diff --git a/extra/cairo/PKGBUILD b/extra/cairo/PKGBUILD
index 1fca76e5a..433dbf83b 100644
--- a/extra/cairo/PKGBUILD
+++ b/extra/cairo/PKGBUILD
@@ -6,11 +6,12 @@ pkgname=cairo
pkgver=1.12.8
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' 'libxrender' 'libxext' 'fontconfig' 'pixman>=0.28.0' 'glib2' 'sh')
-makedepends=('librsvg' 'poppler-glib' 'libspectre' 'gtk-doc' 'valgrind') # 'libdrm')
+makedepends=('librsvg' 'poppler-glib' 'libspectre' 'gtk-doc') # 'libdrm')
+[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind')
optdepends=('xcb-util: for XCB backend') # really needed?
provides=('cairo-xcb')
replaces=('cairo-xcb')
diff --git a/extra/cairomm/PKGBUILD b/extra/cairomm/PKGBUILD
index be012872e..8528e991e 100644
--- a/extra/cairomm/PKGBUILD
+++ b/extra/cairomm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=cairomm
pkgver=1.10.0
-pkgrel=2
+pkgrel=2.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/calligra/PKGBUILD b/extra/calligra/PKGBUILD
index 0d4aa9bc0..649e5d2f7 100644
--- a/extra/calligra/PKGBUILD
+++ b/extra/calligra/PKGBUILD
@@ -19,10 +19,10 @@ pkgname=('calligra-filters'
'calligra-flow')
pkgver=2.5.3
pkgrel=7
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.calligra-suite.org/'
license=('FDL1.2' 'GPL2' 'LGPL')
-makedepends=('cmake' 'automoc4' 'boost ' 'kdepimlibs' 'eigen2' 'kdeedu-marble'
+makedepends=('cmake' 'automoc4' 'boost' 'kdepimlibs' 'eigen2' 'kdeedu-marble'
'lcms2' 'libmysqlclient' 'libpqxx' 'freetds' 'xbase' 'libwpg'
'libwps' 'gsl' 'glew' 'fftw' 'opengtl' 'poppler-qt' 'libkdcraw'
'openjpeg' 'kdegraphics-okular' 'pstoedit' 'mesa')
diff --git a/extra/capi4hylafax/PKGBUILD b/extra/capi4hylafax/PKGBUILD
index ab46c237b..cd19fe056 100644
--- a/extra/capi4hylafax/PKGBUILD
+++ b/extra/capi4hylafax/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=capi4hylafax
pkgver=010300
pkgrel=8
pkgdesc="capi plugin for hylafax to enable isdn faxing"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="ftp://ftp.avm.de/tools"
license=('GPL')
depends=('glibc' 'isdn4k-utils' 'hylafax' 'gcc-libs' 'libtiff' 'dialog')
diff --git a/extra/capseo/PKGBUILD b/extra/capseo/PKGBUILD
index 9a5f526c1..31722e2f1 100644
--- a/extra/capseo/PKGBUILD
+++ b/extra/capseo/PKGBUILD
@@ -3,10 +3,10 @@
pkgname=capseo
pkgver=0.3
-pkgrel=2
+pkgrel=2.1
epoch=1
pkgdesc="Capseo video codec"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dev.gentoo.org/~trapni/capseo/"
license=('GPL2')
depends=('libgl' 'gcc-libs')
diff --git a/extra/caribou/PKGBUILD b/extra/caribou/PKGBUILD
index 8a7abfab6..4a79b0f63 100644
--- a/extra/caribou/PKGBUILD
+++ b/extra/caribou/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=caribou
pkgver=0.4.4.2
pkgrel=1
pkgdesc="A text entry and UI navigation application being developed as an alternative to the Gnome On-screen Keyboard."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Caribou"
license=('LGPL')
depends=('at-spi2-atk' 'pyatspi' 'python2-gobject' 'gtk3' 'libxklavier' 'libgee' 'clutter' 'dconf')
diff --git a/extra/catdoc/PKGBUILD b/extra/catdoc/PKGBUILD
deleted file mode 100644
index b8726b402..000000000
--- a/extra/catdoc/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 161488 2012-06-11 21:02:16Z eric $
-# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
-# Contributor: Paulius Palevicius <paulius@birzai.com>
-
-pkgname=catdoc
-pkgver=0.94.3
-pkgrel=1
-pkgdesc="A convertor for Microsoft Word, Excel, PowerPoint and RTF Files to text"
-arch=('i686' 'x86_64')
-url="http://www.wagner.pp.ru/~vitus/software/catdoc/"
-license=('GPL')
-depends=('glibc')
-optdepends=('tk: for using wordview')
-options=('!makeflags')
-source=(http://ftp.de.debian.org/debian/pool/main/c/catdoc/${pkgname}_$pkgver.orig.tar.gz)
-md5sums=('61212b9fd06b0a31aa7bc9a671130f57')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's/$(prefix)/$(installroot)$(prefix)/' desktop/Makefile.in
- sed -i 's/0.94.2/0.94.3/' configure* doc/*.1 src/makefile.tc
- ./configure --prefix=/usr --with-wish=/usr/bin/wish
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make installroot="$pkgdir" mandir=/usr/share/man/man1 install
- install -d "$pkgdir"/usr/share/man/man1
- install -m644 doc/*.1 "$pkgdir"/usr/share/man/man1
-}
diff --git a/extra/ccache/PKGBUILD b/extra/ccache/PKGBUILD
index 22d8a2fdd..bd64651c3 100644
--- a/extra/ccache/PKGBUILD
+++ b/extra/ccache/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ccache
pkgver=3.1.8
pkgrel=1
pkgdesc="A compiler cache"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ccache.samba.org/"
license=('GPL3')
depends=('zlib')
diff --git a/extra/ccrtp/PKGBUILD b/extra/ccrtp/PKGBUILD
index 5901e29ed..273657f28 100644
--- a/extra/ccrtp/PKGBUILD
+++ b/extra/ccrtp/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=ccrtp
pkgver=2.0.3
pkgrel=2
pkgdesc="An implementation of RTP, the real-time transport protocol from the IETF"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/ccrtp/"
license=('GPL' 'custom')
depends=('ucommon' 'libgcrypt')
diff --git a/extra/cd-discid/PKGBUILD b/extra/cd-discid/PKGBUILD
index 28a827253..fda35ff68 100644
--- a/extra/cd-discid/PKGBUILD
+++ b/extra/cd-discid/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=cd-discid
pkgver=0.9
-pkgrel=4
+pkgrel=4.1
pkgdesc="A backend utility to get CDDB discid information from a CD-ROM disc"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://lly.org/~rcw/cd-discid/"
license=('GPL')
depends=('glibc')
diff --git a/extra/cdargs/PKGBUILD b/extra/cdargs/PKGBUILD
index 28e471e84..89ab781e4 100644
--- a/extra/cdargs/PKGBUILD
+++ b/extra/cdargs/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=cdargs
pkgver=1.35
-pkgrel=3
+pkgrel=3.1
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 05bf0989d..03ea9d041 100644
--- a/extra/cdparanoia/PKGBUILD
+++ b/extra/cdparanoia/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=cdparanoia
pkgver=10.2
-pkgrel=4
+pkgrel=4.1
pkgdesc="Compact Disc Digital Audio extraction tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xiph.org/paranoia/"
license=('GPL')
depends=('glibc')
diff --git a/extra/cdrdao/PKGBUILD b/extra/cdrdao/PKGBUILD
index 3ef570fbe..dbde8ce9c 100644
--- a/extra/cdrdao/PKGBUILD
+++ b/extra/cdrdao/PKGBUILD
@@ -6,8 +6,8 @@
pkgbase=('cdrdao')
pkgname=('cdrdao' 'gcdmaster')
pkgver=1.2.3
-pkgrel=6
-arch=('i686' 'x86_64')
+pkgrel=6.1
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://cdrdao.sourceforge.net/"
makedepends=('gcc-libs' 'lame' 'libmad' 'libvorbis' 'libao' 'libgnomeuimm')
@@ -28,6 +28,7 @@ build() {
patch -Np1 -i "${srcdir}/cdrdao-1.2.3-stat.patch"
./configure --prefix=/usr \
+ --build=$CHOST --host=$CHOST \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--with-xdao --with-lame \
diff --git a/extra/celestia/PKGBUILD b/extra/celestia/PKGBUILD
index 570372aaa..fb8887541 100644
--- a/extra/celestia/PKGBUILD
+++ b/extra/celestia/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=celestia
pkgver=1.6.1
pkgrel=3
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' 'glu' 'libjpeg')
diff --git a/extra/celt/PKGBUILD b/extra/celt/PKGBUILD
index e1f07e228..3eec5da5a 100644
--- a/extra/celt/PKGBUILD
+++ b/extra/celt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=celt
pkgver=0.11.1
pkgrel=4
pkgdesc='Low-latency audio communication codec'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.celt-codec.org'
license=('BSD')
depends=('libogg')
diff --git a/extra/cfitsio/PKGBUILD b/extra/cfitsio/PKGBUILD
index 36f354027..9349f02e7 100644
--- a/extra/cfitsio/PKGBUILD
+++ b/extra/cfitsio/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=cfitsio
pkgver=3.310
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=('custom')
depends=('glibc')
diff --git a/extra/check/PKGBUILD b/extra/check/PKGBUILD
index 6ab2354ba..6014fbee3 100644
--- a/extra/check/PKGBUILD
+++ b/extra/check/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=check
pkgver=0.9.9
pkgrel=1
pkgdesc="A unit testing framework for C"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://check.sourceforge.net/"
license=('LGPL')
options=('!libtool')
diff --git a/extra/cheese/PKGBUILD b/extra/cheese/PKGBUILD
index 160a2944c..e3bb815d1 100644
--- a/extra/cheese/PKGBUILD
+++ b/extra/cheese/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cheese
pkgver=3.6.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=('gtk3' 'gstreamer' 'gst-plugins-bad' 'gst-plugins-base' 'gst-plugins-good' 'clutter-gst' 'clutter-gtk' 'libcanberra' 'libgee' 'gnome-video-effects' 'librsvg' 'gnome-desktop')
makedepends=('pkgconfig' 'intltool' 'gobject-introspection' 'itstool' 'vala' 'nautilus-sendto')
diff --git a/extra/chemtool/PKGBUILD b/extra/chemtool/PKGBUILD
index da3d31c50..bcaf070a3 100644
--- a/extra/chemtool/PKGBUILD
+++ b/extra/chemtool/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=chemtool
pkgver=1.6.13
-pkgrel=1
+pkgrel=1.1
pkgdesc="A small program for drawing chemical structures"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html"
depends=('gtk2' 'desktop-file-utils')
diff --git a/extra/chkrootkit/PKGBUILD b/extra/chkrootkit/PKGBUILD
index 2b950dc9c..3e0a2bd04 100644
--- a/extra/chkrootkit/PKGBUILD
+++ b/extra/chkrootkit/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=chkrootkit
pkgver=0.49
-pkgrel=3
+pkgrel=3.1
pkgdesc="Locally checks for signs of a rootkit"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.chkrootkit.org"
depends=('sh' 'net-tools')
license=('BSD')
diff --git a/extra/chmlib/PKGBUILD b/extra/chmlib/PKGBUILD
index 00013a6b9..d6f1992d8 100644
--- a/extra/chmlib/PKGBUILD
+++ b/extra/chmlib/PKGBUILD
@@ -5,19 +5,25 @@
pkgname=chmlib
pkgver=0.40
-pkgrel=3
+pkgrel=3.1
pkgdesc="Library for dealing with Microsoft ITSS/CHM format files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://morte.jedrea.com/~jedwin/projects/chmlib/"
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/chromaprint/PKGBUILD b/extra/chromaprint/PKGBUILD
index 439292d9b..6a6b563bb 100644
--- a/extra/chromaprint/PKGBUILD
+++ b/extra/chromaprint/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.7
pkgrel=1
pkgdesc='Library that implements a custom algorithm for extracting fingerprints from any audio source'
url='http://acoustid.org/chromaprint/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('ffmpeg')
makedepends=('cmake')
diff --git a/extra/cifs-utils/PKGBUILD b/extra/cifs-utils/PKGBUILD
index 267d6d09c..34cc4f141 100644
--- a/extra/cifs-utils/PKGBUILD
+++ b/extra/cifs-utils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cifs-utils
pkgver=5.7
pkgrel=1
pkgdesc="CIFS filesystem user-space tools"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://wiki.samba.org/index.php/LinuxCIFS_utils"
license=('GPL')
depends=('libcap-ng' 'keyutils' 'krb5' 'talloc' 'libwbclient')
diff --git a/extra/cinepaint/PKGBUILD b/extra/cinepaint/PKGBUILD
index 9473111c1..017aa6688 100644
--- a/extra/cinepaint/PKGBUILD
+++ b/extra/cinepaint/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cinepaint
pkgver=1.3
pkgrel=5
pkgdesc="Sophisticated graphics manipulation programm supporting > 8bit pictures"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'GPL' 'MIT')
url="http://www.cinepaint.org"
depends=('gtk2' 'openexr' 'lcms' 'libxpm' 'fltk' 'ftgl' 'libxxf86vm')
diff --git a/extra/clamav/PKGBUILD b/extra/clamav/PKGBUILD
index 54bb750c6..9b931263d 100644
--- a/extra/clamav/PKGBUILD
+++ b/extra/clamav/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc='Anti-virus toolkit for Unix'
url='http://www.clamav.net/'
license=('GPL')
options=('!libtool')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('bzip2' 'libltdl')
backup=('etc/clamav/clamd.conf' 'etc/clamav/freshclam.conf' 'etc/conf.d/clamav')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
diff --git a/extra/claws-mail-extra-plugins/PKGBUILD b/extra/claws-mail-extra-plugins/PKGBUILD
index b5f7889a6..11027bc4f 100644
--- a/extra/claws-mail-extra-plugins/PKGBUILD
+++ b/extra/claws-mail-extra-plugins/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
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.9.0')
makedepends=('make' 'bc' 'perl>=5.16.0' 'libgtkhtml>=2.11.1-2' 'libnotify>=0.7'
'libxml2>=2.7.6' 'curl>=7.19.7' 'libytnef>=1.5-2' 'libwebkit>=1.6.1'
diff --git a/extra/claws-mail/PKGBUILD b/extra/claws-mail/PKGBUILD
index 93da73a27..6bffb13df 100644
--- a/extra/claws-mail/PKGBUILD
+++ b/extra/claws-mail/PKGBUILD
@@ -5,12 +5,13 @@ pkgname=claws-mail
pkgver=3.9.0
pkgrel=1
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>=1.1' 'libsm' 'db' 'dbus-glib' 'hicolor-icon-theme' 'desktop-file-utils')
-makedepends=('compface' 'spamassassin' 'bogofilter' 'valgrind')
+makedepends=('compface' 'spamassassin' 'bogofilter')
+[ "$CARCH" != "mips64el" ] && depends+=('valgrind')
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 6e371fce6..e6902bb33 100644
--- a/extra/clisp/PKGBUILD
+++ b/extra/clisp/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=clisp
pkgver=2.49
pkgrel=3
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://clisp.cons.org/"
depends=('readline' 'libsigsegv')
@@ -19,6 +19,8 @@ build() {
./configure --prefix=/usr --with-readline --with-ffcall src
cd src
./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
+ # Dirty hack for using arimips64 instead of arimips.c
+ [ $CARCH = "mips64el" ] && ln -s arimips64.c arimips.c
make
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
make
diff --git a/extra/cln/PKGBUILD b/extra/cln/PKGBUILD
index 30f69b7a9..8c3315c87 100644
--- a/extra/cln/PKGBUILD
+++ b/extra/cln/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=cln
pkgver=1.3.2
-pkgrel=1
+pkgrel=1.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')
+[[ "${CARCH}" == 'mips64el' ]] || depends=('gmp')
makedepends=('texlive-core')
options=('!libtool')
install=cln.install
@@ -18,10 +18,22 @@ sha1sums=('c30dca80e75f45e2107f233075e6d0339ea884b0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr
+ sed -i 's/<sizeof(mp_limb_t) > sizeof(long)>/<(sizeof(mp_limb_t) > sizeof(long))>/' configure
+ # For unknown reasons it fails.
+ if [[ "${CARCH}" == 'mips64el' ]] ; then
+ use_gmp=--without-gmp
+ else
+ use_gmp=
+ fi
+ ./configure --prefix=/usr $use_gmp
make all html pdf
}
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install install-html install-pdf
diff --git a/extra/clucene/PKGBUILD b/extra/clucene/PKGBUILD
index 93c8b9eb6..88d792a93 100644
--- a/extra/clucene/PKGBUILD
+++ b/extra/clucene/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=clucene
pkgver=2.3.3.4
pkgrel=6
pkgdesc="C++ port of the high-performance text search engine Lucene"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://clucene.sourceforge.net/"
license=('APACHE' 'LGPL')
depends=('gcc-libs>=4.7.1-5' 'zlib' 'boost-libs')
diff --git a/extra/clutter-gst/PKGBUILD b/extra/clutter-gst/PKGBUILD
index 6e89a825d..ce41e576f 100644
--- a/extra/clutter-gst/PKGBUILD
+++ b/extra/clutter-gst/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=clutter-gst
pkgver=1.9.92
pkgrel=1
pkgdesc="GStreamer bindings for clutter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.clutter-project.org/"
license=('LGPL')
depends=('clutter' 'gst-plugins-base-libs' 'libxdamage')
@@ -19,6 +19,8 @@ build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc
+ rm libtool
+ ln -s /usr/bin/libtool .
make
}
diff --git a/extra/clutter-gtk/PKGBUILD b/extra/clutter-gtk/PKGBUILD
index 83a927dc1..c885bf834 100644
--- a/extra/clutter-gtk/PKGBUILD
+++ b/extra/clutter-gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=clutter-gtk
pkgver=1.4.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 47ec45855..09c283747 100644
--- a/extra/clutter-gtk2/PKGBUILD
+++ b/extra/clutter-gtk2/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=clutter-gtk
pkgver=0.10.8
pkgrel=3
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 698f314b6..7e89f51bc 100644
--- a/extra/clutter/PKGBUILD
+++ b/extra/clutter/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=clutter
pkgver=1.12.2
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 9fc2c4670..e1959589d 100644
--- a/extra/cmake/PKGBUILD
+++ b/extra/cmake/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=cmake
pkgver=2.8.10.1
pkgrel=2
pkgdesc="A cross-platform open-source make system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cmake.org/"
license=('custom')
depends=('curl' 'libarchive' 'shared-mime-info')
diff --git a/extra/cmatrix/PKGBUILD b/extra/cmatrix/PKGBUILD
deleted file mode 100644
index 444a463ac..000000000
--- a/extra/cmatrix/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 137613 2011-09-10 04:45:43Z eric $
-# Maintainer:
-
-pkgname=cmatrix
-pkgver=1.2a
-pkgrel=6
-pkgdesc="Let you see the matrix code in your console"
-arch=('i686' 'x86_64')
-url="http://www.asty.org/cmatrix/"
-license=('GPL')
-depends=('ncurses' 'fontconfig')
-install=cmatrix.install
-source=(http://www.asty.org/cmatrix/dist/$pkgname-$pkgver.tar.gz)
-md5sums=('ebfb5733104a258173a9ccf2669968a1')
-sha1sums=('ca078c10322a47e327f07a44c9a42b52eab5ad93')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-
- install -Dm644 mtx.pcf "$pkgdir/usr/share/fonts/misc/mtx.pcf"
- install -Dm644 matrix.fnt "$pkgdir/usr/share/kbd/consolefonts/matrix.fnt"
- install -Dm644 matrix.psf.gz "$pkgdir/usr/share/kbd/consolefonts/matrix.psf.gz"
-}
diff --git a/extra/cmatrix/cmatrix.install b/extra/cmatrix/cmatrix.install
deleted file mode 100644
index c46fe4469..000000000
--- a/extra/cmatrix/cmatrix.install
+++ /dev/null
@@ -1,3 +0,0 @@
-post_install() {
- fc-cache
-}
diff --git a/extra/cmt/PKGBUILD b/extra/cmt/PKGBUILD
index df73556ce..13fccf484 100644
--- a/extra/cmt/PKGBUILD
+++ b/extra/cmt/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=cmt
pkgver=1.16
-pkgrel=3
+pkgrel=3.1
pkgdesc="CMT for LADSPA"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.ladspa.org"
depends=('ladspa' 'gcc-libs')
diff --git a/extra/cogl/PKGBUILD b/extra/cogl/PKGBUILD
index 9b5159460..77eb71628 100644
--- a/extra/cogl/PKGBUILD
+++ b/extra/cogl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=cogl
pkgver=1.10.4
pkgrel=1
pkgdesc="An object oriented GL/GLES Abstraction/Utility Layer"
-arch=('i686' 'x86_64')
+arch=(mips64el)
url="http://www.clutter-project.org/"
license=('GPL2')
depends=('libdrm' 'libxext' 'libxdamage' 'libxcomposite' 'gdk-pixbuf2' 'pango')
diff --git a/extra/colord-gtk/PKGBUILD b/extra/colord-gtk/PKGBUILD
index 6fe280411..0cca84791 100644
--- a/extra/colord-gtk/PKGBUILD
+++ b/extra/colord-gtk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=colord-gtk
pkgver=0.1.23
pkgrel=1
pkgdesc="GTK integration for libcolord"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/software/colord"
license=('GPL2')
depends=('lcms2' 'gtk3' 'colord')
diff --git a/extra/colord/PKGBUILD b/extra/colord/PKGBUILD
index 40ecf7335..229c69358 100644
--- a/extra/colord/PKGBUILD
+++ b/extra/colord/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=colord
pkgver=0.1.24
pkgrel=3
pkgdesc="System daemon for managing color devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/software/colord"
license=('GPL2')
depends=('lcms2' 'libgusb' 'polkit' 'shared-color-profiles' 'sqlite' 'udev')
diff --git a/extra/compface/PKGBUILD b/extra/compface/PKGBUILD
index 98f83cb2c..ce29bd930 100644
--- a/extra/compface/PKGBUILD
+++ b/extra/compface/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=compface
pkgver=1.5.2
-pkgrel=3
+pkgrel=3.1
pkgdesc="Utils & libs to convert from/to X-Face format."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.xemacs.org/pub/xemacs/aux/"
license=('custom')
depends=('glibc')
diff --git a/extra/conky/PKGBUILD b/extra/conky/PKGBUILD
index b941e0a67..bb4b7786b 100644
--- a/extra/conky/PKGBUILD
+++ b/extra/conky/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc='Lightweight system monitor for X'
url='http://conky.sourceforge.net/'
license=('BSD' 'GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!emptydirs')
makedepends=('docbook2x')
depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2')
diff --git a/extra/consolekit/PKGBUILD b/extra/consolekit/PKGBUILD
deleted file mode 100644
index 37a8a14c4..000000000
--- a/extra/consolekit/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 160357 2012-06-01 12:58:20Z dreisner $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: onestep_ua <onestep@ukr.net>
-
-pkgname=consolekit
-pkgver=0.4.6
-pkgrel=4
-pkgdesc="A framework for defining and tracking users, login sessions, and seats"
-arch=('i686' 'x86_64')
-url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
-license=('GPL')
-depends=('polkit' 'zlib' 'libx11' 'dbus-glib')
-makedepends=('pkgconfig' 'xmlto' 'docbook-xsl')
-options=(!libtool)
-#source=(http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2
-# this has not been released yet, so this is a snapshot
-source=(ftp://ftp.archlinux.org/other/${pkgname}/ConsoleKit-${pkgver}.tar.bz2
- pam-foreground-compat.ck consolekit.logrotate consolekit.tmpfiles.conf)
-md5sums=('810990b607e338f06a6396c92b8a4a06'
- 'a8a4de71d9b0549b8143e5f6c2a36fc7'
- '6fefa451d9fe2fc6d6269629d3529793'
- '8c5a8059db515d40fae1379daf084094')
-
-build() {
- cd "$srcdir/ConsoleKit-$pkgver"
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/usr/lib/ConsoleKit \
- --with-systemdsystemunitdir=/usr/lib/systemd/system \
- --enable-pam-module \
- --with-pam-module-dir=/usr/lib/security \
- --enable-docbook-docs \
- --enable-udev-acl
- make
-}
-
-package() {
- cd "$srcdir/ConsoleKit-$pkgver"
- make DESTDIR="$pkgdir" install
- install -m755 "$srcdir/pam-foreground-compat.ck" "$pkgdir/usr/lib/ConsoleKit/run-session.d/"
-
- # install the logrotate config
- install -D -m644 "$srcdir/consolekit.logrotate" "$pkgdir/etc/logrotate.d/consolekit"
-
- install -D -m644 "$srcdir/consolekit.tmpfiles.conf" "$pkgdir/usr/lib/tmpfiles.d/consolekit.conf"
-
- rm -rf "${pkgdir}/var/run"
-}
diff --git a/extra/consolekit/consolekit.logrotate b/extra/consolekit/consolekit.logrotate
deleted file mode 100644
index 7c5346ef8..000000000
--- a/extra/consolekit/consolekit.logrotate
+++ /dev/null
@@ -1,5 +0,0 @@
-/var/log/ConsoleKit/history {
- missingok
- notifempty
- delaycompress
-}
diff --git a/extra/consolekit/consolekit.tmpfiles.conf b/extra/consolekit/consolekit.tmpfiles.conf
deleted file mode 100644
index 4ec125110..000000000
--- a/extra/consolekit/consolekit.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/ConsoleKit 0755 - - -
diff --git a/extra/consolekit/pam-foreground-compat.ck b/extra/consolekit/pam-foreground-compat.ck
deleted file mode 100644
index 7f6b122d5..000000000
--- a/extra/consolekit/pam-foreground-compat.ck
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-TAGDIR=/var/run/console
-
-[ -n "$CK_SESSION_USER_UID" ] || exit 1
-
-TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`"
-
-if [ "$1" = "session_added" ]; then
- mkdir -p "$TAGDIR"
- echo "$CK_SESSION_ID" >> "$TAGFILE"
-fi
-
-if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then
- sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE"
- [ -s "$TAGFILE" ] || rm -f "$TAGFILE"
-fi
diff --git a/extra/convertlit/PKGBUILD b/extra/convertlit/PKGBUILD
index 4c7477666..95217f5fc 100644
--- a/extra/convertlit/PKGBUILD
+++ b/extra/convertlit/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=convertlit
pkgver=1.8
pkgrel=6
pkgdesc="An extractor/converter for .LIT eBooks"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.convertlit.com/"
license=('GPL')
depends=('glibc')
diff --git a/extra/cpio/PKGBUILD b/extra/cpio/PKGBUILD
index 959cb23dd..1ad697f80 100644
--- a/extra/cpio/PKGBUILD
+++ b/extra/cpio/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=cpio
pkgver=2.11
-pkgrel=3
+pkgrel=3.1
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 6fcb3d40d..772af4111 100644
--- a/extra/cppunit/PKGBUILD
+++ b/extra/cppunit/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.13.1
pkgrel=1
_hash=fa9aa839145cdf860bf596532bb8af97
pkgdesc="A C++ unit testing framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/cppunit"
license=('LGPL')
depends=('sh' 'gcc-libs')
diff --git a/extra/cpufrequtils/PKGBUILD b/extra/cpufrequtils/PKGBUILD
deleted file mode 100644
index 6854c2d37..000000000
--- a/extra/cpufrequtils/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 149475 2012-02-08 09:53:00Z pierre $
-# Maintainer: kevin <kevin@archlinux.org>
-# Contributor: phrakture <aaronmgriffin+gmail+com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=cpufrequtils
-pkgver=008
-pkgrel=2
-pkgdesc="Userspace tools for the kernel cpufreq subsystem"
-arch=('i686' 'x86_64')
-url="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
-license=('GPL')
-depends=('sysfsutils')
-backup=('etc/conf.d/cpufreq')
-source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
- 'cpufreq.rcd'
- 'cpufreq.confd')
-options=('!libtool' '!makeflags')
-md5sums=('c59b71c044d463896f3247e8dd83dd7e'
- '7f2b5085df44d2df3e7c2d0b9f6dab08'
- 'baae1f2abffc6bef2bd32a8dd8263c09')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- 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/cpufreq.confd b/extra/cpufrequtils/cpufreq.confd
deleted file mode 100644
index 218909748..000000000
--- a/extra/cpufrequtils/cpufreq.confd
+++ /dev/null
@@ -1,14 +0,0 @@
-#configuration for cpufreq control
-
-# valid governors:
-# ondemand, performance, powersave,
-# conservative, userspace
-#governor="ondemand"
-
-# limit frequency range (optional)
-# valid suffixes: Hz, kHz (default), MHz, GHz, THz
-#min_freq="2.25GHz"
-#max_freq="3GHz"
-
-# use freq to set up the exact cpu frequency using it with userspace governor
-#freq=
diff --git a/extra/cpufrequtils/cpufreq.rcd b/extra/cpufrequtils/cpufreq.rcd
deleted file mode 100644
index 9bc19b117..000000000
--- a/extra/cpufrequtils/cpufreq.rcd
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/cpufreq ] && . /etc/conf.d/cpufreq
-
-case "$1" in
- start)
- stat_busy "Setting cpufreq governing rules"
-
- params=""
- if [ -n "$governor" ]; then
- mod="cpufreq_$governor"
- params="-g $governor"
- grep -qw "$governor" /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors || modprobe -q $mod
- if [ $? -eq 0 ]; then
- if [ "$min_freq" != "" ]; then
- params="$params -d $min_freq"
- fi
- if [ "$max_freq" != "" ]; then
- params="$params -u $max_freq"
- fi
- else
- stat_busy " Cannot load governor module '$governor'"
- stat_fail
- exit
- fi
- fi
-
- if [ "$params" != "" ]; then
- CPUS=$(sed -ne 's/^processor.* \([0-9]\+\)$/\1/p' /proc/cpuinfo)
- stat_append ", cpu"
- for cpu in $CPUS; do
- stat_append " $cpu"
- cpufreq-set -c $cpu $params
- if [ "$freq" != "" ]; then
- cpufreq-set -c $cpu -f $freq
- fi
- done
- stat_done
- else
- stat_busy " Invalid configuration in /etc/conf.d/cpufreq"
- stat_fail
- fi
- ;;
- stop)
- # nothing to do
- ;;
- restart)
- $0 start
- ;;
- set)
- # TODO: make callable... "cpufreq set 800MHz"
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/crypto++/GNUmakefile.parabola b/extra/crypto++/GNUmakefile.parabola
new file mode 100644
index 000000000..22a724961
--- /dev/null
+++ b/extra/crypto++/GNUmakefile.parabola
@@ -0,0 +1,94 @@
+# -*- makefile -*-
+
+CXXFLAGS += -DNDEBUG -fPIC
+# the following options reduce code size, but breaks link or makes link very slow on some systems
+CXXFLAGS += -ffunction-sections -fdata-sections
+LDFLAGS += -Wl,--gc-sections
+ARFLAGS = -cr # ar needs the dash on OpenBSD
+RANLIB = ranlib
+CP = cp
+MKDIR = mkdir
+EGREP = egrep
+
+# Default prefix for make install
+PREFIX ?= /usr
+
+LDFLAGS += -pthread
+
+SRCS = $(wildcard *.cpp)
+ifeq ($(SRCS),) # workaround wildcard function bug in GNU Make 3.77
+SRCS = $(shell echo *.cpp)
+endif
+
+OBJS = $(SRCS:.cpp=.o)
+# test.o needs to be after bench.o for cygwin 1.1.4 (possible ld bug?)
+TESTOBJS = bench.o bench2.o test.o validat1.o validat2.o validat3.o adhoc.o datatest.o regtest.o fipsalgt.o dlltest.o
+LIBOBJS = $(filter-out $(TESTOBJS),$(OBJS))
+
+DLLSRCS = algebra.cpp algparam.cpp asn.cpp basecode.cpp cbcmac.cpp channels.cpp cryptlib.cpp des.cpp dessp.cpp dh.cpp dll.cpp dsa.cpp ec2n.cpp eccrypto.cpp ecp.cpp eprecomp.cpp files.cpp filters.cpp fips140.cpp fipstest.cpp gf2n.cpp gfpcrypt.cpp hex.cpp hmac.cpp integer.cpp iterhash.cpp misc.cpp modes.cpp modexppc.cpp mqueue.cpp nbtheory.cpp oaep.cpp osrng.cpp pch.cpp pkcspad.cpp pubkey.cpp queue.cpp randpool.cpp rdtables.cpp rijndael.cpp rng.cpp rsa.cpp sha.cpp simple.cpp skipjack.cpp strciphr.cpp trdlocal.cpp
+DLLOBJS = $(DLLSRCS:.cpp=.export.o)
+LIBIMPORTOBJS = $(LIBOBJS:.o=.import.o)
+TESTIMPORTOBJS = $(TESTOBJS:.o=.import.o)
+DLLTESTOBJS = dlltest.dllonly.o
+
+all: cryptest.exe
+
+test: cryptest.exe
+ ./cryptest.exe v
+
+clean:
+ $(RM) cryptest.exe libcryptopp.a $(LIBOBJS) $(TESTOBJS) cryptopp.dll libcryptopp.dll.a libcryptopp.import.a cryptest.import.exe dlltest.exe $(DLLOBJS) $(LIBIMPORTOBJS) $(TESTIMPORTOBJS) $(DLLTESTOBJS)
+
+install:
+ $(MKDIR) -p $(PREFIX)/include/cryptopp $(PREFIX)/lib $(PREFIX)/bin
+ $(CP) *.h $(PREFIX)/include/cryptopp
+ $(CP) *.a $(PREFIX)/lib
+ $(CP) *.so $(PREFIX)/lib
+ $(CP) *.exe $(PREFIX)/bin
+
+libcryptopp.a: $(LIBOBJS)
+ $(AR) $(ARFLAGS) $@ $(LIBOBJS)
+ $(RANLIB) $@
+
+libcryptopp.so: $(LIBOBJS)
+ $(CXX) -shared -o $@ $(LIBOBJS)
+
+cryptest.exe: libcryptopp.a $(TESTOBJS)
+ $(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) -L. -lcryptopp $(LDFLAGS) $(LDLIBS)
+
+nolib: $(OBJS) # makes it faster to test changes
+ $(CXX) -o ct $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(LDLIBS)
+
+dll: cryptest.import.exe dlltest.exe
+
+cryptopp.dll: $(DLLOBJS)
+ $(CXX) -shared -o $@ $(CXXFLAGS) $(DLLOBJS) $(LDFLAGS) $(LDLIBS) -Wl,--out-implib=libcryptopp.dll.a
+
+libcryptopp.import.a: $(LIBIMPORTOBJS)
+ $(AR) $(ARFLAGS) $@ $(LIBIMPORTOBJS)
+ $(RANLIB) $@
+
+cryptest.import.exe: cryptopp.dll libcryptopp.import.a $(TESTIMPORTOBJS)
+ $(CXX) -o $@ $(CXXFLAGS) $(TESTIMPORTOBJS) -L. -lcryptopp.dll -lcryptopp.import $(LDFLAGS) $(LDLIBS)
+
+dlltest.exe: cryptopp.dll $(DLLTESTOBJS)
+ $(CXX) -o $@ $(CXXFLAGS) $(DLLTESTOBJS) -L. -lcryptopp.dll $(LDFLAGS) $(LDLIBS)
+
+adhoc.cpp: adhoc.cpp.proto
+ifeq ($(wildcard adhoc.cpp),)
+ cp adhoc.cpp.proto adhoc.cpp
+else
+ touch adhoc.cpp
+endif
+
+%.dllonly.o : %.cpp
+ $(CXX) $(CXXFLAGS) -DCRYPTOPP_DLL_ONLY -c $< -o $@
+
+%.import.o : %.cpp
+ $(CXX) $(CXXFLAGS) -DCRYPTOPP_IMPORTS -c $< -o $@
+
+%.export.o : %.cpp
+ $(CXX) $(CXXFLAGS) -DCRYPTOPP_EXPORTS -c $< -o $@
+
+%.o : %.cpp
+ $(CXX) $(CXXFLAGS) -c $<
diff --git a/extra/crypto++/PKGBUILD b/extra/crypto++/PKGBUILD
index 8cebe45ec..aefbae61b 100644
--- a/extra/crypto++/PKGBUILD
+++ b/extra/crypto++/PKGBUILD
@@ -10,16 +10,18 @@ pkgver=5.6.1
_srcver=561
pkgrel=4
pkgdesc="A free C++ class library of cryptographic schemes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cryptopp.com/"
license=('custom')
depends=('gcc-libs')
makedepends=('unzip')
source=("http://www.cryptopp.com/cryptopp${_srcver}.zip"
'libcrypto++.pc'
+ 'GNUmakefile.parabola'
'gcc4.7.patch')
md5sums=('96cbeba0907562b077e26bcffb483828'
'2337c6edbc552d9142cae8e0854715e7'
+ 'c95b2134a8c0a35b173ede32001870d2'
'cf26a783d9432e7f9ab7f14d3db3f196')
build() {
@@ -28,9 +30,10 @@ build() {
# Fix gcc 4.7 build
patch -Np1 -i "${srcdir}/gcc4.7.patch"
- sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
- export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
- make -f GNUmakefile
+ # The upstream build system expects this file to be modified
+ # to e.g. use system CFLAGS or use features of modern linkers.
+ cp "${srcdir}/GNUmakefile.parabola" GNUmakefile
+ make -f GNUmakefile
make libcryptopp.so
}
diff --git a/extra/cscope/PKGBUILD b/extra/cscope/PKGBUILD
index a77200d2b..12f4c236b 100644
--- a/extra/cscope/PKGBUILD
+++ b/extra/cscope/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=15.8.a
_realver=15.8a
pkgrel=1
pkgdesc="A developers tool for browsing program code"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cscope.sourceforge.net/"
license=('BSD')
depends=('ncurses' 'sh')
diff --git a/extra/ctags/PKGBUILD b/extra/ctags/PKGBUILD
index 4b8996c57..b3d9f982d 100644
--- a/extra/ctags/PKGBUILD
+++ b/extra/ctags/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=ctags
pkgver=5.8
-pkgrel=3
+pkgrel=3.1
pkgdesc="Generates an index file of language objects found in source files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc')
url="http://ctags.sourceforge.net/"
diff --git a/extra/cups-pdf/PKGBUILD b/extra/cups-pdf/PKGBUILD
index 5eb0ac5c6..b589dff05 100644
--- a/extra/cups-pdf/PKGBUILD
+++ b/extra/cups-pdf/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=cups-pdf
pkgver=2.6.1
-pkgrel=1
+pkgrel=1.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-pk-helper/PKGBUILD b/extra/cups-pk-helper/PKGBUILD
index 1bfe06932..b07530b05 100644
--- a/extra/cups-pk-helper/PKGBUILD
+++ b/extra/cups-pk-helper/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cups-pk-helper
pkgver=0.2.4
pkgrel=1
pkgdesc="A helper that makes system-config-printer use PolicyKit"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.freedesktop.org/software/cups-pk-helper/releases/"
license=('GPL')
depends=(polkit libcups)
diff --git a/extra/cups/PKGBUILD b/extra/cups/PKGBUILD
index 38291f4f5..46e94de2e 100644
--- a/extra/cups/PKGBUILD
+++ b/extra/cups/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase="cups"
pkgname=('libcups' 'cups')
pkgver=1.6.1
pkgrel=6
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.cups.org/"
makedepends=('libtiff>=4.0.0' 'libpng>=1.5.7' 'acl' 'pam' 'xdg-utils' 'krb5' 'gnutls>=2.8.3' 'cups-filters' 'bc'
diff --git a/extra/cvs/PKGBUILD b/extra/cvs/PKGBUILD
index 971e0d498..9121db0d8 100644
--- a/extra/cvs/PKGBUILD
+++ b/extra/cvs/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=cvs
pkgver=1.11.23
-pkgrel=8
+pkgrel=8.1
pkgdesc="Concurrent Versions System - a source control system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://cvs.nongnu.org/"
license=('GPL')
depends=('krb5' 'zlib')
diff --git a/extra/cvsps/PKGBUILD b/extra/cvsps/PKGBUILD
index 650259bc1..ecd4abfed 100644
--- a/extra/cvsps/PKGBUILD
+++ b/extra/cvsps/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=cvsps
pkgver=2.2b1
-pkgrel=1
+pkgrel=1.1
pkgdesc="Generating 'patchset' information from a CVS repository"
url="http://www.cobite.com/cvsps/"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('zlib')
source=("http://www.cobite.com/${pkgname}/${pkgname}-${pkgver}.tar.gz"
call-cvs-q-option.patch
diff --git a/extra/cx_freeze/PKGBUILD b/extra/cx_freeze/PKGBUILD
index 02591e1bd..538710a6a 100644
--- a/extra/cx_freeze/PKGBUILD
+++ b/extra/cx_freeze/PKGBUILD
@@ -7,9 +7,9 @@
pkgname=cx_freeze
_tarname=cx_Freeze
pkgver=4.2.3
-pkgrel=2
+pkgrel=2.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/PKGBUILD b/extra/cyrus-sasl/PKGBUILD
index 2521c5a91..5cd531c36 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=11
pkgdesc="Cyrus Simple Authentication Service Layer (SASL) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cyrusimap.web.cmu.edu/"
license=('custom')
options=('!makeflags' '!libtool')
@@ -101,6 +101,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
deleted file mode 100644
index 8e4393bbe..000000000
--- a/extra/dansguardian/PKGBUILD
+++ /dev/null
@@ -1,155 +0,0 @@
-# $Id: PKGBUILD 161292 2012-06-08 23:30:21Z dreisner $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Manolis Tzanidakis
-
-pkgname=dansguardian
-pkgver=2.10.1.1
-pkgrel=4
-pkgdesc="Squid plugin for web content filtering."
-url="http://dansguardian.org"
-arch=('i686' 'x86_64')
-license=('GPL2')
-depends=('squid' 'pcre' 'zlib')
-install=${pkgname}.install
-source=(http://dansguardian.org/downloads/2/Stable/${pkgname}-${pkgver}.tar.gz
- dansguardian
- dg2.10.1.1-missing.stdio.patch)
-md5sums=('0987a1c9bfbdf398118386f10279611a'
- 'a65a2cb6309670ad8978f1544907d290'
- '3444718c00cc17337cba711ceaa1c0e5')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np0 -i ${srcdir}/dg2.10.1.1-missing.stdio.patch
- ./configure --prefix="/usr" --with-proxyuser=proxy --with-proxygroup=proxy \
- --sysconfdir=/etc --localstatedir=/var --enable-email
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-
- install -D data/scripts/dansguardian ${pkgdir}/etc/logrotate.d/dansguardian
- install -D -m755 ${srcdir}/dansguardian ${pkgdir}/etc/rc.d/dansguardian
- rmdir "$pkgdir/var/run"
-}
-
-backup=(etc/dansguardian/dansguardian.conf
-etc/dansguardian/dansguardianf1.conf
-etc/dansguardian/downloadmanagers/default.conf
-etc/dansguardian/downloadmanagers/fancy.conf
-etc/dansguardian/authplugins/proxy-digest.conf
-etc/dansguardian/authplugins/proxy-basic.conf
-etc/dansguardian/authplugins/ident.conf
-etc/dansguardian/authplugins/ip.conf
-etc/dansguardian/lists/weightedphraselist
-etc/dansguardian/lists/contentregexplist
-etc/dansguardian/lists/exceptionfileurllist
-etc/dansguardian/lists/exceptionextensionlist
-etc/dansguardian/lists/bannedextensionlist
-etc/dansguardian/lists/exceptionmimetypelist
-etc/dansguardian/lists/blacklists/ads/urls
-etc/dansguardian/lists/blacklists/ads/domains
-etc/dansguardian/lists/exceptionregexpurllist
-etc/dansguardian/lists/authplugins/ipgroups
-etc/dansguardian/lists/bannedregexpheaderlist
-etc/dansguardian/lists/phraselists/rta/banned
-etc/dansguardian/lists/phraselists/sport/weighted
-etc/dansguardian/lists/phraselists/proxies/weighted
-etc/dansguardian/lists/phraselists/safelabel/banned
-etc/dansguardian/lists/phraselists/peer2peer/weighted
-etc/dansguardian/lists/phraselists/drugadvocacy/weighted
-etc/dansguardian/lists/phraselists/googlesearches/banned
-etc/dansguardian/lists/phraselists/conspiracy/weighted
-etc/dansguardian/lists/phraselists/secretsocieties/weighted
-etc/dansguardian/lists/phraselists/idtheft/weighted
-etc/dansguardian/lists/phraselists/illegaldrugs/banned
-etc/dansguardian/lists/phraselists/illegaldrugs/weighted_portuguese
-etc/dansguardian/lists/phraselists/illegaldrugs/weighted
-etc/dansguardian/lists/phraselists/violence/weighted_portuguese
-etc/dansguardian/lists/phraselists/violence/weighted
-etc/dansguardian/lists/phraselists/domainsforsale/weighted
-etc/dansguardian/lists/phraselists/music/weighted
-etc/dansguardian/lists/phraselists/upstreamfilter/weighted
-etc/dansguardian/lists/phraselists/games/weighted
-etc/dansguardian/lists/phraselists/weapons/weighted_portuguese
-etc/dansguardian/lists/phraselists/weapons/weighted
-etc/dansguardian/lists/phraselists/legaldrugs/weighted
-etc/dansguardian/lists/phraselists/gore/weighted_portuguese
-etc/dansguardian/lists/phraselists/gore/weighted
-etc/dansguardian/lists/phraselists/warezhacking/weighted
-etc/dansguardian/lists/phraselists/pornography/weighted_chinese
-etc/dansguardian/lists/phraselists/pornography/weighted_malay
-etc/dansguardian/lists/phraselists/pornography/weighted_german
-etc/dansguardian/lists/phraselists/pornography/weighted_dutch
-etc/dansguardian/lists/phraselists/pornography/banned_portuguese
-etc/dansguardian/lists/phraselists/pornography/weighted_french
-etc/dansguardian/lists/phraselists/pornography/weighted_polish
-etc/dansguardian/lists/phraselists/pornography/banned
-etc/dansguardian/lists/phraselists/pornography/weighted_danish
-etc/dansguardian/lists/phraselists/pornography/weighted_japanese
-etc/dansguardian/lists/phraselists/pornography/weighted_portuguese
-etc/dansguardian/lists/phraselists/pornography/weighted_russian
-etc/dansguardian/lists/phraselists/pornography/weighted_italian
-etc/dansguardian/lists/phraselists/pornography/weighted_swedish
-etc/dansguardian/lists/phraselists/pornography/weighted
-etc/dansguardian/lists/phraselists/pornography/weighted_norwegian
-etc/dansguardian/lists/phraselists/pornography/weighted_spanish
-etc/dansguardian/lists/phraselists/personals/weighted_portuguese
-etc/dansguardian/lists/phraselists/personals/weighted
-etc/dansguardian/lists/phraselists/nudism/weighted
-etc/dansguardian/lists/phraselists/malware/weighted
-etc/dansguardian/lists/phraselists/goodphrases/weighted_general_polish
-etc/dansguardian/lists/phraselists/goodphrases/weighted_general_swedish
-etc/dansguardian/lists/phraselists/goodphrases/exception_email
-etc/dansguardian/lists/phraselists/goodphrases/exception
-etc/dansguardian/lists/phraselists/goodphrases/weighted_general
-etc/dansguardian/lists/phraselists/goodphrases/weighted_general_danish
-etc/dansguardian/lists/phraselists/goodphrases/weighted_general_malay
-etc/dansguardian/lists/phraselists/goodphrases/weighted_general_dutch
-etc/dansguardian/lists/phraselists/goodphrases/weighted_general_portuguese
-etc/dansguardian/lists/phraselists/goodphrases/weighted_news
-etc/dansguardian/lists/phraselists/translation/weighted
-etc/dansguardian/lists/phraselists/chat/weighted_italian
-etc/dansguardian/lists/phraselists/chat/weighted
-etc/dansguardian/lists/phraselists/news/weighted
-etc/dansguardian/lists/phraselists/badwords/weighted_german
-etc/dansguardian/lists/phraselists/badwords/weighted_dutch
-etc/dansguardian/lists/phraselists/badwords/weighted_french
-etc/dansguardian/lists/phraselists/badwords/weighted_portuguese
-etc/dansguardian/lists/phraselists/badwords/weighted_spanish
-etc/dansguardian/lists/phraselists/webmail/weighted
-etc/dansguardian/lists/phraselists/travel/weighted
-etc/dansguardian/lists/phraselists/gambling/banned_portuguese
-etc/dansguardian/lists/phraselists/gambling/banned
-etc/dansguardian/lists/phraselists/gambling/weighted_portuguese
-etc/dansguardian/lists/phraselists/gambling/weighted
-etc/dansguardian/lists/phraselists/forums/weighted
-etc/dansguardian/lists/phraselists/intolerance/banned_portuguese
-etc/dansguardian/lists/phraselists/intolerance/weighted_portuguese
-etc/dansguardian/lists/phraselists/intolerance/weighted
-etc/dansguardian/lists/logsitelist
-etc/dansguardian/lists/logregexpurllist
-etc/dansguardian/lists/greysitelist
-etc/dansguardian/lists/filtergroupslist
-etc/dansguardian/lists/downloadmanagers/managedmimetypelist
-etc/dansguardian/lists/downloadmanagers/managedextensionlist
-etc/dansguardian/lists/exceptionfilesitelist
-etc/dansguardian/lists/bannedmimetypelist
-etc/dansguardian/lists/pics
-etc/dansguardian/lists/exceptionurllist
-etc/dansguardian/lists/logurllist
-etc/dansguardian/lists/exceptionphraselist
-etc/dansguardian/lists/bannedurllist
-etc/dansguardian/lists/headerregexplist
-etc/dansguardian/lists/bannediplist
-etc/dansguardian/lists/exceptionsitelist
-etc/dansguardian/lists/bannedphraselist
-etc/dansguardian/lists/exceptioniplist
-etc/dansguardian/lists/bannedregexpurllist
-etc/dansguardian/lists/bannedsitelist
-etc/dansguardian/lists/urlregexplist
-etc/dansguardian/lists/greyurllist)
-
-# vim: ts=2 sw=2 et ft=sh
diff --git a/extra/dansguardian/dansguardian b/extra/dansguardian/dansguardian
deleted file mode 100644
index c537da8bd..000000000
--- a/extra/dansguardian/dansguardian
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/dansguardian`
-case "$1" in
- start)
- stat_busy "Starting DansGuardian"
- [ -z "$PID" ] && /usr/sbin/dansguardian
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon dansguardian
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping DansGuardian"
- [ ! -z "$PID" ] && /usr/sbin/dansguardian -q &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon dansguardian
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/dansguardian/dansguardian.install b/extra/dansguardian/dansguardian.install
deleted file mode 100644
index 05a72ad80..000000000
--- a/extra/dansguardian/dansguardian.install
+++ /dev/null
@@ -1,8 +0,0 @@
-post_install() {
- echo "--------------------------------------------------"
- echo "NOTE: DansGuardian is NOT free for commercial use."
- echo " See http://dansguardian.org for details on"
- echo " setup, configuration, and licensing."
- echo "--------------------------------------------------"
- chown -R proxy.proxy var/log/dansguardian
-}
diff --git a/extra/dansguardian/dg2.10.1.1-missing.stdio.patch b/extra/dansguardian/dg2.10.1.1-missing.stdio.patch
deleted file mode 100644
index b92aef008..000000000
--- a/extra/dansguardian/dg2.10.1.1-missing.stdio.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/downloadmanagers/fancy.cpp.orig 2009-09-13 18:37:56.000000000 -0400
-+++ src/downloadmanagers/fancy.cpp 2009-09-13 18:38:14.000000000 -0400
-@@ -32,6 +32,7 @@
- #include <unistd.h>
- #include <iostream>
- #include <math.h>
-+#include <cstdio>
-
-
- // GLOBALS
diff --git a/extra/dasher/PKGBUILD b/extra/dasher/PKGBUILD
index c40d81bc0..e6da6487b 100644
--- a/extra/dasher/PKGBUILD
+++ b/extra/dasher/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dasher
pkgver=4.10.1
pkgrel=3
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' 'libgnomeui' 'gnome-speech' 'gconf' 'hicolor-icon-theme')
makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils')
diff --git a/extra/datefudge/PKGBUILD b/extra/datefudge/PKGBUILD
index 1cf348382..37cc1644a 100644
--- a/extra/datefudge/PKGBUILD
+++ b/extra/datefudge/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=datefudge
pkgver=1.17
pkgrel=1
pkgdesc="A program (and preload library) to fake system date"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://packages.qa.debian.org/d/datefudge.html"
license=('GPL2')
depends=('sh')
diff --git a/extra/davfs2/PKGBUILD b/extra/davfs2/PKGBUILD
index a682bf185..0293473a7 100644
--- a/extra/davfs2/PKGBUILD
+++ b/extra/davfs2/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=davfs2
pkgver=1.4.7
pkgrel=1
pkgdesc="File system driver that allows you to mount a WebDAV folder"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://savannah.nongnu.org/projects/davfs2"
license=('GPL')
depends=('neon')
diff --git a/extra/dbus-c++/PKGBUILD b/extra/dbus-c++/PKGBUILD
index d79922ec5..70df15dba 100644
--- a/extra/dbus-c++/PKGBUILD
+++ b/extra/dbus-c++/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.9.0
pkgrel=4
pkgdesc="A C++ API for D-BUS"
url="http://sourceforge.net/projects/dbus-cplusplus/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('dbus>=1.2.0' 'glib2')
makedepends=('autoconf' 'automake' 'libtool')
diff --git a/extra/dbus-glib/PKGBUILD b/extra/dbus-glib/PKGBUILD
index 9ba5e1e92..6cb39ec99 100644
--- a/extra/dbus-glib/PKGBUILD
+++ b/extra/dbus-glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dbus-glib
pkgver=0.100
pkgrel=1
pkgdesc="GLib bindings for DBUS"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
depends=('dbus-core' 'glib2')
diff --git a/extra/dbus-python/PKGBUILD b/extra/dbus-python/PKGBUILD
index 9bbdd6368..ed1cb8240 100644
--- a/extra/dbus-python/PKGBUILD
+++ b/extra/dbus-python/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('python-dbus' 'python2-dbus' 'python-dbus-common')
pkgver=1.1.1
pkgrel=2
pkgdesc="Python bindings for DBUS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
makedepends=('docutils' 'dbus-glib' 'python' 'python2')
diff --git a/extra/dbus/PKGBUILD b/extra/dbus/PKGBUILD
index 54b0e62b3..79f457045 100644
--- a/extra/dbus/PKGBUILD
+++ b/extra/dbus/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.6.8
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 #{,.asc}
diff --git a/extra/dcfldd/PKGBUILD b/extra/dcfldd/PKGBUILD
index b0eb7861f..bf1732979 100644
--- a/extra/dcfldd/PKGBUILD
+++ b/extra/dcfldd/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=dcfldd
pkgver=1.3.4.1
-pkgrel=3
+pkgrel=3.1
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 7cdc809f2..576dc22b9 100644
--- a/extra/dconf/PKGBUILD
+++ b/extra/dconf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=dconf
pkgver=0.14.1
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' 'gtk-update-icon-cache')
diff --git a/extra/dcraw/PKGBUILD b/extra/dcraw/PKGBUILD
index 1a28c41ce..8b7b6cbc2 100644
--- a/extra/dcraw/PKGBUILD
+++ b/extra/dcraw/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=dcraw
pkgver=9.16
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' 'jasper')
diff --git a/extra/ddd/PKGBUILD b/extra/ddd/PKGBUILD
index 6e7b8447e..2b7d22276 100644
--- a/extra/ddd/PKGBUILD
+++ b/extra/ddd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ddd
pkgver=3.3.12
pkgrel=3
pkgdesc="A graphical front-end for command-line debuggers such as GDB, JDB, pydb, perl debugger..."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/ddd/"
license=('GPL3' 'LGPL3')
depends=('gcc-libs' 'lesstif' 'libxaw')
diff --git a/extra/ddrescue/PKGBUILD b/extra/ddrescue/PKGBUILD
index 0fe7a3286..1538b084b 100644
--- a/extra/ddrescue/PKGBUILD
+++ b/extra/ddrescue/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ddrescue
pkgver=1.16
pkgrel=2
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 1588bfc27..8b74e0c93 100644
--- a/extra/desktop-file-utils/PKGBUILD
+++ b/extra/desktop-file-utils/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=desktop-file-utils
pkgver=0.20
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 d51581202..992d38e9b 100644
--- a/extra/devhelp/PKGBUILD
+++ b/extra/devhelp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=devhelp
pkgver=3.6.1
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' 'webkitgtk3' 'hicolor-icon-theme')
diff --git a/extra/devilspie/PKGBUILD b/extra/devilspie/PKGBUILD
index a2b2cafa0..f6b10f601 100644
--- a/extra/devilspie/PKGBUILD
+++ b/extra/devilspie/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=devilspie
pkgver=0.22
-pkgrel=5
+pkgrel=5.1
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 43e127dfb..849c303cb 100644
--- a/extra/dhcp/PKGBUILD
+++ b/extra/dhcp/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=4.2.4.2
_pkgver=4.2.4-P2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:isc-dhcp')
url="https://www.isc.org/software/dhcp"
makedepends=('bash' 'iproute2' 'net-tools')
diff --git a/extra/di/PKGBUILD b/extra/di/PKGBUILD
index 284d613c1..c5670859f 100644
--- a/extra/di/PKGBUILD
+++ b/extra/di/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=di
pkgver=4.33
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 1d7ffb350..e4fde9de6 100644
--- a/extra/diffstat/PKGBUILD
+++ b/extra/diffstat/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=diffstat
pkgver=1.55
-pkgrel=1
+pkgrel=1.1
pkgdesc="Display a histogram of diff changes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://invisible-island.net/diffstat"
depends=('glibc')
license=('MIT')
diff --git a/extra/digikam/PKGBUILD b/extra/digikam/PKGBUILD
index 85df42f9e..9287e0474 100644
--- a/extra/digikam/PKGBUILD
+++ b/extra/digikam/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('digikam' 'kipi-plugins' 'libkface' 'libkgeomap' 'libkvkontakte' 'libme
pkgver=2.9.0
pkgrel=1
pkgdesc="Digital photo management application for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.digikam.org/"
makedepends=('kdepimlibs' 'libkexiv2' 'libkdcraw' 'libkipi' 'libksane' 'liblqr'
diff --git a/extra/djvulibre/PKGBUILD b/extra/djvulibre/PKGBUILD
index 572a6c552..6ddbcf27a 100644
--- a/extra/djvulibre/PKGBUILD
+++ b/extra/djvulibre/PKGBUILD
@@ -9,7 +9,7 @@ _major=3.5.25
pkgrel=1
pkgdesc="Suite to create, manipulate and view DjVu ('déjà vu') documents"
url='http://djvu.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
license=('GPL2')
options=('!libtool')
makedepends=('librsvg')
diff --git a/extra/dmapi/PKGBUILD b/extra/dmapi/PKGBUILD
index ada627216..79bf8314e 100644
--- a/extra/dmapi/PKGBUILD
+++ b/extra/dmapi/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=dmapi
pkgver=2.2.10
-pkgrel=3
+pkgrel=3.1
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/dnsmasq/PKGBUILD b/extra/dnsmasq/PKGBUILD
index ad155e96e..cd568edb5 100644
--- a/extra/dnsmasq/PKGBUILD
+++ b/extra/dnsmasq/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.63
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' 'dbus-core')
install=$pkgname.install
diff --git a/extra/docker/PKGBUILD b/extra/docker/PKGBUILD
index 3c26eb3cc..102556c83 100644
--- a/extra/docker/PKGBUILD
+++ b/extra/docker/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=docker
pkgver=1.5
-pkgrel=5
+pkgrel=5.1
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 a2555b3be..76ae3b2e7 100644
--- a/extra/dosfstools/PKGBUILD
+++ b/extra/dosfstools/PKGBUILD
@@ -3,9 +3,9 @@
# Committer: Judd Vinet <jvinet@zeroflux.org>
pkgname=dosfstools
pkgver=3.0.12
-pkgrel=1
+pkgrel=1.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/dotconf/PKGBUILD b/extra/dotconf/PKGBUILD
index c00c1582e..dbc7803df 100644
--- a/extra/dotconf/PKGBUILD
+++ b/extra/dotconf/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=dotconf
pkgver=1.3
-pkgrel=3
+pkgrel=3.1
pkgdesc='A C library for parsing configuration files'
url="https://github.com/williamh/dotconf"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
makedepends=('pkgconfig' 'findutils')
license=('LGPL2.1')
diff --git a/extra/dovecot/PKGBUILD b/extra/dovecot/PKGBUILD
index 96f7ac061..ac276f76c 100644
--- a/extra/dovecot/PKGBUILD
+++ b/extra/dovecot/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=dovecot
pkgver=2.1.10
pkgrel=2
pkgdesc="An IMAP and POP3 server written with security primarily in mind"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://dovecot.org/"
license=("LGPL")
depends=('krb5' 'openssl' 'sqlite>=3.7.5' 'libmysqlclient>=5.5.10'
diff --git a/extra/doxygen/PKGBUILD b/extra/doxygen/PKGBUILD
index df0ff2380..a5dbb427c 100644
--- a/extra/doxygen/PKGBUILD
+++ b/extra/doxygen/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('doxygen' 'doxygen-docs')
pkgver=1.8.2
pkgrel=1
license=('GPL')
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.doxygen.org/"
makedepends=('gcc-libs' 'flex' 'qt' 'texlive-core' 'ghostscript' 'texlive-latexextra')
source=(ftp://ftp.stack.nl/pub/users/dimitri/${pkgname}-${pkgver}.src.tar.gz)
@@ -33,5 +33,11 @@ package_doxygen-docs() {
pkgdesc="Developer documentation for doxygen"
cd "${srcdir}/${pkgbase}-${pkgver}"
+
+ # Needs fonts removed from our TeXLive.
+ sed -i -e 's;$(MAKE) -C latex;:;' \
+ -e 's;$(INSTTOOL) -m 644 latex/doxygen_manual.pdf $(DESTDIR)/$(DOCDIR);:;' \
+ Makefile
+
make INSTALL="${pkgdir}"/usr MAN1DIR=share/man/man1 install_docs
}
diff --git a/extra/dssi/PKGBUILD b/extra/dssi/PKGBUILD
index 2a39d83b0..11549dcef 100644
--- a/extra/dssi/PKGBUILD
+++ b/extra/dssi/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=dssi
pkgver=1.1.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="An API for audio processing plugins & softsynths with UIs"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://dssi.sourceforge.net/"
license=('LGPL' 'BSD' 'custom')
depends=('liblo' 'jack')
diff --git a/extra/dvd+rw-tools/PKGBUILD b/extra/dvd+rw-tools/PKGBUILD
index 27c8c9122..4598c1770 100644
--- a/extra/dvd+rw-tools/PKGBUILD
+++ b/extra/dvd+rw-tools/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=dvd+rw-tools
pkgver=7.1
-pkgrel=4
+pkgrel=4.1
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 99c3dc596..2fd805cdb 100644
--- a/extra/dvdauthor/PKGBUILD
+++ b/extra/dvdauthor/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=dvdauthor
pkgver=0.7.1
pkgrel=2
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/dvdrtools/PKGBUILD b/extra/dvdrtools/PKGBUILD
deleted file mode 100644
index 555071bef..000000000
--- a/extra/dvdrtools/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 137611 2011-09-10 04:22:54Z eric $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: dorphell <dorphell@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=dvdrtools
-pkgver=0.3.1
-pkgrel=3
-pkgdesc="A fork of cdrtools, with the primary goal of supporting writable DVD drives"
-arch=('i686' 'x86_64')
-url="http://savannah.nongnu.org/projects/dvdrtools/"
-license=('GPL')
-depends=('file' 'bash')
-makedepends=('transcode')
-optdepends=('transcode: video/DVD ripper and encoder for the terminal/console')
-conflicts=('cdrkit')
-source=(ftp://ftp.archlinux.org/other/dvdrtools/$pkgname-$pkgver.tar.gz)
-md5sums=('5707b7e877b853e258cd738938833006')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
-}
diff --git a/extra/dvgrab/PKGBUILD b/extra/dvgrab/PKGBUILD
index 8afb2a3ba..9e50f2782 100644
--- a/extra/dvgrab/PKGBUILD
+++ b/extra/dvgrab/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=dvgrab
pkgver=3.5
-pkgrel=4
+pkgrel=4.1
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 19be26911..bbd047d81 100644
--- a/extra/easytag/PKGBUILD
+++ b/extra/easytag/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=easytag
pkgver=2.1.7
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' 'speex' 'wavpack' 'libmp4v2' 'desktop-file-utils')
diff --git a/extra/ebook-tools/PKGBUILD b/extra/ebook-tools/PKGBUILD
index 439163598..8522b5316 100644
--- a/extra/ebook-tools/PKGBUILD
+++ b/extra/ebook-tools/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ebook-tools
pkgver=0.2.2
pkgrel=1
pkgdesc="Tools for accessing and converting various ebook file formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/ebook-tools/"
license=('custom')
depends=('libzip' 'libxml2' 'convertlit')
@@ -18,6 +18,7 @@ build() {
mkdir build
cd build
+ CXX="g++" \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
diff --git a/extra/ecasound/PKGBUILD b/extra/ecasound/PKGBUILD
index 60b4b177b..d83129ee7 100644
--- a/extra/ecasound/PKGBUILD
+++ b/extra/ecasound/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ecasound
pkgver=2.9.0
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=('audiofile' 'liblo'
diff --git a/extra/ecl/PKGBUILD b/extra/ecl/PKGBUILD
index ace572370..673a5afd2 100644
--- a/extra/ecl/PKGBUILD
+++ b/extra/ecl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ecl
pkgver=12.7.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 013203dff..fed53f811 100644
--- a/extra/eclipse/PKGBUILD
+++ b/extra/eclipse/PKGBUILD
@@ -10,7 +10,7 @@ pkgver=4.2.1
pkgrel=1
_date=201209141800/
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' 'libwebkit' 'libxtst')
install=${pkgname}.install
diff --git a/extra/efibootmgr/PKGBUILD b/extra/efibootmgr/PKGBUILD
index 0fd7bb248..9d8a8b145 100755
--- a/extra/efibootmgr/PKGBUILD
+++ b/extra/efibootmgr/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=efibootmgr
pkgver=0.5.4
pkgrel=3
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' 'pciutils')
diff --git a/extra/eject/PKGBUILD b/extra/eject/PKGBUILD
deleted file mode 100644
index 131f4584e..000000000
--- a/extra/eject/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# $Id: PKGBUILD 135944 2011-08-20 17:05:11Z tomegun $
-# Maintainer: Tom Gundersen <teg@jlkm.no>
-# Contributor: Natrio <natrio@list.ru>
-# Contributor: dorphell <dorphell@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=eject
-pkgver=2.1.5
-pkgrel=7
-pkgdesc="A program for ejecting removable media under software control."
-arch=('i686' 'x86_64')
-url="http://eject.sourceforge.net/"
-license=('GPL')
-depends=('glibc')
-source=("ftp://ftp.archlinux.org/other/eject/eject-${pkgver}.tar.bz2"
- 'eject-2.1.1-verbose.patch'
- 'eject-2.1.5-lock.patch'
- 'eject-2.1.5-spaces.patch'
- 'eject-2.1.5-umount.patch'
- 'eject-timeout.patch'
- 'eject-2.1.5-unlock.patch'
- 'eject-2.1.5-openrw.patch')
-md5sums=('5a6cab2184ae4ed21128054d931d558f'
- '4fb81806de181d5f353a459b7f122081'
- '7d18c14f7b1bb50149fd2b41215dc4f2'
- '64f5c54dac064e6dbc427025d919221b'
- '34221248a269703d3a47a8d2a6fdd2e2'
- 'f6b1b702ef9174e2fd05a56ee2de850e'
- 'f384f98fa689b087d99217a7403bf706'
- 'e74d742540e4f399d348af495bf00e85')
-
-build() {
- cd "${srcdir}/eject"
- patch -p1 -i "${srcdir}/eject-2.1.1-verbose.patch"
- patch -p1 -i "${srcdir}/eject-2.1.5-lock.patch"
- patch -p1 -i "${srcdir}/eject-2.1.5-spaces.patch"
- patch -p1 -i "${srcdir}/eject-2.1.5-umount.patch"
- patch -p1 -i "${srcdir}/eject-timeout.patch"
- patch -p1 -i "${srcdir}/eject-2.1.5-unlock.patch"
- patch -p1 -i "${srcdir}/eject-2.1.5-openrw.patch"
- ./configure --prefix=/usr \
- --mandir=/usr/share/man \
- --enable-default-device=sr0
- make
-}
-
-package() {
- cd "${srcdir}/eject"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/eject/eject-2.1.1-verbose.patch b/extra/eject/eject-2.1.1-verbose.patch
deleted file mode 100644
index 44c05d881..000000000
--- a/extra/eject/eject-2.1.1-verbose.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/eject.c b/eject.c
-index b14d5f2..662ba54 100644
---- a/eject.c
-+++ b/eject.c
-@@ -709,7 +709,9 @@ static int EjectScsi(int fd)
- unsigned char sense_buffer[32];
-
- if ((ioctl(fd, SG_GET_VERSION_NUM, &k) < 0) || (k < 30000)) {
-- printf("not an sg device, or old sg driver\n");
-+ if (v_option) {
-+ printf(_("not an sg device, or old sg driver\n"));
-+ }
- return 0;
- }
-
diff --git a/extra/eject/eject-2.1.5-lock.patch b/extra/eject/eject-2.1.5-lock.patch
deleted file mode 100644
index 25f84651e..000000000
--- a/extra/eject/eject-2.1.5-lock.patch
+++ /dev/null
@@ -1,171 +0,0 @@
- eject.1 | 13 +++++++++++--
- eject.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
- 2 files changed, 63 insertions(+), 4 deletions(-)
-
-diff --git a/eject.1 b/eject.1
-index 3c388c6..315dc6d 100644
---- a/eject.1
-+++ b/eject.1
-@@ -17,6 +17,8 @@ eject [\-vn] \-a on|off|1|0 [<name>]
- .br
- eject [\-vn] \-c slot [<name>]
- .br
-+eject [\-vn] \-i on|off|1|0 [<name>]
-+.br
- eject [\-vn] \-t [<name>]
- .br
- eject [\-vn] \-T [<name>]
-@@ -83,6 +85,13 @@ for a change request to work. Please also note that the first slot of
- the changer is referred to as 0, not 1.
-
- .TP 0.5i
-+.B \-i on|1|off|0
-+This option controls locking of the hardware eject button. When
-+enabled, the drive will not be ejected when the button is pressed.
-+This is useful when you are carrying a laptop in a bag or case and
-+don't want it to eject if the button is inadvertently pressed.
-+
-+.TP 0.5i
- .B \-t
- With this option the drive is given a CD-ROM tray close command. Not
- all devices support this command.
-@@ -121,8 +130,8 @@ performed.
- .B \-r
- This option specifies that the drive should be ejected using a
- CDROM eject command.
--.TP 0.5i
-
-+.TP 0.5i
- .B \-s
- This option specifies that the drive should be ejected using
- SCSI commands.
-@@ -145,7 +154,7 @@ also passes the \-n option to umount(1).
- .TP 0.5i
- .B \-m
- This option allows eject to work with device drivers which automatically
--mount removable media and therefore must be always mount()ed.
-+mount removable media and therefore must be always mount(1)ed.
- The option tells eject to not try to unmount the given device,
- even if it is mounted according to /etc/mtab or /proc/mounts.
-
-diff --git a/eject.c b/eject.c
-index f7b2a2e..4175756 100644
---- a/eject.c
-+++ b/eject.c
-@@ -116,6 +116,7 @@ int d_option = 0;
- int f_option = 0;
- int h_option = 0;
- int n_option = 0;
-+int i_option = 0;
- int q_option = 0;
- int r_option = 0;
- int s_option = 0;
-@@ -129,6 +130,7 @@ int m_option = 0;
- int a_arg = 0;
- int c_arg = 0;
- int x_arg = 0;
-+int i_arg = 0;
- static char *programName; /* used in error messages */
-
- /*
-@@ -163,6 +165,7 @@ static void usage()
- " eject [-vn] -c <slot> [<name>] -- switch discs on a CD-ROM changer\n"
- " eject [-vn] -t [<name>] -- close tray\n"
- " eject [-vn] -T [<name>] -- toggle tray\n"
-+" eject [-vn] -i on|off|1|0 [<name>] -- toggle manual eject protection on/off\n"
- " eject [-vn] -x <speed> [<name>] -- set CD-ROM max speed\n"
- " eject [-vn] -X [<name>] -- list CD-ROM available speeds\n"
- "Options:\n"
-@@ -200,7 +203,7 @@ static void usage()
- #endif
- "\n"
- " -n --noop -V --version\n"
--" -p --proc -m --no-unmount -T --traytoggle\n"));
-+" -p --proc -m --no-unmount -T --traytoggle -i --manualeject\n"));
- #endif /* GETOPTLONG */
- fprintf(stderr,_(
- "Parameter <name> can be a device file or a mount point.\n"
-@@ -214,7 +217,7 @@ static void usage()
- /* Handle command line options. */
- static void parse_args(int argc, char **argv, char **device)
- {
-- const char *flags = "a:c:x:dfhnqrstTXvVpm";
-+ const char *flags = "a:c:x:i:dfhnqrstTXvVpm";
- #ifdef GETOPTLONG
- static struct option long_options[] =
- {
-@@ -223,6 +226,7 @@ static void parse_args(int argc, char **argv, char **device)
- {"default", no_argument, NULL, 'd'},
- {"auto", required_argument, NULL, 'a'},
- {"changerslot", required_argument, NULL, 'c'},
-+ {"manualeject", required_argument, NULL, 'i'},
- {"trayclose", no_argument, NULL, 't'},
- {"traytoggle", no_argument, NULL, 'T'},
- {"cdspeed", required_argument, NULL, 'x'},
-@@ -297,6 +301,21 @@ static void parse_args(int argc, char **argv, char **device)
- usage();
- exit(0);
- break;
-+ case 'i':
-+ i_option = 1;
-+ if (!strcmp(optarg, "0"))
-+ i_arg = 0;
-+ else if (!strcmp(optarg, "off"))
-+ i_arg = 0;
-+ else if (!strcmp(optarg, "1"))
-+ i_arg = 1;
-+ else if (!strcmp(optarg, "on"))
-+ i_arg = 1;
-+ else {
-+ fprintf(stderr, _("%s: invalid argument to -i option\n"), programName);
-+ exit(1);
-+ }
-+ break;
- case 'm':
- m_option = 1;
- break;
-@@ -482,6 +501,30 @@ static char *FindDevice(const char *name)
- }
-
-
-+/*
-+ * Stops CDROM from opening on manual eject pressing the button.
-+ * This can be useful when you carry your laptop
-+ * in your bag while it's on and no CD inserted in it's drive.
-+ * Implemented as found in Documentation/ioctl/cdrom.txt
-+ *
-+ * TODO: Maybe we should check this also:
-+ * EDRIVE_CANT_DO_THIS Door lock function not supported.
-+ * EBUSY Attempt to unlock when multiple users
-+ * have the drive open and not CAP_SYS_ADMIN
-+ */
-+static void ManualEject(int fd, int onOff)
-+{
-+ if (ioctl(fd, CDROM_LOCKDOOR, onOff) < 0) {
-+ perror("ioctl on CDROM_LOCKDOOR");
-+ } else {
-+ if (onOff)
-+ printf("CD-Drive may NOT be ejected with device button\n");
-+ else
-+ printf("CD-Drive may be ejected with device button\n");
-+ }
-+}
-+
-+
- /* Set or clear auto-eject mode. */
- static void AutoEject(int fd, int onOff)
- {
-@@ -1233,6 +1276,13 @@ int main(int argc, char **argv)
- exit(0);
- }
-
-+ /* handle -i option */
-+ if (i_option) {
-+ fd = OpenDevice(deviceName);
-+ ManualEject(fd, i_arg);
-+ exit(0);
-+ }
-+
- /* handle -a option */
- if (a_option) {
- if (v_option) {
diff --git a/extra/eject/eject-2.1.5-openrw.patch b/extra/eject/eject-2.1.5-openrw.patch
deleted file mode 100644
index 092bfcfda..000000000
--- a/extra/eject/eject-2.1.5-openrw.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -pur eject-1/eject.c eject/eject.c
---- eject-1/eject.c 2011-08-19 11:42:22.697388647 +0400
-+++ eject/eject.c 2011-08-19 11:57:27.636724026 +0400
-@@ -911,7 +911,12 @@ static void Unmount(const char *fullName
- /* Open a device file. */
- static int OpenDevice(const char *fullName)
- {
-- int fd = open(fullName, O_RDONLY|O_NONBLOCK);
-+ int fd = open(fullName, O_RDWR|O_NONBLOCK);
-+ if (fd == -1 && errno == EACCES) {
-+ if (v_option)
-+ printf(_("%s: unable to open `%s' for R/W, SCSI commands can be fail. Trying Read-Only\n"), programName, fullName);
-+ fd = open(fullName, O_RDONLY|O_NONBLOCK);
-+ }
- if (fd == -1) {
- fprintf(stderr, _("%s: unable to open `%s'\n"), programName, fullName);
- exit(1);
diff --git a/extra/eject/eject-2.1.5-spaces.patch b/extra/eject/eject-2.1.5-spaces.patch
deleted file mode 100644
index 40834d902..000000000
--- a/extra/eject/eject-2.1.5-spaces.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-diff --git a/eject.c b/eject.c
-index d67089c..f7b2a2e 100644
---- a/eject.c
-+++ b/eject.c
-@@ -370,6 +370,30 @@ static int FileExists(const char *name, const int try, int *found)
-
-
- /*
-+ * Linux mangles spaces in mount points by changing them to an octal string
-+ * of '\040'. So lets scan the mount point and fix it up by replacing all
-+ * occurrences off '\0##' with the ASCII value of 0##. Requires a writable
-+ * string as input as we mangle in place. Some of this was taken from the
-+ * util-linux package.
-+ */
-+#define octalify(a) ((a) & 7)
-+#define tooctal(s) (64*octalify(s[1]) + 8*octalify(s[2]) + octalify(s[3]))
-+#define isoctal(a) (((a) & ~7) == '0')
-+static char *DeMangleMount(char *s)
-+{
-+ char *tmp = s;
-+ while ((tmp = strchr(tmp, '\\')) != NULL) {
-+ if (isoctal(tmp[1]) && isoctal(tmp[2]) && isoctal(tmp[3])) {
-+ tmp[0] = tooctal(tmp);
-+ memmove(tmp+1, tmp+4, strlen(tmp)-3);
-+ }
-+ ++tmp;
-+ }
-+ return s;
-+}
-+
-+
-+/*
- * Given name, such as foo, see if any of the following exist:
- *
- * foo (if foo starts with '.' or '/')
-@@ -882,6 +906,8 @@ static int MountedDevice(const char *name, char **mountName, char **deviceName)
- rc = sscanf(line, "%1023s %1023s", s1, s2);
- if (rc >= 2) {
- int mtabmaj, mtabmin;
-+ DeMangleMount(s1);
-+ DeMangleMount(s2);
- GetMajorMinor(s1, &mtabmaj, &mtabmin);
- if (((strcmp(s1, name) == 0) || (strcmp(s2, name) == 0)) ||
- ((maj != -1) && (maj == mtabmaj) && (min == mtabmin))) {
-@@ -928,6 +954,8 @@ static int MountableDevice(const char *name, char **mountName, char **deviceName
-
- while (fgets(line, sizeof(line), fp) != 0) {
- rc = sscanf(line, "%1023s %1023s", s1, s2);
-+ DeMangleMount(s1);
-+ DeMangleMount(s2);
- if (rc >= 2 && s1[0] != '#' && strcmp(s2, name) == 0) {
- FCLOSE(fp);
- *deviceName = strdup(s1);
-@@ -968,6 +996,8 @@ static void UnmountDevices(const char *pattern)
- while (fgets(line, sizeof(line), fp) != 0) {
- status = sscanf(line, "%1023s %1023s", s1, s2);
- if (status >= 2) {
-+ DeMangleMount(s1);
-+ DeMangleMount(s2);
- status = regexec(&preg, s1, 0, 0, 0);
- if (status == 0) {
- if (v_option)
diff --git a/extra/eject/eject-2.1.5-umount.patch b/extra/eject/eject-2.1.5-umount.patch
deleted file mode 100644
index 2c588a01d..000000000
--- a/extra/eject/eject-2.1.5-umount.patch
+++ /dev/null
@@ -1,176 +0,0 @@
-diff --git a/eject.c b/eject.c
-index 4175756..057d2ea 100644
---- a/eject.c
-+++ b/eject.c
-@@ -42,6 +42,7 @@
- #include <string.h>
- #include <fcntl.h>
- #include <limits.h>
-+#include <dirent.h>
-
- #ifdef GETOPTLONG
- #include <getopt.h>
-@@ -1133,6 +1134,145 @@ static char *MultiplePartitions(const char *name)
- return 0;
- }
-
-+/*
-+ * Find device name in /sys/block/. Returns NULL if not
-+ * found. The returned pointer must be free()'d.
-+ */
-+static char* FindDeviceSysBlock(const char* deviceName)
-+{
-+ DIR *dir = opendir("/sys/block");
-+ struct dirent *d;
-+ const char *baseName = strrchr(deviceName, '/');
-+ char *device;
-+ int len;
-+
-+ baseName = baseName ? baseName + 1 : deviceName;
-+ if (!dir) {
-+ fprintf(stderr, _("%s: can not open directory /sys/block/"), programName);
-+ return NULL;
-+ }
-+ while ((d = readdir(dir)) != NULL) {
-+ if (d->d_type != DT_DIR && d->d_type != DT_LNK && d->d_type != DT_UNKNOWN)
-+ continue;
-+ len = strlen(d->d_name);
-+ if (!strncmp(baseName, d->d_name, len)) {
-+ if ((*(baseName+len) >= '0' &&
-+ *(baseName+len) <= '9') ||
-+ *(baseName+len) == '\0') {
-+ device = strdup(d->d_name);
-+ closedir(dir);
-+ return device;
-+ }
-+ }
-+ }
-+ closedir(dir);
-+ return NULL;
-+}
-+
-+/*
-+ * From given path gets a subsystem. Returns subsystem if any found
-+ * otherwise returns NULL. Returned value must not be free()'d
-+ */
-+static char *GetSubSystem(const char *sysfspath)
-+{
-+ static char subsystem[PATH_MAX];
-+ char link_subsystem[PATH_MAX];
-+ struct stat buf;
-+ char *pos;
-+
-+ snprintf(link_subsystem, sizeof(link_subsystem), "%s/subsystem", sysfspath);
-+
-+ if (lstat(link_subsystem, &buf) == -1)
-+ return NULL;
-+ if (!S_ISLNK(buf.st_mode))
-+ return NULL;
-+ if (readlink(link_subsystem, subsystem, sizeof(subsystem)) == -1)
-+ return NULL;
-+ if ((pos = strrchr(subsystem, '/')) == NULL)
-+ return NULL;
-+ strncpy(subsystem, pos+1, sizeof(subsystem));
-+
-+ return subsystem;
-+}
-+
-+/*
-+ * Check content of /sys/block/<dev>/removable. Returns 1 if the file
-+ * contains '1' otherwise returns 0.
-+ */
-+static int CheckRemovable(const char* deviceName)
-+{
-+ FILE *fp;
-+ int removable = 0;
-+ char *device;
-+ char path[PATH_MAX];
-+
-+ if ((device = FindDeviceSysBlock(deviceName)) == NULL) {
-+ fprintf(stderr,
-+ _("%s: did not find a device %s in /sys/block/\n"),
-+ programName, deviceName);
-+ exit(1);
-+ }
-+ snprintf(path, sizeof(path), "/sys/block/%s/removable", device);
-+ free(device);
-+ if((fp = fopen(path, "r")) == NULL)
-+ return removable;
-+ if (fgetc(fp) == '1')
-+ removable = 1;
-+
-+ fclose(fp);
-+ return removable;
-+}
-+
-+/* Check if a device is on hotpluggable subsystem. Returns 1 if is
-+ * otherwise returns 0.
-+ */
-+static int CheckHotpluggable(const char* deviceName)
-+{
-+ int hotpluggable = 0;
-+ char *device;
-+ char path[PATH_MAX];
-+ char *device_chain;
-+ struct stat buf;
-+ char *subsystem;
-+ char *pos;
-+
-+ if ((device = FindDeviceSysBlock(deviceName)) == NULL) {
-+ fprintf(stderr, _("%s: did not find a device %s in /sys/block/\n"),
-+ programName, deviceName);
-+ exit(1);
-+ }
-+ snprintf(path, sizeof(path), "/sys/block/%s/device", device);
-+ free(device);
-+
-+ if (lstat(path, &buf) == -1)
-+ return hotpluggable;
-+ if (!S_ISLNK(buf.st_mode))
-+ return hotpluggable;
-+ if ((device_chain = SymLink(path)) == NULL)
-+ return hotpluggable;
-+ while ( strncmp(device_chain, "", sizeof(device_chain) != 0)) {
-+ subsystem = GetSubSystem(device_chain);
-+ if (subsystem) {
-+ /* as hotpluggable we assume devices on these buses */
-+ if (strncmp("usb", subsystem, sizeof("usb")) == 0 ||
-+ strncmp("ieee1394", subsystem, sizeof("ieee1394")) == 0 ||
-+ strncmp("pcmcia", subsystem, sizeof("pcmcia")) == 0 ||
-+ strncmp("mmc", subsystem, sizeof("mmc")) == 0 ||
-+ strncmp("ccw", subsystem, sizeof("ccw")) == 0) {
-+ hotpluggable = 1;
-+ break;
-+ }
-+ }
-+ /* remove one member from devicechain */
-+ pos = strrchr(device_chain, '/');
-+ if (pos)
-+ pos[0] = '\0';
-+ else
-+ device_chain[0] = '\0';
-+ }
-+
-+ return hotpluggable;
-+}
-
- /* handle -x option */
- static void HandleXOption(char *deviceName)
-@@ -1276,6 +1416,17 @@ int main(int argc, char **argv)
- exit(0);
- }
-
-+ /* Check if device has removable flag*/
-+ if (v_option)
-+ printf(_("%s: checking if device \"%s\" has a removable or hotpluggable flag\n"),
-+ programName, deviceName);
-+ if (!CheckRemovable(deviceName) && !CheckHotpluggable(deviceName))
-+ {
-+ fprintf(stderr, _("%s: device \"%s\" doesn't have a removable or hotpluggable flag\n"),
-+ programName, deviceName);
-+ exit(1);
-+ }
-+
- /* handle -i option */
- if (i_option) {
- fd = OpenDevice(deviceName);
diff --git a/extra/eject/eject-2.1.5-unlock.patch b/extra/eject/eject-2.1.5-unlock.patch
deleted file mode 100644
index d554f9bdf..000000000
--- a/extra/eject/eject-2.1.5-unlock.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -pur eject-orig/eject.c eject/eject.c
---- eject-orig/eject.c 2006-02-11 04:54:38.000000000 +0300
-+++ eject/eject.c 2011-08-11 13:12:16.568112725 +0400
-@@ -527,6 +527,25 @@ static void CloseTray(int fd)
- }
-
- /*
-+ * Unlock tray using CDROM_LOCKDOOR ioctl.
-+ * New kernels doesn't automatically unlock tray before ejecting,
-+ * and the new udev automatically locks it.
-+ */
-+static int UnlockCdrom(int fd)
-+{
-+ int status = -1;
-+
-+ if (v_option)
-+ printf(_("%s: unlocking tray using CDROM_LOCKDOOR ioctl\n"), programName);
-+
-+ status = ioctl(fd, CDROM_LOCKDOOR, 0);
-+ if (v_option && status != 0)
-+ printf(_("%s: CDROM_LOCKDOOR ioctl failed\n"), programName);
-+
-+ return (status == 0);
-+}
-+
-+/*
- * Toggle tray.
- *
- * Written by Benjamin Schwenk <benjaminschwenk@yahoo.de> and
-@@ -543,6 +562,8 @@ static void ToggleTray(int fd)
-
- #ifdef CDROMCLOSETRAY
-
-+ UnlockCdrom(fd);
-+
- /* Try to open the CDROM tray and measure the time therefor
- * needed. In my experience the function needs less than 0.05
- * seconds if the tray was already open, and at least 1.5 seconds
-@@ -566,7 +587,11 @@ static void ToggleTray(int fd)
- * was already open. In this case, close it now. Else the tray was
- * closed before. This would mean that we are done. */
- if (time_elapsed < TRAY_WAS_ALREADY_OPEN_USECS)
-+ {
-+ if (v_option)
-+ printf(_("%s: CD-ROM tray was already open, closing it\n"), programName);
- CloseTray(fd);
-+ }
-
- #else
- fprintf(stderr, _("%s: CD-ROM tray toggle command not supported by this kernel\n"), programName);
-@@ -681,7 +706,7 @@ static void ListSpeedCdrom(const char *f
- static int EjectCdrom(int fd)
- {
- int status = -1;
--
-+ UnlockCdrom(fd);
- #if defined(CDROMEJECT)
- status = ioctl(fd, CDROMEJECT);
- #elif defined(CDIOCEJECT)
diff --git a/extra/eject/eject-timeout.patch b/extra/eject/eject-timeout.patch
deleted file mode 100644
index a542d2c2f..000000000
--- a/extra/eject/eject-timeout.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- eject/eject.c.orig 2006-08-07 16:35:15.000000000 +0200
-+++ eject/eject.c 2006-08-07 16:35:54.000000000 +0200
-@@ -723,7 +723,7 @@
- io_hdr.dxfer_len = 0;
- io_hdr.dxferp = inqBuff;
- io_hdr.sbp = sense_buffer;
-- io_hdr.timeout = 2000;
-+ io_hdr.timeout = 10000;
-
- io_hdr.cmdp = allowRmBlk;
- status = ioctl(fd, SG_IO, (void *)&io_hdr);
diff --git a/extra/ekiga/PKGBUILD b/extra/ekiga/PKGBUILD
index da7fab85c..3fbe7f5cd 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 37075ff99..9ccf17eb3 100644
--- a/extra/elfutils/PKGBUILD
+++ b/extra/elfutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=elfutils
pkgver=0.155
pkgrel=1
pkgdesc="Libraries and utilities to handle ELF object files and DWARF debugging information"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/elfutils/"
license=('LGPL3' 'GPL' 'GPL3')
depends=('gcc-libs' 'zlib' 'bzip2' 'xz')
@@ -30,6 +30,7 @@ build() {
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ [ "$CARCH" = "mips64el" ] && return 0 # Known to fail, no benefit from running.
make check
}
diff --git a/extra/emacs/PKGBUILD b/extra/emacs/PKGBUILD
index f22828aea..ff24aadfb 100644
--- a/extra/emacs/PKGBUILD
+++ b/extra/emacs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=emacs
pkgver=24.2
pkgrel=3
pkgdesc="The extensible, customizable, self-documenting real-time display editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/emacs/emacs.html"
license=('GPL3')
depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'gtk3' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib' 'imagemagick')
diff --git a/extra/emelfm2/PKGBUILD b/extra/emelfm2/PKGBUILD
index b9903668a..d98d75a1c 100644
--- a/extra/emelfm2/PKGBUILD
+++ b/extra/emelfm2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=emelfm2
pkgver=0.8.1
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=('GPL3')
diff --git a/extra/empathy/PKGBUILD b/extra/empathy/PKGBUILD
index 41b9675a3..03b07d76a 100644
--- a/extra/empathy/PKGBUILD
+++ b/extra/empathy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=empathy
pkgver=3.6.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=('clutter-gst' 'clutter-gtk' 'folks' 'gcr' 'iso-codes' 'libcanberra' 'libpulse' 'webkitgtk3' 'telepathy-farstream' 'telepathy-glib' 'telepathy-logger' 'telepathy-mission-control')
diff --git a/extra/enblend-enfuse/PKGBUILD b/extra/enblend-enfuse/PKGBUILD
index 8cbd04764..018f211ca 100644
--- a/extra/enblend-enfuse/PKGBUILD
+++ b/extra/enblend-enfuse/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=enblend-enfuse
pkgver=4.0
pkgrel=8
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' 'libxmi' 'freeglut' 'lcms' 'libpng' 'boost-libs')
diff --git a/extra/enca/PKGBUILD b/extra/enca/PKGBUILD
index fdcea7c56..3f0445dd9 100644
--- a/extra/enca/PKGBUILD
+++ b/extra/enca/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=enca
pkgver=1.13
-pkgrel=2
+pkgrel=2.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 a8dc20ddb..2bcd50d25 100644
--- a/extra/enchant/PKGBUILD
+++ b/extra/enchant/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=enchant
pkgver=1.6.0
-pkgrel=4
+pkgrel=4.1
pkgdesc="A wrapper library for generic spell checking"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.abisource.com/enchant/"
license=('LGPL')
depends=('aspell' 'dbus-glib' 'hunspell' 'hspell')
diff --git a/extra/enlightenment/PKGBUILD b/extra/enlightenment/PKGBUILD
index 3e41ead74..c521f4c4f 100644
--- a/extra/enlightenment/PKGBUILD
+++ b/extra/enlightenment/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.11
_themever=1.0.1
pkgrel=1
pkgdesc="A fast, flexible, and very extensible Window Manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('BSD' 'custom')
depends=('libxinerama' 'imlib2' 'perl' 'pango' 'libxcomposite' \
diff --git a/extra/enscript/PKGBUILD b/extra/enscript/PKGBUILD
index c3c800f49..15fd97973 100644
--- a/extra/enscript/PKGBUILD
+++ b/extra/enscript/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=enscript
pkgver=1.6.5.2
-pkgrel=2
+pkgrel=2.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-plugins/PKGBUILD b/extra/eog-plugins/PKGBUILD
index 801dcd172..18edd1fd2 100644
--- a/extra/eog-plugins/PKGBUILD
+++ b/extra/eog-plugins/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=eog-plugins
pkgver=3.6.1
pkgrel=1
pkgdesc="Plugins for Eye of Gnome"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org/"
license=('GPL2')
depends=('eog' 'libchamplain' 'libgdata')
diff --git a/extra/eog/PKGBUILD b/extra/eog/PKGBUILD
index c26151ba6..9154b425f 100644
--- a/extra/eog/PKGBUILD
+++ b/extra/eog/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=eog
pkgver=3.6.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' 'lcms2' 'desktop-file-utils' 'exempi' 'libpeas' 'librsvg' 'gnome-icon-theme' 'dconf')
makedepends=('gtk-doc' 'intltool' 'itstool')
diff --git a/extra/epiphany-extensions/PKGBUILD b/extra/epiphany-extensions/PKGBUILD
index f4dab52c3..3e8505de1 100644
--- a/extra/epiphany-extensions/PKGBUILD
+++ b/extra/epiphany-extensions/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=3.6.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=('intltool' 'gnome-doc-utils')
diff --git a/extra/epiphany/PKGBUILD b/extra/epiphany/PKGBUILD
index 6b65b5e6a..f731f5d6f 100644
--- a/extra/epiphany/PKGBUILD
+++ b/extra/epiphany/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.6.1
pkgrel=1
install=epiphany.install
pkgdesc="A GNOME web browser based on the WebKit rendering engine."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libsoup-gnome' 'libnotify' 'gsettings-desktop-schemas' 'webkitgtk3' 'nss' 'iso-codes' 'dconf' 'gobject-introspection' 'desktop-file-utils'
'hicolor-icon-theme' 'gcr' 'gnome-desktop')
diff --git a/extra/epplet-base/PKGBUILD b/extra/epplet-base/PKGBUILD
index a0a6d48f1..8399f5ec4 100644
--- a/extra/epplet-base/PKGBUILD
+++ b/extra/epplet-base/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=epplet-base
pkgver=0.14
pkgrel=1
pkgdesc="Addon plugins for the enlightenment windowmanager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.enlightenment.org"
license=('GPL')
depends=('imlib2' 'libcdaudio' 'libgl')
diff --git a/extra/ethstatus/PKGBUILD b/extra/ethstatus/PKGBUILD
index 9333a6adf..6bcdc9911 100644
--- a/extra/ethstatus/PKGBUILD
+++ b/extra/ethstatus/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=ethstatus
pkgver=0.4.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="A simple program for displaying commonly needed/wanted statistics in real time of incoming and outgoing traffic"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://packages.qa.debian.org/e/ethstatus.html"
license=('GPL')
depends=('ncurses')
diff --git a/extra/ethtool/PKGBUILD b/extra/ethtool/PKGBUILD
index b422b8403..0ab6d86a8 100644
--- a/extra/ethtool/PKGBUILD
+++ b/extra/ethtool/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=3.6
pkgrel=1
epoch=1
pkgdesc="Utility for controlling network drivers and hardware"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/software/network/ethtool/"
license=('GPL')
depends=('glibc')
diff --git a/extra/eventlog/PKGBUILD b/extra/eventlog/PKGBUILD
index f32a2e4a8..c0f983253 100644
--- a/extra/eventlog/PKGBUILD
+++ b/extra/eventlog/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=eventlog
pkgver=0.2.12
pkgrel=3
pkgdesc="API to format and send structured log messages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.balabit.com/support/community/products/"
license=('BSD')
depends=('glibc')
diff --git a/extra/evilwm/PKGBUILD b/extra/evilwm/PKGBUILD
index 4cee0b427..15425740c 100644
--- a/extra/evilwm/PKGBUILD
+++ b/extra/evilwm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=evilwm
pkgver=1.1.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="A minimalist but usable window manager for the X Window System."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://evilwm.sourceforge.net"
license=('custom')
depends=('libxrandr')
diff --git a/extra/evince/PKGBUILD b/extra/evince/PKGBUILD
index 6954ffde0..0783d0d53 100644
--- a/extra/evince/PKGBUILD
+++ b/extra/evince/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.6.1
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' 'libgxps' 'libspectre' 'gsfonts' 'poppler-glib' 'djvulibre' 'gnome-icon-theme' 't1lib' 'libgnome-keyring' 'desktop-file-utils' 'dconf' 'gsettings-desktop-schemas')
makedepends=('itstool' 'nautilus' 'texlive-bin' 'intltool' 'gobject-introspection' 'docbook-xsl')
diff --git a/extra/evolution-data-server/PKGBUILD b/extra/evolution-data-server/PKGBUILD
index 118adc749..d7c535073 100644
--- a/extra/evolution-data-server/PKGBUILD
+++ b/extra/evolution-data-server/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution-data-server
pkgver=3.6.2
pkgrel=1
pkgdesc="Centralized access to appointments and contacts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gnome-online-accounts' 'nss' 'krb5' 'libgweather' 'libical' 'db' 'libgdata')
makedepends=('intltool' 'gperf' 'gobject-introspection' 'vala')
options=('!libtool')
diff --git a/extra/evolution-ews/PKGBUILD b/extra/evolution-ews/PKGBUILD
index 45fc3f945..c4b80b6c1 100644
--- a/extra/evolution-ews/PKGBUILD
+++ b/extra/evolution-ews/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=evolution-ews
pkgver=3.6.1
pkgrel=1
pkgdesc="MS Exchange integration through Exchange Web Services"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
url="http://www.gnome.org"
depends=('evolution-data-server' 'gtkhtml4' 'gnome-desktop')
diff --git a/extra/evolution-exchange/PKGBUILD b/extra/evolution-exchange/PKGBUILD
deleted file mode 100644
index 0ab8f83dc..000000000
--- a/extra/evolution-exchange/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: PKGBUILD 162101 2012-06-19 20:30:13Z heftig $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=evolution-exchange
-pkgver=3.4.3
-pkgrel=1
-pkgdesc="Ximian Connector Exchange plugin for Evolution"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.ximian.com"
-depends=('evolution-data-server' 'gtkhtml4' 'gnome-desktop')
-makedepends=('intltool' 'evolution')
-options=('!libtool' '!emptydirs')
-install=evolution-exchange.install
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('28b2b47bfdae097b13722dfd0aae6e1335de8d98bd10534a3c7675489352f7b7')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib/evolution --disable-static \
- --with-libdb=/usr --with-krb5=/usr
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-
- install -m755 -d "$pkgdir/usr/share/gconf/schemas"
- gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain evolution-exchange-3.2 "$pkgdir"/etc/gconf/schemas/*.schemas
- rm -f $pkgdir/etc/gconf/schemas/*.schemas
-}
diff --git a/extra/evolution-exchange/evolution-exchange.install b/extra/evolution-exchange/evolution-exchange.install
deleted file mode 100644
index 1179887f9..000000000
--- a/extra/evolution-exchange/evolution-exchange.install
+++ /dev/null
@@ -1,17 +0,0 @@
-pkgname=evolution-exchange
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
diff --git a/extra/evolution-groupwise/PKGBUILD b/extra/evolution-groupwise/PKGBUILD
deleted file mode 100644
index d03a37c2c..000000000
--- a/extra/evolution-groupwise/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 159019 2012-05-15 10:23:24Z heftig $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: György Balló <ballogy@freestart.hu>
-
-pkgname=evolution-groupwise
-pkgver=3.4.2
-pkgrel=1
-pkgdesc="GroupWise connector for evolution"
-arch=(i686 x86_64)
-url="http://projects.gnome.org/evolution/"
-license=(LGPL)
-depends=('evolution-data-server' 'gtkhtml4')
-makedepends=(intltool evolution)
-optdepends=('evolution: evolution plugin')
-options=(!libtool)
-source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('e26e08eb065df21118c92f29be4cfa2ce2faa52c950210e15a3efbdc9cace2aa')
-
-build() {
- cd $pkgname-$pkgver
-
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static
- make
-}
-
-package() {
- cd $pkgname-$pkgver
-
- make DESTDIR="$pkgdir" install
-}
-
diff --git a/extra/evolution/PKGBUILD b/extra/evolution/PKGBUILD
index dc885a97c..bd19a8cfe 100644
--- a/extra/evolution/PKGBUILD
+++ b/extra/evolution/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=evolution
pkgver=3.6.2
pkgrel=1
pkgdesc="Manage your email, contacts and schedule"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gnome-desktop' 'evolution-data-server' 'gtkhtml4' 'libcanberra' 'libpst' 'libytnef' 'desktop-file-utils' 'hicolor-icon-theme' 'dconf')
makedepends=('intltool' 'itstool' 'docbook-xsl' 'networkmanager')
diff --git a/extra/exempi/PKGBUILD b/extra/exempi/PKGBUILD
index d399218d4..55259adcb 100644
--- a/extra/exempi/PKGBUILD
+++ b/extra/exempi/PKGBUILD
@@ -2,9 +2,9 @@
# Contributor: André Klitzing <aklitzing@online.de>
pkgname=exempi
pkgver=2.2.0
-pkgrel=1
+pkgrel=1.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' 'expat' 'zlib')
diff --git a/extra/exiv2/PKGBUILD b/extra/exiv2/PKGBUILD
index b91c52182..7459a4245 100644
--- a/extra/exiv2/PKGBUILD
+++ b/extra/exiv2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=exiv2
pkgver=0.23
pkgrel=1
pkgdesc="Exif and Iptc metadata manipulation library and tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://exiv2.org"
license=('GPL')
depends=('gcc-libs' 'zlib' 'expat')
diff --git a/extra/exo/PKGBUILD b/extra/exo/PKGBUILD
index b1f5667b8..3d9646fda 100644
--- a/extra/exo/PKGBUILD
+++ b/extra/exo/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=exo
pkgver=0.8.0
pkgrel=1
pkgdesc="Extensions to Xfce by os-cillation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/projects/exo"
license=('GPL2' 'LGPL')
groups=('xfce4')
diff --git a/extra/expect/PKGBUILD b/extra/expect/PKGBUILD
index 140b4a43f..31c0b819a 100644
--- a/extra/expect/PKGBUILD
+++ b/extra/expect/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=expect
pkgver=5.45
-pkgrel=2
+pkgrel=2.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/faad2/PKGBUILD b/extra/faad2/PKGBUILD
index 46a388a16..b6229e958 100644
--- a/extra/faad2/PKGBUILD
+++ b/extra/faad2/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=faad2
pkgver=2.7
-pkgrel=3
+pkgrel=3.1
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 6048b3f72..90349a108 100644
--- a/extra/facile/PKGBUILD
+++ b/extra/facile/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=facile
pkgver=1.1
pkgrel=15
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 12587fced..58b4fb30e 100644
--- a/extra/fakechroot/PKGBUILD
+++ b/extra/fakechroot/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=fakechroot
pkgver=2.16
-pkgrel=1
+pkgrel=1.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/farstream/PKGBUILD b/extra/farstream/PKGBUILD
index 60c493c8f..10f56c670 100644
--- a/extra/farstream/PKGBUILD
+++ b/extra/farstream/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=farstream
pkgver=0.2.2
pkgrel=1
pkgdesc="Farstream (formerly Farsight) - Audio/Video Communications Framework"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.freedesktop.org/wiki/Software/Farstream"
license=('LGPL2.1')
depends=('gst-plugins-base-libs' 'libnice')
@@ -20,8 +20,8 @@ md5sums=('01c20c1ed014ad4e18e55f1f6caf7877')
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
- --with-package-name='Arch Linux farstream package' \
- --with-package-origin='http://archlinux.org' \
+ --with-package-name='Parabola GNU/Linux-libre farstream package' \
+ --with-package-origin='https://parabolagnulinux.org/' \
--disable-static
make
}
diff --git a/extra/fastjar/PKGBUILD b/extra/fastjar/PKGBUILD
index d34ff0a77..f2d0567b3 100644
--- a/extra/fastjar/PKGBUILD
+++ b/extra/fastjar/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=fastjar
pkgver=0.98
-pkgrel=2
+pkgrel=2.1
pkgdesc="Sun java jar compatible archiver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://savannah.nongnu.org/projects/fastjar"
license=('GPL')
depends=('zlib' 'texinfo')
diff --git a/extra/fbida/PKGBUILD b/extra/fbida/PKGBUILD
index bab0074f8..139f5e9ea 100644
--- a/extra/fbida/PKGBUILD
+++ b/extra/fbida/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=fbida
pkgver=2.08
-pkgrel=2
+pkgrel=2.1
pkgdesc="Few applications to display and elementary edit images: fbi, fbgs, ida, exiftran"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kraxel.org/blog/linux/fbida/"
license=('GPL2')
depends=('giflib' 'libtiff' 'libexif' 'lesstif' 'libpng' 'fontconfig' 'curl')
diff --git a/extra/fbset/PKGBUILD b/extra/fbset/PKGBUILD
index 89cd0b7ae..787008d0f 100644
--- a/extra/fbset/PKGBUILD
+++ b/extra/fbset/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fbset
pkgver=2.1
pkgrel=4
pkgdesc="Framebuffer setup utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://users.telenet.be/geertu/Linux/fbdev/"
license=('GPL')
depends=('glibc')
diff --git a/extra/fcgi/PKGBUILD b/extra/fcgi/PKGBUILD
index 39584d9b9..a093e0fb1 100644
--- a/extra/fcgi/PKGBUILD
+++ b/extra/fcgi/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.4.0
pkgrel=7
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
deleted file mode 100644
index c726e14b3..000000000
--- a/extra/fcitx/PKGBUILD
+++ /dev/null
@@ -1,75 +0,0 @@
-# $Id: PKGBUILD 167680 2012-10-02 22:57:36Z eric $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: csslayer <wengxt AT gmail com>
-
-pkgbase=fcitx
-pkgname=('fcitx' 'fcitx-gtk2' 'fcitx-gtk3' 'fcitx-qt')
-pkgver=4.2.6.1
-pkgrel=1
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/fcitx/"
-license=('GPL')
-makedepends=('cmake' 'intltool' 'doxygen' 'gtk2' 'gtk3' 'qt' 'icu' 'wget' \
- 'iso-codes' 'gobject-introspection' 'libxkbfile' 'enchant')
-source=(http://fcitx.googlecode.com/files/${pkgbase}-${pkgver}.tar.xz)
-sha1sums=('dc4577bb6bd6de41317f978196f377fc801cc63a')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_OPENCC=OFF \
- -DFORCE_PRESAGE=ON \
- -DENABLE_TEST=ON \
- -DENABLE_GTK3_IM_MODULE=ON \
- -DENABLE_QT_IM_MODULE=ON
- make
-}
-
-check() {
- cd "${srcdir}"/build
- make test
-}
-
-package_fcitx() {
- pkgdesc="Free Chinese Input Toy of X - Input Method Server for X window system"
- depends=('pango' 'libxinerama' 'gtk-update-icon-cache' 'shared-mime-info' \
- 'hicolor-icon-theme' 'desktop-file-utils' 'libxkbfile' \
- 'libxfixes' 'dbus-core' 'icu')
- optdepends=('enchant: for word predication support')
- install=fcitx.install
-
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-
- rm -r "${pkgdir}"/usr/lib/{gtk-2.0,gtk-3.0,qt}
-}
-
-package_fcitx-gtk2() {
- pkgdesc='GTK2 IM Module for fcitx'
- depends=('gtk2' 'fcitx')
- install=fcitx-gtk2.install
-
- cd "${srcdir}"/build/src/frontend/gtk2
- make DESTDIR="${pkgdir}" install
-}
-
-package_fcitx-gtk3() {
- pkgdesc='GTK3 IM Module for fcitx'
- depends=('gtk3' 'fcitx')
- install=fcitx-gtk3.install
-
- cd "${srcdir}"/build/src/frontend/gtk3
- make DESTDIR="${pkgdir}" install
-}
-
-package_fcitx-qt() {
- pkgdesc='QT IM Module for fcitx'
- depends=('qt' 'fcitx')
-
- cd "${srcdir}"/build/src/frontend/qt
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/fcitx/fcitx-gtk2.install b/extra/fcitx/fcitx-gtk2.install
deleted file mode 100644
index 7503c05eb..000000000
--- a/extra/fcitx/fcitx-gtk2.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- usr/bin/gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/fcitx/fcitx-gtk3.install b/extra/fcitx/fcitx-gtk3.install
deleted file mode 100644
index b44958797..000000000
--- a/extra/fcitx/fcitx-gtk3.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- usr/bin/gtk-query-immodules-3.0 --update-cache
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/fcitx/fcitx.install b/extra/fcitx/fcitx.install
deleted file mode 100644
index 7f156e002..000000000
--- a/extra/fcitx/fcitx.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
- update-desktop-database -q
- update-mime-database usr/share/mime &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/feh/PKGBUILD b/extra/feh/PKGBUILD
index 008db0424..dd8f767d4 100644
--- a/extra/feh/PKGBUILD
+++ b/extra/feh/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc='Fast and light imlib2-based image viewer'
url='http://feh.finalrewind.org/'
license=('custom:MIT')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('giblib' 'curl' 'libxinerama' 'libexif')
optdepends=('perl: feh-cam, webcam wrapper for feh'
'imagemagick: support more file formats')
diff --git a/extra/festival/PKGBUILD b/extra/festival/PKGBUILD
index 1124eb914..a05c8574a 100644
--- a/extra/festival/PKGBUILD
+++ b/extra/festival/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=festival
pkgver=2.1
_suffix=release
-pkgrel=3
+pkgrel=3.1
pkgdesc="A general multi-lingual speech synthesis system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cstr.ed.ac.uk/projects/festival/"
license=('BSD' 'GPL' 'custom')
depends=('perl')
@@ -37,7 +37,7 @@ build() {
# Build Speech Tools first
cd "$srcdir/speech_tools"
patch -Np1 -i "$srcdir/speechconfig.patch"
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST
make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}"
# Build Festival itself
@@ -47,7 +47,7 @@ build() {
# Avoid make failure on making scripts and docs
sed -i "s#examples bin doc#examples#" Makefile
- ./configure --prefix=/usr --sysconfdir=/etc
+ ./configure --prefix=/usr --sysconfdir=/etc --build=$CHOST --host=$CHOST
make OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}"
}
diff --git a/extra/fetchmail/PKGBUILD b/extra/fetchmail/PKGBUILD
index bf5cec137..401338a03 100644
--- a/extra/fetchmail/PKGBUILD
+++ b/extra/fetchmail/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=fetchmail
pkgver=6.3.22
pkgrel=1
pkgdesc="A remote-mail retrieval utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fetchmail.berlios.de/"
license=('GPL')
depends=('openssl')
diff --git a/extra/ffcall/PKGBUILD b/extra/ffcall/PKGBUILD
index 5d21a3d7b..c105e93fe 100644
--- a/extra/ffcall/PKGBUILD
+++ b/extra/ffcall/PKGBUILD
@@ -4,19 +4,27 @@
pkgname=ffcall
pkgver=1.10
-pkgrel=4
+pkgrel=4.1
pkgdesc="C library for implementing foreign function calls in embedded interpreters"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libffcall/"
license=('GPL2')
options=('!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"
+ [ "$CARCH" = "mips64el" ] && {
+ CONFIGFLAG="--with-pic"
+ patch -Np0 -i "$srcdir/mipsn32.patch"
+ }
+
./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG
+
make
}
diff --git a/extra/ffcall/mipsn32.patch b/extra/ffcall/mipsn32.patch
new file mode 100644
index 000000000..2a667c37c
--- /dev/null
+++ b/extra/ffcall/mipsn32.patch
@@ -0,0 +1,11 @@
+--- autoconf/config.guess.orig 2011-05-08 14:09:55.621461438 -0300
++++ autoconf/config.guess 2011-05-08 14:10:12.225759443 -0300
+@@ -882,7 +882,7 @@
+ #undef mips64
+ #undef mips64el
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+- CPU=mips64el
++ CPU=mipsn32
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=mips64
diff --git a/extra/ffmpeg/PKGBUILD b/extra/ffmpeg/PKGBUILD
index bf0eb9c94..fe9445869 100644
--- a/extra/ffmpeg/PKGBUILD
+++ b/extra/ffmpeg/PKGBUILD
@@ -8,17 +8,30 @@ pkgver=1.0
pkgrel=2
epoch=1
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ffmpeg.org/"
license=('GPL')
-depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex v4l-utils x264 xvidcore zlib)
-makedepends=('yasm' 'git' 'libvdpau')
+depends=(alsa-lib bzip2 gsm lame libpulse libtheora libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex v4l-utils x264 xvidcore zlib libxfixes)
+makedepends=('git')
+if [ "${CARCH}" != "mips64el" ]; then
+ depends+=('libva')
+ makedepends+=('yasm' 'libvdpau')
+fi
source=(http://ffmpeg.org/releases/$pkgname-$pkgver.tar.bz2)
md5sums=('3ed526cea20c1bffb5a37f7730f710bd')
build() {
cd $pkgname-$pkgver
+ if [ "$CARCH" = "mips64el" ] ; then
+# Make video decoding faster and turn all pixels green.
+# patch -Np1 -i $srcdir/ffmpeg-loongson.patch
+ # Disable runtime CPU detection, video acceleration APIs our hardware doesn't support and ISAs our CPUs don't support.
+ extraconf="--disable-runtime-cpudetect --disable-vdpau --disable-vaapi --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2"
+ else
+ extraconf=""
+ fi
+
./configure \
--prefix=/usr \
--enable-libmp3lame \
@@ -42,8 +55,9 @@ build() {
--enable-gpl \
--enable-version3 \
--enable-runtime-cpudetect \
+ --disable-static \
--disable-debug \
- --disable-static
+ $extraconf
make
make tools/qt-faststart
diff --git a/extra/ffmpeg/ffmpeg-loongson.patch b/extra/ffmpeg/ffmpeg-loongson.patch
new file mode 100644
index 000000000..d576812da
--- /dev/null
+++ b/extra/ffmpeg/ffmpeg-loongson.patch
@@ -0,0 +1,1767 @@
+diff -Nru ffmpeg.orig/configure ffmpeg/configure
+--- ffmpeg.orig/configure 2011-12-09 21:40:32.268783206 +0100
++++ ffmpeg/configure 2011-12-09 21:40:50.408820175 +0100
+@@ -249,6 +249,7 @@
+ --disable-armvfp disable ARM VFP optimizations
+ --disable-iwmmxt disable iwmmxt optimizations
+ --disable-mmi disable MMI optimizations
++ --disable-loongson2mmi disable LOONGSON2 Multi-Media Instructions usage"
+ --disable-neon disable neon optimizations
+ --disable-vis disable VIS optimizations
+ --disable-yasm disable use of yasm assembler
+@@ -1110,6 +1111,7 @@
+ avx
+ iwmmxt
+ mmi
++ loongson2mmi
+ mmx
+ mmx2
+ neon
+@@ -3367,6 +3369,7 @@
+ fi
+ if enabled mips; then
+ echo "MMI enabled ${mmi-no}"
++ echo "LOONGSON2MMI enabled ${loongson2mmi-no}"
+ fi
+ if enabled ppc; then
+ echo "AltiVec enabled ${altivec-no}"
+diff -Nru ffmpeg.orig/libavcodec/avcodec.h ffmpeg/libavcodec/avcodec.h
+--- ffmpeg.orig/libavcodec/avcodec.h 2011-12-09 21:40:31.980782616 +0100
++++ ffmpeg/libavcodec/avcodec.h 2011-12-09 21:40:50.504820368 +0100
+@@ -1824,6 +1824,8 @@
+ #define FF_IDCT_SIMPLENEON 22
+ #define FF_IDCT_SIMPLEALPHA 23
+ #define FF_IDCT_BINK 24
++#define FF_IDCT_LIBMPEG2LOONGSON2 25
++#define FF_IDCT_XVIDLOONGSON2 26
+
+ /**
+ * slice count
+diff -Nru ffmpeg.orig/libavcodec/dsputil.c ffmpeg/libavcodec/dsputil.c
+--- ffmpeg.orig/libavcodec/dsputil.c 2011-12-09 21:40:31.912782478 +0100
++++ ffmpeg/libavcodec/dsputil.c 2011-12-09 21:40:50.568820499 +0100
+@@ -3193,6 +3193,7 @@
+ if (HAVE_MMI) dsputil_init_mmi (c, avctx);
+ if (ARCH_SH4) dsputil_init_sh4 (c, avctx);
+ if (ARCH_BFIN) dsputil_init_bfin (c, avctx);
++ if (HAVE_LOONGSON2MMI) dsputil_init_loongson2(c, avctx);
+
+ for(i=0; i<64; i++){
+ if(!c->put_2tap_qpel_pixels_tab[0][i])
+diff -Nru ffmpeg.orig/libavcodec/dsputil.h ffmpeg/libavcodec/dsputil.h
+--- ffmpeg.orig/libavcodec/dsputil.h 2011-12-09 21:40:31.720782087 +0100
++++ ffmpeg/libavcodec/dsputil.h 2011-12-09 21:40:50.628820621 +0100
+@@ -650,6 +650,7 @@
+ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx);
+ void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx);
+ void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx);
++void dsputil_init_loongson2(DSPContext* c, AVCodecContext *avctx);
+
+ void ff_dsputil_init_dwt(DSPContext *c);
+ void ff_intrax8dsp_init(DSPContext* c, AVCodecContext *avctx);
+diff -Nru ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.c ffmpeg/libavcodec/loongson2/dsputil_loongson2.c
+--- ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/dsputil_loongson2.c 2011-12-09 21:40:50.668820701 +0100
+@@ -0,0 +1,221 @@
++/*
++ * Copyright(C) 2006-2010 comcat <jiankemeng@gmail.com>
++ *
++ * Optimized for Loongson2 CPUs by comcat <jiankemeng@gmail.com>
++ *
++ */
++
++#include "dsputil_loongson2.h"
++#include "../simple_idct.h"
++#include "../mpegvideo.h"
++
++//extern void ff_idct_xvid_loongson2(short *block);
++
++extern void ff_loongson2_idct(DCTELEM *block);
++extern void ff_idct_xvid_loongson2(short *block);
++
++static void add_pixels_clamped_loongson2(const DCTELEM *block, uint8_t *restrict pixels, int line_size)
++{
++ const DCTELEM *p;
++ uint8_t *pix;
++ int i,j;
++ p = block;
++ pix = pixels;
++ i = 4;
++ j = line_size << 1;
++ __asm __volatile("xor $f14, $f14, $f14\n\t");
++ do {
++ __asm __volatile(
++// ".set mips3 \n\t"
++ "ldc1 $f0, 0(%2) \n\t"
++ "ldc1 $f2, 8(%2) \n\t"
++ "ldc1 $f4, 16(%2) \n\t"
++ "ldc1 $f6, 24(%2) \n\t"
++ "ldc1 $f8, %0 \n\t"
++ "ldc1 $f12, %1 \n\t"
++ "mov.d $f10, $f8 \n\t"
++
++ "punpcklbh $f8, $f8, $f14 \n\t"
++ "punpckhbh $f10, $f10, $f14\n\t"
++
++ "paddsh $f0, $f0, $f8 \n\t"
++ "paddsh $f2, $f2, $f10 \n\t"
++
++ "mov.d $f10, $f12 \n\t"
++
++ "punpcklbh $f12, $f12, $f14\n\t"
++ "punpckhbh $f10, $f10, $f14\n\t"
++
++ "paddsh $f4, $f4, $f12 \n\t"
++ "paddsh $f6, $f6, $f10 \n\t"
++
++ "packushb $f0, $f0, $f2 \n\t"
++ "packushb $f4, $f4, $f6 \n\t"
++
++ "sdc1 $f0, %0 \n\t"
++ "sdc1 $f4, %1 \n\t"
++// ".set mips2 \n\t"
++ :"+m"(*pix), "+m"(*(pix+line_size))
++ :"r"(p)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$f12","$f14","memory");
++ pix += j;
++ p += 16;
++ } while (--i);
++
++}
++
++static void put_pixels_clamped_loongson2(const DCTELEM *block, uint8_t *restrict pixels, int line_size)
++{
++ const DCTELEM *p;
++ uint8_t *pix;
++ int tmp = line_size * 3;
++ p = block;
++ pix = pixels;
++ __asm __volatile
++ (
++// ".set mips3 \n\t"
++ //"dadd $12, $0, $0\n\t"
++ //"dadd $13, $0, $0\n\t"
++ //"dadd $14, $0, $0\n\t"
++
++ "ldc1 $f0, 0(%3)\n\t"
++ "ldc1 $f2, 8(%3)\n\t"
++ "ldc1 $f4, 16(%3)\n\t"
++ "ldc1 $f6, 24(%3)\n\t"
++ "ldc1 $f8, 32(%3)\n\t"
++ "ldc1 $f10, 40(%3)\n\t"
++ "ldc1 $f16, 48(%3)\n\t"
++ "ldc1 $f18, 56(%3)\n\t"
++
++ "packushb $f0, $f0, $f2\n\t"
++ "packushb $f4, $f4, $f6\n\t"
++ "packushb $f8, $f8, $f10\n\t"
++ "packushb $f16, $f16, $f18\n\t"
++
++ "add $12, %0, %1\n\t"
++ "add $13, $12, %1\n\t"
++ "add $14, %0, %2\n\t"
++
++ "sdc1 $f0, 0(%0)\n\t"
++ "sdc1 $f4, 0($12)\n\t"
++ "sdc1 $f8, 0($13)\n\t"
++ "sdc1 $f16, 0($14)\n\t"
++// ".set mips2\n\t"
++ :
++ :"r" (pix), "r" (line_size), "r" (tmp), "r"(p)
++ :"$12","$13","$14","$f0","$f2","$f4","$f6","$f8","$f10","$16","$18"
++ );
++
++ pix += line_size*4;
++ p += 32;
++
++ __asm __volatile
++ (
++// ".set mips3 \n\t"
++
++ "dadd $12, $0, $0\n\t"
++ "dadd $13, $0, $0\n\t"
++ "dadd $14, $0, $0\n\t"
++ "lw $12, %3\n\t"
++
++ "ldc1 $f0, 0($12)\n\t"
++ "ldc1 $f2, 8($12)\n\t"
++ "ldc1 $f4, 16($12)\n\t"
++ "ldc1 $f6, 24($12)\n\t"
++ "ldc1 $f8, 32($12)\n\t"
++ "ldc1 $f10, 40($12)\n\t"
++ "ldc1 $f16, 48($12)\n\t"
++ "ldc1 $f18, 56($12)\n\t"
++
++ "packushb $f0, $f0, $f2\n\t"
++ "packushb $f4, $f4, $f6\n\t"
++ "packushb $f8, $f8, $f10\n\t"
++ "packushb $f16, $f16, $f18\n\t"
++
++ "add $12, %1, %0\n\t"
++ "add $13, $12, %1\n\t"
++ "add $15, %2, %0\n\t"
++
++ "sdc1 $f0, 0(%0)\n\t"
++ "sdc1 $f4, 0($12)\n\t"
++
++ "sdc1 $f8, 0($13)\n\t"
++ "sdc1 $f16, 0($15)\n\t"
++// ".set mips2\n\t"
++ :
++ :"r" (pix), "r" (line_size), "r" (tmp), "m"(p)
++ :"$12","$13","$15","$f0","$f2","$f4","$f6","$f8","$f10","$16","$18","memory"
++ );
++
++}
++
++/*
++void put_signed_pixels_clamped_loongson2(const DCTELEM *block, uint8_t *pixels, int line_size)
++{
++
++}
++
++
++void ff_loongson2_idct_put(uint8_t *dest, int line_size, DCTELEM *block)
++{
++ ff_loongson2_idct(block);
++ put_pixels_clamped_loongson2(block, dest, line_size);
++}
++
++void ff_loongson2_idct_add(uint8_t *dest, int line_size, DCTELEM *block)
++{
++ ff_loongson2_idct(block);
++ add_pixels_clamped_loongson2(block, dest, line_size);
++}*/
++
++static void ff_idct_xvid_loongson2_put(uint8_t *dest, int line_size, DCTELEM *block)
++{
++ ff_idct_xvid_loongson2(block);
++ put_pixels_clamped_loongson2(block, dest, line_size);
++}
++
++static void ff_idct_xvid_loongson2_add(uint8_t *dest, int line_size, DCTELEM *block)
++{
++ ff_idct_xvid_loongson2(block);
++ add_pixels_clamped_loongson2(block, dest, line_size);
++}
++
++void dsputil_init_loongson2(DSPContext *c, AVCodecContext *avctx)
++{
++
++ const int idct_algo = avctx->idct_algo;
++
++/*
++#ifdef CONFIG_ENCODERS
++ const int dct_algo = avctx->dct_algo;
++ if(dct_algo == FF_DCT_AUTO || dct_algo == FF_DCT_LOONGSON2)
++ c->fdct = ff_fdct_loongson2;
++#endif
++*/
++
++#if 0
++ if(avctx->lowres==0)
++ {
++ if(idct_algo == FF_IDCT_LIBMPEG2LOONGSON2)
++ {
++ c->idct_add = ff_loongson2_idct_add;
++ c->idct_put = ff_loongson2_idct_put;
++ c->idct = ff_loongson2_idct;
++ }
++ else if(idct_algo == FF_IDCT_XVIDLOONGSON2)
++ {
++#endif
++ c->idct_add = ff_idct_xvid_loongson2_add;
++ c->idct_put = ff_idct_xvid_loongson2_put;
++ c->idct = ff_idct_xvid_loongson2;
++ //}
++ //}
++
++ c->put_pixels_clamped = put_pixels_clamped_loongson2;
++ c->add_pixels_clamped = add_pixels_clamped_loongson2;
++
++#ifdef CONFIG_ENCODERS
++ dsputil_init_pix_loongson2(c, avctx);
++#endif
++
++}
+diff -Nru ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.d ffmpeg/libavcodec/loongson2/dsputil_loongson2.d
+--- ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.d 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/dsputil_loongson2.d 2011-12-09 21:40:50.680820726 +0100
+@@ -0,0 +1,18 @@
++libavcodec/loongson2/dsputil_loongson2.o: \
++ libavcodec/loongson2/dsputil_loongson2.c \
++ libavcodec/loongson2/dsputil_loongson2.h libavcodec/dsputil.h \
++ libavutil/intreadwrite.h config.h libavutil/bswap.h \
++ libavutil/attributes.h libavutil/common.h libavutil/intmath.h \
++ libavutil/mem.h libavutil/internal.h libavutil/timer.h libavutil/libm.h \
++ libavutil/mips/intreadwrite.h libavcodec/avcodec.h libavutil/avutil.h \
++ libavutil/error.h libavutil/avutil.h libavutil/mathematics.h \
++ libavutil/rational.h libavutil/intfloat_readwrite.h libavutil/log.h \
++ libavutil/pixfmt.h libavutil/avconfig.h \
++ libavcodec/loongson2/../simple_idct.h libavcodec/loongson2/../dsputil.h \
++ libavcodec/loongson2/../mpegvideo.h libavcodec/loongson2/../get_bits.h \
++ libavutil/bswap.h libavutil/common.h libavutil/log.h \
++ libavcodec/loongson2/../mathops.h libavcodec/loongson2/../mips/mathops.h \
++ libavcodec/loongson2/../put_bits.h libavcodec/loongson2/../ratecontrol.h \
++ libavcodec/loongson2/../eval.h libavcodec/loongson2/../parser.h \
++ libavcodec/loongson2/../avcodec.h libavcodec/loongson2/../mpeg12data.h \
++ libavutil/rational.h libavcodec/loongson2/../rl.h
+diff -Nru ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.h ffmpeg/libavcodec/loongson2/dsputil_loongson2.h
+--- ffmpeg.orig/libavcodec/loongson2/dsputil_loongson2.h 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/dsputil_loongson2.h 2011-12-09 21:40:50.692820753 +0100
+@@ -0,0 +1,3 @@
++#include "libavcodec/dsputil.h"
++
++void dsputil_init_pix_loongson2(DSPContext* c, AVCodecContext *avctx);
+diff -Nru ffmpeg.orig/libavcodec/loongson2/idct_loongson2.c ffmpeg/libavcodec/loongson2/idct_loongson2.c
+--- ffmpeg.orig/libavcodec/loongson2/idct_loongson2.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/idct_loongson2.c 2011-12-09 21:40:50.744820857 +0100
+@@ -0,0 +1,336 @@
++/*
++ * Copyright (C) 2000-2003 Michel Lespinasse <walken@zoy.org>
++ * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca>
++ *
++ * Copyright (c) 2007-2010 comcat <jiankemeng@gmail.com>.
++ *
++ * Optimized for Loongson2 CPUs by comcat <jiankemeng@gmail.com>
++ *
++ * Based on i386
++ */
++
++#include "libavutil/common.h"
++#include "dsputil_loongson2.h"
++
++
++#define ATTR_ALIGN(align) __attribute__ ((__aligned__ (align)))
++
++
++#define ROW_SHIFT 11
++#define COL_SHIFT 6
++
++#define round(bias) ((int)(((bias)+0.5) * (1<<ROW_SHIFT)))
++#define rounder(bias) {round (bias), round (bias)}
++
++
++
++#define loongson2_table(c1,c2,c3,c4,c5,c6,c7) { c4,c2,-c4,-c2, \
++ c4,c6,c4,c6, \
++ c1,c3,-c1,-c5,\
++ c5,c7,c3,-c7, \
++ c4,-c6,c4,-c6, \
++ -c4,c2,c4,-c2, \
++ c5,-c1,c3,-c1, \
++ c7,c3,c7,-c5 }
++
++
++static inline void loongson2_row_head(int16_t * const row, const int offset,
++ const int16_t * const table)
++{
++ __asm__ volatile(
++// ".set\tmips3\n"
++ ".set noreorder\n"
++ "ldc1 $f6,%0\n"
++ "ldc1 $f14,%1\n"
++ "ldc1 $f2,%2\n"
++ "ldc1 $f8,%3\n"
++ "dli $12,%4\n"
++ "dmtc1 $12,$f16\n"
++ "mov.d $f4,$f6\n"
++ "mov.d $f10,$f14\n"
++ "pmaddhw $f2,$f2,$f4\n"
++ "pshufh $f6,$f6,$f16\n"
++ ".set reorder\n"
++// ".set\tmips0\n"
++ :
++ :"m"(*(row+offset)),"m"(*(row+offset+4)),"m"(*table),"m"(*(table+4)),"i"(0x4e)
++ :"$f2","$f4","$f6","$f8","$f10","$f14","$f16","$12"
++ );
++}
++
++
++static inline void loongson2_row(const int16_t * const table,
++ const int32_t * const rounder)
++{
++ __asm__ volatile (
++// ".set\tmips3\n"
++ ".set\tnoreorder\n"
++ "ldc1 $f0,%0\n"
++ "pmaddhw $f8,$f8,$f6\n"
++ "ldc1 $f16,%1\n"
++ "dli $13,%8\n"
++ "ldc1 $f20,%2\n"
++ "pmaddhw $f0,$f0,$f14\n"
++ "ldc1 $f22,%3\n"
++ "pmaddhw $f4,$f4,$f16\n"
++ "paddw $f2,$f2,$f22\n"
++ "ldc1 $f22,%4\n"
++ "dmtc1 $13,$f16\n"
++ "paddw $f2,$f2,$f8\n"
++ "pmaddhw $f14,$f14,$f22\n"
++ "mov.d $f8,$f2\n"
++ "pshufh $f10,$f10,$f16\n"
++ "ldc1 $f22,%3\n"
++ "pmaddhw $f20,$f20,$f10\n"
++ "ldc1 $f16,%5\n"
++ "paddw $f4,$f4,$f22\n"
++ "paddw $f0,$f0,$f20\n"
++ "dli $12,%6\n"
++ "pmaddhw $f6,$f6,$f16\n"
++ "psubw $f2,$f2,$f0\n"
++ "ldc1 $f16,%7\n"
++ "paddw $f0,$f0,$f8\n"
++ "paddw $f4,$f4,$f6\n"
++ "pmaddhw $f10,$f10,$f16\n"
++ "mov.d $f8,$f4\n"
++ "dmtc1 $12,$f16\n"
++ "paddw $f14,$f14,$f10\n"
++ "psraw $f2,$f2,$f16\n"
++ "psraw $f0,$f0,$f16\n"
++ "paddw $f4,$f4,$f14\n"
++ "psubw $f8,$f8,$f14\n"
++ ".set\treorder\n"
++// ".set\tmips0\n"
++ :
++ :"m"(*(table+8)),"m"(*(table+16)),"m"(*(table+12)),"m"(*rounder),"m"(*(table+24)),"m"(*(table+20)),"i"(ROW_SHIFT),"m"(*(table+16)),"i"(0x4e)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$f14","$f16","$f20","$f22","$12","$13","memory"
++ );
++}
++
++static inline void loongson2_row_tail(int16_t * const row, const int store)
++{
++ __asm__ volatile (
++// ".set\tmips3\n"
++ ".set\tnoreorder\n"
++ "dli $12,%2\n"
++ "dmtc1 $12,$f16\n"
++ "psraw $f4,$f4,$f16\n"
++ "psraw $f8,$f8,$f16\n"
++ "packsswh $f0,$f0,$f4\n"
++ "packsswh $f8,$f8,$f2\n"
++ "sdc1 $f0,%0\n"
++ "dli $13,%3\n"
++ "dmtc1 $13,$f22\n"
++ "pshufh $f8,$f8,$f22\n"
++ "sdc1 $f8,%1\n"
++ ".set\treorder\n"
++// ".set\tmips0\n"
++ :"=m"(*(row+store)),"=m"(*(row+store+4))
++ :"i"(ROW_SHIFT),"i"(0xb1)
++ :"$f0","$f2","$f4","$f6","$f8","$f16","$f22","$12","$13","memory"
++ );
++}
++
++static inline void loongson2_row_mid(int16_t * const row, const int store,
++ const int offset,
++ const int16_t * const table)
++{
++ __asm__ volatile (
++// ".set\tmips3\n"
++ ".set\tnoreorder\n"
++ "ldc1 $f6,%2\n"
++ "dli $12,%3\n"
++ "dmtc1 $12,$f16\n"
++ "psraw $f4,$f4,$f16\n"
++ "ldc1 $f14,%4\n"
++ "psraw $f8,$f8,$f16\n"
++ "packsswh $f0,$f0,$f4\n"
++ "mov.d $f10,$f14\n"
++ "packsswh $f8,$f8,$f2\n"
++ "mov.d $f4,$f6\n"
++ "sdc1 $f0,%0\n"
++ "dli $13,%5\n"
++ "dmtc1 $13,$f22\n"
++ "pshufh $f8,$f8,$f22\n"
++ "ldc1 $f2,%6\n"
++ "sdc1 $f8,%1\n"
++ "pmaddhw $f2,$f2,$f4\n"
++ "ldc1 $f8,%7\n"
++ "dli $12,%8\n"
++ "dmtc1 $12,$f16\n"
++ "pshufh $f6,$f6,$f16\n"
++ ".set\treorder\n"
++// ".set\tmips0\n"
++ :"=m"(*(row+store)),"=m"(*(row+store+4))
++ : "m"(*(row+offset)),"i"(ROW_SHIFT),"m"(*(row+offset+4)),"i"(0xb1),"m"(*table),"m"(*(table+4)),"i"(0x4e)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$14","$f16","$f22","$12","$13","memory"
++ );
++}
++
++static inline void idct_col(int16_t * const col, const int offset)
++{
++#define T1 13036
++#define T2 27146
++#define T3 43790
++#define C4 23170
++ static const short _T1[] ATTR_ALIGN(8) = {T1,T1,T1,T1};
++ static const short _T2[] ATTR_ALIGN(8) = {T2,T2,T2,T2};
++ static const short _T3[] ATTR_ALIGN(8) = {T3,T3,T3,T3};
++ static const short _C4[] ATTR_ALIGN(8) = {C4,C4,C4,C4};
++
++ __asm__ volatile (
++// ".set\tmips3\n"
++ ".set\tnoreorder\n"
++ "ldc1 $f4,%8\n"
++ "ldc1 $f0,%9\n"
++ "mov.d $f6,$f4\n"
++ "ldc1 $f8,%10\n"
++ "pmulhh $f4,$f4,$f0\n"
++ "ldc1 $f14,%11\n"
++ "pmulhh $f6,$f6,$f8\n"
++ "ldc1 $f10,%12\n"
++ "mov.d $f20,$f14\n"
++ "ldc1 $f2,%13\n"
++ "psubsh $f4,$f4,$f8\n"
++ "ldc1 $f8,%14\n"
++ "pmulhh $f14,$f14,$f2\n"
++ "paddsh $f0,$f0,$f6\n"
++ "pmulhh $f20,$f20,$f10\n"
++ "mov.d $f6,$f8\n"
++ "paddsh $f14,$f14,$f2\n"
++ "ldc1 $f16,%15\n"
++ "pmulhh $f8,$f8,$f16\n"
++ "paddsh $f20,$f20,$f10\n"
++ "psubsh $f14,$f14,$f10\n"
++ "paddsh $f20,$f20,$f2\n"
++ "ldc1 $f2,%16\n"
++ "mov.d $f10,$f4\n"
++ "pmulhh $f6,$f6,$f2\n"
++ "psubsh $f4,$f4,$f14\n"
++ "psubsh $f8,$f8,$f2\n"
++ "paddsh $f14,$f14,$f10\n"
++ "sdc1 $f4,%0\n"
++ "mov.d $f10,$f0\n"
++ "ldc1 $f22,%15\n"
++ "paddsh $f6,$f6,$f22\n"
++ "paddsh $f10,$f10,$f20\n"
++ "psubsh $f0,$f0,$f20\n"
++ "mov.d $f20,$f0\n"
++ "ldc1 $f2,%17\n"
++ "paddsh $f0,$f0,$f14\n"
++ "ldc1 $f4,%18\n"
++ "psubsh $f20,$f20,$f14\n"
++ "sdc1 $f10,%1\n"
++ "pmulhh $f0,$f0,$f4\n"
++ "mov.d $f10,$f8\n"
++ "pmulhh $f20,$f20,$f4\n"
++ "ldc1 $f14,%19\n"
++ "mov.d $f4,$f2\n"
++ "psubsh $f2,$f2,$f14\n"
++ "paddsh $f4,$f4,$f14\n"
++ "paddsh $f8,$f8,$f2\n"
++ "mov.d $f14,$f4\n"
++ "psubsh $f2,$f2,$f10\n"
++ "paddsh $f14,$f14,$f6\n"
++ "paddsh $f0,$f0,$f0\n"
++ "psubsh $f4,$f4,$f6\n"
++ "paddsh $f20,$f20,$f20\n"
++ "mov.d $f6,$f2\n"
++ "mov.d $f10,$f8\n"
++ "paddsh $f2,$f2,$f20\n"
++ "dli $12,%20\n"
++ "dmtc1 $12,$f16\n"
++ "psrah $f2,$f2,$f16\n"
++ "paddsh $f8,$f8,$f0\n"
++ "psrah $f8,$f8,$f16\n"
++ "psubsh $f10,$f10,$f0\n"
++ "ldc1 $f0,%12\n"
++ "psubsh $f6,$f6,$f20\n"
++ "psrah $f10,$f10,$f16\n"
++ "mov.d $f20,$f14\n"
++ "sdc1 $f8,%2\n"
++ "psrah $f6,$f6,$f16\n"
++ "sdc1 $f2,%3\n"
++ "paddsh $f14,$f14,$f0\n"
++ "ldc1 $f8,%13\n"
++ "psubsh $f20,$f20,$f0\n"
++ "psrah $f14,$f14,$f16\n"
++ "mov.d $f2,$f4\n"
++ "sdc1 $f6,%1\n"
++ "psubsh $f2,$f2,$f8\n"
++ "psrah $f20,$f20,$f16\n"
++ "paddsh $f8,$f8,$f4\n"
++ "sdc1 $f14,%4\n"
++ "psrah $f2,$f2,$f16\n"
++ "sdc1 $f10,%5\n"
++ "psrah $f8,$f8,$f16\n"
++ "sdc1 $f20,%6\n"
++ "sdc1 $f2,%7\n"
++ "sdc1 $f8,%0\n"
++ ".set\treorder\n"
++// ".set\tmips0\n"
++ :"=m"(*(col+offset+3*8)),"=m"(*(col+offset+5*8)),"=m"(*(col+offset+1*8)),"=m"(*(col+offset+2*8)),"=m"(*(col+offset+0*8)),"=m"(*(col+offset+6*8)),"=m"(*(col+offset+7*8)),"=m"(*(col+offset+4*8))
++ :"m"(*_T1),"m"(*(col+offset+1*8)),"m"(*(col+offset+7*8)),"m"(*_T3),"m"(*(col+offset+5*8)),"m"(*(col+offset+3*8)),"m"(*_T2),"m"(*(col+offset+2*8)),"m"(*(col+offset+6*8)),"m"(*(col+offset+0*8)),"m"(*_C4),"m"(*(col+offset+4*8)),"i"(COL_SHIFT)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$14","$f16","$20","$f22","$12","memory"
++ );
++}
++
++static const int32_t rounder0[] ATTR_ALIGN(8) =
++ rounder ((1 << (COL_SHIFT - 1)) - 0.5);
++static const int32_t rounder4[] ATTR_ALIGN(8) = rounder (0);
++static const int32_t rounder1[] ATTR_ALIGN(8) =
++ rounder (1.25683487303); /* C1*(C1/C4+C1+C7)/2 */
++static const int32_t rounder7[] ATTR_ALIGN(8) =
++ rounder (-0.25); /* C1*(C7/C4+C7-C1)/2 */
++static const int32_t rounder2[] ATTR_ALIGN(8) =
++ rounder (0.60355339059); /* C2 * (C6+C2)/2 */
++static const int32_t rounder6[] ATTR_ALIGN(8) =
++ rounder (-0.25); /* C2 * (C6-C2)/2 */
++static const int32_t rounder3[] ATTR_ALIGN(8) =
++ rounder (0.087788325588); /* C3*(-C3/C4+C3+C5)/2 */
++static const int32_t rounder5[] ATTR_ALIGN(8) =
++ rounder (-0.441341716183); /* C3*(-C5/C4+C5-C3)/2 */
++
++
++#undef COL_SHIFT
++#undef ROW_SHIFT
++
++
++#define declare_idct(idct,table,idct_row_head,idct_row,idct_row_tail,idct_row_mid) \
++inline void idct (int16_t * const block) \
++{ \
++ static const int16_t table04[] ATTR_ALIGN(16) = \
++ table (22725, 21407, 19266, 16384, 12873, 8867, 4520); \
++ static const int16_t table17[] ATTR_ALIGN(16) = \
++ table (31521, 29692, 26722, 22725, 17855, 12299, 6270); \
++ static const int16_t table26[] ATTR_ALIGN(16) = \
++ table (29692, 27969, 25172, 21407, 16819, 11585, 5906); \
++ static const int16_t table35[] ATTR_ALIGN(16) = \
++ table (26722, 25172, 22654, 19266, 15137, 10426, 5315); \
++ \
++ idct_row_head (block, 0*8, table04); \
++ idct_row (table04, rounder0); \
++ idct_row_mid (block, 0*8, 4*8, table04); \
++ idct_row (table04, rounder4); \
++ idct_row_mid (block, 4*8, 1*8, table17); \
++ idct_row (table17, rounder1); \
++ idct_row_mid (block, 1*8, 7*8, table17); \
++ idct_row (table17, rounder7); \
++ idct_row_mid (block, 7*8, 2*8, table26); \
++ idct_row (table26, rounder2); \
++ idct_row_mid (block, 2*8, 6*8, table26); \
++ idct_row (table26, rounder6); \
++ idct_row_mid (block, 6*8, 3*8, table35); \
++ idct_row (table35, rounder3); \
++ idct_row_mid (block, 3*8, 5*8, table35); \
++ idct_row (table35, rounder5); \
++ idct_row_tail (block, 5*8); \
++ \
++ idct_col (block, 0); \
++ idct_col (block, 4); \
++}
++
++void ff_loongson2_idct(DCTELEM *block);
++
++declare_idct (ff_loongson2_idct, loongson2_table,
++ loongson2_row_head, loongson2_row, loongson2_row_tail, loongson2_row_mid)
+diff -Nru ffmpeg.orig/libavcodec/loongson2/idct_loongson2_xvid.c ffmpeg/libavcodec/loongson2/idct_loongson2_xvid.c
+--- ffmpeg.orig/libavcodec/loongson2/idct_loongson2_xvid.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/idct_loongson2_xvid.c 2011-12-09 22:38:11.227175456 +0100
+@@ -0,0 +1,301 @@
++/*
++ * XVID MPEG-4 VIDEO CODEC
++ *
++ * Copyright(C) 2006-2010 comcat <jiankemeng@gmail.com>
++ *
++ * Optimized for Loongson2 CPUs by comcat <jiankemeng@gmail.com>
++ *
++ * Based on i386
++ *
++ */
++
++
++#include <inttypes.h>
++#include "../avcodec.h"
++
++void ff_idct_xvid_loongson2(short *block);
++
++//=============================================================================
++// Macros and other preprocessor constants
++//=============================================================================
++
++#define BITS_INV_ACC 5 // 4 or 5 for IEEE
++#define SHIFT_INV_ROW (16 - BITS_INV_ACC) //11
++#define SHIFT_INV_COL (1 + BITS_INV_ACC) //6
++#define RND_INV_ROW (1024 * (6 - BITS_INV_ACC))
++#define RND_INV_COL (16 * (BITS_INV_ACC - 3))
++#define RND_INV_CORR (RND_INV_COL - 1)
++
++#define BITS_FRW_ACC 3 // 2 or 3 for accuracy
++#define SHIFT_FRW_COL BITS_FRW_ACC
++#define SHIFT_FRW_ROW (BITS_FRW_ACC + 17)
++#define RND_FRW_ROW (262144*(BITS_FRW_ACC - 1))
++
++
++//-----------------------------------------------------------------------------
++// Various memory constants (trigonometric values or rounding values)
++//-----------------------------------------------------------------------------
++
++DECLARE_ALIGNED(8, static const int16_t, tg_1_16)[4*4] = {
++ 13036,13036,13036,13036, // tg * (2<<16) + 0.5
++ 27146,27146,27146,27146, // tg * (2<<16) + 0.5
++ -21746,-21746,-21746,-21746, // tg * (2<<16) + 0.5
++ 23170,23170,23170,23170}; // cos * (2<<15) + 0.5
++
++DECLARE_ALIGNED(8, static const int32_t, rounder_0)[2*8] = {
++ 65536,65536,
++ 3597,3597,
++ 2260,2260,
++ 1203,1203,
++ 0,0,
++ 120,120,
++ 512,512,
++ 512,512};
++
++
++// Table for rows 0,4 - constants are multiplied by cos_4_16
++DECLARE_ALIGNED(8, static const int16_t, tab_i_04_mmx)[32*4] = {
++ 16384,16384,16384,-16384, // movq-> w06 w04 w02 w00
++ 21407,8867,8867,-21407, // w07 w05 w03 w01
++ 16384,-16384,16384,16384, // w14 w12 w10 w08
++ -8867,21407,-21407,-8867, // w15 w13 w11 w09
++ 22725,12873,19266,-22725, // w22 w20 w18 w16
++ 19266,4520,-4520,-12873, // w23 w21 w19 w17
++ 12873,4520,4520,19266, // w30 w28 w26 w24
++ -22725,19266,-12873,-22725, // w31 w29 w27 w25
++// Table for rows 1,7 - constants are multiplied by cos_1_16
++ 22725,22725,22725,-22725, // movq-> w06 w04 w02 w00
++ 29692,12299,12299,-29692, // w07 w05 w03 w01
++ 22725,-22725,22725,22725, // w14 w12 w10 w08
++ -12299,29692,-29692,-12299, // w15 w13 w11 w09
++ 31521,17855,26722,-31521, // w22 w20 w18 w16
++ 26722,6270,-6270,-17855, // w23 w21 w19 w17
++ 17855,6270,6270,26722, // w30 w28 w26 w24
++ -31521,26722,-17855,-31521, // w31 w29 w27 w25
++// Table for rows 2,6 - constants are multiplied by cos_2_16
++ 21407,21407,21407,-21407, // movq-> w06 w04 w02 w00
++ 27969,11585,11585,-27969, // w07 w05 w03 w01
++ 21407,-21407,21407,21407, // w14 w12 w10 w08
++ -11585,27969,-27969,-11585, // w15 w13 w11 w09
++ 29692,16819,25172,-29692, // w22 w20 w18 w16
++ 25172,5906,-5906,-16819, // w23 w21 w19 w17
++ 16819,5906,5906,25172, // w30 w28 w26 w24
++ -29692,25172,-16819,-29692, // w31 w29 w27 w25
++// Table for rows 3,5 - constants are multiplied by cos_3_16
++ 19266,19266,19266,-19266, // movq-> w06 w04 w02 w00
++ 25172,10426,10426,-25172, // w07 w05 w03 w01
++ 19266,-19266,19266,19266, // w14 w12 w10 w08
++ -10426,25172,-25172,-10426, // w15 w13 w11 w09
++ 26722,15137,22654,-26722, // w22 w20 w18 w16
++ 22654,5315,-5315,-15137, // w23 w21 w19 w17
++ 15137,5315,5315,22654, // w30 w28 w26 w24
++ -26722,22654,-15137,-26722, // w31 w29 w27 w25
++};
++
++
++// %3 for rows 0,4 - constants are multiplied by cos_4_16
++DECLARE_ALIGNED(8, static const int16_t, tab_i_04_xmm)[32*4] = {
++ 16384,21407,16384,8867, // movq-> w05 w04 w01 w00
++ 16384,8867,-16384,-21407, // w07 w06 w03 w02
++ 16384,-8867,16384,-21407, // w13 w12 w09 w08
++ -16384,21407,16384,-8867, // w15 w14 w11 w10
++ 22725,19266,19266,-4520, // w21 w20 w17 w16
++ 12873,4520,-22725,-12873, // w23 w22 w19 w18
++ 12873,-22725,4520,-12873, // w29 w28 w25 w24
++ 4520,19266,19266,-22725, // w31 w30 w27 w26
++// %3 for rows 1,7 - constants are multiplied by cos_1_16
++ 22725,29692,22725,12299, // movq-> w05 w04 w01 w00
++ 22725,12299,-22725,-29692, // w07 w06 w03 w02
++ 22725,-12299,22725,-29692, // w13 w12 w09 w08
++ -22725,29692,22725,-12299, // w15 w14 w11 w10
++ 31521,26722,26722,-6270, // w21 w20 w17 w16
++ 17855,6270,-31521,-17855, // w23 w22 w19 w18
++ 17855,-31521,6270,-17855, // w29 w28 w25 w24
++ 6270,26722,26722,-31521, // w31 w30 w27 w26
++// %3 for rows 2,6 - constants are multiplied by cos_2_16
++ 21407,27969,21407,11585, // movq-> w05 w04 w01 w00
++ 21407,11585,-21407,-27969, // w07 w06 w03 w02
++ 21407,-11585,21407,-27969, // w13 w12 w09 w08
++ -21407,27969,21407,-11585, // w15 w14 w11 w10
++ 29692,25172,25172,-5906, // w21 w20 w17 w16
++ 16819,5906,-29692,-16819, // w23 w22 w19 w18
++ 16819,-29692,5906,-16819, // w29 w28 w25 w24
++ 5906,25172,25172,-29692, // w31 w30 w27 w26
++// %3 for rows 3,5 - constants are multiplied by cos_3_16
++ 19266,25172,19266,10426, // movq-> w05 w04 w01 w00
++ 19266,10426,-19266,-25172, // w07 w06 w03 w02
++ 19266,-10426,19266,-25172, // w13 w12 w09 w08
++ -19266,25172,19266,-10426, // w15 w14 w11 w10
++ 26722,22654,22654,-5315, // w21 w20 w17 w16
++ 15137,5315,-26722,-15137, // w23 w22 w19 w18
++ 15137,-26722,5315,-15137, // w29 w28 w25 w24
++ 5315,22654,22654,-26722, // w31 w30 w27 w26
++};
++
++
++
++#define DCT_8_INV_ROW_LOONGSON2(A1,A2,A3,A4)\
++ "ldc1 $f0, " #A1 " \n\t"/* 0 ; x3 x2 x1 x0*/\
++ "ldc1 $f2, 8+" #A1 " \n\t"/* 1 ; x7 x6 x5 x4*/\
++ "mov.d $f4, $f0 \n\t"/* 2 ; x3 x2 x1 x0*/\
++ "ldc1 $f6, " #A3 " \n\t"/* 3 ; w05 w04 w01 w00*/\
++ "li $12, 0x88 \n\t"\
++ "dmtc1 $12, $f16 \n\t"\
++ "pshufh $f0, $f0, $f16 \n\t"/* x2 x0 x2 x0*/\
++ "ldc1 $f8, 8+" #A3 " \n\t"/* 4 ; w07 w06 w03 w02*/\
++ "mov.d $f10, $f2 \n\t"/* 5 ; x7 x6 x5 x4*/\
++ "pmaddhw $f6, $f6, $f0 \n\t"/* x2*w05+x0*w04 x2*w01+x0*w00*/\
++ "ldc1 $f12, 32+" #A3 " \n\t"/* 6 ; w21 w20 w17 w16*/\
++ "pshufh $f2, $f2, $f16 \n\t"/* x6 x4 x6 x4*/\
++ "pmaddhw $f8, $f8, $f2 \n\t"/* x6*w07+x4*w06 x6*w03+x4*w02*/\
++ "li $12, 0xdd \n\t"\
++ "dmtc1 $12, $f16 \n\t"\
++ "ldc1 $f14, 40+" #A3 " \n\t"/* 7 ; w23 w22 w19 w18*/\
++ "pshufh $f4, $f4, $f16 \n\t"/* x3 x1 x3 x1*/\
++ "pmaddhw $f12, $f12, $f4 \n\t"/* x3*w21+x1*w20 x3*w17+x1*w16*/\
++ "ldc1 $f18, " #A4 " \n\t" \
++ "ldc1 $f20, 16+" #A3 " \n\t" \
++ "ldc1 $f22, 24+" #A3 " \n\t" \
++ "ldc1 $f24, 48+" #A3 " \n\t" \
++ "ldc1 $f26, 56+" #A3 " \n\t" \
++ "pshufh $f10, $f10, $f16 \n\t"/* x7 x5 x7 x5*/\
++ "pmaddhw $f14, $f14, $f10 \n\t"/* x7*w23+x5*w22 x7*w19+x5*w18*/\
++ "paddw $f6, $f6, $f18 \n\t"/* +%4*/\
++ "pmaddhw $f0, $f0, $f20 \n\t"/* x2*w13+x0*w12 x2*w09+x0*w08*/\
++ "paddw $f6, $f6, $f8 \n\t"/* 4 ; a1=sum(even1) a0=sum(even0)*/\
++ "pmaddhw $f2, $f2, $f22 \n\t"/* x6*w15+x4*w14 x6*w11+x4*w10*/\
++ "mov.d $f8, $f6 \n\t"/* 4 ; a1 a0*/\
++ "li $12, 11 \n\t"\
++ "dmtc1 $12, $f16 \n\t"\
++ "pmaddhw $f4, $f4, $f24 \n\t"/* x3*w29+x1*w28 x3*w25+x1*w24*/\
++ "paddw $f12, $f12, $f14 \n\t"/* 7 ; b1=sum(odd1) b0=sum(odd0)*/\
++ "pmaddhw $f10, $f10, $f26 \n\t"/* x7*w31+x5*w30 x7*w27+x5*w26*/\
++ "paddw $f6, $f6, $f12 \n\t"/* a1+b1 a0+b0*/\
++ "paddw $f0, $f0, $f18 \n\t"/* +%4*/\
++ "psraw $f6, $f6, $f16 \n\t"/* y1=a1+b1 y0=a0+b0*/\
++ "paddw $f0, $f0, $f2 \n\t"/* 1 ; a3=sum(even3) a2=sum(even2)*/\
++ "psubw $f8, $f8, $f12 \n\t"/* 6 ; a1-b1 a0-b0*/\
++ "mov.d $f14, $f0 \n\t"/* 7 ; a3 a2*/\
++ "paddw $f4, $f4, $f10 \n\t"/* 5 ; b3=sum(odd3) b2=sum(odd2)*/\
++ "paddw $f0, $f0, $f4 \n\t"/* a3+b3 a2+b2*/\
++ "psraw $f8, $f8, $f16 \n\t"/* y6=a1-b1 y7=a0-b0*/\
++ "psubw $f14, $f14, $f4 \n\t"/* 2 ; a3-b3 a2-b2*/\
++ "psraw $f0, $f0, $f16 \n\t"/* y3=a3+b3 y2=a2+b2*/\
++ "psraw $f14, $f14, $f16 \n\t"/* y4=a3-b3 y5=a2-b2*/\
++ "li $12, 0xb1 \n\t"\
++ "dmtc1 $12, $f20 \n\t"\
++ "packsswh $f6, $f6, $f0 \n\t"/* 0 ; y3 y2 y1 y0*/\
++ "packsswh $f14, $f14, $f8 \n\t"/* 4 ; y6 y7 y4 y5*/\
++ "sdc1 $f6, " #A2 " \n\t"/* 3 ; save y3 y2 y1 y0*/\
++ "pshufh $f14, $f14, $f20 \n\t"/* y7 y6 y5 y4*/\
++ "sdc1 $f14, 8 +" #A2 " \n\t"/* 7 ; save y7 y6 y5 y4*/
++
++
++#define DCT_8_INV_COL(A1,A2)\
++ "ldc1 $f0, 2*8(%3) \n\t"/* */\
++ "ldc1 $f6, 16*3+" #A1 " \n\t"/* x3 */\
++ "mov.d $f2, $f0 \n\t"/* tg_3_16*/\
++ "ldc1 $f10, 16*5+" #A1 " \n\t"/* x5 */\
++ "pmulhh $f0, $f0, $f6 \n\t"/* x3*(tg_3_16-1)*/\
++ "ldc1 $f8, (%3) \n\t"\
++ "pmulhh $f2, $f2, $f10 \n\t"/* x5*(tg_3_16-1)*/\
++ "ldc1 $f14, 16*7+" #A1 " \n\t"/* x7 */\
++ "mov.d $f4, $f8 \n\t"/* tg_1_16*/\
++ "ldc1 $f12, 16*1+" #A1 " \n\t"/* x1 */\
++ "pmulhh $f8, $f8, $f14 \n\t"/* x7*tg_1_16*/\
++ "paddsh $f0, $f0, $f6 \n\t"/* x3*tg_3_16*/\
++ "pmulhh $f4, $f4, $f12 \n\t"/* x1*tg_1_16*/\
++ "paddsh $f2, $f2, $f6 \n\t"/* x3+x5*(tg_3_16-1)*/\
++ "psubsh $f0, $f0, $f10 \n\t"/* x3*tg_3_16-x5 = tm35*/\
++ "ldc1 $f6, 3*8(%3) \n\t"\
++ "paddsh $f2, $f2, $f10 \n\t"/* x3+x5*tg_3_16 = tp35*/\
++ "paddsh $f8, $f8, $f12 \n\t"/* x1+tg_1_16*x7 = tp17*/\
++ "psubsh $f4, $f4, $f14 \n\t"/* x1*tg_1_16-x7 = tm17*/\
++ "mov.d $f10, $f8 \n\t"/* tp17*/\
++ "mov.d $f12, $f4 \n\t"/* tm17*/\
++ "paddsh $f10, $f10, $f2 \n\t"/* tp17+tp35 = b0*/\
++ "psubsh $f12, $f12, $f0 \n\t"/* tm17-tm35 = b3*/\
++ "psubsh $f8, $f8, $f2 \n\t"/* tp17-tp35 = t1*/\
++ "paddsh $f4, $f4, $f0 \n\t"/* tm17+tm35 = t2*/\
++ "ldc1 $f14, 1*8(%3) \n\t"\
++ "mov.d $f2, $f8 \n\t"/* t1*/\
++ "sdc1 $f10, 3*16+" #A2 " \n\t"/* save b0*/\
++ "paddsh $f2, $f2, $f4 \n\t"/* t1+t2*/\
++ "sdc1 $f12, 5*16+" #A2 " \n\t"/* save b3*/\
++ "psubsh $f8, $f8, $f4 \n\t"/* t1-t2*/\
++ "ldc1 $f10, 2*16+" #A1 " \n\t"\
++ "mov.d $f0, $f14 \n\t"/* tg_2_16*/\
++ "ldc1 $f12, 6*16+" #A1 " \n\t"\
++ "pmulhh $f0, $f0, $f10 \n\t"/* x2*tg_2_16*/\
++ "pmulhh $f14, $f14, $f12 \n\t"/* x6*tg_2_16*/\
++ "pmulhh $f2, $f2, $f6 \n\t"/* ocos_4_16*(t1+t2) = b1/2*/\
++ "ldc1 $f4, 0*16+" #A1 " \n\t"\
++ "pmulhh $f8, $f8, $f6 \n\t"/* ocos_4_16*(t1-t2) = b2/2*/\
++ "psubsh $f0, $f0, $f12 \n\t"/* t2*tg_2_16-x6 = tm26*/\
++ "mov.d $f6, $f4 \n\t"/* x0*/\
++ "ldc1 $f12, 4*16+" #A1 " \n\t"\
++ "paddsh $f14, $f14, $f10 \n\t"/* x2+x6*tg_2_16 = tp26*/\
++ "paddsh $f4, $f4, $f12 \n\t"/* x0+x4 = tp04*/\
++ "psubsh $f6, $f6, $f12 \n\t"/* x0-x4 = tm04*/\
++ "mov.d $f10, $f4 \n\t"/* tp04*/\
++ "mov.d $f12, $f6 \n\t"/* tm04*/\
++ "psubsh $f4, $f4, $f14 \n\t"/* tp04-tp26 = a3*/\
++ "paddsh $f6, $f6, $f0 \n\t"/* tm04+tm26 = a1*/\
++ "paddsh $f2, $f2, $f2 \n\t"/* b1*/\
++ "paddsh $f8, $f8, $f8 \n\t"/* b2*/\
++ "paddsh $f10, $f10, $f14 \n\t"/* tp04+tp26 = a0*/\
++ "psubsh $f12, $f12, $f0 \n\t"/* tm04-tm26 = a2*/\
++ "li $12, 6 \n\t"\
++ "dmtc1 $12, $f18 \n\t"\
++ "mov.d $f14, $f6 \n\t"/* a1*/\
++ "mov.d $f0, $f12 \n\t"/* a2*/\
++ "paddsh $f6, $f6, $f2 \n\t"/* a1+b1*/\
++ "paddsh $f12, $f12, $f8 \n\t"/* a2+b2*/\
++ "psrah $f6, $f6, $f18 \n\t"/* dst1*/\
++ "psubsh $f14, $f14, $f2 \n\t"/* a1-b1*/\
++ "psrah $f12, $f12, $f18 \n\t"/* dst2*/\
++ "psubsh $f0, $f0, $f8 \n\t"/* a2-b2*/\
++ "ldc1 $f2, 3*16+" #A2 " \n\t"/* load b0*/\
++ "psrah $f14, $f14, $f18 \n\t"/* dst6*/\
++ "mov.d $f8, $f10 \n\t"/* a0*/\
++ "psrah $f0, $f0, $f18 \n\t"/* dst5*/\
++ "sdc1 $f6, 1*16+" #A2 " \n\t"\
++ "paddsh $f10, $f10, $f2 \n\t"/* a0+b0*/\
++ "sdc1 $f12, 2*16+" #A2 " \n\t"\
++ "psubsh $f8, $f8, $f2 \n\t"/* a0-b0*/\
++ "ldc1 $f6, 5*16+" #A2 " \n\t"/* load b3*/\
++ "psrah $f10, $f10, $f18 \n\t"/* dst0*/\
++ "mov.d $f12, $f4 \n\t"/* a3*/\
++ "psrah $f8, $f8, $f18 \n\t"/* dst7*/\
++ "sdc1 $f0, 5*16+" #A2 " \n\t"\
++ "paddsh $f4, $f4, $f6 \n\t"/* a3+b3*/\
++ "sdc1 $f14, 6*16+" #A2 " \n\t"\
++ "psubsh $f12, $f12, $f6 \n\t"/* a3-b3*/\
++ "sdc1 $f10, 0*16+" #A2 " \n\t"\
++ "psrah $f4, $f4, $f18 \n\t"/* dst3*/\
++ "sdc1 $f8, 7*16+" #A2 " \n\t"\
++ "psrah $f12, $f12, $f18 \n\t"/* dst4*/\
++ "sdc1 $f4, 3*16+" #A2 " \n\t"\
++ "sdc1 $f12, 4*16+" #A2 " \n\t"
++
++
++
++void ff_idct_xvid_loongson2(short *block){
++ __asm__ volatile(
++ //# Process each row
++ DCT_8_INV_ROW_LOONGSON2(0*16(%0), 0*16(%0), 64*0(%2), 8*0(%1))
++ DCT_8_INV_ROW_LOONGSON2(1*16(%0), 1*16(%0), 64*1(%2), 8*1(%1))
++ DCT_8_INV_ROW_LOONGSON2(2*16(%0), 2*16(%0), 64*2(%2), 8*2(%1))
++ DCT_8_INV_ROW_LOONGSON2(3*16(%0), 3*16(%0), 64*3(%2), 8*3(%1))
++ DCT_8_INV_ROW_LOONGSON2(4*16(%0), 4*16(%0), 64*0(%2), 8*4(%1))
++ DCT_8_INV_ROW_LOONGSON2(5*16(%0), 5*16(%0), 64*3(%2), 8*5(%1))
++ DCT_8_INV_ROW_LOONGSON2(6*16(%0), 6*16(%0), 64*2(%2), 8*6(%1))
++ DCT_8_INV_ROW_LOONGSON2(7*16(%0), 7*16(%0), 64*1(%2), 8*7(%1))
++
++ //# Process the columns (4 at a time)
++ DCT_8_INV_COL(0(%0), 0(%0))
++ DCT_8_INV_COL(8(%0), 8(%0))
++ :
++ : "r"(block), "r"(rounder_0), "r"(tab_i_04_xmm), "r"(tg_1_16)
++ :"$f0","$f2","$f4","$f6","$f8","$f10","$f12","$f14","$f18","$f16","$20","$22","$24","$26");
++}
+diff -Nru ffmpeg.orig/libavcodec/loongson2/motion_est_loongson2.c ffmpeg/libavcodec/loongson2/motion_est_loongson2.c
+--- ffmpeg.orig/libavcodec/loongson2/motion_est_loongson2.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/motion_est_loongson2.c 2011-12-09 23:25:15.247445391 +0100
+@@ -0,0 +1,365 @@
++/*
++ * Loongson2E MMI optimized motion estimation
++ * Copyright (c) 2007 comcat <jiankemeng@gmail.com>.
++ *
++ * based on Michael Niedermayer <michaelni@gmx.at>
++ *
++ */
++
++#include "dsputil_loongson2.h"
++#include "../avcodec.h"
++
++DECLARE_ASM_CONST(8, uint64_t, round_tab)[3]={
++ 0x0000000000000000ULL,
++ 0x0001000100010001ULL,
++ 0x0002000200020002ULL,
++};
++
++DECLARE_ASM_CONST(8, uint64_t, bone)= 0x0101010101010101LL;
++
++static inline void sad8_1_loongson2(uint8_t *blk1, uint8_t *blk2, int stride, int h)
++{
++ long len= -(stride*h);
++ __asm__ volatile(
++
++// ".set mips3 \n\t"
++ ".align 4 \n\t"
++
++ "move $8, %0 \n\t"
++ "move $21, %1 \n\t"
++ "move $22, %2 \n\t"
++ "move $23, %3 \n\t"
++
++ "1: \n\t"
++
++ "add $9, $8, $21 \n\t"
++ "add $10, $8, $22 \n\t"
++
++ "uld $11, ($9) \n\t"
++ "dmtc1 $11, $f0 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f4 \n\t"
++
++ "pasubub $f10, $f0, $f4 \n\t"
++ "biadd $f0, $f10 \n\t"
++
++ "add $8, $8, $23 \n\t"
++
++ "add $9, $8, $21 \n\t"
++ "add $10, $8, $22 \n\t"
++
++ "uld $11, ($9) \n\t"
++ "dmtc1 $11, $f2 \n\t"
++
++ "uld $12, ($10) \n\t"
++ "dmtc1 $12, $f6 \n\t"
++
++ "pasubub $f16, $f2, $f6 \n\t"
++ "biadd $f6, $f16 \n\t"
++
++ "paddh $f0, $f0, $f6 \n\t"
++
++ "paddh $f12, $f12, $f0 \n\t"
++
++ "bltz $8, 1b \n\t"
++ "add $8, $8, $23 \n\t"
++
++ : "+r" (len)
++ : "r" (blk1 - len), "r" (blk2 - len), "r" ((long)stride)
++ : "$8", "$9", "$10", "$21", "$22", "$23", "$f0", "$f2", "$f4", "$f6", "$f10", "$f16"
++ );
++}
++
++static inline void sad8_2_loongson2(uint8_t *blk1a, uint8_t *blk1b, uint8_t *blk2, int stride, int h)
++{
++ long len= -(stride*h);
++ __asm__ volatile(
++
++// ".set mips3 \n\t"
++ ".align 4 \n\t"
++
++ "move $8, %0 \n\t"
++
++ "1: \n\t"
++ "add $9, $8, %1 \n\t"
++ "add $10, $8, %2 \n\t"
++ "add $11, $8, %3 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f0 \n\t"
++ "uld $13, ($10) \n\t"
++ "dmtc1 $13, $f4 \n\t"
++
++ "pavgb $f0, $f0, $f4 \n\t"
++
++ "uld $12, ($11) \n\t"
++ "dmtc1 $12, $f4 \n\t"
++
++ "pasubub $f10, $f0, $f4 \n\t"
++ "biadd $f0, $f10 \n\t"
++
++ "add $8, $8, %4 \n\t"
++
++ "add $9, $8, %1 \n\t"
++ "add $10, $8, %2 \n\t"
++ "add $11, $8, %3 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f2 \n\t"
++ "uld $13, ($10) \n\t"
++ "dmtc1 $13, $f6 \n\t"
++
++ "pavgb $f6, $f6, $f2 \n\t"
++
++ "uld $12, ($11) \n\t"
++ "dmtc1 $12, $f2 \n\t"
++
++ "pasubub $f16, $f6, $f2 \n\t"
++ "biadd $f6, $f16 \n\t"
++
++ "paddh $f0, $f0, $f6 \n\t"
++ "paddh $f12, $f12, $f0 \n\t"
++
++ "bltz $8, 1b \n\t"
++ "add $8, $8, %4 \n\t"
++ : "+r" (len)
++ : "r" (blk1a - len), "r" (blk1b -len), "r" (blk2 - len), "r" ((long)stride)
++ : "$8", "$9", "$10", "$11", "$12", "$13", "$f0", "$f2", "$f4", "$f6", "$f10", "$f16"
++ );
++}
++
++static inline void sad8_4_loongson2(uint8_t *blk1, uint8_t *blk2, int stride, int h)
++{
++ long len= -(stride*h);
++ __asm__ volatile(
++
++
++// ".set mips3 \n\t"
++ ".align 4 \n\t"
++
++ "ldc1 $f10, "MANGLE(bone)" \n\t"
++
++ "move $8, %0 \n\t"
++
++ "1: \n\t"
++ "add $9, $8, %1 \n\t"
++ "add $10, $8, %2 \n\t"
++ "add $11, $8, %3 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f0 \n\t"
++
++ "uld $13, ($10) \n\t"
++ "dmtc1 $13, $f4 \n\t"
++
++ "uld $12, 1($9) \n\t"
++ "dmtc1 $12, $f2 \n\t"
++
++ "uld $13, 1($10) \n\t"
++ "dmtc1 $13, $f6 \n\t"
++
++ "pavgb $f0, $f0, $f4 \n\t"
++ "pavgb $f6, $f6, $f2 \n\t"
++
++ "psubusb $f6, $f6, $f10 \n\t"
++ "pavgb $f0, $f0, $f6 \n\t"
++
++ "uld $13, 1($11) \n\t"
++ "dmtc1 $13, $f4 \n\t"
++
++ "pasubub $f16, $f0, $f4 \n\t"
++ "biadd $f0, $f16 \n\t"
++
++ "add $8, $8, %4 \n\t"
++
++ "add $9, $8, %1 \n\t"
++ "add $10, $8, %2 \n\t"
++ "add $11, $8, %3 \n\t"
++
++ "uld $12, ($9) \n\t"
++ "dmtc1 $12, $f2 \n\t"
++ "uld $13, ($10) \n\t"
++ "dmtc1 $12, $f6 \n\t"
++ "uld $12, 1($9) \n\t"
++ "dmtc1 $12, $f4 \n\t"
++ "uld $13, 1($10) \n\t"
++ "dmtc1 $12, $f8 \n\t"
++
++ "pavgb $f2, $f2, $f6 \n\t"
++ "pavgb $f4, $f4, $f8 \n\t"
++
++ "psubusb $f4, $f4, $f10 \n\t"
++ "pavgb $f4, $f4, $f2 \n\t"
++
++ "uld $13, ($11) \n\t"
++ "dmtc1 $13, $f2 \n\t"
++
++ "pasubub $f18, $f4, $f2 \n\t"
++ "biadd $f4, $f18 \n\t"
++
++ "paddh $f0, $f0, $f4 \n\t"
++ "paddh $f12, $f12, $f0 \n\t"
++
++ "bltz $8, 1b \n\t"
++ "add $8, $8, %4 \n\t"
++ : "+r" (len)
++ : "r" (blk1 - len), "r" (blk1 - len + stride), "r" (blk2 - len), "r" ((long)stride)
++ : "$8", "$9", "$10", "$11", "$12", "$13", "$f0", "$f2", "$f4", "$f6", "$f8", "$f10", "$f16", "$f18"
++ );
++}
++
++static inline int sum_loongson2(void)
++{
++ int ret;
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "dmfc1 %0, $f12 \n\t"
++ : "=r" (ret)
++ );
++ return ret;
++}
++
++
++static int sad8_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ assert(h==8);
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ :
++ );
++
++ sad8_1_loongson2(blk1, blk2, stride, 8);
++
++ return sum_loongson2();
++}
++
++static int sad8_x2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ assert(h==8);
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[1])
++ );
++
++ sad8_2_loongson2(blk1, blk1+1, blk2, stride, 8);
++
++ return sum_loongson2();
++}
++
++static int sad8_y2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ assert(h==8);
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[1])
++ );
++
++ sad8_2_loongson2(blk1, blk1+stride, blk2, stride, 8);
++
++ return sum_loongson2();
++}
++
++static int sad8_xy2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ assert(h==8);
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[2])
++ );
++
++ sad8_4_loongson2(blk1, blk2, stride, 8);
++
++ return sum_loongson2();
++}
++
++static int sad16_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t":);
++
++ sad8_1_loongson2(blk1 , blk2 , stride, h);
++ sad8_1_loongson2(blk1+8, blk2+8, stride, h);
++
++ return sum_loongson2();
++}
++
++static int sad16_x2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[1])
++ );
++
++ sad8_2_loongson2(blk1 , blk1+1, blk2 , stride, h);
++ sad8_2_loongson2(blk1+8, blk1+9, blk2+8, stride, h);
++
++ return sum_loongson2();
++}
++
++static int sad16_y2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[1])
++ );
++
++ sad8_2_loongson2(blk1 , blk1+stride, blk2 , stride, h);
++ sad8_2_loongson2(blk1+8, blk1+stride+8,blk2+8, stride, h);
++
++ return sum_loongson2();
++}
++
++static int sad16_xy2_loongson2(void *v, uint8_t *blk2, uint8_t *blk1, int stride, int h)
++{
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "xor $f14, $f14, $f14 \n\t"
++ "xor $f12, $f12, $f12 \n\t"
++ "ldc1 $f10, %0 \n\t"
++ :: "m"(round_tab[2])
++ );
++
++ sad8_4_loongson2(blk1 , blk2 , stride, h);
++ sad8_4_loongson2(blk1+8, blk2+8, stride, h);
++
++ return sum_loongson2();
++}
++
++
++void dsputil_init_pix_loongson2(DSPContext* c, AVCodecContext *avctx)
++{
++ c->pix_abs[0][0] = sad16_loongson2;
++ c->pix_abs[0][1] = sad16_x2_loongson2;
++ c->pix_abs[0][2] = sad16_y2_loongson2;
++ c->pix_abs[0][3] = sad16_xy2_loongson2;
++ c->pix_abs[1][0] = sad8_loongson2;
++ c->pix_abs[1][1] = sad8_x2_loongson2;
++ c->pix_abs[1][2] = sad8_y2_loongson2;
++ c->pix_abs[1][3] = sad8_xy2_loongson2;
++
++ c->sad[0]= sad16_loongson2;
++ c->sad[1]= sad8_loongson2;
++}
+diff -Nru ffmpeg.orig/libavcodec/loongson2/mpegvideo_loongson2.c ffmpeg/libavcodec/loongson2/mpegvideo_loongson2.c
+--- ffmpeg.orig/libavcodec/loongson2/mpegvideo_loongson2.c 1970-01-01 01:00:00.000000000 +0100
++++ ffmpeg/libavcodec/loongson2/mpegvideo_loongson2.c 2011-12-09 21:40:50.828821027 +0100
+@@ -0,0 +1,385 @@
++/*
++ * The simplest mpeg encoder (well, it was the simplest!)
++ * Copyright (c) 2007-2010 comcat <jiankemeng@gmail.com>.
++ *
++ * Optimized for Loongson2 CPUs by comcat <jiankemeng@gmail.com>
++ *
++ * Based on i386
++ */
++
++#include "dsputil_loongson2.h"
++#include "../mpegvideo.h"
++#include "../avcodec.h"
++
++extern uint8_t zigzag_direct_noperm[64];
++extern uint16_t inv_zigzag_direct16[64];
++
++static const unsigned long long int mm_wabs __attribute__ ((aligned(8))) = 0xffffffffffffffffULL;
++static const unsigned long long int mm_wone __attribute__ ((aligned(8))) = 0x0001000100010001ULL;
++
++
++static void dct_unquantize_h263_intra_loongson2(MpegEncContext *s,
++ DCTELEM *block, int n, int qscale)
++{
++ long level, qmul, qadd, nCoeffs;
++
++ qmul = qscale << 1;
++
++ assert(s->block_last_index[n]>=0 || s->h263_aic);
++ if (!s->h263_aic) {
++ if (n < 4)
++ level = block[0] * s->y_dc_scale;
++ else
++ level = block[0] * s->c_dc_scale;
++ qadd = (qscale - 1) | 1;
++ }else{
++ qadd = 0;
++ level= block[0];
++ }
++ if(s->ac_pred)
++ nCoeffs=63;
++ else
++ nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ];
++
++
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "xor $f12, $f12, $f12 \n\t"
++ "lwc1 $f12, %1 \n\t"
++
++ "xor $f10, $f10, $f10 \n\t"
++
++ "packsswh $f12, $f12, $f12 \n\t"
++
++ "lwc1 $f10, %2 \n\t"
++
++ "packsswh $f10, $f10, $f10 \n\t"
++
++ "packsswh $f12, $f12, $f12 \n\t"
++
++ "xor $f14, $f14, $f14 \n\t"
++
++ "packsswh $f10, $f10, $f10 \n\t"
++
++ "xor $f8, $f8, $f8 \n\t"
++
++ "psubh $f14, $f14, $f10 \n\t"
++
++
++ "1: \n\t"
++ "add $12, %0, %3 \n\t"
++
++ "ldc1 $f0, ($12) \n\t"
++
++ "ldc1 $f2, 8($12) \n\t"
++
++ "mov.d $f4, $f0 \n\t"
++ "mov.d $f6, $f2 \n\t"
++
++ "pmullh $f0, $f0, $f12 \n\t"
++ "pmullh $f2, $f2, $f12 \n\t"
++
++ "pcmpgth $f4, $f4, $f8 \n\t"
++ "pcmpgth $f6, $f6, $f8 \n\t"
++
++ "xor $f0, $f0, $f4 \n\t"
++ "xor $f2, $f2, $f6 \n\t"
++
++
++ "paddh $f0, $f0, $f14 \n\t"
++
++ "paddh $f2, $f2, $f14 \n\t"
++
++
++ "xor $f4, $f4, $f0 \n\t"
++
++ "xor $f6, $f6, $f2 \n\t"
++
++
++ "pcmpeqh $f0, $f0, $f14 \n\t"
++
++ "pcmpeqh $f2, $f2, $f14 \n\t"
++
++
++ "pandn $f0, $f0, $f4 \n\t"
++
++ "pandn $f2, $f2, $f6 \n\t"
++
++
++ "sdc1 $f0, ($12) \n\t"
++
++ "sdc1 $f2, 8($12) \n\t"
++
++
++ "addiu %3, %3, 16 \n\t"
++
++ "blez %3, 1b \n\t"
++ "nop \n\t"
++ ::"r" (block+nCoeffs), "m"(qmul), "m" (qadd), "r" (2*(-nCoeffs))
++ : "memory"
++ );
++ block[0]= level;
++}
++
++
++static void dct_unquantize_h263_inter_loongson2(MpegEncContext *s,
++ DCTELEM *block, int n, int qscale)
++{
++ long qmul, qadd, nCoeffs;
++
++ qmul = qscale << 1;
++ qadd = (qscale - 1) | 1;
++
++ assert(s->block_last_index[n]>=0 || s->h263_aic);
++
++ nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ];
++
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "xor $f12, $f12, $f12 \n\t"
++ "lwc1 $f12, %1 \n\t"
++
++ "xor $f10, $f10, $f10 \n\t"
++
++ "packsswh $f12, $f12, $f12 \n\t"
++
++ "lwc1 $f10, %2 \n\t"
++
++ "packsswh $f10, $f10, $f10 \n\t"
++
++ "xor $f14, $f14, $f14 \n\t"
++
++ "packsswh $f12, $f12, $f12 \n\t"
++
++ "packsswh $f10, $f10, $f10 \n\t"
++
++ "xor $f8, $f8, $f8 \n\t"
++
++ "psubh $f14, $f14, $f10 \n\t"
++
++
++ "1: \n\t"
++ "add $12, %0, %3 \n\t"
++
++ "ldc1 $f0, ($12) \n\t"
++
++ "ldc1 $f2, 8($12) \n\t"
++
++ "mov.d $f4, $f0 \n\t"
++ "mov.d $f6, $f2 \n\t"
++
++ "pmullh $f0, $f0, $f12 \n\t"
++
++ "pmullh $f2, $f2, $f12 \n\t"
++
++ "pcmpgth $f4, $f4, $f8 \n\t"
++
++ "pcmpgth $f6, $f6, $f8 \n\t"
++
++ "xor $f0, $f0, $f4 \n\t"
++
++ "xor $f2, $f2, $f6 \n\t"
++
++ "paddh $f0, $f0, $f14 \n\t"
++
++ "paddh $f2, $f2, $f14 \n\t"
++
++ "xor $f4, $f4, $f0 \n\t"
++
++ "xor $f6, $f6, $f2 \n\t"
++
++ "pcmpeqh $f0, $f0, $f14 \n\t"
++
++ "pcmpeqh $f2, $f2, $f14 \n\t"
++
++ "pandn $f0, $f0, $f4 \n\t"
++
++ "pandn $f2, $f2, $f6 \n\t"
++
++ "sdc1 $f0, ($12) \n\t"
++
++ "sdc1 $f2, 8($12) \n\t"
++
++
++ "addiu %3, %3, 16 \n\t"
++
++ "blez %3, 1b \n\t"
++ "nop \n\t"
++ ::"r" (block+nCoeffs), "m"(qmul), "m" (qadd), "r" (2*(-nCoeffs))
++ : "memory"
++ );
++}
++
++
++/* draw the edges of width 'w' of an image of size width, height
++ this mmx version can only handle w==8 || w==16 */
++
++static void draw_edges_loongson2(uint8_t *buf, int wrap, int width, int height, int w)
++{
++ uint8_t *ptr, *last_line;
++ int i;
++
++ last_line = buf + (height - 1) * wrap;
++
++ ptr = buf;
++ if(w==8)
++ {
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "move $9, %0 \n\t"
++
++ "1: \n\t"
++
++ "xor $f0, $f0, $f0 \n\t"
++ "lwc1 $f0, ($9) \n\t"
++
++ "punpcklbh $f0, $f0, $f0 \n\t"
++
++ "add $12, $9, %2 \n\t"
++
++ "punpcklhw $f0, $f0, $f0 \n\t"
++
++ "punpcklwd $f0, $f0, $f0 \n\t"
++
++ "ldc1 $f2, -8($12) \n\t"
++
++ "sdc1 $f0, -8($9) \n\t"
++
++ "punpckhbh $f2, $f2, $f2 \n\t"
++
++ "add $9, $9, %1 \n\t"
++
++ "punpckhhw $f2, $f2, $f2 \n\t"
++
++ "sub $13, $9, %3 \n\t"
++
++ "punpckhwd $f2, $f2, $f2 \n\t"
++
++ "bltz $13, 1b \n\t"
++
++ "sdc1 $f2, ($12) \n\t"
++
++ : "+r" (ptr)
++ : "r" ((long)wrap), "r" ((long)width), "r" (ptr + wrap*height)
++ : "$9", "$13", "$12", "$f2", "$f0"
++ );
++ }
++ else
++ {
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "move $8, %0 \n\t"
++
++ "1: \n\t"
++
++ "xor $f0, $f0, $f0 \n\t"
++ "lwc1 $f0, ($8) \n\t"
++
++ "punpcklbh $f0, $f0, $f0 \n\t"
++ "punpcklhw $f0, $f0, $f0 \n\t"
++ "punpcklwd $f0, $f0, $f0 \n\t"
++
++ "sdc1 $f0, -8($8) \n\t"
++ "sdc1 $f0, -16($8) \n\t"
++
++ "add $15, $8, %2 \n\t"
++ "ldc1 $f2, -8($15) \n\t"
++
++ "punpckhbh $f2, $f2, $f2 \n\t"
++ "punpckhhw $f2, $f2, $f2 \n\t"
++ "punpckhwd $f2, $f2, $f2 \n\t"
++
++ "sdc1 $f2, ($15) \n\t"
++ "sdc1 $f2, 8($15) \n\t"
++
++ "add $8, $8, %1 \n\t"
++
++ "sub $16, $8, %3 \n\t"
++ "bltz $16, 1b \n\t"
++ "nop \n\t"
++ : "+r" (ptr)
++ : "r" ((long)wrap), "r" ((long)width), "r" (ptr + wrap*height)
++ : "$8", "$15", "$16", "$f0", "$f2"
++ );
++ }
++
++ for(i=0;i<w;i+=4) {
++
++ ptr= buf - (i + 1) * wrap - w;
++ __asm__ volatile(
++// ".set mips3 \n\t"
++ "move $8, %0 \n\t"
++
++ "1: \n\t"
++
++ "add $9, $8, %1 \n\t"
++ "ldc1 $f0, ($9) \n\t"
++
++ "add $10, $8, %2 \n\t"
++ "add $11, $10, %2 \n\t"
++ "add $12, $8, %3 \n\t"
++
++ "sdc1 $f0, ($8) \n\t"
++ "sdc1 $f0, ($10) \n\t"
++ "sdc1 $f0, ($11) \n\t"
++ "sdc1 $f0, ($12) \n\t"
++
++ "addiu $8, $8, 8 \n\t"
++
++ "sub $13, $8, %4 \n\t"
++
++ "bltz $13, 1b \n\t"
++ "nop \n\t"
++
++ : "+r" (ptr)
++ : "r" (((long)buf - (long)ptr - w)), "r" ((long)-wrap), "r" ((long)-wrap*3), "r" (*(ptr+width+2*w))
++ : "$8", "$9", "$10", "$11", "$12", "$13", "$f0"
++ );
++
++ ptr= last_line + (i + 1) * wrap - w;
++
++ __asm__ volatile(
++// ".set mips3 \n\t"
++
++ "move $9, %0 \n\t"
++
++ "1: \n\t"
++
++ "add $10, $9, %1 \n\t"
++ "ldc1 $f0, ($10) \n\t"
++
++ "add $11, $9, %2 \n\t"
++ "add $12, $11, %2 \n\t"
++ "add $13, $9, %3 \n\t"
++
++ "sdc1 $f0, ($9) \n\t"
++ "sdc1 $f0, ($11) \n\t"
++ "sdc1 $f0, ($12) \n\t"
++ "sdc1 $f0, ($13) \n\t"
++
++ "addiu $9, $9, 8 \n\t"
++
++ "sub $14, $9, %4 \n\t"
++
++ "bltz $14, 1b \n\t"
++ "nop \n\t"
++ : "+r" (ptr)
++ : "r" ((long)last_line - (long)ptr - w), "r" ((long)wrap), "r" ((long)wrap*3), "r" (ptr+width+2*w)
++ : "$9", "$10", "$11", "$12", "$13", "$14", "$f0"
++
++ );
++ }
++}
++
++void MPV_common_init_loongson2(MpegEncContext *s)
++{
++ s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_loongson2;
++ s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_loongson2;
++
++// draw_edges = draw_edges_loongson2;
++
++}
+diff -Nru ffmpeg.orig/libavcodec/mips/Makefile ffmpeg/libavcodec/mips/Makefile
+--- ffmpeg.orig/libavcodec/mips/Makefile 2011-12-09 21:40:31.700782047 +0100
++++ ffmpeg/libavcodec/mips/Makefile 2011-12-09 21:40:50.836821045 +0100
+@@ -1,3 +1,9 @@
+ OBJS-$(HAVE_MMI) += ps2/dsputil_mmi.o \
+ ps2/idct_mmi.o \
+ ps2/mpegvideo_mmi.o \
++
++OBJS-$(HAVE_LOONGSON2MMI) += loongson2/idct_loongson2.o \
++ loongson2/dsputil_loongson2.o \
++ loongson2/idct_loongson2_xvid.o \
++ loongson2/mpegvideo_loongson2.o \
++ loongson2/motion_est_loongson2.o
+diff -Nru ffmpeg.orig/libavcodec/mpegvideo.c ffmpeg/libavcodec/mpegvideo.c
+--- ffmpeg.orig/libavcodec/mpegvideo.c 2011-12-09 21:40:31.644781931 +0100
++++ ffmpeg/libavcodec/mpegvideo.c 2011-12-09 21:40:50.868821109 +0100
+@@ -182,6 +182,9 @@
+ #elif ARCH_BFIN
+ MPV_common_init_bfin(s);
+ #endif
++#ifdef HAVE_LOONGSON2MMI
++ MPV_common_init_loongson2(s);
++#endif
+
+ /* load & permutate scantables
+ note: only wmv uses different ones
+diff -Nru ffmpeg.orig/libavcodec/mpegvideo.h ffmpeg/libavcodec/mpegvideo.h
+--- ffmpeg.orig/libavcodec/mpegvideo.h 2011-12-09 21:40:31.728782103 +0100
++++ ffmpeg/libavcodec/mpegvideo.h 2011-12-09 21:40:50.892821159 +0100
+@@ -704,6 +704,7 @@
+ void MPV_common_init_mmx(MpegEncContext *s);
+ void MPV_common_init_axp(MpegEncContext *s);
+ void MPV_common_init_mlib(MpegEncContext *s);
++void MPV_common_init_loongson2(MpegEncContext *s);
+ void MPV_common_init_mmi(MpegEncContext *s);
+ void MPV_common_init_arm(MpegEncContext *s);
+ void MPV_common_init_altivec(MpegEncContext *s);
+diff -Nru ffmpeg.orig/libavcodec/options.c ffmpeg/libavcodec/options.c
+--- ffmpeg.orig/libavcodec/options.c 2011-12-09 21:40:31.820782292 +0100
++++ ffmpeg/libavcodec/options.c 2011-12-09 21:45:31.645390878 +0100
+@@ -251,6 +251,8 @@
+ {"simple", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_SIMPLE }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"simplemmx", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_SIMPLEMMX }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"libmpeg2mmx", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_LIBMPEG2MMX }, INT_MIN, INT_MAX, V|E|D, "idct"},
++{"libmpeg2loongson2", NULL, 0, AV_OPT_TYPE_CONST, FF_IDCT_LIBMPEG2LOONGSON2, INT_MIN, INT_MAX, V|E|D, "idct"},
++{"xvidloongson2", NULL, 0, AV_OPT_TYPE_CONST, FF_IDCT_XVIDLOONGSON2, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"ps2", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_PS2 }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"mlib", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_MLIB }, INT_MIN, INT_MAX, V|E|D, "idct"},
+ {"arm", NULL, 0, AV_OPT_TYPE_CONST, {.dbl = FF_IDCT_ARM }, INT_MIN, INT_MAX, V|E|D, "idct"},
diff --git a/extra/ffmpegthumbnailer/PKGBUILD b/extra/ffmpegthumbnailer/PKGBUILD
index 31df82630..e983d3d2c 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 db4322f0b..c689801ea 100644
--- a/extra/fftw/PKGBUILD
+++ b/extra/fftw/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fftw
pkgver=3.3.2
pkgrel=1
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')
@@ -25,26 +25,36 @@ sha1sums=('11a8c31186ff5a7d686a79a3f21b2530888e0dc2')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ if [ "$CARCH" = "mips64el" ] ; then
+ sse2=""
+ sse=""
+ aligndouble=""
+ else
+ sse2="--enable-sse2"
+ sse="--enable-sse"
+ aligndouble="-malign-double"
+ fi
+
# use upstream default CFLAGS while keeping our -march/-mtune
- CFLAGS+=" -O3 -fomit-frame-pointer -malign-double -fstrict-aliasing -ffast-math"
+ CFLAGS+=" -O3 -fomit-frame-pointer $aligndouble -fstrict-aliasing -ffast-math"
CONFIGURE="./configure F77=gfortran --prefix=/usr \
--enable-shared --enable-threads --enable-type-prefix"
- # build & install double precision
- $CONFIGURE --enable-sse2
+ msg "Build & install double precision"
+ $CONFIGURE $sse2
make
make DESTDIR=${pkgdir} install
- make clean
+ make clean
- # build & install long double precission
+ msg "build & install long double precission"
$CONFIGURE --enable-long-double
make
make DESTDIR=${pkgdir} install
make clean
- # build & install single precision
- $CONFIGURE --enable-float --enable-sse
+ msg "build & install single precision"
+ $CONFIGURE --enable-float $sse
make
make DESTDIR=${pkgdir} install
}
diff --git a/extra/flac/PKGBUILD b/extra/flac/PKGBUILD
index 56a7cedd2..a95748d48 100644
--- a/extra/flac/PKGBUILD
+++ b/extra/flac/PKGBUILD
@@ -4,12 +4,14 @@
pkgbase=flac
pkgname=('flac' 'flac-doc')
pkgver=1.2.1
-pkgrel=3
-arch=('i686' 'x86_64')
+pkgrel=3.1
+arch=('i686' 'x86_64' 'mips64el')
url="http://flac.sourceforge.net/"
license=('BSD' 'GPL')
depends=('libogg')
makedepends=('nasm' 'xmms')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('nasm') # xmms doesn't build on mips
options=('!libtool' '!makeflags')
source=(http://downloads.sf.net/sourceforge/${pkgbase}/${pkgbase}-${pkgver}.tar.gz
flac-1.2.1-gcc-4.3-includes.patch)
@@ -34,6 +36,8 @@ check() {
package_flac() {
pkgdesc="Free Lossless Audio Codec"
optdepends=('xmms: for using the xmms plugin')
+[ "$CARCH" = "mips64el" ] && \
+ unset optdepends
options=('!libtool' '!docs')
cd "${srcdir}/${pkgbase}-${pkgver}"
diff --git a/extra/fltk/PKGBUILD b/extra/fltk/PKGBUILD
index f704e76f4..9b259b50e 100644
--- a/extra/fltk/PKGBUILD
+++ b/extra/fltk/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=fltk
pkgname=('fltk' 'fltk-docs' 'fltk-games')
pkgver=1.3.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:LGPL')
url="http://www.fltk.org/"
makedepends=('mesa' 'doxygen' 'libjpeg' 'libpng' 'libxft' 'libxinerama' \
diff --git a/extra/fluidsynth/PKGBUILD b/extra/fluidsynth/PKGBUILD
index 616472e31..45ff9f79b 100644
--- a/extra/fluidsynth/PKGBUILD
+++ b/extra/fluidsynth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fluidsynth
pkgver=1.1.6
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 45db54acd..59b098efe 100644
--- a/extra/fluxbox/PKGBUILD
+++ b/extra/fluxbox/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fluxbox
pkgver=1.3.2
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' 'imlib2' 'fribidi')
diff --git a/extra/fluxter/PKGBUILD b/extra/fluxter/PKGBUILD
index 723543918..743fb4f50 100644
--- a/extra/fluxter/PKGBUILD
+++ b/extra/fluxter/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=fluxter
pkgver=0.1.0
-pkgrel=5
+pkgrel=5.1
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 dfe526e68..45c2ee704 100644
--- a/extra/folks/PKGBUILD
+++ b/extra/folks/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=folks
pkgver=0.8.0
pkgrel=1
pkgdesc="Library to aggregates people into metacontacts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://telepathy.freedesktop.org/wiki/Folks"
license=('LGPL2.1')
depends=('telepathy-glib' 'libgee' 'libxml2' 'evolution-data-server' 'libsocialweb' 'libzeitgeist')
diff --git a/extra/fontconfig/PKGBUILD b/extra/fontconfig/PKGBUILD
index f69861820..849426577 100644
--- a/extra/fontconfig/PKGBUILD
+++ b/extra/fontconfig/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fontconfig
pkgver=2.10.1
pkgrel=2
pkgdesc="A library for configuring and customizing font access"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.fontconfig.org/release/"
license=('custom')
depends=('expat' 'freetype2')
diff --git a/extra/fontforge/PKGBUILD b/extra/fontforge/PKGBUILD
index e88630203..36fbd5f83 100644
--- a/extra/fontforge/PKGBUILD
+++ b/extra/fontforge/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=fontforge
pkgver=20120731_b
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' 'libspiro'
diff --git a/extra/foobillard++/PKGBUILD b/extra/foobillard++/PKGBUILD
index 13dcd633e..18c9d21d5 100644
--- a/extra/foobillard++/PKGBUILD
+++ b/extra/foobillard++/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=foobillard++
pkgver=3.42beta
pkgrel=4
pkgdesc="An OpenGL billiard game"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://foobillardplus.sourceforge.net/"
license=('GPL2')
depends=('freetype2' 'libpng' 'glu' 'sdl_net' 'sdl_mixer')
diff --git a/extra/fortune-mod/01_all_fortune_all-fix.patch b/extra/fortune-mod/01_all_fortune_all-fix.patch
deleted file mode 100644
index b4175ac81..000000000
--- a/extra/fortune-mod/01_all_fortune_all-fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- fortune/fortune.c.old 2006-03-11 15:33:14.000000000 +0100
-+++ fortune/fortune.c 2006-03-11 15:43:16.000000000 +0100
-@@ -974,7 +974,7 @@
- if (!ret)
- ret=add_file(percent, fullpathname, NULL, &File_list,
- &File_tail, NULL);
-- if ( (!ret && fullpathname != locpathname) || strcmp(sp, "all") == 0 )
-+ if (!ret && strncmp(fullpathname, locpathname, sizeof(fullpathname)))
- ret=add_file(percent, locpathname, NULL, &File_list,
- &File_tail, NULL);
-
-@@ -985,7 +985,8 @@
- }
- if (!ret)
- return FALSE;
--
-+ if (strncmp(fullpathname, locpathname, sizeof(fullpathname)) && strcmp(sp, "all") == 0)
-+ add_file(percent, locpathname, NULL, &File_list, &File_tail, NULL);
- }
- else
- if (!add_file(percent, fullpathname, NULL, &File_list,
diff --git a/extra/fortune-mod/LICENSE b/extra/fortune-mod/LICENSE
deleted file mode 100644
index d0ad75977..000000000
--- a/extra/fortune-mod/LICENSE
+++ /dev/null
@@ -1,35 +0,0 @@
-/*-
- * Copyright (c) 1986, 1993
- * The Regents of the University of California. All rights reserved.
- *
- * This code is derived from software contributed to Berkeley by
- * Ken Arnold.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
- * may be used to endorse or promote products derived from this software
- * without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
diff --git a/extra/fortune-mod/PKGBUILD b/extra/fortune-mod/PKGBUILD
deleted file mode 100644
index 9cc9b6ac7..000000000
--- a/extra/fortune-mod/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 128484 2011-06-24 04:37:24Z eric $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Dale Blount <archlinux@dale.us>
-
-pkgname=fortune-mod
-pkgver=1.99.1
-pkgrel=5
-pkgdesc="The Fortune Cookie Program from BSD games"
-arch=('i686' 'x86_64')
-url="http://www.redellipse.net/code/fortune"
-license=('BSD')
-depends=('recode')
-source=(ftp://ftp.archlinux.org/other/fortune-mod/$pkgname-$pkgver.tar.gz LICENSE 01_all_fortune_all-fix.patch)
-md5sums=('f208805b3b712e32997d7667e0ec52d8'
- '0217481ae93971296cfb7872157cabb7'
- 'e85b073f16dc6f0e8f0ed90044797aa3')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -p0 < ../01_all_fortune_all-fix.patch
- make REGEXDEFS='-DHAVE_REGEX_H -DPOSIX_REGEX -DHAVE_STDBOOL' \
- COOKIEDIR=/usr/share/fortune \
- LOCALDIR=/usr/local/share/fortune all fortune/fortune.man
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make FORTDIR="$pkgdir"/usr/bin \
- COOKIEDIR="$pkgdir"/usr/share/fortune \
- BINDIR="$pkgdir"/usr/sbin \
- BINMANDIR="$pkgdir"/usr/share/man/man1 \
- FORTMANDIR="$pkgdir"/usr/share/man/man6 install
- rm "$pkgdir"/usr/share/fortune/*.u8
- rm "$pkgdir"/usr/share/fortune/off/*.u8
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
diff --git a/extra/fping/PKGBUILD b/extra/fping/PKGBUILD
index 01300dc14..c512c1dcd 100644
--- a/extra/fping/PKGBUILD
+++ b/extra/fping/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fping
pkgver=3.4
pkgrel=1
pkgdesc="A utility to ping multiple hosts at once"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.fping.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/fprintd/PKGBUILD b/extra/fprintd/PKGBUILD
index ebb8ee844..64fbe4918 100644
--- a/extra/fprintd/PKGBUILD
+++ b/extra/fprintd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=fprintd
pkgver=0.4.1
pkgrel=5
pkgdesc="D-Bus service to access fingerprint readers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/fprint/fprintd"
license=(GPL)
depends=(libfprint dbus-glib polkit)
diff --git a/extra/freealut/PKGBUILD b/extra/freealut/PKGBUILD
index ae34c1a82..01c3b1a78 100644
--- a/extra/freealut/PKGBUILD
+++ b/extra/freealut/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=freealut
pkgver=1.1.0
pkgrel=4
pkgdesc="OpenAL Utility Toolkit (ALUT)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.openal.org"
license=("LGPL")
depends=('openal')
diff --git a/extra/freeciv/PKGBUILD b/extra/freeciv/PKGBUILD
index e4780f99d..08a0e8859 100644
--- a/extra/freeciv/PKGBUILD
+++ b/extra/freeciv/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=freeciv
pkgver=2.3.2
pkgrel=1
pkgdesc="A multiuser clone of the famous Microprose game of Civilization"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freeciv.org/"
license=('GPL')
depends=('gtk2' 'sdl_mixer' 'hicolor-icon-theme')
diff --git a/extra/freeglut/PKGBUILD b/extra/freeglut/PKGBUILD
index a0196905e..d05d24f5c 100644
--- a/extra/freeglut/PKGBUILD
+++ b/extra/freeglut/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=freeglut
pkgver=2.8.0
pkgrel=2
pkgdesc="Provides functionality for small OpenGL programs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freeglut.sourceforge.net/"
license=('MIT')
depends=('libxi' 'libxrandr' 'libgl')
diff --git a/extra/freenx/PKGBUILD b/extra/freenx/PKGBUILD
index f686b0bb1..3a10f6ed9 100644
--- a/extra/freenx/PKGBUILD
+++ b/extra/freenx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=freenx
pkgver=0.7.3
pkgrel=13
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=('nx-common' 'nx-x11' 'nxagent' 'nxproxy' 'gnu-netcat' 'inetutils' 'openssh' 'expect' 'python2' 'python2-gobject'
diff --git a/extra/freetds/PKGBUILD b/extra/freetds/PKGBUILD
index c91427f2c..99103bbd1 100644
--- a/extra/freetds/PKGBUILD
+++ b/extra/freetds/PKGBUILD
@@ -3,10 +3,10 @@
pkgname=freetds
pkgver=0.91
-pkgrel=2
+pkgrel=2.1
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 6ca6455ff..3bd67cbf0 100644
--- a/extra/freetype2/PKGBUILD
+++ b/extra/freetype2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=freetype2
pkgver=2.4.10
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' 'bzip2' 'sh')
diff --git a/extra/fribidi/PKGBUILD b/extra/fribidi/PKGBUILD
index 3bd5ad3b8..607a963b0 100644
--- a/extra/fribidi/PKGBUILD
+++ b/extra/fribidi/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=fribidi
pkgver=0.19.4
-pkgrel=1
+pkgrel=1.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 c003f806c..319170b24 100644
--- a/extra/frozen-bubble/PKGBUILD
+++ b/extra/frozen-bubble/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=2.2.1-beta1
pkgver=${_pkgver/-/}
pkgrel=4
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 37c9af86b..ac9038cbc 100644
--- a/extra/fsarchiver/PKGBUILD
+++ b/extra/fsarchiver/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=fsarchiver
pkgver=0.6.15
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=('GPL2')
depends=('bzip2' 'e2fsprogs' 'lzo2' 'xz' 'libgcrypt')
diff --git a/extra/fssos-nsvs/PKGBUILD b/extra/fssos-nsvs/PKGBUILD
index a2c1af331..8ead4af7b 100644
--- a/extra/fssos-nsvs/PKGBUILD
+++ b/extra/fssos-nsvs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fssos-nsvs
pkgver=0.5
pkgrel=9
pkgdesc="NSVS for FSSOS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fssos.sourceforge.net/"
license=('GPL')
depends=('bash' 'mysql')
diff --git a/extra/ftgl/PKGBUILD b/extra/ftgl/PKGBUILD
index 420187c14..14c9cf343 100644
--- a/extra/ftgl/PKGBUILD
+++ b/extra/ftgl/PKGBUILD
@@ -8,7 +8,7 @@ _pkgver=2.1.3-rc5
pkgver=${_pkgver/-/}
pkgrel=5
pkgdesc="OpenGL library to use arbitrary fonts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://ftgl.wiki.sourceforge.net/"
license=('MIT')
depends=('freetype2' 'glu')
diff --git a/extra/ftjam/PKGBUILD b/extra/ftjam/PKGBUILD
index 42726f3cb..f267920a9 100644
--- a/extra/ftjam/PKGBUILD
+++ b/extra/ftjam/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=ftjam
pkgver=2.5.3rc2
-pkgrel=3
+pkgrel=3.1
pkgdesc='FT Jam - an enhanced version of the Jam build tool'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freetype.org/jam/"
license=('custom')
depends=('glibc')
diff --git a/extra/fuse/PKGBUILD b/extra/fuse/PKGBUILD
index 6b1505a4f..514dc00bf 100644
--- a/extra/fuse/PKGBUILD
+++ b/extra/fuse/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=fuse
pkgver=2.9.2
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 3f9d2819e..166deaa04 100644
--- a/extra/fvwm/PKGBUILD
+++ b/extra/fvwm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fvwm
pkgver=2.6.5
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/fyre/PKGBUILD b/extra/fyre/PKGBUILD
index 061d99698..496b32468 100644
--- a/extra/fyre/PKGBUILD
+++ b/extra/fyre/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=fyre
pkgver=1.0.1
pkgrel=6
pkgdesc="Rendering of the Peter de Jong map"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="http://fyre.navi.cx/"
license=('GPL')
depends=('openexr' 'libglade' 'gnet' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils')
diff --git a/extra/gamin/PKGBUILD b/extra/gamin/PKGBUILD
index aaad6ef5a..77713b212 100644
--- a/extra/gamin/PKGBUILD
+++ b/extra/gamin/PKGBUILD
@@ -5,11 +5,11 @@
pkgname=gamin
pkgver=0.1.10
-pkgrel=6
+pkgrel=6.1
pkgdesc='File and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor)'
url='http://www.gnome.org/~veillard/gamin'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glib2')
makedepends=('python2')
options=('libtool')
diff --git a/extra/garcon/PKGBUILD b/extra/garcon/PKGBUILD
index f0c3d1ccd..fbf467c1e 100644
--- a/extra/garcon/PKGBUILD
+++ b/extra/garcon/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=garcon
pkgver=0.2.0
pkgrel=1
pkgdesc="Implementation of the freedesktop.org menu specification"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wiki.xfce.org/dev/garcon"
license=('LGPL')
groups=('xfce4')
diff --git a/extra/gc/PKGBUILD b/extra/gc/PKGBUILD
index 66c6d8dda..a12e2d245 100644
--- a/extra/gc/PKGBUILD
+++ b/extra/gc/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gc
pkgver=7.2.d
-pkgrel=1
+pkgrel=1.1
pkgdesc="A garbage collector for C and C++"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
license=('GPL')
source=("http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/${pkgname}-7.2d.tar.gz")
diff --git a/extra/gcalctool/PKGBUILD b/extra/gcalctool/PKGBUILD
index 7045cd6c1..c0c4eae21 100644
--- a/extra/gcalctool/PKGBUILD
+++ b/extra/gcalctool/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gcalctool
pkgver=6.6.2
pkgrel=1
pkgdesc="GNOME Scientific calculator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'dconf')
makedepends=('intltool' 'yelp-tools')
diff --git a/extra/gcc4.6/PKGBUILD b/extra/gcc4.6/PKGBUILD
deleted file mode 100644
index 80f3fc24e..000000000
--- a/extra/gcc4.6/PKGBUILD
+++ /dev/null
@@ -1,95 +0,0 @@
-# $Id: PKGBUILD 162071 2012-06-19 12:28:59Z allan $
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
-# Contributor: Allan McRae <allan@archlinux.org>
-
-pkgname=gcc4.6
-pkgver=4.6.3
-_ver=${pkgver:0:3}
-pkgrel=2
-pkgdesc="The GNU Compiler Collection ($_ver; C and C++)"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL' 'custom')
-url="http://gcc.gnu.org"
-depends=('glibc' 'binutils' 'gmp' 'mpfr' 'libmpc' 'ppl' 'isl' 'cloog')
-makedepends=('flex' 'bison')
-checkdepends=('dejagnu')
-options=('!libtool' '!emptydirs')
-source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2
- gcc_pure64.patch
- gcc-hash-style-both.patch
- gcc-4.6.2-cloog-0.17.patch)
-md5sums=('773092fe5194353b02bb0110052a972e'
- '4030ee1c08dd1e843c0225b772360e76'
- '4df25b623799b148a0703eaeec8fdf3f'
- '6d9939a2e667376031679ac9f9c49263')
-
-build() {
- cd gcc-$pkgver
-
- # Do not install libiberty
- sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
-
- # Do not run fixincludes
- sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
-
- if [ "${CARCH}" = "x86_64" ]; then
- patch -p1 -i ${srcdir}/gcc_pure64.patch
- fi
- patch -p0 -i ${srcdir}/gcc-hash-style-both.patch
-
- # compatibility with latest cloog
- patch -p1 -i ${srcdir}/gcc-4.6.2-cloog-0.17.patch
-
- echo ${pkgver} > gcc/BASE-VER
-
- cd ..
- mkdir gcc-build
- cd gcc-build
-
- ../gcc-$pkgver/configure --prefix=/usr \
- --libdir=/usr/lib --libexecdir=/usr/lib \
- --mandir=/usr/share/man --infodir=/usr/share/info \
- --datadir=/usr/share/gcc-$_ver \
- --with-bugurl=https://bugs.archlinux.org/ \
- --enable-languages=c,c++,lto \
- --enable-shared --enable-threads=posix \
- --with-system-zlib --enable-__cxa_atexit \
- --disable-libunwind-exceptions --enable-clocale=gnu \
- --disable-libstdcxx-pch --enable-libstdcxx-time \
- --enable-gnu-unique-object --enable-linker-build-id \
- --with-ppl --enable-cloog-backend=isl \
- --enable-lto --enable-gold --enable-ld=default \
- --enable-plugin --with-plugin-ld=ld.gold \
- --disable-multilib --disable-libssp \
- --enable-checking=release \
- --program-suffix=-$_ver \
- --enable-version-specific-runtime-libs
-
- make
-}
-
-check() {
- # increase stack size to prevent test failures
- # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
- ulimit -s 32768
-
- # do not abort on error as some are "expected"
- make -C gcc-build -k check || true
- gcc-$pkgver/contrib/test_summary
-}
-
-package()
-{
- make -j1 -C gcc-build DESTDIR=${pkgdir} install
-
- # Install Runtime Library Exception
- install -Dm644 gcc-$pkgver/COPYING.RUNTIME \
- $pkgdir/usr/share/licenses/$pkgname/RUNTIME.LIBRARY.EXCEPTION
-
- # deal with conflicting man and info pages
- cd $pkgdir
- rm usr/share/man/man7/{fsf-funding,gfdl,gpl}.7
- for i in usr/share/info/*; do
- mv $i ${i%.info}-$_ver.info
- done
-}
diff --git a/extra/gcc4.6/gcc-4.6.2-cloog-0.17.patch b/extra/gcc4.6/gcc-4.6.2-cloog-0.17.patch
deleted file mode 100644
index 0503a05ed..000000000
--- a/extra/gcc4.6/gcc-4.6.2-cloog-0.17.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -Naur gcc-4.6-20120120-orig/configure gcc-4.6-20120120/configure
---- gcc-4.6-20120120-orig/configure 2011-12-18 20:03:44.000000000 +1000
-+++ gcc-4.6-20120120/configure 2012-02-03 17:55:14.885990135 +1000
-@@ -6049,8 +6049,8 @@
- LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
-
- if test "${cloog_org}" = yes ; then
-- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
--$as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
-+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17 of CLooG" >&5
-+$as_echo_n "checking for version 0.17 of CLooG... " >&6; }
- if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
- $as_echo_n "(cached) " >&6
- else
-@@ -6061,8 +6061,7 @@
- main ()
- {
- #if CLOOG_VERSION_MAJOR != 0 \
-- || CLOOG_VERSION_MINOR != 16 \
-- || CLOOG_VERSION_REVISION < 1
-+ || CLOOG_VERSION_MINOR != 17
- choke me
- #endif
- ;
-diff -Naur gcc-4.6-20120120-orig/gcc/graphite-clast-to-gimple.c gcc-4.6-20120120/gcc/graphite-clast-to-gimple.c
---- gcc-4.6-20120120-orig/gcc/graphite-clast-to-gimple.c 2011-03-13 08:05:38.000000000 +1000
-+++ gcc-4.6-20120120/gcc/graphite-clast-to-gimple.c 2012-02-03 17:51:47.943463879 +1000
-@@ -1367,7 +1367,7 @@
- /* Change cloog output language to C. If we do use FORTRAN instead, cloog
- will stop e.g. with "ERROR: unbounded loops not allowed in FORTRAN.", if
- we pass an incomplete program to cloog. */
-- options->language = LANGUAGE_C;
-+ options->language = CLOOG_LANGUAGE_C;
-
- /* Enable complex equality spreading: removes dummy statements
- (assignments) in the generated code which repeats the
diff --git a/extra/gcc4.6/gcc-hash-style-both.patch b/extra/gcc4.6/gcc-hash-style-both.patch
deleted file mode 100644
index 8b59f4535..000000000
--- a/extra/gcc4.6/gcc-hash-style-both.patch
+++ /dev/null
@@ -1,122 +0,0 @@
---- gcc/config/alpha/linux-elf.h.orig 2010-12-09 23:27:07.000000000 +1000
-+++ gcc/config/alpha/linux-elf.h 2011-03-11 10:01:47.770000457 +1000
-@@ -41,7 +41,7 @@
-
- #define ELF_DYNAMIC_LINKER LINUX_DYNAMIC_LINKER
-
--#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
-+#define LINK_SPEC "-m elf64alpha --hash-style=both %{G*} %{relax:-relax} \
- %{O*:-O3} %{!O*:-O1} \
- %{shared:-shared} \
- %{!shared: \
---- gcc/config/i386/linux64.h.orig 2011-03-03 08:35:36.000000000 +1000
-+++ gcc/config/i386/linux64.h 2011-03-11 10:01:47.770000457 +1000
-@@ -78,7 +78,7 @@
- %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
-
- #undef LINK_SPEC
--#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \
-+#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} --hash-style=both \
- %{shared:-shared} \
- %{!shared: \
- %{!static: \
---- gcc/config/i386/linux.h.orig 2011-01-15 04:45:06.000000000 +1000
-+++ gcc/config/i386/linux.h 2011-03-11 10:01:47.770000457 +1000
-@@ -104,7 +104,7 @@
- { "dynamic_linker", LINUX_DYNAMIC_LINKER }
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
-+#define LINK_SPEC "-m %(link_emulation) --hash-style=both %{shared:-shared} \
- %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
---- gcc/config/ia64/linux.h.orig 2010-12-09 23:27:07.000000000 +1000
-+++ gcc/config/ia64/linux.h 2011-03-11 10:01:47.770000457 +1000
-@@ -64,7 +64,7 @@
- #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
-
- #undef LINK_SPEC
--#define LINK_SPEC "\
-+#define LINK_SPEC "--hash-style=both \
- %{shared:-shared} \
- %{!shared: \
- %{!static: \
---- gcc/config/rs6000/linux64.h.orig 2011-02-11 03:30:10.000000000 +1000
-+++ gcc/config/rs6000/linux64.h 2011-03-11 10:03:34.280000457 +1000
-@@ -389,11 +389,11 @@
- CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64)
-
-
--#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}"
-
--#define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC64 "-m elf64ppc --hash-style=both %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}"
-
---- gcc/config/rs6000/sysv4.h.orig 2011-01-28 04:36:03.000000000 +1000
-+++ gcc/config/rs6000/sysv4.h 2011-03-11 10:01:47.773333792 +1000
-@@ -830,7 +830,7 @@
- #define LINUX_DYNAMIC_LINKER \
- CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
-
--#define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
-+#define LINK_OS_LINUX_SPEC "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \
- %{rdynamic:-export-dynamic} \
- -dynamic-linker " LINUX_DYNAMIC_LINKER "}}"
-
---- gcc/config/s390/linux.h.orig 2010-12-09 23:27:07.000000000 +1000
-+++ gcc/config/s390/linux.h 2011-03-11 10:01:47.770000457 +1000
-@@ -77,7 +77,7 @@
-
- #undef LINK_SPEC
- #define LINK_SPEC \
-- "%{m31:-m elf_s390}%{m64:-m elf64_s390} \
-+ "%{m31:-m elf_s390}%{m64:-m elf64_s390} --hash-style=both \
- %{shared:-shared} \
- %{!shared: \
- %{static:-static} \
---- gcc/config/sparc/linux64.h.orig 2011-02-17 23:57:21.000000000 +1000
-+++ gcc/config/sparc/linux64.h 2011-03-11 10:01:47.770000457 +1000
-@@ -113,7 +113,7 @@
- { "link_arch_default", LINK_ARCH_DEFAULT_SPEC }, \
- { "link_arch", LINK_ARCH_SPEC },
-
--#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
-+#define LINK_ARCH32_SPEC "-m elf32_sparc --hash-style=both -Y P,%R/usr/lib %{shared:-shared} \
- %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
-@@ -121,7 +121,7 @@
- %{static:-static}} \
- "
-
--#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
-+#define LINK_ARCH64_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \
- %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
-@@ -193,7 +193,7 @@
- #else /* !SPARC_BI_ARCH */
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
-+#define LINK_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \
- %{!shared: \
- %{!static: \
- %{rdynamic:-export-dynamic} \
---- gcc/config/sparc/linux.h.orig 2011-01-27 06:30:12.000000000 +1000
-+++ gcc/config/sparc/linux.h 2011-03-11 10:01:47.770000457 +1000
-@@ -74,7 +74,7 @@
- #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
-
- #undef LINK_SPEC
--#define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
-+#define LINK_SPEC "-m elf32_sparc --hash-style=both -Y P,/usr/lib %{shared:-shared} \
- %{!mno-relax:%{!r:-relax}} \
- %{!shared: \
- %{!static: \
diff --git a/extra/gcc4.6/gcc_pure64.patch b/extra/gcc4.6/gcc_pure64.patch
deleted file mode 100644
index 8c0baf8e2..000000000
--- a/extra/gcc4.6/gcc_pure64.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Naur gcc-4.2.0.orig/gcc/config/i386/linux64.h gcc-4.2.0/gcc/config/i386/linux64.h
---- gcc-4.2.0.orig/gcc/config/i386/linux64.h 2007-05-16 19:21:19.000000000 -0400
-+++ gcc-4.2.0/gcc/config/i386/linux64.h 2007-05-18 17:04:05.000000000 -0400
-@@ -49,8 +49,8 @@
- When the -shared link option is used a final link is not being
- done. */
-
--#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
--#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
-+#define GLIBC_DYNAMIC_LINKER32 "/lib32/ld-linux.so.2"
-+#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
-
- #undef LINK_SPEC
- #define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386} \
-diff -Naur gcc-4.2.0.orig/gcc/config/i386/t-linux64 gcc-4.2.0/gcc/config/i386/t-linux64
---- gcc-4.2.0.orig/gcc/config/i386/t-linux64 2007-05-16 19:21:19.000000000 -0400
-+++ gcc-4.2.0/gcc/config/i386/t-linux64 2007-05-18 17:04:36.000000000 -0400
-@@ -6,7 +6,7 @@
-
- MULTILIB_OPTIONS = m64/m32
- MULTILIB_DIRNAMES = 64 32
--MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
-+MULTILIB_OSDIRNAMES = ../lib ../lib32
-
- LIBGCC = stmp-multilib
- INSTALL_LIBGCC = install-multilib
diff --git a/extra/gcin/PKGBUILD b/extra/gcin/PKGBUILD
index 99848822a..a41e8ba43 100644
--- a/extra/gcin/PKGBUILD
+++ b/extra/gcin/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=2
pkgdesc='Input method server supporting various input methods'
url='http://hyperrate.com/dir.php?eid=67'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gtk2' 'libxtst')
makedepends=('qt' 'gtk3' 'anthy' 'libchewing')
optdepends=('qt: support for qt4 input method'
diff --git a/extra/gconf-editor/PKGBUILD b/extra/gconf-editor/PKGBUILD
index 43e03ae09..03cab56c4 100644
--- a/extra/gconf-editor/PKGBUILD
+++ b/extra/gconf-editor/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gconf-editor
pkgver=3.0.1
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 35f4f4d06..bca9b4528 100644
--- a/extra/gconf-perl/PKGBUILD
+++ b/extra/gconf-perl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gconf-perl
pkgver=1.044
pkgrel=7
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 31e7a370f..04dbecf47 100644
--- a/extra/gconf/PKGBUILD
+++ b/extra/gconf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gconf
pkgver=3.2.5
pkgrel=3
pkgdesc="A configuration database system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('libxml2' 'polkit' 'libldap' 'dbus-glib' 'gtk3')
makedepends=('intltool' 'gtk-doc' 'gobject-introspection')
diff --git a/extra/gconfmm/PKGBUILD b/extra/gconfmm/PKGBUILD
index b43048a61..35a710493 100644
--- a/extra/gconfmm/PKGBUILD
+++ b/extra/gconfmm/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=gconfmm
pkgname=('gconfmm' 'gconfmm-docs')
pkgver=2.28.3
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkmm.sourceforge.net/"
license=('LGPL')
makedepends=('pkgconfig' 'gtkmm' 'glibmm-docs' 'gconf' 'glibmm')
diff --git a/extra/gcr/PKGBUILD b/extra/gcr/PKGBUILD
index bdb1d23c1..c29e0c91c 100644
--- a/extra/gcr/PKGBUILD
+++ b/extra/gcr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gcr
pkgver=3.6.2
pkgrel=2
pkgdesc="A library for bits of crypto UI and parsing"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL2')
depends=('dconf' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libgcrypt')
diff --git a/extra/gd/PKGBUILD b/extra/gd/PKGBUILD
index 2d89e7bd2..a922c95b2 100644
--- a/extra/gd/PKGBUILD
+++ b/extra/gd/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gd
pkgver=2.0.36RC1
-pkgrel=5
+pkgrel=5.1
pkgdesc="Library for the dynamic creation of images by programmers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.libgd.org/"
license=('custom')
depends=('libpng' 'fontconfig' 'libjpeg')
diff --git a/extra/gdb/PKGBUILD b/extra/gdb/PKGBUILD
index 034a01a0e..bb3774375 100644
--- a/extra/gdb/PKGBUILD
+++ b/extra/gdb/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gdb
pkgver=7.5
-pkgrel=1
+pkgrel=1.1
pkgdesc="The GNU Debugger"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gdb/"
license=('GPL3')
depends=('ncurses' 'expat' 'python2')
diff --git a/extra/gdk-pixbuf2/PKGBUILD b/extra/gdk-pixbuf2/PKGBUILD
index d1f17eb87..8d781b97a 100644
--- a/extra/gdk-pixbuf2/PKGBUILD
+++ b/extra/gdk-pixbuf2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gdk-pixbuf2
pkgver=2.26.5
pkgrel=1
pkgdesc="An image loading library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('LGPL2.1')
depends=('glib2' 'libpng' 'libtiff' 'libjpeg' 'libx11')
diff --git a/extra/gdl/PKGBUILD b/extra/gdl/PKGBUILD
index 163735e0a..8ccebacfa 100644
--- a/extra/gdl/PKGBUILD
+++ b/extra/gdl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gdl
pkgver=3.6.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 4ca035881..6bc85e9f8 100644
--- a/extra/gdm/PKGBUILD
+++ b/extra/gdm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gdm
pkgver=3.6.2
pkgrel=1
pkgdesc="Gnome Display Manager"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL)
url="http://www.gnome.org"
backup=(etc/pam.d/gdm-autologin etc/pam.d/gdm-fingerprint etc/pam.d/gdm-launch-environment
diff --git a/extra/gdome2/PKGBUILD b/extra/gdome2/PKGBUILD
index 6f97ea5ea..276d4b04e 100644
--- a/extra/gdome2/PKGBUILD
+++ b/extra/gdome2/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=gdome2
pkgver=0.8.1
-pkgrel=4
+pkgrel=4.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/gedit/PKGBUILD b/extra/gedit/PKGBUILD
index 3ba84e22f..4a3c717a3 100644
--- a/extra/gedit/PKGBUILD
+++ b/extra/gedit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gedit
pkgver=3.6.2
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' 'python2-gobject' 'dconf')
makedepends=('yelp-tools' 'intltool')
diff --git a/extra/geeqie/PKGBUILD b/extra/geeqie/PKGBUILD
index 5c65d5f78..68f9e1ccc 100644
--- a/extra/geeqie/PKGBUILD
+++ b/extra/geeqie/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geeqie
pkgver=1.1
pkgrel=2
pkgdesc="A lightweight image browser and viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://geeqie.sourceforge.net/"
license=('GPL2')
depends=('exiv2' 'gtk2' 'lcms' 'desktop-file-utils')
diff --git a/extra/gegl/PKGBUILD b/extra/gegl/PKGBUILD
index 6e9cfd9ea..c482458e9 100644
--- a/extra/gegl/PKGBUILD
+++ b/extra/gegl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gegl
pkgver=0.2.0
pkgrel=5
pkgdesc="Graph based image processing framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gegl.org/"
license=('GPL3' 'LGPL3')
depends=('babl' 'gtk2')
diff --git a/extra/genius/PKGBUILD b/extra/genius/PKGBUILD
index 38916969c..aab140682 100644
--- a/extra/genius/PKGBUILD
+++ b/extra/genius/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=genius
pkgver=1.0.15
-pkgrel=1
+pkgrel=1.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/geoclue/PKGBUILD b/extra/geoclue/PKGBUILD
index 851e5725f..fec20cde7 100644
--- a/extra/geoclue/PKGBUILD
+++ b/extra/geoclue/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geoclue
pkgver=0.12.0
pkgrel=5
pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://geoclue.freedesktop.org/"
license=('LGPL')
depends=('dbus-glib' 'libxml2')
diff --git a/extra/geoip/PKGBUILD b/extra/geoip/PKGBUILD
index 8e75a5e94..c9dd7b476 100644
--- a/extra/geoip/PKGBUILD
+++ b/extra/geoip/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=geoip
pkgver=1.4.8
pkgrel=2
pkgdesc="Non-DNS IP-to-country resolver C library & utils"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.maxmind.com/app/c"
license=('GPL')
depends=('zlib' 'geoip-database')
diff --git a/extra/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/ggz-client-libs/PKGBUILD b/extra/ggz-client-libs/PKGBUILD
deleted file mode 100644
index 88c0e564c..000000000
--- a/extra/ggz-client-libs/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 149560 2012-02-08 14:11:20Z tpowa $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-
-pkgname=ggz-client-libs
-pkgver=0.0.14.1
-pkgrel=3
-pkgdesc="GGZ client library, used by the GGZ Gaming Zone server (ggzd), the ggzcore library and other components"
-arch=('i686' 'x86_64')
-url="http://www.ggzgamingzone.org/"
-license=('LGPL')
-depends=('libggz>=0.0.14.1' 'expat>=2.0.1')
-options=('!libtool')
-source=("http://ftp.ggzgamingzone.org/pub/ggz/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('299eaa93721b1d867b5bf7dc6ac764b0')
-
-build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var
- make
-}
-
-package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/ggz-gtk-client/PKGBUILD b/extra/ggz-gtk-client/PKGBUILD
deleted file mode 100644
index 4f886abb8..000000000
--- a/extra/ggz-gtk-client/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 143018 2011-11-21 01:24:00Z eric $
-# Maintainer: Eric Bélanger <eric@archlinux.org>
-# Contributor: dazzy
-
-pkgname=ggz-gtk-client
-pkgver=0.0.14.1
-pkgrel=5
-pkgdesc="GGZ Gaming Zone GTK+ client"
-arch=('i686' 'x86_64')
-url="http://www.ggzgamingzone.org/"
-license=('GPL')
-depends=('gtk2' 'ggz-client-libs')
-options=('!libtool')
-source=(http://ftp.ggzgamingzone.org/pub/ggz/${pkgver}/ggz-gtk-client-${pkgver}.tar.gz
- gtk2.patch)
-md5sums=('87f67ff01f867bd04ba894a7c6a9f7fc'
- '368f993d07befd41681ac76ef532b448')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i "${srcdir}/gtk2.patch"
- ./configure --prefix=/usr --sysconfdir=/etc --disable-debug
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/ggz-gtk-client/gtk2.patch b/extra/ggz-gtk-client/gtk2.patch
deleted file mode 100644
index b8332f401..000000000
--- a/extra/ggz-gtk-client/gtk2.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- ggz-gtk-client-0.0.14.1/ggz-gtk/props.c 2008-01-05 20:03:36.000000000 +0100
-+++ ggz-gtk-client-0.0.14.1.PATCHED/ggz-gtk/props.c 2010-08-04 01:53:37.573425091 +0200
-@@ -1203,7 +1203,7 @@
- gtk_box_pack_start (GTK_BOX (vbox9), color_table, TRUE, TRUE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (color_table), 3);
-
-- h_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 1);
-+ h_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 0);
- h_spin = gtk_spin_button_new (GTK_ADJUSTMENT (h_spin_adj), 1, 0);
- gtk_widget_ref (h_spin);
- g_object_set_data_full(G_OBJECT (dlg_props), "h_spin", h_spin,
-@@ -1213,7 +1213,7 @@
- (GtkAttachOptions) (0), 0, 0);
- gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (h_spin), TRUE);
-
-- n_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 1);
-+ n_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 0);
- n_spin = gtk_spin_button_new (GTK_ADJUSTMENT (n_spin_adj), 1, 0);
- gtk_widget_ref (n_spin);
- g_object_set_data_full(G_OBJECT (dlg_props), "n_spin", n_spin,
-@@ -1223,7 +1223,7 @@
- (GtkAttachOptions) (0), 0, 0);
- gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (n_spin), TRUE);
-
-- f_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 1);
-+ f_spin_adj = gtk_adjustment_new (1, 0, 15, 1, 1, 0);
- f_spin = gtk_spin_button_new (GTK_ADJUSTMENT (f_spin_adj), 1, 0);
- gtk_widget_ref (f_spin);
- g_object_set_data_full(G_OBJECT (dlg_props), "f_spin", f_spin,
---- ggz-gtk-client-0.0.14.1/ggz-gtk/xtext.c 2008-01-05 20:03:36.000000000 +0100
-+++ ggz-gtk-client-0.0.14.1.PATCHED/ggz-gtk/xtext.c 2010-08-04 01:52:36.446764446 +0200
-@@ -720,7 +720,7 @@
- xtext->overdraw = FALSE;
- xtext->tint_red = xtext->tint_green = xtext->tint_blue = TINT_VALUE;
-
-- xtext->adj = (GtkAdjustment *) gtk_adjustment_new (0, 0, 1, 1, 1, 1);
-+ xtext->adj = (GtkAdjustment *) gtk_adjustment_new (0, 0, 1, 1, 1, 0);
- g_object_ref (G_OBJECT (xtext->adj));
- gtk_object_sink ((GtkObject *) xtext->adj);
-
diff --git a/extra/ghc/PKGBUILD b/extra/ghc/PKGBUILD
index d3a32f5b5..19393772c 100644
--- a/extra/ghc/PKGBUILD
+++ b/extra/ghc/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=ghc
pkgver=7.6.1
pkgrel=1
pkgdesc='The Glasgow Haskell Compiler'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.haskell.org/ghc/'
license=('custom')
# libffi might be needed in the future: http://hackage.haskell.org/trac/ghc/ticket/4496
diff --git a/extra/ghex/PKGBUILD b/extra/ghex/PKGBUILD
index 39b1636c2..f7d2ea6fb 100644
--- a/extra/ghex/PKGBUILD
+++ b/extra/ghex/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ghex
pkgver=3.6.1
pkgrel=1
pkgdesc="A simple binary editor for the Gnome desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://live.gnome.org/Ghex"
depends=('gtk3' 'hicolor-icon-theme')
diff --git a/extra/giblib/PKGBUILD b/extra/giblib/PKGBUILD
index 7deebc84e..eb0a5691b 100644
--- a/extra/giblib/PKGBUILD
+++ b/extra/giblib/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=giblib
pkgver=1.2.4
-pkgrel=5
+pkgrel=5.1
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 fe234f1e0..26ad7ed3b 100644
--- a/extra/gif2png/PKGBUILD
+++ b/extra/gif2png/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=gif2png
pkgver=2.5.8
-pkgrel=1
+pkgrel=1.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 d92ecb746..6a163257e 100644
--- a/extra/giflib/PKGBUILD
+++ b/extra/giflib/PKGBUILD
@@ -6,10 +6,10 @@
pkgname=giflib
pkgver=4.1.6
-pkgrel=5
+pkgrel=5.1
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 b2688d96c..0a425d14c 100644
--- a/extra/gifsicle/PKGBUILD
+++ b/extra/gifsicle/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gifsicle
pkgver=1.64
-pkgrel=1
+pkgrel=1.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 9ebff69c5..478388e45 100644
--- a/extra/gimp-dbp/PKGBUILD
+++ b/extra/gimp-dbp/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gimp-dbp
pkgver=1.1.9
-pkgrel=3
+pkgrel=3.1
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-gap/PKGBUILD b/extra/gimp-gap/PKGBUILD
index cb6c612e4..2662f85ba 100644
--- a/extra/gimp-gap/PKGBUILD
+++ b/extra/gimp-gap/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gimp-gap
pkgver=2.6.0
-pkgrel=3
+pkgrel=3.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' 'xvidcore' 'bash' 'libjpeg')
@@ -17,7 +17,8 @@ md5sums=('249ed829de8b78675c0fe4ef4212089f')
build() {
cd "$srcdir/$pkgname-$pkgver"
- [ "$CARCH" = "x86_64" ] && CFLAGS+="-fPIC"
+ [ "$CARCH" != "i686" ] && CFLAGS+=" -fPIC"
+ sed -ri 's/^gap_(plugins|morph)_LDADD .+$/& -lm/' gap/Makefile.in
./configure --prefix=/usr
make
}
diff --git a/extra/gimp-ufraw/PKGBUILD b/extra/gimp-ufraw/PKGBUILD
index 229d4bbe1..2880e7ba7 100644
--- a/extra/gimp-ufraw/PKGBUILD
+++ b/extra/gimp-ufraw/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.18
pkgrel=5
pkgdesc="Standalone or gimp plugin converter for raw files"
url="http://ufraw.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtkimageview' 'exiv2' 'lcms' 'bzip2' 'desktop-file-utils')
makedepends=('gimp' 'cinepaint')
diff --git a/extra/gimp/PKGBUILD b/extra/gimp/PKGBUILD
index f60ef6263..af3987c78 100644
--- a/extra/gimp/PKGBUILD
+++ b/extra/gimp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gimp
pkgver=2.8.2
pkgrel=1
pkgdesc="GNU Image Manipulation Program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gimp.org/"
license=('GPL' 'LGPL')
depends=('pygtk' 'lcms' 'libxpm' 'libwmf' 'libxmu' 'librsvg' 'libmng' 'dbus-glib' \
diff --git a/extra/git/PKGBUILD b/extra/git/PKGBUILD
index 0fa9bee31..72c136bbe 100644
--- a/extra/git/PKGBUILD
+++ b/extra/git/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=git
pkgver=1.8.0
pkgrel=1
pkgdesc="the fast distributed version control system"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://git-scm.com/"
license=('GPL2')
depends=('curl' 'expat>=2.0' 'perl-error' 'perl>=5.14.0' 'openssl' 'pcre')
diff --git a/extra/gjs/PKGBUILD b/extra/gjs/PKGBUILD
index 06c66a70d..b7545d160 100644
--- a/extra/gjs/PKGBUILD
+++ b/extra/gjs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gjs
pkgver=1.34.0
pkgrel=1
pkgdesc="Javascript Bindings for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Gjs"
license=('GPL')
depends=('cairo' 'dbus-glib' 'gobject-introspection' 'js')
diff --git a/extra/gksu/PKGBUILD b/extra/gksu/PKGBUILD
index 37f871cae..7e0f33e15 100644
--- a/extra/gksu/PKGBUILD
+++ b/extra/gksu/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gksu
pkgver=2.0.2
-pkgrel=4
+pkgrel=4.1
pkgdesc="A graphical frontend for su"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.nongnu.org/gksu/index.html"
license=('GPL')
depends=('libgksu>=2.0.12' 'xorg-xauth')
diff --git a/extra/glade-perl/PKGBUILD b/extra/glade-perl/PKGBUILD
index cac93c7ca..cf7eaf91c 100644
--- a/extra/glade-perl/PKGBUILD
+++ b/extra/glade-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gtk2-GladeXML
pkgver=1.007
pkgrel=6
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 96b0cb3a1..ca8d16952 100644
--- a/extra/glade/PKGBUILD
+++ b/extra/glade/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=glade
pkgver=3.14.1
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' 'python2-gobject' 'itstool' 'docbook-xsl')
diff --git a/extra/glew/PKGBUILD b/extra/glew/PKGBUILD
index bb4cde357..aa0678618 100644
--- a/extra/glew/PKGBUILD
+++ b/extra/glew/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glew
pkgver=1.9.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' 'glu')
diff --git a/extra/glhack/PKGBUILD b/extra/glhack/PKGBUILD
index dbf68735b..bdd0a6a44 100644
--- a/extra/glhack/PKGBUILD
+++ b/extra/glhack/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=glhack
pkgver=1.2
-pkgrel=6
+pkgrel=6.1
pkgdesc="A port of Nethack, a single player dungeon exploration game in 2D"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://glhack.sourceforge.net/"
license=('custom')
depends=('sdl' 'libpng' 'libgl')
diff --git a/extra/glib-networking/PKGBUILD b/extra/glib-networking/PKGBUILD
index e3a528d2f..46d6ed04d 100644
--- a/extra/glib-networking/PKGBUILD
+++ b/extra/glib-networking/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=glib-networking
pkgver=2.34.2
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 0f92ef23f..083eb6734 100644
--- a/extra/glib-perl/PKGBUILD
+++ b/extra/glib-perl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glib-perl
pkgver=1.260
pkgrel=1
pkgdesc="Perl wrappers for glib 2.x, including GObject"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
options=('!emptydirs')
diff --git a/extra/glib/PKGBUILD b/extra/glib/PKGBUILD
index 480a521e2..b0137cd5b 100644
--- a/extra/glib/PKGBUILD
+++ b/extra/glib/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=glib
pkgver=1.2.10
-pkgrel=9
+pkgrel=9.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')
diff --git a/extra/glibmm/PKGBUILD b/extra/glibmm/PKGBUILD
index 725d2e28c..c8c95b3b4 100644
--- a/extra/glibmm/PKGBUILD
+++ b/extra/glibmm/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=glibmm
pkgname=('glibmm' 'glibmm-docs')
pkgver=2.34.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('glib2' 'libsigc++2.0' 'pkgconfig')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
diff --git a/extra/glpk/PKGBUILD b/extra/glpk/PKGBUILD
index 92619f7bb..f4a7dde1a 100644
--- a/extra/glpk/PKGBUILD
+++ b/extra/glpk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=glpk
pkgver=4.47
pkgrel=2
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')
@@ -21,7 +21,7 @@ build() {
./configure --prefix=/usr
- if [ "$CARCH" == "x86_64" ]; then
+ if [ "$CARCH" != "i686" ]; then
make CFLAGS="$CFLAGS -fPIC"
else
make
diff --git a/extra/glsof/PKGBUILD b/extra/glsof/PKGBUILD
index 5771bf4c6..697e93523 100644
--- a/extra/glsof/PKGBUILD
+++ b/extra/glsof/PKGBUILD
@@ -7,7 +7,7 @@ _fmver=2.1.0
_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/glu/PKGBUILD b/extra/glu/PKGBUILD
index a3905a97e..5c75027b2 100644
--- a/extra/glu/PKGBUILD
+++ b/extra/glu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=glu
pkgver=9.0.0
pkgrel=1
pkgdesc="Mesa OpenGL Utility library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cgit.freedesktop.org/mesa/glu/"
license=('LGPL')
depends=('libgl')
diff --git a/extra/gmetadom/PKGBUILD b/extra/gmetadom/PKGBUILD
index d23208e45..8d6a6d913 100644
--- a/extra/gmetadom/PKGBUILD
+++ b/extra/gmetadom/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gmetadom
pkgver=0.2.6
-pkgrel=3
+pkgrel=3.1
pkgdesc="C++ bindings for GDome2 DOM implementation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmetadom.sourceforge.net/"
license=('LGPL')
depends=('gdome2')
diff --git a/extra/gmime/PKGBUILD b/extra/gmime/PKGBUILD
index 6af819a3f..b1b9121dc 100644
--- a/extra/gmime/PKGBUILD
+++ b/extra/gmime/PKGBUILD
@@ -6,11 +6,11 @@ pkgname=gmime
pkgver=2.6.12
pkgrel=1
pkgdesc="Core mime parsing library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://spruce.sourceforge.net/gmime/"
depends=('glib2' 'gpgme' 'zlib')
-makedepends=('gtk-sharp-2')
+[ "$CARCH" != "mips64el" ] && makedepends=('gtk-sharp-2')
options=('!libtool')
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
sha256sums=('85ccdf29bc8c4801123e28c27d1afadf0b2c5618aae17e6ec78d40d03ef431a8')
diff --git a/extra/gmpc/PKGBUILD b/extra/gmpc/PKGBUILD
index 1cae5f2db..3866be72f 100644
--- a/extra/gmpc/PKGBUILD
+++ b/extra/gmpc/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gmpc
pkgver=11.8.16
-pkgrel=1
+pkgrel=1.1
pkgdesc="A GTK2 client for MPD"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmpclient.org/home"
license=('GPL')
depends=('libunique' 'libmpd' 'libsoup' 'sqlite3' 'hicolor-icon-theme' 'xdg-utils')
diff --git a/extra/gnet/PKGBUILD b/extra/gnet/PKGBUILD
index 60b952e00..c208be302 100644
--- a/extra/gnet/PKGBUILD
+++ b/extra/gnet/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gnet
pkgver=2.0.8
-pkgrel=2
+pkgrel=2.1
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 8b4d0bfe0..e04f5a0b1 100644
--- a/extra/gnokii/PKGBUILD
+++ b/extra/gnokii/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=gnokii
pkgver=0.6.31
-pkgrel=1
+pkgrel=1.1
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 84698b9c1..272287501 100644
--- a/extra/gnome-alsamixer/PKGBUILD
+++ b/extra/gnome-alsamixer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-alsamixer
pkgver=0.9.6
pkgrel=4
pkgdesc="Gnome ALSA mixer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/gnome-alsamixer"
license=('GPL')
depends=('libgnomeui')
diff --git a/extra/gnome-applets/PKGBUILD b/extra/gnome-applets/PKGBUILD
index 4cb695f0b..7ff3ec0d9 100644
--- a/extra/gnome-applets/PKGBUILD
+++ b/extra/gnome-applets/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-applets
pkgver=3.5.92
pkgrel=1
pkgdesc="GNOME Applets"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gnome-panel' 'libgtop' 'gucharmap' 'libnotify')
makedepends=('gnome-doc-utils' 'intltool' 'gnome-settings-daemon' 'networkmanager')
diff --git a/extra/gnome-bluetooth/PKGBUILD b/extra/gnome-bluetooth/PKGBUILD
index 3a1bb3828..7ae8a9b0a 100644
--- a/extra/gnome-bluetooth/PKGBUILD
+++ b/extra/gnome-bluetooth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-bluetooth
pkgver=3.6.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=('gtk3' 'hicolor-icon-theme' 'gvfs-obexftp' 'obexd-client' 'dconf' 'libnotify')
diff --git a/extra/gnome-color-manager/PKGBUILD b/extra/gnome-color-manager/PKGBUILD
index f197877e3..57ebb7056 100644
--- a/extra/gnome-color-manager/PKGBUILD
+++ b/extra/gnome-color-manager/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-color-manager
pkgver=3.6.0
pkgrel=1
pkgdesc="Color profile manager for the GNOME desktop"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://projects.gnome.org/gnome-color-manager/"
license=(GPL2)
depends=('libcanberra' 'vte3' 'exiv2' 'hicolor-icon-theme' 'desktop-file-utils' 'clutter-gtk'
diff --git a/extra/gnome-contacts/PKGBUILD b/extra/gnome-contacts/PKGBUILD
index 865985478..9d8eb65d1 100644
--- a/extra/gnome-contacts/PKGBUILD
+++ b/extra/gnome-contacts/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-contacts
pkgver=3.6.2
pkgrel=1
pkgdesc="Contacts Manager for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL2')
groups=(gnome-extra)
diff --git a/extra/gnome-control-center/PKGBUILD b/extra/gnome-control-center/PKGBUILD
index bdc425a68..df659050e 100644
--- a/extra/gnome-control-center/PKGBUILD
+++ b/extra/gnome-control-center/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-control-center
pkgver=3.6.3
pkgrel=2
pkgdesc="The Control Center for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('accountsservice' 'cups-pk-helper' 'gnome-bluetooth' 'gnome-desktop' 'gnome-menus'
'gnome-online-accounts' 'gnome-settings-daemon' 'gsettings-desktop-schemas' 'gtk3'
'libgtop' 'libsocialweb' 'network-manager-applet' 'sound-theme-freedesktop' 'upower' 'libpwquality' 'libsystemd')
diff --git a/extra/gnome-desktop/PKGBUILD b/extra/gnome-desktop/PKGBUILD
index 116b2fd1c..a55331c2a 100644
--- a/extra/gnome-desktop/PKGBUILD
+++ b/extra/gnome-desktop/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.6.2
pkgrel=1
epoch=1
pkgdesc="Library with common API for various GNOME modules"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
depends=('gsettings-desktop-schemas' 'gtk3' 'xkeyboard-config')
makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection' 'itstool')
diff --git a/extra/gnome-desktop2/PKGBUILD b/extra/gnome-desktop2/PKGBUILD
index e84bd7f64..bb65884ac 100644
--- a/extra/gnome-desktop2/PKGBUILD
+++ b/extra/gnome-desktop2/PKGBUILD
@@ -5,9 +5,9 @@
_pkgname=gnome-desktop
pkgname=${_pkgname}2
pkgver=2.32.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="Library with common API for various GNOME modules (legacy version)"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL LGPL)
depends=(gconf gtk2 startup-notification)
makedepends=(gnome-doc-utils intltool)
@@ -20,7 +20,7 @@ build() {
cd "$srcdir/$_pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
- --with-gnome-distributor="Archlinux" \
+ --with-gnome-distributor="Parabola GNU/Linux-libre" \
--disable-scrollkeeper \
--disable-gnome-about --disable-desktop-docs
diff --git a/extra/gnome-dictionary/PKGBUILD b/extra/gnome-dictionary/PKGBUILD
index 90267e0be..07aa9a54e 100644
--- a/extra/gnome-dictionary/PKGBUILD
+++ b/extra/gnome-dictionary/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=gnome-dictionary
pkgver=3.6.0
pkgrel=1
pkgdesc="Look up words in dictionary sources"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('dconf' 'gtk3')
diff --git a/extra/gnome-disk-utility/PKGBUILD b/extra/gnome-disk-utility/PKGBUILD
index 417a2c196..83bdd92c3 100644
--- a/extra/gnome-disk-utility/PKGBUILD
+++ b/extra/gnome-disk-utility/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-disk-utility
pkgver=3.6.1
pkgrel=1
pkgdesc="Disk Management Utility for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org"
groups=('gnome-extra')
diff --git a/extra/gnome-documents/PKGBUILD b/extra/gnome-documents/PKGBUILD
index 5094c3c34..af7bde26a 100644
--- a/extra/gnome-documents/PKGBUILD
+++ b/extra/gnome-documents/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-documents
pkgver=3.6.2
pkgrel=1
pkgdesc="Documents Manager for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL')
groups=('gnome-extra')
diff --git a/extra/gnome-font-viewer/PKGBUILD b/extra/gnome-font-viewer/PKGBUILD
index e1942b397..785b94dfb 100644
--- a/extra/gnome-font-viewer/PKGBUILD
+++ b/extra/gnome-font-viewer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-font-viewer
pkgver=3.6.1
pkgrel=1
pkgdesc="GNOME font viewer and thumbnailer"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
depends=('gtk3' 'desktop-file-utils' 'gnome-desktop')
makedepends=('intltool')
diff --git a/extra/gnome-games/PKGBUILD b/extra/gnome-games/PKGBUILD
index 05f251d49..a10245342 100644
--- a/extra/gnome-games/PKGBUILD
+++ b/extra/gnome-games/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-games
pkgver=3.6.1
pkgrel=1
pkgdesc="Some Games for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('desktop-file-utils' 'glu' 'libcanberra' 'clutter-gtk' 'hicolor-icon-theme' 'librsvg' 'python2-gobject' 'dconf')
makedepends=('yelp-tools' 'intltool' 'gobject-introspection' 'vala')
diff --git a/extra/gnome-keyring/PKGBUILD b/extra/gnome-keyring/PKGBUILD
index 3f489f182..c66c73b07 100644
--- a/extra/gnome-keyring/PKGBUILD
+++ b/extra/gnome-keyring/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-keyring
pkgver=3.6.2
pkgrel=1
pkgdesc="GNOME Password Management daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('gtk3' 'gcr' 'libcap-ng')
makedepends=('intltool')
diff --git a/extra/gnome-media/PKGBUILD b/extra/gnome-media/PKGBUILD
index d3c017b1c..e0e00534d 100644
--- a/extra/gnome-media/PKGBUILD
+++ b/extra/gnome-media/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-media
pkgver=3.4.0
pkgrel=1
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' 'gnome-doc-utils')
diff --git a/extra/gnome-menus/PKGBUILD b/extra/gnome-menus/PKGBUILD
index 68d7dcbd4..d0ec12f60 100644
--- a/extra/gnome-menus/PKGBUILD
+++ b/extra/gnome-menus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-menus
pkgver=3.6.1
pkgrel=1
pkgdesc="GNOME menu specifications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glib2' 'python2-gobject')
makedepends=('intltool' 'gobject-introspection')
options=('!libtool')
diff --git a/extra/gnome-nettool/PKGBUILD b/extra/gnome-nettool/PKGBUILD
index 2e91ef567..64020997a 100644
--- a/extra/gnome-nettool/PKGBUILD
+++ b/extra/gnome-nettool/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gnome-nettool
pkgver=3.2.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' 'iputils' 'dconf' 'whois' 'hicolor-icon-theme')
makedepends=('gnome-doc-utils' 'intltool' 'nmap' 'net-tools')
diff --git a/extra/gnome-online-accounts/PKGBUILD b/extra/gnome-online-accounts/PKGBUILD
index 22d2e9260..af08e2397 100644
--- a/extra/gnome-online-accounts/PKGBUILD
+++ b/extra/gnome-online-accounts/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-online-accounts
pkgver=3.6.2
pkgrel=1
pkgdesc="GNOME service to access online accounts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL')
depends=('webkitgtk3' 'json-glib' 'libnotify' 'rest' 'hicolor-icon-theme' 'libsecret')
diff --git a/extra/gnome-panel/PKGBUILD b/extra/gnome-panel/PKGBUILD
index 52540e9cb..45fd7d020 100644
--- a/extra/gnome-panel/PKGBUILD
+++ b/extra/gnome-panel/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=gnome-panel
pkgver=3.6.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
pkgdesc="The GNOME Panel"
url="http://www.gnome.org"
diff --git a/extra/gnome-perl/PKGBUILD b/extra/gnome-perl/PKGBUILD
index d790dc760..9c101b8dd 100644
--- a/extra/gnome-perl/PKGBUILD
+++ b/extra/gnome-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2
pkgver=1.042
pkgrel=8
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 dacabd6ae..6ecde393f 100644
--- a/extra/gnome-phone-manager/PKGBUILD
+++ b/extra/gnome-phone-manager/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-phone-manager
pkgver=0.68
pkgrel=3
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' 'gconf')
diff --git a/extra/gnome-pilot/PKGBUILD b/extra/gnome-pilot/PKGBUILD
deleted file mode 100644
index f558b2713..000000000
--- a/extra/gnome-pilot/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 157208 2012-04-26 02:01:26Z eric $
-# Jan de Groot <jgc@archlinux.org>
-
-pkgname=gnome-pilot
-pkgver=2.91.93
-pkgrel=2
-pkgdesc="Pilot Support for Gnome"
-arch=(i686 x86_64)
-license=('GPL')
-depends=('pilot-link' 'evolution-data-server')
-makedepends=('intltool' 'gob2' 'gnome-doc-utils' 'gnome-panel')
-optdepends=('gnome-panel')
-options=('!libtool' '!emptydirs')
-url="http://www.gnome.org"
-install=gnome-pilot.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('56fbb1c54621dcda9cde4c7ac0754d5d9d68ae2ae1eb63acffb00817e4a8dd21')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --libexecdir=/usr/lib/gnome-pilot \
- --localstatedir=/var --disable-static \
- --without-hal
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
-
- install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
- gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
- rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
-}
diff --git a/extra/gnome-pilot/gnome-pilot.install b/extra/gnome-pilot/gnome-pilot.install
deleted file mode 100644
index 616daa0e4..000000000
--- a/extra/gnome-pilot/gnome-pilot.install
+++ /dev/null
@@ -1,17 +0,0 @@
-pkgname=gnome-pilot
-
-post_install() {
- usr/sbin/gconfpkg --install ${pkgname}
-}
-
-pre_upgrade() {
- pre_remove $1
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/gconfpkg --uninstall ${pkgname}
-}
diff --git a/extra/gnome-power-manager/PKGBUILD b/extra/gnome-power-manager/PKGBUILD
index dc1fe6d67..ce92f72d8 100644
--- a/extra/gnome-power-manager/PKGBUILD
+++ b/extra/gnome-power-manager/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-power-manager
pkgver=3.6.0
pkgrel=1
pkgdesc="Power management tools."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gnome.org/projects/gnome-power-manager/"
license=('GPL')
depends=('gtk3' 'upower' 'dconf' 'hicolor-icon-theme')
diff --git a/extra/gnome-python-desktop/PKGBUILD b/extra/gnome-python-desktop/PKGBUILD
index 569da8596..939de0ee0 100644
--- a/extra/gnome-python-desktop/PKGBUILD
+++ b/extra/gnome-python-desktop/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=gnome-python-desktop
pkgname=('gnome-python-desktop' 'python2-gnomedesktop' 'python2-gnomekeyring' 'python2-gtop' 'python2-metacity' 'python2-rsvg' 'python2-totem-plparser' 'python2-wnck')
pkgver=2.32.0
pkgrel=12
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
options=('!libtool')
makedepends=('intltool' 'pkg-config' 'gnome-python' 'libgtop' 'totem-plparser' 'gnome-desktop2' 'metacity' 'librsvg' 'libwnck')
diff --git a/extra/gnome-python-extras/PKGBUILD b/extra/gnome-python-extras/PKGBUILD
index 6c6fc9594..78f010c10 100644
--- a/extra/gnome-python-extras/PKGBUILD
+++ b/extra/gnome-python-extras/PKGBUILD
@@ -4,8 +4,8 @@
pkgbase=gnome-python-extras
pkgname=('gnome-python-extras' 'python2-egg' 'python2-gksu2' 'python2-gtkhtml2' 'python2-gtkspell')
pkgver=2.25.3
-pkgrel=12
-arch=('i686' 'x86_64')
+pkgrel=12.1
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.daa.com.au/~james/pygtk/"
license=('GPL' 'LGPL')
makedepends=('libgtkhtml' 'gtkspell' 'libgksu' 'libgnomeui' 'python2' 'pygtk' 'gnome-python')
diff --git a/extra/gnome-python/PKGBUILD b/extra/gnome-python/PKGBUILD
index 26fabe51f..d407be1a7 100644
--- a/extra/gnome-python/PKGBUILD
+++ b/extra/gnome-python/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=gnome-python
pkgname=('gnome-python' 'python2-bonobo' 'python2-gconf' 'python2-libgnome' 'python2-gnomecanvas' 'python2-gnomevfs')
pkgver=2.28.1
-pkgrel=8
-arch=(i686 x86_64)
+pkgrel=8.1
+arch=(i686 x86_64 mips64el)
license=('LGPL')
makedepends=('pygtk' 'pyorbit' 'libgnomeui')
options=('!libtool')
diff --git a/extra/gnome-screensaver/PKGBUILD b/extra/gnome-screensaver/PKGBUILD
index 23a54f05c..a90034576 100644
--- a/extra/gnome-screensaver/PKGBUILD
+++ b/extra/gnome-screensaver/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-screensaver
pkgver=3.6.1
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-screenshot/PKGBUILD b/extra/gnome-screenshot/PKGBUILD
index 8764d54f1..bd955e1f2 100644
--- a/extra/gnome-screenshot/PKGBUILD
+++ b/extra/gnome-screenshot/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-screenshot
pkgver=3.6.1
pkgrel=1
pkgdesc="Take pictures of your screen"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('dconf' 'gtk3' 'libcanberra')
diff --git a/extra/gnome-search-tool/PKGBUILD b/extra/gnome-search-tool/PKGBUILD
index d29b9fe06..7a8faea13 100644
--- a/extra/gnome-search-tool/PKGBUILD
+++ b/extra/gnome-search-tool/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-search-tool
pkgver=3.6.0
pkgrel=1
pkgdesc="Utility to search for files"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('gtk3' 'libsm')
diff --git a/extra/gnome-session/PKGBUILD b/extra/gnome-session/PKGBUILD
index ad1cb24b4..552c7f486 100644
--- a/extra/gnome-session/PKGBUILD
+++ b/extra/gnome-session/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-session
pkgver=3.6.2
pkgrel=1
pkgdesc="The GNOME Session Handler"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('libsystemd' 'dconf' 'gconf' 'gsettings-desktop-schemas' 'gtk3'
'hicolor-icon-theme' 'json-glib' 'libgl' 'libsm' 'libxtst' 'polkit-gnome'
diff --git a/extra/gnome-settings-daemon/PKGBUILD b/extra/gnome-settings-daemon/PKGBUILD
index 570ae3ef4..6ee46d6b9 100644
--- a/extra/gnome-settings-daemon/PKGBUILD
+++ b/extra/gnome-settings-daemon/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-settings-daemon
pkgver=3.6.3
pkgrel=2
pkgdesc="The GNOME Settings daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('dconf' 'gnome-desktop' 'gsettings-desktop-schemas' 'hicolor-icon-theme' 'libcanberra-pulse' 'libnotify'
'libsystemd' 'libwacom' 'nss' 'pulseaudio' 'pulseaudio-alsa' 'upower')
diff --git a/extra/gnome-shell/PKGBUILD b/extra/gnome-shell/PKGBUILD
index 8889b702d..73da1e385 100644
--- a/extra/gnome-shell/PKGBUILD
+++ b/extra/gnome-shell/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-shell
pkgver=3.6.2
pkgrel=1
pkgdesc="The next generation GNOME Shell"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://live.gnome.org/GnomeShell"
license=(GPL2)
depends=(caribou folks gcr gjs gnome-bluetooth gnome-desktop gnome-menus libcroco libpulse mutter
diff --git a/extra/gnome-speech/PKGBUILD b/extra/gnome-speech/PKGBUILD
index 686de821f..ce1124fef 100644
--- a/extra/gnome-speech/PKGBUILD
+++ b/extra/gnome-speech/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-speech
pkgver=0.4.25
pkgrel=2
pkgdesc="Gnome Text-to-Speech"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.gnome.org"
depends=('libbonobo')
diff --git a/extra/gnome-system-log/PKGBUILD b/extra/gnome-system-log/PKGBUILD
index 904047d70..a952afe35 100644
--- a/extra/gnome-system-log/PKGBUILD
+++ b/extra/gnome-system-log/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-system-log
pkgver=3.6.1
pkgrel=1
pkgdesc="View your system logs"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://gnome.org"
license=('GPL2')
depends=('dconf' 'gtk3')
diff --git a/extra/gnome-system-monitor/PKGBUILD b/extra/gnome-system-monitor/PKGBUILD
index f0f7b51a5..969afef75 100644
--- a/extra/gnome-system-monitor/PKGBUILD
+++ b/extra/gnome-system-monitor/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnome-system-monitor
pkgver=3.6.0
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' 'libsystemd')
makedepends=('itstool' 'docbook-xsl' 'intltool')
diff --git a/extra/gnome-terminal/PKGBUILD b/extra/gnome-terminal/PKGBUILD
index eda21bb8a..f729dc60d 100644
--- a/extra/gnome-terminal/PKGBUILD
+++ b/extra/gnome-terminal/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-terminal
pkgver=3.6.0
pkgrel=1
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' 'intltool' 'gtk2' 'itstool' 'docbook-xsl')
diff --git a/extra/gnome-themes-standard/PKGBUILD b/extra/gnome-themes-standard/PKGBUILD
index 202c84108..0ba082bec 100644
--- a/extra/gnome-themes-standard/PKGBUILD
+++ b/extra/gnome-themes-standard/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-themes-standard
pkgver=3.6.2
pkgrel=1
pkgdesc="Default themes for the GNOME desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnome.org"
license=('GPL2')
depends=('cantarell-fonts' 'ttf-dejavu' 'gtk3' 'gtk-engines' 'librsvg')
diff --git a/extra/gnome-user-share/PKGBUILD b/extra/gnome-user-share/PKGBUILD
index d888fe696..7074505b1 100644
--- a/extra/gnome-user-share/PKGBUILD
+++ b/extra/gnome-user-share/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gnome-user-share
pkgver=3.0.4
pkgrel=1
pkgdesc="Easy to use user-level file sharing for GNOME."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.gnome.org/pub/GNOME/sources/gnome-user-share/"
license=('GPL')
depends=('mod_dnssd' 'dconf' 'gtk3' 'hicolor-icon-theme' 'libnotify' 'gnome-bluetooth' 'libcanberra')
diff --git a/extra/gnome-vfs-perl/PKGBUILD b/extra/gnome-vfs-perl/PKGBUILD
index 6c766e895..c5d0ce7c0 100644
--- a/extra/gnome-vfs-perl/PKGBUILD
+++ b/extra/gnome-vfs-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2-VFS
pkgver=1.081
pkgrel=5
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 dae1cfeb1..5eab02234 100644
--- a/extra/gnome-vfs/PKGBUILD
+++ b/extra/gnome-vfs/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gnome-vfs
pkgver=2.24.4
-pkgrel=6
+pkgrel=6.1
pkgdesc="The GNOME Virtual File System"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gconf' 'bzip2' 'avahi' 'smbclient' 'gnome-mime-data' 'krb5' 'gnutls' 'libgcrypt')
makedepends=('pkgconfig' 'intltool' 'gtk-doc' 'gnome-common')
diff --git a/extra/gnome-vfsmm/PKGBUILD b/extra/gnome-vfsmm/PKGBUILD
index c79065313..71747e1b1 100644
--- a/extra/gnome-vfsmm/PKGBUILD
+++ b/extra/gnome-vfsmm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gnome-vfsmm
pkgver=2.26.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A C++ wrapper for gnome-vfs."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gnome-vfs' 'glibmm')
makedepends=('pkgconfig' 'doxygen')
diff --git a/extra/gnomecanvas-perl/PKGBUILD b/extra/gnomecanvas-perl/PKGBUILD
index c869a2752..ce12da891 100644
--- a/extra/gnomecanvas-perl/PKGBUILD
+++ b/extra/gnomecanvas-perl/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Gnome2-Canvas
pkgver=1.002
pkgrel=10
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-efi/PKGBUILD b/extra/gnu-efi/PKGBUILD
deleted file mode 100644
index 35e433aaf..000000000
--- a/extra/gnu-efi/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 160800 2012-06-06 10:29:37Z tpowa $
-# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
-# Maintainer : Keshav P R <(the.ridikulus.rat) (aatt) (gemmaeiil) (ddoott) (ccoomm)>
-# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
-
-_pkgname="gnu-efi"
-_ver="3.0"
-_pkgver="${_ver}q"
-pkgname="${_pkgname}"
-pkgver="${_pkgver}"
-pkgrel=1
-pkgdesc="Library for building UEFI Applications using GNU toolchain"
-url="http://sourceforge.net/projects/gnu-efi/"
-license=('GPL')
-arch=('i686' 'x86_64')
-makedepends=()
-depends=('pciutils')
-source=("http://download.sourceforge.net/gnu-efi/gnu-efi_${pkgver}.orig.tar.gz")
-options=(!strip !makeflags)
-
-build() {
- cd "${srcdir}/gnu-efi-${_ver}"
- sed 's|-fno-strict-aliasing|-fno-strict-aliasing -fno-stack-protector|g' -i "${srcdir}/gnu-efi-${_ver}/Make.defaults" || true
- CFLAGS="" make
- make -C apps clean all
-}
-
-package() {
- cd "${srcdir}/gnu-efi-${_ver}"
- make INSTALLROOT="${pkgdir}/usr/" install
- install -d "${pkgdir}/usr/share/gnu-efi/"
- install -D -m0644 "${srcdir}/gnu-efi-${_ver}/apps"/*.efi "${pkgdir}/usr/share/gnu-efi/"
-}
-md5sums=('698d93490e0c0171aa0e2a8eda44209f')
diff --git a/extra/gnu-netcat/PKGBUILD b/extra/gnu-netcat/PKGBUILD
index a436a9d72..7c610c9ca 100644
--- a/extra/gnu-netcat/PKGBUILD
+++ b/extra/gnu-netcat/PKGBUILD
@@ -3,10 +3,10 @@
pkgname=gnu-netcat
pkgver=0.7.1
-pkgrel=4
+pkgrel=4.1
pkgdesc="GNU rewrite of netcat, the network piping application"
depends=('glibc' 'texinfo')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://netcat.sourceforge.net/"
license=('GPL')
replaces=('netcat')
diff --git a/extra/gnucash/PKGBUILD b/extra/gnucash/PKGBUILD
index 95b16c353..93502f0a3 100644
--- a/extra/gnucash/PKGBUILD
+++ b/extra/gnucash/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnucash
pkgver=2.4.11
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' 'libdbi-drivers' 'aqbanking' 'desktop-file-utils')
diff --git a/extra/gnuchess/PKGBUILD b/extra/gnuchess/PKGBUILD
deleted file mode 100644
index e28cc7cff..000000000
--- a/extra/gnuchess/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 152136 2012-03-04 23:43:24Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=gnuchess
-pkgver=6.0.2
-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')
-license=('GPL')
-depends=('glibc' 'ncurses' 'readline')
-source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz{,.sig})
-md5sums=('566a145479c47f2f9d7d9b7b8119e1b0'
- '044487606aa14ecb29ab9613f83918d9')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make prefix=$pkgdir/usr install
-}
diff --git a/extra/gnugo/PKGBUILD b/extra/gnugo/PKGBUILD
index db803a1b9..0d8d15bd0 100644
--- a/extra/gnugo/PKGBUILD
+++ b/extra/gnugo/PKGBUILD
@@ -6,11 +6,11 @@
pkgname=gnugo
pkgver=3.8
-pkgrel=3
+pkgrel=3.1
pkgdesc='Program that plays the game of Go'
url='http://www.gnu.org/software/gnugo/'
license=('GPL3' 'custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ncurses')
source=("http://ftp.gnu.org/gnu/gnugo/${pkgname}-${pkgver}.tar.gz"
'LICENSE')
diff --git a/extra/gnumeric/PKGBUILD b/extra/gnumeric/PKGBUILD
index 7b72f42ab..bcf588262 100644
--- a/extra/gnumeric/PKGBUILD
+++ b/extra/gnumeric/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gnumeric
pkgver=1.10.17
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/gnuplot/PKGBUILD b/extra/gnuplot/PKGBUILD
index 80183ab73..2eaea5260 100644
--- a/extra/gnuplot/PKGBUILD
+++ b/extra/gnuplot/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gnuplot
pkgver=4.6.1
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 cd89bfa18..675509d47 100644
--- a/extra/gnutls/PKGBUILD
+++ b/extra/gnutls/PKGBUILD
@@ -6,13 +6,14 @@ pkgname=gnutls
pkgver=3.1.4
pkgrel=1
pkgdesc="A library which provides a secure layer over a reliable transport layer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/gnutls/"
install=gnutls.install
options=('!libtool' '!zipman')
depends=('gcc-libs>=4.7.1-5' 'libtasn1>=3.0' 'readline' 'zlib' 'nettle>=2.4' 'p11-kit>=0.12')
-makedepends=('valgrind' 'strace' 'datefudge')
+makedepends=('strace' 'datefudge')
+[ "$CARCH" = "mips64el" ] || makedepends+=('valgrind')
source=(http://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.xz{,.sig})
md5sums=('13901668735923add4470c33cb9d6298'
'340949854804f71987bc00bf50bf684e')
diff --git a/extra/gob2/PKGBUILD b/extra/gob2/PKGBUILD
index 061325a4b..71d07567f 100644
--- a/extra/gob2/PKGBUILD
+++ b/extra/gob2/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gob2
pkgver=2.0.18
-pkgrel=1
+pkgrel=1.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 70d51787d..e04c2e419 100644
--- a/extra/gobject-introspection/PKGBUILD
+++ b/extra/gobject-introspection/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.34.2
pkgrel=1
pkgdesc="Introspection system for GObject-based libraries"
url="https://live.gnome.org/GObjectIntrospection"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
license=('LGPL' 'GPL')
depends=('glib2' 'python2' 'python2-mako')
makedepends=('cairo')
diff --git a/extra/goffice/PKGBUILD b/extra/goffice/PKGBUILD
index a7a8f4fe9..1c2d63bbd 100644
--- a/extra/goffice/PKGBUILD
+++ b/extra/goffice/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=goffice
pkgver=0.8.17
-pkgrel=1
+pkgrel=1.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/gpart/PKGBUILD b/extra/gpart/PKGBUILD
index 65c5e9fa5..3229f4205 100644
--- a/extra/gpart/PKGBUILD
+++ b/extra/gpart/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=gpart
pkgver=0.1h
-pkgrel=5
+pkgrel=5.1
pkgdesc="Partition table rescue/guessing tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.stud.uni-hannover.de/user/76201/gpart/"
license=('GPL')
depends=('glibc')
diff --git a/extra/gparted/PKGBUILD b/extra/gparted/PKGBUILD
index be00fc49c..c1721cde7 100644
--- a/extra/gparted/PKGBUILD
+++ b/extra/gparted/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gparted
pkgver=0.14.0
pkgrel=1
pkgdesc="A Partition Magic clone, frontend to GNU Parted"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gparted.sourceforge.net"
license=('GPL')
depends=('parted' 'gtkmm' 'hicolor-icon-theme')
diff --git a/extra/gperf/PKGBUILD b/extra/gperf/PKGBUILD
index 7c3ec52bc..446f75b85 100644
--- a/extra/gperf/PKGBUILD
+++ b/extra/gperf/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=gperf
pkgver=3.0.4
-pkgrel=4
+pkgrel=4.2
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/gperftools/PKGBUILD b/extra/gperftools/PKGBUILD
index c8ad827ae..723950d15 100644
--- a/extra/gperftools/PKGBUILD
+++ b/extra/gperftools/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=gperftools
pkgver=2.0
pkgrel=4
pkgdesc="Fast, multi-threaded malloc() and nifty performance analysis tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/gperftools/"
license=('BSD')
depends=('perl')
diff --git a/extra/gphoto2/PKGBUILD b/extra/gphoto2/PKGBUILD
index cdde57bde..a4f102a5f 100644
--- a/extra/gphoto2/PKGBUILD
+++ b/extra/gphoto2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gphoto2
pkgver=2.4.14
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.14' 'popt' 'readline')
diff --git a/extra/gpsd/PKGBUILD b/extra/gpsd/PKGBUILD
index 952c32cd9..4dad37328 100644
--- a/extra/gpsd/PKGBUILD
+++ b/extra/gpsd/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=gpsd
pkgver=3.7
pkgrel=1
pkgdesc="GPS daemon and library to support USB/serial GPS devices"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://catb.org/gpsd/"
license=('BSD')
depends=('python2' 'libusb' 'bluez' 'desktop-file-utils')
diff --git a/extra/gptfdisk/PKGBUILD b/extra/gptfdisk/PKGBUILD
index cd8657f0d..fff033be4 100644
--- a/extra/gptfdisk/PKGBUILD
+++ b/extra/gptfdisk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gptfdisk
pkgver=0.8.5
pkgrel=2
pkgdesc="A text-mode partitioning tool that works on Globally Unique Identifier (GUID) Partition Table (GPT) disks"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.rodsbooks.com/gdisk/"
license=('GPL2')
depends=('gcc-libs' 'util-linux' 'popt' 'icu')
diff --git a/extra/gqview/PKGBUILD b/extra/gqview/PKGBUILD
deleted file mode 100644
index de023d067..000000000
--- a/extra/gqview/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-# $Id: PKGBUILD 138174 2011-09-18 07:14:08Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
-
-pkgname=gqview
-pkgver=2.0.4
-pkgrel=4
-pkgdesc="An image browser and viewer"
-arch=('i686' 'x86_64')
-url="http://gqview.sourceforge.net/"
-license=('GPL')
-depends=('gtk2' 'desktop-file-utils')
-install=gqview.install
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('7196deab04db94cec2167637cddc02f9')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- CPPFLAGS="-D_FILE_OFFSET_BITS=64" ./configure --prefix=/usr --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/gqview/gqview.install b/extra/gqview/gqview.install
deleted file mode 100644
index 2eaa60550..000000000
--- a/extra/gqview/gqview.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/extra/grantlee/PKGBUILD b/extra/grantlee/PKGBUILD
index 23721cd2e..fd5284709 100644
--- a/extra/grantlee/PKGBUILD
+++ b/extra/grantlee/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=grantlee
pkgver=0.3.0
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 95cfcb98a..1dca65278 100644
--- a/extra/graphicsmagick/PKGBUILD
+++ b/extra/graphicsmagick/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.3.17
pkgrel=1
pkgdesc='Image processing system'
url='http://www.graphicsmagick.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MIT')
makedepends=('perl')
depends=('bzip2' 'freetype2' 'ghostscript' 'jasper' 'lcms2' 'xz'
diff --git a/extra/graphite/PKGBUILD b/extra/graphite/PKGBUILD
index 21b6ae5eb..d27b87d9a 100644
--- a/extra/graphite/PKGBUILD
+++ b/extra/graphite/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=graphite
pkgver=1.0.3
-pkgrel=1
+pkgrel=1.1
epoch=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://graphite.sil.org/"
pkgdesc='reimplementation of the SIL Graphite text processing engine'
license=('custom_SIL Dual license')
diff --git a/extra/graphviz/PKGBUILD b/extra/graphviz/PKGBUILD
index 066b71862..de4ceda8a 100644
--- a/extra/graphviz/PKGBUILD
+++ b/extra/graphviz/PKGBUILD
@@ -9,8 +9,23 @@ pkgrel=10
pkgdesc='Graph visualization software'
url='http://www.graphviz.org/'
license=('custom:EPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libltdl' 'gd' 'librsvg' 'libxaw' 'ghostscript' 'pango' 'gts')
+case $CARCH in
+ mips64el)
+# r and ocaml aren't ported yet
+# no one's interested on mono
+makedepends=('swig' 'guile' 'lua' 'perl' 'php' 'python2' 'ruby' 'tk' 'qt')
+optdepends=('guile: guile bindings'
+ 'lua: lua bindings'
+ 'perl: perl bindings'
+ 'php: php bindings'
+ 'python2: python bindings'
+ 'ruby: ruby bindings'
+ 'tcl: tcl bindings'
+ 'qt: gvedit')
+ ;;
+ *)
makedepends=('swig' 'mono' 'guile' 'lua' 'ocaml' 'perl' 'php' 'python2' 'r' 'ruby' 'tk' 'qt')
optdepends=('mono: sharp bindings'
'guile: guile bindings'
@@ -23,6 +38,7 @@ optdepends=('mono: sharp bindings'
'ruby: ruby bindings'
'tcl: tcl bindings'
'qt: gvedit')
+esac
source=("${url}/pub/${pkgname}/stable/SOURCES/${pkgname}-${pkgver}.tar.gz"
'LICENSE')
sha1sums=('4725d88a13e071ee22e632de551d4a55ca08ee7d'
diff --git a/extra/grilo-plugins/PKGBUILD b/extra/grilo-plugins/PKGBUILD
index 73d2c34bb..ddfa6d60d 100644
--- a/extra/grilo-plugins/PKGBUILD
+++ b/extra/grilo-plugins/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.3
pkgrel=1
pkgdesc="Plugins for Grilo"
url="http://www.gnome.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('grilo' 'sqlite' 'libgcrypt')
makedepends=(gupnp-av libgdata libquvi gmime rest libtracker-sparql totem-plparser libdmapsharing
diff --git a/extra/grilo/PKGBUILD b/extra/grilo/PKGBUILD
index 8661ce662..66fb9879e 100644
--- a/extra/grilo/PKGBUILD
+++ b/extra/grilo/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.2.3
pkgrel=1
pkgdesc="Framework that provides access to various sources of multimedia content"
url="http://www.gnome.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk3' 'libxml2' 'libsoup')
makedepends=('gobject-introspection' 'gtk-doc' 'vala')
diff --git a/extra/grip/PKGBUILD b/extra/grip/PKGBUILD
index 904ab4eda..d12cfc08c 100644
--- a/extra/grip/PKGBUILD
+++ b/extra/grip/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=grip
pkgver=3.3.1
pkgrel=9
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/gsasl/PKGBUILD b/extra/gsasl/PKGBUILD
index 94526a7a5..b6c52f6d7 100644
--- a/extra/gsasl/PKGBUILD
+++ b/extra/gsasl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gsasl
pkgver=1.8.0
pkgrel=2
pkgdesc="Simple Authentication and Security Layer framework and a few common SASL mechanisms"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" "mips64el")
url="http://josefsson.org/gsasl/"
license=("GPL")
depends=('gnutls' 'libidn' 'krb5' 'libgcrypt')
diff --git a/extra/gsl/PKGBUILD b/extra/gsl/PKGBUILD
index 3df3f01c4..70ac01816 100644
--- a/extra/gsl/PKGBUILD
+++ b/extra/gsl/PKGBUILD
@@ -5,13 +5,13 @@
pkgname=gsl
pkgver=1.15
-pkgrel=2
+pkgrel=2.1
pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers"
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 b31a794ac..0f12c47a2 100644
--- a/extra/gsm/PKGBUILD
+++ b/extra/gsm/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=gsm
pkgver=1.0.13
-pkgrel=7
+pkgrel=7.1
pkgdesc="Shared libraries for GSM 06.10 lossy speech compression"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.quut.com/gsm/"
license=('custom')
depends=('glibc')
diff --git a/extra/gssdp/PKGBUILD b/extra/gssdp/PKGBUILD
index ed541c584..f3f45a312 100644
--- a/extra/gssdp/PKGBUILD
+++ b/extra/gssdp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gssdp
pkgver=0.12.2.1
pkgrel=1
pkgdesc="A GObject-based API for handling resource discovery and announcement over SSDP"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gupnp.org/"
license=('LGPL')
depends=('libsoup')
diff --git a/extra/gst-libav/PKGBUILD b/extra/gst-libav/PKGBUILD
index c5c50b033..d20aad307 100644
--- a/extra/gst-libav/PKGBUILD
+++ b/extra/gst-libav/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gst-libav
pkgver=1.0.2
pkgrel=1
pkgdesc="Gstreamer libav Plugin"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://gstreamer.freedesktop.org/"
depends=('gst-plugins-base-libs' 'bzip2')
diff --git a/extra/gst-plugins-bad/PKGBUILD b/extra/gst-plugins-bad/PKGBUILD
deleted file mode 100644
index d6f84aa06..000000000
--- a/extra/gst-plugins-bad/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 153258 2012-03-12 16:05:19Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=gst-plugins-bad
-pkgver=1.0.2
-pkgrel=1
-pkgdesc="GStreamer Multimedia Framework Bad Plugins"
-arch=('i686' 'x86_64')
-license=('LGPL')
-url="http://gstreamer.freedesktop.org/"
-depends=('mjpegtools' 'gst-plugins-base-libs' 'curl' 'chromaprint' 'libmms' 'faad2' 'mpg123' 'faac' 'celt' 'libdca' 'soundtouch' 'spandsp' 'libdvdnav' 'libmodplug' 'libgme' 'opus')
-makedepends=('schroedinger' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2')
-options=(!libtool !emptydirs)
-source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
-sha256sums=('9e503305799a2b6eb9d0b77c59b8aa8bbe9e6eb815a0635bd013560c73996579')
-
-build() {
- cd $pkgname-$pkgver
- sed -i '/AC_PATH_XTRA/d' configure.ac
- autoreconf
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --disable-static --enable-experimental \
- --with-package-name="GStreamer Bad Plugins (Archlinux)" \
- --with-package-origin="http://www.archlinux.org/" \
- --with-gtk=3.0
- make
-}
-
-check() {
- cd $pkgname-$pkgver
- make check
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/gst-plugins-base/PKGBUILD b/extra/gst-plugins-base/PKGBUILD
index 831d137a3..22b2460ec 100644
--- a/extra/gst-plugins-base/PKGBUILD
+++ b/extra/gst-plugins-base/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('gst-plugins-base-libs' 'gst-plugins-base')
pkgver=1.0.2
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Base Plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
options=(!libtool !emptydirs)
diff --git a/extra/gst-plugins-good/PKGBUILD b/extra/gst-plugins-good/PKGBUILD
index 527c559e4..6500f3dac 100644
--- a/extra/gst-plugins-good/PKGBUILD
+++ b/extra/gst-plugins-good/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gst-plugins-good
pkgver=1.0.2
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Good Plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('libpulse' 'jack' 'libsoup' 'gst-plugins-base-libs' 'wavpack' 'aalib' 'taglib' 'libdv' 'libshout' 'libvpx' 'gdk-pixbuf2' 'libcaca' 'libavc1394' 'libiec61883' 'libxdamage' 'v4l-utils')
diff --git a/extra/gst-plugins-ugly/PKGBUILD b/extra/gst-plugins-ugly/PKGBUILD
index 28f4675b2..f118e9e25 100644
--- a/extra/gst-plugins-ugly/PKGBUILD
+++ b/extra/gst-plugins-ugly/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gst-plugins-ugly
pkgver=1.0.2
pkgrel=2
pkgdesc="GStreamer Multimedia Framework Ugly Plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('gst-plugins-base-libs' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
diff --git a/extra/gstreamer/PKGBUILD b/extra/gstreamer/PKGBUILD
index 91bbaf8ff..3086a1aa6 100644
--- a/extra/gstreamer/PKGBUILD
+++ b/extra/gstreamer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gstreamer
pkgver=1.0.2
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/gstreamer0.10-base/PKGBUILD b/extra/gstreamer0.10-base/PKGBUILD
index 5bfea48f6..b86109fbf 100644
--- a/extra/gstreamer0.10-base/PKGBUILD
+++ b/extra/gstreamer0.10-base/PKGBUILD
@@ -4,8 +4,8 @@
pkgbase=('gstreamer0.10-base')
pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
pkgver=0.10.36
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10>=0.10.35' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
options=(!libtool !emptydirs)
@@ -19,8 +19,8 @@ build() {
autoreconf
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --enable-experimental --disable-gnome_vfs \
- --with-package-name="GStreamer Base Plugins (Archlinux)" \
- --with-package-origin="http://www.archlinux.org/"
+ --with-package-name="GStreamer Base Plugins (Parabola)" \
+ --with-package-origin="https://parabolagnulinux.org/"
make
sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
diff --git a/extra/gstreamer0.10-ffmpeg/PKGBUILD b/extra/gstreamer0.10-ffmpeg/PKGBUILD
index 0e4dade8f..05e514295 100644
--- a/extra/gstreamer0.10-ffmpeg/PKGBUILD
+++ b/extra/gstreamer0.10-ffmpeg/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gstreamer0.10-ffmpeg
pkgver=0.10.13
-pkgrel=1
+pkgrel=1.1
pkgdesc="Gstreamer FFMpeg Plugin"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gstreamer0.10-base' 'bzip2')
makedepends=('pkgconfig' 'yasm' 'sdl')
diff --git a/extra/gstreamer0.10-python/PKGBUILD b/extra/gstreamer0.10-python/PKGBUILD
index 2af9448a8..ac97e9317 100644
--- a/extra/gstreamer0.10-python/PKGBUILD
+++ b/extra/gstreamer0.10-python/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gstreamer0.10-python
pkgver=0.10.22
-pkgrel=1
+pkgrel=1.1
pkgdesc="Python bindings for GStreamer 0.10"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('pygobject>=2.20.0' 'gstreamer0.10-base>=0.10.32')
diff --git a/extra/gstreamer0.10-ugly/PKGBUILD b/extra/gstreamer0.10-ugly/PKGBUILD
index 0449c5324..aa92ed560 100644
--- a/extra/gstreamer0.10-ugly/PKGBUILD
+++ b/extra/gstreamer0.10-ugly/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gstreamer0.10-ugly
pkgname=('gstreamer0.10-ugly' 'gstreamer0.10-ugly-plugins')
pkgver=0.10.19
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.34' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
url="http://gstreamer.freedesktop.org/"
@@ -20,8 +20,8 @@ build() {
patch -Np0 -i "${srcdir}/opencore-amr.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --enable-experimental \
- --with-package-name="GStreamer Ugly Plugins (Archlinux)" \
- --with-package-origin="http://www.archlinux.org/"
+ --with-package-name="GStreamer Ugly Plugins (Parabola GNU/Linux-libre)" \
+ --with-package-origin="https://parabolagnulinux.org/"
make
sed -e 's/gst-libs gst ext/gst-libs gst/' -i Makefile
}
diff --git a/extra/gstreamer0.10/PKGBUILD b/extra/gstreamer0.10/PKGBUILD
index 07299a4d7..56f6fa006 100644
--- a/extra/gstreamer0.10/PKGBUILD
+++ b/extra/gstreamer0.10/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gstreamer0.10
pkgver=0.10.36
-pkgrel=1
+pkgrel=1.1
pkgdesc="GStreamer Multimedia Framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('libxml2' 'glib2')
@@ -18,8 +18,8 @@ md5sums=('15389c73e091b1dda915279c388b9cb2')
build() {
cd "${srcdir}/gstreamer-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
- --with-package-name="GStreamer (Archlinux)" \
- --with-package-origin="http://www.archlinux.org/" \
+ --with-package-name="GStreamer (Parabola)" \
+ --with-package-origin="https://parabolagnulinux.org/" \
--enable-gtk-doc --disable-static
make
}
diff --git a/extra/gthumb/PKGBUILD b/extra/gthumb/PKGBUILD
index 6789eb952..9d64c1f43 100644
--- a/extra/gthumb/PKGBUILD
+++ b/extra/gthumb/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gthumb
pkgver=3.1.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://live.gnome.org/gthumb"
depends=('desktop-file-utils' 'hicolor-icon-theme' 'dconf' 'librsvg' 'clutter-gtk'
diff --git a/extra/gtk-engines/PKGBUILD b/extra/gtk-engines/PKGBUILD
index 99d98cc59..d6fb51626 100644
--- a/extra/gtk-engines/PKGBUILD
+++ b/extra/gtk-engines/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gtk-engines
pkgver=2.21.0
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=('pkg-config' 'intltool')
diff --git a/extra/gtk-qt-engine/PKGBUILD b/extra/gtk-qt-engine/PKGBUILD
index 247195fa4..7d7f5629a 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=3
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-vnc/PKGBUILD b/extra/gtk-vnc/PKGBUILD
index 3a02c9737..2539dc075 100644
--- a/extra/gtk-vnc/PKGBUILD
+++ b/extra/gtk-vnc/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=gtk-vnc
pkgver=0.5.1
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=('libgcrypt' 'gtk3')
diff --git a/extra/gtk-xfce-engine/PKGBUILD b/extra/gtk-xfce-engine/PKGBUILD
index 246cf8f48..d9d45b80e 100644
--- a/extra/gtk-xfce-engine/PKGBUILD
+++ b/extra/gtk-xfce-engine/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=gtk-xfce-engine
pkgname=('gtk2-xfce-engine' 'gtk3-xfce-engine')
pkgver=3.0.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/gtk/PKGBUILD b/extra/gtk/PKGBUILD
index 30fc520a8..19864e02c 100644
--- a/extra/gtk/PKGBUILD
+++ b/extra/gtk/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gtk
pkgver=1.2.10
-pkgrel=11
+pkgrel=11.1
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 9a87154b0..fa6af1973 100644
--- a/extra/gtk2-perl/PKGBUILD
+++ b/extra/gtk2-perl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtk2-perl
pkgver=1.244
pkgrel=1
pkgdesc="Perl bindings for GTK+ 2.x"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/gtk2/PKGBUILD b/extra/gtk2/PKGBUILD
index 6ef84fdbb..99b7cfe98 100644
--- a/extra/gtk2/PKGBUILD
+++ b/extra/gtk2/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gtk2
pkgname=('gtk2' 'gtk-update-icon-cache')
pkgver=2.24.13
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
makedepends=('atk' 'pango' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage'
'shared-mime-info' 'cairo' 'libcups' 'gdk-pixbuf2' 'gobject-introspection')
diff --git a/extra/gtk3/PKGBUILD b/extra/gtk3/PKGBUILD
index 3915c7554..78c720d81 100644
--- a/extra/gtk3/PKGBUILD
+++ b/extra/gtk3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gtk3
pkgver=3.6.2
pkgrel=1
pkgdesc="GObject-based multi-platform GUI toolkit (v3)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
install=gtk3.install
depends=('atk' 'cairo' 'gtk-update-icon-cache' 'libcups' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'pango' 'shared-mime-info' 'colord' 'at-spi2-atk')
diff --git a/extra/gtkglext/PKGBUILD b/extra/gtkglext/PKGBUILD
index 06c1d11b3..266007a7c 100644
--- a/extra/gtkglext/PKGBUILD
+++ b/extra/gtkglext/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtkglext
pkgver=1.2.0
pkgrel=9
pkgdesc="opengl extensions for gtk2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkglext.sourceforge.net/"
license=('LGPL')
depends=('gtk2' 'glu' 'libxmu' 'pangox-compat')
diff --git a/extra/gtkglextmm/PKGBUILD b/extra/gtkglextmm/PKGBUILD
index 8393743ce..9e77e8894 100644
--- a/extra/gtkglextmm/PKGBUILD
+++ b/extra/gtkglextmm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gtkglextmm
pkgver=1.2.0
pkgrel=9
pkgdesc="Cpp C++ bindings for gtkglext"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkglext.sourceforge.net/"
depends=('gtkmm' 'gtkglext')
makedepends=('mesa')
diff --git a/extra/gtkhtml/PKGBUILD b/extra/gtkhtml/PKGBUILD
index b31a3c08e..46f296191 100644
--- a/extra/gtkhtml/PKGBUILD
+++ b/extra/gtkhtml/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gtkhtml
pkgver=3.32.2
-pkgrel=3
+pkgrel=3.1
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/gtkhtml4/PKGBUILD b/extra/gtkhtml4/PKGBUILD
index d4ca23853..ba439dd43 100644
--- a/extra/gtkhtml4/PKGBUILD
+++ b/extra/gtkhtml4/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=gtkhtml
pkgver=4.6.1
pkgrel=1
pkgdesc="A lightweight HTML renderer/editor widget for GTK3"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gtk3' 'enchant' 'iso-codes' 'gnome-icon-theme' 'libsoup')
makedepends=('intltool')
diff --git a/extra/gtkimageview/PKGBUILD b/extra/gtkimageview/PKGBUILD
index fb9e39f62..4f28a24ca 100644
--- a/extra/gtkimageview/PKGBUILD
+++ b/extra/gtkimageview/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=gtkimageview
pkgver=1.6.4
-pkgrel=3
+pkgrel=3.1
pkgdesc="Simple image viewer widget for GTK2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://trac.bjourne.webfactional.com/"
license=('LGPL2.1')
depends=('gtk2')
diff --git a/extra/gtkmathview/PKGBUILD b/extra/gtkmathview/PKGBUILD
index 4cad6bb07..dc75031e1 100644
--- a/extra/gtkmathview/PKGBUILD
+++ b/extra/gtkmathview/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtkmathview
pkgver=0.8.0
pkgrel=3
pkgdesc="C++ rendering engine for MathML documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://helm.cs.unibo.it/mml-widget/"
license=('GPL')
depends=('popt' 'gtk2' 't1lib' 'gmetadom')
diff --git a/extra/gtkmm/PKGBUILD b/extra/gtkmm/PKGBUILD
index a8e549cbd..d5951d437 100644
--- a/extra/gtkmm/PKGBUILD
+++ b/extra/gtkmm/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=gtkmm
pkgname=('gtkmm' 'gtkmm-docs')
pkgver=2.24.2
-pkgrel=2
-arch=('i686' 'x86_64')
+pkgrel=2.1
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('gtk2' 'pangomm' 'atkmm' 'glibmm-docs')
license=('LGPL')
options=('!libtool' '!emptydirs')
diff --git a/extra/gtkmm3/PKGBUILD b/extra/gtkmm3/PKGBUILD
index 9d10fd671..f50942e08 100644
--- a/extra/gtkmm3/PKGBUILD
+++ b/extra/gtkmm3/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=gtkmm
pkgname=('gtkmm3' 'gtkmm3-docs')
pkgver=3.6.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('gtk3' 'pangomm' 'atkmm' 'glibmm-docs' 'mm-common' 'doxygen' 'libxslt')
license=('LGPL')
options=('!libtool' '!emptydirs')
diff --git a/extra/gtkpod/PKGBUILD b/extra/gtkpod/PKGBUILD
index 717c6c763..6b14b32b4 100644
--- a/extra/gtkpod/PKGBUILD
+++ b/extra/gtkpod/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gtkpod
pkgver=2.1.2
pkgrel=4
pkgdesc="A platform independent GUI for Apple's iPod using GTK3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkpod.sourceforge.net"
license=('GPL')
depends=('libanjuta' 'curl' 'flac' 'libid3tag' 'libgpod' 'awk' 'hicolor-icon-theme' 'dconf' 'libwebkit3')
diff --git a/extra/gtksourceview2/PKGBUILD b/extra/gtksourceview2/PKGBUILD
index 78e6de75c..bdd2614ff 100644
--- a/extra/gtksourceview2/PKGBUILD
+++ b/extra/gtksourceview2/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gtksourceview2
pkgver=2.10.5
-pkgrel=2
+pkgrel=2.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' 'pkg-config')
diff --git a/extra/gtksourceview3/PKGBUILD b/extra/gtksourceview3/PKGBUILD
index 3ff1544fd..d6c338e45 100644
--- a/extra/gtksourceview3/PKGBUILD
+++ b/extra/gtksourceview3/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=gtksourceview
pkgver=3.6.1
pkgrel=1
pkgdesc="A text widget adding syntax highlighting and more to GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('gtk3' 'libxml2')
makedepends=('intltool' 'gobject-introspection' 'glade')
diff --git a/extra/gtkspell/PKGBUILD b/extra/gtkspell/PKGBUILD
index 5dc2fef2d..48c96f584 100644
--- a/extra/gtkspell/PKGBUILD
+++ b/extra/gtkspell/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=gtkspell
pkgver=2.0.16
-pkgrel=2
+pkgrel=2.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' 'enchant')
makedepends=('intltool' 'gtk-doc')
diff --git a/extra/gts/PKGBUILD b/extra/gts/PKGBUILD
index 57d38d906..f3b9c8064 100644
--- a/extra/gts/PKGBUILD
+++ b/extra/gts/PKGBUILD
@@ -7,11 +7,11 @@
pkgname=gts
pkgver=0.7.6
-pkgrel=2
+pkgrel=2.1
pkgdesc='Provides useful functions to deal with 3D surfaces meshed with interconnected triangles'
url='http://gts.sourceforge.net/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glib2')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('000720bebecf0b153eb28260bd30fbd979dcc040')
diff --git a/extra/gucharmap/PKGBUILD b/extra/gucharmap/PKGBUILD
index 772316572..56aa3fa4b 100644
--- a/extra/gucharmap/PKGBUILD
+++ b/extra/gucharmap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gucharmap
pkgver=3.6.1
pkgrel=1
pkgdesc="Gnome Unicode Charmap"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org"
depends=('dconf' 'gtk3' 'hicolor-icon-theme')
diff --git a/extra/guile/PKGBUILD b/extra/guile/PKGBUILD
index 50f10eb03..3ced05d8d 100644
--- a/extra/guile/PKGBUILD
+++ b/extra/guile/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=guile
pkgver=1.8.8
-pkgrel=2
+pkgrel=2.1
pkgdesc="a portable, embeddable Scheme implementation written in C"
url="http://www.gnu.org/software/guile/"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gmp' 'libltdl' 'ncurses>=5.7' 'texinfo')
install=guile.install
diff --git a/extra/gupnp-av/PKGBUILD b/extra/gupnp-av/PKGBUILD
index b1e0e90e4..e9be3a918 100644
--- a/extra/gupnp-av/PKGBUILD
+++ b/extra/gupnp-av/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=gupnp-av
pkgver=0.10.3
pkgrel=1
pkgdesc="Library to ease handling and implementation of UPnP A/V profiles"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gupnp.org/"
license=('LGPL')
depends=('gupnp')
diff --git a/extra/gupnp-igd/PKGBUILD b/extra/gupnp-igd/PKGBUILD
index 8e08e3a17..3d936b173 100644
--- a/extra/gupnp-igd/PKGBUILD
+++ b/extra/gupnp-igd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gupnp-igd
pkgver=0.2.1
pkgrel=3
pkgdesc="A library to handle UPnP IGD port mapping"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gupnp.org"
license=('LGPL')
depends=('gupnp' 'python2-gobject2')
diff --git a/extra/gupnp/PKGBUILD b/extra/gupnp/PKGBUILD
index 936748aef..2d9c0ee6f 100644
--- a/extra/gupnp/PKGBUILD
+++ b/extra/gupnp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=gupnp
pkgver=0.18.4
pkgrel=1
pkgdesc="An object-oriented UPNP framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gupnp.org/"
license=('LGPL')
depends=('gssdp' 'util-linux')
diff --git a/extra/gutenprint/PKGBUILD b/extra/gutenprint/PKGBUILD
index e327af6ae..df77560b1 100644
--- a/extra/gutenprint/PKGBUILD
+++ b/extra/gutenprint/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gutenprint
pkgver=5.2.9
pkgrel=1
pkgdesc="Top quality printer drivers for POSIX systems"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
install=gutenprint.install
#depends=('readline') # 'gnutls') # needs to be checked. build log says -Lgnutls but namcap doesn't detect it
diff --git a/extra/gv/PKGBUILD b/extra/gv/PKGBUILD
index 0d2926a8f..643e92997 100644
--- a/extra/gv/PKGBUILD
+++ b/extra/gv/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=gv
pkgver=3.7.3.90
-pkgrel=1
+pkgrel=1.1
pkgdesc="A program to view PostScript and PDF documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/gv/"
license=('GPL3')
depends=('xaw3d>=1.6' 'ghostscript' 'desktop-file-utils')
diff --git a/extra/gvfs/PKGBUILD b/extra/gvfs/PKGBUILD
index c77a80833..2c5065393 100644
--- a/extra/gvfs/PKGBUILD
+++ b/extra/gvfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=gvfs
pkgname=('gvfs' 'gvfs-smb' 'gvfs-afc' 'gvfs-afp' 'gvfs-gphoto2' 'gvfs-obexftp')
pkgver=1.14.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('avahi' 'bluez' 'dbus-glib' 'fuse' 'intltool' 'libarchive' 'libcdio' 'libgphoto2' 'libimobiledevice' 'libsoup-gnome' 'smbclient' 'udisks2' 'libsecret' 'docbook-xsl' 'gtk3')
url="http://www.gnome.org"
diff --git a/extra/gweled/PKGBUILD b/extra/gweled/PKGBUILD
index 7059a3e37..2769eb8f7 100644
--- a/extra/gweled/PKGBUILD
+++ b/extra/gweled/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=gweled
pkgver=0.9.1
pkgrel=2
pkgdesc="A puzzle game similar to Bejeweled (aka Diamond Mine)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="https://launchpad.net/gweled/"
depends=('gtk2' 'librsvg' 'libmikmod' 'hicolor-icon-theme')
diff --git a/extra/habak/PKGBUILD b/extra/habak/PKGBUILD
index 69899b64e..b57221ec5 100644
--- a/extra/habak/PKGBUILD
+++ b/extra/habak/PKGBUILD
@@ -4,13 +4,13 @@
pkgname=habak
pkgver=0.2.5
-pkgrel=4
+pkgrel=4.1
pkgdesc="A background changing app"
url="http://fvwm-crystal.org"
license=('GPL2')
depends=('imlib2')
source=("http://download.gna.org/fvwm-crystal/habak/$pkgver/$pkgname-$pkgver.tar.gz")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!makeflags')
md5sums=('bee5c394989367f7a4c5cb9ec99d307c')
diff --git a/extra/harfbuzz/PKGBUILD b/extra/harfbuzz/PKGBUILD
index 04443c771..b3c941979 100644
--- a/extra/harfbuzz/PKGBUILD
+++ b/extra/harfbuzz/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=harfbuzz
pkgver=0.9.5
pkgrel=2
pkgdesc="OpenType text shaping engine."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/HarfBuzz"
license=('MIT')
depends=('icu' 'glib2' 'freetype2' 'graphite')
diff --git a/extra/haskell-http/PKGBUILD b/extra/haskell-http/PKGBUILD
index 5eb7da013..65c876927 100644
--- a/extra/haskell-http/PKGBUILD
+++ b/extra/haskell-http/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=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.6.1-1' 'sh' 'haskell-network=2.3.1.0-1' 'haskell-parsec=3.1.3-1' 'haskell-mtl=2.1.2-1')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
diff --git a/extra/haskell-mtl/PKGBUILD b/extra/haskell-mtl/PKGBUILD
index f1fa7c286..a34001e4d 100644
--- a/extra/haskell-mtl/PKGBUILD
+++ b/extra/haskell-mtl/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=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.6.1-1' 'sh' 'haskell-transformers=0.3.0.0-2')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz)
install=${pkgname}.install
diff --git a/extra/haskell-network/PKGBUILD b/extra/haskell-network/PKGBUILD
index 7f5d13fc1..03f297542 100644
--- a/extra/haskell-network/PKGBUILD
+++ b/extra/haskell-network/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=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.6.1-1' 'sh' 'haskell-parsec=3.1.3-1')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
diff --git a/extra/haskell-parsec/PKGBUILD b/extra/haskell-parsec/PKGBUILD
index 9c7c1aafb..c331dcf71 100644
--- a/extra/haskell-parsec/PKGBUILD
+++ b/extra/haskell-parsec/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc="Monadic parser combinators"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ghc=7.6.1-1' 'sh' 'haskell-mtl=2.1.2-1' 'haskell-text=0.11.2.3-1')
source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
install=${pkgname}.install
diff --git a/extra/haskell-text/PKGBUILD b/extra/haskell-text/PKGBUILD
index 5a23030d5..30950b46b 100644
--- a/extra/haskell-text/PKGBUILD
+++ b/extra/haskell-text/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc="An efficient packed Unicode text type."
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ghc=7.6.1-1' 'sh')
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
install=${pkgname}.install
diff --git a/extra/haskell-transformers/PKGBUILD b/extra/haskell-transformers/PKGBUILD
index cc60818b6..f478e8ad9 100644
--- a/extra/haskell-transformers/PKGBUILD
+++ b/extra/haskell-transformers/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=2
pkgdesc="Concrete functor and monad transformers"
url="http://hackage.haskell.org/package/${_hkgname}"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ghc=7.6.1-1' 'sh')
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz")
install=${pkgname}.install
diff --git a/extra/haskell-zlib/PKGBUILD b/extra/haskell-zlib/PKGBUILD
index 30834b3c1..bc5a9d35a 100644
--- a/extra/haskell-zlib/PKGBUILD
+++ b/extra/haskell-zlib/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=5
pkgdesc="Compression and decompression in the gzip and zlib formats"
url="http://hackage.haskell.org/package/zlib"
license=('custom:BSD3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ghc=7.6.1-1' 'zlib' 'sh')
source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
install=${pkgname}.install
diff --git a/extra/hd2u/PKGBUILD b/extra/hd2u/PKGBUILD
index 19e7098d3..5e1aeb5f1 100644
--- a/extra/hd2u/PKGBUILD
+++ b/extra/hd2u/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=hd2u
pkgver=1.0.3
-pkgrel=4
+pkgrel=4.1
pkgdesc="Dos2Unix text file converter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://hany.sk/~hany/software/hd2u/"
depends=('popt')
diff --git a/extra/hddtemp/PKGBUILD b/extra/hddtemp/PKGBUILD
index 94073ce8f..e2ca08aac 100644
--- a/extra/hddtemp/PKGBUILD
+++ b/extra/hddtemp/PKGBUILD
@@ -13,7 +13,7 @@ pkgrel=1
pkgdesc="Gives you the temperature of your hard drive by reading S.M.A.R.T. information"
url='https://savannah.nongnu.org/projects/hddtemp/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
backup=('etc/conf.d/hddtemp')
source=("http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${_origver}.tar.bz2"
"http://ftp.debian.org/debian/pool/main/h/${pkgname}/${pkgname}_${_patchver}.diff.gz"
diff --git a/extra/hdf5/PKGBUILD b/extra/hdf5/PKGBUILD
index 15ec95284..3901c3612 100644
--- a/extra/hdf5/PKGBUILD
+++ b/extra/hdf5/PKGBUILD
@@ -6,8 +6,8 @@
pkgname=hdf5
pkgver=1.8.8
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="General purpose library and file format for storing scientific data"
url="http://www.hdfgroup.org/HDF5/"
license=('custom')
diff --git a/extra/hefur/PKGBUILD b/extra/hefur/PKGBUILD
index 09db3f623..632e9b86a 100644
--- a/extra/hefur/PKGBUILD
+++ b/extra/hefur/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hefur
pkgver=0.3
pkgrel=3
pkgdesc='A standalone and lightweight BitTorrent tracker'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://github.com/abique/hefur'
license=('MIT')
makedepends=('cmake')
diff --git a/extra/help2man/PKGBUILD b/extra/help2man/PKGBUILD
index d8e173d35..628f8f5f3 100644
--- a/extra/help2man/PKGBUILD
+++ b/extra/help2man/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=help2man
pkgver=1.40.12
-pkgrel=1
+pkgrel=1.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 ef22ba9a6..752eea7e7 100644
--- a/extra/hercules/PKGBUILD
+++ b/extra/hercules/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=hercules
pkgver=3.07
-pkgrel=2
+pkgrel=2.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/herqq/PKGBUILD b/extra/herqq/PKGBUILD
index 98f705a1f..ccb97cb0e 100644
--- a/extra/herqq/PKGBUILD
+++ b/extra/herqq/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=herqq
pkgver=1.0.0
pkgrel=1
pkgdesc="A software library for building UPnP devices (HUPnP)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.herqq.org/"
license=('GPL')
depends=('qt')
diff --git a/extra/hexedit/PKGBUILD b/extra/hexedit/PKGBUILD
index f46418f04..0653b7751 100644
--- a/extra/hexedit/PKGBUILD
+++ b/extra/hexedit/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=hexedit
pkgver=1.2.12
-pkgrel=5
+pkgrel=5.1
pkgdesc="Hex Editor for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://rigaux.org/hexedit.html"
license=('GPL')
depends=('ncurses')
diff --git a/extra/hspell/PKGBUILD b/extra/hspell/PKGBUILD
index aea8885f6..5477adb4b 100644
--- a/extra/hspell/PKGBUILD
+++ b/extra/hspell/PKGBUILD
@@ -4,8 +4,8 @@
pkgbase=hspell
pkgname=('hspell' 'hunspell-he')
pkgver=1.2
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.ivrix.org.il/projects/spell-checker/"
makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk')
diff --git a/extra/htdig/PKGBUILD b/extra/htdig/PKGBUILD
index d558f4974..bb2f0f878 100644
--- a/extra/htdig/PKGBUILD
+++ b/extra/htdig/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=htdig
pkgver=3.2.0b6
-pkgrel=8
+pkgrel=8.1
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 93b4db608..4266349dc 100644
--- a/extra/htop/PKGBUILD
+++ b/extra/htop/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=htop
pkgver=1.0.2
pkgrel=1
pkgdesc="Interactive process viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://htop.sourceforge.net/"
license=('GPL')
depends=('ncurses')
diff --git a/extra/hugin/PKGBUILD b/extra/hugin/PKGBUILD
index c6c81350d..f8f3b55a9 100644
--- a/extra/hugin/PKGBUILD
+++ b/extra/hugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=hugin
pkgver=2011.4.0
pkgrel=7
pkgdesc="A frontend to the panorama-tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hugin.sourceforge.net/"
license=('GPL')
depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'autopano-sift-c'
diff --git a/extra/hunspell/PKGBUILD b/extra/hunspell/PKGBUILD
index a4b178a7e..5cc192ff8 100644
--- a/extra/hunspell/PKGBUILD
+++ b/extra/hunspell/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hunspell
pkgver=1.3.2
pkgrel=2
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 c59e2a8b5..18b609e4e 100644
--- a/extra/hwloc/PKGBUILD
+++ b/extra/hwloc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=hwloc
pkgver=1.5.1
pkgrel=1
pkgdesc="Portable Hardware Locality is a portable abstraction of hierarchical architectures"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.open-mpi.org/projects/hwloc/"
license=('BSD')
depends=('sh' 'pciutils' 'cairo' 'libxml2')
diff --git a/extra/hydrogen/PKGBUILD b/extra/hydrogen/PKGBUILD
index a5c607e79..5d2845d50 100644
--- a/extra/hydrogen/PKGBUILD
+++ b/extra/hydrogen/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=hydrogen
pkgver=0.9.5
pkgrel=2
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 4a952f56c..2ff4ea77a 100644
--- a/extra/hylafax/PKGBUILD
+++ b/extra/hylafax/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=hylafax
pkgver=6.0.6
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 8c2e37a8b..0173be489 100644
--- a/extra/hyphen/PKGBUILD
+++ b/extra/hyphen/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=hyphen
pkgname=('hyphen' 'hyphen-en')
pkgver=2.8.6
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hunspell.sf.net"
license=('GPL' 'LGPL' 'MPL')
makedepends=('glibc' 'perl')
diff --git a/extra/i8kutils/PKGBUILD b/extra/i8kutils/PKGBUILD
index a1c7a6d7f..eeeebe58b 100644
--- a/extra/i8kutils/PKGBUILD
+++ b/extra/i8kutils/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=i8kutils
pkgver=1.33
-pkgrel=2
+pkgrel=2.1
pkgdesc="Dell Inspiron/Latitude kernel driver and utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://people.debian.org/~dz/i8k/"
license=('GPL2')
depends=('glibc')
diff --git a/extra/ibus/PKGBUILD b/extra/ibus/PKGBUILD
index 8d55c9c74..0f0898843 100644
--- a/extra/ibus/PKGBUILD
+++ b/extra/ibus/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=ibus
pkgver=1.4.99.20121109
pkgrel=1
pkgdesc="Next Generation Input Bus for Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ibus.googlecode.com"
license=('LGPL')
depends=('hicolor-icon-theme' 'gtk2' 'gtk3' 'python2-xdg' 'python2-gobject')
diff --git a/extra/icedtea-web/PKGBUILD b/extra/icedtea-web/PKGBUILD
index 1e1eaa593..a4939af38 100644
--- a/extra/icedtea-web/PKGBUILD
+++ b/extra/icedtea-web/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=icedtea-web
pkgname=('icedtea-web' 'icedtea-web-doc')
pkgver=1.3.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://icedtea.classpath.org/wiki/IcedTea-Web"
license=('GPL2')
makedepends=('openjdk6' 'zip' 'gtk2' 'npapi-sdk' 'rhino' 'junit' 'firefox' 'chromium' 'epiphany')
diff --git a/extra/icewm/PKGBUILD b/extra/icewm/PKGBUILD
index 4bd344e42..290f16ec2 100644
--- a/extra/icewm/PKGBUILD
+++ b/extra/icewm/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=icewm
pkgver=1.3.7
-pkgrel=3
+pkgrel=3.1 # only change when Arch updates
pkgdesc="A Window Manager designed for speed, usability, and consistency"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.icewm.org/"
license=('LGPL')
depends=('libxrandr' 'libxft' 'libsm' 'libxinerama' 'gdk-pixbuf2')
@@ -27,7 +27,7 @@ build() {
patch -p1 -i "${srcdir}/no_proc_acpi.patch"
patch -p1 -i "${srcdir}/wmclient.patch"
patch -p2 -i "${srcdir}/icewm-cpustatus.patch"
- LIBS+="-lfontconfig" ./configure --prefix=/usr --sysconfdir=/etc \
+ LIBS+="-lfontconfig" ./configure --build=$CHOST --prefix=/usr --sysconfdir=/etc \
--enable-shaped-decorations --enable-gradients
make
}
diff --git a/extra/icu/PKGBUILD b/extra/icu/PKGBUILD
index 2aededd6b..af6d7e4fe 100644
--- a/extra/icu/PKGBUILD
+++ b/extra/icu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=icu
pkgver=50.1
pkgrel=2
pkgdesc="International Components for Unicode library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.icu-project.org/"
license=('custom:"icu"')
depends=('gcc-libs>=4.7.1-5' 'sh')
diff --git a/extra/id3/PKGBUILD b/extra/id3/PKGBUILD
index 6ef72b356..365eeb3b6 100644
--- a/extra/id3/PKGBUILD
+++ b/extra/id3/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=id3
pkgver=0.78
-pkgrel=3
+pkgrel=3.1
pkgdesc="Utility to edit id3v1 and id3v2 tags"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freshmeat.net/projects/id3"
license=('BSD')
depends=('gcc-libs')
diff --git a/extra/id3lib/PKGBUILD b/extra/id3lib/PKGBUILD
index a8768b8bf..c10e010f8 100644
--- a/extra/id3lib/PKGBUILD
+++ b/extra/id3lib/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=id3lib
pkgver=3.8.3
-pkgrel=12
+pkgrel=12.1
pkgdesc="An open-source, cross-platform software development library for reading, writing, and manipulating ID3v1 and ID3v2 tags"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://id3lib.sourceforge.net/"
depends=('zlib' 'gcc-libs')
diff --git a/extra/id3v2/PKGBUILD b/extra/id3v2/PKGBUILD
index 42ab5b3f7..53e433706 100644
--- a/extra/id3v2/PKGBUILD
+++ b/extra/id3v2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=id3v2
pkgver=0.1.12
pkgrel=2
pkgdesc="Utility to edit id3v2 tags"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://id3v2.sourceforge.net/"
license=('LGPL')
depends=('gcc-libs' 'glibc' 'id3lib' 'zlib')
diff --git a/extra/ifplugd/PKGBUILD b/extra/ifplugd/PKGBUILD
index 91c354179..baa62dbb6 100644
--- a/extra/ifplugd/PKGBUILD
+++ b/extra/ifplugd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ifplugd
pkgver=0.28
pkgrel=13
pkgdesc="A daemon which brings up/down network interfaces upon cable insertion/removal."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/ifplugd"
install=ifplugd.install
license=('GPL2')
diff --git a/extra/ilmbase/PKGBUILD b/extra/ilmbase/PKGBUILD
index fe1618f48..15d8c2f54 100644
--- a/extra/ilmbase/PKGBUILD
+++ b/extra/ilmbase/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.0.3
pkgrel=1
depends=('gcc-libs')
pkgdesc="Base libraries from ILM for OpenEXR"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.openexr.com"
license=('custom')
options=('!libtool')
diff --git a/extra/imagemagick/PKGBUILD b/extra/imagemagick/PKGBUILD
index 887383eaa..0dcd27398 100644
--- a/extra/imagemagick/PKGBUILD
+++ b/extra/imagemagick/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=imagemagick
pkgname=('imagemagick' 'imagemagick-doc')
pkgver=6.8.0.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.imagemagick.org/"
license=('custom')
makedepends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'ghostscript' \
diff --git a/extra/imake/PKGBUILD b/extra/imake/PKGBUILD
index 74a75275a..adc59a7d4 100644
--- a/extra/imake/PKGBUILD
+++ b/extra/imake/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=imake
pkgver=1.0.5
-pkgrel=1
+pkgrel=1.1
pkgdesc="X.Org imake program and related utilities"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/imap/PKGBUILD b/extra/imap/PKGBUILD
index 7e001061d..256ff5661 100644
--- a/extra/imap/PKGBUILD
+++ b/extra/imap/PKGBUILD
@@ -2,9 +2,9 @@
pkgname=imap
pkgver=2007f
-pkgrel=1
+pkgrel=1.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" != "i686" ]; 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 dda349ac6..f66506dd5 100644
--- a/extra/imlib/PKGBUILD
+++ b/extra/imlib/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=imlib
pkgver=1.9.15
-pkgrel=11
+pkgrel=11.1
pkgdesc="General image handling library for X11 and Gtk"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freshmeat.net/projects/imlib/"
license=('GPL')
depends=('gtk' 'giflib' 'libpng' 'libtiff')
diff --git a/extra/imlib2/PKGBUILD b/extra/imlib2/PKGBUILD
index 191816935..14b64b99b 100644
--- a/extra/imlib2/PKGBUILD
+++ b/extra/imlib2/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=imlib2
pkgver=1.4.5
-pkgrel=2
+pkgrel=2.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' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag' 'libjpeg-turbo')
options=('!libtool')
diff --git a/extra/indent/PKGBUILD b/extra/indent/PKGBUILD
index 86e1d39d5..6afb2705c 100644
--- a/extra/indent/PKGBUILD
+++ b/extra/indent/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=indent
pkgver=2.2.11
-pkgrel=2
+pkgrel=2.1
pkgdesc="C language source code formatting program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://indent.isidore-it.eu/beautify.html"
depends=('glibc')
makedepends=('texi2html')
diff --git a/extra/inkscape/PKGBUILD b/extra/inkscape/PKGBUILD
index 420e93e58..919e9eeba 100644
--- a/extra/inkscape/PKGBUILD
+++ b/extra/inkscape/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=7
pkgdesc='Vector graphics editor using the SVG file format'
url='http://inkscape.sourceforge.net/'
license=('GPL' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('boost' 'intltool')
depends=('gc' 'gsl' 'gtkmm' 'gtkspell' 'imagemagick' 'libxslt' 'poppler-glib' 'popt'
'python2' 'desktop-file-utils' 'hicolor-icon-theme')
diff --git a/extra/iptraf-ng/PKGBUILD b/extra/iptraf-ng/PKGBUILD
index 86075450f..98d37514e 100644
--- a/extra/iptraf-ng/PKGBUILD
+++ b/extra/iptraf-ng/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.1.3.1
pkgrel=1
pkgdesc="A console-based network monitoring utility (a fork of original iptraf)"
url="https://fedorahosted.org/iptraf-ng/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('ncurses')
license=('GPL2')
replaces=('iptraf')
diff --git a/extra/irqbalance/PKGBUILD b/extra/irqbalance/PKGBUILD
index ca20cdcb3..216d709b6 100644
--- a/extra/irqbalance/PKGBUILD
+++ b/extra/irqbalance/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=irqbalance
pkgver=1.0.5
pkgrel=1
pkgdesc="IRQ balancing daemon for SMP systems"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/irqbalance"
license=('GPL')
depends=(glib2 numactl libcap-ng)
diff --git a/extra/irssi/PKGBUILD b/extra/irssi/PKGBUILD
index 676ab070d..69f70f20f 100644
--- a/extra/irssi/PKGBUILD
+++ b/extra/irssi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=irssi
pkgver=0.8.15
pkgrel=6
pkgdesc="Modular text mode IRC client with Perl scripting"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://irssi.org/"
license=('GPL')
depends=('glib2' 'openssl')
diff --git a/extra/ispell/PKGBUILD b/extra/ispell/PKGBUILD
index 490878ee5..cc860e594 100644
--- a/extra/ispell/PKGBUILD
+++ b/extra/ispell/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=ispell
pkgver=3.3.02
-pkgrel=5
+pkgrel=5.1
pkgdesc="An interactive spell-checking program for Unix"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ficus-www.cs.ucla.edu/geoff/ispell.html"
license=('BSD')
depends=('ncurses')
diff --git a/extra/jack/PKGBUILD b/extra/jack/PKGBUILD
index 9b63ad04c..5c5fb2c5c 100644
--- a/extra/jack/PKGBUILD
+++ b/extra/jack/PKGBUILD
@@ -8,12 +8,16 @@ _longname=jack-audio-connection-kit
pkgver=0.121.3
pkgrel=7
pkgdesc="A low-latency audio server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
depends=('libsamplerate' 'readline')
makedepends=('doxygen' 'libffado' 'celt')
optdepends=('libffado: FireWire support'
'celt: NetJACK driver')
+[ "$CARCH" = "mips64el" ] && {
+makedepends=('doxygen' 'celt')
+optdepends=('celt: NetJACK driver')
+}
url="http://jackaudio.org/"
backup=(etc/security/limits.d/99-audio.conf)
options=('!libtool')
diff --git a/extra/jade/PKGBUILD b/extra/jade/PKGBUILD
index 1fa51e196..88a9508cd 100644
--- a/extra/jade/PKGBUILD
+++ b/extra/jade/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=8
_debpatch=47.1
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 83df195b9..f39f4329e 100644
--- a/extra/jasper/PKGBUILD
+++ b/extra/jasper/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=jasper
pkgver=1.900.1
pkgrel=8
pkgdesc="A software-based implementation of the codec specified in the emerging JPEG-2000 Part-1 standard"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ece.uvic.ca/~mdadams/jasper/"
license=('custom:JasPer2.0')
depends=('libjpeg' 'freeglut' 'libxmu' 'glu')
diff --git a/extra/java-access-bridge/PKGBUILD b/extra/java-access-bridge/PKGBUILD
index 619c9765d..19e7e1e03 100644
--- a/extra/java-access-bridge/PKGBUILD
+++ b/extra/java-access-bridge/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=java-access-bridge
pkgver=1.26.2
pkgrel=3
pkgdesc="Java bindings for the GNOME accessibility framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.gnome.org"
depends=('java-runtime' 'gtk2' 'at-spi' 'libbonobo' 'xorg-xprop')
diff --git a/extra/java-commons-daemon/PKGBUILD b/extra/java-commons-daemon/PKGBUILD
index 41d2e6c13..a37658b7f 100644
--- a/extra/java-commons-daemon/PKGBUILD
+++ b/extra/java-commons-daemon/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=('java-commons-daemon' 'java-jsvc')
pkgbase=java-commons-daemon
pkgver=1.0.8
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://commons.apache.org/daemon/"
license=('APACHE')
_libname=commons-daemon
diff --git a/extra/jhead/LICENSE b/extra/jhead/LICENSE
deleted file mode 100644
index 63ad89ebc..000000000
--- a/extra/jhead/LICENSE
+++ /dev/null
@@ -1,12 +0,0 @@
-License:
-
- Jhead is public domain software - that is, you can do whatever you want
- with it, and include it software that is licensesed under the GNU or the
- BSD license, or whatever other licence you chose, including proprietary
- closed source licenses. Although not part of the liscense, I do expect
- common courtesy, please.
-
- If you do integrate the code into some software of yours, I'd appreciate
- knowing about it though.
-
-Matthias Wandel
diff --git a/extra/jhead/PKGBUILD b/extra/jhead/PKGBUILD
deleted file mode 100644
index adcf94258..000000000
--- a/extra/jhead/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 163023 2012-07-05 21:03:35Z eric $
-# Maintainer: François Charette <francois ατ archlinux δοτ org>
-# Contributor: Giovanni Scafora <giovanni@archlinux.org>
-
-pkgname=jhead
-pkgver=2.96
-pkgrel=1
-pkgdesc="EXIF JPEG info parser and thumbnail remover"
-url="http://www.sentex.net/~mwandel/jhead/"
-arch=('i686' 'x86_64')
-license=('custom')
-depends=('glibc')
-optdepends=('libjpeg: to up-right images according to rotation tag')
-source=(http://www.sentex.net/~mwandel/${pkgname}/${pkgname}-${pkgver}.tar.gz
- LICENSE)
-md5sums=('562b45d4d82f64196debed8c520c1cab'
- '1f0db611d2642a981719f45252762a45')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -D -m755 jhead "${pkgdir}/usr/bin/jhead"
- install -D -m644 jhead.1 "${pkgdir}/usr/share/man/man1/jhead.1"
- install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/extra/js/PKGBUILD b/extra/js/PKGBUILD
index 71d3ac492..dd4efd388 100644
--- a/extra/js/PKGBUILD
+++ b/extra/js/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=js
pkgver=1.8.5
-pkgrel=3
+pkgrel=3.1
pkgdesc="JavaScript interpreter and libraries"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="https://developer.mozilla.org/En/SpiderMonkey/1.8.5"
license=('GPL2')
depends=('nspr' 'gcc-libs')
@@ -18,10 +18,18 @@ md5sums=('a4574365938222adca0a6bd33329cb32'
build() {
cd "$srcdir/$pkgname-$pkgver/js/src"
+ if [ "$CARCH" = "mips64el" ]; then
+ # Force disabling JIT.
+ sed -ri 's/#define ENABLE_(JIT|ASSEMBLER) 1/#define ENABLE_\1 0/' \
+ assembler/wtf/Platform.h
+ sed -ri 's/ENABLE_(JIT|ASSEMBLER)=1/ENABLE_\1=0/' Makefile.{in,ref}
+ extraconf="--disable-methodjit --disable-tracejit"
+ fi
+
patch -Np0 -i $srcdir/js185-destdir.patch
./configure --prefix=/usr --with-system-nspr \
- --enable-threadsafe
+ --enable-threadsafe $extraconf
make
}
diff --git a/extra/json-c/PKGBUILD b/extra/json-c/PKGBUILD
index 2f689ba64..9972a71a1 100644
--- a/extra/json-c/PKGBUILD
+++ b/extra/json-c/PKGBUILD
@@ -3,11 +3,11 @@
# Contributor: congyiwu <congyiwu AT gmail DOT com>
pkgname=json-c
pkgver=0.9
-pkgrel=1
+pkgrel=1.1
pkgdesc="A JSON implementation in C"
url="http://oss.metaparadigm.com/json-c/"
license=("MIT")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
source=(http://oss.metaparadigm.com/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('3a13d264528dcbaf3931b0cede24abae')
diff --git a/extra/json-glib/PKGBUILD b/extra/json-glib/PKGBUILD
index 26e5b1a94..649a47d70 100644
--- a/extra/json-glib/PKGBUILD
+++ b/extra/json-glib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=json-glib
pkgver=0.15.2
pkgrel=1
pkgdesc="JSON library built on GLib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/JsonGlib"
license=('GPL')
depends=('glib2')
diff --git a/extra/k3b/PKGBUILD b/extra/k3b/PKGBUILD
index 945ea3f4b..e100321e5 100644
--- a/extra/k3b/PKGBUILD
+++ b/extra/k3b/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=k3b
pkgver=2.0.2
pkgrel=6
pkgdesc="Feature-rich and easy to handle CD burning application"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="http://k3b.org/"
license=('GPL')
depends=('kdebase-runtime' 'libkcddb' 'libsamplerate' 'libmad'
diff --git a/extra/k9copy/PKGBUILD b/extra/k9copy/PKGBUILD
index de2d2944c..c461f329e 100644
--- a/extra/k9copy/PKGBUILD
+++ b/extra/k9copy/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=k9copy
pkgver=2.3.8
pkgrel=2
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/kactivities/PKGBUILD b/extra/kactivities/PKGBUILD
index 31ce7b205..7291f00a8 100644
--- a/extra/kactivities/PKGBUILD
+++ b/extra/kactivities/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kactivities
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='API for using and interacting with the Activity Manager'
url='https://projects.kde.org/projects/kde/kdelibs/kactivities'
license=('GPL' 'FDL')
diff --git a/extra/kaffeine/PKGBUILD b/extra/kaffeine/PKGBUILD
index cad29ec16..29feeb073 100644
--- a/extra/kaffeine/PKGBUILD
+++ b/extra/kaffeine/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.2
pkgrel=2
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=('pkg-config' 'cmake' 'automoc4')
diff --git a/extra/kdeaccessibility-jovie/PKGBUILD b/extra/kdeaccessibility-jovie/PKGBUILD
index ce9c8a728..8824ff80b 100644
--- a/extra/kdeaccessibility-jovie/PKGBUILD
+++ b/extra/kdeaccessibility-jovie/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-jovie
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='A text to speech application'
url='http://kde.org/applications/utilities/jovie/'
license=('GPL' 'FDL')
diff --git a/extra/kdeaccessibility-kaccessible/PKGBUILD b/extra/kdeaccessibility-kaccessible/PKGBUILD
index 886434b9e..f2e92b345 100644
--- a/extra/kdeaccessibility-kaccessible/PKGBUILD
+++ b/extra/kdeaccessibility-kaccessible/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-kaccessible
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Provides accessibility services like focus tracking and a screenreader'
url='https://projects.kde.org/projects/kde/kdeaccessibility/kaccessible'
license=('GPL' 'FDL')
diff --git a/extra/kdeaccessibility-kmag/PKGBUILD b/extra/kdeaccessibility-kmag/PKGBUILD
index 2a1e4d17d..37f1e6a78 100644
--- a/extra/kdeaccessibility-kmag/PKGBUILD
+++ b/extra/kdeaccessibility-kmag/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-kmag
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Screen Magnifier'
url='http://kde.org/applications/utilities/kmag/'
license=('GPL' 'FDL')
diff --git a/extra/kdeaccessibility-kmousetool/PKGBUILD b/extra/kdeaccessibility-kmousetool/PKGBUILD
index c1d2a3b7d..4c7484848 100644
--- a/extra/kdeaccessibility-kmousetool/PKGBUILD
+++ b/extra/kdeaccessibility-kmousetool/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-kmousetool
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Clicks the mouse for you, reducing the effects of RSI'
url='http://kde.org/applications/utilities/kmousetool/'
license=('GPL' 'FDL')
diff --git a/extra/kdeaccessibility-kmouth/PKGBUILD b/extra/kdeaccessibility-kmouth/PKGBUILD
index 2b1c98f62..12fcb35c5 100644
--- a/extra/kdeaccessibility-kmouth/PKGBUILD
+++ b/extra/kdeaccessibility-kmouth/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdeaccessibility-kmouth
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='Speech Synthesizer Frontend'
url='http://kde.org/applications/utilities/kmouth/'
license=('GPL' 'FDL')
diff --git a/extra/kdeadmin/PKGBUILD b/extra/kdeadmin/PKGBUILD
index 3b6619d0e..3b4d3921d 100644
--- a/extra/kdeadmin/PKGBUILD
+++ b/extra/kdeadmin/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=('kdeadmin-kcron'
'kdeadmin-system-config-printer-kde')
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeadmin')
makedepends=('cmake' 'automoc4' 'kdebindings-python2' 'system-config-printer-common')
diff --git a/extra/kdeartwork/PKGBUILD b/extra/kdeartwork/PKGBUILD
index 6332fc541..7d0698fd6 100644
--- a/extra/kdeartwork/PKGBUILD
+++ b/extra/kdeartwork/PKGBUILD
@@ -15,7 +15,7 @@ pkgname=('kdeartwork-aurorae'
'kdeartwork-weatherwallpapers')
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeartwork')
diff --git a/extra/kdebase-konsole/PKGBUILD b/extra/kdebase-konsole/PKGBUILD
index a37c7e12a..bd3e0d0f6 100644
--- a/extra/kdebase-konsole/PKGBUILD
+++ b/extra/kdebase-konsole/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=kdebase-konsole
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://kde.org/applications/system/konsole/'
pkgdesc="Terminal"
license=('GPL' 'LGPL' 'FDL')
diff --git a/extra/kdebase-runtime/PKGBUILD b/extra/kdebase-runtime/PKGBUILD
deleted file mode 100644
index 95a13d132..000000000
--- a/extra/kdebase-runtime/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 164845 2012-08-06 23:13:19Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
-
-pkgname=kdebase-runtime
-pkgver=4.9.0
-pkgrel=3
-pkgdesc="Plugins and applications necessary for the running of KDE applications"
-arch=('i686' 'x86_64')
-url='https://projects.kde.org/projects/kde/kde-runtime'
-license=('GPL' 'LGPL')
-depends=('nepomuk-core' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons' 'xorg-xauth'
- 'kactivities')
-makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'doxygen'
- 'networkmanager')
-optdepends=('kdepimlibs: to generate drkonqi reports'
- 'htdig: to build the search index in khelpcenter'
- 'rarian: needed by khelpcenter'
- 'gdb: drkonq crash handler')
-install="${pkgname}.install"
-source=("http://download.kde.org/stable/${pkgver}/src/kde-runtime-${pkgver}.tar.xz")
-sha1sums=('89a9e5c7e52cb925217b45a568a354cc041bc28d')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../kde-runtime-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_QNtrack=OFF \
- -DWITH_Xine=OFF
- make
-}
-
-package() {
- cd "$srcdir/build"
- make DESTDIR="$pkgdir" install
- rm -f "${pkgdir}/usr/share/icons/hicolor/index.theme"
-
- ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/"
-}
diff --git a/extra/kdebase-runtime/kdebase-runtime.install b/extra/kdebase-runtime/kdebase-runtime.install
deleted file mode 100644
index c77e68041..000000000
--- a/extra/kdebase-runtime/kdebase-runtime.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-mime-database usr/share/mime &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdebase-workspace/PKGBUILD b/extra/kdebase-workspace/PKGBUILD
index 164614471..7d2e4cb5e 100644
--- a/extra/kdebase-workspace/PKGBUILD
+++ b/extra/kdebase-workspace/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=kde-workspace
pkgver=4.9.3
pkgrel=1
pkgdesc="Provides the interface and basic tools for the KDE workspace"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kde-workspace'
license=('GPL' 'LGPL' 'FDL')
groups=('kde')
diff --git a/extra/kdebase/PKGBUILD b/extra/kdebase/PKGBUILD
index 3efa2eb5e..387764bca 100644
--- a/extra/kdebase/PKGBUILD
+++ b/extra/kdebase/PKGBUILD
@@ -9,12 +9,11 @@ pkgname=('kdebase-dolphin'
'kdebase-keditbookmarks'
'kdebase-kfind'
'kdebase-konq-plugins'
- 'kdebase-konqueror'
'kdebase-lib'
'kdebase-plasma')
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdebase')
@@ -90,20 +89,6 @@ package_kdebase-konq-plugins() {
make DESTDIR=$pkgdir install
}
-package_kdebase-konqueror() {
- pkgdesc='KDE File Manager & Web Browser'
- depends=('kdebase-dolphin' 'kdebase-keditbookmarks')
- optdepends=('kwebkitpart: to enable webkit engine')
- url="http://kde.org/applications/internet/konqueror/"
- install='kdebase-konqueror.install'
- conflicts=('kdebase-nsplugins')
- replaces=('kdebase-nsplugins')
- for i in konqueror doc/konqueror nsplugins; do
- cd $srcdir/build/${i}
- make DESTDIR=$pkgdir install
- done
-}
-
package_kdebase-lib() {
pkgdesc='KDE libraries for the basic desktop applications'
groups=()
diff --git a/extra/kdebase/kdebase-konqueror.install b/extra/kdebase/kdebase-konqueror.install
deleted file mode 100644
index 5495fb1b5..000000000
--- a/extra/kdebase/kdebase-konqueror.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdebindings-korundum/PKGBUILD b/extra/kdebindings-korundum/PKGBUILD
index 70116831e..3b4efa630 100644
--- a/extra/kdebindings-korundum/PKGBUILD
+++ b/extra/kdebindings-korundum/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Ruby bindings for libraries created by the KDE community"
url="https://projects.kde.org/projects/kde/kdebindings/ruby/korundum"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-qtruby' 'kdebindings-smokekde')
diff --git a/extra/kdebindings-kross/PKGBUILD b/extra/kdebindings-kross/PKGBUILD
index 64deec2d9..5dc868c51 100644
--- a/extra/kdebindings-kross/PKGBUILD
+++ b/extra/kdebindings-kross/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('kdebindings-kross-python'
pkgver=4.9.3
pkgrel=1
url="https://projects.kde.org/projects/kde/kdebindings/kross-interpreters"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
makedepends=('kdelibs' 'cmake' 'automoc4' 'python2' 'java-environment')
diff --git a/extra/kdebindings-perlkde/PKGBUILD b/extra/kdebindings-perlkde/PKGBUILD
index 91b97c5a4..872a5898e 100644
--- a/extra/kdebindings-perlkde/PKGBUILD
+++ b/extra/kdebindings-perlkde/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Perl bindings for the KDE libraries"
url="https://projects.kde.org/projects/kde/kdebindings/perl/perlkde"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-perlqt' 'kdebindings-smokekde')
diff --git a/extra/kdebindings-perlqt/PKGBUILD b/extra/kdebindings-perlqt/PKGBUILD
index cb3374cf1..3b028c44d 100644
--- a/extra/kdebindings-perlqt/PKGBUILD
+++ b/extra/kdebindings-perlqt/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Perl bindings for the Qt libraries"
url="https://projects.kde.org/projects/kde/kdebindings/perl/perlqt"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-smokeqt' 'perl-list-moreutils')
diff --git a/extra/kdebindings-python/PKGBUILD b/extra/kdebindings-python/PKGBUILD
index 71e02eeb3..bfc4d3c31 100644
--- a/extra/kdebindings-python/PKGBUILD
+++ b/extra/kdebindings-python/PKGBUILD
@@ -7,11 +7,11 @@ pkgname=('kdebindings-python'
pkgver=4.9.3
pkgrel=1
url='https://projects.kde.org/projects/kde/kdebindings/pykde4'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'python2-pyqt'
- 'pyqt' 'qscintilla' 'python2-sip' 'python-sip')
+ 'pyqt' 'qscintilla' 'python2-sip' 'python-sip' 'mesa')
source=("http://download.kde.org/stable/${pkgver}/src/pykde4-${pkgver}.tar.xz")
sha1sums=('4a72a307d5780f013e12607b9cddb425f81ffeef')
diff --git a/extra/kdebindings-qtruby/PKGBUILD b/extra/kdebindings-qtruby/PKGBUILD
index ebb38b07c..f399d0547 100644
--- a/extra/kdebindings-qtruby/PKGBUILD
+++ b/extra/kdebindings-qtruby/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Ruby bindings for the Qt libraries"
url="https://projects.kde.org/projects/kde/kdebindings/ruby/qtruby"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-smokeqt' 'ruby')
diff --git a/extra/kdebindings-smokegen/PKGBUILD b/extra/kdebindings-smokegen/PKGBUILD
index 16c692e88..eef3f7d83 100644
--- a/extra/kdebindings-smokegen/PKGBUILD
+++ b/extra/kdebindings-smokegen/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A general purpose C++ parser with a plugin infrastructure"
url="https://projects.kde.org/projects/kde/kdebindings/smoke/smokegen"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdebindings-smokekde/PKGBUILD b/extra/kdebindings-smokekde/PKGBUILD
index 373a2790c..f215922fb 100644
--- a/extra/kdebindings-smokekde/PKGBUILD
+++ b/extra/kdebindings-smokekde/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Language independent library for KDE bindings"
url="https://projects.kde.org/projects/kde/kdebindings/smoke/smokekde"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-smokeqt')
diff --git a/extra/kdebindings-smokeqt/PKGBUILD b/extra/kdebindings-smokeqt/PKGBUILD
index 33f870025..8b7d8aa8e 100644
--- a/extra/kdebindings-smokeqt/PKGBUILD
+++ b/extra/kdebindings-smokeqt/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Language independent library for Qt bindings"
url="https://projects.kde.org/projects/kde/kdebindings/smoke/smokeqt"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kdebindings')
depends=('kdebindings-smokegen' 'qimageblitz' 'qscintilla')
diff --git a/extra/kdeedu-analitza/PKGBUILD b/extra/kdeedu-analitza/PKGBUILD
index ac5162ec5..b900b6a7f 100644
--- a/extra/kdeedu-analitza/PKGBUILD
+++ b/extra/kdeedu-analitza/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A library to add mathematical features to your program"
url="https://projects.kde.org/projects/kde/kdeedu/analitza"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-blinken/PKGBUILD b/extra/kdeedu-blinken/PKGBUILD
index 0609047ab..c0aa2bbe8 100644
--- a/extra/kdeedu-blinken/PKGBUILD
+++ b/extra/kdeedu-blinken/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Memory Enhancement Game"
url="http://kde.org/applications/education/blinken/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-cantor/PKGBUILD b/extra/kdeedu-cantor/PKGBUILD
index 438c50ca5..70e99915a 100644
--- a/extra/kdeedu-cantor/PKGBUILD
+++ b/extra/kdeedu-cantor/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="KDE Frontend to Mathematical Software"
url="http://kde.org/applications/education/cantor/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libspectre' 'kdeedu-analitza' 'libqalculate')
diff --git a/extra/kdeedu-kalgebra/PKGBUILD b/extra/kdeedu-kalgebra/PKGBUILD
index eb308f73d..60dad3d70 100644
--- a/extra/kdeedu-kalgebra/PKGBUILD
+++ b/extra/kdeedu-kalgebra/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Graph Calculator"
url="http://kde.org/applications/education/kalgebra/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu' 'kdeedu-analitza')
diff --git a/extra/kdeedu-kalzium/PKGBUILD b/extra/kdeedu-kalzium/PKGBUILD
index a85fc3058..ff3309501 100644
--- a/extra/kdeedu-kalzium/PKGBUILD
+++ b/extra/kdeedu-kalzium/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Periodic Table of Elements"
url="http://kde.org/applications/education/kalzium/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdelibs' 'avogadro' 'ocaml' 'facile')
diff --git a/extra/kdeedu-kanagram/PKGBUILD b/extra/kdeedu-kanagram/PKGBUILD
index f1c016966..ba2bddd41 100644
--- a/extra/kdeedu-kanagram/PKGBUILD
+++ b/extra/kdeedu-kanagram/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Letter Order Game"
url="http://kde.org/applications/education/kanagram/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu')
diff --git a/extra/kdeedu-kbruch/PKGBUILD b/extra/kdeedu-kbruch/PKGBUILD
index 61bf4663c..37bb5b02e 100644
--- a/extra/kdeedu-kbruch/PKGBUILD
+++ b/extra/kdeedu-kbruch/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Exercise Fractions"
url="http://kde.org/applications/education/kbruch/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kgeography/PKGBUILD b/extra/kdeedu-kgeography/PKGBUILD
index 4909b7078..c10aff27b 100644
--- a/extra/kdeedu-kgeography/PKGBUILD
+++ b/extra/kdeedu-kgeography/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Geography Trainer"
url="http://kde.org/applications/education/kgeography/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-khangman/PKGBUILD b/extra/kdeedu-khangman/PKGBUILD
index 1990689f3..b93d62a75 100644
--- a/extra/kdeedu-khangman/PKGBUILD
+++ b/extra/kdeedu-khangman/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Hangman Game"
url="http://kde.org/applications/education/khangman/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu')
diff --git a/extra/kdeedu-kig/PKGBUILD b/extra/kdeedu-kig/PKGBUILD
index e0137d52b..800f5fe61 100644
--- a/extra/kdeedu-kig/PKGBUILD
+++ b/extra/kdeedu-kig/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Interactive Geometry"
url="http://kde.org/applications/education/kig/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kiten/PKGBUILD b/extra/kdeedu-kiten/PKGBUILD
index 41283d733..5b4d8f1fe 100644
--- a/extra/kdeedu-kiten/PKGBUILD
+++ b/extra/kdeedu-kiten/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Japanese Reference/Study Tool"
url="http://kde.org/applications/education/kiten/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-klettres/PKGBUILD b/extra/kdeedu-klettres/PKGBUILD
index 5000d0d7a..0c95b6f1b 100644
--- a/extra/kdeedu-klettres/PKGBUILD
+++ b/extra/kdeedu-klettres/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Learn The Alphabet"
url="http://kde.org/applications/education/klettres/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kmplot/PKGBUILD b/extra/kdeedu-kmplot/PKGBUILD
index 74b9d2369..ef4543958 100644
--- a/extra/kdeedu-kmplot/PKGBUILD
+++ b/extra/kdeedu-kmplot/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Mathematical Function Plotter"
url="http://kde.org/applications/education/kmplot/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kstars/PKGBUILD b/extra/kdeedu-kstars/PKGBUILD
index 68884f9be..31206022c 100644
--- a/extra/kdeedu-kstars/PKGBUILD
+++ b/extra/kdeedu-kstars/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Desktop Planetarium"
url="http://kde.org/applications/education/kstars/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libindi')
diff --git a/extra/kdeedu-ktouch/PKGBUILD b/extra/kdeedu-ktouch/PKGBUILD
index 07a4418f0..9f75dff3f 100644
--- a/extra/kdeedu-ktouch/PKGBUILD
+++ b/extra/kdeedu-ktouch/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Touch Typing Tutor"
url="http://kde.org/applications/education/ktouch/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kturtle/PKGBUILD b/extra/kdeedu-kturtle/PKGBUILD
index cd17d8553..6c8220eee 100644
--- a/extra/kdeedu-kturtle/PKGBUILD
+++ b/extra/kdeedu-kturtle/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Educational Programming Environment"
url="http://kde.org/applications/education/kturtle/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-kwordquiz/PKGBUILD b/extra/kdeedu-kwordquiz/PKGBUILD
index 92b919c50..f3dfbbcac 100644
--- a/extra/kdeedu-kwordquiz/PKGBUILD
+++ b/extra/kdeedu-kwordquiz/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Flash Card Trainer"
url="http://kde.org/applications/education/kwordquiz/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu')
diff --git a/extra/kdeedu-marble/PKGBUILD b/extra/kdeedu-marble/PKGBUILD
index a6efefa3f..791d04862 100644
--- a/extra/kdeedu-marble/PKGBUILD
+++ b/extra/kdeedu-marble/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Desktop Globe"
url="http://kde.org/applications/education/marble/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-pairs/PKGBUILD b/extra/kdeedu-pairs/PKGBUILD
index 9c80d1dad..6e637a89b 100644
--- a/extra/kdeedu-pairs/PKGBUILD
+++ b/extra/kdeedu-pairs/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A memory and pairs game for KDE"
url="https://projects.kde.org/projects/kde/kdeedu/pairs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-parley/PKGBUILD b/extra/kdeedu-parley/PKGBUILD
index aa9824498..18d00efde 100644
--- a/extra/kdeedu-parley/PKGBUILD
+++ b/extra/kdeedu-parley/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Vocabulary Trainer"
url="http://kde.org/applications/education/parley/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libkdeedu')
diff --git a/extra/kdeedu-rocs/PKGBUILD b/extra/kdeedu-rocs/PKGBUILD
index 6361d42c3..4b0c03689 100644
--- a/extra/kdeedu-rocs/PKGBUILD
+++ b/extra/kdeedu-rocs/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Rocs Graph Theory"
url="http://kde.org/applications/education/rocs/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime')
diff --git a/extra/kdeedu-step/PKGBUILD b/extra/kdeedu-step/PKGBUILD
index a2d2ca7ea..82885e6cf 100644
--- a/extra/kdeedu-step/PKGBUILD
+++ b/extra/kdeedu-step/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Interactive Physical Simulator"
url="http://kde.org/applications/education/step/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeedu')
depends=('kdebase-runtime' 'libqalculate' 'gsl')
diff --git a/extra/kdegames/PKGBUILD b/extra/kdegames/PKGBUILD
index 415dfb6d4..de5205c73 100644
--- a/extra/kdegames/PKGBUILD
+++ b/extra/kdegames/PKGBUILD
@@ -45,7 +45,7 @@ pkgname=('kdegames-bomber'
'kdegames-palapeli')
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegames')
diff --git a/extra/kdegraphics-gwenview/PKGBUILD b/extra/kdegraphics-gwenview/PKGBUILD
index 2bcded417..2c947fee0 100644
--- a/extra/kdegraphics-gwenview/PKGBUILD
+++ b/extra/kdegraphics-gwenview/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A fast and easy to use image viewer for KDE"
url="http://kde.org/applications/graphics/gwenview/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-lib' 'libkipi')
diff --git a/extra/kdegraphics-kamera/PKGBUILD b/extra/kdegraphics-kamera/PKGBUILD
index dfe4e649a..0f610c2eb 100644
--- a/extra/kdegraphics-kamera/PKGBUILD
+++ b/extra/kdegraphics-kamera/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Configure Kamera"
url="http://kde.org/applications/graphics/kamera/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime' 'libgphoto2')
diff --git a/extra/kdegraphics-kcolorchooser/PKGBUILD b/extra/kdegraphics-kcolorchooser/PKGBUILD
index 821fb5316..53c9dff2e 100644
--- a/extra/kdegraphics-kcolorchooser/PKGBUILD
+++ b/extra/kdegraphics-kcolorchooser/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Color Chooser"
url="http://kde.org/applications/graphics/kcolorchooser/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime')
diff --git a/extra/kdegraphics-kgamma/PKGBUILD b/extra/kdegraphics-kgamma/PKGBUILD
index 8e2c94836..182562cd6 100644
--- a/extra/kdegraphics-kgamma/PKGBUILD
+++ b/extra/kdegraphics-kgamma/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A monitor calibration tool"
url="http://kde.org/applications/graphics/kgamma/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
# note on libxxf86vm:
diff --git a/extra/kdegraphics-kolourpaint/PKGBUILD b/extra/kdegraphics-kolourpaint/PKGBUILD
index 6dae509b5..d721144da 100644
--- a/extra/kdegraphics-kolourpaint/PKGBUILD
+++ b/extra/kdegraphics-kolourpaint/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Paint Program"
url="http://kde.org/applications/graphics/kolourpaint/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime' 'qimageblitz')
diff --git a/extra/kdegraphics-kruler/PKGBUILD b/extra/kdegraphics-kruler/PKGBUILD
index f399ad877..c158c5335 100644
--- a/extra/kdegraphics-kruler/PKGBUILD
+++ b/extra/kdegraphics-kruler/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Screen Ruler"
url="http://kde.org/applications/graphics/kruler/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdebase-runtime')
diff --git a/extra/kdegraphics-ksaneplugin/PKGBUILD b/extra/kdegraphics-ksaneplugin/PKGBUILD
index f0d71eac9..216f4f56e 100644
--- a/extra/kdegraphics-ksaneplugin/PKGBUILD
+++ b/extra/kdegraphics-ksaneplugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A scan plugin that implements the scanning"
url="https://projects.kde.org/projects/kde/kdegraphics/ksaneplugin"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('libksane')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdegraphics-ksnapshot/PKGBUILD b/extra/kdegraphics-ksnapshot/PKGBUILD
index 332e09fba..5f55148d5 100644
--- a/extra/kdegraphics-ksnapshot/PKGBUILD
+++ b/extra/kdegraphics-ksnapshot/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Screen Capture Program"
url="http://kde.org/applications/graphics/ksnapshot/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
depends=('kdelibs' 'libkipi')
diff --git a/extra/kdegraphics-mobipocket/PKGBUILD b/extra/kdegraphics-mobipocket/PKGBUILD
index e009262ed..3c2738c8f 100644
--- a/extra/kdegraphics-mobipocket/PKGBUILD
+++ b/extra/kdegraphics-mobipocket/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A collection of plugins to handle mobipocket files"
url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4' 'kdegraphics-okular')
diff --git a/extra/kdegraphics-okular/PKGBUILD b/extra/kdegraphics-okular/PKGBUILD
index 544a688a8..76ddef2c1 100644
--- a/extra/kdegraphics-okular/PKGBUILD
+++ b/extra/kdegraphics-okular/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdegraphics-okular
pkgver=4.9.3
pkgrel=1
pkgdesc='Document Viewer'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kde.org/applications/graphics/okular/"
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdegraphics')
diff --git a/extra/kdegraphics-strigi-analyzer/PKGBUILD b/extra/kdegraphics-strigi-analyzer/PKGBUILD
index 719a0feb8..bc8868a93 100644
--- a/extra/kdegraphics-strigi-analyzer/PKGBUILD
+++ b/extra/kdegraphics-strigi-analyzer/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Strigi analyzers for various graphics file formats"
url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-strigi-analyzer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdegraphics-svgpart/PKGBUILD b/extra/kdegraphics-svgpart/PKGBUILD
index f9973a225..6459ff4c9 100644
--- a/extra/kdegraphics-svgpart/PKGBUILD
+++ b/extra/kdegraphics-svgpart/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A KPart for viewing SVGs"
url="https://projects.kde.org/projects/kde/kdegraphics/svgpart"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdegraphics-thumbnailers/PKGBUILD b/extra/kdegraphics-thumbnailers/PKGBUILD
index 9c7937ad9..38f184ac5 100644
--- a/extra/kdegraphics-thumbnailers/PKGBUILD
+++ b/extra/kdegraphics-thumbnailers/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Thumbnailers for various graphics file formats"
url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-thumbnailers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('libkexiv2' 'libkdcraw')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdemultimedia-audiocd-kio/PKGBUILD b/extra/kdemultimedia-audiocd-kio/PKGBUILD
index 48fb989d5..520ca3c7b 100644
--- a/extra/kdemultimedia-audiocd-kio/PKGBUILD
+++ b/extra/kdemultimedia-audiocd-kio/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Kioslave for accessing audio CDs"
url='https://projects.kde.org/projects/kde/kdemultimedia/audiocd-kio'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('libkcddb' 'libkcompactdisc' 'lame')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdemultimedia-dragonplayer/PKGBUILD b/extra/kdemultimedia-dragonplayer/PKGBUILD
index 60cb28fdc..cb5457e41 100644
--- a/extra/kdemultimedia-dragonplayer/PKGBUILD
+++ b/extra/kdemultimedia-dragonplayer/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc="A multimedia player where the focus is on simplicity, instead of
features"
url='http://kde.org/applications/multimedia/dragonplayer/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime')
diff --git a/extra/kdemultimedia-ffmpegthumbs/PKGBUILD b/extra/kdemultimedia-ffmpegthumbs/PKGBUILD
index 47584cc1d..c48bff925 100644
--- a/extra/kdemultimedia-ffmpegthumbs/PKGBUILD
+++ b/extra/kdemultimedia-ffmpegthumbs/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='FFmpeg-based thumbnail creator for video files'
url='https://projects.kde.org/projects/kde/kdemultimedia/ffmpegthumbs'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdelibs' 'ffmpeg')
diff --git a/extra/kdemultimedia-juk/PKGBUILD b/extra/kdemultimedia-juk/PKGBUILD
index 4ee673a33..3fddae263 100644
--- a/extra/kdemultimedia-juk/PKGBUILD
+++ b/extra/kdemultimedia-juk/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='A jukebox, tagger and music collection manager'
url='http://kde.org/applications/multimedia/juk/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime' 'taglib')
diff --git a/extra/kdemultimedia-kmix/PKGBUILD b/extra/kdemultimedia-kmix/PKGBUILD
index a92b9c461..36b582e1a 100644
--- a/extra/kdemultimedia-kmix/PKGBUILD
+++ b/extra/kdemultimedia-kmix/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="KDE volume control program"
url='http://kde.org/applications/multimedia/kmix/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime')
diff --git a/extra/kdemultimedia-kscd/PKGBUILD b/extra/kdemultimedia-kscd/PKGBUILD
index 2c2a41673..99b6ded30 100644
--- a/extra/kdemultimedia-kscd/PKGBUILD
+++ b/extra/kdemultimedia-kscd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="KDE CD player"
url='http://kde.org/applications/multimedia/kscd/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdemultimedia')
depends=('kdebase-runtime' 'libkcddb' 'libkcompactdisc' 'libmusicbrainz3')
diff --git a/extra/kdemultimedia-mplayerthumbs/PKGBUILD b/extra/kdemultimedia-mplayerthumbs/PKGBUILD
index b3ea84166..d55ea05c8 100644
--- a/extra/kdemultimedia-mplayerthumbs/PKGBUILD
+++ b/extra/kdemultimedia-mplayerthumbs/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="MPlayer based thumbnail generator for video files"
url='https://projects.kde.org/projects/kde/kdemultimedia/mplayerthumbs'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
groups=('kde' 'kdemultimedia')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'mplayer')
diff --git a/extra/kdemultimedia/PKGBUILD b/extra/kdemultimedia/PKGBUILD
deleted file mode 100644
index 3c5fb6fdb..000000000
--- a/extra/kdemultimedia/PKGBUILD
+++ /dev/null
@@ -1,111 +0,0 @@
-# $Id: PKGBUILD 163152 2012-07-08 09:31:34Z ibiru $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
-
-pkgbase=kdemultimedia
-pkgname=('kdemultimedia-dragonplayer'
- 'kdemultimedia-ffmpegthumbs'
- 'kdemultimedia-juk'
- 'kdemultimedia-kioslave'
- 'kdemultimedia-kmix'
- 'kdemultimedia-kscd'
- 'kdemultimedia-mplayerthumbs')
-pkgver=4.8.4
-pkgrel=2
-arch=('i686' 'x86_64')
-url='http://www.kde.org'
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde' 'kdemultimedia')
-makedepends=('cmake' 'automoc4' 'kdelibs' 'ffmpeg' 'mplayer' 'libpulse'
- 'libmusicbrainz3' 'taglib' 'libcanberra')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
- 'mplayerthumbs.config'
- 'ffmpeg0.11.patch')
-sha1sums=('dac721e82308a6347d578361e25da7c466a26ba7'
- 'ba016fa2563c14ffcba852c62506b66bfc6ee683'
- '48331f7e2dab760c20708b81fe6c4d47c83a63e7')
-
-build() {
- cd ${srcdir}/${pkgbase}-${pkgver}/ffmpegthumbs
- patch -p1 -i ${srcdir}/ffmpeg0.11.patch
-
- cd ${srcdir}
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_TunePimp=OFF
- make
-}
-
-package_kdemultimedia-dragonplayer() {
- pkgdesc='Video Player'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/multimedia/dragonplayer/"
- install='kdemultimedia-dragonplayer.install'
- cd $srcdir/build/dragonplayer
- make DESTDIR=$pkgdir install
- cd $srcdir/build/dragonplayer/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdemultimedia-ffmpegthumbs() {
- pkgdesc='Video Files (ffmpegthumbs)'
- depends=('kdebase-runtime' 'ffmpeg')
- install='kdemultimedia.install'
- cd $srcdir/build/ffmpegthumbs
- make DESTDIR=$pkgdir install
-}
-
-package_kdemultimedia-juk() {
- pkgdesc='Music Player'
- depends=('kdebase-runtime' 'taglib')
- url="http://kde.org/applications/multimedia/juk"
- install='kdemultimedia.install'
- cd $srcdir/build/juk
- make DESTDIR=$pkgdir install
- cd $srcdir/build/juk/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdemultimedia-kioslave() {
- pkgdesc='Audio CD Browser'
- depends=('kdelibs' 'libmusicbrainz3' 'cdparanoia')
- conflicts=('kdemultimedia-libkcddb' 'kdemultimedia-libkcompactdisc')
- replaces=('kdemultimedia-libkcddb' 'kdemultimedia-libkcompactdisc')
- for i in kioslave libkcddb libkcompactdisc; do
- cd $srcdir/build/${i}
- make DESTDIR=$pkgdir install
- done
-}
-
-package_kdemultimedia-kmix() {
- pkgdesc='Sound Mixer'
- depends=('kdebase-runtime')
- url="http://kde.org/applications/multimedia/kmix"
- install='kdemultimedia.install'
- cd $srcdir/build/kmix
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kmix/doc
- make DESTDIR=$pkgdir install
-}
-
-package_kdemultimedia-kscd() {
- pkgdesc='CD Player'
- depends=('kdebase-runtime' 'libmusicbrainz3')
- url="http://kde.org/applications/multimedia/kscd"
- install='kdemultimedia.install'
- cd $srcdir/build/kscd
- make DESTDIR=$pkgdir install
-}
-
-package_kdemultimedia-mplayerthumbs() {
- pkgdesc='Video Files (MPlayerThumbs)'
- depends=('kdebase-runtime' 'mplayer')
- replaces=('mplayerthumbs')
- conflicts=('mplayerthumbs')
- cd $srcdir/build/mplayerthumbs
- make DESTDIR=$pkgdir install
- install -D -m644 $srcdir/mplayerthumbs.config $pkgdir/usr/share/config/mplayerthumbs
-}
diff --git a/extra/kdemultimedia/ffmpeg0.11.patch b/extra/kdemultimedia/ffmpeg0.11.patch
deleted file mode 100644
index 527ac3992..000000000
--- a/extra/kdemultimedia/ffmpeg0.11.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From: Christoph Feck <christoph@maxiom.de>
-Date: Tue, 29 May 2012 13:53:18 +0000
-Subject: Two deprecated calls have been removed from ffmpeg 0.11.
-X-Git-Tag: v4.8.80
-X-Git-Url: http://quickgit.kde.org/?p=ffmpegthumbs.git&amp;a=commitdiff&amp;h=4f03b20614c122e3e14473d42a000c0bffdce39c
----
-Two deprecated calls have been removed from ffmpeg 0.11.
-
-BUG:300732
----
-
-
---- a/ffmpegthumbnailer/moviedecoder.cpp
-+++ b/ffmpegthumbnailer/moviedecoder.cpp
-@@ -52,12 +52,11 @@ MovieDecoder::~MovieDecoder()
- void MovieDecoder::initialize(const QString& filename)
- {
- av_register_all();
-- avcodec_init();
- avcodec_register_all();
-
- QFileInfo fileInfo(filename);
-
-- if ((!m_FormatContextWasGiven) && av_open_input_file(&m_pFormatContext, fileInfo.absoluteFilePath().toUtf8().data(), NULL, 0, NULL) != 0) {
-+ if ((!m_FormatContextWasGiven) && avformat_open_input(&m_pFormatContext, fileInfo.absoluteFilePath().toLocal8Bit().data(), NULL, NULL) != 0) {
- kDebug() << "Could not open input file: " << fileInfo.absoluteFilePath();
- return;
- }
-
diff --git a/extra/kdemultimedia/kdemultimedia-dragonplayer.install b/extra/kdemultimedia/kdemultimedia-dragonplayer.install
deleted file mode 100644
index 5495fb1b5..000000000
--- a/extra/kdemultimedia/kdemultimedia-dragonplayer.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdemultimedia/kdemultimedia.install b/extra/kdemultimedia/kdemultimedia.install
deleted file mode 100644
index e70c054ec..000000000
--- a/extra/kdemultimedia/kdemultimedia.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdemultimedia/mplayerthumbs.config b/extra/kdemultimedia/mplayerthumbs.config
deleted file mode 100644
index 761a17953..000000000
--- a/extra/kdemultimedia/mplayerthumbs.config
+++ /dev/null
@@ -1,2 +0,0 @@
-[MPlayerThumbsCfg]
-backend=0
diff --git a/extra/kdenetwork/PKGBUILD b/extra/kdenetwork/PKGBUILD
index 7a9a4b061..69254eee8 100644
--- a/extra/kdenetwork/PKGBUILD
+++ b/extra/kdenetwork/PKGBUILD
@@ -12,7 +12,7 @@ pkgname=('kdenetwork-filesharing'
'kdenetwork-krfb')
pkgver=4.9.3
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 3a1f340d9..ec5126aa4 100644
--- a/extra/kdepim-runtime/PKGBUILD
+++ b/extra/kdepim-runtime/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdepim-runtime
pkgver=4.9.3
pkgrel=1
pkgdesc='Extends the functionality of kdepim'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kdepim-runtime'
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'kdepimlibs' 'libkgapi')
diff --git a/extra/kdepim/PKGBUILD b/extra/kdepim/PKGBUILD
index 3ecc77828..c9cec4cab 100644
--- a/extra/kdepim/PKGBUILD
+++ b/extra/kdepim/PKGBUILD
@@ -22,7 +22,7 @@ pkgname=('kdepim-akonadiconsole'
'kdepim-libkdepim')
pkgver=4.9.3
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 ae510dba3..9d446d43c 100644
--- a/extra/kdepimlibs/PKGBUILD
+++ b/extra/kdepimlibs/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdepimlibs
pkgver=4.9.3
pkgrel=1
pkgdesc="KDE PIM Libraries"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kdepimlibs'
license=('GPL' 'LGPL')
depends=('kdelibs' 'gpgme' 'akonadi' 'libical' 'prison')
diff --git a/extra/kdeplasma-addons/PKGBUILD b/extra/kdeplasma-addons/PKGBUILD
index 385e97699..ebb3d404c 100644
--- a/extra/kdeplasma-addons/PKGBUILD
+++ b/extra/kdeplasma-addons/PKGBUILD
@@ -77,7 +77,7 @@ pkgname=('kdeplasma-addons-applets-bball'
'kdeplasma-addons-wallpapers-weather')
pkgver=4.9.3
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 538974e47..bf1eb5cfd 100644
--- a/extra/kdeplasma-applets-networkmanagement/PKGBUILD
+++ b/extra/kdeplasma-applets-networkmanagement/PKGBUILD
@@ -7,7 +7,7 @@ epoch=1
pkgver=0.9.0.5
pkgrel=1
pkgdesc="KDE control panel and widget network connections"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/extragear/base/networkmanagement'
license=('GPL')
depends=('kdebase-workspace' 'networkmanager')
diff --git a/extra/kdesdk-kate/PKGBUILD b/extra/kdesdk-kate/PKGBUILD
index 35a4c589f..2ddbc1262 100644
--- a/extra/kdesdk-kate/PKGBUILD
+++ b/extra/kdesdk-kate/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('kdebase-katepart'
'kdesdk-kate')
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
makedepends=('kdelibs ''cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgver}/src/kate-${pkgver}.tar.xz"
diff --git a/extra/kdesdk/PKGBUILD b/extra/kdesdk/PKGBUILD
index e18fee0b8..803824ef1 100644
--- a/extra/kdesdk/PKGBUILD
+++ b/extra/kdesdk/PKGBUILD
@@ -22,7 +22,7 @@ pkgname=('kdesdk-cervisia'
'kdesdk-umbrello')
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdesdk')
diff --git a/extra/kdetoys/PKGBUILD b/extra/kdetoys/PKGBUILD
index 1bba44f1f..9b51647dd 100644
--- a/extra/kdetoys/PKGBUILD
+++ b/extra/kdetoys/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('kdetoys-amor'
'kdetoys-ktux')
pkgver=4.9.3
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-filelight/PKGBUILD b/extra/kdeutils-filelight/PKGBUILD
index e03421ce3..439b0259a 100644
--- a/extra/kdeutils-filelight/PKGBUILD
+++ b/extra/kdeutils-filelight/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='View disk usage information'
url='http://kde.org/applications/utilities/filelight'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kcalc/PKGBUILD b/extra/kdeutils-kcalc/PKGBUILD
index 279acc404..b715f71af 100644
--- a/extra/kdeutils-kcalc/PKGBUILD
+++ b/extra/kdeutils-kcalc/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='Scientific Calculator'
url='http://kde.org/applications/utilities/kcalc/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kcharselect/PKGBUILD b/extra/kdeutils-kcharselect/PKGBUILD
index 3d8b1342e..48b1875df 100644
--- a/extra/kdeutils-kcharselect/PKGBUILD
+++ b/extra/kdeutils-kcharselect/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='Character Selector'
url="http://kde.org/applications/utilities/kcharselect/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kdf/PKGBUILD b/extra/kdeutils-kdf/PKGBUILD
index 17c2dc0fb..c1743ccf3 100644
--- a/extra/kdeutils-kdf/PKGBUILD
+++ b/extra/kdeutils-kdf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdeutils-kdf
pkgver=4.9.3
pkgrel=1
url="http://kde.org/applications/system/kdiskfree/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='View Disk Usage'
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
diff --git a/extra/kdeutils-kfloppy/PKGBUILD b/extra/kdeutils-kfloppy/PKGBUILD
index 1ad807022..48ef2841b 100644
--- a/extra/kdeutils-kfloppy/PKGBUILD
+++ b/extra/kdeutils-kfloppy/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='Floppy Formatter'
url='http://kde.org/applications/utilities/kfloppy/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kgpg/PKGBUILD b/extra/kdeutils-kgpg/PKGBUILD
index 2a9b0f50e..e5d18e769 100644
--- a/extra/kdeutils-kgpg/PKGBUILD
+++ b/extra/kdeutils-kgpg/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='A GnuPG frontend'
url='http://kde.org/applications/utilities/kgpg/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'kdepimlibs' 'kde-agent')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kremotecontrol/PKGBUILD b/extra/kdeutils-kremotecontrol/PKGBUILD
index e8e229117..4b62c6797 100644
--- a/extra/kdeutils-kremotecontrol/PKGBUILD
+++ b/extra/kdeutils-kremotecontrol/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='Configure your remote controls for use with applications'
url='http://kde.org/applications/utilities/kremotecontrol/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-workspace')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-ksecrets/PKGBUILD b/extra/kdeutils-ksecrets/PKGBUILD
deleted file mode 100644
index e53a4bdad..000000000
--- a/extra/kdeutils-ksecrets/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 161247 2012-06-08 06:39:24Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-
-pkgname=kdeutils-ksecrets
-pkgver=4.8.4
-pkgrel=1
-pkgdesc='Secrets Management Infrastructure for KDE'
-url='http://techbase.kde.org/Projects/Utils/ksecretsservice'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('kdebase-workspace' 'qca-ossl')
-makedepends=('cmake' 'automoc4')
-groups=('kde' 'kdeutils')
-install=${pkgname}.install
-source=("http://download.kde.org/stable/${pkgver}/src/ksecrets-${pkgver}.tar.xz")
-sha1sums=('d0fd2c601833cf1ffe52760472e22d667a6a6408')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../ksecrets-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/kdeutils-ksecrets/kdeutils-ksecrets.install b/extra/kdeutils-ksecrets/kdeutils-ksecrets.install
deleted file mode 100644
index 5495fb1b5..000000000
--- a/extra/kdeutils-ksecrets/kdeutils-ksecrets.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/extra/kdeutils-ktimer/PKGBUILD b/extra/kdeutils-ktimer/PKGBUILD
index 961ef57e6..e27a4f8bc 100644
--- a/extra/kdeutils-ktimer/PKGBUILD
+++ b/extra/kdeutils-ktimer/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='Countdown Launcher'
url='http://kde.org/applications/utilities/ktimer/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-kwallet/PKGBUILD b/extra/kdeutils-kwallet/PKGBUILD
index 2206d2131..a81ba7d2a 100644
--- a/extra/kdeutils-kwallet/PKGBUILD
+++ b/extra/kdeutils-kwallet/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='Wallet Management Tool'
url='http://kde.org/applications/system/kwalletmanager/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-superkaramba/PKGBUILD b/extra/kdeutils-superkaramba/PKGBUILD
index 20e9d0910..e5a3904d7 100644
--- a/extra/kdeutils-superkaramba/PKGBUILD
+++ b/extra/kdeutils-superkaramba/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='An engine for cool desktop eyecandy'
url='http://kde.org/applications/utilities/superkaramba/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime' 'qimageblitz')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdeutils-sweeper/PKGBUILD b/extra/kdeutils-sweeper/PKGBUILD
index bbc8a078b..0a5480e2e 100644
--- a/extra/kdeutils-sweeper/PKGBUILD
+++ b/extra/kdeutils-sweeper/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc='System Cleaner'
url='http://kde.org/applications/utilities/sweeper'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/kdevelop-pg-qt/PKGBUILD b/extra/kdevelop-pg-qt/PKGBUILD
index 0a65a0113..0f4f472d3 100644
--- a/extra/kdevelop-pg-qt/PKGBUILD
+++ b/extra/kdevelop-pg-qt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdevelop-pg-qt
pkgver=1.0.0
pkgrel=2
pkgdesc="KDevelop Parser Generator, a LL(1) parser generator used by KDevelop language plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs')
diff --git a/extra/kdevelop-php/PKGBUILD b/extra/kdevelop-php/PKGBUILD
index 4da4dbb83..f08f3fff7 100644
--- a/extra/kdevelop-php/PKGBUILD
+++ b/extra/kdevelop-php/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.4.1
_pkgver=4.4.1
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=('kdevelop')
diff --git a/extra/kdevelop/PKGBUILD b/extra/kdevelop/PKGBUILD
index 6cb3d0a93..7e50d20e7 100644
--- a/extra/kdevelop/PKGBUILD
+++ b/extra/kdevelop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kdevelop
pkgver=4.4.1
pkgrel=1
pkgdesc="A C/C++ development environment for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdebase-workspace' 'kdevplatform' 'kdebase-katepart')
diff --git a/extra/kdevplatform/PKGBUILD b/extra/kdevplatform/PKGBUILD
index 159c5fefc..10f7422cc 100644
--- a/extra/kdevplatform/PKGBUILD
+++ b/extra/kdevplatform/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.4.1
_pkgver=4.4.1
pkgrel=1
pkgdesc="A C/C++ development platform for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kdevelop.org/"
license=('GPL')
depends=('kdelibs' 'subversion' 'qjson')
diff --git a/extra/kdewebdev/PKGBUILD b/extra/kdewebdev/PKGBUILD
index 0d115dd48..acfa0b195 100644
--- a/extra/kdewebdev/PKGBUILD
+++ b/extra/kdewebdev/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=('kdewebdev-kfilereplace'
'kdewebdev-kommander')
pkgver=4.9.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdewebdev')
diff --git a/extra/kdiff3/PKGBUILD b/extra/kdiff3/PKGBUILD
index 8f6f601c0..1c5bd164e 100644
--- a/extra/kdiff3/PKGBUILD
+++ b/extra/kdiff3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kdiff3
pkgver=0.9.97
pkgrel=2
pkgdesc="A KDE file comparator/merge tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kdiff3.sourceforge.net/"
license=('GPL')
depends=('kdebase-runtime')
diff --git a/extra/kexec-tools/PKGBUILD b/extra/kexec-tools/PKGBUILD
index 75caa31c4..7c50cd51c 100644
--- a/extra/kexec-tools/PKGBUILD
+++ b/extra/kexec-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kexec-tools
pkgver=2.0.3
pkgrel=2
pkgdesc="Load another kernel from the currently executing Linux kernel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://kernel.org/pub/linux/utils/kernel/kexec/"
source=("ftp://ftp.archlinux.org/other/kexec-tools/kexec-tools-${pkgver}.tar.bz2"
#"http://kernel.org/pub/linux/utils/kernel/kexec/kexec-tools-${pkgver}.tar.bz2"
diff --git a/extra/kino/PKGBUILD b/extra/kino/PKGBUILD
index 6158c33ee..29087cc23 100644
--- a/extra/kino/PKGBUILD
+++ b/extra/kino/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=kino
pkgver=1.3.4
pkgrel=5
pkgdesc="A non-linear DV editor"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kinodv.org/"
license=('GPL')
depends=('libavc1394' 'libiec61883' 'libdv' 'libglade' 'libxv' 'libsamplerate' 'libsm' 'desktop-file-utils')
diff --git a/extra/kismet/PKGBUILD b/extra/kismet/PKGBUILD
index 3e808f48f..d31664fdb 100644
--- a/extra/kismet/PKGBUILD
+++ b/extra/kismet/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=2011_03_R2
_realver="${pkgver//_/-}"
pkgrel=5
pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kismetwireless.net/"
license=('GPL')
depends=('libcap' 'libnl1' 'pcre' 'ncurses' 'libpcap>=1.0.0' 'bluez' 'openssl' 'libusb-compat')
@@ -32,7 +32,8 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var
+ --localstatedir=/var \
+ --build=$CHOST --host=$CHOST
make dep
make
diff --git a/extra/kobodeluxe/PKGBUILD b/extra/kobodeluxe/PKGBUILD
index 228930797..1671dc7c5 100644
--- a/extra/kobodeluxe/PKGBUILD
+++ b/extra/kobodeluxe/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=kobodeluxe
pkgver=0.5.1
-pkgrel=3
+pkgrel=3.1
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/konversation/PKGBUILD b/extra/konversation/PKGBUILD
index 267963aba..c69944aff 100644
--- a/extra/konversation/PKGBUILD
+++ b/extra/konversation/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=konversation
pkgver=1.4
pkgrel=4
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 d9b7b3375..fb902ba5e 100644
--- a/extra/kradio/PKGBUILD
+++ b/extra/kradio/PKGBUILD
@@ -5,11 +5,12 @@
pkgname=kradio
pkgver=4.0.6
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
pkgdesc="A comfortable KDE internet and AM/FM radio application"
url="http://kradio.sourceforge.net/"
-depends=('kdebase-runtime' 'lirc-utils' 'libmms' 'ffmpeg')
+depends=('kdebase-runtime' 'libmms' 'ffmpeg')
+[ "$CARCH" != "mips64el" ] && depends+=('lirc-utils')
makedepends=('automoc4' 'cmake' 'boost')
install=$pkgname.install
source=("http://downloads.sourceforge.net/$pkgname/kradio4-$pkgver.tar.bz2"{,.asc})
diff --git a/extra/kshutdown/PKGBUILD b/extra/kshutdown/PKGBUILD
index f4235665b..e312b3db4 100644
--- a/extra/kshutdown/PKGBUILD
+++ b/extra/kshutdown/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=kshutdown
pkgver=3.0beta4
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 af3dc10ea..f7aa1b67d 100644
--- a/extra/ktorrent/PKGBUILD
+++ b/extra/ktorrent/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ktorrent
pkgver=4.3.0
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/kwebkitpart/PKGBUILD b/extra/kwebkitpart/PKGBUILD
index 1a2185e75..707d0991b 100644
--- a/extra/kwebkitpart/PKGBUILD
+++ b/extra/kwebkitpart/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.3.0
pkgrel=1
pkgdesc="A WebKit browser component for KDE"
url="http://opendesktop.org/content/show.php?content=127960"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('kdebase-runtime')
makedepends=('cmake' 'automoc4')
diff --git a/extra/lablgtk/PKGBUILD b/extra/lablgtk/PKGBUILD
index 786cde45c..87e8c74fd 100644
--- a/extra/lablgtk/PKGBUILD
+++ b/extra/lablgtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lablgtk
pkgver=1.2.7
pkgrel=9
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 ace0b2486..ab7971c4d 100644
--- a/extra/lablgtk2/PKGBUILD
+++ b/extra/lablgtk2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lablgtk2
pkgver=2.16.0
pkgrel=2
pkgdesc=" An Objective Caml interface to gtk2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://lablgtk.forge.ocamlcore.org/"
depends=('gtk2' 'gtkspell' 'libgnomecanvas' 'librsvg' 'libgnomeui' 'gtksourceview2')
diff --git a/extra/ladspa/PKGBUILD b/extra/ladspa/PKGBUILD
index 4885aaa34..be50e285b 100644
--- a/extra/ladspa/PKGBUILD
+++ b/extra/ladspa/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ladspa
pkgver=1.13
pkgrel=4
pkgdesc="Linux Audio Developer's Simple Plugin API (LADSPA)"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
license=('LGPL')
url="http://www.ladspa.org/"
depends=('gcc-libs')
diff --git a/extra/lame/PKGBUILD b/extra/lame/PKGBUILD
index 7a090e7b4..e7b961259 100644
--- a/extra/lame/PKGBUILD
+++ b/extra/lame/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=lame
pkgver=3.99.5
pkgrel=1
pkgdesc="A high quality MPEG Audio Layer III (MP3) encoder"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://lame.sourceforge.net/"
depends=('ncurses')
makedepends=('nasm')
diff --git a/extra/lapack/PKGBUILD b/extra/lapack/PKGBUILD
index cdefb4720..14b50033c 100644
--- a/extra/lapack/PKGBUILD
+++ b/extra/lapack/PKGBUILD
@@ -12,7 +12,7 @@ url="http://www.netlib.org/lapack"
pkgdesc="Linear Algebra PACKage"
makedepends=('gcc-fortran' 'cmake')
depends=('gcc-libs')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=("custom")
source=(http://www.netlib.org/${pkgbase}/${pkgbase}-${pkgver}.tgz
LICENSE.blas)
diff --git a/extra/latex2rtf/PKGBUILD b/extra/latex2rtf/PKGBUILD
index c7d15c6c7..b2032ff4f 100644
--- a/extra/latex2rtf/PKGBUILD
+++ b/extra/latex2rtf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=latex2rtf
pkgver=2.2.1c
pkgrel=2
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 ecf7b1c03..35042f76b 100644
--- a/extra/lbreakout2/PKGBUILD
+++ b/extra/lbreakout2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lbreakout2
pkgver=2.6.4
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 863178f64..f3ead6e60 100644
--- a/extra/lcab/PKGBUILD
+++ b/extra/lcab/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=lcab
pkgver=1.0b12
-pkgrel=4
+pkgrel=4.1
pkgdesc="A program to make Microsoft cabinet files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://ohnopub.net/~ohnobinki/lcab/"
depends=('glibc')
diff --git a/extra/lcms/PKGBUILD b/extra/lcms/PKGBUILD
index a8706fe41..e2feb050e 100644
--- a/extra/lcms/PKGBUILD
+++ b/extra/lcms/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=lcms
pkgver=1.19
-pkgrel=2
+pkgrel=2.1
pkgdesc="Lightweight color management development library/engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('libtiff')
url="http://www.littlecms.com"
diff --git a/extra/lcms2/PKGBUILD b/extra/lcms2/PKGBUILD
index c21ec1994..e30e538fe 100644
--- a/extra/lcms2/PKGBUILD
+++ b/extra/lcms2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lcms2
pkgver=2.4
pkgrel=1
pkgdesc="Small-footprint color management engine, version 2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MIT')
depends=('libtiff')
url="http://www.littlecms.com"
diff --git a/extra/leafpad/PKGBUILD b/extra/leafpad/PKGBUILD
index a54bcc40f..334890bfe 100644
--- a/extra/leafpad/PKGBUILD
+++ b/extra/leafpad/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=leafpad
pkgver=0.8.18.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="A notepad clone for GTK+ 2.0"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tarot.freeshell.org/leafpad/"
license=('GPL')
depends=('gtk2' 'desktop-file-utils')
diff --git a/extra/lensfun/PKGBUILD b/extra/lensfun/PKGBUILD
index 425ac426b..b0a300d7d 100644
--- a/extra/lensfun/PKGBUILD
+++ b/extra/lensfun/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lensfun
pkgver=0.2.6
pkgrel=1
pkgdesc="Database of photographic lenses and a library that allows advanced access to the database"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://lensfun.berlios.de/"
license=('LGPL3')
depends=('glibc' 'glib2')
@@ -14,10 +14,15 @@ source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ if [ "$CARCH" = "mips64el" ]; then
+ confflags="--vectorization="
+ else
+ confflags=""
+ fi
sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure
./configure \
--prefix=/usr \
- --libdir=/usr/lib
+ --libdir=/usr/lib ${confflags}
make all
}
diff --git a/extra/lesstif/PKGBUILD b/extra/lesstif/PKGBUILD
index 5d0d91350..59769dff4 100644
--- a/extra/lesstif/PKGBUILD
+++ b/extra/lesstif/PKGBUILD
@@ -8,11 +8,12 @@ pkgname=lesstif
pkgver=0.95.2
pkgrel=4
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')
-options=('!libtool' '!buildflags')
+[ "$CARCH" = "mips64el" ] && options=('!libtool')
+[ "$CARCH" = "mips64el" ] || options=('!libtool' '!buildflags')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
'LICENSE'
'040_fedora_XxxxProperty-64bit.diff')
diff --git a/extra/leveldb/PKGBUILD b/extra/leveldb/PKGBUILD
index 532c3c98f..70f0ffc81 100644
--- a/extra/leveldb/PKGBUILD
+++ b/extra/leveldb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=leveldb
pkgver=1.7.0
pkgrel=1
pkgdesc="A fast and lightweight key/value database library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://code.google.com/p/leveldb/"
license=('BSD')
depends=('gperftools' 'snappy')
diff --git a/extra/lftp/PKGBUILD b/extra/lftp/PKGBUILD
index 5922c966b..f16db5db5 100644
--- a/extra/lftp/PKGBUILD
+++ b/extra/lftp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lftp
pkgver=4.4.0
pkgrel=1
pkgdesc="Sophisticated command line based FTP client"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
depends=('gcc-libs' 'readline>=6.2' "gnutls" "expat>=2.0.1-4" 'sh')
optdepends=('perl: needed for convert-netscape-cookies and verify-file')
diff --git a/extra/libao/PKGBUILD b/extra/libao/PKGBUILD
index c2e9cebc4..b65a3a2aa 100644
--- a/extra/libao/PKGBUILD
+++ b/extra/libao/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=libao
pkgver=1.1.0
-pkgrel=2
+pkgrel=2.1
pkgdesc='Cross-platform audio output library and plugins'
url='http://xiph.org/ao/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
options=('!libtool')
depends=('alsa-lib')
diff --git a/extra/libart-lgpl/PKGBUILD b/extra/libart-lgpl/PKGBUILD
index de97c2ba4..ab2a6ca23 100644
--- a/extra/libart-lgpl/PKGBUILD
+++ b/extra/libart-lgpl/PKGBUILD
@@ -3,10 +3,10 @@
pkgname=libart-lgpl
pkgver=2.3.21
-pkgrel=2
+pkgrel=2.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')
source=(http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-${pkgver}.tar.bz2)
options=('!libtool')
diff --git a/extra/libass/PKGBUILD b/extra/libass/PKGBUILD
index 3bf677188..3b2ae3fc4 100644
--- a/extra/libass/PKGBUILD
+++ b/extra/libass/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libass
pkgver=0.10.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="A portable library for SSA/ASS subtitles rendering"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/libass/"
license=('BSD')
depends=('enca' 'fontconfig' 'fribidi')
diff --git a/extra/libasyncns/PKGBUILD b/extra/libasyncns/PKGBUILD
index 2776eb4e8..3da9256ca 100644
--- a/extra/libasyncns/PKGBUILD
+++ b/extra/libasyncns/PKGBUILD
@@ -7,9 +7,9 @@
pkgname=libasyncns
pkgver=0.8
-pkgrel=4
+pkgrel=4.1
pkgdesc="A C library for executing name service queries asynchronously"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/libasyncns"
license=('LGPL')
options=('!libtool')
diff --git a/extra/libatasmart/PKGBUILD b/extra/libatasmart/PKGBUILD
index 81a787709..d73898bd6 100644
--- a/extra/libatasmart/PKGBUILD
+++ b/extra/libatasmart/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libatasmart
pkgver=0.19
-pkgrel=1
+pkgrel=1.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')
url="http://0pointer.de/blog/projects/being-smart.html"
diff --git a/extra/libavc1394/PKGBUILD b/extra/libavc1394/PKGBUILD
index 98a6836f5..f08598f97 100644
--- a/extra/libavc1394/PKGBUILD
+++ b/extra/libavc1394/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libavc1394
pkgver=0.5.4
-pkgrel=1
+pkgrel=1.1
pkgdesc="A library to control A/V devices using the 1394ta AV/C commands."
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://sourceforge.net/projects/libavc1394/"
license=('LGPL')
depends=('libraw1394')
diff --git a/extra/libbluedevil/PKGBUILD b/extra/libbluedevil/PKGBUILD
index 93357f5db..ca13cfce1 100644
--- a/extra/libbluedevil/PKGBUILD
+++ b/extra/libbluedevil/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libbluedevil
pkgver=1.9.2
-pkgrel=1
+pkgrel=1.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/libbluray/PKGBUILD b/extra/libbluray/PKGBUILD
index ab00a2f5b..ba2ee7b36 100644
--- a/extra/libbluray/PKGBUILD
+++ b/extra/libbluray/PKGBUILD
@@ -6,12 +6,14 @@ pkgname=libbluray
pkgver=0.2.3
pkgrel=1
pkgdesc="Library to access Blu-Ray disks for video playback"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.videolan.org/developers/libbluray.html"
license=('LGPL2.1')
depends=('libxml2')
+if [ "$CARCH" != "mips64el" ]; then
makedepends=('apache-ant' 'jdk7-openjdk')
optdepends=('java-environment: Blu-ray Disc Java support library')
+fi
options=(!libtool)
source=(ftp://ftp.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
sha512sums=('b84fd172523facb207134bb1fee09c7f65914d22f6120fbfd6f312f0435229f3b110e8cc8ea121159929cda3760cfac4b52f84de39d0fb976f8c88d1f7e6d278')
@@ -19,11 +21,16 @@ sha512sums=('b84fd172523facb207134bb1fee09c7f65914d22f6120fbfd6f312f0435229f3b11
build() {
cd "$pkgname-$pkgver"
+if [ "$CARCH" != "mips64el" ]; then
. /etc/profile.d/jdk.sh
./configure --prefix=/usr \
--enable-bdjava \
--with-jdk=${JAVA_HOME} \
--disable-static
+else
+ ./configure --prefix=/usr \
+ --disable-static
+fi
make
}
@@ -31,7 +38,9 @@ package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
#install bdj
+if [ "$CARCH" != "mips64el" ]; then
install -Dm644 src/.libs/libbluray.jar "$pkgdir/usr/share/java/libbluray.jar"
+fi
}
# vim:set ts=2 sw=2 et:
diff --git a/extra/libbonobo/PKGBUILD b/extra/libbonobo/PKGBUILD
index 177b162d1..2f5386137 100644
--- a/extra/libbonobo/PKGBUILD
+++ b/extra/libbonobo/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libbonobo
pkgver=2.32.1
-pkgrel=2
+pkgrel=2.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 149816cbd..d97478ff7 100644
--- a/extra/libbonoboui/PKGBUILD
+++ b/extra/libbonoboui/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libbonoboui
pkgver=2.24.5
-pkgrel=2
+pkgrel=2.1
pkgdesc="User Interface library for Bonobo"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL')
depends=('libgnomecanvas' 'libgnome')
makedepends=('intltool' 'pkg-config')
diff --git a/extra/libburn/PKGBUILD b/extra/libburn/PKGBUILD
index 645aa2505..112b0c689 100644
--- a/extra/libburn/PKGBUILD
+++ b/extra/libburn/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libburn
pkgver=1.2.4
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 c44ac22e9..cce8347dd 100644
--- a/extra/libcaca/PKGBUILD
+++ b/extra/libcaca/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libcaca
pkgver=0.99.beta18
pkgrel=1
pkgdesc="Color AsCii Art library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://caca.zoy.org/wiki/libcaca"
depends=('imlib2' 'ncurses')
diff --git a/extra/libcanberra/PKGBUILD b/extra/libcanberra/PKGBUILD
index d78abcbba..5e62b6ae1 100644
--- a/extra/libcanberra/PKGBUILD
+++ b/extra/libcanberra/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(libcanberra libcanberra-pulse libcanberra-gstreamer)
pkgver=0.30
pkgrel=2
pkgdesc="A small and lightweight implementation of the XDG Sound Theme Specification"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(LGPL)
depends=(libvorbis libltdl alsa-lib tdb)
makedepends=(gtk-doc libpulse gstreamer gtk2 gtk3)
diff --git a/extra/libcap-ng/PKGBUILD b/extra/libcap-ng/PKGBUILD
index b435a92e6..1033cff4b 100644
--- a/extra/libcap-ng/PKGBUILD
+++ b/extra/libcap-ng/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcap-ng
pkgver=0.7.3
pkgrel=1
pkgdesc="A library making programming with POSIX capabilities easier than traditional libcap"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://people.redhat.com/sgrubb/libcap-ng/"
license=('GPL2' 'LGPL2.1')
depends=('glibc')
diff --git a/extra/libcdaudio/PKGBUILD b/extra/libcdaudio/PKGBUILD
index 2a287e556..ef4974c50 100644
--- a/extra/libcdaudio/PKGBUILD
+++ b/extra/libcdaudio/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libcdaudio
pkgver=0.99.12
pkgrel=6
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 51b3b7d02..ad9c5a293 100644
--- a/extra/libcddb/PKGBUILD
+++ b/extra/libcddb/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=libcddb
pkgver=1.3.2
-pkgrel=3
-arch=('i686' 'x86_64')
+pkgrel=3.1
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Library that implements the different protocols (CDDBP, HTTP, SMTP) to access data on a CDDB server (e.g. http://freedb.org)."
url="http://sourceforge.net/projects/libcddb/"
license=('LGPL')
diff --git a/extra/libcdio/PKGBUILD b/extra/libcdio/PKGBUILD
index a532e0d77..18ac17f3f 100644
--- a/extra/libcdio/PKGBUILD
+++ b/extra/libcdio/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libcdio
pkgver=0.83
-pkgrel=1
+pkgrel=1.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=('libcddb' 'ncurses')
diff --git a/extra/libchamplain/PKGBUILD b/extra/libchamplain/PKGBUILD
index 52659e26a..26943ec65 100644
--- a/extra/libchamplain/PKGBUILD
+++ b/extra/libchamplain/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
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' 'sqlite')
makedepends=('gobject-introspection' 'gtk-doc' 'vala')
diff --git a/extra/libchewing/PKGBUILD b/extra/libchewing/PKGBUILD
index 2a4fbb70a..42d5fe830 100644
--- a/extra/libchewing/PKGBUILD
+++ b/extra/libchewing/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libchewing
pkgver=0.3.3
-pkgrel=2
+pkgrel=2.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/libconfig/PKGBUILD b/extra/libconfig/PKGBUILD
index fe7ac1e23..4e46771f6 100644
--- a/extra/libconfig/PKGBUILD
+++ b/extra/libconfig/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libconfig
pkgver=1.4.8
pkgrel=1
pkgdesc="C/C++ Configuration File Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hyperrealm.com/libconfig/libconfig.html"
license=('LGPL')
depends=('gcc-libs' 'texinfo')
diff --git a/extra/libcroco/PKGBUILD b/extra/libcroco/PKGBUILD
index f1ef8afd2..05ca39828 100644
--- a/extra/libcroco/PKGBUILD
+++ b/extra/libcroco/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libcroco
pkgver=0.6.8
pkgrel=1
pkgdesc="A CSS parsing library"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
depends=('glib2' 'libxml2')
makedepends=('intltool')
license=('LGPL')
diff --git a/extra/libcue/PKGBUILD b/extra/libcue/PKGBUILD
index 2802c53de..740ad9dd9 100644
--- a/extra/libcue/PKGBUILD
+++ b/extra/libcue/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.4.0
pkgrel=3
pkgdesc='Parses so-called cue sheets and handles the parsed data'
url='http://sourceforge.net/projects/libcue/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc')
options=('!libtool')
diff --git a/extra/libdaemon/PKGBUILD b/extra/libdaemon/PKGBUILD
index f12c1fa55..ac91300b2 100644
--- a/extra/libdaemon/PKGBUILD
+++ b/extra/libdaemon/PKGBUILD
@@ -6,11 +6,11 @@
pkgname=libdaemon
pkgver=0.14
-pkgrel=2
+pkgrel=2.1
pkgdesc='Lightweight C library that eases the writing of UNIX daemons'
url='http://0pointer.de/lennart/projects/libdaemon/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://0pointer.de/lennart/projects/libdaemon/${pkgname}-${pkgver}.tar.gz")
options=('!libtool')
sha1sums=('78a4db58cf3a7a8906c35592434e37680ca83b8f')
diff --git a/extra/libdatrie/PKGBUILD b/extra/libdatrie/PKGBUILD
index 21eca6bfb..18dc8731e 100644
--- a/extra/libdatrie/PKGBUILD
+++ b/extra/libdatrie/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=libdatrie
pkgver=0.2.5
-pkgrel=1
+pkgrel=1.1
pkgdesc="Implementation of double-array structure for representing trie, as proposed by Junichi Aoe."
url="http://linux.thai.net/projects/datrie"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
options=('!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 921e7b244..d2279c606 100644
--- a/extra/libdbusmenu-qt/PKGBUILD
+++ b/extra/libdbusmenu-qt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdbusmenu-qt
pkgver=0.9.2
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 aaba1b8d3..6c44f7d49 100644
--- a/extra/libdc1394/PKGBUILD
+++ b/extra/libdc1394/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libdc1394
pkgver=2.1.3
-pkgrel=2
+pkgrel=2.1
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.7' 'libusb')
diff --git a/extra/libdca/PKGBUILD b/extra/libdca/PKGBUILD
index bc42228f3..17c4def29 100644
--- a/extra/libdca/PKGBUILD
+++ b/extra/libdca/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libdca
pkgver=0.0.5
-pkgrel=3
+pkgrel=3.1
pkgdesc="Free library for decoding DTS Coherent Acoustics streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.videolan.org/developers/libdca.html"
depends=('sh')
diff --git a/extra/libdiscid/PKGBUILD b/extra/libdiscid/PKGBUILD
index cd9c4ec4e..70763652b 100644
--- a/extra/libdiscid/PKGBUILD
+++ b/extra/libdiscid/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libdiscid
pkgver=0.2.2
pkgrel=2
-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/libdmapsharing/PKGBUILD b/extra/libdmapsharing/PKGBUILD
index f6bdca3b1..2539d70f4 100644
--- a/extra/libdmapsharing/PKGBUILD
+++ b/extra/libdmapsharing/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libdmapsharing
pkgver=2.9.15
pkgrel=1
pkgdesc="A library that implements the DMAP family of protocols"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.flyn.org/projects/libdmapsharing/index.html"
license=('LGPL2.1')
depends=('libsoup' 'avahi' 'gstreamer0.10-base' 'gdk-pixbuf2')
diff --git a/extra/libdmtx/PKGBUILD b/extra/libdmtx/PKGBUILD
index 43a5f4421..f7d067d42 100644
--- a/extra/libdmtx/PKGBUILD
+++ b/extra/libdmtx/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.7.4
pkgrel=3
pkgdesc="A software for reading and writing Data Matrix 2D barcodes"
url="http://www.libdmtx.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
diff --git a/extra/libdmx/PKGBUILD b/extra/libdmx/PKGBUILD
index 7265dc7ca..323e1f733 100644
--- a/extra/libdmx/PKGBUILD
+++ b/extra/libdmx/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libdmx
pkgver=1.1.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="X11 Distributed Multihead extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('dmxproto' 'libxext')
diff --git a/extra/libdrm-new/COPYING b/extra/libdrm-new/COPYING
deleted file mode 100644
index 6e74c337c..000000000
--- a/extra/libdrm-new/COPYING
+++ /dev/null
@@ -1,48 +0,0 @@
- Copyright 2005 Adam Jackson.
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- "Software"), to deal in the Software without restriction, including
- without limitation on the rights to use, copy, modify, merge,
- publish, distribute, sub license, and/or sell copies of the Software,
- and to permit persons to whom the Software is furnished to do so,
- subject to the following conditions:
-
- The above copyright notice and this permission notice (including the
- next paragraph) shall be included in all copies or substantial
- portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NON-INFRINGEMENT. IN NO EVENT SHALL ADAM JACKSON BE LIABLE FOR ANY
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-------------------------------------------------------------------------
-
- Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
- Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
- All Rights Reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- "Software"), to deal in the Software without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software, and to
- permit persons to whom the Software is furnished to do so, subject to
- the following conditions:
-
- The above copyright notice and this permission notice (including the
- next paragraph) shall be included in all copies or substantial
- portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NONINFRINGEMENT. IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS
- SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- DEALINGS IN THE SOFTWARE.
diff --git a/extra/libdrm-new/PKGBUILD b/extra/libdrm-new/PKGBUILD
deleted file mode 100644
index 32a85fcd1..000000000
--- a/extra/libdrm-new/PKGBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-#Id$
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgbase=libdrm-new
-pkgname=(libdrm-new libdrm-nouveau)
-pkgver=2.4.34
-pkgrel=1
-pkgdesc="Userspace interface to kernel DRM services"
-arch=(i686 x86_64)
-license=('custom')
-depends=('glibc' 'libpciaccess')
-makedepends=('cairo' 'valgrind')
-options=('!libtool' '!emptydirs')
-url="http://dri.freedesktop.org/"
-source=(http://dri.freedesktop.org/libdrm/libdrm-$pkgver.tar.bz2
- no-pthread-stubs.patch
- COPYING
-)
-sha1sums=('861757baff4b37e564e13f5350c1b5d01c66a181'
- '2a5410baa3e6e078f9378ce486a88f41d22fd838'
- 'ba3dcd636997ee0d30df14b03dae05c24ae5d094')
-
-build() {
- cd "libdrm-$pkgver"
- patch -Np1 -i "$srcdir/no-pthread-stubs.patch"
-
- #libtoolize --force
- autoreconf --force --install
- ./configure --prefix=/usr \
- --disable-libkms \
- --disable-intel \
- --disable-radeon
- make
-}
-
-package_libdrm-new() {
- pkgdesc="Userspace interface to kernel DRM services - used as makedepends for xf86-video-nouveau"
- conflicts=('libdrm')
- provides=("libdrm=$pkgver")
- cd "libdrm-$pkgver"
- make DESTDIR="$pkgdir" install
- rm "$pkgdir"/usr/lib/libdrm_nouveau.so.2*
-}
-
-package_libdrm-nouveau() {
- pkgdesc="Userspace interface to kernel DRM services for nouveau - used as depends for xf86-video-nouveau"
- depends=(libdrm)
- cd "libdrm-$pkgver"
- make DESTDIR="$pkgdir" install-libdrm_laLTLIBRARIES
- make -C nouveau DESTDIR="$pkgdir" install
- make DESTDIR="$pkgdir" uninstall-libdrm_laLTLIBRARIES
- rm "$pkgdir"/usr/include/libdrm/nouveau.h "$pkgdir"/usr/lib/pkgconfig/libdrm_nouveau.pc "$pkgdir"/usr/lib/libdrm_nouveau.so
-}
diff --git a/extra/libdrm-new/no-pthread-stubs.patch b/extra/libdrm-new/no-pthread-stubs.patch
deleted file mode 100644
index 6745f4bc4..000000000
--- a/extra/libdrm-new/no-pthread-stubs.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-diff -Nur libdrm-2.4.34.orig/configure.ac libdrm-2.4.34/configure.ac
---- libdrm-2.4.34.orig/configure.ac 2012-05-12 14:54:06.375335490 +0000
-+++ libdrm-2.4.34/configure.ac 2012-05-12 14:54:32.075142065 +0000
-@@ -47,10 +47,6 @@
- LT_INIT([disable-static])
-
-
--PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)
--AC_SUBST(PTHREADSTUBS_CFLAGS)
--AC_SUBST(PTHREADSTUBS_LIBS)
--
- pkgconfigdir=${libdir}/pkgconfig
- AC_SUBST(pkgconfigdir)
- AC_ARG_ENABLE([udev],
-diff -Nur libdrm-2.4.34.orig/intel/Makefile.am libdrm-2.4.34/intel/Makefile.am
---- libdrm-2.4.34.orig/intel/Makefile.am 2012-05-12 14:54:06.372001955 +0000
-+++ libdrm-2.4.34/intel/Makefile.am 2012-05-12 14:55:24.164745055 +0000
-@@ -26,7 +26,6 @@
- $(WARN_CFLAGS) \
- -I$(top_srcdir) \
- -I$(top_srcdir)/intel \
-- $(PTHREADSTUBS_CFLAGS) \
- $(PCIACCESS_CFLAGS) \
- $(VALGRIND_CFLAGS) \
- -I$(top_srcdir)/include/drm
-@@ -35,7 +34,6 @@
- libdrm_intel_ladir = $(libdir)
- libdrm_intel_la_LDFLAGS = -version-number 1:0:0 -no-undefined
- libdrm_intel_la_LIBADD = ../libdrm.la \
-- @PTHREADSTUBS_LIBS@ \
- @PCIACCESS_LIBS@ \
- @CLOCK_LIB@
-
-diff -Nur libdrm-2.4.34.orig/nouveau/Makefile.am libdrm-2.4.34/nouveau/Makefile.am
---- libdrm-2.4.34.orig/nouveau/Makefile.am 2012-05-12 14:54:06.331998148 +0000
-+++ libdrm-2.4.34/nouveau/Makefile.am 2012-05-12 14:56:00.941132085 +0000
-@@ -2,14 +2,13 @@
- $(WARN_CFLAGS) \
- -I$(top_srcdir) \
- -I$(top_srcdir)/nouveau \
-- $(PTHREADSTUBS_CFLAGS) \
- -I$(top_srcdir)/include/drm \
- -DDEBUG
-
- libdrm_nouveau_la_LTLIBRARIES = libdrm_nouveau.la
- libdrm_nouveau_ladir = $(libdir)
- libdrm_nouveau_la_LDFLAGS = -version-number 2:0:0 -no-undefined
--libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
-+libdrm_nouveau_la_LIBADD = ../libdrm.la
-
- libdrm_nouveau_la_SOURCES = nouveau.c \
- pushbuf.c \
-diff -Nur libdrm-2.4.34.orig/radeon/Makefile.am libdrm-2.4.34/radeon/Makefile.am
---- libdrm-2.4.34.orig/radeon/Makefile.am 2012-05-12 14:54:06.365334765 +0000
-+++ libdrm-2.4.34/radeon/Makefile.am 2012-05-12 14:55:48.084557437 +0000
-@@ -26,13 +26,12 @@
- $(WARN_CFLAGS) \
- -I$(top_srcdir) \
- -I$(top_srcdir)/radeon \
-- $(PTHREADSTUBS_CFLAGS) \
- -I$(top_srcdir)/include/drm
-
- libdrm_radeon_la_LTLIBRARIES = libdrm_radeon.la
- libdrm_radeon_ladir = $(libdir)
- libdrm_radeon_la_LDFLAGS = -version-number 1:0:0 -no-undefined
--libdrm_radeon_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
-+libdrm_radeon_la_LIBADD = ../libdrm.la
-
- libdrm_radeon_la_SOURCES = \
- radeon_bo_gem.c \
diff --git a/extra/libdrm-old/COPYING b/extra/libdrm-old/COPYING
deleted file mode 100644
index 6e74c337c..000000000
--- a/extra/libdrm-old/COPYING
+++ /dev/null
@@ -1,48 +0,0 @@
- Copyright 2005 Adam Jackson.
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- "Software"), to deal in the Software without restriction, including
- without limitation on the rights to use, copy, modify, merge,
- publish, distribute, sub license, and/or sell copies of the Software,
- and to permit persons to whom the Software is furnished to do so,
- subject to the following conditions:
-
- The above copyright notice and this permission notice (including the
- next paragraph) shall be included in all copies or substantial
- portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NON-INFRINGEMENT. IN NO EVENT SHALL ADAM JACKSON BE LIABLE FOR ANY
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-------------------------------------------------------------------------
-
- Copyright 1999 Precision Insight, Inc., Cedar Park, Texas.
- Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
- All Rights Reserved.
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of this software and associated documentation files (the
- "Software"), to deal in the Software without restriction, including
- without limitation the rights to use, copy, modify, merge, publish,
- distribute, sublicense, and/or sell copies of the Software, and to
- permit persons to whom the Software is furnished to do so, subject to
- the following conditions:
-
- The above copyright notice and this permission notice (including the
- next paragraph) shall be included in all copies or substantial
- portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NONINFRINGEMENT. IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS
- SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- DEALINGS IN THE SOFTWARE.
diff --git a/extra/libdrm-old/PKGBUILD b/extra/libdrm-old/PKGBUILD
deleted file mode 100644
index f72b03e5c..000000000
--- a/extra/libdrm-old/PKGBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-#Id$
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgbase=libdrm-old
-pkgname=(libdrm-old libdrm-nouveau1)
-pkgver=2.4.33
-pkgrel=1
-pkgdesc="Userspace interface to kernel DRM services"
-arch=(i686 x86_64)
-license=('custom')
-depends=('glibc' 'libpciaccess')
-makedepends=('cairo' 'valgrind')
-options=('!libtool' '!emptydirs')
-url="http://dri.freedesktop.org/"
-source=(http://dri.freedesktop.org/libdrm/libdrm-$pkgver.tar.bz2
- no-pthread-stubs.patch
- COPYING
-)
-sha1sums=('4da2c635491724e44326871e6a49ccfec0b6b5a6'
- '825ff5e0c4238b31bdea52f104bfec8949270e25'
- 'ba3dcd636997ee0d30df14b03dae05c24ae5d094')
-
-build() {
- cd "libdrm-$pkgver"
- patch -Np1 -i "$srcdir/no-pthread-stubs.patch"
-
- #libtoolize --force
- autoreconf --force --install
- ./configure --prefix=/usr \
- --disable-libkms \
- --disable-intel \
- --disable-radeon \
- --enable-nouveau-experimental-api
- make
-}
-
-package_libdrm-old() {
- pkgdesc="Userspace interface to kernel DRM services - used as makedepends for nouveau-dri"
- conflicts=('libdrm')
- provides=("libdrm=$pkgver")
- cd "libdrm-$pkgver"
- make DESTDIR="$pkgdir" install
- rm "$pkgdir"/usr/lib/libdrm_nouveau.so.1*
-}
-
-package_libdrm-nouveau1() {
- pkgdesc="Userspace interface to kernel DRM services for nouveau - used as depends for nouveau-dri"
- depends=(libdrm)
- cd "libdrm-$pkgver"
- make DESTDIR="$pkgdir" install-libdrm_laLTLIBRARIES
- make -C nouveau DESTDIR="$pkgdir" install
- make DESTDIR="$pkgdir" uninstall-libdrm_laLTLIBRARIES
- rm -rf "$pkgdir"/usr/include/ "$pkgdir"/usr/lib/pkgconfig/libdrm_nouveau.pc "$pkgdir"/usr/lib/libdrm_nouveau.so
-}
diff --git a/extra/libdrm-old/no-pthread-stubs.patch b/extra/libdrm-old/no-pthread-stubs.patch
deleted file mode 100644
index 5430244f9..000000000
--- a/extra/libdrm-old/no-pthread-stubs.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-diff -ru libdrm-2.4.0/configure.ac libdrm-2.4.0-nostubs/configure.ac
---- libdrm-2.4.0/configure.ac 2008-10-09 21:57:09.000000000 +0200
-+++ libdrm-2.4.0-nostubs/configure.ac 2008-10-21 10:48:24.000000000 +0200
-@@ -47,10 +47,6 @@
- LT_INIT([disable-static])
-
-
--PKG_CHECK_MODULES(PTHREADSTUBS, pthread-stubs)
--AC_SUBST(PTHREADSTUBS_CFLAGS)
--AC_SUBST(PTHREADSTUBS_LIBS)
--
- pkgconfigdir=${libdir}/pkgconfig
- AC_SUBST(pkgconfigdir)
- AC_ARG_ENABLE([udev],
---- libdrm-2.4.16/intel/Makefile.am 2009-11-20 23:54:36.000000000 +0000
-+++ libdrm-2.4.16/intel/Makefile.am.new 2009-12-07 08:11:32.235748069 +0000
-@@ -26,7 +26,6 @@
- $(WARN_CFLAGS) \
- -I$(top_srcdir) \
- -I$(top_srcdir)/intel \
-- $(PTHREADSTUBS_CFLAGS) \
- $(PCIACCESS_CFLAGS) \
- -I$(top_srcdir)/include/drm
-
-@@ -34,7 +33,6 @@
- libdrm_intel_ladir = $(libdir)
- libdrm_intel_la_LDFLAGS = -version-number 1:0:0 -no-undefined
- libdrm_intel_la_LIBADD = ../libdrm.la \
-- @PTHREADSTUBS_LIBS@ \
- @PCIACCESS_LIBS@ \
- @CLOCK_LIB@
-
---- libdrm-2.4.16/radeon/Makefile.am 2009-11-20 23:54:36.000000000 +0000
-+++ libdrm-2.4.16/radeon/Makefile.am.new 2009-12-07 08:12:31.889075388 +0000
-@@ -26,13 +26,12 @@
- $(WARN_CFLAGS) \
- -I$(top_srcdir) \
- -I$(top_srcdir)/radeon \
-- $(PTHREADSTUBS_CFLAGS) \
- -I$(top_srcdir)/include/drm
-
- libdrm_radeon_la_LTLIBRARIES = libdrm_radeon.la
- libdrm_radeon_ladir = $(libdir)
- libdrm_radeon_la_LDFLAGS = -version-number 1:0:0 -no-undefined
--libdrm_radeon_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
-+libdrm_radeon_la_LIBADD = ../libdrm.la
-
- libdrm_radeon_la_SOURCES = \
- radeon_bo_gem.c \
---- libdrm-2.4.16/nouveau/Makefile.am 2009-11-20 23:54:36.000000000 +0000
-+++ libdrm-2.4.16/nouveau/Makefile.am.new 2009-12-07 08:13:01.489072320 +0000
-@@ -2,13 +2,12 @@
- $(WARN_CFLAGS) \
- -I$(top_srcdir) \
- -I$(top_srcdir)/nouveau \
-- $(PTHREADSTUBS_CFLAGS) \
- -I$(top_srcdir)/include/drm
-
- libdrm_nouveau_la_LTLIBRARIES = libdrm_nouveau.la
- libdrm_nouveau_ladir = $(libdir)
- libdrm_nouveau_la_LDFLAGS = -version-number 1:0:0 -no-undefined
--libdrm_nouveau_la_LIBADD = ../libdrm.la @PTHREADSTUBS_LIBS@
-+libdrm_nouveau_la_LIBADD = ../libdrm.la
-
- libdrm_nouveau_la_SOURCES = \
- nouveau_device.c \
diff --git a/extra/libdrm/PKGBUILD b/extra/libdrm/PKGBUILD
index f4e43d2b5..7912597db 100644
--- a/extra/libdrm/PKGBUILD
+++ b/extra/libdrm/PKGBUILD
@@ -5,10 +5,11 @@ pkgname=libdrm
pkgver=2.4.40
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
depends=('glibc' 'libpciaccess')
-makedepends=('cairo' 'valgrind')
+makedepends=('cairo')
+[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind')
replaces=('libdrm-new' 'libdrm-nouveau')
options=('!libtool')
url="http://dri.freedesktop.org/"
diff --git a/extra/libdv/PKGBUILD b/extra/libdv/PKGBUILD
index fdeec4a35..1c7302970 100644
--- a/extra/libdv/PKGBUILD
+++ b/extra/libdv/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libdv
pkgver=1.0.0
-pkgrel=4
+pkgrel=4.1
pkgdesc="The Quasar DV codec (libdv) is a software codec for DV video"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libdv.sourceforge.net/"
license=('LGPL')
depends=('popt')
diff --git a/extra/libdvbpsi/PKGBUILD b/extra/libdvbpsi/PKGBUILD
index 9ac9fc40a..e10dff9e9 100644
--- a/extra/libdvbpsi/PKGBUILD
+++ b/extra/libdvbpsi/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libdvbpsi
pkgver=0.2.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="A library designed for decoding and generation of MPEG TS and DVB PSI tables"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('glibc')
options=('!libtool')
diff --git a/extra/libdvdcss/PKGBUILD b/extra/libdvdcss/PKGBUILD
index c6b18078d..bec7d2a35 100644
--- a/extra/libdvdcss/PKGBUILD
+++ b/extra/libdvdcss/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.2.12
pkgrel=1
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 21fafd52b..57df9ae33 100644
--- a/extra/libdvdnav/PKGBUILD
+++ b/extra/libdvdnav/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libdvdnav
pkgver=4.2.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="The library for xine-dvdnav plugin."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://dvdnav.mplayerhq.hu/"
depends=('libdvdread')
diff --git a/extra/libdvdread/PKGBUILD b/extra/libdvdread/PKGBUILD
index 53a51bcee..259acd58d 100644
--- a/extra/libdvdread/PKGBUILD
+++ b/extra/libdvdread/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libdvdread
pkgver=4.2.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Provides a simple foundation for reading DVD video disks"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://dvdnav.mplayerhq.hu"
license=('GPL')
depends=('glibc')
diff --git a/extra/libebml/PKGBUILD b/extra/libebml/PKGBUILD
index 7302de3d0..61a8c71ea 100644
--- a/extra/libebml/PKGBUILD
+++ b/extra/libebml/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libebml
pkgver=1.2.2
-pkgrel=2
+pkgrel=2.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 89ff4ecaa..57c3baa17 100644
--- a/extra/libepc/PKGBUILD
+++ b/extra/libepc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libepc
pkgver=0.4.4
pkgrel=1
pkgdesc="Easy Publish and Consume Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://live.gnome.org/libepc"
depends=('gtk3' 'avahi' 'libsoup')
diff --git a/extra/libetpan/PKGBUILD b/extra/libetpan/PKGBUILD
index 482123b31..436af32fa 100644
--- a/extra/libetpan/PKGBUILD
+++ b/extra/libetpan/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libetpan
pkgver=1.1
pkgrel=1
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.3.15' 'libsasl>=2.1.23' 'curl>=7.23.1' 'expat>=2.0.1-1')
diff --git a/extra/libexif/PKGBUILD b/extra/libexif/PKGBUILD
index 6fd0d675d..5526df989 100644
--- a/extra/libexif/PKGBUILD
+++ b/extra/libexif/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libexif
pkgver=0.6.21
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 d1a09155e..b67e0a6a3 100644
--- a/extra/libffado/PKGBUILD
+++ b/extra/libffado/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libffado
pkgver=2.1.0
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' 'dbus-c++'
@@ -35,8 +35,10 @@ build() {
# python2 fix
patch -Np1 -i "$srcdir/python2-qt.patch"
- # build!
- if [ "$CARCH" = 'x86_64' ]; then
+ if [ "$CARCH" = "x86_64" ]; then
+ _scons-conf ENABLE_OPTIMIZATIONS=True
+ elif [ "$CARCH" = "mips64el" ]; then
+ sed -i "s/-mn32/-mn32 $CFLAGS/g" SConstruct
_scons-conf ENABLE_OPTIMIZATIONS=True
else
_scons-conf
diff --git a/extra/libfontenc/PKGBUILD b/extra/libfontenc/PKGBUILD
index 314c8fc67..0fc71ae21 100644
--- a/extra/libfontenc/PKGBUILD
+++ b/extra/libfontenc/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libfontenc
pkgver=1.1.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="X11 font encoding library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('zlib')
diff --git a/extra/libfprint/PKGBUILD b/extra/libfprint/PKGBUILD
index a1e059763..7eec16063 100644
--- a/extra/libfprint/PKGBUILD
+++ b/extra/libfprint/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libfprint
pkgver=0.4.0
pkgrel=3
pkgdesc="Library for fingerprint readers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/fprint/libfprint"
license=(LGPL)
depends=(libusb nss gdk-pixbuf2)
diff --git a/extra/libfs/PKGBUILD b/extra/libfs/PKGBUILD
index ebcc30952..9d16938d1 100644
--- a/extra/libfs/PKGBUILD
+++ b/extra/libfs/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libfs
pkgver=1.0.4
-pkgrel=1
+pkgrel=1.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/libftdi/PKGBUILD b/extra/libftdi/PKGBUILD
index 61165b225..dc380353c 100644
--- a/extra/libftdi/PKGBUILD
+++ b/extra/libftdi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libftdi
pkgver=0.20
pkgrel=1
pkgdesc="A library to talk to FTDI chips"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.intra2net.com/en/developer/libftdi/download.php"
license=('GPL2' 'LGPL2.1')
depends=('libusb-compat' 'gcc-libs')
diff --git a/extra/libgadu/PKGBUILD b/extra/libgadu/PKGBUILD
index e12be99e8..1ac53074a 100644
--- a/extra/libgadu/PKGBUILD
+++ b/extra/libgadu/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libgadu
pkgver=1.11.2
pkgrel=1
pkgdesc="This library implements the client side of the Gadu-Gadu protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://toxygen.net/libgadu/"
license=('LGPL2.1')
depends=('openssl')
diff --git a/extra/libgda/PKGBUILD b/extra/libgda/PKGBUILD
index 903af6fb2..c6d50d193 100644
--- a/extra/libgda/PKGBUILD
+++ b/extra/libgda/PKGBUILD
@@ -6,13 +6,14 @@ pkgname=libgda
pkgver=5.0.3
pkgrel=1
pkgdesc="Data abstraction layer with mysql, pgsql, xml, sqlite providers"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gtksourceview3' 'libxslt' 'json-glib' 'db' 'ncurses' 'libsoup'
'libmysqlclient' 'postgresql-libs' 'python2' 'libgnome-keyring'
'hicolor-icon-theme' 'desktop-file-utils' 'graphviz' 'gdk-pixbuf2'
'iso-codes' 'openssl' 'libgcrypt' 'libldap')
-makedepends=('intltool' 'gobject-introspection' 'openjdk6' 'gtk-doc' 'vala')
+makedepends=('intltool' 'gobject-introspection' 'gtk-doc' 'vala')
+[ "$CARCH" != "mips64el" ] && makedepends+=('openjdk6')
options=('!libtool')
url="http://www.gnome-db.org"
install=libgda.install
diff --git a/extra/libgdata/PKGBUILD b/extra/libgdata/PKGBUILD
index 72b029159..f46623925 100644
--- a/extra/libgdata/PKGBUILD
+++ b/extra/libgdata/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgdata
pkgver=0.13.2
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' 'liboauth' 'gcr' 'gnome-online-accounts')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libgdiplus/PKGBUILD b/extra/libgdiplus/PKGBUILD
index 854293554..9553d8b3b 100644
--- a/extra/libgdiplus/PKGBUILD
+++ b/extra/libgdiplus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgdiplus
pkgver=2.10
pkgrel=3
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 cf140fd06..0b836937d 100644
--- a/extra/libgee/PKGBUILD
+++ b/extra/libgee/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="GObject collection library"
url="http://live.gnome.org/Libgee"
license=('LGPL2.1')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glib2')
makedepends=('gobject-introspection')
options=('!libtool')
diff --git a/extra/libggz/PKGBUILD b/extra/libggz/PKGBUILD
deleted file mode 100644
index 5817994a2..000000000
--- a/extra/libggz/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 149563 2012-02-08 14:13:45Z tpowa $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=libggz
-pkgver=0.0.14.1
-pkgrel=3
-pkgdesc="GGZ base library, used by the GGZ Gaming Zone server (ggzd), the ggzcore library and other components"
-arch=('i686' 'x86_64')
-url="http://www.ggzgamingzone.org/"
-license=('LGPL')
-depends=('libgcrypt')
-options=('!libtool')
-source=("http://ftp.ggzgamingzone.org/pub/ggz/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('603739504648833779aa13b0327a1c3d')
-
-build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/libgksu/PKGBUILD b/extra/libgksu/PKGBUILD
index d64ba07d9..c260783c6 100644
--- a/extra/libgksu/PKGBUILD
+++ b/extra/libgksu/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgksu
pkgver=2.0.12
pkgrel=5
pkgdesc="gksu authorization library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.nongnu.org/gksu/index.html"
license=(GPL)
depends=('gconf' 'gtk2' 'libgnome-keyring' 'libgtop' 'startup-notification')
diff --git a/extra/libglade/PKGBUILD b/extra/libglade/PKGBUILD
index 182b6718e..802d07e19 100644
--- a/extra/libglade/PKGBUILD
+++ b/extra/libglade/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libglade
pkgver=2.6.4
-pkgrel=3
+pkgrel=3.1
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 2b5e5ffcf..b84eba3b1 100644
--- a/extra/libglademm/PKGBUILD
+++ b/extra/libglademm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libglademm
pkgver=2.6.7
-pkgrel=2
+pkgrel=2.1
pkgdesc="A C++ wrapper for libglade."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gtkmm.sourceforge.net/"
license=('LGPL')
depends=('libglade>=2.6.3' 'gtkmm>=2.14.1')
diff --git a/extra/libgme/PKGBUILD b/extra/libgme/PKGBUILD
index f7604c3f8..4b7bd8e04 100644
--- a/extra/libgme/PKGBUILD
+++ b/extra/libgme/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=libgme
pkgver=0.6.0
-pkgrel=2
+pkgrel=2.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 527036737..919e6472c 100644
--- a/extra/libgnome-keyring/PKGBUILD
+++ b/extra/libgnome-keyring/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgnome-keyring
pkgver=3.6.0
pkgrel=1
pkgdesc="GNOME keyring client library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
depends=('dbus-core' 'glib2' 'libgcrypt')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libgnome-media-profiles/PKGBUILD b/extra/libgnome-media-profiles/PKGBUILD
index 9cb1b849c..0b3e1d109 100644
--- a/extra/libgnome-media-profiles/PKGBUILD
+++ b/extra/libgnome-media-profiles/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=libgnome-media-profiles
pkgver=3.0.0
pkgrel=3
pkgdesc="Library for management of audio recording profiles"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL2')
depends=('gconf' 'gtk3' 'gstreamer0.10-base-plugins')
diff --git a/extra/libgnome/PKGBUILD b/extra/libgnome/PKGBUILD
index 8c5dc71a4..9dc26cebf 100644
--- a/extra/libgnome/PKGBUILD
+++ b/extra/libgnome/PKGBUILD
@@ -4,8 +4,8 @@
pkgbase=libgnome
pkgname=('libgnome' 'libgnome-data')
pkgver=2.32.1
-pkgrel=3
-arch=('i686' 'x86_64')
+pkgrel=3.1
+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 0fc8f1391..81a795df5 100644
--- a/extra/libgnomecanvas/PKGBUILD
+++ b/extra/libgnomecanvas/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libgnomecanvas
pkgver=2.30.3
-pkgrel=2
+pkgrel=2.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=('pkg-config' 'intltool')
diff --git a/extra/libgnomecanvasmm/PKGBUILD b/extra/libgnomecanvasmm/PKGBUILD
index 4cde2b6fa..707c7d120 100644
--- a/extra/libgnomecanvasmm/PKGBUILD
+++ b/extra/libgnomecanvasmm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libgnomecanvasmm
pkgver=2.26.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A C++ wrapper for libgnomecanvas."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtkmm' 'libgnomecanvas')
makedepends=('pkgconfig')
diff --git a/extra/libgnomekbd/PKGBUILD b/extra/libgnomekbd/PKGBUILD
index dddbeb21e..c3cd7b5ec 100644
--- a/extra/libgnomekbd/PKGBUILD
+++ b/extra/libgnomekbd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.6.0
pkgrel=1
pkgdesc="Gnome keyboard library"
url="http://gswitchit.sourceforge.net"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libxklavier' 'gtk3' 'dconf')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libgnomemm/PKGBUILD b/extra/libgnomemm/PKGBUILD
index ac4a9e7cd..b3c0cf70c 100644
--- a/extra/libgnomemm/PKGBUILD
+++ b/extra/libgnomemm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libgnomemm
pkgver=2.30.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="C++ bindings for libgnome."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libgnome>=2.28.0' 'gtkmm>=2.20.0')
makedepends=('pkgconfig')
diff --git a/extra/libgnomeui/PKGBUILD b/extra/libgnomeui/PKGBUILD
index 22afc28e6..f14bac79b 100644
--- a/extra/libgnomeui/PKGBUILD
+++ b/extra/libgnomeui/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libgnomeui
pkgver=2.24.5
-pkgrel=1
+pkgrel=1.1
pkgdesc="User Interface library for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libbonoboui' 'libgnome-keyring' 'libsm')
makedepends=('intltool' 'pkg-config')
diff --git a/extra/libgnomeuimm/PKGBUILD b/extra/libgnomeuimm/PKGBUILD
index 4cb62baf0..4c69b4b32 100644
--- a/extra/libgnomeuimm/PKGBUILD
+++ b/extra/libgnomeuimm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libgnomeuimm
pkgver=2.28.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A C++ wrapper for libgnomeui"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64 'mips64el')
url="http://gtkmm.sourceforge.net/"
license=('GPL')
depends=('libgnomeui>=2.24.4' 'libgnomecanvasmm>=2.26.0' 'libgnomemm>=2.30.0' 'libglademm>=2.6.7' 'gconfmm>=2.28.2' 'gnome-vfsmm>=2.26.0')
diff --git a/extra/libgphoto2/PKGBUILD b/extra/libgphoto2/PKGBUILD
index 24d833c67..9319b51aa 100644
--- a/extra/libgphoto2/PKGBUILD
+++ b/extra/libgphoto2/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libgphoto2
pkgver=2.4.14
pkgrel=1
pkgdesc="The core library of gphoto2, designed to allow access to digital camera by external programs."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.gphoto.org"
license=(LGPL)
depends=('libexif' 'libjpeg>=8' 'gd' 'libltdl' 'libusb-compat' 'libusb')
diff --git a/extra/libgpod/PKGBUILD b/extra/libgpod/PKGBUILD
index 802016ef1..b3a4c710f 100644
--- a/extra/libgpod/PKGBUILD
+++ b/extra/libgpod/PKGBUILD
@@ -6,12 +6,15 @@ pkgname=libgpod
pkgver=0.8.2
pkgrel=6
pkgdesc="A shared library to access the contents of an iPod"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gdk-pixbuf2' 'mutagen' 'sg3_utils' 'libimobiledevice' 'libplist')
-makedepends=('intltool' 'swig' 'docbook-xsl' 'pygobject2-devel' 'gtk-sharp-2')
-optdepends=('gtk-sharp-2: Mono bindings'
- 'python2-gobject2: python bindings')
+makedepends=('intltool' 'swig' 'docbook-xsl' 'pygobject2-devel')
+optdepends=('python2-gobject2: python bindings')
+if [ "$CARCH" != "mips64el" ]; then
+ makedepends+=('gtk-sharp-2')
+ optdepends+=('gtk-sharp-2: Mono bindings')
+fi
url="http://www.gtkpod.org/libgpod/"
source=(http://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.bz2)
options=('!libtool' '!emptydirs')
@@ -28,4 +31,3 @@ package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
}
-
diff --git a/extra/libgsf/PKGBUILD b/extra/libgsf/PKGBUILD
index 24f20d70a..c79366337 100644
--- a/extra/libgsf/PKGBUILD
+++ b/extra/libgsf/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=libgsf
pkgver=1.14.25
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
pkgdesc="The GNOME Structured File Library is a utility library for reading and writing structured file formats"
url="http://www.gnome.org/"
license=('GPL' 'LGPL')
diff --git a/extra/libgtkhtml/PKGBUILD b/extra/libgtkhtml/PKGBUILD
index 354ced8c4..ef51454c3 100644
--- a/extra/libgtkhtml/PKGBUILD
+++ b/extra/libgtkhtml/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libgtkhtml
pkgver=2.11.1
-pkgrel=4
+pkgrel=4.1
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 e0da8a86e..432a7b9e3 100644
--- a/extra/libgtop/PKGBUILD
+++ b/extra/libgtop/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libgtop
pkgver=2.28.4
-pkgrel=1
+pkgrel=1.1
pkgdesc="A library that read information about processes and the running system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('glib2' 'libxau' 'texinfo')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libguess/PKGBUILD b/extra/libguess/PKGBUILD
index 8f128dece..91c3b873a 100644
--- a/extra/libguess/PKGBUILD
+++ b/extra/libguess/PKGBUILD
@@ -5,12 +5,12 @@
pkgname=libguess
pkgver=1.1
-pkgrel=2
+pkgrel=2.1
pkgdesc='High-speed character set detection library'
url='http://atheme.org/project/libguess'
license=('custom')
depends=('libmowgli')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://distfiles.atheme.org/libguess-${pkgver}.tar.gz")
sha1sums=('2760e63b71497506208f9d6269ec52f83bfc6f0b')
diff --git a/extra/libgusb/PKGBUILD b/extra/libgusb/PKGBUILD
index 0cf8084de..5fb10ca3b 100644
--- a/extra/libgusb/PKGBUILD
+++ b/extra/libgusb/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgusb
pkgver=0.1.4
pkgrel=1
pkgdesc="GLib wrapper around libusb1"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://gitorious.org/gusb/"
license=('LGPL2.1')
depends=('udev' 'libusbx')
diff --git a/extra/libgweather/PKGBUILD b/extra/libgweather/PKGBUILD
index 423d07163..0749908f3 100644
--- a/extra/libgweather/PKGBUILD
+++ b/extra/libgweather/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgweather
pkgver=3.6.2
pkgrel=1
pkgdesc="Provides access to weather information from the net"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libsoup-gnome' 'gnome-icon-theme' 'gtk3')
makedepends=('intltool' 'gtk-doc' 'gobject-introspection' 'gnome-common')
diff --git a/extra/libgxps/PKGBUILD b/extra/libgxps/PKGBUILD
index 3436c4868..c1767ac9f 100644
--- a/extra/libgxps/PKGBUILD
+++ b/extra/libgxps/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libgxps
pkgver=0.2.2
pkgrel=1
pkgdesc="XPS Documents library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="https://live.gnome.org/libgxps"
license=('GPL2')
depends=('cairo' 'libarchive' 'libjpeg-turbo' 'libtiff' 'lcms2')
diff --git a/extra/libhangul/PKGBUILD b/extra/libhangul/PKGBUILD
index b5dd98216..0bd75b576 100644
--- a/extra/libhangul/PKGBUILD
+++ b/extra/libhangul/PKGBUILD
@@ -7,12 +7,11 @@ pkgver=0.1.0
pkgrel=1
_filecode=6000
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')
-DLAGENTS=("http::/usr/bin/curl -A '' -fLC - --retry 3 --retry-delay 3 -o %o %u") # moronic httpd bans curl's user-agent
-source=("http://kldp.net/frs/download.php/${_filecode}/${pkgname}-${pkgver}.tar.gz")
+source=("https://libhangul.googlecode.com/files/libhangul-${pkgver}.tar.gz")
sha1sums=('9c6f3a82f2d4068771215f1b9f13a0d4bdbbfc77')
build() {
diff --git a/extra/libical/PKGBUILD b/extra/libical/PKGBUILD
index dbd9bcae2..d3fe322f5 100644
--- a/extra/libical/PKGBUILD
+++ b/extra/libical/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libical
pkgver=0.48
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 0144fe780..1e02e04eb 100644
--- a/extra/libice/PKGBUILD
+++ b/extra/libice/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libice
pkgver=1.0.8
-pkgrel=1
+pkgrel=1.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 6f2b92906..9c61f20db 100644
--- a/extra/libid3tag/PKGBUILD
+++ b/extra/libid3tag/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libid3tag
pkgver=0.15.1b
-pkgrel=7
+pkgrel=7.1
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 d52fb7450..238e6d546 100644
--- a/extra/libidl2/PKGBUILD
+++ b/extra/libidl2/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libidl2
pkgver=0.8.14
-pkgrel=2
+pkgrel=2.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' 'texinfo')
makedepends=('pkg-config')
diff --git a/extra/libidn/PKGBUILD b/extra/libidn/PKGBUILD
index 42aaa0949..711371780 100644
--- a/extra/libidn/PKGBUILD
+++ b/extra/libidn/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.25
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 cd00382cc..c994c91bf 100644
--- a/extra/libiec61883/PKGBUILD
+++ b/extra/libiec61883/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=libiec61883
pkgver=1.2.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/linux/libs/ieee1394/"
license=('LGPL')
depends=('libraw1394')
diff --git a/extra/libieee1284/PKGBUILD b/extra/libieee1284/PKGBUILD
index 9b0537d36..c100ba289 100644
--- a/extra/libieee1284/PKGBUILD
+++ b/extra/libieee1284/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libieee1284
pkgver=0.2.11
-pkgrel=4
+pkgrel=4.1
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 80bdad06a..b2febe4c8 100644
--- a/extra/libifp/PKGBUILD
+++ b/extra/libifp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libifp
pkgver=1.0.0.2
pkgrel=4
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 bc921ac16..aefb7c445 100644
--- a/extra/libimobiledevice/PKGBUILD
+++ b/extra/libimobiledevice/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 164989 2012-08-08 00:24:19Z tomegun $
+# $Id: PKGBUILD 164735 2012-08-04 10:06:26Z tomegun $
# Maintainer : Ionut Biru <ibiru@archlinux.org>
# Contributor: Gabriel Martinez < reitaka at gmail dot com >
@@ -7,7 +7,7 @@ pkgver=1.1.4
pkgrel=2
pkgdesc="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
url="http://libimobiledevice.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'LGPL2.1')
depends=('usbmuxd' 'gnutls' 'libgcrypt')
options=('!libtool')
diff --git a/extra/libimobiledevice/swig-version-check.patch b/extra/libimobiledevice/swig-version-check.patch
deleted file mode 100644
index c56b095db..000000000
--- a/extra/libimobiledevice/swig-version-check.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Nur libimobiledevice-1.0.3.old/configure libimobiledevice-1.0.3/configure
---- libimobiledevice-1.0.3.old/configure 2010-10-04 07:38:37.000000000 -0700
-+++ libimobiledevice-1.0.3/configure 2010-10-08 05:43:05.466686656 -0700
-@@ -3477,9 +3477,7 @@
- if test -z "$available_patch" ; then
- available_patch=0
- fi
-- if test $available_major -ne $required_major \
-- -o $available_minor -ne $required_minor \
-- -o $available_patch -lt $required_patch ; then
-+ if test $available_major -lt $required_major ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&5
- $as_echo "$as_me: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
- SWIG=false
diff --git a/extra/libindi/PKGBUILD b/extra/libindi/PKGBUILD
index 7ffe5899d..aadd6e702 100644
--- a/extra/libindi/PKGBUILD
+++ b/extra/libindi/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="A distributed control protocol designed to operate astronomical instrumentation"
url="http://www.indilib.org/index.php?title=Main_Page"
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libnova' 'cfitsio' 'boost-libs' 'libusb-compat')
makedepends=('pkgconfig' 'cmake' 'boost')
options=('!libtool')
diff --git a/extra/libiodbc/PKGBUILD b/extra/libiodbc/PKGBUILD
index f370cd9b4..106baf027 100644
--- a/extra/libiodbc/PKGBUILD
+++ b/extra/libiodbc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libiodbc
pkgver=3.52.8
pkgrel=1
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 7e9e0e1d5..f241a02cd 100644
--- a/extra/libirman/PKGBUILD
+++ b/extra/libirman/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libirman
pkgver=0.4.5
pkgrel=3
pkgdesc="Irman driver lcd library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lirc.org"
license=('LGPL')
options=('!libtool')
diff --git a/extra/libisoburn/PKGBUILD b/extra/libisoburn/PKGBUILD
index 36a6f7e47..3bebee8e4 100644
--- a/extra/libisoburn/PKGBUILD
+++ b/extra/libisoburn/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.2.4
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.2.4' 'libisofs>=1.2.4' 'readline')
options=('!libtool')
diff --git a/extra/libisofs/PKGBUILD b/extra/libisofs/PKGBUILD
index a5cfd9def..d09e3e347 100644
--- a/extra/libisofs/PKGBUILD
+++ b/extra/libisofs/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libisofs
pkgver=1.2.4
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 f8825590b..451f03b54 100644
--- a/extra/libjpeg-turbo/PKGBUILD
+++ b/extra/libjpeg-turbo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libjpeg-turbo
pkgver=1.2.1
pkgrel=1
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/libkate/PKGBUILD b/extra/libkate/PKGBUILD
index a953311c9..922352299 100644
--- a/extra/libkate/PKGBUILD
+++ b/extra/libkate/PKGBUILD
@@ -6,11 +6,11 @@
pkgname=libkate
pkgver=0.4.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="A karaoke and text codec for embedding in ogg"
url="http://libkate.googlecode.com/"
license=('BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libpng' 'libogg' 'python2')
makedepends=('pkg-config')
optdepends=('wxpython: for KateDJ'
diff --git a/extra/libkcddb/PKGBUILD b/extra/libkcddb/PKGBUILD
index a86699841..c2525208e 100644
--- a/extra/libkcddb/PKGBUILD
+++ b/extra/libkcddb/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="KDE CDDB library"
url='https://projects.kde.org/projects/kde/kdemultimedia/libkcddb'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'libmusicbrainz5')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkcompactdisc/PKGBUILD b/extra/libkcompactdisc/PKGBUILD
index 7ea600fd9..681800eee 100644
--- a/extra/libkcompactdisc/PKGBUILD
+++ b/extra/libkcompactdisc/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A library for interfacing with CDs"
url='https://projects.kde.org/projects/kde/kdemultimedia/libkcompactdisc'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkdcraw/PKGBUILD b/extra/libkdcraw/PKGBUILD
index 4c1844679..112aa21f0 100644
--- a/extra/libkdcraw/PKGBUILD
+++ b/extra/libkdcraw/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A C++ interface used to decode RAW picture"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'lcms')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkdeedu/PKGBUILD b/extra/libkdeedu/PKGBUILD
index 32641ae41..d534aed55 100644
--- a/extra/libkdeedu/PKGBUILD
+++ b/extra/libkdeedu/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Libraries used by KDE Education applications"
url="https://projects.kde.org/projects/kde/kdeedu/libkdeedu"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkexiv2/PKGBUILD b/extra/libkexiv2/PKGBUILD
index e9956736e..0358ede45 100644
--- a/extra/libkexiv2/PKGBUILD
+++ b/extra/libkexiv2/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="A library to manipulate pictures metadata"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libkgapi/PKGBUILD b/extra/libkgapi/PKGBUILD
index 5d65fe003..8f5c3c90b 100644
--- a/extra/libkgapi/PKGBUILD
+++ b/extra/libkgapi/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=0.4.3
pkgrel=1
pkgdesc="A KDE-based library for accessing various Google services via their public API"
url='https://projects.kde.org/projects/extragear/libs/libkgapi'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdepimlibs' 'qjson')
makedepends=('cmake' 'automoc4' 'boost')
diff --git a/extra/libkgoogle/PKGBUILD b/extra/libkgoogle/PKGBUILD
deleted file mode 100644
index f5daa1aeb..000000000
--- a/extra/libkgoogle/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 159516 2012-05-25 18:26:22Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-
-pkgname=libkgoogle
-pkgver=0.3.1
-pkgrel=1
-pkgdesc="A KDE-based library for accessing various Google services via their public API"
-url='https://projects.kde.org/projects/kdereview/libkgoogle'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('kdepimlibs' 'qjson')
-makedepends=('cmake' 'automoc4' 'boost')
-replaces=('akonadi-google')
-conflicts=('akonadi-google')
-source=("http://www.progdan.cz/wp-content/uploads/akonadi-google-${pkgver}.tar.gz")
-md5sums=('fed8d9082547835ab916edd219831cf6')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../akonadi-google-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/libkipi/PKGBUILD b/extra/libkipi/PKGBUILD
index b778ee56f..80b9c5185 100644
--- a/extra/libkipi/PKGBUILD
+++ b/extra/libkipi/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="An interface to use kipi-plugins from a KDE application"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libksane/PKGBUILD b/extra/libksane/PKGBUILD
index 26fca0a49..fad920edf 100644
--- a/extra/libksane/PKGBUILD
+++ b/extra/libksane/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="An image scanning library"
url="https://projects.kde.org/projects/kde/kdegraphics/libs/libksane"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs' 'sane')
makedepends=('cmake' 'automoc4')
diff --git a/extra/libktorrent/PKGBUILD b/extra/libktorrent/PKGBUILD
index 5c3a5b63e..2b9b64ef0 100644
--- a/extra/libktorrent/PKGBUILD
+++ b/extra/libktorrent/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libktorrent
pkgver=1.3.0
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 e7718f6b7..d6dc74481 100644
--- a/extra/liblastfm/PKGBUILD
+++ b/extra/liblastfm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=liblastfm
pkgver=0.3.3
pkgrel=3
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 dbeb8f6b9..7cc6981a4 100644
--- a/extra/liblo/PKGBUILD
+++ b/extra/liblo/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=liblo
pkgver=0.26
-pkgrel=2
+pkgrel=2.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')
options=('!libtool')
diff --git a/extra/liblouis/PKGBUILD b/extra/liblouis/PKGBUILD
index d7a753f32..6c3d64827 100644
--- a/extra/liblouis/PKGBUILD
+++ b/extra/liblouis/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=liblouis
pkgver=2.3.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Open-source braille translator and back-translator"
-arch=(i686 x86_64)
+arch=(mips64el)
url="http://code.google.com/p/liblouis/"
license=('GPL3')
depends=(glibc)
diff --git a/extra/liblqr/PKGBUILD b/extra/liblqr/PKGBUILD
index 06d08637f..f221285f8 100644
--- a/extra/liblqr/PKGBUILD
+++ b/extra/liblqr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liblqr
pkgver=0.4.1
pkgrel=3
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 b65f689b3..4186550d4 100644
--- a/extra/liblrdf/PKGBUILD
+++ b/extra/liblrdf/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liblrdf
pkgver=0.5.0
pkgrel=1
pkgdesc="A library for the manipulation of RDF file in LADSPA plugins"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://github.com/swh/LRDF"
depends=('raptor' 'ladspa')
license=('GPL')
diff --git a/extra/libmad/PKGBUILD b/extra/libmad/PKGBUILD
index 30339145a..f0715b130 100644
--- a/extra/libmad/PKGBUILD
+++ b/extra/libmad/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libmad
pkgver=0.15.1b
-pkgrel=6
+pkgrel=6.1
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')
@@ -27,7 +27,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 78f4f253f..7d567ba64 100644
--- a/extra/libmatroska/PKGBUILD
+++ b/extra/libmatroska/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libmatroska
pkgver=1.3.0
-pkgrel=2
+pkgrel=2.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 aae45867e..acc93967d 100644
--- a/extra/libmcrypt/PKGBUILD
+++ b/extra/libmcrypt/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=libmcrypt
pkgver=2.5.8
-pkgrel=3
+pkgrel=3.1
pkgdesc="A library which provides a uniform interface to several symmetric encryption algorithms"
url="http://mcrypt.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc')
options=('!libtool' '!emptydirs')
diff --git a/extra/libmikmod/PKGBUILD b/extra/libmikmod/PKGBUILD
index 3cde12fec..e9cd58290 100644
--- a/extra/libmikmod/PKGBUILD
+++ b/extra/libmikmod/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc="A portable sound library"
license=('GPL' 'LGPL')
url="http://mikmod.shlomifish.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc' 'sh')
makedepends=('alsa-lib')
options=('!libtool')
diff --git a/extra/libmms/PKGBUILD b/extra/libmms/PKGBUILD
index fd9ab3ea8..f8e0f3771 100644
--- a/extra/libmms/PKGBUILD
+++ b/extra/libmms/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libmms
pkgver=0.6.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="MMS stream protocol library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://sourceforge.net/projects/libmms/"
license=(LGPL)
depends=('glib2')
diff --git a/extra/libmng/PKGBUILD b/extra/libmng/PKGBUILD
index 913603045..51ca93ae3 100644
--- a/extra/libmng/PKGBUILD
+++ b/extra/libmng/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libmng
pkgver=1.0.10
-pkgrel=4
+pkgrel=4.1
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')
@@ -17,6 +17,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
ln -s makefiles/configure.in .
ln -s makefiles/Makefile.am .
+ sed -i '/^AM_C_PROTOTYPES$/d' configure.in # removed in recent automake
autoreconf --force --install
./configure --prefix=/usr
make
diff --git a/extra/libmodplug/PKGBUILD b/extra/libmodplug/PKGBUILD
index 0db663908..2d4fe05b7 100644
--- a/extra/libmodplug/PKGBUILD
+++ b/extra/libmodplug/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libmodplug
pkgver=0.8.8.4
-pkgrel=1
+pkgrel=1.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 2fa7c854d..aa8778f3e 100644
--- a/extra/libmowgli/PKGBUILD
+++ b/extra/libmowgli/PKGBUILD
@@ -11,7 +11,7 @@ pkgdesc='Performance and usability-oriented extensions to C'
url='http://www.atheme.org/project/mowgli'
license=('custom')
depends=('glibc')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://atheme.org/downloads/${pkgname}-${pkgver}.tar.gz")
sha1sums=('5a697380f253f0456a5d8a38006a9d12847fb538')
diff --git a/extra/libmp3splt/PKGBUILD b/extra/libmp3splt/PKGBUILD
index e57a3086e..35ad2aeb5 100644
--- a/extra/libmp3splt/PKGBUILD
+++ b/extra/libmp3splt/PKGBUILD
@@ -5,11 +5,11 @@ pkgname=libmp3splt
pkgver=0.7.3
pkgrel=1
pkgdesc="Library for splitting mp3 and ogg files without decoding"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mp3splt.sourceforge.net"
license=('GPL')
depends=('libmad' 'libvorbis' 'libid3tag' 'pcre' 'libltdl')
-makedepends=('libtool')
+makedepends=('libtool' 'git')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/mp3splt/$pkgname-$pkgver.tar.gz")
diff --git a/extra/libmp4v2/PKGBUILD b/extra/libmp4v2/PKGBUILD
index b7cd69631..f3dbacfc9 100644
--- a/extra/libmp4v2/PKGBUILD
+++ b/extra/libmp4v2/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libmp4v2
pkgver=2.0.0
pkgrel=2
pkgdesc="MPEG-4 library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('MPL')
url="http://code.google.com/p/mp4v2/"
depends=('gcc-libs')
diff --git a/extra/libmpcdec/PKGBUILD b/extra/libmpcdec/PKGBUILD
index a8f30dbd7..02b2bdf10 100644
--- a/extra/libmpcdec/PKGBUILD
+++ b/extra/libmpcdec/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libmpcdec
pkgver=1.2.6
-pkgrel=3
+pkgrel=3.1
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 a268177c5..43f365938 100644
--- a/extra/libmpd/PKGBUILD
+++ b/extra/libmpd/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libmpd
pkgver=11.8.17
-pkgrel=1
+pkgrel=1.1
pkgdesc="Signal based wrapper around libmpdclient"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
license=('GPL')
depends=('glib2')
diff --git a/extra/libmpdclient/PKGBUILD b/extra/libmpdclient/PKGBUILD
index 91f6eb78e..be0e68d40 100644
--- a/extra/libmpdclient/PKGBUILD
+++ b/extra/libmpdclient/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=libmpdclient
pkgver=2.7
-pkgrel=1
+pkgrel=1.1
pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
url='http://mpd.wikia.com/wiki/ClientLib:libmpdclient'
license=('custom:BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!libtool')
source=("http://downloads.sourceforge.net/project/musicpd/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('f97e35525851eb192d3799f0dabe32915c56b96b')
diff --git a/extra/libmpeg2/PKGBUILD b/extra/libmpeg2/PKGBUILD
index 25960822d..36792c233 100644
--- a/extra/libmpeg2/PKGBUILD
+++ b/extra/libmpeg2/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libmpeg2
pkgver=0.5.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="Library for decoding MPEG-1 and MPEG-2 video streams."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libmpeg2.sourceforge.net/"
depends=('glibc')
makedepends=('sdl' 'libxv')
diff --git a/extra/libmsn/PKGBUILD b/extra/libmsn/PKGBUILD
index 123b51c63..0fc891526 100644
--- a/extra/libmsn/PKGBUILD
+++ b/extra/libmsn/PKGBUILD
@@ -8,15 +8,19 @@ pkgver=4.2.1
pkgrel=1
pkgdesc="A reusable, open-source, fully documented library for connecting to Microsoft's MSN"
url="http://sourceforge.net/projects/libmsn/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('openssl')
makedepends=('cmake')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
-md5sums=('38e46e589720eefd71f92b6b76993bf0')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+ "gcc47.patch")
+md5sums=('38e46e589720eefd71f92b6b76993bf0'
+ '23bbcfa0170aa1df8387ff6419057d7c')
build() {
- cd "${srcdir}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i "${srcdir}/gcc47.patch"
+ cd ..
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
diff --git a/extra/libmsn/gcc47.patch b/extra/libmsn/gcc47.patch
new file mode 100644
index 000000000..d8e128913
--- /dev/null
+++ b/extra/libmsn/gcc47.patch
@@ -0,0 +1,11 @@
+diff -ru libmsn-4.2.1.orig/msn/util.cpp libmsn-4.2.1/msn/util.cpp
+--- libmsn-4.2.1.orig/msn/util.cpp 2012-04-18 19:02:12.447876971 +0200
++++ libmsn-4.2.1/msn/util.cpp 2012-04-18 19:02:36.460762835 +0200
+@@ -30,6 +30,7 @@
+ #include <openssl/rand.h>
+ #include <cstring>
+ #include <sys/timeb.h>
++#include <unistd.h>
+ #include "md5.h"
+ #include "libsiren/siren7.h"
+
diff --git a/extra/libmspack/PKGBUILD b/extra/libmspack/PKGBUILD
index faa38a667..cdf016760 100644
--- a/extra/libmspack/PKGBUILD
+++ b/extra/libmspack/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libmspack
pkgver=0.3alpha
-pkgrel=1
+pkgrel=1.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 97169c70c..550ced111 100644
--- a/extra/libmtp/PKGBUILD
+++ b/extra/libmtp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libmtp
pkgver=1.1.5
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' 'libgcrypt')
diff --git a/extra/libmusicbrainz3/PKGBUILD b/extra/libmusicbrainz3/PKGBUILD
index 62e039b28..9f14c9dc4 100644
--- a/extra/libmusicbrainz3/PKGBUILD
+++ b/extra/libmusicbrainz3/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.0.3
pkgrel=2
pkgdesc="Library That Provides Access to the MusicBrainz Server "
url="http://musicbrainz.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
depends=('neon' 'libdiscid')
makedepends=('cmake')
diff --git a/extra/libmusicbrainz4/PKGBUILD b/extra/libmusicbrainz4/PKGBUILD
index d37f07528..c9a71ab86 100644
--- a/extra/libmusicbrainz4/PKGBUILD
+++ b/extra/libmusicbrainz4/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libmusicbrainz4
pkgver=4.0.3
pkgrel=1
pkgdesc="Library That Provides Access to the MusicBrainz Server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://musicbrainz.org/"
license=('LGPL2.1')
depends=('neon')
diff --git a/extra/libmusicbrainz5/PKGBUILD b/extra/libmusicbrainz5/PKGBUILD
index 9cccbd2b3..70cd0695c 100644
--- a/extra/libmusicbrainz5/PKGBUILD
+++ b/extra/libmusicbrainz5/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libmusicbrainz5
pkgver=5.0.1
pkgrel=1
pkgdesc="Library That Provides Access to the MusicBrainz Server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://musicbrainz.org/"
license=('LGPL2.1')
depends=('neon')
diff --git a/extra/libmygpo-qt/PKGBUILD b/extra/libmygpo-qt/PKGBUILD
index 9d16abfcb..9d284570d 100644
--- a/extra/libmygpo-qt/PKGBUILD
+++ b/extra/libmygpo-qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libmygpo-qt
pkgver=1.0.6
pkgrel=1
pkgdesc="A C++/Qt client library for gpodder.net"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wiki.gpodder.org/wiki/Libmygpo-qt"
license=('LGPL2.1')
depends=('qjson')
diff --git a/extra/libmythes/PKGBUILD b/extra/libmythes/PKGBUILD
index 7af761b3e..d57a1363c 100644
--- a/extra/libmythes/PKGBUILD
+++ b/extra/libmythes/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.2.3
pkgrel=1
epoch=1
pkgdesc="a simple thesaurus"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://hunspell.sourceforge.net/ "
license=('custom')
depends=('glibc' 'perl')
diff --git a/extra/libnet/PKGBUILD b/extra/libnet/PKGBUILD
index 1c8cbb09c..c0c7b2262 100644
--- a/extra/libnet/PKGBUILD
+++ b/extra/libnet/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libnet
pkgver=1.1.6
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 05890543b..4412273b1 100644
--- a/extra/libnice/PKGBUILD
+++ b/extra/libnice/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libnice
pkgver=0.1.3
pkgrel=1
pkgdesc="An implementation of the IETF's draft ICE (for p2p UDP data streams)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://nice.freedesktop.org"
license=('LGPL')
depends=('glib2')
diff --git a/extra/libnl1/PKGBUILD b/extra/libnl1/PKGBUILD
index 6d35c216d..6eba5f569 100644
--- a/extra/libnl1/PKGBUILD
+++ b/extra/libnl1/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libnl1
pkgver=1.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="Library for applications dealing with netlink sockets (Legacy version)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.infradead.org/~tgr/libnl/"
license=('GPL')
depends=('glibc')
diff --git a/extra/libnotify/PKGBUILD b/extra/libnotify/PKGBUILD
index b0af725ec..6f1a5eddd 100644
--- a/extra/libnotify/PKGBUILD
+++ b/extra/libnotify/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libnotify
pkgver=0.7.5
-pkgrel=1
+pkgrel=1.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 d1131a1a4..997fb645b 100644
--- a/extra/libnova/PKGBUILD
+++ b/extra/libnova/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="A general purpose, double precision, celestial mechanics, astrometry and astrodynamics library."
url="http://libnova.sourceforge.net/"
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/libnova/$pkgname-$pkgver.tar.gz)
diff --git a/extra/liboauth/PKGBUILD b/extra/liboauth/PKGBUILD
index 6031eb6ff..d0fd67678 100644
--- a/extra/liboauth/PKGBUILD
+++ b/extra/liboauth/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=liboauth
pkgver=0.9.6
-pkgrel=1
+pkgrel=1.1
pkgdesc='C library implementing OAuth Core RFC 5849'
-arch=('i686' 'x86_64')
+arch=(mips64el)
url='http://liboauth.sourceforge.net'
license=('MIT')
depends=('curl')
diff --git a/extra/libofa/PKGBUILD b/extra/libofa/PKGBUILD
index 4604e91a0..e1c7ef90b 100644
--- a/extra/libofa/PKGBUILD
+++ b/extra/libofa/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libofa
pkgver=0.9.3
pkgrel=4
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')
@@ -16,11 +16,13 @@ source=("http://musicip-libofa.googlecode.com/files/$pkgname-$pkgver.tar.gz"
'gcc-4.patch'
'gcc4.3.patch'
'gcc4.5.patch'
+ 'gcc47.patch'
'libofa-0.9.3-curl-7.21.patch')
md5sums=('51507d2c4b432bd2755f48d58471696e'
'a6f78b90bd0f4354d022a71c3e58ef6c'
'dd57db13770b8f8d196e8a3d3a50e713'
'c245363368d0e6fa2b4676364b81b74f'
+ '5b571a09118131d7f7c8b84617efba71'
'2e1579d74613cfbb1799d0ab5f1a4cba')
build() {
@@ -28,6 +30,7 @@ build() {
patch -p0 -i ${srcdir}/gcc-4.patch
patch -p1 -i ${srcdir}/gcc4.3.patch
patch -p1 -i ${srcdir}/gcc4.5.patch
+ patch -p1 -i ${srcdir}/gcc47.patch
patch -p1 -i ${srcdir}/libofa-0.9.3-curl-7.21.patch
./configure --prefix=/usr
make
diff --git a/extra/libofa/gcc47.patch b/extra/libofa/gcc47.patch
new file mode 100644
index 000000000..eb4b4ca20
--- /dev/null
+++ b/extra/libofa/gcc47.patch
@@ -0,0 +1,22 @@
+diff -ru libofa-0.9.3.orig/examples/uselame.cpp libofa-0.9.3/examples/uselame.cpp
+--- libofa-0.9.3.orig/examples/uselame.cpp 2012-04-18 19:32:44.176037357 +0200
++++ libofa-0.9.3/examples/uselame.cpp 2012-04-18 19:33:03.052805199 +0200
+@@ -12,6 +12,7 @@
+ #else
+ #include <sys/wait.h>
+ #endif
++#include <unistd.h>
+
+ AudioData *loadWaveFile(char *file);
+
+diff -ru libofa-0.9.3.orig/examples/wavefile.cpp libofa-0.9.3/examples/wavefile.cpp
+--- libofa-0.9.3.orig/examples/wavefile.cpp 2012-04-18 19:32:44.176037357 +0200
++++ libofa-0.9.3/examples/wavefile.cpp 2012-04-18 19:37:38.123467239 +0200
+@@ -11,6 +11,7 @@
+ #include "io.h"
+ #endif
+ #include <fcntl.h>
++#include <unistd.h>
+
+ static bool readBytes(int fd, unsigned char *buf, int size) {
+ int ct = 0;
diff --git a/extra/libofx/PKGBUILD b/extra/libofx/PKGBUILD
index 7ee36f258..b82443e8b 100644
--- a/extra/libofx/PKGBUILD
+++ b/extra/libofx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('libofx' 'libofx-doc')
pkgver=0.9.5
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 35bfbfffc..f7a430ee9 100644
--- a/extra/libogg/PKGBUILD
+++ b/extra/libogg/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libogg
pkgver=1.3.0
-pkgrel=1
+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 e99d3ce6b..daa4f8302 100644
--- a/extra/liboil/PKGBUILD
+++ b/extra/liboil/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=liboil
pkgver=0.3.17
-pkgrel=2
+pkgrel=2.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/"
makedepends=('glib2' 'pkgconfig' 'docbook-xsl')
diff --git a/extra/liborigin2/PKGBUILD b/extra/liborigin2/PKGBUILD
index df2513423..3af418eac 100644
--- a/extra/liborigin2/PKGBUILD
+++ b/extra/liborigin2/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=liborigin2
pkgname=('liborigin2' 'liborigin2-docs')
pkgver=20110829
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://soft.proindependent.com/liborigin2/"
license=('GPL3')
makedepends=('doxygen' 'qt' 'boost')
diff --git a/extra/libotf/PKGBUILD b/extra/libotf/PKGBUILD
index 14be6a2d6..44bbb862d 100644
--- a/extra/libotf/PKGBUILD
+++ b/extra/libotf/PKGBUILD
@@ -3,12 +3,12 @@
pkgname=libotf
pkgver=0.9.12
-pkgrel=2
+pkgrel=2.1
pkgdesc='OpenType Font library'
url='http://www.m17n.org/libotf/'
license=('LGPL')
options=('!libtool')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxaw' 'freetype2')
source=("http://www.m17n.org/libotf/${pkgname}-${pkgver}.tar.gz")
sha1sums=('47872f696a62e8f111960143f3f36b5366398e20')
diff --git a/extra/libotr/PKGBUILD b/extra/libotr/PKGBUILD
index 7a86561e6..7ede4a447 100644
--- a/extra/libotr/PKGBUILD
+++ b/extra/libotr/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Off-the-Record Messaging Library and Toolkit'
url='http://www.cypherpunks.ca/otr/'
license=('GPL' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libgcrypt')
options=('!libtool')
source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/libotr3/PKGBUILD b/extra/libotr3/PKGBUILD
index 698c25615..69a69b597 100644
--- a/extra/libotr3/PKGBUILD
+++ b/extra/libotr3/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Off-the-Record Messaging Library and Toolkit (version 3.X)'
url='http://www.cypherpunks.ca/otr/'
license=('GPL' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libgcrypt')
options=('!libtool')
source=("http://www.cypherpunks.ca/otr/libotr-${pkgver}.tar.gz" "libotr3-soname.patch")
diff --git a/extra/libots/PKGBUILD b/extra/libots/PKGBUILD
index 42f7bcea8..83095f411 100644
--- a/extra/libots/PKGBUILD
+++ b/extra/libots/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=libots
pkgver=0.5.0
-pkgrel=3
+pkgrel=3.1
pkgdesc='Open Text Summarizer'
url='http://libots.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxml2' 'glib2')
options=('!libtool' '!makeflags')
diff --git a/extra/libpano13/PKGBUILD b/extra/libpano13/PKGBUILD
index a2e8e594b..d716e70a2 100644
--- a/extra/libpano13/PKGBUILD
+++ b/extra/libpano13/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libpano13
pkgver=2.9.18
pkgrel=2
pkgdesc="Basic library to calculate panoramical pictures - core functions of the panotools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://panotools.sourceforge.net/"
license=('GPL2')
depends=('libpng' 'libtiff')
diff --git a/extra/libpciaccess/PKGBUILD b/extra/libpciaccess/PKGBUILD
index 4b5bc2e8e..db3c9d398 100644
--- a/extra/libpciaccess/PKGBUILD
+++ b/extra/libpciaccess/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libpciaccess
pkgver=0.13.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 3d722c4b9..4fbc36af2 100644
--- a/extra/libpeas/PKGBUILD
+++ b/extra/libpeas/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libpeas
pkgver=1.6.1
pkgrel=1
pkgdesc="A GObject-based plugins engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('GPL2')
depends=('gtk3' 'hicolor-icon-theme' 'gobject-introspection')
diff --git a/extra/libplist/PKGBUILD b/extra/libplist/PKGBUILD
index ebf732b69..718869420 100644
--- a/extra/libplist/PKGBUILD
+++ b/extra/libplist/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.8
pkgrel=2
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 cf7b93bd6..047e706e8 100644
--- a/extra/libpng/PKGBUILD
+++ b/extra/libpng/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.5.13
_apngver=1.5.13
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 ca6d9e2d0..0ba1fb26e 100644
--- a/extra/libproxy/PKGBUILD
+++ b/extra/libproxy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libproxy
pkgver=0.4.7
pkgrel=2
pkgdesc="A library that provides automatic proxy configuration management"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gcc-libs')
optdepends=('kdelibs: KDE configuration module'
@@ -29,15 +29,17 @@ build() {
mkdir build
cd build
- cmake ../${pkgname}-${pkgver} \
+ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \
-DCMAKE_SKIP_RPATH=ON \
-DPERL_VENDORINSTALL=yes \
-DCMAKE_BUILD_TYPE=Release \
- -DWITH_WEBKIT=OFF \
+ -WITH_WEBKIT=OFF \
+ -WITH_MOZJS=OFF \
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
- -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ ../${pkgname}-${pkgver}
make
}
diff --git a/extra/libpst/PKGBUILD b/extra/libpst/PKGBUILD
index 70fac43ef..c21f7542b 100644
--- a/extra/libpst/PKGBUILD
+++ b/extra/libpst/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libpst
pkgname=('libpst' 'libpst-docs')
pkgver=0.6.54
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.five-ten-sg.com/libpst/"
license=('GPL')
makedepends=('python2' 'boost')
diff --git a/extra/libpwquality/PKGBUILD b/extra/libpwquality/PKGBUILD
index b40a35d4b..4f479520e 100644
--- a/extra/libpwquality/PKGBUILD
+++ b/extra/libpwquality/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libpwquality
pkgver=1.2.0
pkgrel=1
pkgdesc="Library for password quality checking and generating random passwords"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://fedorahosted.org/libpwquality/"
license=('GPL')
options=('!libtool')
diff --git a/extra/libqalculate/PKGBUILD b/extra/libqalculate/PKGBUILD
index 9e228f345..641c5f4af 100644
--- a/extra/libqalculate/PKGBUILD
+++ b/extra/libqalculate/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libqalculate
pkgver=0.9.7
-pkgrel=3
+pkgrel=3.1
pkgdesc="Multi-purpose desktop calculator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libxml2' 'cln' 'glib2')
diff --git a/extra/libquvi/PKGBUILD b/extra/libquvi/PKGBUILD
index 3cac977bb..6acd76380 100644
--- a/extra/libquvi/PKGBUILD
+++ b/extra/libquvi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libquvi
pkgver=0.4.1
pkgrel=1
pkgdesc='Library for parsing video download links.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://quvi.sourceforge.net/'
license=('LGPL')
depends=('libquvi-scripts' 'curl' 'lua')
diff --git a/extra/libqzeitgeist/PKGBUILD b/extra/libqzeitgeist/PKGBUILD
index a360b7116..74d91942e 100644
--- a/extra/libqzeitgeist/PKGBUILD
+++ b/extra/libqzeitgeist/PKGBUILD
@@ -3,10 +3,10 @@
pkgname=libqzeitgeist
pkgver=0.8.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A Qt interface to the Zeitgeist event tracking system"
url="https://projects.kde.org/projects/kdesupport/libqzeitgeist"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('qt')
makedepends=('cmake' 'automoc4' 'python2' 'zeitgeist')
diff --git a/extra/libraw1394/PKGBUILD b/extra/libraw1394/PKGBUILD
index 5bee5d935..ba417d299 100644
--- a/extra/libraw1394/PKGBUILD
+++ b/extra/libraw1394/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=libraw1394
pkgver=2.0.7
-pkgrel=2
-arch=('i686' 'x86_64')
+pkgrel=2.1
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
pkgdesc="Provides an API to the Linux IEEE1394 (FireWire) driver"
depends=('glibc')
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
index 30b49bff8..d9e85ba3d 100644
--- a/extra/librsvg/PKGBUILD
+++ b/extra/librsvg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=librsvg
pkgver=2.36.4
pkgrel=1
pkgdesc="A SVG viewing library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool' 'gtk2' 'gtk3' 'gobject-introspection')
diff --git a/extra/libsamplerate/PKGBUILD b/extra/libsamplerate/PKGBUILD
index d157dc5e1..fdd02dc4f 100644
--- a/extra/libsamplerate/PKGBUILD
+++ b/extra/libsamplerate/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libsamplerate
pkgver=0.1.8
-pkgrel=1
+pkgrel=1.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/libsecret/PKGBUILD b/extra/libsecret/PKGBUILD
index 22011547e..fead6c341 100644
--- a/extra/libsecret/PKGBUILD
+++ b/extra/libsecret/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsecret
pkgver=0.11
pkgrel=1
pkgdesc='library for storing and retrieving passwords and other secrets.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="https://live.gnome.org/Libsecret"
depends=('glib2' 'libgcrypt')
diff --git a/extra/libsexy/PKGBUILD b/extra/libsexy/PKGBUILD
index 42cd0945e..66cc9df8a 100644
--- a/extra/libsexy/PKGBUILD
+++ b/extra/libsexy/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libsexy
pkgver=0.1.11
-pkgrel=4
+pkgrel=4.1
pkgdesc="Doing naughty things to good widgets."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://chipx86.com/wiki/Libsexy"
depends=('gtk2' 'libxml2')
diff --git a/extra/libshout/PKGBUILD b/extra/libshout/PKGBUILD
index d2f0f675d..3a9561708 100644
--- a/extra/libshout/PKGBUILD
+++ b/extra/libshout/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=2.3.1
pkgrel=1
epoch=1
pkgdesc="Library for accessing a shoutcast/icecast server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libvorbis' 'libtheora' 'speex')
url="http://www.icecast.org/"
options=('!libtool' '!emptydirs')
diff --git a/extra/libsidplay/PKGBUILD b/extra/libsidplay/PKGBUILD
index f5e6a1580..1331d9dd4 100644
--- a/extra/libsidplay/PKGBUILD
+++ b/extra/libsidplay/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libsidplay
pkgver=1.36.59
-pkgrel=5
+pkgrel=5.1
pkgdesc="A library for playing SID music files."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://critical.ch/distfiles/"
license=('GPL')
options=('!libtool')
diff --git a/extra/libsigc++/PKGBUILD b/extra/libsigc++/PKGBUILD
index f40723b17..59a9b4a03 100644
--- a/extra/libsigc++/PKGBUILD
+++ b/extra/libsigc++/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=libsigc++
pkgname=('libsigc++' 'libsigc++-docs')
pkgver=2.2.11
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://libsigc.sourceforge.net/"
makedepends=('gcc-libs')
diff --git a/extra/libsigsegv/PKGBUILD b/extra/libsigsegv/PKGBUILD
index 3ca797685..a969250b2 100644
--- a/extra/libsigsegv/PKGBUILD
+++ b/extra/libsigsegv/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=libsigsegv
pkgver=2.10
-pkgrel=1
-arch=('x86_64' 'i686')
+pkgrel=1.1
+arch=('x86_64' 'i686' 'mips64el')
pkgdesc="Page fault detection library"
url="http://www.gnu.org/software/libsigsegv/"
license=('GPL2')
diff --git a/extra/libsm/PKGBUILD b/extra/libsm/PKGBUILD
index 945778b5e..907c56c8a 100644
--- a/extra/libsm/PKGBUILD
+++ b/extra/libsm/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libsm
pkgver=1.2.1
-pkgrel=1
+pkgrel=1.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 37f66af52..d13dd6dce 100644
--- a/extra/libsmbios/PKGBUILD
+++ b/extra/libsmbios/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libsmbios
pkgver=2.2.28
pkgrel=1
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 cff3c6442..088e1ddf1 100644
--- a/extra/libsndfile/PKGBUILD
+++ b/extra/libsndfile/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libsndfile
pkgver=1.0.25
-pkgrel=2
+pkgrel=2.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/libsocialweb/PKGBUILD b/extra/libsocialweb/PKGBUILD
index 31cf02778..07c96ab9a 100644
--- a/extra/libsocialweb/PKGBUILD
+++ b/extra/libsocialweb/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libsocialweb
pkgver=0.25.20
pkgrel=1
pkgdesc="A personal social data server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('GPL2')
depends=('glib2' 'gconf' 'libsoup-gnome' 'rest' 'dbus-glib' 'libgnome-keyring'
diff --git a/extra/libsoup/PKGBUILD b/extra/libsoup/PKGBUILD
index 9b11973d5..2b81a94d4 100644
--- a/extra/libsoup/PKGBUILD
+++ b/extra/libsoup/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libsoup
pkgname=('libsoup' 'libsoup-gnome')
pkgver=2.40.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
makedepends=('glib2' 'libxml2' 'sqlite' 'libgnome-keyring' 'intltool' 'gobject-introspection' 'glib-networking' 'python2')
url="http://www.gnome.org"
diff --git a/extra/libspectre/PKGBUILD b/extra/libspectre/PKGBUILD
index 0ee50524b..025881c24 100644
--- a/extra/libspectre/PKGBUILD
+++ b/extra/libspectre/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libspectre
pkgver=0.2.7
-pkgrel=1
+pkgrel=1.1
pkgdesc="Small library for rendering Postscript documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.freedesktop.org/wiki/Software/libspectre"
depends=('ghostscript>=9.00')
diff --git a/extra/libspiro/PKGBUILD b/extra/libspiro/PKGBUILD
index d27e6b9c1..b8a49701c 100644
--- a/extra/libspiro/PKGBUILD
+++ b/extra/libspiro/PKGBUILD
@@ -4,12 +4,12 @@
pkgname=libspiro
pkgver=20071029
-pkgrel=2
+pkgrel=2.1
pkgdesc='Simplifies the drawing of beautiful curves'
url='http://libspiro.sourceforge.net/'
license=('GPL')
options=('!libtool')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_src-${pkgver}.tar.bz2")
sha1sums=('d8b407b835b35289af2914877a4c6000b4fdd382')
diff --git a/extra/libsrtp/PKGBUILD b/extra/libsrtp/PKGBUILD
index 13f8142c3..1013f6bc8 100644
--- a/extra/libsrtp/PKGBUILD
+++ b/extra/libsrtp/PKGBUILD
@@ -9,13 +9,16 @@ pkgver=1.4.4
pkgrel=2
pkgdesc="Open-source implementation of the Secure Real-time Transport Protocol (SRTP)"
url="http://srtp.sourceforge.net/srtp.html"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
-source=("http://downloads.sourceforge.net/srtp/srtp-${pkgver}.tgz")
-md5sums=('9b449edb011c934ca97009e7e0566d22')
+source=("http://downloads.sourceforge.net/srtp/srtp-${pkgver}.tgz"
+ "mips.patch")
+md5sums=('9b449edb011c934ca97009e7e0566d22'
+ 'bfb3ec203daf786b9ffb33f30cb126ea')
build() {
cd "${srcdir}"/srtp
+ patch -Np1 -i "$srcdir/mips.patch"
./configure --prefix=/usr
make CFLAGS="${CFLAGS} -fPIC"
}
diff --git a/extra/libsrtp/mips.patch b/extra/libsrtp/mips.patch
new file mode 100644
index 000000000..a1b549fe5
--- /dev/null
+++ b/extra/libsrtp/mips.patch
@@ -0,0 +1,55 @@
+diff -ru srtp.orig/test/srtp_driver.c srtp/test/srtp_driver.c
+--- srtp.orig/test/srtp_driver.c 2012-08-05 14:26:28.703145796 +0200
++++ srtp/test/srtp_driver.c 2012-08-05 14:27:12.003981862 +0200
+@@ -314,7 +314,7 @@
+ if (do_codec_timing) {
+ srtp_policy_t policy;
+ int ignore;
+- double mips = mips_estimate(1000000000, &ignore);
++ double mips_ = mips_estimate(1000000000, &ignore);
+
+ crypto_policy_set_rtp_default(&policy.rtp);
+ crypto_policy_set_rtcp_default(&policy.rtcp);
+@@ -323,33 +323,33 @@
+ policy.key = test_key;
+ policy.next = NULL;
+
+- printf("mips estimate: %e\n", mips);
++ printf("mips estimate: %e\n", mips_);
+
+ printf("testing srtp processing time for voice codecs:\n");
+ printf("codec\t\tlength (octets)\t\tsrtp instructions/second\n");
+ printf("G.711\t\t%d\t\t\t%e\n", 80,
+- (double) mips * (80 * 8) /
++ (double) mips_ * (80 * 8) /
+ srtp_bits_per_second(80, &policy) / .01 );
+ printf("G.711\t\t%d\t\t\t%e\n", 160,
+- (double) mips * (160 * 8) /
++ (double) mips_ * (160 * 8) /
+ srtp_bits_per_second(160, &policy) / .02);
+ printf("G.726-32\t%d\t\t\t%e\n", 40,
+- (double) mips * (40 * 8) /
++ (double) mips_ * (40 * 8) /
+ srtp_bits_per_second(40, &policy) / .01 );
+ printf("G.726-32\t%d\t\t\t%e\n", 80,
+- (double) mips * (80 * 8) /
++ (double) mips_ * (80 * 8) /
+ srtp_bits_per_second(80, &policy) / .02);
+ printf("G.729\t\t%d\t\t\t%e\n", 10,
+- (double) mips * (10 * 8) /
++ (double) mips_ * (10 * 8) /
+ srtp_bits_per_second(10, &policy) / .01 );
+ printf("G.729\t\t%d\t\t\t%e\n", 20,
+- (double) mips * (20 * 8) /
++ (double) mips_ * (20 * 8) /
+ srtp_bits_per_second(20, &policy) / .02 );
+ printf("Wideband\t%d\t\t\t%e\n", 320,
+- (double) mips * (320 * 8) /
++ (double) mips_ * (320 * 8) /
+ srtp_bits_per_second(320, &policy) / .01 );
+ printf("Wideband\t%d\t\t\t%e\n", 640,
+- (double) mips * (640 * 8) /
++ (double) mips_ * (640 * 8) /
+ srtp_bits_per_second(640, &policy) / .02 );
+ }
+
diff --git a/extra/libssh/PKGBUILD b/extra/libssh/PKGBUILD
index a2dc1bfcd..3a5d57db1 100644
--- a/extra/libssh/PKGBUILD
+++ b/extra/libssh/PKGBUILD
@@ -5,11 +5,11 @@
pkgname=libssh
pkgver=0.5.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Library for accessing ssh client services through C libraries"
url="http://www.libssh.org/"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('openssl')
makedepends=('cmake' 'doxygen')
source=("https://red.libssh.org/attachments/download/27/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/libstdc++5/PKGBUILD b/extra/libstdc++5/PKGBUILD
index 3de174843..461240c0e 100644
--- a/extra/libstdc++5/PKGBUILD
+++ b/extra/libstdc++5/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libstdc++5
pkgver=3.3.6
pkgrel=4
pkgdesc="GNU Standard C++ library version 3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://gcc.gnu.org"
license=('GPL' 'LGPL')
depends=('gcc-libs')
diff --git a/extra/libstroke/PKGBUILD b/extra/libstroke/PKGBUILD
index 08f0a1dac..518544cec 100644
--- a/extra/libstroke/PKGBUILD
+++ b/extra/libstroke/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libstroke
pkgver=0.5.1
-pkgrel=5
+pkgrel=5.1
pkgdesc="A stroke (mouse gesture) translation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://etla.net/libstroke/"
license=('GPL2')
depends=('glibc')
diff --git a/extra/libtar/PKGBUILD b/extra/libtar/PKGBUILD
index e1b54e3ce..0c518d5e8 100644
--- a/extra/libtar/PKGBUILD
+++ b/extra/libtar/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libtar
pkgver=1.2.11
pkgrel=4
pkgdesc="C library for manipulating POSIX tar files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.feep.net/libtar/"
license=('BSD')
depends=('zlib')
diff --git a/extra/libtasn1/PKGBUILD b/extra/libtasn1/PKGBUILD
index 699bae051..1a88dbdeb 100644
--- a/extra/libtasn1/PKGBUILD
+++ b/extra/libtasn1/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libtasn1
pkgver=3.0
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 55673275b..2b505d012 100644
--- a/extra/libtextcat/PKGBUILD
+++ b/extra/libtextcat/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libtextcat
pkgver=2.2
pkgrel=9
pkgdesc="Library that implements N-gram-based text categorization"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://software.wise-guys.nl/libtextcat/"
license=('BSD')
depends=('glibc')
diff --git a/extra/libthai/PKGBUILD b/extra/libthai/PKGBUILD
index 1a5df7ff1..75784fd1a 100644
--- a/extra/libthai/PKGBUILD
+++ b/extra/libthai/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.1.18
pkgrel=1
pkgdesc="Thai language support routines"
url="http://linux.thai.net/projects/libthai"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libdatrie')
makedepends=('pkgconfig')
diff --git a/extra/libtheora/PKGBUILD b/extra/libtheora/PKGBUILD
index 89cdaecb7..7871d1c24 100644
--- a/extra/libtheora/PKGBUILD
+++ b/extra/libtheora/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libtheora
pkgver=1.1.1
-pkgrel=2
+pkgrel=2.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')
@@ -18,7 +18,7 @@ sha1sums=('8dcaa8e61cd86eb1244467c0b64b9ddac04ae262')
build() {
cd "${srcdir}/libtheora-${pkgver}"
- ./configure --prefix=/usr --enable-shared --disable-static
+ ./configure --prefix=/usr --enable-shared --disable-static --build=$CHOST --target=$CHOST --host=$CHOST
make
}
diff --git a/extra/libtiff/PKGBUILD b/extra/libtiff/PKGBUILD
index 24a9ac5df..5d29aeb67 100644
--- a/extra/libtiff/PKGBUILD
+++ b/extra/libtiff/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libtiff
pkgver=4.0.3
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' 'xz')
diff --git a/extra/libtiger/PKGBUILD b/extra/libtiger/PKGBUILD
index 9fc441181..2b99ce106 100644
--- a/extra/libtiger/PKGBUILD
+++ b/extra/libtiger/PKGBUILD
@@ -4,11 +4,11 @@
pkgname=libtiger
pkgver=0.3.4
-pkgrel=3
+pkgrel=3.1
pkgdesc="A rendering library for Kate streams using Pango and Cairo"
url="http://libtiger.googlecode.com/"
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('pango' 'libkate')
makedepends=('pkg-config')
options=('!libtool')
diff --git a/extra/libtorrent-rasterbar/PKGBUILD b/extra/libtorrent-rasterbar/PKGBUILD
index c0923b187..6b4e246a8 100644
--- a/extra/libtorrent-rasterbar/PKGBUILD
+++ b/extra/libtorrent-rasterbar/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
epoch=1
pkgdesc="A C++ library that aims to be a good alternative to all the other bittorrent implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('boost-libs' 'geoip' 'python2')
makedepends=('boost')
diff --git a/extra/libunique/PKGBUILD b/extra/libunique/PKGBUILD
index a3a50c67c..ce3e6ca2f 100644
--- a/extra/libunique/PKGBUILD
+++ b/extra/libunique/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libunique
pkgver=1.1.6
-pkgrel=5
+pkgrel=5.1
pkgdesc="Library for writing single instance applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk2')
makedepends=('gtk-doc' 'gobject-introspection')
diff --git a/extra/libunique3/PKGBUILD b/extra/libunique3/PKGBUILD
index 13f57a335..222720d11 100644
--- a/extra/libunique3/PKGBUILD
+++ b/extra/libunique3/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=libunique3
pkgver=3.0.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="Library for writing single instance applications for GTK3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk3')
makedepends=('gtk-doc' 'gobject-introspection')
diff --git a/extra/libunistring/PKGBUILD b/extra/libunistring/PKGBUILD
index 5cbc2003a..e4c0d22c5 100644
--- a/extra/libunistring/PKGBUILD
+++ b/extra/libunistring/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=0.9.3
pkgrel=5
pkgdesc="Library for manipulating Unicode strings and C strings."
url="http://www.gnu.org/software/libunistring/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('glibc')
install=${pkgname}.install
diff --git a/extra/libupnp/PKGBUILD b/extra/libupnp/PKGBUILD
index 05b239f0c..544212c82 100644
--- a/extra/libupnp/PKGBUILD
+++ b/extra/libupnp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libupnp
pkgver=1.6.17
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-driver-intel/PKGBUILD b/extra/libva-driver-intel/PKGBUILD
deleted file mode 100644
index 81f20b214..000000000
--- a/extra/libva-driver-intel/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 161867 2012-06-16 00:18:43Z ibiru $
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-
-pkgname=libva-driver-intel
-pkgver=1.0.18
-pkgrel=1
-pkgdesc="VA-API implementation for Intel G45 chipsets and Intel HD Graphics for Intel Core processor family."
-arch=('i686' 'x86_64')
-url="http://freedesktop.org/wiki/Software/vaapi"
-license=('MIT')
-depends=('libva')
-options=('!libtool')
-source=(http://cgit.freedesktop.org/vaapi/intel-driver/snapshot/intel-driver-${pkgver}.tar.bz2)
-md5sums=('d8c52f07148dfb2e0407549b90300bc1')
-
-build() {
- cd intel-driver-$pkgver
- ./autogen.sh
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd intel-driver-$pkgver
- make DESTDIR="$pkgdir" install
- install -m644 -D COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/extra/libvisual-plugins/PKGBUILD b/extra/libvisual-plugins/PKGBUILD
index eead2c10c..db4399246 100644
--- a/extra/libvisual-plugins/PKGBUILD
+++ b/extra/libvisual-plugins/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libvisual-plugins
pkgver=0.4.0
pkgrel=7
pkgdesc="plugins for libvisual"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
license=('GPL')
url="http://www.localhost.nl/~synap/libvisual/"
depends=('libvisual' 'gtk2' 'glu' 'alsa-lib' 'jack')
diff --git a/extra/libvisual/PKGBUILD b/extra/libvisual/PKGBUILD
index 511ebdf9e..d55da1ece 100644
--- a/extra/libvisual/PKGBUILD
+++ b/extra/libvisual/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libvisual
pkgver=0.4.0
-pkgrel=4
+pkgrel=4.1
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')
options=('!libtool')
diff --git a/extra/libvncserver/PKGBUILD b/extra/libvncserver/PKGBUILD
index 27a759d6f..c3c807c50 100644
--- a/extra/libvncserver/PKGBUILD
+++ b/extra/libvncserver/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=libvncserver
pkgver=0.9.9
pkgrel=1
pkgdesc="A cross-platform C libraries that allow you to easily implement VNC server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://libvncserver.sourceforge.net/"
license=('GPL')
depends=('libjpeg' 'gnutls' 'libgcrypt' 'openssl')
diff --git a/extra/libvorbis/PKGBUILD b/extra/libvorbis/PKGBUILD
index 20b4270ce..69857d8da 100644
--- a/extra/libvorbis/PKGBUILD
+++ b/extra/libvorbis/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libvorbis
pkgver=1.3.3
-pkgrel=1
+pkgrel=1.1
pkgdesc="Vorbis codec library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xiph.org/vorbis/"
license=('BSD')
depends=('libogg')
diff --git a/extra/libvpx/PKGBUILD b/extra/libvpx/PKGBUILD
index 09c994f21..93d3a494f 100644
--- a/extra/libvpx/PKGBUILD
+++ b/extra/libvpx/PKGBUILD
@@ -4,23 +4,31 @@ pkgname=libvpx
pkgver=1.1.0
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')
makedepends=('yasm')
-source=(http://webm.googlecode.com/files/$pkgname-v$pkgver.tar.bz2)
-sha1sums=('356af5f770c50cd021c60863203d8f30164f6021')
+source=(http://webm.googlecode.com/files/$pkgname-v$pkgver.tar.bz2
+ mips64el.patch)
+sha1sums=('356af5f770c50cd021c60863203d8f30164f6021'
+ '4fd775826a4d737102f831c451235a58947f2cde')
build() {
- cd "$pkgname-v$pkgver"
+ cd "$srcdir/$pkgname-v$pkgver"
+
+ if [ "$CARCH" = "mips64el" ]; then
+ extra="--target=mips64el-linux-gcc"
+ patch -Np1 -i ${srcdir}/mips64el.patch
+ fi
+
./configure --prefix=/usr --enable-vp8 \
--enable-runtime-cpu-detect \
--enable-shared \
--enable-postproc \
--enable-pic \
--disable-install-docs \
- --disable-install-srcs
+ --disable-install-srcs $extra
make
}
diff --git a/extra/libvpx/mips64el.patch b/extra/libvpx/mips64el.patch
new file mode 100644
index 000000000..a0e84d5c2
--- /dev/null
+++ b/extra/libvpx/mips64el.patch
@@ -0,0 +1,38 @@
+diff -uNar libvpx-v0.9.6.orig//build/make/configure.sh libvpx-v0.9.6/build/make/configure.sh
+--- libvpx-v0.9.6.orig//build/make/configure.sh 2011-03-04 17:40:37.000000000 -0300
++++ libvpx-v0.9.6/build/make/configure.sh 2011-03-27 12:31:49.263260789 -0300
+@@ -805,6 +805,15 @@
+
+ esac
+ ;;
++ mips64*)
++ CROSS=""
++ link_with_cc=gcc
++ setup_gnu_toolchain
++ tune_cflags="-mtune="
++ check_add_cflags -march=${tgt_isa}
++ check_add_asflags -march=${tgt_isa}
++ check_add_asflags -KPIC
++ ;;
+ mips*)
+ CROSS=${CROSS:-mipsel-linux-uclibc-}
+ link_with_cc=gcc
+diff -uNar libvpx-v0.9.6.orig//configure libvpx-v0.9.6/configure
+--- libvpx-v0.9.6.orig//configure 2011-03-04 17:40:37.000000000 -0300
++++ libvpx-v0.9.6/configure 2011-03-27 12:31:05.571213054 -0300
+@@ -94,6 +94,7 @@
+ all_platforms="${all_platforms} armv7-linux-gcc" #neon Cortex-A8
+ all_platforms="${all_platforms} armv7-none-rvct" #neon Cortex-A8
+ all_platforms="${all_platforms} mips32-linux-gcc"
++all_platforms="${all_platforms} mips64el-linux-gcc"
+ all_platforms="${all_platforms} ppc32-darwin8-gcc"
+ all_platforms="${all_platforms} ppc32-darwin9-gcc"
+ all_platforms="${all_platforms} ppc32-linux-gcc"
+@@ -194,6 +195,7 @@
+ iwmmxt2
+
+ mips32
++ mips64
+
+ mmx
+ sse
diff --git a/extra/libwacom/PKGBUILD b/extra/libwacom/PKGBUILD
index ee919f122..332c26613 100644
--- a/extra/libwacom/PKGBUILD
+++ b/extra/libwacom/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libwacom
pkgver=0.6
pkgrel=1
pkgdesc="Library to identify Wacom tablets and their features"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Libwacom"
license=('MIT')
depends=('glib2' 'systemd-tools')
diff --git a/extra/libwebkit/PKGBUILD b/extra/libwebkit/PKGBUILD
deleted file mode 100644
index 8553daaa4..000000000
--- a/extra/libwebkit/PKGBUILD
+++ /dev/null
@@ -1,77 +0,0 @@
-# $Id: PKGBUILD 165830 2012-08-31 06:45:09Z andyrtr $
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-
-pkgbase=libwebkit
-pkgname=(libwebkit libwebkit3)
-pkgver=1.8.3
-pkgrel=1
-pkgdesc="An opensource web content engine"
-arch=('i686' 'x86_64')
-url="http://webkitgtk.org/"
-license=('custom')
-depends=('libxt' 'libxslt' 'sqlite' 'icu' 'gstreamer0.10-base' 'libsoup' 'enchant' 'libgl'
- 'geoclue')
-makedepends=('gperf' 'gobject-introspection' 'python2' 'gtk2' 'gtk3' 'mesa')
-options=('!libtool' '!emptydirs')
-source=(http://webkitgtk.org/releases/webkit-$pkgver.tar.xz
- bison26.diff)
-sha256sums=('ada02d636af61aed38f142d3cded662d141ce71264f624c4eb873621a74cc9e7'
- '2a9c0c1b9d5259fd1254ebea228fc83313267fbe8cfec1bb43356de1f355b93e')
-
-build() {
- cd "$srcdir/webkit-$pkgver"
- # https://bugs.webkit.org/show_bug.cgi?id=92264 / http://trac.webkit.org/changeset/124099
- patch -Np1 -i ${srcdir}/bison26.diff
-
- mkdir build-gtk{2,3}
-
- # clear makeflags: race during introspection.
- # WebKit*.gir should be created before WebKit*.typelib, but isn't
- #MAKEFLAGS=
-
- ( cd build-gtk2 && _build --with-gtk=2.0 )
- ( cd build-gtk3 && _build --with-gtk=3.0 )
-}
-
-_build() {
- PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
- --enable-introspection \
- --with-font-backend=freetype \
- --with-unicode-backend=icu \
- --enable-spellcheck "$@"
- #make all stamp-po
-
- # crazy smp build fix by LFS - http://www.linuxfromscratch.org/blfs/view/svn/x/webkitgtk.html
- # !!! safes a lot of time but may cover other bugs you won't notice anymore !!!
- error_count=0
- until make all stamp-po #-j$(getconf _NPROCESSORS_ONLN)
- do
- if (( $((error_count++)) > 4 ))
- then
- echo Too Many Errors
- break
- fi
- done
- unset error_count
-}
-
-package_libwebkit() {
- pkgdesc+=" (for GTK2)"
- depends+=(gtk2)
-
- cd "$srcdir/webkit-$pkgver/build-gtk2"
- make DESTDIR="$pkgdir" install
- install -Dm644 ../Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/libwebkit/LICENSE"
-}
-
-package_libwebkit3() {
- pkgdesc+=" (for GTK3)"
- depends+=(gtk3)
-
- cd "$srcdir/webkit-$pkgver/build-gtk3"
- make DESTDIR="$pkgdir" install
- install -Dm644 ../Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/libwebkit3/LICENSE"
-}
-
-
-
diff --git a/extra/libwebkit/bison26.diff b/extra/libwebkit/bison26.diff
deleted file mode 100644
index 682ae7127..000000000
--- a/extra/libwebkit/bison26.diff
+++ /dev/null
@@ -1,556 +0,0 @@
-Subversion Revision: 123651
-diff --git a/Source/WebCore/css/CSSGrammar.y b/Source/WebCore/css/CSSGrammar.y
-index c7c10b541cd46ad4febc6efe289e81b2cfb0861e..1c604e76b4da4cc65f395bc4a73b112561bd5c84 100644
---- a/Source/WebCore/css/CSSGrammar.y
-+++ b/Source/WebCore/css/CSSGrammar.y
-@@ -53,14 +53,13 @@ using namespace HTMLNames;
- #define YYMAXDEPTH 10000
- #define YYDEBUG 0
-
--// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend on bison 2.x
--#define YYPARSE_PARAM parser
--#define YYLEX_PARAM parser
--
- %}
-
- %pure_parser
-
-+%parse-param { CSSParser* parser }
-+%lex-param { CSSParser* parser }
-+
- %union {
- bool boolean;
- char character;
-@@ -89,7 +88,7 @@ using namespace HTMLNames;
-
- %{
-
--static inline int cssyyerror(const char*)
-+static inline int cssyyerror(void*, const char*)
- {
- return 1;
- }
-diff --git a/Source/WebCore/css/CSSParser.cpp b/Source/WebCore/css/CSSParser.cpp
-index 650844060477cfc6ea6fdeaf11ec63b34ac646e7..8369549dbff25537cf93a11237a9bbbac4fe50f2 100644
---- a/Source/WebCore/css/CSSParser.cpp
-+++ b/Source/WebCore/css/CSSParser.cpp
-@@ -114,7 +114,7 @@
- extern int cssyydebug;
- #endif
-
--extern int cssyyparse(void* parser);
-+extern int cssyyparse(WebCore::CSSParser*);
-
- using namespace std;
- using namespace WTF;
-diff --git a/Source/WebCore/xml/XPathGrammar.y b/Source/WebCore/xml/XPathGrammar.y
-index 2eba5b35bd2338272a0f4ec756d137e47d2d59c8..d558211db2d89ea13716762a51397755560f66f3 100644
---- a/Source/WebCore/xml/XPathGrammar.y
-+++ b/Source/WebCore/xml/XPathGrammar.y
-@@ -34,6 +34,7 @@
- #include "XPathParser.h"
- #include "XPathPath.h"
- #include "XPathPredicate.h"
-+#include "XPathStep.h"
- #include "XPathVariableReference.h"
- #include <wtf/FastMalloc.h>
-
-@@ -44,8 +45,6 @@
- #define YYLTYPE_IS_TRIVIAL 1
- #define YYDEBUG 0
- #define YYMAXDEPTH 10000
--#define YYPARSE_PARAM parserParameter
--#define PARSER static_cast<Parser*>(parserParameter)
-
- using namespace WebCore;
- using namespace XPath;
-@@ -53,6 +52,7 @@ using namespace XPath;
- %}
-
- %pure_parser
-+%parse-param { WebCore::XPath::Parser* parser }
-
- %union
- {
-@@ -71,7 +71,7 @@ using namespace XPath;
- %{
-
- static int xpathyylex(YYSTYPE* yylval) { return Parser::current()->lex(yylval); }
--static void xpathyyerror(const char*) { }
-+static void xpathyyerror(void*, const char*) { }
-
- %}
-
-@@ -118,7 +118,7 @@ static void xpathyyerror(const char*) { }
- Expr:
- OrExpr
- {
-- PARSER->m_topExpr = $1;
-+ parser->m_topExpr = $1;
- }
- ;
-
-@@ -138,7 +138,7 @@ AbsoluteLocationPath:
- '/'
- {
- $$ = new LocationPath;
-- PARSER->registerParseNode($$);
-+ parser->registerParseNode($$);
- }
- |
- '/' RelativeLocationPath
-@@ -150,7 +150,7 @@ AbsoluteLocationPath:
- {
- $$ = $2;
- $$->insertFirstStep($1);
-- PARSER->unregisterParseNode($1);
-+ parser->unregisterParseNode($1);
- }
- ;
-
-@@ -159,22 +159,22 @@ RelativeLocationPath:
- {
- $$ = new LocationPath;
- $$->appendStep($1);
-- PARSER->unregisterParseNode($1);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->registerParseNode($$);
- }
- |
- RelativeLocationPath '/' Step
- {
- $$->appendStep($3);
-- PARSER->unregisterParseNode($3);
-+ parser->unregisterParseNode($3);
- }
- |
- RelativeLocationPath DescendantOrSelf Step
- {
- $$->appendStep($2);
- $$->appendStep($3);
-- PARSER->unregisterParseNode($2);
-- PARSER->unregisterParseNode($3);
-+ parser->unregisterParseNode($2);
-+ parser->unregisterParseNode($3);
- }
- ;
-
-@@ -183,58 +183,58 @@ Step:
- {
- if ($2) {
- $$ = new Step(Step::ChildAxis, *$1, *$2);
-- PARSER->deletePredicateVector($2);
-+ parser->deletePredicateVector($2);
- } else
- $$ = new Step(Step::ChildAxis, *$1);
-- PARSER->deleteNodeTest($1);
-- PARSER->registerParseNode($$);
-+ parser->deleteNodeTest($1);
-+ parser->registerParseNode($$);
- }
- |
- NAMETEST OptionalPredicateList
- {
- String localName;
- String namespaceURI;
-- if (!PARSER->expandQName(*$1, localName, namespaceURI)) {
-- PARSER->m_gotNamespaceError = true;
-+ if (!parser->expandQName(*$1, localName, namespaceURI)) {
-+ parser->m_gotNamespaceError = true;
- YYABORT;
- }
-
- if ($2) {
- $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$2);
-- PARSER->deletePredicateVector($2);
-+ parser->deletePredicateVector($2);
- } else
- $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
-- PARSER->deleteString($1);
-- PARSER->registerParseNode($$);
-+ parser->deleteString($1);
-+ parser->registerParseNode($$);
- }
- |
- AxisSpecifier NodeTest OptionalPredicateList
- {
- if ($3) {
- $$ = new Step($1, *$2, *$3);
-- PARSER->deletePredicateVector($3);
-+ parser->deletePredicateVector($3);
- } else
- $$ = new Step($1, *$2);
-- PARSER->deleteNodeTest($2);
-- PARSER->registerParseNode($$);
-+ parser->deleteNodeTest($2);
-+ parser->registerParseNode($$);
- }
- |
- AxisSpecifier NAMETEST OptionalPredicateList
- {
- String localName;
- String namespaceURI;
-- if (!PARSER->expandQName(*$2, localName, namespaceURI)) {
-- PARSER->m_gotNamespaceError = true;
-+ if (!parser->expandQName(*$2, localName, namespaceURI)) {
-+ parser->m_gotNamespaceError = true;
- YYABORT;
- }
-
- if ($3) {
- $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3);
-- PARSER->deletePredicateVector($3);
-+ parser->deletePredicateVector($3);
- } else
- $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
-- PARSER->deleteString($2);
-- PARSER->registerParseNode($$);
-+ parser->deleteString($2);
-+ parser->registerParseNode($$);
- }
- |
- AbbreviatedStep
-@@ -259,23 +259,23 @@ NodeTest:
- else if (*$1 == "comment")
- $$ = new Step::NodeTest(Step::NodeTest::CommentNodeTest);
-
-- PARSER->deleteString($1);
-- PARSER->registerNodeTest($$);
-+ parser->deleteString($1);
-+ parser->registerNodeTest($$);
- }
- |
- PI '(' ')'
- {
- $$ = new Step::NodeTest(Step::NodeTest::ProcessingInstructionNodeTest);
-- PARSER->deleteString($1);
-- PARSER->registerNodeTest($$);
-+ parser->deleteString($1);
-+ parser->registerNodeTest($$);
- }
- |
- PI '(' LITERAL ')'
- {
- $$ = new Step::NodeTest(Step::NodeTest::ProcessingInstructionNodeTest, $3->stripWhiteSpace());
-- PARSER->deleteString($1);
-- PARSER->deleteString($3);
-- PARSER->registerNodeTest($$);
-+ parser->deleteString($1);
-+ parser->deleteString($3);
-+ parser->registerNodeTest($$);
- }
- ;
-
-@@ -293,14 +293,14 @@ PredicateList:
- {
- $$ = new Vector<Predicate*>;
- $$->append(new Predicate($1));
-- PARSER->unregisterParseNode($1);
-- PARSER->registerPredicateVector($$);
-+ parser->unregisterParseNode($1);
-+ parser->registerPredicateVector($$);
- }
- |
- PredicateList Predicate
- {
- $$->append(new Predicate($2));
-- PARSER->unregisterParseNode($2);
-+ parser->unregisterParseNode($2);
- }
- ;
-
-@@ -315,7 +315,7 @@ DescendantOrSelf:
- SLASHSLASH
- {
- $$ = new Step(Step::DescendantOrSelfAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest));
-- PARSER->registerParseNode($$);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -323,13 +323,13 @@ AbbreviatedStep:
- '.'
- {
- $$ = new Step(Step::SelfAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest));
-- PARSER->registerParseNode($$);
-+ parser->registerParseNode($$);
- }
- |
- DOTDOT
- {
- $$ = new Step(Step::ParentAxis, Step::NodeTest(Step::NodeTest::AnyNodeTest));
-- PARSER->registerParseNode($$);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -337,8 +337,8 @@ PrimaryExpr:
- VARIABLEREFERENCE
- {
- $$ = new VariableReference(*$1);
-- PARSER->deleteString($1);
-- PARSER->registerParseNode($$);
-+ parser->deleteString($1);
-+ parser->registerParseNode($$);
- }
- |
- '(' Expr ')'
-@@ -349,15 +349,15 @@ PrimaryExpr:
- LITERAL
- {
- $$ = new StringExpression(*$1);
-- PARSER->deleteString($1);
-- PARSER->registerParseNode($$);
-+ parser->deleteString($1);
-+ parser->registerParseNode($$);
- }
- |
- NUMBER
- {
- $$ = new Number($1->toDouble());
-- PARSER->deleteString($1);
-- PARSER->registerParseNode($$);
-+ parser->deleteString($1);
-+ parser->registerParseNode($$);
- }
- |
- FunctionCall
-@@ -369,8 +369,8 @@ FunctionCall:
- $$ = createFunction(*$1);
- if (!$$)
- YYABORT;
-- PARSER->deleteString($1);
-- PARSER->registerParseNode($$);
-+ parser->deleteString($1);
-+ parser->registerParseNode($$);
- }
- |
- FUNCTIONNAME '(' ArgumentList ')'
-@@ -378,9 +378,9 @@ FunctionCall:
- $$ = createFunction(*$1, *$3);
- if (!$$)
- YYABORT;
-- PARSER->deleteString($1);
-- PARSER->deleteExpressionVector($3);
-- PARSER->registerParseNode($$);
-+ parser->deleteString($1);
-+ parser->deleteExpressionVector($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -389,14 +389,14 @@ ArgumentList:
- {
- $$ = new Vector<Expression*>;
- $$->append($1);
-- PARSER->unregisterParseNode($1);
-- PARSER->registerExpressionVector($$);
-+ parser->unregisterParseNode($1);
-+ parser->registerExpressionVector($$);
- }
- |
- ArgumentList ',' Argument
- {
- $$->append($3);
-- PARSER->unregisterParseNode($3);
-+ parser->unregisterParseNode($3);
- }
- ;
-
-@@ -412,9 +412,9 @@ UnionExpr:
- $$ = new Union;
- $$->addSubExpression($1);
- $$->addSubExpression($3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -430,9 +430,9 @@ PathExpr:
- {
- $3->setAbsolute(true);
- $$ = new Path(static_cast<Filter*>($1), $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- |
- FilterExpr DescendantOrSelf RelativeLocationPath
-@@ -440,10 +440,10 @@ PathExpr:
- $3->insertFirstStep($2);
- $3->setAbsolute(true);
- $$ = new Path(static_cast<Filter*>($1), $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($2);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($2);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -453,9 +453,9 @@ FilterExpr:
- PrimaryExpr PredicateList
- {
- $$ = new Filter($1, *$2);
-- PARSER->unregisterParseNode($1);
-- PARSER->deletePredicateVector($2);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->deletePredicateVector($2);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -465,9 +465,9 @@ OrExpr:
- OrExpr OR AndExpr
- {
- $$ = new LogicalOp(LogicalOp::OP_Or, $1, $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -477,9 +477,9 @@ AndExpr:
- AndExpr AND EqualityExpr
- {
- $$ = new LogicalOp(LogicalOp::OP_And, $1, $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -489,9 +489,9 @@ EqualityExpr:
- EqualityExpr EQOP RelationalExpr
- {
- $$ = new EqTestOp($2, $1, $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -501,9 +501,9 @@ RelationalExpr:
- RelationalExpr RELOP AdditiveExpr
- {
- $$ = new EqTestOp($2, $1, $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -513,17 +513,17 @@ AdditiveExpr:
- AdditiveExpr PLUS MultiplicativeExpr
- {
- $$ = new NumericOp(NumericOp::OP_Add, $1, $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- |
- AdditiveExpr MINUS MultiplicativeExpr
- {
- $$ = new NumericOp(NumericOp::OP_Sub, $1, $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -533,9 +533,9 @@ MultiplicativeExpr:
- MultiplicativeExpr MULOP UnaryExpr
- {
- $$ = new NumericOp($2, $1, $3);
-- PARSER->unregisterParseNode($1);
-- PARSER->unregisterParseNode($3);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($1);
-+ parser->unregisterParseNode($3);
-+ parser->registerParseNode($$);
- }
- ;
-
-@@ -546,8 +546,8 @@ UnaryExpr:
- {
- $$ = new Negative;
- $$->addSubExpression($2);
-- PARSER->unregisterParseNode($2);
-- PARSER->registerParseNode($$);
-+ parser->unregisterParseNode($2);
-+ parser->registerParseNode($$);
- }
- ;
-
-diff --git a/Source/WebCore/xml/XPathParser.cpp b/Source/WebCore/xml/XPathParser.cpp
-index 62d8ee37fd6ebb74a580a00c59beb6cd40c5a8b7..b5e6a9237593b4aaa2a243f2ff9d86e57f930a97 100644
---- a/Source/WebCore/xml/XPathParser.cpp
-+++ b/Source/WebCore/xml/XPathParser.cpp
-@@ -32,24 +32,21 @@
- #include "XPathEvaluator.h"
- #include "XPathException.h"
- #include "XPathNSResolver.h"
-+#include "XPathPath.h"
- #include "XPathStep.h"
- #include <wtf/StdLibExtras.h>
- #include <wtf/text/StringHash.h>
-
--int xpathyyparse(void*);
--
-+using namespace WebCore;
- using namespace WTF;
- using namespace Unicode;
-+using namespace XPath;
-
--namespace WebCore {
--namespace XPath {
--
--class LocationPath;
--
--#include "XPathGrammar.h"
-+extern int xpathyyparse(WebCore::XPath::Parser*);
-+#include "XPathGrammar.h"
-
- Parser* Parser::currentParser = 0;
--
-+
- enum XMLCat { NameStart, NameCont, NotPartOfName };
-
- typedef HashMap<String, Step::Axis> AxisNamesMap;
-@@ -630,5 +627,3 @@ void Parser::deleteNodeTest(Step::NodeTest* t)
- delete t;
- }
-
--}
--}
-
diff --git a/extra/libwebp/PKGBUILD b/extra/libwebp/PKGBUILD
index 8028b0de5..c9b839c91 100644
--- a/extra/libwebp/PKGBUILD
+++ b/extra/libwebp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libwebp
pkgver=0.2.0
pkgrel=1
pkgdesc="WebP library and conversion tools"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://code.google.com/intl/en/speed/webp/"
license=('BSD')
depends=('libpng' 'libjpeg')
diff --git a/extra/libwmf/PKGBUILD b/extra/libwmf/PKGBUILD
index e6ac70a29..730f64506 100644
--- a/extra/libwmf/PKGBUILD
+++ b/extra/libwmf/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libwmf
pkgver=0.2.8.4
-pkgrel=9
+pkgrel=9.1
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' 'libjpeg' 'gsfonts')
diff --git a/extra/libwnck/PKGBUILD b/extra/libwnck/PKGBUILD
index e11df4304..14b93a70f 100644
--- a/extra/libwnck/PKGBUILD
+++ b/extra/libwnck/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libwnck
pkgver=2.30.7
-pkgrel=1
+pkgrel=1.1
pkgdesc="Window Navigator Construction Kit"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk2' 'startup-notification' 'libxres')
makedepends=('libxt' 'intltool' 'gobject-introspection')
diff --git a/extra/libwnck3/PKGBUILD b/extra/libwnck3/PKGBUILD
index 701fbafd9..7b3688e6d 100644
--- a/extra/libwnck3/PKGBUILD
+++ b/extra/libwnck3/PKGBUILD
@@ -6,7 +6,7 @@ _pkgbasename=libwnck
pkgver=3.4.4
pkgrel=1
pkgdesc="Window Navigator Construction Kit (GTK+3)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('gtk3' 'startup-notification' 'libxres')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libwpd/PKGBUILD b/extra/libwpd/PKGBUILD
index c5846bdd5..0f4425672 100644
--- a/extra/libwpd/PKGBUILD
+++ b/extra/libwpd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libwpd
pkgver=0.9.4
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 f0c1c501f..583f095a8 100644
--- a/extra/libwpg/PKGBUILD
+++ b/extra/libwpg/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libwpg
pkgver=0.2.1
-pkgrel=1
+pkgrel=1.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' 'perl')
diff --git a/extra/libwps/PKGBUILD b/extra/libwps/PKGBUILD
index 1b57dbcc0..0c39c8543 100644
--- a/extra/libwps/PKGBUILD
+++ b/extra/libwps/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libwps
pkgver=0.2.7
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.4')
diff --git a/extra/libx11/PKGBUILD b/extra/libx11/PKGBUILD
index dfee94203..acdc995ed 100644
--- a/extra/libx11/PKGBUILD
+++ b/extra/libx11/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libx11
pkgver=1.5.0
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 8fe202370..be159570b 100644
--- a/extra/libxau/PKGBUILD
+++ b/extra/libxau/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libxau
pkgver=1.0.7
-pkgrel=1
+pkgrel=1.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 687aaea06..63ebbb27a 100644
--- a/extra/libxaw/PKGBUILD
+++ b/extra/libxaw/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxaw
pkgver=1.0.11
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 c6564337c..b835805bd 100644
--- a/extra/libxcb/PKGBUILD
+++ b/extra/libxcb/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxcb
pkgver=1.9
pkgrel=1
pkgdesc="X11 client-side library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xcb.freedesktop.org/"
depends=('xcb-proto>=1.7' 'libxdmcp' 'libxau')
makedepends=('pkgconfig' 'libxslt' 'python2')
diff --git a/extra/libxcomposite/PKGBUILD b/extra/libxcomposite/PKGBUILD
index 23cec885b..ddb4add72 100644
--- a/extra/libxcomposite/PKGBUILD
+++ b/extra/libxcomposite/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxcomposite
pkgver=0.4.3
-pkgrel=2
+pkgrel=2.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 16d6470f0..e4e6e420f 100644
--- a/extra/libxcursor/PKGBUILD
+++ b/extra/libxcursor/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libxcursor
pkgver=1.1.13
-pkgrel=1
+pkgrel=1.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 c33c0b605..60bede826 100644
--- a/extra/libxdamage/PKGBUILD
+++ b/extra/libxdamage/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxdamage
pkgver=1.1.3
-pkgrel=2
+pkgrel=2.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 541f81ef7..ba75bd2e2 100644
--- a/extra/libxdmcp/PKGBUILD
+++ b/extra/libxdmcp/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxdmcp
pkgver=1.1.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="X11 Display Manager Control Protocol library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xproto' 'glibc')
diff --git a/extra/libxevie/PKGBUILD b/extra/libxevie/PKGBUILD
index 712663b54..fd12e2745 100644
--- a/extra/libxevie/PKGBUILD
+++ b/extra/libxevie/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxevie
pkgver=1.0.3
pkgrel=2
pkgdesc="X11 EvIE extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxext')
diff --git a/extra/libxext/PKGBUILD b/extra/libxext/PKGBUILD
index cfc998d9a..206746699 100644
--- a/extra/libxext/PKGBUILD
+++ b/extra/libxext/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxext
pkgver=1.3.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="X11 miscellaneous extensions library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'xextproto')
diff --git a/extra/libxfce4ui/PKGBUILD b/extra/libxfce4ui/PKGBUILD
index bc35925b8..4d5fcf4e2 100644
--- a/extra/libxfce4ui/PKGBUILD
+++ b/extra/libxfce4ui/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfce4ui
pkgver=4.10.0
pkgrel=1
pkgdesc="Commonly used Xfce widgets among Xfce applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
depends=('libxfce4util' 'gtk2' 'xfconf' 'libsm' 'startup-notification'
diff --git a/extra/libxfce4util/PKGBUILD b/extra/libxfce4util/PKGBUILD
index 40e5b2c8b..7d100380e 100644
--- a/extra/libxfce4util/PKGBUILD
+++ b/extra/libxfce4util/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfce4util
pkgver=4.10.0
pkgrel=1
pkgdesc="Basic utility non-GUI functions for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
depends=('glib2')
diff --git a/extra/libxfcegui4/PKGBUILD b/extra/libxfcegui4/PKGBUILD
index 392d91005..3241a75b9 100644
--- a/extra/libxfcegui4/PKGBUILD
+++ b/extra/libxfcegui4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxfcegui4
pkgver=4.10.0
pkgrel=1
pkgdesc="Various Gtk widgets for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
depends=('startup-notification' 'xfconf' 'libglade' 'libsm'
diff --git a/extra/libxfixes/PKGBUILD b/extra/libxfixes/PKGBUILD
index 535bfbafe..8801230ba 100644
--- a/extra/libxfixes/PKGBUILD
+++ b/extra/libxfixes/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxfixes
pkgver=5.0
-pkgrel=2
+pkgrel=2.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 41ab3ecba..f4a577a89 100644
--- a/extra/libxfont/PKGBUILD
+++ b/extra/libxfont/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxfont
pkgver=1.4.5
-pkgrel=1
+pkgrel=1.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 b38f5ee8a..62c9f567b 100644
--- a/extra/libxft/PKGBUILD
+++ b/extra/libxft/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxft
pkgver=2.3.1
pkgrel=1
pkgdesc="FreeType-based font drawing library for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('fontconfig' 'libxrender')
diff --git a/extra/libxi/PKGBUILD b/extra/libxi/PKGBUILD
index 045880e34..90b195551 100644
--- a/extra/libxi/PKGBUILD
+++ b/extra/libxi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxi
pkgver=1.6.1
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')
diff --git a/extra/libxinerama/PKGBUILD b/extra/libxinerama/PKGBUILD
index 043cf6f9b..90e9f0e21 100644
--- a/extra/libxinerama/PKGBUILD
+++ b/extra/libxinerama/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libxinerama
pkgver=1.1.2
-pkgrel=1
+pkgrel=1.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 a4fb52c27..4184e47b2 100644
--- a/extra/libxkbfile/PKGBUILD
+++ b/extra/libxkbfile/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxkbfile
pkgver=1.0.8
-pkgrel=1
+pkgrel=1.1
pkgdesc="X11 keyboard file manipulation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libx11')
diff --git a/extra/libxkbui/PKGBUILD b/extra/libxkbui/PKGBUILD
index 83b03186d..37b0fcf5b 100644
--- a/extra/libxkbui/PKGBUILD
+++ b/extra/libxkbui/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libxkbui
pkgver=1.0.2
pkgrel=4
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 4740bdc54..cf4d30146 100644
--- a/extra/libxklavier/PKGBUILD
+++ b/extra/libxklavier/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxklavier
pkgver=5.3
pkgrel=1
pkgdesc="High-level API for X Keyboard Extension"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('glib2' 'libxkbfile' 'libxml2' 'xkeyboard-config' 'libxi' 'iso-codes')
makedepends=('gobject-introspection')
diff --git a/extra/libxmi/PKGBUILD b/extra/libxmi/PKGBUILD
index b7034d62a..e8cedeacf 100644
--- a/extra/libxmi/PKGBUILD
+++ b/extra/libxmi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxmi
pkgver=1.2
pkgrel=5
pkgdesc="A library for rasterizing 2-D vector graphics"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libxmi/libxmi.html"
license=('GPL')
depends=('glibc')
diff --git a/extra/libxml++/PKGBUILD b/extra/libxml++/PKGBUILD
index 8e7c83e0d..8193c66b9 100644
--- a/extra/libxml++/PKGBUILD
+++ b/extra/libxml++/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=libxml++
pkgname=('libxml++' 'libxml++-docs')
pkgver=2.36.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://libxmlplusplus.sourceforge.net/"
makedepends=('pkgconfig' 'glibmm-docs' 'libxml2' 'glibmm')
@@ -19,11 +19,12 @@ build() {
make
}
-package_libxml++() {
+package_libxmlplusplus() {
pkgdesc="C++ bindings to libxml2"
depends=('libxml2' 'glibmm')
replaces=('libxml++2')
- provides=("libxml++2=${pkgver}")
+ provides=("libxml++2=${pkgver}"
+ "libxml++=${pkgver}")
conflicts=('libxml++2')
cd "${srcdir}/${pkgbase}-${pkgver}"
@@ -31,9 +32,10 @@ package_libxml++() {
make DESTDIR="${pkgdir}" install
}
-package_libxml++-docs() {
+package_libxmlplusplus-docs() {
pkgdesc="Developer documentation for libxml++"
depends=('glibmm-docs')
+ provides=("libxmlplusplus-docs=${pkgver}")
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install-data-local install-dist_referenceDATA
}
diff --git a/extra/libxml2/PKGBUILD b/extra/libxml2/PKGBUILD
index 58c47561a..9d8f1dd60 100644
--- a/extra/libxml2/PKGBUILD
+++ b/extra/libxml2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxml2
pkgver=2.8.0
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' 'xz')
makedepends=('python2')
diff --git a/extra/libxmu/PKGBUILD b/extra/libxmu/PKGBUILD
index 6ff36c5b0..5f08dbbef 100644
--- a/extra/libxmu/PKGBUILD
+++ b/extra/libxmu/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxmu
pkgver=1.1.1
-pkgrel=1
+pkgrel=1.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 5e33fa581..d199ed32c 100644
--- a/extra/libxp/PKGBUILD
+++ b/extra/libxp/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxp
pkgver=1.0.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="X11 X Print Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext' 'printproto')
diff --git a/extra/libxpm/PKGBUILD b/extra/libxpm/PKGBUILD
index 9fe0bc1df..838433bdf 100644
--- a/extra/libxpm/PKGBUILD
+++ b/extra/libxpm/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxpm
pkgver=3.5.10
-pkgrel=1
+pkgrel=1.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 f7fa2718f..0bfb732dc 100644
--- a/extra/libxrandr/PKGBUILD
+++ b/extra/libxrandr/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libxrandr
pkgver=1.4.0
-pkgrel=1
+pkgrel=1.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>=1.4.0')
diff --git a/extra/libxrender/PKGBUILD b/extra/libxrender/PKGBUILD
index 66025d5c7..174772c0c 100644
--- a/extra/libxrender/PKGBUILD
+++ b/extra/libxrender/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxrender
pkgver=0.9.7
-pkgrel=1
+pkgrel=1.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 b2b18476e..c252f8a3f 100644
--- a/extra/libxres/PKGBUILD
+++ b/extra/libxres/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxres
pkgver=1.0.6
-pkgrel=1
+pkgrel=1.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 7cdc5e9d2..1f0d022e1 100644
--- a/extra/libxslt/PKGBUILD
+++ b/extra/libxslt/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libxslt
pkgver=1.1.26
-pkgrel=3
+pkgrel=3.1
pkgdesc="XML stylesheet transformation library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xmlsoft.org/XSLT/"
license=('custom')
depends=('libxml2' 'libgcrypt')
diff --git a/extra/libxss/PKGBUILD b/extra/libxss/PKGBUILD
index 5fafc2d8d..93c296c3c 100644
--- a/extra/libxss/PKGBUILD
+++ b/extra/libxss/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=libxss
pkgver=1.2.2
-pkgrel=1
+pkgrel=1.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 8fd5b915a..1c9bd18a0 100644
--- a/extra/libxt/PKGBUILD
+++ b/extra/libxt/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxt
pkgver=1.1.3
-pkgrel=1
+pkgrel=1.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 810b6d11b..b690e1d00 100644
--- a/extra/libxtst/PKGBUILD
+++ b/extra/libxtst/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxtst
pkgver=1.2.1
-pkgrel=1
+pkgrel=1.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 4484ad5e2..367067e7c 100644
--- a/extra/libxv/PKGBUILD
+++ b/extra/libxv/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxv
pkgver=1.0.7
-pkgrel=1
+pkgrel=1.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 7f06c8c00..38f6b369e 100644
--- a/extra/libxvmc/PKGBUILD
+++ b/extra/libxvmc/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxvmc
pkgver=1.0.7
-pkgrel=1
+pkgrel=1.1
pkgdesc="X11 Video Motion Compensation extension library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxv')
diff --git a/extra/libxxf86dga/PKGBUILD b/extra/libxxf86dga/PKGBUILD
index c5be1ace8..5eebaf323 100644
--- a/extra/libxxf86dga/PKGBUILD
+++ b/extra/libxxf86dga/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libxxf86dga
pkgver=1.1.3
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 0be6a068b..94dfbf043 100644
--- a/extra/libxxf86vm/PKGBUILD
+++ b/extra/libxxf86vm/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=libxxf86vm
pkgver=1.1.2
-pkgrel=1
+pkgrel=1.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 5516bb5ee..a5515ac9a 100644
--- a/extra/libytnef/PKGBUILD
+++ b/extra/libytnef/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3
pkgdesc="Yerase's TNEF Stream Reader library (decode winmail.dat)"
url="http://freshmeat.net/projects/ytnef/"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!libtool')
depends=('glibc')
source=("http://downloads.sourceforge.net/ytnef/${pkgname}-${pkgver}.tar.gz")
@@ -16,7 +16,7 @@ md5sums=('6c44b955f33cf714c75a7bbe895cc352')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --disable-static
+ ./configure --prefix=/usr --disable-static --build=$CHOST --host=$CHOST
make
}
diff --git a/extra/libzapojit/PKGBUILD b/extra/libzapojit/PKGBUILD
index 05f5aadff..2846994c5 100644
--- a/extra/libzapojit/PKGBUILD
+++ b/extra/libzapojit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=libzapojit
pkgver=0.0.2
pkgrel=1
pkgdesc="GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libsoup' 'gnome-online-accounts')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/libzeitgeist/PKGBUILD b/extra/libzeitgeist/PKGBUILD
index 65137cd82..46ce01264 100644
--- a/extra/libzeitgeist/PKGBUILD
+++ b/extra/libzeitgeist/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.3.18
_pkgmainver=0.3
pkgrel=3
pkgdesc="Zeitgeist client library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://launchpad.net/libzeitgeist"
license=('LGPL2.1')
depends=('glib2')
diff --git a/extra/libzip/PKGBUILD b/extra/libzip/PKGBUILD
index b95a3a411..c970e31d4 100644
--- a/extra/libzip/PKGBUILD
+++ b/extra/libzip/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="A C library for reading, creating, and modifying zip archives"
url="http://www.nih.at/libzip/index.html"
license=('BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('zlib')
options=('!libtool')
source=("http://www.nih.at/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
diff --git a/extra/libzrtpcpp/PKGBUILD b/extra/libzrtpcpp/PKGBUILD
index e004e6e6f..1a5aacc34 100644
--- a/extra/libzrtpcpp/PKGBUILD
+++ b/extra/libzrtpcpp/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=libzrtpcpp
pkgver=2.1.2
pkgrel=1
pkgdesc="A C++ implementation of Phil Zimmermann's ZRTP specification"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.gnutelephony.org/index.php/GNU_ZRTP'
license=('GPL3')
depends=('ccrtp')
diff --git a/extra/libzvt/PKGBUILD b/extra/libzvt/PKGBUILD
index befd04741..157164ec6 100644
--- a/extra/libzvt/PKGBUILD
+++ b/extra/libzvt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=libzvt
pkgver=2.0.1
pkgrel=7
pkgdesc="Zed's virtual terminal library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL' 'LGPL')
url="http://ftp.gnome.org/pub/GNOME/sources/libzvt"
depends=('gtk2' 'libart-lgpl')
diff --git a/extra/licq/PKGBUILD b/extra/licq/PKGBUILD
index 7975502c3..3fe8e6854 100644
--- a/extra/licq/PKGBUILD
+++ b/extra/licq/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=licq
pkgver=1.6.1
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=('boost-libs' 'gpgme' 'libxss' 'qt')
diff --git a/extra/lighttpd/PKGBUILD b/extra/lighttpd/PKGBUILD
index 8e3616b81..580e9ba9c 100644
--- a/extra/lighttpd/PKGBUILD
+++ b/extra/lighttpd/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.4.31
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' 'sqlite' 'gdbm' 'pkgconfig')
diff --git a/extra/lilv/PKGBUILD b/extra/lilv/PKGBUILD
index bcc97d988..6036ddd5a 100644
--- a/extra/lilv/PKGBUILD
+++ b/extra/lilv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lilv
pkgver=0.14.4
pkgrel=1
pkgdesc="A library to make the use of LV2 plugins as simple as possible for applications."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('python2' 'sratom' 'jack')
diff --git a/extra/link-grammar/PKGBUILD b/extra/link-grammar/PKGBUILD
index de4fc64e2..f349b5b02 100644
--- a/extra/link-grammar/PKGBUILD
+++ b/extra/link-grammar/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=link-grammar
pkgver=4.7.9
pkgrel=1
pkgdesc="A Grammar Checking library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.abisource.com/downloads/link-grammar/"
license=('BSD')
depends=('aspell')
diff --git a/extra/liquidwar/PKGBUILD b/extra/liquidwar/PKGBUILD
index e25f0ea94..1b7022396 100644
--- a/extra/liquidwar/PKGBUILD
+++ b/extra/liquidwar/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=liquidwar
pkgver=5.6.4
pkgrel=6
pkgdesc="A unique multiplayer wargame"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ufoot.org/liquidwar/"
license=('GPL')
depends=('allegro4')
diff --git a/extra/lirc/PKGBUILD b/extra/lirc/PKGBUILD
deleted file mode 100644
index d27cd5ed8..000000000
--- a/extra/lirc/PKGBUILD
+++ /dev/null
@@ -1,105 +0,0 @@
-# $Id: PKGBUILD 161828 2012-06-15 08:18:10Z tpowa $
-# Maintainer: Paul Mattal <paul@archlinux.org>
-
-pkgbase=lirc
-pkgname=('lirc' 'lirc-utils')
-pkgver=0.9.0
-pkgrel=18
-epoch=1
-_extramodules=extramodules-3.4-ARCH
-arch=('i686' 'x86_64')
-url="http://www.lirc.org/"
-license=('GPL')
-### NOTICE don't forget to bump version in depends in package_lirc
-makedepends=('help2man' 'linux-headers>=3.4' 'linux-headers<3.5' 'alsa-lib' 'libx11' 'libftdi' 'libirman' 'python2')
-options=('!makeflags' '!strip')
-source=(http://prdownloads.sourceforge.net/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2
- lirc_wpc8769l.patch
- lircd-handle-large-config.patch
- lirc_atiusb-kfifo.patch
- kernel-2.6.39.patch
- lircd lircmd lirc.logrotate lircd.conf irexec.conf irexecd)
-md5sums=('b232aef26f23fe33ea8305d276637086'
- '1cce37e18e3f6f46044abab29016d18f'
- 'b70cc9640505205446ec47b7d4779f38'
- '1f8b104a2365d9f93404b143f499059b'
- '087a7d102e1c96bf1179f38db2b0b237'
- '8d0e238dc0eda95e340fe570605da492'
- '85f7fdac55e5256967241864049bf5e9'
- '3deb02604b37811d41816e9b4385fcc3'
- '5b1f8c9cd788a39a6283f93302ce5c6e'
- 'f0c0ac930326168035f0c8e24357ae55'
- '69d099e6deedfa3c1ee2b6e82d9b8bfb')
-
-build() {
- _kernver="$(cat /lib/modules/${_extramodules}/version)"
- cd "${srcdir}/lirc-${pkgver}"
- patch -Np1 -i "${srcdir}/lirc_wpc8769l.patch"
- patch -Np1 -i "${srcdir}/lircd-handle-large-config.patch"
- patch -Np1 -i "${srcdir}/lirc_atiusb-kfifo.patch"
- patch -Np1 -i "${srcdir}/kernel-2.6.39.patch"
-
- sed -i '/AC_PATH_XTRA/d' configure.ac
- sed -e 's/@X_CFLAGS@//g' \
- -e 's/@X_LIBS@//g' \
- -e 's/@X_PRE_LIBS@//g' \
- -e 's/@X_EXTRA_LIBS@//g' -i Makefile.am tools/Makefile.am
- libtoolize
- autoreconf
-
- PYTHON=python2 ./configure --enable-sandboxed --prefix=/usr \
- --with-driver=all --with-kerneldir=/usr/src/linux-${_kernver}/ \
- --with-moduledir=/lib/modules/${_kernver}/kernel/drivers/misc \
- --with-transmitter
-
- # Remove drivers already in kernel
- sed -e "s:lirc_dev::" -e "s:lirc_bt829::" -e "s:lirc_igorplugusb::" \
- -e "s:lirc_imon::" -e "s:lirc_parallel::" -e "s:lirc_sasem::" \
- -e "s:lirc_serial::" -e "s:lirc_sir::" -e "s:lirc_ttusbir::" \
- -i Makefile drivers/Makefile drivers/*/Makefile tools/Makefile
- make
-}
-
-package_lirc() {
- pkgdesc="Linux Infrared Remote Control kernel modules for stock arch kernel"
- depends=('lirc-utils' 'linux>=3.4' 'linux<3.5')
- replaces=('lirc+pctv')
- install=lirc.install
-
- cd "${srcdir}/lirc-${pkgver}/drivers"
- make DESTDIR="${pkgdir}" moduledir="/lib/modules/${_extramodules}" install
-
- # set the kernel we've built for inside the install script
- sed -i -e "s/EXTRAMODULES=.*/EXTRAMODULES=${_extramodules}/g" "${startdir}/lirc.install"
- # gzip -9 modules
- find "${pkgdir}" -name '*.ko' -exec gzip -9 {} \;
-}
-
-package_lirc-utils() {
- pkgdesc="Linux Infrared Remote Control utils"
- depends=('alsa-lib' 'libx11' 'libftdi' 'libirman')
- optdepends=('python2: pronto2lirc utility')
- options=('strip' '!libtool')
- backup=('etc/conf.d/lircd.conf' 'etc/conf.d/irexec.conf')
-
- cd "${srcdir}/lirc-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -d "${pkgdir}/usr/share/lirc" "${pkgdir}/etc/rc.d"
- cp "${srcdir}"/{lircd,lircmd,irexecd} "${pkgdir}/etc/rc.d"
- cp -rp remotes "${pkgdir}/usr/share/lirc"
- chmod -R go-w "${pkgdir}/usr/share/lirc/"
-
- # install the logrotate config
- install -Dm644 "${srcdir}/lirc.logrotate" "${pkgdir}/etc/logrotate.d/lirc"
-
- # install conf.d file
- install -Dm644 "${srcdir}/lircd.conf" "${pkgdir}/etc/conf.d/lircd.conf"
-
- # install conf.d file
- install -Dm644 "${srcdir}/irexec.conf" "${pkgdir}/etc/conf.d/irexec.conf"
-
- install -d "${pkgdir}/etc/lirc"
-
- # remove built modules
- rm -r "${pkgdir}/lib/"
-}
diff --git a/extra/lirc/irexec.conf b/extra/lirc/irexec.conf
deleted file mode 100644
index f911c7515..000000000
--- a/extra/lirc/irexec.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# Parameters for irexec daemon (path to lircrc)
-#
-
-IREXEC_OPTS="" \ No newline at end of file
diff --git a/extra/lirc/irexecd b/extra/lirc/irexecd
deleted file mode 100755
index a64b033a5..000000000
--- a/extra/lirc/irexecd
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/irexec.conf
-
-PID=`pidof -o %PPID /usr/bin/irexec`
-case "$1" in
- start)
- stat_busy "Starting IREXEC Daemon"
- [ -z "$PID" ] && /usr/bin/irexec --daemon $IREXEC_OPTS
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon irexecd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping IREXEC Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon irexecd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
-
diff --git a/extra/lirc/kernel-2.6.39.patch b/extra/lirc/kernel-2.6.39.patch
deleted file mode 100644
index 7353d61ca..000000000
--- a/extra/lirc/kernel-2.6.39.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -ru lirc-0.9.0/drivers//lirc_atiusb/lirc_atiusb.c lirc-0.9.0.new/drivers//lirc_atiusb/lirc_atiusb.c
---- lirc-0.9.0/drivers//lirc_atiusb/lirc_atiusb.c 2011-03-25 23:28:18.000000000 +0100
-+++ lirc-0.9.0.new/drivers//lirc_atiusb/lirc_atiusb.c 2011-06-07 17:02:20.356580306 +0200
-@@ -48,7 +48,6 @@
- #include <linux/slab.h>
- #include <linux/module.h>
- #include <linux/kmod.h>
--#include <linux/smp_lock.h>
- #include <linux/completion.h>
- #include <linux/uaccess.h>
- #include <linux/usb.h>
-diff -ru lirc-0.9.0/drivers//lirc_i2c/lirc_i2c.c lirc-0.9.0.new/drivers//lirc_i2c/lirc_i2c.c
---- lirc-0.9.0/drivers//lirc_i2c/lirc_i2c.c 2011-03-25 23:28:18.000000000 +0100
-+++ lirc-0.9.0.new/drivers//lirc_i2c/lirc_i2c.c 2011-06-07 17:04:19.725933627 +0200
-@@ -555,8 +555,8 @@
- kfree(ir);
- return -EINVAL;
- }
-- printk(KERN_INFO "lirc_i2c: chip 0x%x found @ 0x%02x (%s)\n",
-- adap->id, addr, ir->c.name);
-+ printk(KERN_INFO "lirc_i2c: chip found @ 0x%02x (%s)\n",
-+ addr, ir->c.name);
-
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31)
- /* register device */
-diff -ru lirc-0.9.0/drivers//lirc_wpc8769l/lirc_wpc8769l.c lirc-0.9.0.new/drivers//lirc_wpc8769l/lirc_wpc8769l.c
---- lirc-0.9.0/drivers//lirc_wpc8769l/lirc_wpc8769l.c 2011-03-25 23:28:18.000000000 +0100
-+++ lirc-0.9.0.new/drivers//lirc_wpc8769l/lirc_wpc8769l.c 2011-06-07 17:07:23.984935411 +0200
-@@ -361,14 +361,14 @@
- size = count << 3;
-
- ldata = (unsigned long *) data_buf;
-- next_one = generic_find_next_le_bit(ldata, size, 0);
-+ next_one = find_next_zero_bit_le(ldata, size, 0);
-
- if (next_one > 0)
- put_pulse_bit(next_one
- * WPC8769L_USECS_PER_BIT);
-
- while (next_one < size) {
-- next_zero = generic_find_next_zero_le_bit(ldata,
-+ next_zero = find_next_zero_bit_le(ldata,
- size, next_one + 1);
-
- put_space_bit(
-@@ -376,7 +376,7 @@
- * WPC8769L_USECS_PER_BIT);
-
- if (next_zero < size) {
-- next_one = generic_find_next_le_bit(ldata,
-+ next_one = find_next_bit_le(ldata,
- size, next_zero + 1);
-
- put_pulse_bit(
diff --git a/extra/lirc/lirc.install b/extra/lirc/lirc.install
deleted file mode 100644
index 4551e88dc..000000000
--- a/extra/lirc/lirc.install
+++ /dev/null
@@ -1,16 +0,0 @@
-EXTRAMODULES=extramodules-3.4-ARCH
-
-post_install() {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- depmod $(cat /lib/modules/$EXTRAMODULES/version) > /dev/null 2>&1
-}
-
-post_upgrade() {
- post_install
-}
-
-# arg 1: the old package version
-post_remove() {
- post_install
-}
diff --git a/extra/lirc/lirc.logrotate b/extra/lirc/lirc.logrotate
deleted file mode 100644
index 623c4f328..000000000
--- a/extra/lirc/lirc.logrotate
+++ /dev/null
@@ -1,5 +0,0 @@
-/var/log/lircd {
- missingok
- notifempty
- delaycompress
-}
diff --git a/extra/lirc/lirc_atiusb-kfifo.patch b/extra/lirc/lirc_atiusb-kfifo.patch
deleted file mode 100644
index a64984dce..000000000
--- a/extra/lirc/lirc_atiusb-kfifo.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From ec3c5660e67c122e2d5eb9cfa838c9709fccf8e0 Mon Sep 17 00:00:00 2001
-From: Jason Martin <publicmsu@gmail.com>
-Date: Fri, 3 Jun 2011 00:12:51 -0400
-Subject: [PATCH] lirc_atiusb: fix buffer alloc to work with new kfifo
-
-I came across posts with regards to lirc_atiusb and its compatibility
-with newer kernels, and their use of kfifo.I spent a little bit of time
-this evening, and was able to correct the issues with the driver, and
-now have a functioning lirc_atiusb device under the 2.6.38 kernel.
-
-Signed-off-by: Jarod Wilson <jarod@redhat.com>
----
- drivers/lirc_atiusb/lirc_atiusb.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/drivers/lirc_atiusb/lirc_atiusb.c b/drivers/lirc_atiusb/lirc_atiusb.c
-index 52080de..bf2b631 100644
---- a/drivers/lirc_atiusb/lirc_atiusb.c
-+++ b/drivers/lirc_atiusb/lirc_atiusb.c
-@@ -1048,7 +1048,7 @@ static struct atirf_dev *new_irctl(struct usb_interface *intf)
- goto new_irctl_failure_check;
- }
-
-- if (lirc_buffer_init(driver->rbuf, dclen, 1)) {
-+ if (lirc_buffer_init(driver->rbuf, dclen, 2)) {
- mem_failure = 4;
- goto new_irctl_failure_check;
- }
---
-1.7.0.1
-
diff --git a/extra/lirc/lirc_wpc8769l.patch b/extra/lirc/lirc_wpc8769l.patch
deleted file mode 100644
index e4e2a049b..000000000
--- a/extra/lirc/lirc_wpc8769l.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-From 413e83bf504fe9a9a177f27742220cfcb184b034 Mon Sep 17 00:00:00 2001
-From: =?utf8?q?Juan=20Jes=C3=BAs=20Garc=C3=ADa=20de=20Soria=20Lucena?= <skandalfo@gmail.com>
-Date: Wed, 30 Mar 2011 16:46:35 -0400
-Subject: [PATCH] Make lirc_wpc8769l functional again
-
-Signed-off-by: Jarod Wilson <jarod@redhat.com>
----
- drivers/lirc_wpc8769l/lirc_wpc8769l.c | 28 +++++++++++++++++-----------
- 1 files changed, 17 insertions(+), 11 deletions(-)
-
-diff --git a/drivers/lirc_wpc8769l/lirc_wpc8769l.c b/drivers/lirc_wpc8769l/lirc_wpc8769l.c
-index f820d11..4d04063 100644
---- a/drivers/lirc_wpc8769l/lirc_wpc8769l.c
-+++ b/drivers/lirc_wpc8769l/lirc_wpc8769l.c
-@@ -816,10 +816,6 @@ static int set_use_inc(void *data)
- /* Reset last timeout value. */
- lastus = 0;
-
-- /* Init the read buffer. */
-- if (lirc_buffer_init(&rbuf, sizeof(lirc_t), RBUF_LEN) < 0)
-- return -ENOMEM;
--
- /* Acquire the IRQ. */
- result = request_irq(irq, irq_handler,
- IRQF_DISABLED | IRQF_SHARED,
-@@ -863,9 +859,6 @@ static void set_use_dec(void *data)
- /* Free the IRQ. */
- free_irq(irq, THIS_MODULE);
- dprintk("Freed IRQ %d\n", irq);
--
-- /* Free the RX buffer. */
-- lirc_buffer_free(&rbuf);
- }
-
- static struct lirc_driver driver = {
-@@ -1065,19 +1058,29 @@ static int __init lirc_wpc8769l_module_init(void)
- /* Do load-time checks. */
- wpc8769l_power_up_and_check_if_we_woke_us_up();
-
-+ /* Init the read buffer. */
-+ if (lirc_buffer_init(&rbuf, sizeof(lirc_t), RBUF_LEN) < 0) {
-+ rc = -ENOMEM;
-+ goto exit_platform_exit;
-+ }
-+
- /* Configure the driver hooks. */
- driver.features = LIRC_CAN_REC_MODE2;
-+ driver.dev = &lirc_wpc8769l_platform_dev->dev;
- driver.minor = lirc_register_driver(&driver);
- if (driver.minor < 0) {
- eprintk("lirc_register_driver failed!\n");
- rc = -EIO;
-- goto exit_platform_exit;
-+ goto exit_release_buffer;
- }
-
- iprintk("Driver loaded.\n");
-
- return 0; /* Everything OK. */
-
-+exit_release_buffer:
-+ lirc_buffer_free(&rbuf);
-+
- exit_platform_exit:
- lirc_wpc8769l_platform_exit();
-
-@@ -1095,12 +1098,15 @@ module_init(lirc_wpc8769l_module_init);
-
- static void __exit lirc_wpc8769l_module_exit(void)
- {
-- /* Unregister the platform driver and device. */
-- lirc_wpc8769l_platform_exit();
--
- /* Unregister the LIRC driver. */
- lirc_unregister_driver(driver.minor);
-
-+ /* Free the buffer. */
-+ lirc_buffer_free(&rbuf);
-+
-+ /* Unregister the platform driver and device. */
-+ lirc_wpc8769l_platform_exit();
-+
- /* Release the second range. */
- if (baseport2)
- release_region(baseport2, WPC8769L_IO_REGION_2_SIZE);
---
-1.7.0.1
-
diff --git a/extra/lirc/lircd b/extra/lirc/lircd
deleted file mode 100755
index e9739b36e..000000000
--- a/extra/lirc/lircd
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/lircd.conf
-
-PID=$(pidof -o %PPID /usr/sbin/lircd)
-LIRCD_SYMLINKFILE=/dev/lircd
-LIRCD_SOCKET=/var/run/lirc/lircd
-case "$1" in
- start)
- stat_busy "Starting LIRC Daemon"
- [ ! -d /var/run/lirc ] && install -d /var/run/lirc &>/dev/null
- rm -f $LIRCD_SOCKET && ln -s $LIRCD_SOCKET $LIRCD_SYMLINKFILE
- if [ $? -ne 0 ]; then
- stat_fail
- exit 0
- fi
- [ -n "$LIRC_DRIVER" ] && LIRC_EXTRAOPTS="-H $LIRC_DRIVER $LIRC_EXTRAOPTS"
- [ -z "$PID" ] &&
- if [ -n "$LIRC_DEVICE" ] ; then
- eval /usr/sbin/lircd -d "$LIRC_DEVICE" $LIRC_EXTRAOPTS $LIRC_CONFIGFILE
- else
- /usr/sbin/lircd $LIRC_EXTRAOPTS $LIRC_CONFIGFILE
- fi
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon lircd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping LIRC Daemon"
- rm -f $LIRCD_SYMLINKFILE
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon lircd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 start|stop|restart"
-esac
-exit 0
diff --git a/extra/lirc/lircd-handle-large-config.patch b/extra/lirc/lircd-handle-large-config.patch
deleted file mode 100644
index 85bc20518..000000000
--- a/extra/lirc/lircd-handle-large-config.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 5efb56bf22a5077db564c766ba7cc37bc269231d Mon Sep 17 00:00:00 2001
-From: Jarod Wilson <jarod@redhat.com>
-Date: Wed, 6 Apr 2011 11:04:12 -0400
-Subject: [PATCH] lircd: handle larger config files in write_socket better
-
-Pointed out by Michael Zanetti on list, irsend LIST has issues with long
-config files, which didn't exist in maintainer mode, as we were using a
-do while loop to make sure we spit out everything. Just use that loop
-all the time.
-
-Signed-off-by: Jarod Wilson <jarod@redhat.com>
----
- daemons/lircd.c | 8 ++------
- 1 files changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/daemons/lircd.c b/daemons/lircd.c
-index 6c21a3a..ddcca05 100644
---- a/daemons/lircd.c
-+++ b/daemons/lircd.c
-@@ -231,14 +231,10 @@ inline int write_socket(int fd, const char *buf, int len)
- int done, todo = len;
-
- while (todo) {
--#ifdef SIM_REC
- do {
- done = write(fd, buf, todo);
-- }
-- while (done < 0 && errno == EAGAIN);
--#else
-- done = write(fd, buf, todo);
--#endif
-+ } while (done < 0 && errno == EAGAIN);
-+
- if (done <= 0)
- return (done);
- buf += done;
---
-1.7.0.1
-
diff --git a/extra/lirc/lircd.conf b/extra/lirc/lircd.conf
deleted file mode 100644
index 760dab065..000000000
--- a/extra/lirc/lircd.conf
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# Parameters for lirc daemon
-#
-
-LIRC_DEVICE="/dev/lirc0"
-LIRC_DRIVER=""
-LIRC_EXTRAOPTS=""
-LIRC_CONFIGFILE=""
diff --git a/extra/lirc/lircmd b/extra/lirc/lircmd
deleted file mode 100755
index 220c47c9c..000000000
--- a/extra/lirc/lircmd
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/lircmd`
-case "$1" in
- start)
- stat_busy "Starting lircmd Daemon"
- [ -z "$PID" ] && /usr/sbin/lircmd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon lircmd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping lircmd Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon lircmd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/live-media/PKGBUILD b/extra/live-media/PKGBUILD
index 577dad68a..e5c6ae1f1 100644
--- a/extra/live-media/PKGBUILD
+++ b/extra/live-media/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=live-media
pkgver=2012.11.08
pkgrel=1
pkgdesc="A set of C++ libraries for multimedia streaming"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://live555.com/liveMedia"
depends=('gcc-libs')
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
index 271602b72..2deb594a2 100644
--- a/extra/llvm/PKGBUILD
+++ b/extra/llvm/PKGBUILD
@@ -12,7 +12,7 @@
pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
pkgver=3.1
pkgrel=6
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
makedepends=('libffi' 'python2' 'ocaml')
diff --git a/extra/lm_sensors/PKGBUILD b/extra/lm_sensors/PKGBUILD
index 9635bb17a..40dd3065d 100644
--- a/extra/lm_sensors/PKGBUILD
+++ b/extra/lm_sensors/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=lm_sensors
pkgver=3.3.3
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 d1686df56..17cbb2b01 100644
--- a/extra/loudmouth/PKGBUILD
+++ b/extra/loudmouth/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=loudmouth
pkgver=1.4.3
pkgrel=3
pkgdesc="A lightweight Jabber client library written in C/Glib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://groups.google.com/group/loudmouth-dev"
depends=('glib2' 'gnutls' 'libidn')
diff --git a/extra/lpsolve/PKGBUILD b/extra/lpsolve/PKGBUILD
index db2c1502f..838cddee1 100644
--- a/extra/lpsolve/PKGBUILD
+++ b/extra/lpsolve/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=5.5.2.0
_mainver=5.5
pkgrel=2
pkgdesc="a Mixed Integer Linear Programming (MILP) solver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://lpsolve.sourceforge.net/"
license=('GPL')
depends=('glibc')
diff --git a/extra/lsdvd/PKGBUILD b/extra/lsdvd/PKGBUILD
deleted file mode 100644
index 0323625d6..000000000
--- a/extra/lsdvd/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 150946 2012-02-24 09:46:48Z pierre $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
-
-pkgname=lsdvd
-pkgver=0.16
-pkgrel=6
-pkgdesc="A C application for reading the contents of a DVD and printing the contents to your terminal"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/lsdvd/"
-depends=('libdvdread')
-license=('GPL2')
-#Special thanks to Mathieu Clabaut <mathieu.clabaut@gmail.com> for patches
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- 'stdint_usage.patch')
-md5sums=('340e1abe5c5e5abf7ff8031e78f49ee7'
- '6cbcbfde873f894bd3c784f65141b2fc')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/stdint_usage.patch"
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/lsdvd/stdint_usage.patch b/extra/lsdvd/stdint_usage.patch
deleted file mode 100644
index 67b9ee82d..000000000
--- a/extra/lsdvd/stdint_usage.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/lsdvd.c 2006-03-02 07:48:11.000000000 -0600
-+++ b/lsdvd.c 2007-09-27 19:15:28.000000000 -0500
-@@ -13,6 +13,7 @@
- * 2003-04-19 Cleanups get_title_name, added dvdtime2msec, added helper macros,
- * output info structures in form of a Perl module, by Henk Vergonet.
- */
-+#include <stdint.h>
- #include <dvdread/ifo_read.h>
- #include <string.h>
- #include <sys/stat.h>
---- a/configure 2005-12-12 14:22:45.000000000 -0600
-+++ b/configure 2007-09-27 19:15:13.000000000 -0500
-@@ -2887,8 +2887,8 @@
- cat confdefs.h >>conftest.$ac_ext
- cat >>conftest.$ac_ext <<_ACEOF
- /* end confdefs.h. */
--#include <dvdread/ifo_read.h>
- #include <stdint.h>
-+#include <dvdread/ifo_read.h>
- int
- main ()
- {
diff --git a/extra/lsof/PKGBUILD b/extra/lsof/PKGBUILD
index 2c7f38411..feb53b9bf 100644
--- a/extra/lsof/PKGBUILD
+++ b/extra/lsof/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=lsof
pkgver=4.86
pkgrel=1
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 d2ceb9a2c..2ef4a55b6 100644
--- a/extra/ltrace/PKGBUILD
+++ b/extra/ltrace/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ltrace
pkgver=0.7.0
pkgrel=1
pkgdesc="Tracks runtime library calls in dynamically linked programs"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ltrace.alioth.debian.org/"
license=('GPL')
depends=('elfutils')
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD
index 9ed38d8a2..1c3d9ee33 100644
--- a/extra/lua/PKGBUILD
+++ b/extra/lua/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lua
pkgver=5.1.5
pkgrel=2
pkgdesc="A powerful light-weight programming language designed for extending applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lua.org/"
depends=('readline')
license=('MIT')
diff --git a/extra/lv2/PKGBUILD b/extra/lv2/PKGBUILD
index a45496af2..7b32d4c3a 100644
--- a/extra/lv2/PKGBUILD
+++ b/extra/lv2/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2
pkgdesc="Successor to the LADSPA audio plug-in standard"
url="http://lv2plug.in/"
license=('LGPL' 'custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('python2' 'libsndfile' 'gtk2')
optdepends=('libsndfile: lv2-eg-sampler'
'gtk2: lv2-eg-sampler')
diff --git a/extra/lxsplit/PKGBUILD b/extra/lxsplit/PKGBUILD
index 86d8a1a11..29b8b0ff2 100644
--- a/extra/lxsplit/PKGBUILD
+++ b/extra/lxsplit/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=lxsplit
pkgver=0.2.4
-pkgrel=2
+pkgrel=2.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 a793fffb7..b342e6b46 100644
--- a/extra/lynx/PKGBUILD
+++ b/extra/lynx/PKGBUILD
@@ -9,7 +9,7 @@ _pkgver=2-8-7
pkgrel=6
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 6cf5a0a14..c8456704c 100644
--- a/extra/lyx/PKGBUILD
+++ b/extra/lyx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lyx
pkgver=2.0.5
pkgrel=1
pkgdesc="An advanced WYSIWYM document processor & LaTeX front-end"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lyx.org"
depends=('qt' 'texlive-core' 'python2' 'imagemagick' 'enchant' 'boost-libs' 'libmythes')
makedepends=('boost')
diff --git a/extra/lzo/PKGBUILD b/extra/lzo/PKGBUILD
index ba60530e4..db181a0e0 100644
--- a/extra/lzo/PKGBUILD
+++ b/extra/lzo/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=lzo
pkgver=1.08
pkgrel=7
pkgdesc='A portable lossless data compression library written in ANSI C'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url='http://www.oberhumer.com/opensource/lzo'
depends=('glibc')
@@ -24,7 +24,7 @@ build() {
patch -p0 -i "${srcdir}"/nasm-gcc3.patch
autoconf
- ./configure --prefix=/usr --enable-shared
+ ./configure --prefix=/usr --enable-shared --build=$CHOST
make
}
diff --git a/extra/lzop/PKGBUILD b/extra/lzop/PKGBUILD
index b507594a4..2a12dff60 100644
--- a/extra/lzop/PKGBUILD
+++ b/extra/lzop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=lzop
pkgver=1.03
pkgrel=2
pkgdesc="File compressor using lzo lib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.lzop.org/"
depends=('lzo2')
diff --git a/extra/m17n-lib/PKGBUILD b/extra/m17n-lib/PKGBUILD
index 79f265f48..a50806ff2 100644
--- a/extra/m17n-lib/PKGBUILD
+++ b/extra/m17n-lib/PKGBUILD
@@ -4,14 +4,14 @@
pkgname=m17n-lib
pkgver=1.6.3
-pkgrel=1
+pkgrel=1.2
pkgdesc='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')
optdepends=('anthy: to use the anthy input method')
-options=('!libtool' '!emptydirs')
+options=('!libtool' '!emptydirs' '!distcc' '!makeflags')
source=("http://www.m17n.org/m17n-lib-download/${pkgname}-${pkgver}.tar.gz")
sha1sums=('b3a725b1c417f167f6b2c6b7889b7d728a1e6b8f')
diff --git a/extra/mahjong/PKGBUILD b/extra/mahjong/PKGBUILD
index 8727e3a12..1e87da8b1 100644
--- a/extra/mahjong/PKGBUILD
+++ b/extra/mahjong/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mahjong
pkgver=1.12.1
pkgrel=1
pkgdesc="The classical game of Mah Jong (not the solitare version) with network support"
-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/manedit/PKGBUILD b/extra/manedit/PKGBUILD
index 684357eea..519e8e402 100644
--- a/extra/manedit/PKGBUILD
+++ b/extra/manedit/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=manedit
pkgver=1.2.1
-pkgrel=4
+pkgrel=4.1
pkgdesc="An editor specifically tailored for UNIX manual pages"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://freecode.com/projects/manedit"
depends=('gcc-libs' 'bzip2' 'zlib' 'gtk')
diff --git a/extra/mash/PKGBUILD b/extra/mash/PKGBUILD
index f6fbc9e9b..496e7250e 100644
--- a/extra/mash/PKGBUILD
+++ b/extra/mash/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mash
pkgver=0.2.0
pkgrel=1
pkgdesc="A small library for using 3D models within a Clutter scene"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://clutter-project.org/"
options=('!libtool')
license=('LGPL')
diff --git a/extra/maxima/PKGBUILD b/extra/maxima/PKGBUILD
index 5b65b9ead..7699ac4b9 100644
--- a/extra/maxima/PKGBUILD
+++ b/extra/maxima/PKGBUILD
@@ -6,10 +6,14 @@ pkgname=maxima
pkgver=5.28.0
pkgrel=4
pkgdesc="Maxima - a sophisticated computer algebra system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://maxima.sourceforge.net"
-depends=('sbcl=1.1.1-2' 'texinfo' 'sh')
+if [ "${CARCH}" == "mips64el" ] ; then
+ depends=('clisp' 'texinfo' 'sh')
+else
+ depends=('sbcl=1.1.1-2' 'texinfo' 'sh')
+fi
makedepends=('python2')
optdepends=('gnuplot: plotting capabilities' 'rlwrap: readline support via /usr/bin/rmaxima' 'tk: graphical xmaxima interface')
# needs rebuild when bash changes version
@@ -26,8 +30,13 @@ build() {
# set correct python executable to create docs
sed -i "s|${PYTHONBIN:-python}|python2|" doc/info/extract_categories.sh
+ if [ "${CARCH}" == "mips64el" ] ; then
+ lisp="--enable-clisp --with-default-lisp=clisp"
+ else
+ lisp="--enable-sbcl --with-default-lisp=sbcl"
+ fi
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
- --libexecdir=/usr/lib --enable-sbcl --with-default-lisp=sbcl
+ --libexecdir=/usr/lib $lisp
make
}
diff --git a/extra/mcpp/PKGBUILD b/extra/mcpp/PKGBUILD
index 6ed62f1f8..5a0aa05f5 100644
--- a/extra/mcpp/PKGBUILD
+++ b/extra/mcpp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mcpp
pkgver=2.7.2
pkgrel=4
pkgdesc="Matsui's CPP implementation precisely conformed to standards"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://mcpp.sourceforge.net"
depends=('glibc')
diff --git a/extra/mcrypt/PKGBUILD b/extra/mcrypt/PKGBUILD
index a3040ad3a..bcbc3a275 100644
--- a/extra/mcrypt/PKGBUILD
+++ b/extra/mcrypt/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=mcrypt
pkgver=2.6.8
-pkgrel=2
+pkgrel=2.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' 'zlib')
source=("http://downloads.sourceforge.net/$pkgname/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/mediastreamer/PKGBUILD b/extra/mediastreamer/PKGBUILD
index fa379bd2e..6c27b82c7 100644
--- a/extra/mediastreamer/PKGBUILD
+++ b/extra/mediastreamer/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=mediastreamer
pkgver=2.8.2
pkgrel=2
pkgdesc="A library written in C that allows you to create and run audio and video streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.linphone.org/"
license=('GPL')
depends=('ortp' 'speex' 'ffmpeg' 'v4l-utils' 'libxv' 'libpulse')
diff --git a/extra/memcached/PKGBUILD b/extra/memcached/PKGBUILD
index ddd34a2c9..d929a0d5c 100644
--- a/extra/memcached/PKGBUILD
+++ b/extra/memcached/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=memcached
pkgver=1.4.15
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 7d5e3f18c..a9940fb9c 100644
--- a/extra/mercurial/PKGBUILD
+++ b/extra/mercurial/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mercurial
pkgver=2.4
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 1be812e93..b03c551e7 100644
--- a/extra/mesa/PKGBUILD
+++ b/extra/mesa/PKGBUILD
@@ -3,7 +3,8 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgbase=mesa
-pkgname=('libglapi' 'libgl' 'mesa' 'osmesa' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel' 'ati-dri' 'intel-dri' 'svga-dri' 'nouveau-dri')
+pkgname=('libglapi' 'libgl' 'mesa' 'osmesa' 'libgbm' 'libgles' 'libegl' 'khrplatform-devel')
+[[ "$CARCH" != "mips64el" ]] && pkgname+=('ati-dri' 'intel-dri' 'svga-dri' 'nouveau-dri')
#_git=true
#_gitdate=20121006
@@ -15,9 +16,10 @@ if [ "${_git}" = "true" ]; then
pkgver=9.0.1
fi
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('glproto>=1.4.16' 'libdrm>=2.4.39' 'libxxf86vm>=1.1.2' 'libxdamage>=1.1.3' 'expat>=2.1.0' 'libx11>=1.5.0' 'libxt>=1.1.3'
- 'gcc-libs>=4.7.1-6' 'dri2proto>=2.8' 'python2' 'libxml2' 'imake' 'llvm' 'systemd' 'libvdpau>=0.5')
+ 'gcc-libs>=4.7.1-6' 'dri2proto>=2.8' 'python2' 'libxml2' 'imake' 'systemd')
+[[ "$CARCH" != "mips64el" ]] && makedepends+=('llvm' 'libvdpau>=0.5')
url="http://mesa3d.sourceforge.net"
license=('custom')
options=('!libtool')
@@ -31,12 +33,23 @@ if [ "${_git}" = "true" ]; then
#source=(${source[@]} "ftp://ftp.freedesktop.org/pub/mesa/8.0/MesaLib-8.0-rc2.tar.bz2"
)
fi
+source+=(mesa-loongson.patch)
md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
- '97d6554c05ea7449398afe3a0ede7018')
+ '97d6554c05ea7449398afe3a0ede7018'
+ '598c24dccfcdcc99c07d883f7c09f36a')
build() {
cd ${srcdir}/?esa-*
+ if [ "$CARCH" = "mips64el" ]; then
+ extraconf="--with-gallium-drivers=swrast --with-dri-drivers=swrast --disable-gallium-llvm --disable-vdpau"
+ else
+ extraconf=""
+ fi
+
+ patch -Np1 -i $srcdir/mesa-loongson.patch
+ patch -Np1 -i ${srcdir}/git_fixes.diff
+
COMMONOPTS="--prefix=/usr \
--sysconfdir=/etc \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
@@ -56,7 +69,8 @@ build() {
--enable-gles2 \
--enable-texture-float \
--enable-xa \
- --enable-vdpau "
+ --enable-vdpau \
+ $extraconf "
# not default:
# --enable-gallium-egl enable optional EGL state tracker (not required for
@@ -124,7 +138,7 @@ package_mesa() {
make -C ${srcdir}/?esa-*/src/mesa/drivers/dri DESTDIR="${pkgdir}" install-pkgconfigDATA
make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/common DESTDIR="${pkgdir}" install-sysconfDATA
- make -C ${srcdir}/?esa-*/src/gallium/targets/xa-vmwgfx DESTDIR="${pkgdir}" install
+ [ "$CARCH" != "mips64el" ] && make -C ${srcdir}/?esa-*/src/gallium/targets/xa-vmwgfx DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/mesa"
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa/"
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 ecde6eebf..0e96942c6 100644
--- a/extra/metacity/PKGBUILD
+++ b/extra/metacity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=metacity
pkgver=2.34.13
pkgrel=1
pkgdesc="A window manager for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('dconf' 'gtk2' 'gsettings-desktop-schemas' 'libcanberra' 'libgtop' 'libsm' 'startup-notification' 'zenity')
makedepends=('intltool' 'yelp-tools')
diff --git a/extra/metalog/PKGBUILD b/extra/metalog/PKGBUILD
index a513b3c66..fd87ef8c8 100644
--- a/extra/metalog/PKGBUILD
+++ b/extra/metalog/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=0
pkgdesc="Metalog is a modern replacement for syslogd and klogd"
url="http://metalog.sourceforge.net"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('pcre')
provides=('logger')
backup=('etc/metalog.conf' 'etc/conf.d/metalog')
diff --git a/extra/mhash/PKGBUILD b/extra/mhash/PKGBUILD
index 3c2f7b732..7e035e605 100644
--- a/extra/mhash/PKGBUILD
+++ b/extra/mhash/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=mhash
pkgver=0.9.9.9
-pkgrel=2
+pkgrel=2.1
pkgdesc="A thread-safe hash library which provides a uniform interface to hash algorithms (MD5, SHA1, HAVAL, etc)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mhash.sourceforge.net/"
license=('LGPL')
depends=('glibc')
diff --git a/extra/minicom/PKGBUILD b/extra/minicom/PKGBUILD
index 37fce6967..fc069045a 100644
--- a/extra/minicom/PKGBUILD
+++ b/extra/minicom/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=minicom
pkgver=2.6.1
pkgrel=1
pkgdesc="A serial communication program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://alioth.debian.org/projects/minicom/"
license=('GPL')
depends=('bash')
diff --git a/extra/mirage/PKGBUILD b/extra/mirage/PKGBUILD
index c63d6eddc..8051f73a2 100644
--- a/extra/mirage/PKGBUILD
+++ b/extra/mirage/PKGBUILD
@@ -4,12 +4,12 @@
# Contributor: Scott Horowitz <stonecrest@gmail.com>
pkgname=mirage
pkgver=0.9.5.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="A simple GTK+ Image Viewer"
url="http://mirageiv.berlios.de"
license=("GPL")
depends=('pygtk' 'desktop-file-utils')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=(http://download.berlios.de/mirageiv/${pkgname}-${pkgver}.tar.gz)
install=$pkgname.install
md5sums=('dace5cf01e5e53317ba8be0f8a74f4bf')
diff --git a/extra/miro/PKGBUILD b/extra/miro/PKGBUILD
index 755896cde..94defebce 100644
--- a/extra/miro/PKGBUILD
+++ b/extra/miro/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=miro
pkgver=5.0.4
pkgrel=2
pkgdesc="The free and open source internet TV platform"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.getmiro.com"
license=('GPL2')
depends=('python2-dbus' 'pyrex' 'pygtk' 'gstreamer0.10' 'python2-gconf'
diff --git a/extra/mjpegtools/PKGBUILD b/extra/mjpegtools/PKGBUILD
index e12fecfbd..ef16d63ac 100644
--- a/extra/mjpegtools/PKGBUILD
+++ b/extra/mjpegtools/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=mjpegtools
pkgver=2.0.0
-pkgrel=2
+pkgrel=2.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' 'libpng' 'sdl' 'gcc-libs' 'libdv')
@@ -23,7 +23,7 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np0 -i "${srcdir}/mjpegtools-v4l-2.6.38.patch"
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
- ./configure --prefix=/usr --enable-largefile
+ ./configure --prefix=/usr --enable-largefile CXXFLAGS="$CXXFLAGS -fpermissive"
make
}
diff --git a/extra/mkvtoolnix/PKGBUILD b/extra/mkvtoolnix/PKGBUILD
index 00ed440db..db0f32b1d 100644
--- a/extra/mkvtoolnix/PKGBUILD
+++ b/extra/mkvtoolnix/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=mkvtoolnix
pkgname=('mkvtoolnix-cli' 'mkvtoolnix-gtk')
pkgver=5.8.0
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
makedepends=('libmatroska' 'flac' 'libvorbis' 'file' 'wxgtk'
diff --git a/extra/moc/PKGBUILD b/extra/moc/PKGBUILD
index 76f224d5e..5f61522e8 100644
--- a/extra/moc/PKGBUILD
+++ b/extra/moc/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.5beta1
pkgrel=1
epoch=1
pkgdesc="An ncurses console audio player designed to be powerful and easy to use"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://moc.daper.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file' 'popt')
diff --git a/extra/mod_dnssd/PKGBUILD b/extra/mod_dnssd/PKGBUILD
index 52a6e65e5..ecb9d3b28 100644
--- a/extra/mod_dnssd/PKGBUILD
+++ b/extra/mod_dnssd/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=mod_dnssd
pkgver=0.6
-pkgrel=4
+pkgrel=4.1
pkgdesc="Zeroconf module for Apache2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/mod_dnssd"
license=('APACHE')
depends=('avahi' 'apache')
diff --git a/extra/mod_fcgid/PKGBUILD b/extra/mod_fcgid/PKGBUILD
index 813f69ac5..919122a44 100644
--- a/extra/mod_fcgid/PKGBUILD
+++ b/extra/mod_fcgid/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=2.3.6
pkgrel=2
pkgdesc="A FastCGI module for Apache HTTP Server."
license=('APACHE')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://httpd.apache.org/mod_fcgid/"
depends=('apache')
source=("http://apache.cs.utah.edu/httpd/mod_fcgid/mod_fcgid-$pkgver.tar.gz")
diff --git a/extra/mod_perl/PKGBUILD b/extra/mod_perl/PKGBUILD
index dd9d26bc2..d35ca0723 100644
--- a/extra/mod_perl/PKGBUILD
+++ b/extra/mod_perl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=mod_perl
pkgver=2.0.7
pkgrel=1
pkgdesc="Apache module that embeds the Perl interpreter within the server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://perl.apache.org/"
license=('APACHE')
depends=('perl' 'apache' 'db' 'apr-util' 'perl-linux-pid')
diff --git a/extra/mod_wsgi/PKGBUILD b/extra/mod_wsgi/PKGBUILD
index b4ea8fc7d..43e6fa266 100644
--- a/extra/mod_wsgi/PKGBUILD
+++ b/extra/mod_wsgi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mod_wsgi
pkgver=3.4
pkgrel=1
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 72c2608b0..b1246319f 100644
--- a/extra/modemmanager/PKGBUILD
+++ b/extra/modemmanager/PKGBUILD
@@ -5,7 +5,7 @@ _realname=ModemManager
pkgver=0.6.0.0
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/most/PKGBUILD b/extra/most/PKGBUILD
index 6d91e7d02..5eeb3031d 100644
--- a/extra/most/PKGBUILD
+++ b/extra/most/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=most
pkgver=5.0.0a
pkgrel=4
pkgdesc="A terminal pager similar to 'more' and 'less'"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('slang')
license=('GPL')
url="http://www.jedsoft.org/most/index.html"
diff --git a/extra/mousetweaks/PKGBUILD b/extra/mousetweaks/PKGBUILD
index 4dddd4cb5..9907fead6 100644
--- a/extra/mousetweaks/PKGBUILD
+++ b/extra/mousetweaks/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mousetweaks
pkgver=3.6.0
pkgrel=1
pkgdesc="Mouse accessibility enhancements for the GNOME desktop"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL3' 'FDL')
depends=('libxtst' 'gtk3' 'gsettings-desktop-schemas')
makedepends=('gnome-doc-utils' 'intltool')
diff --git a/extra/mp3splt/PKGBUILD b/extra/mp3splt/PKGBUILD
index 6419c587d..96cf2f48f 100644
--- a/extra/mp3splt/PKGBUILD
+++ b/extra/mp3splt/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=mp3splt
pkgver=2.4.3
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc="Commandline tool for splitting mp3 and ogg files without decoding"
license=('GPL')
url="http://mp3splt.sourceforge.net"
diff --git a/extra/mp3wrap/PKGBUILD b/extra/mp3wrap/PKGBUILD
index bb42cbb1c..124868004 100644
--- a/extra/mp3wrap/PKGBUILD
+++ b/extra/mp3wrap/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=mp3wrap
pkgver=0.5
-pkgrel=3
+pkgrel=3.1
pkgdesc="Tool for wrapping mp3 files. A free independent alternative to AlbumWrap"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mp3wrap.sourceforge.net"
license=('LGPL')
depends=('glibc')
diff --git a/extra/mpc/PKGBUILD b/extra/mpc/PKGBUILD
index cb4eeae22..0344dec07 100644
--- a/extra/mpc/PKGBUILD
+++ b/extra/mpc/PKGBUILD
@@ -7,11 +7,11 @@
pkgname=mpc
pkgver=0.22
-pkgrel=2
+pkgrel=2.1
pkgdesc='Minimalist command line interface to MPD'
url='http://mpd.wikia.com/wiki/Client:Mpc'
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!emptydirs')
depends=('libmpdclient')
source=("http://downloads.sourceforge.net/musicpd/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/mpck/PKGBUILD b/extra/mpck/PKGBUILD
index 6d65bb0e2..aa701f30c 100644
--- a/extra/mpck/PKGBUILD
+++ b/extra/mpck/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.19
pkgrel=2
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 1ec0f7a33..f20b689ac 100644
--- a/extra/mpd/PKGBUILD
+++ b/extra/mpd/PKGBUILD
@@ -11,7 +11,7 @@ pkgrel=1
pkgdesc='Flexible, powerful, server-side application for playing music'
url='http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl')
makedepends=('doxygen')
diff --git a/extra/mpg123/PKGBUILD b/extra/mpg123/PKGBUILD
index 6cdba928d..9b914ab5d 100644
--- a/extra/mpg123/PKGBUILD
+++ b/extra/mpg123/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=mpg123
pkgver=1.14.4
pkgrel=1
pkgdesc="A console based real time MPEG Audio Player for Layer 1, 2 and 3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/mpg123"
license=('GPL2' 'LGPL2.1')
depends=('libltdl' 'alsa-lib')
diff --git a/extra/mrtg/PKGBUILD b/extra/mrtg/PKGBUILD
index 50899f59b..b60143b19 100644
--- a/extra/mrtg/PKGBUILD
+++ b/extra/mrtg/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mrtg
pkgver=2.17.4
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 83e5fa89a..9a9245a8c 100644
--- a/extra/msmtp/PKGBUILD
+++ b/extra/msmtp/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=msmtp
pkgname=('msmtp' 'msmtp-mta')
pkgver=1.4.30
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://msmtp.sourceforge.net"
makedepends=('texlive-core' 'gsasl' 'libgnome-keyring')
diff --git a/extra/mt-st/PKGBUILD b/extra/mt-st/PKGBUILD
deleted file mode 100644
index a0963606f..000000000
--- a/extra/mt-st/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# $Id: PKGBUILD 137900 2011-09-12 10:12:39Z allan $
-# Maintainer:
-# Contributer: dorphell <dorphell@archlinux.org>
-
-pkgname=mt-st
-pkgver=1.1
-pkgrel=3
-pkgdesc="Linux SCSI tape driver aware magnetic tape control"
-arch=('i686' 'x86_64')
-url="ftp://ftp.ibiblio.org/pub/linux/system/backup/"
-license=('GPL2')
-depends=('glibc')
-source=(ftp://ftp.ibiblio.org/pub/linux/system/backup/$pkgname-$pkgver.tar.gz)
-md5sums=('fdd5f5ec673c9f630a102ceff7612774')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- install -dm755 $pkgdir/{sbin,bin,usr/share/man/man1,usr/share/man/man8}
- make SBINDIR=$pkgdir/sbin BINDIR=$pkgdir/bin \
- MANDIR=$pkgdir/usr/share/man install
-}
diff --git a/extra/mtdev/PKGBUILD b/extra/mtdev/PKGBUILD
index 50bf1642f..0ade75444 100644
--- a/extra/mtdev/PKGBUILD
+++ b/extra/mtdev/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mtdev
pkgver=1.1.3
pkgrel=1
pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://bitmath.org/code/mtdev/"
license=('custom:MIT')
depends=('glibc')
diff --git a/extra/mtools/PKGBUILD b/extra/mtools/PKGBUILD
index ade751f74..1276e8fa8 100644
--- a/extra/mtools/PKGBUILD
+++ b/extra/mtools/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mtools
pkgver=4.0.17
pkgrel=2
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 e07e9a946..8d546d7a1 100644
--- a/extra/mtr/PKGBUILD
+++ b/extra/mtr/PKGBUILD
@@ -5,8 +5,8 @@
pkgbase=mtr
pkgname=(mtr mtr-gtk)
pkgver=0.82
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+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
deleted file mode 100644
index 4b014ac72..000000000
--- a/extra/mtx/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 137902 2011-09-12 10:18:06Z allan $
-# Maintainer:
-# Contributer: Judd Vinet <jvinet@zeroflux.org>
-
-pkgname=mtx
-pkgver=1.3.12
-pkgrel=2
-pkgdesc="Send robot commands to tape changer"
-arch=('i686' 'x86_64')
-url="http://mtx.opensource-sw.net/"
-license=('GPL2')
-depends=('glibc')
-source=(http://downloads.sourceforge.net/mtx/${pkgname}-${pkgver}.tar.gz)
-md5sums=('ce8f0e44671fb0c7d9ec30bb0bfa8b5c')
-
-build() {
- cd $srcdir/${pkgname}-${pkgver}
- sed -i 's/static const unsigned char scsi_command_size/const unsigned char scsi_command_size/' \
- sg_err.c
- ./configure --prefix='/usr' --datadir='/usr/share'
- make
-}
-
-package() {
- cd $srcdir/${pkgname}-${pkgver}
- make prefix=$pkgdir/usr install
-}
diff --git a/extra/multitail/PKGBUILD b/extra/multitail/PKGBUILD
deleted file mode 100644
index 665644161..000000000
--- a/extra/multitail/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 151290 2012-02-25 13:01:05Z pierre $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Roberto Carvajal <roberto@archlinux.org>
-
-pkgname=multitail
-pkgver=5.2.9
-pkgrel=1
-pkgdesc="Lets you view one or multiple files like the original tail program"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.vanheusden.com/multitail"
-depends=('ncurses')
-backup=('etc/multitail.conf')
-source=("${url}/${pkgname}-${pkgver}.tgz")
-md5sums=('871cb6a9a0d4f599b9cbd9f603da4c51')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- install -D -m 755 multitail ${pkgdir}/usr/bin/multitail
- install -D -m 644 multitail.1 ${pkgdir}/usr/share/man/man1/multitail.1
- install -D -m 644 multitail.conf ${pkgdir}/etc/multitail.conf
-}
-# vim: ts=2 sw=2 et ft=sh
diff --git a/extra/muparser/PKGBUILD b/extra/muparser/PKGBUILD
index 0ee617c87..8f80cc463 100644
--- a/extra/muparser/PKGBUILD
+++ b/extra/muparser/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=muparser
pkgver=1.34
pkgrel=2
pkgdesc="A fast math parser library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://muparser.sourceforge.net/"
depends=('gcc-libs')
license=('custom')
diff --git a/extra/musicbrainz/PKGBUILD b/extra/musicbrainz/PKGBUILD
index 2cccee247..6894b5498 100644
--- a/extra/musicbrainz/PKGBUILD
+++ b/extra/musicbrainz/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=musicbrainz
pkgver=2.1.5
pkgrel=5
pkgdesc="The second generation incarnation of the CD Index"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.musicbrainz.org"
license=('LGPL')
depends=('expat>=2.0' 'gcc-libs')
diff --git a/extra/mutt/PKGBUILD b/extra/mutt/PKGBUILD
index 9650cff99..382fedad4 100644
--- a/extra/mutt/PKGBUILD
+++ b/extra/mutt/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc='Small but very powerful text-based mail client'
url='http://www.mutt.org/'
license=('GPL')
backup=('etc/Muttrc')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
optdepends=('smtp-forwarder: to send mail')
depends=('gpgme' 'ncurses' 'openssl' 'libsasl' 'gdbm' 'libidn' 'mime-types' 'krb5')
source=("ftp://ftp.mutt.org/mutt/devel/${pkgname}-${pkgver}.tar.gz"
diff --git a/extra/mutter/PKGBUILD b/extra/mutter/PKGBUILD
index 9278ba006..651604424 100644
--- a/extra/mutter/PKGBUILD
+++ b/extra/mutter/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=mutter
pkgver=3.6.2
pkgrel=1
pkgdesc="A window manager for GNOME"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
depends=('clutter' 'dconf' 'gobject-introspection' 'gsettings-desktop-schemas' 'libcanberra' 'startup-notification' 'zenity' 'libsm')
makedepends=('intltool' 'gnome-doc-utils')
@@ -23,7 +23,8 @@ build() {
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/mutter \
--localstatedir=/var --disable-static \
- --disable-schemas-compile
+ --disable-schemas-compile \
+ --enable-compile-warnings=no
make
}
diff --git a/extra/mx/PKGBUILD b/extra/mx/PKGBUILD
index 176ca7f69..4dd67c4b0 100644
--- a/extra/mx/PKGBUILD
+++ b/extra/mx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mx
pkgver=1.4.6
pkgrel=1
pkgdesc="A widget toolkit using Clutter"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.clutter-project.org"
license=('LGPL')
depends=('clutter' 'libxrandr' 'dbus-glib' 'gtk2' 'startup-notification')
diff --git a/extra/mysql-python/PKGBUILD b/extra/mysql-python/PKGBUILD
index 4c1b04396..3f5286bea 100644
--- a/extra/mysql-python/PKGBUILD
+++ b/extra/mysql-python/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=mysql-python
pkgver=1.2.3
pkgrel=3
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 3fe970048..a7148b661 100644
--- a/extra/mysql/PKGBUILD
+++ b/extra/mysql/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=mysql
pkgname=('libmysqlclient' 'mysql-clients' 'mysql')
pkgver=5.5.28
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="https://www.mysql.com/products/community/"
makedepends=('cmake' 'openssl' 'zlib')
diff --git a/extra/naim/PKGBUILD b/extra/naim/PKGBUILD
index d09e33ed7..c0ca74303 100644
--- a/extra/naim/PKGBUILD
+++ b/extra/naim/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=naim
pkgver=0.11.8.3.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="An ncurses AOL Instant Messenger and IRC client."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://naim.n.ml.org"
depends=('ncurses')
diff --git a/extra/nasm/PKGBUILD b/extra/nasm/PKGBUILD
index 2e08ce716..58e266a47 100644
--- a/extra/nasm/PKGBUILD
+++ b/extra/nasm/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc="An 80x86 assembler designed for portability and modularity"
url="http://www.nasm.us"
license=('BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('glibc')
source=(http://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('fb9cd57680ed8026c9b612f0db8ecf8df05a1e3c')
diff --git a/extra/nautilus-open-terminal/PKGBUILD b/extra/nautilus-open-terminal/PKGBUILD
index f99837098..f596fdfc8 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=3
pkgdesc="A nautilus plugin for opening terminals in arbitrary local paths"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ftp.gnome.org/pub/GNOME/sources/nautilus-open-terminal"
license=('GPL')
depends=('nautilus' 'gconf')
diff --git a/extra/nautilus-sendto/PKGBUILD b/extra/nautilus-sendto/PKGBUILD
index a50ccb01f..9d3e586e5 100644
--- a/extra/nautilus-sendto/PKGBUILD
+++ b/extra/nautilus-sendto/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=nautilus-sendto
pkgver=3.6.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 af0b33585..77b88ec12 100644
--- a/extra/nautilus/PKGBUILD
+++ b/extra/nautilus/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=nautilus
pkgver=3.6.3
pkgrel=1
pkgdesc="GNOME file manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libexif' 'gnome-desktop' 'exempi' 'gvfs' 'desktop-file-utils' 'gnome-icon-theme' 'dconf' 'libtracker-sparql' 'libnotify')
makedepends=('intltool' 'gobject-introspection')
diff --git a/extra/nawk/PKGBUILD b/extra/nawk/PKGBUILD
index d2c2125af..bdb78754e 100644
--- a/extra/nawk/PKGBUILD
+++ b/extra/nawk/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=3
pkgdesc="The one, true implementation of AWK"
url="http://cm.bell-labs.com/who/bwk/"
license=('MIT')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!makeflags')
depends=('glibc')
source=("http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz"
diff --git a/extra/ncftp/PKGBUILD b/extra/ncftp/PKGBUILD
index 2dd02c5f2..2ce0eddcb 100644
--- a/extra/ncftp/PKGBUILD
+++ b/extra/ncftp/PKGBUILD
@@ -6,10 +6,10 @@
pkgname=ncftp
pkgver=3.2.5
-pkgrel=2
+pkgrel=2.1
pkgdesc="A set of free application programs implementing FTP"
url="http://www.ncftp.com/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('ncurses')
source=("ftp://ftp.ncftp.com/ncftp/$pkgname-$pkgver-src.tar.bz2")
@@ -32,3 +32,4 @@ package() {
install -Dm644 doc/LICENSE.txt \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
+md5sums=('b05c7a6d5269c04891f02f43d4312b30')
diff --git a/extra/ncmpc/PKGBUILD b/extra/ncmpc/PKGBUILD
index 63fdf1565..1db460479 100644
--- a/extra/ncmpc/PKGBUILD
+++ b/extra/ncmpc/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=ncmpc
pkgver=0.20
-pkgrel=1
+pkgrel=1.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/nedit/PKGBUILD b/extra/nedit/PKGBUILD
index 250d5e2bd..f8fcd5a39 100644
--- a/extra/nedit/PKGBUILD
+++ b/extra/nedit/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=nedit
pkgver=5.5
-pkgrel=6
+pkgrel=6.1
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 9ab0fd8b2..c2a1fe5bf 100644
--- a/extra/neon/PKGBUILD
+++ b/extra/neon/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=neon
pkgver=0.29.6
pkgrel=4
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/nepomuk-core/PKGBUILD b/extra/nepomuk-core/PKGBUILD
index dc824adc8..5ccc17fb1 100644
--- a/extra/nepomuk-core/PKGBUILD
+++ b/extra/nepomuk-core/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.9.3
pkgrel=1
pkgdesc="Contains the central Nepomuk services like file indexing, file system monitoring, query, storage, client libraries"
url="https://projects.kde.org/projects/kde/kdelibs/nepomuk-core"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'LGPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4' 'doxygen')
diff --git a/extra/net-snmp/PKGBUILD b/extra/net-snmp/PKGBUILD
index 09af24cb2..54bc7cada 100644
--- a/extra/net-snmp/PKGBUILD
+++ b/extra/net-snmp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=net-snmp
pkgver=5.7.2
pkgrel=1
pkgdesc="A suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.net-snmp.org/"
license=('BSD')
depends=('openssl' 'libnl' 'pciutils')
diff --git a/extra/netcdf-cxx/PKGBUILD b/extra/netcdf-cxx/PKGBUILD
index 600e095a3..c6b1c090e 100644
--- a/extra/netcdf-cxx/PKGBUILD
+++ b/extra/netcdf-cxx/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=netcdf-cxx
pkgver=4.2
pkgrel=1
pkgdesc="NetCDF c++ bindings"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" "mips64el")
url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-cxx/index.jsp"
depends=('gcc-libs' 'netcdf' 'curl')
options=('!libtool' '!makeflags')
diff --git a/extra/netcdf-fortran/PKGBUILD b/extra/netcdf-fortran/PKGBUILD
index 415844e0a..c0a437a73 100644
--- a/extra/netcdf-fortran/PKGBUILD
+++ b/extra/netcdf-fortran/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=netcdf-fortran
pkgver=4.2
pkgrel=1
pkgdesc="NetCDF fortran bindings"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" "mips64el")
url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-fortran/index.jsp"
depends=('gcc-libs' 'netcdf' 'curl' 'gcc-fortran')
options=('!libtool' '!makeflags')
diff --git a/extra/netcdf/PKGBUILD b/extra/netcdf/PKGBUILD
index 6d3bc8231..27af416b2 100644
--- a/extra/netcdf/PKGBUILD
+++ b/extra/netcdf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=netcdf
pkgver=4.2.1
pkgrel=1
pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://www.unidata.ucar.edu/downloads/netcdf/index.jsp"
depends=('gcc-libs' 'hdf5' 'curl')
optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings')
diff --git a/extra/netkit-bsd-finger/PKGBUILD b/extra/netkit-bsd-finger/PKGBUILD
index 286a6f82a..8b42c46c5 100644
--- a/extra/netkit-bsd-finger/PKGBUILD
+++ b/extra/netkit-bsd-finger/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=netkit-bsd-finger
pkgver=0.17
-pkgrel=7
+pkgrel=7.1
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 b447bee50..2bb647009 100644
--- a/extra/netpbm/PKGBUILD
+++ b/extra/netpbm/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=netpbm
pkgver=10.57.1
-pkgrel=1
+pkgrel=1.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' 'libpng' 'libtiff' 'libxml2')
@@ -33,7 +33,7 @@ build() {
sed -i 's|@python|@python2|' buildtools/manpage.mk
cp config.mk.in config.mk
- [ "${CARCH}" = 'x86_64' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
+ [ "${CARCH}" != 'i686' ] && echo 'CFLAGS_SHLIB = -fPIC' >> config.mk
echo "NETPBM_DOCURL = file://${srcdir}/doc" >> config.mk
echo 'TIFFLIB = libtiff.so' >> config.mk
echo 'JPEGLIB = libjpeg.so' >> config.mk
diff --git a/extra/nettle/PKGBUILD b/extra/nettle/PKGBUILD
index 2e9f8c08e..b7b774084 100644
--- a/extra/nettle/PKGBUILD
+++ b/extra/nettle/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nettle
pkgver=2.5
pkgrel=1
pkgdesc="A low-level cryptographic library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lysator.liu.se/~nisse/nettle/"
license=('GPL2')
install=$pkgname.install
diff --git a/extra/network-manager-applet/PKGBUILD b/extra/network-manager-applet/PKGBUILD
index d3b8558cf..f9560b02c 100644
--- a/extra/network-manager-applet/PKGBUILD
+++ b/extra/network-manager-applet/PKGBUILD
@@ -9,7 +9,7 @@ pkgname=network-manager-applet
pkgver=0.9.6.4
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>=${pkgver::5}" 'libgnome-keyring' 'polkit-gnome' 'gtk3' 'libnotify'
diff --git a/extra/networkmanager-openconnect/PKGBUILD b/extra/networkmanager-openconnect/PKGBUILD
index 735ca955e..3ecac5e28 100644
--- a/extra/networkmanager-openconnect/PKGBUILD
+++ b/extra/networkmanager-openconnect/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-openconnect
pkgver=0.9.6.2
pkgrel=1
pkgdesc="NetworkManager VPN integration for openconnect"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
depends=("networkmanager>=${pkgver::5}" 'openconnect' 'gconf' 'libgnome-keyring')
diff --git a/extra/networkmanager-openvpn/PKGBUILD b/extra/networkmanager-openvpn/PKGBUILD
index 13953643a..99e3eb775 100644
--- a/extra/networkmanager-openvpn/PKGBUILD
+++ b/extra/networkmanager-openvpn/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-openvpn
pkgver=0.9.6.0
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 4b756c939..475d9920a 100644
--- a/extra/networkmanager-pptp/PKGBUILD
+++ b/extra/networkmanager-pptp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-pptp
pkgver=0.9.6.0
pkgrel=2
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 be0161572..6158b31f9 100644
--- a/extra/networkmanager-vpnc/PKGBUILD
+++ b/extra/networkmanager-vpnc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=networkmanager-vpnc
pkgver=0.9.6.0
pkgrel=1
pkgdesc="NetworkManager VPN plugin for vpnc"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/NetworkManager/"
depends=("networkmanager>=${pkgver}" 'vpnc' 'hicolor-icon-theme' 'gtk3' 'libgnome-keyring')
diff --git a/extra/networkmanager/PKGBUILD b/extra/networkmanager/PKGBUILD
index 0c93887a4..570f544c0 100644
--- a/extra/networkmanager/PKGBUILD
+++ b/extra/networkmanager/PKGBUILD
@@ -11,7 +11,7 @@ _pkgname=NetworkManager
pkgver=0.9.6.4
pkgrel=1
pkgdesc="Network Management daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.gnome.org/projects/$_pkgname/"
depends=(dbus-glib iproute2 libnl nss polkit udev wpa_supplicant ppp dhclient
diff --git a/extra/neverball/PKGBUILD b/extra/neverball/PKGBUILD
index 1b6dd8a5f..1c3adfd90 100644
--- a/extra/neverball/PKGBUILD
+++ b/extra/neverball/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=neverball
pkgver=1.5.4
pkgrel=4
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 08610c142..eafd29181 100644
--- a/extra/nicotine/PKGBUILD
+++ b/extra/nicotine/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=nicotine
pkgver=1.2.16
pkgrel=4
pkgdesc="Soulseek music-sharing client, written in python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/nicotine-plus/"
license=('GPL')
depends=('pygtk' 'mutagen')
diff --git a/extra/nitrogen/PKGBUILD b/extra/nitrogen/PKGBUILD
index 3a3ddac95..2da8a15e7 100644
--- a/extra/nitrogen/PKGBUILD
+++ b/extra/nitrogen/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=nitrogen
pkgver=1.5.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Background browser and setter for X windows"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.l3ib.org/nitrogen/"
license=('GPL')
depends=('gtkmm' 'hicolor-icon-theme' 'librsvg')
diff --git a/extra/nmap/PKGBUILD b/extra/nmap/PKGBUILD
index 1609326b3..24f0a2900 100644
--- a/extra/nmap/PKGBUILD
+++ b/extra/nmap/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=6.01
pkgrel=2
pkgdesc='Utility for network discovery and security auditing'
url='http://nmap.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
makedepends=('pygtk')
optdepends=('pygtk: zenmap')
diff --git a/extra/normalize/PKGBUILD b/extra/normalize/PKGBUILD
index 0d3ce5867..9733d387a 100644
--- a/extra/normalize/PKGBUILD
+++ b/extra/normalize/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=normalize
pkgver=0.7.7
pkgrel=6
pkgdesc="A tool for adjusting the volume of WAV files to a standard level"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://normalize.nongnu.org"
license=('GPL')
depends=('audiofile' 'libmad' 'vorbis-tools' 'lame' 'flac' 'mpg123')
diff --git a/extra/notification-daemon/PKGBUILD b/extra/notification-daemon/PKGBUILD
index 99b091e37..f71a73e7d 100644
--- a/extra/notification-daemon/PKGBUILD
+++ b/extra/notification-daemon/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=notification-daemon
pkgver=0.7.6
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-dri/LICENSE b/extra/nouveau-dri/LICENSE
deleted file mode 100644
index ae33d2709..000000000
--- a/extra/nouveau-dri/LICENSE
+++ /dev/null
@@ -1,82 +0,0 @@
-Disclaimer
-
-Mesa is a 3-D graphics library with an API which is very similar to
-that of OpenGL*
-To the extent that Mesa utilizes the OpenGL command syntax or state
-machine, it is being used with authorization from Silicon Graphics,
-Inc.(SGI). However, the author does not possess an OpenGL license
-from SGI, and makes no claim that Mesa is in any way a compatible
-replacement for OpenGL or associated with SGI. Those who want a
-licensed implementation of OpenGL should contact a licensed
-vendor.
-
-Please do not refer to the library as MesaGL (for legal
-reasons). It's just Mesa or The Mesa 3-D graphics
-library
-
-* OpenGL is a trademark of Silicon Graphics Incorporated.
-
-License / Copyright Information
-
-The Mesa distribution consists of several components. Different copyrights
-and licenses apply to different components. For example, GLUT is copyrighted
-by Mark Kilgard, some demo programs are copyrighted by SGI, some of the Mesa
-device drivers are copyrighted by their authors. See below for a list of
-Mesa's main components and the license for each.
-
-The core Mesa library is licensed according to the terms of the MIT license.
-This allows integration with the XFree86, Xorg and DRI projects.
-
-The default Mesa license is as follows:
-
-Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the "Software"),
-to deal in the Software without restriction, including without limitation
-the rights to use, copy, modify, merge, publish, distribute, sublicense,
-and/or sell copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Attention, Contributors
-
-When contributing to the Mesa project you must agree to the licensing terms
-of the component to which you're contributing.
-The following section lists the primary components of the Mesa distribution
-and their respective licenses.
-
-
-Mesa Component Licenses
-
-Component Location Primary Author License
-----------------------------------------------------------------------------
-Main Mesa code src/mesa/ Brian Paul Mesa (MIT)
-
-Device drivers src/mesa/drivers/* See drivers See drivers
-
-Ext headers include/GL/glext.h SGI SGI Free B
- include/GL/glxext.h
-
-GLUT src/glut/ Mark Kilgard Mark's copyright
-
-Mesa GLU library src/glu/mesa/ Brian Paul GNU-LGPL
-
-SGI GLU library src/glu/sgi/ SGI SGI Free B
-
-demo programs progs/demos/ various see source files
-
-X demos progs/xdemos/ Brian Paul see source files
-
-SGI demos progs/samples/ SGI SGI copyright
-
-RedBook demos progs/redbook/ SGI SGI copyright
diff --git a/extra/nouveau-dri/PKGBUILD b/extra/nouveau-dri/PKGBUILD
deleted file mode 100644
index 2848f0bff..000000000
--- a/extra/nouveau-dri/PKGBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# $Id: PKGBUILD 163980 2012-07-23 08:35:29Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-
-pkgname=nouveau-dri
-pkgver=8.0.4
-pkgrel=2
-arch=('i686' 'x86_64')
-makedepends=('glproto>=1.4.15' 'libdrm-old' 'libdrm-nouveau1' 'libxxf86vm>=1.1.1' 'libxdamage>=1.1.3' 'expat>=2.0.1' 'libx11>=1.4.99.1' 'libxt>=1.1.1'
- 'gcc-libs>=4.6.1' 'dri2proto>=2.6' 'python2' 'libxml2' 'imake' 'llvm' 'udev>=183')
-url="http://mesa3d.sourceforge.net"
-license=('custom')
-source=(LICENSE
- mesa-8.0.3-llvm-3.1-fixes.patch
- ftp://ftp.freedesktop.org/pub/mesa/${pkgver}/MesaLib-${pkgver}.tar.bz2
-)
-md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
- 'c452ed3392468170726c004c2f4e02ca'
- 'd546f988adfdf986cff45b1efa2d8a46')
-
-build() {
- cd ${srcdir}/?esa-*
-
- patch -Np1 -i "${srcdir}/mesa-8.0.3-llvm-3.1-fixes.patch"
-
- autoreconf -vfi
- ./configure --prefix=/usr \
- --with-dri-driverdir=/usr/lib/xorg/modules/dri \
- --with-gallium-drivers=nouveau \
- --with-dri-drivers=nouveau \
- --enable-gallium-llvm \
- --enable-gallium-egl \
- --enable-shared-glapi \
- --enable-gbm \
- --enable-glx-tls \
- --enable-dri \
- --enable-glx \
- --enable-osmesa \
- --enable-gles1 \
- --enable-gles2 \
- --enable-egl \
- --enable-texture-float \
- --enable-xa \
- --enable-shared-dricore
- make
-}
-
-package() {
- depends=("libgl=${pkgver}" 'libdrm-nouveau1')
- pkgdesc="Mesa classic DRI + Gallium3D drivers for Nouveau"
-
- # classic mesa driver for nv10 , nv20 nouveau_vieux_dri.so
- make -C ${srcdir}/?esa-*/src/mesa/drivers/dri/nouveau DESTDIR="${pkgdir}" install
- # gallium3D driver for nv30 - nv40 - nv50 nouveau_dri.so
- make -C ${srcdir}/?esa-*/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install
-}
diff --git a/extra/nouveau-dri/mesa-8.0.3-llvm-3.1-fixes.patch b/extra/nouveau-dri/mesa-8.0.3-llvm-3.1-fixes.patch
deleted file mode 100644
index a567b5926..000000000
--- a/extra/nouveau-dri/mesa-8.0.3-llvm-3.1-fixes.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
-index a50a51d..f1bb4d9 100644
---- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
-+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
-@@ -235,7 +235,24 @@ lp_disassemble(const void* func)
- int AsmPrinterVariant = AsmInfo->getAssemblerDialect();
- #endif
-
--#if HAVE_LLVM >= 0x0300
-+#if HAVE_LLVM >= 0x0301
-+ OwningPtr<const MCRegisterInfo> MRI(T->createMCRegInfo(Triple));
-+ if (!MRI) {
-+ debug_printf("error: no register info for target %s\n", Triple.c_str());
-+ return;
-+ }
-+
-+ OwningPtr<const MCInstrInfo> MII(T->createMCInstrInfo());
-+ if (!MII) {
-+ debug_printf("error: no instruction info for target %s\n", Triple.c_str());
-+ return;
-+ }
-+#endif
-+
-+#if HAVE_LLVM >= 0x0301
-+ OwningPtr<MCInstPrinter> Printer(
-+ T->createMCInstPrinter(AsmPrinterVariant, *AsmInfo, *MII, *MRI, *STI));
-+#elif HAVE_LLVM == 0x0300
- OwningPtr<MCInstPrinter> Printer(
- T->createMCInstPrinter(AsmPrinterVariant, *AsmInfo, *STI));
- #elif HAVE_LLVM >= 0x0208
-diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
-index fe7616b..68f8808 100644
---- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
-+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
-@@ -62,7 +62,11 @@
- extern "C" void
- lp_register_oprofile_jit_event_listener(LLVMExecutionEngineRef EE)
- {
-+#if HAVE_LLVM >= 0x0301
-+ llvm::unwrap(EE)->RegisterJITEventListener(llvm::JITEventListener::createOProfileJITEventListener());
-+#else
- llvm::unwrap(EE)->RegisterJITEventListener(llvm::createOProfileJITEventListener());
-+#endif
- }
-
-
diff --git a/extra/nspr/PKGBUILD b/extra/nspr/PKGBUILD
index b5badb6b2..a08886104 100644
--- a/extra/nspr/PKGBUILD
+++ b/extra/nspr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=nspr
pkgver=4.9.3
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 6747d103a..7fd2ed400 100644
--- a/extra/nss-mdns/PKGBUILD
+++ b/extra/nss-mdns/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=nss-mdns
pkgver=0.10
-pkgrel=5
+pkgrel=5.1
pkgdesc="glibc plugin providing host name resolution via mDNS"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://0pointer.de/lennart/projects/nss-mdns/"
license=('LGPL')
depends=('glibc')
diff --git a/extra/nss-myhostname/PKGBUILD b/extra/nss-myhostname/PKGBUILD
deleted file mode 100644
index 35aa0cc37..000000000
--- a/extra/nss-myhostname/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 150778 2012-02-21 23:58:05Z tomegun $
-# Maintainer: Tom Gundersen <teg@jklm.no>
-# Contributor: Mantas M. <grawity@gmail.com>
-pkgname="nss-myhostname"
-pkgver=0.3
-pkgrel=2
-pkgdesc="NSS plugin providing host name resolution for the locally configured system hostname"
-arch=(i686 x86_64)
-url="http://0pointer.de/lennart/projects/nss-myhostname/"
-license=('LGPL2.1')
-depends=('glibc')
-source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-install=nss-myhostname.install
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --disable-lynx
- make
-}
-
-package() {
- cd "$srcdir/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
-
-md5sums=('d4ab9ac36c053ab8fb836db1cbd4a48f')
diff --git a/extra/nss-myhostname/nss-myhostname.install b/extra/nss-myhostname/nss-myhostname.install
deleted file mode 100644
index 30ae6844f..000000000
--- a/extra/nss-myhostname/nss-myhostname.install
+++ /dev/null
@@ -1,6 +0,0 @@
-post_install() {
- cat << 'EOM'
-==> To enable resolution of the local hostname, append 'myhostname' to the hosts
- line in /etc/nsswitch.conf.
-EOM
-}
diff --git a/extra/nss/PKGBUILD b/extra/nss/PKGBUILD
index be08d5221..36e2cd9de 100644
--- a/extra/nss/PKGBUILD
+++ b/extra/nss/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=nss
pkgver=3.14
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.9.3
diff --git a/extra/nss_ldap/PKGBUILD b/extra/nss_ldap/PKGBUILD
index e702b98e8..28ad9366f 100644
--- a/extra/nss_ldap/PKGBUILD
+++ b/extra/nss_ldap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=nss_ldap
pkgver=265
pkgrel=4
pkgdesc="The nss_ldap module provides the means for Linux and Solaris workstations to resolve the entities defined in RFC 2307 from LDAP directories."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.padl.com/OSS/nss_ldap.html"
license=('LGPL')
depends=('libldap' 'krb5')
@@ -17,6 +17,7 @@ md5sums=('c1cb02d1a85538cf16bca6f6a562abe4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure \
+ --build=$CHOST --host=$CHOST \
--prefix=/usr \
--with-ldap-conf-file=/etc/nss_ldap.conf \
--with-ldap=openldap \
diff --git a/extra/ntfs-3g_ntfsprogs/PKGBUILD b/extra/ntfs-3g_ntfsprogs/PKGBUILD
index 18608fb56..bacb9b298 100644
--- a/extra/ntfs-3g_ntfsprogs/PKGBUILD
+++ b/extra/ntfs-3g_ntfsprogs/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('ntfs-3g' 'ntfsprogs')
pkgver=2012.1.15
pkgrel=3
url="http://www.tuxera.com"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc' 'fuse')
makedepends=('pkgconfig')
diff --git a/extra/ntp/PKGBUILD b/extra/ntp/PKGBUILD
index 959a9f7bb..738c1c795 100644
--- a/extra/ntp/PKGBUILD
+++ b/extra/ntp/PKGBUILD
@@ -5,11 +5,11 @@
pkgname=ntp
pkgver=4.2.6.p5
_realver=4.2.6p5
-pkgrel=11
+pkgrel=11.1
pkgdesc='Network Time Protocol reference implementation'
url='http://www.ntp.org/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('perl-html-parser')
depends=('openssl' 'readline' 'libcap')
backup=('etc/ntp.conf' 'etc/conf.d/ntpd.conf')
diff --git a/extra/numactl/PKGBUILD b/extra/numactl/PKGBUILD
index cab5ca58c..62ec53dbe 100644
--- a/extra/numactl/PKGBUILD
+++ b/extra/numactl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=numactl
pkgver=2.0.8
pkgrel=1
pkgdesc="Simple NUMA policy support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://oss.sgi.com/projects/libnuma/"
license=('LGPL2.1' 'GPL2')
depends=('perl')
diff --git a/extra/nx-common/PKGBUILD b/extra/nx-common/PKGBUILD
index f5864f238..ee36eb8f2 100644
--- a/extra/nx-common/PKGBUILD
+++ b/extra/nx-common/PKGBUILD
@@ -6,13 +6,13 @@ pkgname=nx-common
pkgver=3.5.0
pkgrel=5
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' 'libpng' 'openssl' 'gcc-libs' 'libxcomp') # 'bash'
makedepends=('xorg-server-devel' 'nx-headers')
-source=(http://64.34.161.181/download/$pkgver/sources/nxcompsh-$pkgver-1.tar.gz
- http://64.34.161.181/download/$pkgver/sources/nxssh-$pkgver-2.tar.gz
+source=(http://64.34.173.142/download/$pkgver/sources/nxcompsh-$pkgver-1.tar.gz
+ http://64.34.173.142/download/$pkgver/sources/nxssh-$pkgver-2.tar.gz
nxcompsh-gcc43.patch)
options=('!libtool')
md5sums=('84ade443b79ea079380b754aba9d392e'
diff --git a/extra/nx/PKGBUILD b/extra/nx/PKGBUILD
index 804244272..ba0cc4c10 100644
--- a/extra/nx/PKGBUILD
+++ b/extra/nx/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=nx
pkgname=('libxcomp' 'nxproxy' 'nx-x11' 'nx-xcompext' 'nxagent' 'nx-headers')
pkgver=3.5.0.15
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://wiki.x2go.org/"
license=('GPL')
options=('!makeflags') # '!strip')
diff --git a/extra/obex-data-server/PKGBUILD b/extra/obex-data-server/PKGBUILD
index 938cb289d..1d60dca1b 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=3
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 e2505f2f7..2f851ddfb 100644
--- a/extra/obexd/PKGBUILD
+++ b/extra/obexd/PKGBUILD
@@ -8,7 +8,7 @@ epoch=1
pkgver=0.46
pkgrel=1
url="http://www.bluez.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
makedepends=('bluez' 'libical')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgbase}-${pkgver}.tar.bz2")
diff --git a/extra/obexftp/PKGBUILD b/extra/obexftp/PKGBUILD
index 806d1a3f2..3c3426120 100644
--- a/extra/obexftp/PKGBUILD
+++ b/extra/obexftp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=obexftp
pkgver=0.23
pkgrel=5
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 0e8b300c4..19ebef8d8 100644
--- a/extra/ocaml/PKGBUILD
+++ b/extra/ocaml/PKGBUILD
@@ -2,23 +2,31 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgbase='ocaml'
-pkgname=('ocaml' 'ocaml-compiler-libs')
+pkgname=('ocaml')
+# Needs optimized build.
+[ "$CARCH" = "mips64el" ] || pkgname+=('ocaml-compiler-libs')
pkgver=4.00.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-4.00/${pkgname}-${pkgver}.tar.gz)
+source=(http://caml.inria.fr/distrib/ocaml-4.00/${pkgname}-${pkgver}.tar.gz
+ fix-caml_int64_float_of_bits-n32.patch)
options=('!makeflags' '!emptydirs')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ 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
}
package_ocaml() {
@@ -54,4 +62,5 @@ optdepends=()
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}
-md5sums=('91124a8eb12a57f1e56c02fe3db0f9e7')
+md5sums=('91124a8eb12a57f1e56c02fe3db0f9e7'
+ 'e2c8bc316efe40532c5b9d7f9a1d8d62')
diff --git a/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch b/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch
new file mode 100644
index 000000000..98755d30b
--- /dev/null
+++ b/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch
@@ -0,0 +1,12 @@
+--- ocaml-3.12.0.orig/byterun/ints.c 2011-06-25 18:03:21.548733206 +0200
++++ ocaml-3.12.0/byterun/ints.c 2011-06-25 22:34:17.304788306 +0200
+@@ -585,6 +585,9 @@
+ return caml_copy_int64(u.i);
+ }
+
++#ifdef _ABIN32
++__attribute__((optimize(0)))
++#endif
+ CAMLprim value caml_int64_float_of_bits(value vi)
+ {
+ union { double d; int64 i; int32 h[2]; } u;
diff --git a/extra/ocrad/PKGBUILD b/extra/ocrad/PKGBUILD
index 558a54992..cb16b8f40 100644
--- a/extra/ocrad/PKGBUILD
+++ b/extra/ocrad/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=ocrad
pkgver=0.21
-pkgrel=2
+pkgrel=2.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 8aa1bde8a..ebbda8a51 100644
--- a/extra/octave/PKGBUILD
+++ b/extra/octave/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=octave
pkgver=3.6.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' 'fltk' 'suitesparse')
diff --git a/extra/ode/PKGBUILD b/extra/ode/PKGBUILD
index 18f3befa2..a7233d7c2 100644
--- a/extra/ode/PKGBUILD
+++ b/extra/ode/PKGBUILD
@@ -6,13 +6,13 @@ pkgname=ode
pkgver=0.12
pkgrel=3
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')
source=("http://downloads.sourceforge.net/sourceforge/opende/${pkgname}-${pkgver}.tar.bz2")
options=('!libtool')
-md5sums=('48fdd41fae1a7e7831feeded09826599')
+md5sums=('83766cae59692c2843d9afccc1768988')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/extra/ogle/PKGBUILD b/extra/ogle/PKGBUILD
index 240daa30b..fbd7846b5 100644
--- a/extra/ogle/PKGBUILD
+++ b/extra/ogle/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ogle
pkgver=0.9.2
pkgrel=13
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=('sh' 'libxml2' 'libdvdread' 'libjpeg' 'libmad' 'libxinerama' 'libxv'
diff --git a/extra/ogmtools/PKGBUILD b/extra/ogmtools/PKGBUILD
index 680260b06..447447cb8 100644
--- a/extra/ogmtools/PKGBUILD
+++ b/extra/ogmtools/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=ogmtools
pkgver=1.5
-pkgrel=4
+pkgrel=4.1
pkgdesc="Information, extraction or creation for OGG media streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.bunkus.org/videotools/ogmtools"
license=('GPL')
depends=('libvorbis' 'libdvdread' 'gcc-libs')
diff --git a/extra/opal/PKGBUILD b/extra/opal/PKGBUILD
index 10ab9674c..149f22f41 100644
--- a/extra/opal/PKGBUILD
+++ b/extra/opal/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=opal
pkgver=3.10.7
pkgrel=3
pkgdesc="Open Phone Abstraction Library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.opalvoip.org"
license=('GPL')
depends=('ptlib' 'libtheora' 'x264' 'speex' 'gsm')
diff --git a/extra/openal/PKGBUILD b/extra/openal/PKGBUILD
index 157a25d45..8135a00d2 100644
--- a/extra/openal/PKGBUILD
+++ b/extra/openal/PKGBUILD
@@ -7,18 +7,29 @@ pkgname=openal
pkgver=1.14
pkgrel=1
pkgdesc="A cross-platform 3D audio library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.openal.org/"
license=(LGPL)
depends=(glibc)
makedepends=(alsa-lib sdl pkgconfig cmake libpulse)
options=('!libtool')
-source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$pkgver.tar.bz2)
-md5sums=('3d8b86c21a2f87a2a5e60f78f3b3f03d')
+source=(http://kcat.strangesoft.net/openal-releases/openal-soft-$pkgver.tar.bz2
+ fpu.patch)
+
+md5sums=('3d8b86c21a2f87a2a5e60f78f3b3f03d'
+ '902d3f0e6cb16584f2b21d65235c3168')
build() {
- cd $pkgname-soft-$pkgver/build
- cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release ..
+ # patch coming from Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666963
+ cd $srcdir/$pkgname-soft-$pkgver
+ patch -Np1 -i "$srcdir/fpu.patch"
+ cd $srcdir/$pkgname-soft-$pkgver/build
+ cmake -D CMAKE_INSTALL_PREFIX=/usr \
+ -D CMAKE_BUILD_TYPE=Release \
+ # The next option was taken following the suggestions in this tutorial (spanish): http://manualinux.heliohost.org/blender.html
+ # mtjm suggests as an alternative to learn how to use cmake for finding ffmpeg libraries and send it upstream, avoiding then the use of -rpath
+ -D CMAKE_EXE_LINKER_FLAGS:STRING='-Wl,-rpath,/usr/lib -lavutil'\
+ ..
make
}
diff --git a/extra/openal/fpu.patch b/extra/openal/fpu.patch
new file mode 100644
index 000000000..9579e30ab
--- /dev/null
+++ b/extra/openal/fpu.patch
@@ -0,0 +1,57 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ openal-soft (1:1.14-1.1) unstable; urgency=low
+ .
+ * Non-maintainer upload.
+Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- openal-soft-1.14.orig/OpenAL32/Include/alu.h
++++ openal-soft-1.14/OpenAL32/Include/alu.h
+@@ -224,6 +224,29 @@ static __inline ALfloat cubic(ALfloat va
+ return a0*mu*mu2 + a1*mu2 + a2*mu + a3;
+ }
+
++#if defined(_FPU_GETCW) && defined(_FPU_SETCW)
++ #ifndef _FPU_EXTENDED
++ #define _FPU_EXTENDED 0
++ #endif
++ #ifndef _FPU_DOUBLE
++ #define _FPU_DOUBLE 0
++ #endif
++ #ifndef _FPU_SINGLE
++ #define _FPU_SINGLE 0
++ #endif
++ #ifndef _FPU_RC_NEAREST
++ #define _FPU_RC_NEAREST 0
++ #endif
++ #ifndef _FPU_RC_DOWN
++ #define _FPU_RC_DOWN 0
++ #endif
++ #ifndef _FPU_RC_UP
++ #define _FPU_RC_UP 0
++ #endif
++ #ifndef _FPU_RC_ZERO
++ #define _FPU_RC_ZERO 0
++ #endif
++#endif
+
+ static __inline int SetMixerFPUMode(void)
+ {
diff --git a/extra/openbabel/PKGBUILD b/extra/openbabel/PKGBUILD
index 95e04efaa..078e83de1 100644
--- a/extra/openbabel/PKGBUILD
+++ b/extra/openbabel/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=openbabel
pkgver=2.3.1
pkgrel=1
pkgdesc="A library designed to interconvert between many file formats used in molecular modeling and computational chemistry"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://openbabel.org/wiki/Main_Page"
license=('GPL')
depends=('gcc-libs' 'libxml2')
diff --git a/extra/openconnect/PKGBUILD b/extra/openconnect/PKGBUILD
index c30185c39..e80bd360c 100644
--- a/extra/openconnect/PKGBUILD
+++ b/extra/openconnect/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.07
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' 'vpnc')
diff --git a/extra/opencore-amr/PKGBUILD b/extra/opencore-amr/PKGBUILD
index 71d8eb566..b008c89fe 100644
--- a/extra/opencore-amr/PKGBUILD
+++ b/extra/opencore-amr/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=opencore-amr
pkgver=0.1.3
-pkgrel=1
+pkgrel=1.1
pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
url="http://opencore-amr.sourceforge.net/"
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
diff --git a/extra/opencv/PKGBUILD b/extra/opencv/PKGBUILD
index cdeadc91c..cd9b5a620 100644
--- a/extra/opencv/PKGBUILD
+++ b/extra/opencv/PKGBUILD
@@ -8,7 +8,7 @@ _realname=OpenCV
pkgver=2.4.3
pkgrel=2
pkgdesc="Open Source Computer Vision Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
url="http://opencv.org/"
depends=('jasper' 'gstreamer0.10-base' 'intel-tbb'
diff --git a/extra/openexr/PKGBUILD b/extra/openexr/PKGBUILD
index 55a64ac24..6a72be6f9 100644
--- a/extra/openexr/PKGBUILD
+++ b/extra/openexr/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.7.1
pkgrel=2
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 fd46570ce..a9b06c207 100644
--- a/extra/opengtl/PKGBUILD
+++ b/extra/opengtl/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.9.17
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' 'llvm')
makedepends=('cmake' 'libpng')
diff --git a/extra/openjdk6/PKGBUILD b/extra/openjdk6/PKGBUILD
index b15e3cfd7..f2bdc5e04 100644
--- a/extra/openjdk6/PKGBUILD
+++ b/extra/openjdk6/PKGBUILD
@@ -11,7 +11,7 @@ _openjdk_date=14_nov_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' 'libxt' 'nss' 'libxslt' #'xalan-java'
diff --git a/extra/openjpeg/PKGBUILD b/extra/openjpeg/PKGBUILD
index 7055c1972..8e6838aff 100644
--- a/extra/openjpeg/PKGBUILD
+++ b/extra/openjpeg/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=openjpeg
pkgver=1.5.0
pkgrel=1
pkgdesc="An open source JPEG 2000 codec"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('BSD')
url="http://www.openjpeg.org"
depends=('zlib')
diff --git a/extra/openmpi/PKGBUILD b/extra/openmpi/PKGBUILD
index d83b7d34d..2e09ffcde 100644
--- a/extra/openmpi/PKGBUILD
+++ b/extra/openmpi/PKGBUILD
@@ -4,10 +4,11 @@ pkgname=openmpi
pkgver=1.6.3
pkgrel=1
pkgdesc="High performance message passing library (MPI)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.open-mpi.org"
license=('custom')
-depends=('gcc-fortran' 'openssh' 'valgrind' 'libltdl' 'hwloc')
+depends=('gcc-fortran' 'openssh' 'libltdl' 'hwloc')
+[ "$CARCH" = "mips64el" ] || depends+=('valgrind')
makedepends=('inetutils')
options=(!libtool)
source=(http://www.open-mpi.org/software/ompi/v1.6/downloads/${pkgname}-${pkgver}.tar.bz2)
@@ -16,6 +17,11 @@ sha1sums=('a61aa2dee4c47d93d88e49ebed36de25df4f6492')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ if [ "$CARCH" = "mips64el" ]; then
+ valgrind="--without-valgrind"
+ else
+ valgrind="--with-valgrind"
+ fi
# Make sure we use the system ltdl librariry rather than the ones in the tarball
rm -r opal/libltdl
@@ -26,7 +32,7 @@ build() {
--libdir=/usr/lib/${pkgname} \
--with-threads=posix \
--enable-smp-locks \
- --with-valgrind \
+ $valgrind \
--enable-memchecker \
--enable-debug \
--enable-pretty-print-stacktrace \
diff --git a/extra/opennx/PKGBUILD b/extra/opennx/PKGBUILD
index 72da50ca8..ffc945687 100644
--- a/extra/opennx/PKGBUILD
+++ b/extra/opennx/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.16.0.724
pkgrel=2
pkgdesc="A GPL replacement for the NoMachine client, patched to always show the session chooser"
url="http://opennx.sf.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('wxgtk' 'libcups' 'libxext' 'libxft' 'xorg-xauth' 'curl' 'nx-common')
makedepends=('zip' 'opensc' 'libpulse' 'smbclient' 'libusb-compat')
diff --git a/extra/openobex/PKGBUILD b/extra/openobex/PKGBUILD
index e5405c905..79ccb6b62 100644
--- a/extra/openobex/PKGBUILD
+++ b/extra/openobex/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=openobex
pkgver=1.5
-pkgrel=3
+pkgrel=3.1
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 241d2d0bd..9c2b9cd4a 100644
--- a/extra/openslp/PKGBUILD
+++ b/extra/openslp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=openslp
pkgver=1.2.1
pkgrel=5
pkgdesc="Open-source implementation of Service Location Protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.openslp.org"
license=('BSD')
depends=('bash' 'openssl')
diff --git a/extra/opensp/PKGBUILD b/extra/opensp/PKGBUILD
index ff23a6dff..536bd8ae1 100644
--- a/extra/opensp/PKGBUILD
+++ b/extra/opensp/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=opensp
pkgver=1.5.2
pkgrel=3
pkgdesc="A library and a set of tools for validating, parsing and manipulating SGML and XML documents"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://openjade.sourceforge.net/"
license=('BSD')
depends=('gcc-libs')
diff --git a/extra/oprofile/PKGBUILD b/extra/oprofile/PKGBUILD
index 7d11b2ff5..41b02b3be 100644
--- a/extra/oprofile/PKGBUILD
+++ b/extra/oprofile/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=oprofile
pkgver=0.9.8
pkgrel=1
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' 'gcc-libs' 'zlib' 'sh')
diff --git a/extra/opus/PKGBUILD b/extra/opus/PKGBUILD
index c250b548d..b047b7a95 100644
--- a/extra/opus/PKGBUILD
+++ b/extra/opus/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=opus
pkgver=1.0.1
pkgrel=2
pkgdesc="codec designed for interactive speech and audio transmission over the Internet"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.opus-codec.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/orage/PKGBUILD b/extra/orage/PKGBUILD
index e1141092d..98baf99e3 100644
--- a/extra/orage/PKGBUILD
+++ b/extra/orage/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=orage
pkgver=4.8.3
pkgrel=2
pkgdesc="A simple calendar application with reminders for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://www.xfce.org/projects/orage/"
groups=('xfce4-goodies')
diff --git a/extra/orbit2/PKGBUILD b/extra/orbit2/PKGBUILD
index 1e47872f1..671d26a68 100644
--- a/extra/orbit2/PKGBUILD
+++ b/extra/orbit2/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=orbit2
pkgver=2.14.19
-pkgrel=2
+pkgrel=2.1
pkgdesc="Thin/fast CORBA ORB"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'GPL')
depends=('libidl2')
options=('!libtool' '!makeflags')
diff --git a/extra/orc/PKGBUILD b/extra/orc/PKGBUILD
index dcdde8be1..03f9a9eb9 100644
--- a/extra/orc/PKGBUILD
+++ b/extra/orc/PKGBUILD
@@ -2,9 +2,9 @@
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=orc
pkgver=0.4.16
-pkgrel=1
+pkgrel=1.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 3f132b4e9..805501f9b 100644
--- a/extra/ortp/PKGBUILD
+++ b/extra/ortp/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=ortp
pkgver=0.20.0.20120701
pkgrel=1
pkgdesc="A Real-time Transport Protocol (RTP) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.linphone.org/index.php/eng/code_review/ortp"
license=('GPL3')
depends=('libzrtpcpp' 'libsrtp')
diff --git a/extra/ossp/PKGBUILD b/extra/ossp/PKGBUILD
index 5a29e8eb7..28f73b367 100644
--- a/extra/ossp/PKGBUILD
+++ b/extra/ossp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ossp
pkgver=1.3.2
pkgrel=14
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')
@@ -25,6 +25,8 @@ md5sums=('ee2d8c894de2fa4eb3291804fbc7df45'
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # Many implicit libraries.
+ export LDFLAGS="$LDFLAGS -lrt -lpthread"
make
}
diff --git a/extra/oxine/PKGBUILD b/extra/oxine/PKGBUILD
deleted file mode 100644
index 0efebfe8c..000000000
--- a/extra/oxine/PKGBUILD
+++ /dev/null
@@ -1,28 +0,0 @@
-# $Id: PKGBUILD 150882 2012-02-23 13:48:09Z allan $
-# Maintainer:
-# Contributor: Rouslan Solomakhin <rouslan@localnet.com>
-# Contributor: dorphell <dorphell@archlinux.org>
-
-pkgname=oxine
-pkgver=0.7.1
-pkgrel=6
-pkgdesc="A lightweight, purely osd based xine frontend for set-top boxes and home entertainment systems"
-arch=('i686' 'x86_64')
-url="http://oxine.sourceforge.net/"
-license=('GPL')
-depends=('xine-lib' 'libexif' 'eject' 'libcdio' 'curl' 'libxtst')
-source=(http://downloads.sourceforge.net/sourceforge/oxine/${pkgname}-${pkgver}.tar.gz)
-md5sums=('2a2d05ee21892624e35cf539e532c0dd')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|#include <curl/types.h>||' configure src/download.c
- ./configure --prefix=/usr --disable-hal --without-jsw --disable-extractor \
- --without-imagemagick --disable-gdkpixbuf --disable-weather
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/oxygen-gtk2/PKGBUILD b/extra/oxygen-gtk2/PKGBUILD
index ef3734a86..2106afe30 100644
--- a/extra/oxygen-gtk2/PKGBUILD
+++ b/extra/oxygen-gtk2/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=oxygen-gtk2
pkgver=1.3.1
pkgrel=1
pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/playground/artwork/oxygen-gtk/'
license=('LGPL')
depends=('gtk2')
diff --git a/extra/oxygen-gtk3/PKGBUILD b/extra/oxygen-gtk3/PKGBUILD
index e1fe275e3..f38ddf171 100644
--- a/extra/oxygen-gtk3/PKGBUILD
+++ b/extra/oxygen-gtk3/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=oxygen-gtk3
pkgver=1.1.1
pkgrel=1
pkgdesc="Port of the default KDE widget theme (Oxygen) to GTK3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/playground/artwork/oxygen-gtk/'
license=('LGPL')
depends=('gtk3')
diff --git a/extra/p11-kit/PKGBUILD b/extra/p11-kit/PKGBUILD
index b90323aa1..1a4bf6730 100644
--- a/extra/p11-kit/PKGBUILD
+++ b/extra/p11-kit/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=p11-kit
pkgver=0.13
-pkgrel=1
+pkgrel=1.1
pkgdesc="Library to work with PKCS#11 modules"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://p11-glue.freedesktop.org"
license=('BSD')
depends=(glibc)
diff --git a/extra/pam_ldap/PKGBUILD b/extra/pam_ldap/PKGBUILD
index 620ed04e8..bff718b46 100644
--- a/extra/pam_ldap/PKGBUILD
+++ b/extra/pam_ldap/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pam_ldap
pkgver=186
pkgrel=4
pkgdesc="LDAP authentication module for the PAM framework"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.padl.com/OSS/pam_ldap.html"
license=('LGPL')
depends=('libldap' 'pam')
@@ -19,7 +19,8 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --libdir=/usr/lib \
--with-ldap-conf-file=/etc/pam_ldap.conf \
- --mandir=/usr/share/man
+ --mandir=/usr/share/man \
+ --build=$CHOST --host=$CHOST
PATH="${PATH}:${srcdir}/${pkgname}-${pkgver}" make
}
diff --git a/extra/pango-perl/PKGBUILD b/extra/pango-perl/PKGBUILD
index a14a34f43..2c1da6bf5 100644
--- a/extra/pango-perl/PKGBUILD
+++ b/extra/pango-perl/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pango-perl
pkgver=1.223
pkgrel=2
pkgdesc="Perl bindings for Pango"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
makedepends=('perl-extutils-pkgconfig' 'perl-extutils-depends')
diff --git a/extra/pango/PKGBUILD b/extra/pango/PKGBUILD
index ab7186e31..673c6c68d 100644
--- a/extra/pango/PKGBUILD
+++ b/extra/pango/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pango
pkgver=1.32.2
pkgrel=1
pkgdesc="A library for layout and rendering of text"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libthai' 'cairo' 'libxft' 'harfbuzz')
makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection')
diff --git a/extra/pangomm/PKGBUILD b/extra/pangomm/PKGBUILD
index 3699ffa68..639cf1f20 100644
--- a/extra/pangomm/PKGBUILD
+++ b/extra/pangomm/PKGBUILD
@@ -4,8 +4,8 @@
pkgbase=pangomm
pkgname=('pangomm' 'pangomm-docs')
pkgver=2.28.4
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=1.1
+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.xz)
diff --git a/extra/pangox-compat/PKGBUILD b/extra/pangox-compat/PKGBUILD
index e826889a6..08734edd0 100644
--- a/extra/pangox-compat/PKGBUILD
+++ b/extra/pangox-compat/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pangox-compat
pkgver=0.0.2
pkgrel=1
pkgdesc="X Window System font support for Pango"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('pango')
options=('!libtool')
diff --git a/extra/paprefs/PKGBUILD b/extra/paprefs/PKGBUILD
index 6be68601b..82e033459 100644
--- a/extra/paprefs/PKGBUILD
+++ b/extra/paprefs/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=paprefs
pkgver=0.9.10
-pkgrel=2
+pkgrel=2.1
pkgdesc="A simple GTK-based configuration dialog for PulseAudio"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://0pointer.de/lennart/projects/paprefs"
license=(GPL)
depends=(gconfmm gnome-icon-theme libglademm libsigc++ pulseaudio)
diff --git a/extra/parted/PKGBUILD b/extra/parted/PKGBUILD
index 7a9416441..ed1779343 100644
--- a/extra/parted/PKGBUILD
+++ b/extra/parted/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=parted
pkgver=3.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="A program for creating, destroying, resizing, checking and copying partitions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL3')
url="http://www.gnu.org/software/parted/parted.html"
depends=('device-mapper' 'e2fsprogs')
diff --git a/extra/pathological/PKGBUILD b/extra/pathological/PKGBUILD
index 96d506b20..41bade6fd 100644
--- a/extra/pathological/PKGBUILD
+++ b/extra/pathological/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pathological
pkgver=1.1.3
pkgrel=8
pkgdesc="A puzzle game with the same feel as frozen bubble"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pathological.sourceforge.net/"
license=('GPL')
depends=('python2-pygame')
diff --git a/extra/pavucontrol/PKGBUILD b/extra/pavucontrol/PKGBUILD
index b2a9bf1fb..3e388d479 100644
--- a/extra/pavucontrol/PKGBUILD
+++ b/extra/pavucontrol/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=pavucontrol
pkgver=1.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="A GTK volume control tool for PulseAudio"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://0pointer.de/lennart/projects/pavucontrol"
license=(GPL)
depends=(gnome-icon-theme libcanberra-pulse gtkmm3 libsigc++)
diff --git a/extra/pdksh/PKGBUILD b/extra/pdksh/PKGBUILD
deleted file mode 100644
index 388952747..000000000
--- a/extra/pdksh/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 128476 2011-06-24 03:30:58Z eric $
-# Maintainer: Aaron Griffin <aaron@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=pdksh
-pkgver=5.2.14
-pkgrel=6
-pkgdesc="A public domain clone of the AT&T Korn shell"
-arch=('i686' 'x86_64')
-url="http://www.cs.mun.ca/~michael/pdksh/"
-license=('custom')
-depends=('glibc')
-install=pdksh.install
-#ftp://ftp.cs.mun.ca/pub/$pkgname/$pkgname-$pkgver.tar.gz
-source=(http://www.cs.mun.ca/~michael/pdksh/files/$pkgname-$pkgver.tar.gz pdksh-5.2.14.patch usr_ksh.sh)
-md5sums=('871106b3bd937e1afba9f2ef7c43aef3' 'f11d1e711627d21a547c09e344e30dd3'\
- '56084a657ecafd5dd0813a6056036712')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -i ../$pkgname-$pkgver.patch
- ./configure --prefix=/ --mandir=/usr/share/man
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make prefix="$pkgdir" mandir="$pkgdir/usr/share/man/man1" install
- install -D -m 755 "${srcdir}/usr_ksh.sh" "${pkgdir}/usr/bin/ksh"
- install -D -m644 LEGAL "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
diff --git a/extra/pdksh/pdksh-5.2.14.patch b/extra/pdksh/pdksh-5.2.14.patch
deleted file mode 100644
index 134e04f34..000000000
--- a/extra/pdksh/pdksh-5.2.14.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ru pdksh-5.2.14/siglist.sh pdksh-5.2.14.arch/siglist.sh
---- pdksh-5.2.14/siglist.sh 1996-09-18 12:52:41.000000000 -0400
-+++ pdksh-5.2.14.arch/siglist.sh 2004-09-06 08:17:15.000000000 -0400
-@@ -11,19 +11,18 @@
- out=tmpo$$.c
- ecode=1
- trapsigs='0 1 2 13 15'
--trap 'rm -f $in $out; trap 0; exit $ecode' $trapsigs
-+trap 'rm -f $in $out; exit $ecode' $trapsigs
-
- CPP="${1-cc -E}"
-
- # The trap here to make up for a bug in bash (1.14.3(1)) that calls the trap
--(trap $trapsigs;
-- echo '#include "sh.h"';
-+(echo '#include "sh.h"';
- echo ' { QwErTy SIGNALS , "DUMMY" , "hook for number of signals" },';
- sed -e '/^[ ]*#/d' -e 's/^[ ]*\([^ ][^ ]*\)[ ][ ]*\(.*[^ ]\)[ ]*$/#ifdef SIG\1\
- { QwErTy SIG\1 , "\1", "\2" },\
- #endif/') > $in
- $CPP $in > $out
--sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort +2n +0n |
-+sed -n 's/{ QwErTy/{/p' < $out | awk '{print NR, $0}' | sort -g --key=3 |
- sed 's/^[0-9]* //' |
- awk 'BEGIN { last=0; nsigs=0; }
- {
diff --git a/extra/pdksh/pdksh.install b/extra/pdksh/pdksh.install
deleted file mode 100644
index 17463a17e..000000000
--- a/extra/pdksh/pdksh.install
+++ /dev/null
@@ -1,22 +0,0 @@
-post_install() {
- if [ ! "$(grep /bin/ksh etc/shells)" ]; then
- echo "updating /etc/shells... done."
- sed -i "s|/bin/bash|/bin/bash\n/bin/ksh|" etc/shells
- else
- sed -i "s|/usr/bin/ksh|/bin/ksh|" etc/shells
-
- echo ""
- echo ">> WARNING: /usr/bin/ksh has moved to /bin/ksh,"
- echo ">> please update your user accounts as needed"
- echo ""
- fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- echo -ne "\nupdating /etc/shells... "
- sed -i "s|/bin/ksh||" etc/shells
-}
diff --git a/extra/pdksh/usr_ksh.sh b/extra/pdksh/usr_ksh.sh
deleted file mode 100644
index 17a96d1bf..000000000
--- a/extra/pdksh/usr_ksh.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-echo "WARNING: you should be calling ksh with /bin/ksh,"
-echo "not with /usr/bin/ksh. Please execute chsh to fix"
-echo "this. Legacy /usr/bin/ksh support will go away!"
-echo ""
-
-exec /bin/ksh $@
-
diff --git a/extra/pdns-recursor/PKGBUILD b/extra/pdns-recursor/PKGBUILD
deleted file mode 100644
index cf2e32d9b..000000000
--- a/extra/pdns-recursor/PKGBUILD
+++ /dev/null
@@ -1,31 +0,0 @@
-# $Id: PKGBUILD 151458 2012-02-26 11:37:32Z pierre $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=pdns-recursor
-pkgver=3.3
-pkgrel=2
-pkgdesc="PowerDNS recursor"
-url="http://www.powerdns.com"
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('gcc-libs' 'lua')
-makedepends=('boost')
-backup=('etc/powerdns/recursor.conf')
-source=("http://downloads.powerdns.com/releases/${pkgname}-${pkgver}.tar.bz2"
- 'pdns-recursor.rc')
-md5sums=('87daeeebb6f7af9e07814ff6c43300dd'
- '5b3aa3c8ed2edf55821af16cfb7ef252')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- LUA=1 LUA_CPPFLAGS_CONFIG= LUA_LIBS_CONFIG=-llua make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -d -m755 "${pkgdir}/etc/rc.d"
- mv "${pkgdir}/etc/powerdns/recursor.conf-dist" "${pkgdir}/etc/powerdns/recursor.conf"
- install -m755 "${srcdir}/pdns-recursor.rc" "${pkgdir}/etc/rc.d/pdns-recursor"
- rm -rf "${pkgdir}/etc/init.d"
-}
diff --git a/extra/pdns-recursor/pdns-recursor.rc b/extra/pdns-recursor/pdns-recursor.rc
deleted file mode 100644
index 992f0b086..000000000
--- a/extra/pdns-recursor/pdns-recursor.rc
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting PowerDNS recursor"
- ! /usr/sbin/rec_control ping > /dev/null 2>&1 && /usr/sbin/pdns_recursor --daemon
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon pdns-recursor
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping PowerDNS recursor"
- rec_control quit > /dev/null 2>&1
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon pdns-recursor
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/pdns/2.9.18-default-mysql-options.patch b/extra/pdns/2.9.18-default-mysql-options.patch
deleted file mode 100755
index a9048e13e..000000000
--- a/extra/pdns/2.9.18-default-mysql-options.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -Nur pdns-2.9.18.orig/modules/gmysqlbackend/smysql.cc pdns-2.9.18/modules/gmysqlbackend/smysql.cc
---- pdns-2.9.18.orig/modules/gmysqlbackend/smysql.cc 2005-04-23 23:40:15.000000000 +0200
-+++ pdns-2.9.18/modules/gmysqlbackend/smysql.cc 2005-07-17 10:38:35.363597586 +0200
-@@ -15,6 +15,9 @@
- const string &password)
- {
- mysql_init(&d_db);
-+#if MYSQL_VERSION_ID > 32349
-+ mysql_options(&d_db, MYSQL_READ_DEFAULT_GROUP, "client");
-+#endif
- if (!mysql_real_connect(&d_db, host.empty() ? 0 : host.c_str(),
- user.empty() ? 0 : user.c_str(),
- password.empty() ? 0 : password.c_str(),
diff --git a/extra/pdns/PKGBUILD b/extra/pdns/PKGBUILD
deleted file mode 100644
index 8226a5868..000000000
--- a/extra/pdns/PKGBUILD
+++ /dev/null
@@ -1,58 +0,0 @@
-# $Id: PKGBUILD 151459 2012-02-26 11:41:02Z pierre $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=pdns
-pkgver=2.9.22.6
-pkgrel=1
-pkgdesc="A modern, advanced and high performance authoritative-only nameserver"
-arch=('i686' 'x86_64')
-url="http://www.powerdns.com"
-license=('GPL')
-depends=('gcc-libs' 'zlib' 'postgresql-libs' 'libmysqlclient' 'sqlite3' 'libldap')
-makedepends=('boost')
-provides=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
-replaces=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
-conflicts=('pdns-ldap' 'pdns-mysql' 'pdns-sqlite' 'pdns-pgsql')
-install=pdns.install
-options=('!makeflags' '!libtool')
-backup=('etc/powerdns/pdns.conf')
-source=("http://downloads.powerdns.com/releases/${pkgname}-${pkgver}.tar.gz"
- '2.9.18-default-mysql-options.patch'
- 'pdns-2.9.22-gcc44.patch'
- 'pdns.rc'
- 'pdns.conf')
-md5sums=('ff97ba980b322adb61c3e9c9e9c4adef'
- '90fb32e843326d14359c508cef855929'
- '530642273005bdabae27792098834ea6'
- '16e2d32e9781be7afa8f1700740bcdb0'
- 'a390ab49c4fcde205629be33bddc2e6c')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i "${srcdir}/2.9.18-default-mysql-options.patch"
- patch -p1 -i "${srcdir}/pdns-2.9.22-gcc44.patch"
- touch AUTHORS NEWS
- libtoolize --force --copy
- aclocal
- autoconf
- automake --add-missing
- ./configure --prefix=/usr \
- --sysconfdir=/etc/powerdns \
- --libexecdir=/usr/lib \
- --libdir=/usr/lib/powerdns \
- --mandir=/usr/share/man \
- --with-modules="" \
- --with-dynmodules="ldap pipe gmysql gpgsql gsqlite3 geo" \
- --disable-recursor \
- --disable-static
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/etc/rc.d"
- rm "${pkgdir}/etc/powerdns/pdns.conf-dist"
- install -m644 "${srcdir}/pdns.conf" "${pkgdir}/etc/powerdns/"
- install -m755 "${srcdir}/pdns.rc" "${pkgdir}/etc/rc.d/pdns"
-}
diff --git a/extra/pdns/pdns-2.9.22-gcc44.patch b/extra/pdns/pdns-2.9.22-gcc44.patch
deleted file mode 100644
index 35c1c7777..000000000
--- a/extra/pdns/pdns-2.9.22-gcc44.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -ur pdns-2.9.22.orig/pdns/dnsparser.cc pdns-2.9.22/pdns/dnsparser.cc
---- pdns-2.9.22.orig/pdns/dnsparser.cc 2008-11-15 22:32:46.000000000 +0200
-+++ pdns-2.9.22/pdns/dnsparser.cc 2009-07-06 22:09:02.000000000 +0300
-@@ -16,6 +16,7 @@
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-+#include <stdio.h>
- #include "dnsparser.hh"
- #include "dnswriter.hh"
- #include <boost/lexical_cast.hpp>
-diff -ur pdns-2.9.22.orig/pdns/rcpgenerator.cc pdns-2.9.22/pdns/rcpgenerator.cc
---- pdns-2.9.22.orig/pdns/rcpgenerator.cc 2008-11-15 23:20:27.000000000 +0200
-+++ pdns-2.9.22/pdns/rcpgenerator.cc 2009-07-06 22:07:26.000000000 +0300
-@@ -16,6 +16,7 @@
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-+#include <stdio.h>
- #include "rcpgenerator.hh"
- #include "dnsparser.hh"
- #include "misc.hh"
diff --git a/extra/pdns/pdns.conf b/extra/pdns/pdns.conf
deleted file mode 100644
index 1bf24e73f..000000000
--- a/extra/pdns/pdns.conf
+++ /dev/null
@@ -1,290 +0,0 @@
-# Autogenerated configuration file template
-#################################
-# allow-axfr-ips If disabled, DO allow zonetransfers from these IP addresses
-#
-# allow-axfr-ips=
-
-#################################
-# allow-recursion List of netmasks that are allowed to recurse
-#
-allow-recursion=127.0.0.1
-
-#################################
-# allow-recursion-override Local data overrrides hosts on the internet
-#
-allow-recursion-override=yes
-
-#################################
-# cache-ttl Seconds to store packets in the PacketCache
-#
-cache-ttl=60
-
-#################################
-# chroot If set, chroot to this directory for more security
-#
-chroot=/var/empty
-
-#################################
-# config-dir Location of configuration directory (pdns.conf)
-#
-config-dir=/etc
-
-#################################
-# config-name Name of this virtual configuration - will rename the binary image
-#
-# config-name=
-
-#################################
-# control-console Debugging switch - don't use
-#
-# control-console=no
-
-#################################
-# daemon Operate as a daemon
-#
-daemon=yes
-
-#################################
-# default-soa-name name to insert in the SOA record if none set in the backend
-#
-# default-soa-name=a.misconfigured.powerdns.server
-
-#################################
-# disable-axfr Disable zonetransfers but do allow TCP queries
-#
-# disable-axfr=no
-
-#################################
-# disable-tcp Do not listen to TCP queries
-#
-# disable-tcp=no
-
-#################################
-# distributor-threads Default number of Distributor (backend) threads to start
-#
-distributor-threads=3
-
-#################################
-# fancy-records Process URL and MBOXFW records
-#
-# fancy-records=no
-
-#################################
-# guardian Run within a guardian process
-#
-guardian=yes
-
-#################################
-# launch Which backends to launch and order to query them in
-#
-#launch=
-
-#################################
-# lazy-recursion Only recurse if question cannot be answered locally
-#
-lazy-recursion=yes
-
-#################################
-# load-modules Load this module - supply absolute or relative path
-#
-# load-modules=
-
-#################################
-# local-address Local IP address to which we bind
-#
-local-address=127.0.0.1
-
-#################################
-# local-ipv6 Local IP address to which we bind
-#
-# local-ipv6=
-
-#################################
-# local-port The port on which we listen
-#
-local-port=53
-
-#################################
-# log-dns-details If PDNS should log failed update requests
-#
-#log-dns-details=off
-
-#################################
-# log-failed-updates If PDNS should log failed update requests
-#
-#log-failed-updates=off
-
-#################################
-# logfile Logfile to use
-#
-# logfile=pdns.log
-
-#################################
-# logging-facility Log under a specific facility
-#
-# logging-facility=
-
-#################################
-# loglevel Amount of logging. Higher is more. Do not set below 3
-#
-loglevel=3
-
-#################################
-# master Act as a master
-#
-# master=no
-
-#################################
-# max-queue-length Maximum queuelength before considering situation lost
-#
-# max-queue-length=5000
-
-#################################
-# max-tcp-connections Maximum number of TCP connections
-#
-# max-tcp-connections=10
-
-#################################
-# module-dir Default directory for modules
-#
-module-dir=/usr/lib/powerdns
-
-#################################
-# negquery-cache-ttl Seconds to store packets in the PacketCache
-#
-negquery-cache-ttl=60
-
-#################################
-# only-soa Make sure that no SOA serial is less than this number
-#
-# only-soa=org
-
-#################################
-# out-of-zone-additional-processing Do out of zone additional processing
-#
-# out-of-zone-additional-processing=no
-
-#################################
-# query-cache-ttl Seconds to store packets in the PacketCache
-#
-# query-cache-ttl=20
-
-#################################
-# query-logging Hint backends that queries should be logged
-#
-# query-logging=no
-
-#################################
-# queue-limit Maximum number of milliseconds to queue a query
-#
-# queue-limit=1500
-
-#################################
-# receiver-threads Number of receiver threads to launch
-#
-# receiver-threads=1
-
-#################################
-# recursive-cache-ttl Seconds to store packets in the PacketCache
-#
-# recursive-cache-ttl=10
-
-#################################
-# recursor If recursion is desired, IP address of a recursing nameserver
-#
-#recursor=
-
-#################################
-# setgid If set, change group id to this gid for more security
-#
-setgid=nobody
-
-#################################
-# setuid If set, change user id to this uid for more security
-#
-setuid=nobody
-
-#################################
-# skip-cname Do not perform CNAME indirection for each query
-#
-# skip-cname=no
-
-#################################
-# slave Act as a slave
-#
-# slave=no
-
-#################################
-# slave-cycle-interval Reschedule failed SOA serial checks once every .. seconds
-#
-# slave-cycle-interval=60
-
-#################################
-# smtpredirector Our smtpredir MX host
-#
-# smtpredirector=a.misconfigured.powerdns.smtp.server
-
-#################################
-# soa-minimum-ttl Default SOA mininum ttl
-#
-# soa-minimum-ttl=3600
-
-#################################
-# soa-serial-offset Make sure that no SOA serial is less than this number
-#
-# soa-serial-offset=0
-
-#################################
-# socket-dir Where the controlsocket will live
-#
-socket-dir=/var/run
-
-#################################
-# strict-rfc-axfrs Perform strictly rfc compliant axfrs (very slow)
-#
-# strict-rfc-axfrs=no
-
-#################################
-# urlredirector Where we send hosts to that need to be url redirected
-#
-# urlredirector=127.0.0.1
-
-#################################
-# use-logfile Use a log file
-#
-use-logfile=no
-
-#################################
-# webserver Start a webserver for monitoring
-#
-webserver=no
-
-#################################
-# webserver-address IP Address of webserver to listen on
-#
-# webserver-address=127.0.0.1
-
-#################################
-# webserver-password Password required for accessing the webserver
-#
-# webserver-password=
-
-#################################
-# webserver-port Port of webserver to listen on
-#
-# webserver-port=8081
-
-#################################
-# webserver-print-arguments If the webserver should print arguments
-#
-# webserver-print-arguments=no
-
-#################################
-# wildcard-url Process URL and MBOXFW records
-#
-# wildcard-url=no
-
-#################################
-# wildcards Honor wildcards in the database
-#
-wildcards=yes
diff --git a/extra/pdns/pdns.install b/extra/pdns/pdns.install
deleted file mode 100644
index f41b36b20..000000000
--- a/extra/pdns/pdns.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- cat << 'EOM'
-==> PowerDNS is built without recursor now. To use the recursor,
-==> please install the pdns-recursor package and update the
-==> configuration in /etc/powerdns/recursor.conf
-EOM
-}
-
-post_upgrade() {
- post_install $1
-}
diff --git a/extra/pdns/pdns.rc b/extra/pdns/pdns.rc
deleted file mode 100644
index 2f143ddae..000000000
--- a/extra/pdns/pdns.rc
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting DNS"
- ! /usr/sbin/pdns_control ping > /dev/null 2>&1 && /usr/sbin/pdns_server --daemon
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon pdns
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping DNS"
- pdns_control quit > /dev/null 2>&1
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon pdns
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/pekwm/PKGBUILD b/extra/pekwm/PKGBUILD
index 5ee7323e9..3dce361ff 100644
--- a/extra/pekwm/PKGBUILD
+++ b/extra/pekwm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pekwm
pkgver=0.1.15
pkgrel=1
pkgdesc="A small, fast, functional, and flexible window manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url='https://www.pekwm.org/projects/pekwm'
depends=('gcc-libs' 'libjpeg' 'libpng' 'libxft' 'libxinerama' 'libxpm' 'libxrandr')
diff --git a/extra/perl-alien-sdl/PKGBUILD b/extra/perl-alien-sdl/PKGBUILD
index 4b6bdedd3..d86c3b1d7 100644
--- a/extra/perl-alien-sdl/PKGBUILD
+++ b/extra/perl-alien-sdl/PKGBUILD
@@ -11,7 +11,7 @@ _realname=Alien-SDL
pkgver=1.438
pkgrel=1
pkgdesc="Building, finding and using SDL binaries"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(PerlArtistic GPL)
url="http://search.cpan.org/dist/Alien-SDL/"
depends=(sdl=1.2.15 perl-file-sharedir perl-capture-tiny)
diff --git a/extra/perl-async-interrupt/PKGBUILD b/extra/perl-async-interrupt/PKGBUILD
index 904bdad48..3484ea0de 100644
--- a/extra/perl-async-interrupt/PKGBUILD
+++ b/extra/perl-async-interrupt/PKGBUILD
@@ -6,7 +6,7 @@ _ver=1.1
pkgver=1.10
pkgrel=2
pkgdesc='allow C/XS libraries to interrupt perl asynchronously'
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=(perl-common-sense)
diff --git a/extra/perl-bit-vector/PKGBUILD b/extra/perl-bit-vector/PKGBUILD
index b27aa1b39..648a65b45 100644
--- a/extra/perl-bit-vector/PKGBUILD
+++ b/extra/perl-bit-vector/PKGBUILD
@@ -7,7 +7,7 @@ _cpanname=Bit-Vector
pkgver=7.2
pkgrel=2
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')
diff --git a/extra/perl-compress-bzip2/PKGBUILD b/extra/perl-compress-bzip2/PKGBUILD
index 7f5e2bc99..88c9d0eed 100644
--- a/extra/perl-compress-bzip2/PKGBUILD
+++ b/extra/perl-compress-bzip2/PKGBUILD
@@ -6,7 +6,7 @@ _realname=Compress-Bzip2
pkgver=2.09
pkgrel=5
pkgdesc="Interface to Bzip2 compression library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(GPL2)
depends=(perl bzip2)
url="http://search.cpan.org/dist/Compress-Bzip2"
diff --git a/extra/perl-crypt-openssl-bignum/PKGBUILD b/extra/perl-crypt-openssl-bignum/PKGBUILD
index e5f881bcc..845e348c4 100644
--- a/extra/perl-crypt-openssl-bignum/PKGBUILD
+++ b/extra/perl-crypt-openssl-bignum/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-openssl-bignum
pkgver=0.04
pkgrel=7
pkgdesc="OpenSSL's multiprecision integer arithmetic "
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-OpenSSL-Bignum"
depends=('perl' 'openssl')
license=('GPL')
diff --git a/extra/perl-crypt-openssl-random/PKGBUILD b/extra/perl-crypt-openssl-random/PKGBUILD
index 24ebde127..54091888d 100644
--- a/extra/perl-crypt-openssl-random/PKGBUILD
+++ b/extra/perl-crypt-openssl-random/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-openssl-random
pkgver=0.04
pkgrel=7
pkgdesc="Interface to OpenSSL PRNG methods"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-OpenSSL-Random"
depends=('perl' 'openssl')
license=('GPL')
diff --git a/extra/perl-crypt-openssl-rsa/PKGBUILD b/extra/perl-crypt-openssl-rsa/PKGBUILD
index 3a44bf936..e8ebbf7c6 100644
--- a/extra/perl-crypt-openssl-rsa/PKGBUILD
+++ b/extra/perl-crypt-openssl-rsa/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-openssl-rsa
pkgver=0.28
pkgrel=3
pkgdesc="Interface to OpenSSL RSA methods"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-OpenSSL-RSA"
depends=('perl-crypt-openssl-random' 'perl-crypt-openssl-bignum')
license=('GPL')
diff --git a/extra/perl-crypt-ssleay/PKGBUILD b/extra/perl-crypt-ssleay/PKGBUILD
index f01b17aac..fd7e53650 100644
--- a/extra/perl-crypt-ssleay/PKGBUILD
+++ b/extra/perl-crypt-ssleay/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-crypt-ssleay
pkgver=0.64
pkgrel=1
pkgdesc="OpenSSL glue that provides LWP https support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/Crypt-SSLeay"
license=('GPL' 'PerlArtistic')
depends=('perl-lwp-protocol-https' 'perl-try-tiny')
diff --git a/extra/perl-dbd-mysql/PKGBUILD b/extra/perl-dbd-mysql/PKGBUILD
index 889f627e0..7372de086 100644
--- a/extra/perl-dbd-mysql/PKGBUILD
+++ b/extra/perl-dbd-mysql/PKGBUILD
@@ -7,7 +7,7 @@ _realname=DBD-mysql
pkgver=4.021
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')
diff --git a/extra/perl-dbd-sqlite/PKGBUILD b/extra/perl-dbd-sqlite/PKGBUILD
index 450f50237..99ae66f19 100644
--- a/extra/perl-dbd-sqlite/PKGBUILD
+++ b/extra/perl-dbd-sqlite/PKGBUILD
@@ -8,7 +8,7 @@ _cpanname=DBD-SQLite
pkgver=1.37
pkgrel=1
pkgdesc="Self-contained RDBMS in a DBI driver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/${_cpanname}"
license=('GPL' 'PerlArtistic')
depends=('perl-dbi>=1.61' 'sqlite')
diff --git a/extra/perl-dbi/PKGBUILD b/extra/perl-dbi/PKGBUILD
index 602acd003..672ef1fb2 100644
--- a/extra/perl-dbi/PKGBUILD
+++ b/extra/perl-dbi/PKGBUILD
@@ -7,7 +7,7 @@ _realname=DBI
pkgver=1.622
pkgrel=1
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')
diff --git a/extra/perl-digest-nilsimsa/PKGBUILD b/extra/perl-digest-nilsimsa/PKGBUILD
index d4878b1e8..c7ee8a74e 100644
--- a/extra/perl-digest-nilsimsa/PKGBUILD
+++ b/extra/perl-digest-nilsimsa/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Digest-Nilsimsa
pkgver=0.06
pkgrel=8
pkgdesc="Perl version of Nilsimsa code"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl')
diff --git a/extra/perl-digest-sha1/PKGBUILD b/extra/perl-digest-sha1/PKGBUILD
index e35269169..33ae605ee 100644
--- a/extra/perl-digest-sha1/PKGBUILD
+++ b/extra/perl-digest-sha1/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Digest-SHA1
pkgver=2.13
pkgrel=3
pkgdesc="Perl interface to the SHA-1 Algorithm"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl')
diff --git a/extra/perl-ev/PKGBUILD b/extra/perl-ev/PKGBUILD
index 604dac065..183dbf253 100644
--- a/extra/perl-ev/PKGBUILD
+++ b/extra/perl-ev/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=perl-ev
pkgver=4.11
pkgrel=2
pkgdesc='perl interface to libev, a high performance full-featured event loop'
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=(perl-common-sense)
diff --git a/extra/perl-event/PKGBUILD b/extra/perl-event/PKGBUILD
index 861a64527..24c4d81d9 100644
--- a/extra/perl-event/PKGBUILD
+++ b/extra/perl-event/PKGBUILD
@@ -8,7 +8,7 @@ _srcname=Event
pkgver=1.20
pkgrel=2
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 a03c4baf9..377ffc4c9 100644
--- a/extra/perl-fcgi/PKGBUILD
+++ b/extra/perl-fcgi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-fcgi
pkgver=0.74
pkgrel=3
pkgdesc="Fast CGI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/FCGI"
license=('GPL' 'PerlArtistic')
depends=('perl')
diff --git a/extra/perl-guard/PKGBUILD b/extra/perl-guard/PKGBUILD
index d1d804f0a..b0aa28c8d 100644
--- a/extra/perl-guard/PKGBUILD
+++ b/extra/perl-guard/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=perl-guard
pkgver=1.022
pkgrel=2
pkgdesc="safe cleanup blocks"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(custom:unknown)
options=(!emptydirs)
depends=('perl')
diff --git a/extra/perl-html-parser/PKGBUILD b/extra/perl-html-parser/PKGBUILD
index b30443f40..1ed93e03f 100644
--- a/extra/perl-html-parser/PKGBUILD
+++ b/extra/perl-html-parser/PKGBUILD
@@ -8,7 +8,7 @@ _realname=HTML-Parser
pkgver=3.69
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 6554a2524..10f344716 100644
--- a/extra/perl-libintl-perl/PKGBUILD
+++ b/extra/perl-libintl-perl/PKGBUILD
@@ -7,7 +7,7 @@ _realname=libintl-perl
pkgver=1.20
pkgrel=4
pkgdesc="Perl Module: Localization support"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://search.cpan.org/dist/${_realname}/"
depends=('gettext' 'perl')
diff --git a/extra/perl-list-moreutils/PKGBUILD b/extra/perl-list-moreutils/PKGBUILD
index 80d83dfc4..2aad86c9c 100644
--- a/extra/perl-list-moreutils/PKGBUILD
+++ b/extra/perl-list-moreutils/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=perl-list-moreutils
pkgver=0.33
pkgrel=3
pkgdesc="Provide the stuff missing in List::Util"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(PerlArtistic GPL)
options=(!emptydirs)
depends=('perl>=5.5.30')
diff --git a/extra/perl-locale-gettext/PKGBUILD b/extra/perl-locale-gettext/PKGBUILD
index e2bb2e3b5..e18856ef2 100644
--- a/extra/perl-locale-gettext/PKGBUILD
+++ b/extra/perl-locale-gettext/PKGBUILD
@@ -8,7 +8,7 @@ _realname=gettext
pkgver=1.05
pkgrel=9
pkgdesc="Permits access from Perl to the gettext() family of functions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('gettext' 'perl')
diff --git a/extra/perl-net-dns/PKGBUILD b/extra/perl-net-dns/PKGBUILD
index fcde3f988..1e1f63808 100644
--- a/extra/perl-net-dns/PKGBUILD
+++ b/extra/perl-net-dns/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Net-DNS
pkgver=0.68
pkgrel=2
pkgdesc="Perl Module: Interface to the DNS resolver."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl-digest-hmac' 'perl-net-ip' 'perl')
diff --git a/extra/perl-net-ssleay/PKGBUILD b/extra/perl-net-ssleay/PKGBUILD
index 8d548ad5d..8add8c625 100644
--- a/extra/perl-net-ssleay/PKGBUILD
+++ b/extra/perl-net-ssleay/PKGBUILD
@@ -7,7 +7,7 @@ _cpanname=Net-SSLeay
pkgver=1.49
pkgrel=1
pkgdesc="Perl extension for using OpenSSL"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:BSD')
url="http://search.cpan.org/dist/${_cpanname}/"
depends=('openssl')
diff --git a/extra/perl-net-upnp/PKGBUILD b/extra/perl-net-upnp/PKGBUILD
index 9d2945e27..40b1c769b 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=4
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 7964591c6..53eb681b9 100644
--- a/extra/perl-netaddr-ip/PKGBUILD
+++ b/extra/perl-netaddr-ip/PKGBUILD
@@ -8,7 +8,7 @@ _realname=NetAddr-IP
pkgver=4.065
pkgrel=1
pkgdesc="Perl module to manage IP addresses and subnets"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('PerlArtistic' 'GPL')
depends=('perl')
options=('!emptydirs')
diff --git a/extra/perl-sdl/PKGBUILD b/extra/perl-sdl/PKGBUILD
index d8273a34e..4b54e3721 100644
--- a/extra/perl-sdl/PKGBUILD
+++ b/extra/perl-sdl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=perl-sdl
pkgver=2.540
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-socket6/PKGBUILD b/extra/perl-socket6/PKGBUILD
index 88c8acc07..ce7feaf42 100644
--- a/extra/perl-socket6/PKGBUILD
+++ b/extra/perl-socket6/PKGBUILD
@@ -5,7 +5,7 @@ pkgname='perl-socket6'
pkgver='0.23'
pkgrel='2'
pkgdesc="getaddrinfo/getnameinfo support module"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl')
diff --git a/extra/perl-template-toolkit/PKGBUILD b/extra/perl-template-toolkit/PKGBUILD
index 4b6d5fa56..072f8604c 100644
--- a/extra/perl-template-toolkit/PKGBUILD
+++ b/extra/perl-template-toolkit/PKGBUILD
@@ -8,7 +8,7 @@ _realname=Template-Toolkit
pkgver=2.24
pkgrel=1
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 8c73caf7a..d80103978 100644
--- a/extra/perl-term-readkey/PKGBUILD
+++ b/extra/perl-term-readkey/PKGBUILD
@@ -8,7 +8,7 @@ _realname=TermReadKey
pkgver=2.30.02
pkgrel=2
pkgdesc="Provides simple control over terminal driver modes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('perl' 'glibc')
url="http://search.cpan.org/~stsi/${_realname}/"
diff --git a/extra/perl-text-iconv/PKGBUILD b/extra/perl-text-iconv/PKGBUILD
index cde5d71c0..733bdbfcb 100644
--- a/extra/perl-text-iconv/PKGBUILD
+++ b/extra/perl-text-iconv/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Text-Iconv
pkgver=1.7
pkgrel=7
pkgdesc="Interface to iconv codeset conversion"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://search.cpan.org/dist/${_realname}/"
license=('GPL' 'PerlArtistic')
depends=('perl')
diff --git a/extra/perl-time-hires/PKGBUILD b/extra/perl-time-hires/PKGBUILD
deleted file mode 100644
index 8253ff249..000000000
--- a/extra/perl-time-hires/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 160559 2012-06-02 10:28:27Z bluewind $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: mezcal <fila at pruda dot com>
-
-pkgname=perl-time-hires
-pkgver=1.9725
-pkgrel=2
-pkgdesc="Perl module: high resolution time, sleep, and alarm"
-arch=('i686' 'x86_64')
-license=('PerlArtistic')
-url="http://search.cpan.org/dist/Time-HiRes/"
-depends=('perl')
-options=(!emptydirs)
-source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Time-HiRes-${pkgver}.tar.gz")
-md5sums=('cb1108c076d26f3d2fed0bb91313135a')
-
-build() {
- cd "${srcdir}/Time-HiRes-${pkgver}"
-
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-
- make
-}
-
-check() {
- cd "${srcdir}/Time-HiRes-${pkgver}"
-
- make test
-}
-
-package() {
- cd "${srcdir}/Time-HiRes-${pkgver}"
-
- make install DESTDIR="${pkgdir}"
-}
diff --git a/extra/perl-tk/PKGBUILD b/extra/perl-tk/PKGBUILD
index 06cb132c4..41e704775 100644
--- a/extra/perl-tk/PKGBUILD
+++ b/extra/perl-tk/PKGBUILD
@@ -8,7 +8,7 @@ _cpanname=Tk
pkgver=804.030
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=('libpng' 'libjpeg' 'tk' 'perl')
diff --git a/extra/perl-unicode-string/PKGBUILD b/extra/perl-unicode-string/PKGBUILD
index 2c15f8c52..0090d429c 100644
--- a/extra/perl-unicode-string/PKGBUILD
+++ b/extra/perl-unicode-string/PKGBUILD
@@ -7,7 +7,7 @@ _realname=Unicode-String
pkgver=2.09
pkgrel=7
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')
diff --git a/extra/perl-xml-parser/PKGBUILD b/extra/perl-xml-parser/PKGBUILD
index 3e2a9db86..2fcc86d9f 100644
--- a/extra/perl-xml-parser/PKGBUILD
+++ b/extra/perl-xml-parser/PKGBUILD
@@ -9,7 +9,7 @@ _realname=XML-Parser
pkgver=2.41
pkgrel=3
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 fe8dc26e9..3462058bd 100644
--- a/extra/perl-yaml-syck/PKGBUILD
+++ b/extra/perl-yaml-syck/PKGBUILD
@@ -7,7 +7,7 @@ _realname=YAML-Syck
pkgver=1.21
pkgrel=1
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')
diff --git a/extra/phonon-gstreamer/PKGBUILD b/extra/phonon-gstreamer/PKGBUILD
index 222f3f6d8..05becae9e 100644
--- a/extra/phonon-gstreamer/PKGBUILD
+++ b/extra/phonon-gstreamer/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=phonon-gstreamer
pkgver=4.6.2
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 b979e87d5..fc12aa997 100644
--- a/extra/phonon-vlc/PKGBUILD
+++ b/extra/phonon-vlc/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=phonon-vlc
pkgver=0.6.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 64418b965..0535acd73 100644
--- a/extra/phonon/PKGBUILD
+++ b/extra/phonon/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=phonon
pkgver=4.6.0
pkgrel=3
epoch=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://phonon.kde.org/'
license=('LGPL')
pkgdesc="The multimedia framework for KDE"
diff --git a/extra/php-apc/PKGBUILD b/extra/php-apc/PKGBUILD
index 5be677c38..ef8da365c 100644
--- a/extra/php-apc/PKGBUILD
+++ b/extra/php-apc/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=php-apc
pkgver=3.1.13
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-xcache/PKGBUILD b/extra/php-xcache/PKGBUILD
index 185739cc5..6d7f6800b 100644
--- a/extra/php-xcache/PKGBUILD
+++ b/extra/php-xcache/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=php-xcache
pkgver=3.0.0
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
pkgdesc='A PHP opcode cacher'
url='http://xcache.lighttpd.net/'
depends=('php')
diff --git a/extra/php/PKGBUILD b/extra/php/PKGBUILD
index cdf86575e..ba593efff 100644
--- a/extra/php/PKGBUILD
+++ b/extra/php/PKGBUILD
@@ -23,7 +23,7 @@ pkgname=('php'
'php-xsl')
pkgver=5.4.8
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PHP')
url='http://www.php.net'
makedepends=('apache' 'imap' 'postgresql-libs' 'libldap' 'postfix' 'libvpx'
diff --git a/extra/physfs/PKGBUILD b/extra/physfs/PKGBUILD
index 85cbf0fcf..5e84b8e28 100644
--- a/extra/physfs/PKGBUILD
+++ b/extra/physfs/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=physfs
pkgver=2.0.3
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')
diff --git a/extra/pidgin-encryption/PKGBUILD b/extra/pidgin-encryption/PKGBUILD
index dd886c058..396022ba6 100644
--- a/extra/pidgin-encryption/PKGBUILD
+++ b/extra/pidgin-encryption/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=pidgin-encryption
pkgver=3.1
-pkgrel=2
+pkgrel=2.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/pidgin/PKGBUILD b/extra/pidgin/PKGBUILD
index f946082a9..758c9794f 100644
--- a/extra/pidgin/PKGBUILD
+++ b/extra/pidgin/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=('pidgin' 'libpurple' 'finch')
pkgver=2.10.6
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pidgin.im/"
license=('GPL')
makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
diff --git a/extra/pilot-link/PKGBUILD b/extra/pilot-link/PKGBUILD
index d55ceb9bf..0a20688fb 100644
--- a/extra/pilot-link/PKGBUILD
+++ b/extra/pilot-link/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=pilot-link
pkgver=0.12.5
-pkgrel=3
+pkgrel=3.1
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.5.0' 'libusb-compat' 'popt' 'bluez>=4.59')
options=('!libtool')
diff --git a/extra/pixman/PKGBUILD b/extra/pixman/PKGBUILD
index 73a20c401..0d5263c1e 100644
--- a/extra/pixman/PKGBUILD
+++ b/extra/pixman/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pixman
pkgver=0.28.0
pkgrel=1
pkgdesc="The pixel-manipulation library for X and cairo"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org"
license=('custom')
depends=('glibc')
@@ -17,6 +17,10 @@ sha1sums=('cfc7a18a8811bf4ff0890f547c315bda8097f6ad')
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 2e1f42acc..b2947f933 100644
--- a/extra/plotutils/PKGBUILD
+++ b/extra/plotutils/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=plotutils
pkgver=2.6
pkgrel=3
-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 9f861a506..5722959a4 100644
--- a/extra/pm-utils/PKGBUILD
+++ b/extra/pm-utils/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=pm-utils
pkgver=1.4.1
-pkgrel=5
+pkgrel=5.1
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 371593ae3..c7c4f92a5 100644
--- a/extra/pmount/PKGBUILD
+++ b/extra/pmount/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=pmount
pkgver=0.9.23
pkgrel=4
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 cbd405df2..4d6f53310 100644
--- a/extra/polkit-gnome/PKGBUILD
+++ b/extra/polkit-gnome/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=polkit-gnome
pkgver=0.105
-pkgrel=1
+pkgrel=1.1
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' 'gtk3')
diff --git a/extra/polkit-kde/PKGBUILD b/extra/polkit-kde/PKGBUILD
index 0a576e888..2fb0931e7 100644
--- a/extra/polkit-kde/PKGBUILD
+++ b/extra/polkit-kde/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=polkit-kde
pkgver=0.99.0
-pkgrel=2
+pkgrel=2.1
pkgdesc='Daemon providing a polkit authentication UI for KDE'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/extragear/base/polkit-kde-agent-1'
license=('GPL')
depends=('kdelibs')
diff --git a/extra/polkit-qt/PKGBUILD b/extra/polkit-qt/PKGBUILD
index 82f5801b6..327764938 100644
--- a/extra/polkit-qt/PKGBUILD
+++ b/extra/polkit-qt/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=polkit-qt
pkgver=0.103.0
-pkgrel=1
+pkgrel=1.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='https://projects.kde.org/projects/kdesupport/polkit-qt-1'
license=('LGPL')
depends=('polkit' 'qt')
diff --git a/extra/polkit/PKGBUILD b/extra/polkit/PKGBUILD
index 40300622d..174dac9ae 100644
--- a/extra/polkit/PKGBUILD
+++ b/extra/polkit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=polkit
pkgver=0.107
pkgrel=4
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' 'libsystemd' 'js')
diff --git a/extra/poppler/PKGBUILD b/extra/poppler/PKGBUILD
index ecb84a61c..37ad46c3e 100644
--- a/extra/poppler/PKGBUILD
+++ b/extra/poppler/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=poppler
pkgname=('poppler' 'poppler-glib' 'poppler-qt')
pkgver=0.20.5
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
makedepends=('libjpeg' 'gcc-libs' 'cairo' 'fontconfig' 'openjpeg' 'gtk2' 'qt' 'pkgconfig' 'lcms' 'gobject-introspection' 'icu')
options=('!libtool' '!emptydirs')
diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD
index 5f8e21a53..2f91724c0 100644
--- a/extra/postfix/PKGBUILD
+++ b/extra/postfix/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Fast, easy to administer, secure mail server'
url='http://www.postfix.org/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('pcre' 'libsasl' 'libldap' 'db'
'libmysqlclient' 'postgresql-libs' 'sqlite' 'tinycdb')
backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,master.cf,relocated,transport,virtual})
diff --git a/extra/postgresql-old-upgrade/PKGBUILD b/extra/postgresql-old-upgrade/PKGBUILD
index b2499c72f..dee5a706b 100644
--- a/extra/postgresql-old-upgrade/PKGBUILD
+++ b/extra/postgresql-old-upgrade/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=9.1.6
_majorver=${pkgver%.*}
pkgrel=1
pkgdesc="PostgreSQL build for migrating between major versions with pg_upgrade"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.postgresql.org/"
license=('custom:PostgreSQL')
depends=("postgresql-libs>=${_majorver}" 'libxml2' 'openssl>=1.0.0')
diff --git a/extra/postgresql/PKGBUILD b/extra/postgresql/PKGBUILD
index 212415bf2..91ddb8421 100644
--- a/extra/postgresql/PKGBUILD
+++ b/extra/postgresql/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql')
pkgver=9.2.1
_majorver=${pkgver%.*}
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.postgresql.org/"
license=('custom:PostgreSQL')
makedepends=('krb5' 'libxml2' 'python2' 'perl' 'tcl' 'openssl>=1.0.0')
diff --git a/extra/potrace/PKGBUILD b/extra/potrace/PKGBUILD
index e628b9b0c..48f6111a7 100644
--- a/extra/potrace/PKGBUILD
+++ b/extra/potrace/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=potrace
pkgver=1.10
-pkgrel=1
+pkgrel=1.1
pkgdesc='Utility for tracing a bitmap (input: PBM,PGM,PPM,BMP; output: EPS,PS,PDF,SVG,DXF,PGM,Gimppath,XFig)'
url='http://potrace.sourceforge.net/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('zlib')
options=('!libtool')
diff --git a/extra/prison/PKGBUILD b/extra/prison/PKGBUILD
index 793db4535..fdd1519d4 100644
--- a/extra/prison/PKGBUILD
+++ b/extra/prison/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=prison
pkgver=1.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="A barcode API to produce QRCode barcodes and DataMatrix barcodes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde.org"
license=('GPL')
depends=('qt' 'libdmtx' 'qrencode')
diff --git a/extra/procmail/PKGBUILD b/extra/procmail/PKGBUILD
index b7e780796..92ebabde5 100644
--- a/extra/procmail/PKGBUILD
+++ b/extra/procmail/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=procmail
pkgver=3.22
pkgrel=5
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 32e2c436a..801981082 100644
--- a/extra/proftpd/PKGBUILD
+++ b/extra/proftpd/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.3.4b
pkgrel=3
epoch=1
pkgdesc="A high-performance, scalable FTP server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.proftpd.org/"
license=('GPL')
depends=('libmysqlclient' 'postgresql-libs')
diff --git a/extra/progsreiserfs/PKGBUILD b/extra/progsreiserfs/PKGBUILD
index 7d4cb1baa..f72ee49c5 100644
--- a/extra/progsreiserfs/PKGBUILD
+++ b/extra/progsreiserfs/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=progsreiserfs
pkgver=0.3.0.5
-pkgrel=7
+pkgrel=7.1
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 d3bee3fee..aa256bc97 100644
--- a/extra/psi/PKGBUILD
+++ b/extra/psi/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
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')
makedepends=('icu')
install='psi.install'
diff --git a/extra/psiconv/PKGBUILD b/extra/psiconv/PKGBUILD
index 5bb1cbfa8..a7053b1d3 100644
--- a/extra/psiconv/PKGBUILD
+++ b/extra/psiconv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=psiconv
pkgver=0.9.8
pkgrel=10
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 e82b9666d..1ccea5f67 100644
--- a/extra/pstoedit/PKGBUILD
+++ b/extra/pstoedit/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pstoedit
pkgver=3.60
pkgrel=3
pkgdesc="Translates PostScript and PDF graphics into other vector formats"
-arch=('i686' 'x86_64')
+arch=("i686" "x86_64" 'mips64el')
url="http://www.pstoedit.net/"
license=('GPL')
depends=('gcc-libs' 'plotutils' 'gd' 'imagemagick')
diff --git a/extra/ptlib/PKGBUILD b/extra/ptlib/PKGBUILD
index 4eba6f4c6..55b55a3a8 100644
--- a/extra/ptlib/PKGBUILD
+++ b/extra/ptlib/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ptlib
pkgver=2.10.7
pkgrel=2
pkgdesc="Portable Windows Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.opalvoip.org"
license=('GPL')
depends=('sdl' 'libpulse' 'v4l-utils' 'libldap')
diff --git a/extra/pulseaudio/PKGBUILD b/extra/pulseaudio/PKGBUILD
index 0dad5f6fa..1d6e88950 100644
--- a/extra/pulseaudio/PKGBUILD
+++ b/extra/pulseaudio/PKGBUILD
@@ -9,13 +9,14 @@ pkgname=(pulseaudio libpulse)
pkgdesc="A featureful, general-purpose sound server"
pkgver=2.1
pkgrel=1
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.freedesktop.org/wiki/Software/PulseAudio"
license=(GPL LGPL)
makedepends=(libasyncns libcap attr libxtst libsm libsamplerate libtool rtkit
speex tdb udev dbus-core avahi bluez gconf intltool jack
- lirc-utils openssl fftw orc json-c gtk2 webrtc-audio-processing
+ openssl fftw orc json-c gtk2 webrtc-audio-processing
libsystemd)
+[ "$CARCH" != "mips64el" ] && makedepends+=(lirc-utils)
options=(!emptydirs !libtool)
source=(http://freedesktop.org/software/$pkgbase/releases/$pkgbase-$pkgver.tar.xz
pulseaudio.xinit)
@@ -49,9 +50,9 @@ package_pulseaudio() {
'bluez: bluetooth support'
'gconf: configuration through gconf (paprefs)'
'jack: jack support'
- 'lirc-utils: infra-red support'
'openssl: RAOP support'
'python2-pyqt: Equalizer GUI (qpaeq)')
+[ "$CARCH" = "mips64el" ] || optdepends+=('lirc-utils: infra-red support')
backup=(etc/pulse/{daemon.conf,default.pa,system.pa})
install=pulseaudio.install
@@ -72,7 +73,7 @@ package_pulseaudio() {
-i "$pkgdir/etc/pulse/default.pa"
# Python fix
- sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq"
+ sed -i '1s:python$:&2:' "$pkgdir/usr/bin/qpaeq" || true
install -Dm755 "$srcdir/pulseaudio.xinit" "$pkgdir/etc/X11/xinit/xinitrc.d/pulseaudio"
diff --git a/extra/purple-plugin-pack/PKGBUILD b/extra/purple-plugin-pack/PKGBUILD
index 30f9b0ab5..21ac12113 100644
--- a/extra/purple-plugin-pack/PKGBUILD
+++ b/extra/purple-plugin-pack/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=purple-plugin-pack
pkgver=2.7.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Compilation of plugins for the libpurple family of IM clients"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://www.guifications.org/projects/purple-plugin-pack"
license=('GPL')
depends=('libpurple')
diff --git a/extra/putty/PKGBUILD b/extra/putty/PKGBUILD
index 5a6f2f536..880aa82b3 100644
--- a/extra/putty/PKGBUILD
+++ b/extra/putty/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=putty
pkgver=0.62
pkgrel=1
pkgdesc="A terminal integrated SSH/Telnet client"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
license=('MIT')
depends=('gtk2')
@@ -16,6 +16,7 @@ sha1sums=('5898438614117ee7e3704fc3f30a3c4bf2041380'
build() {
cd "${srcdir}/${pkgname}-${pkgver}/unix"
+ sed -i 's/-Werror//' configure
./configure --prefix=/usr
make
}
diff --git a/extra/pyalpm/PKGBUILD b/extra/pyalpm/PKGBUILD
index c9d420471..c8d64320c 100644
--- a/extra/pyalpm/PKGBUILD
+++ b/extra/pyalpm/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=pyalpm
pkgver=0.5.3
pkgrel=2
pkgdesc="Libalpm bindings for Python 3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.archlinux.org/users/remy/pyalpm.git/"
license=('GPL')
depends=('python>=3.2' 'pacman>=4')
diff --git a/extra/pycrypto/PKGBUILD b/extra/pycrypto/PKGBUILD
index 6014e9052..17f58e616 100644
--- a/extra/pycrypto/PKGBUILD
+++ b/extra/pycrypto/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=pycrypto
pkgname=('python2-crypto' 'python-crypto')
pkgver=2.6
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('python2' 'python')
url="http://www.dlitz.net/software/pycrypto/"
license=('custom')
diff --git a/extra/pycups/PKGBUILD b/extra/pycups/PKGBUILD
index 1400f73d6..e1342e7a3 100644
--- a/extra/pycups/PKGBUILD
+++ b/extra/pycups/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.9.62
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{,.sig})
diff --git a/extra/pycurl/PKGBUILD b/extra/pycurl/PKGBUILD
index ee7b516cf..c385381fd 100644
--- a/extra/pycurl/PKGBUILD
+++ b/extra/pycurl/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=pycurl
pkgname=('python2-pycurl')
pkgver=7.19.0
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pycurl.sourceforge.net/"
license=('GPL')
makedepends=('python2' 'curl')
diff --git a/extra/pygobject/PKGBUILD b/extra/pygobject/PKGBUILD
index 3ffba2d90..3a1f1c750 100644
--- a/extra/pygobject/PKGBUILD
+++ b/extra/pygobject/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=pygobject
pkgname=(python-gobject python2-gobject pygobject-devel)
pkgver=3.4.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://live.gnome.org/PyGObject"
license=('LGPL')
makedepends=('python' 'python2' 'python-cairo' 'python2-cairo' 'gobject-introspection')
diff --git a/extra/pygobject/fix-pycairo-capi-declaration.patch b/extra/pygobject/fix-pycairo-capi-declaration.patch
new file mode 100644
index 000000000..1f0364c7a
--- /dev/null
+++ b/extra/pygobject/fix-pycairo-capi-declaration.patch
@@ -0,0 +1,17 @@
+--- pygobject-2.28.4.orig/gi/pygi-foreign-cairo.c 2011-04-18 17:36:47.000000000 +0200
++++ pygobject-2.28.4/gi/pygi-foreign-cairo.c 2011-06-21 20:05:11.015628222 +0200
+@@ -26,12 +26,12 @@
+
+ #if PY_VERSION_HEX < 0x03000000
+ #include <pycairo.h>
++static Pycairo_CAPI_t *Pycairo_CAPI;
+ #else
+ #include <pycairo/py3cairo.h>
++#define Pycairo_IMPORT import_cairo()
+ #endif
+
+-Pycairo_CAPI_t *Pycairo_CAPI;
+-
+ #include "pygi-foreign.h"
+
+ #include <pyglib-python-compat.h>
diff --git a/extra/pygobject2/PKGBUILD b/extra/pygobject2/PKGBUILD
index b8521ed97..45c687042 100644
--- a/extra/pygobject2/PKGBUILD
+++ b/extra/pygobject2/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=pygobject2
pkgname=(python-gobject2 python2-gobject2 pygobject2-devel)
pkgver=2.28.6
pkgrel=8
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.pygtk.org/"
license=('LGPL')
makedepends=('python' 'python2')
diff --git a/extra/pygtk/PKGBUILD b/extra/pygtk/PKGBUILD
index e82fdbe4d..b6fea41c2 100644
--- a/extra/pygtk/PKGBUILD
+++ b/extra/pygtk/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=pygtk
pkgver=2.24.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="Python bindings for the GTK widget set"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
depends=('libglade' 'python2-cairo' 'pygobject')
makedepends=('python2-numpy' 'pygobject2-devel')
diff --git a/extra/pygtksourceview2/PKGBUILD b/extra/pygtksourceview2/PKGBUILD
index df1db1d63..18771a992 100644
--- a/extra/pygtksourceview2/PKGBUILD
+++ b/extra/pygtksourceview2/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=pygtksourceview2
pkgver=2.10.1
-pkgrel=4
+pkgrel=4.1
pkgdesc="Python bindings for gtksourceview2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL')
depends=('gtksourceview2>=2.10.0' 'pygtk>=2.17.0')
makedepends=('intltool' 'pkg-config')
diff --git a/extra/pymad/PKGBUILD b/extra/pymad/PKGBUILD
index 2a5bf6596..2c145e71e 100644
--- a/extra/pymad/PKGBUILD
+++ b/extra/pymad/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pymad
pkgver=0.6
pkgrel=4
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 d88da6a97..7056b53f7 100644
--- a/extra/pyopenssl/PKGBUILD
+++ b/extra/pyopenssl/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=pyopenssl
pkgname=('python-pyopenssl' 'python2-pyopenssl')
pkgver=0.13
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pypi.python.org/pypi/pyOpenSSL"
license=('LGPL2.1')
makedepends=('python' 'python2' 'openssl')
diff --git a/extra/pyorbit/PKGBUILD b/extra/pyorbit/PKGBUILD
index c0d5c5921..628c31ef5 100644
--- a/extra/pyorbit/PKGBUILD
+++ b/extra/pyorbit/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=pyorbit
pkgver=2.24.0
-pkgrel=4
+pkgrel=4.1
pkgdesc="Python bindings for ORBit2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
url="http://www.pygtk.org"
depends=('python2' 'orbit2')
diff --git a/extra/pypgsql/COPYING b/extra/pypgsql/COPYING
deleted file mode 100644
index c13985414..000000000
--- a/extra/pypgsql/COPYING
+++ /dev/null
@@ -1,20 +0,0 @@
- pyPgSQL, version 2.5
- A Python DB-API 2.0 compliant interface for PostgreSQL
- Copyright 2000 by Billy G. Allie.
- All rights reserved.
-
- Permission to use, copy, modify, and distribute this software and it's
- documentation for any purpose and without fee is hereby granted,
- provided that the above copyright notice appear in all copies and that
- both that copyright notice and this permission notice appear in
- supporting documentation, and that the copyright owner's name not be
- used in advertising or publicity pertaining to distribution of the
- software without specific, written prior permission.
-
- THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN
- NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
- USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
diff --git a/extra/pypgsql/PKGBUILD b/extra/pypgsql/PKGBUILD
deleted file mode 100644
index 7c14ae54e..000000000
--- a/extra/pypgsql/PKGBUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-# $Id: PKGBUILD 151045 2012-02-24 14:28:44Z pierre $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-pkgname=pypgsql
-pkgver=2.5.1
-pkgrel=8
-pkgdesc="A python client library for postgresql"
-arch=('i686' 'x86_64')
-license=('custom')
-url="http://pypgsql.sourceforge.net/"
-depends=('python-egenix-mx-base' 'postgresql-libs')
-source=("http://downloads.sourceforge.net/${pkgname}/pyPgSQL-${pkgver}.tar.gz"
- 'COPYING')
-md5sums=('82670f6f1652aa4766fdaec2cb43debd'
- '235c239b51a8b8e6b53c414ef71d7612')
-
-package() {
- cd ${srcdir}/pyPgSQL-${pkgver}
- python2 setup.py install --root=${pkgdir}
-
- # install custom license
- install -Dm644 $srcdir/COPYING \
- $pkgdir/usr/share/licenses/$pkgname/COPYING
-}
diff --git a/extra/pyqt/PKGBUILD b/extra/pyqt/PKGBUILD
index 6b8199a75..cc0b41375 100644
--- a/extra/pyqt/PKGBUILD
+++ b/extra/pyqt/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=pyqt
pkgname=('pyqt-common' 'pyqt' 'python2-pyqt')
pkgver=4.9.5
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
makedepends=('qt' 'python-sip' 'python-dbus' 'python2-sip' 'phonon' 'mesa'
diff --git a/extra/pysmbc/PKGBUILD b/extra/pysmbc/PKGBUILD
index 429111579..a815bf29b 100644
--- a/extra/pysmbc/PKGBUILD
+++ b/extra/pysmbc/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=pysmbc
pkgver=1.0.13
pkgrel=1
pkgdesc="Python bindings for libsmbclient"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pypi.python.org/pypi/pysmbc/"
license=('GPL')
depends=('python2' 'smbclient')
diff --git a/extra/python-cairo/PKGBUILD b/extra/python-cairo/PKGBUILD
index 0285fa0be..8034ee1b0 100644
--- a/extra/python-cairo/PKGBUILD
+++ b/extra/python-cairo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python-cairo
pkgver=1.10.0
pkgrel=2
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-egenix-mx-base/PKGBUILD b/extra/python-egenix-mx-base/PKGBUILD
index f288e28c5..47a144f6a 100644
--- a/extra/python-egenix-mx-base/PKGBUILD
+++ b/extra/python-egenix-mx-base/PKGBUILD
@@ -8,7 +8,7 @@ _origname=egenix-mx-base
pkgver=3.2.4
pkgrel=3
pkgdesc="A collection of Python tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.egenix.com/products/python/mxBase/"
makedepends=('python2')
diff --git a/extra/python-geoip/PKGBUILD b/extra/python-geoip/PKGBUILD
index f9a76dbbb..a0d9d737b 100644
--- a/extra/python-geoip/PKGBUILD
+++ b/extra/python-geoip/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=('python2-geoip')
pkgver=1.2.7
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
deleted file mode 100644
index 01c745f00..000000000
--- a/extra/python-imaging/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# $Id: PKGBUILD 144447 2011-12-05 21:28:19Z stephane $
-# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Allan McRae <allan@archlinux.org>
-# Contributor: simo <simo@archlinux.org>
-
-pkgname=python-imaging
-pkgver=1.1.7
-pkgrel=4
-pkgdesc="PIL. Provides image processing capabilities for python"
-arch=('i686' 'x86_64')
-url="http://www.pythonware.com/products/pil/index.htm"
-license=('custom:"pil"')
-depends=('python2' 'libjpeg' 'freetype2' 'lcms')
-makedepends=('tk' 'sane')
-optdepends=('tk' 'sane')
-provides=("pil=${pkgver}")
-conflicts=('pil')
-replaces=('pil')
-source=(http://effbot.org/downloads/Imaging-${pkgver}.tar.gz)
-md5sums=('fc14a54e1ce02a0225be8854bfba478e')
-
-build() {
- cd "${srcdir}"/Imaging-${pkgver}
- python2 setup.py build_ext
- cd Sane
- python2 setup.py build_ext
-}
-
-package() {
- cd "${srcdir}"/Imaging-${pkgver}
- python2 setup.py install --root="${pkgdir}" --optimize=1
-
- pushd Sane
- python2 setup.py install --root="${pkgdir}" --optimize=1
- popd
-
- install -dm755 "${pkgdir}"/usr/include/python2.7/
- install -m644 -t "${pkgdir}"/usr/include/python2.7/ libImaging/*.h
-
- # do not have files ending in .py in /usr/bin
- for f in pildriver pilprint pilconvert pilfile pilfont; do
- mv "${pkgdir}"/usr/bin/${f}{.py,}
- done
-
- # Install license
- install -Dm644 "${srcdir}"/Imaging-${pkgver}/README \
- "${pkgdir}"/usr/share/licenses/${pkgname}/README
-}
diff --git a/extra/python-iwscan/PKGBUILD b/extra/python-iwscan/PKGBUILD
index 752d224cb..0bbb8118b 100644
--- a/extra/python-iwscan/PKGBUILD
+++ b/extra/python-iwscan/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python2-iwscan
pkgver=20090609
pkgrel=4
pkgdesc="A Python interface to iwlist, using the iwlib library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.otaku42.de/browser/python-iwscan"
license=('LGPL')
depends=('python2' 'wireless_tools')
diff --git a/extra/python-lxml/PKGBUILD b/extra/python-lxml/PKGBUILD
index b7dfec5af..e6e78a163 100644
--- a/extra/python-lxml/PKGBUILD
+++ b/extra/python-lxml/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=python-lxml
pkgname=('python-lxml' 'python2-lxml' 'python-lxml-docs')
pkgver=3.0.1
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD' 'custom')
url="http://lxml.de/"
makedepends=('python2' 'python' 'libxslt')
diff --git a/extra/python-m2crypto/PKGBUILD b/extra/python-m2crypto/PKGBUILD
index 010da5c82..3d3243c01 100644
--- a/extra/python-m2crypto/PKGBUILD
+++ b/extra/python-m2crypto/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=python-m2crypto
pkgver=0.21.1
-pkgrel=1
+pkgrel=1.1
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 45c16b943..b18890417 100644
--- a/extra/python-markupsafe/PKGBUILD
+++ b/extra/python-markupsafe/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=('python-markupsafe' 'python2-markupsafe')
pkgver=0.15
pkgrel=2
pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://pypi.python.org/pypi/MarkupSafe"
license=('custom')
makedepends=('python-distribute' 'python2-distribute')
diff --git a/extra/python-notify/PKGBUILD b/extra/python-notify/PKGBUILD
index 7d32fed47..adf4ea36f 100644
--- a/extra/python-notify/PKGBUILD
+++ b/extra/python-notify/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python2-notify
pkgver=0.1.1
pkgrel=12
pkgdesc="Python bindings for libnotify"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.galago-project.org/"
license=('GPL')
depends=('pygtk>=2.22.0' 'libnotify>=0.7.1')
diff --git a/extra/python-numpy/PKGBUILD b/extra/python-numpy/PKGBUILD
index 6dbf141c0..4ba4575da 100755
--- a/extra/python-numpy/PKGBUILD
+++ b/extra/python-numpy/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.7.0
_pkgver=1.7.0b2
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-pycurl/PKGBUILD b/extra/python-pycurl/PKGBUILD
deleted file mode 100644
index 9b70523bc..000000000
--- a/extra/python-pycurl/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 150558 2012-02-18 14:39:59Z pierre $
-# Maintainer:
-# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
-
-pkgname=python-pycurl
-pkgver=7.19.0
-pkgrel=6
-pkgdesc="A Python interface to libcurl"
-arch=('i686' 'x86_64')
-url="http://pycurl.sourceforge.net"
-license=('GPL')
-depends=('python2' 'curl')
-replaces=('pycurl')
-provides=('pycurl')
-source=("http://pycurl.sourceforge.net/download/pycurl-${pkgver}.tar.gz")
-md5sums=('919d58fe37e69fe87ce4534d8b6a1c7b')
-
-package() {
- cd "${srcdir}"/pycurl-${pkgver}
- python2 setup.py install --curl-config=/usr/bin/curl-config --prefix ${pkgdir}/usr
-}
diff --git a/extra/python-pygame/PKGBUILD b/extra/python-pygame/PKGBUILD
index dbe7144a0..be5f23b2e 100644
--- a/extra/python-pygame/PKGBUILD
+++ b/extra/python-pygame/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python2-pygame
pkgver=1.9.1
pkgrel=7
pkgdesc="Python game library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.pygame.org/"
license=('LGPL')
depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'python2' 'portmidi')
diff --git a/extra/python-pyspi/PKGBUILD b/extra/python-pyspi/PKGBUILD
index 41ebf4be2..f995971a1 100644
--- a/extra/python-pyspi/PKGBUILD
+++ b/extra/python-pyspi/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=python2-pyspi
pkgver=0.6.1
pkgrel=1
pkgdesc="Python AT-SPI bindings"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://people.redhat.com/zcerza/dogtail"
license=('LGPL')
depends=('python2' 'at-spi')
diff --git a/extra/python-pysqlite/PKGBUILD b/extra/python-pysqlite/PKGBUILD
index 0e308434b..c7f2acb08 100644
--- a/extra/python-pysqlite/PKGBUILD
+++ b/extra/python-pysqlite/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=2.6.3
pkgrel=3
pkgdesc="A Python DB-API 2.0 interface for the SQLite embedded relational database engine"
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/pysqlite/"
depends=('python2' 'sqlite')
conflicts=('python-pysqlite<=2.6.3-2')
diff --git a/extra/python-telepathy/PKGBUILD b/extra/python-telepathy/PKGBUILD
index 515a5b590..74d1da3e5 100644
--- a/extra/python-telepathy/PKGBUILD
+++ b/extra/python-telepathy/PKGBUILD
@@ -6,19 +6,23 @@ pkgname=('python2-telepathy')
pkgver=0.15.19
pkgrel=3
pkgdesc="Python libraries for use in Telepathy clients and connection managers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
license=('LGPL')
depends=('dbus-python')
makedepends=('libxslt')
conflicts=('python-telepathy')
replaces=('python-telepathy')
-source=(http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-${pkgver}.tar.gz{,.asc})
+source=(http://telepathy.freedesktop.org/releases/telepathy-python/telepathy-python-${pkgver}.tar.gz{,.asc}
+ telepathy-python-generated-errors.patch)
md5sums=('f7ca25ab3c88874015b7e9728f7f3017'
- '3f0e1af0452d62a0c0aab916e045579c')
+ '3f0e1af0452d62a0c0aab916e045579c'
+ '2dfa69cd0548661dbbb5ae53b1c19e0f')
build() {
cd "${srcdir}/telepathy-python-${pkgver}"
+ patch -Np1 -i "$srcdir/telepathy-python-generated-errors.patch"
+ autoreconf
./configure --prefix=/usr
make
}
diff --git a/extra/python-telepathy/telepathy-python-generated-errors.patch b/extra/python-telepathy/telepathy-python-generated-errors.patch
new file mode 100644
index 000000000..d52861d89
--- /dev/null
+++ b/extra/python-telepathy/telepathy-python-generated-errors.patch
@@ -0,0 +1,18 @@
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 135f2f0..ede1fc3 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -13,10 +13,12 @@ telepathy_PYTHON = \
+ spec_dir = $(top_srcdir)/spec
+ spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))
+
++# We leave _generated/errors.py out of here because there exists a
++# spec/errors.xml file, so that means there'll be a
++# _generated/errors.py in $(spec_files). See fd.o#32526
+ BUILT_SOURCES = \
+ _generated/interfaces.py \
+ _generated/constants.py \
+- _generated/errors.py \
+ _generated/__init__.py \
+ $(spec_files)
+
diff --git a/extra/python-urwid/PKGBUILD b/extra/python-urwid/PKGBUILD
index d1804969c..a17f52206 100644
--- a/extra/python-urwid/PKGBUILD
+++ b/extra/python-urwid/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.0.2
pkgrel=2
pkgdesc="Urwid is a curses-based user interface library."
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('python2-distribute' 'python-distribute')
url="http://excess.org/urwid/"
source=(http://excess.org/urwid/urwid-$pkgver.tar.gz)
diff --git a/extra/python-wpactrl/PKGBUILD b/extra/python-wpactrl/PKGBUILD
index a669bbde0..49b4d0221 100644
--- a/extra/python-wpactrl/PKGBUILD
+++ b/extra/python-wpactrl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=python2-wpactrl
pkgver=20090609
pkgrel=4
pkgdesc="A Python extension for wpa_supplicant/hostapd control interface access"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://projects.otaku42.de/wiki/PythonWpaCtrl"
license=('GPL2')
depends=('python2')
diff --git a/extra/python/PKGBUILD b/extra/python/PKGBUILD
index fd2d084b5..8aea684a2 100644
--- a/extra/python/PKGBUILD
+++ b/extra/python/PKGBUILD
@@ -8,11 +8,12 @@ pkgver=3.3.0
pkgrel=1
_pybasever=3.3
pkgdesc="Next generation of the python high-level scripting language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.python.org/"
depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib')
-makedepends=('tk' 'sqlite' 'valgrind')
+makedepends=('tk' 'sqlite')
+[ "$CARCH" != "mips64el" ] && makedepends+=('valgrind')
optdepends=('tk: for tkinter' 'sqlite')
provides=('python3')
replaces=('python3')
@@ -32,15 +33,21 @@ build() {
rm -r Modules/zlib
rm -r Modules/_ctypes/{darwin,libffi}*
+
+ if [ "$CARCH" != "mips64el" ]; then
+ extraconf=--with-valgrind
+ else
+ extraconf=""
+ fi
./configure --prefix=/usr \
--enable-shared \
--with-threads \
--with-computed-gotos \
--enable-ipv6 \
- --with-valgrind \
--with-system-expat \
--with-dbmliborder=gdbm:ndbm \
- --with-system-ffi
+ --with-system-ffi \
+ $extraconf
make
}
diff --git a/extra/python2-cairo/PKGBUILD b/extra/python2-cairo/PKGBUILD
index 0f2fb1462..7d6fb0c32 100644
--- a/extra/python2-cairo/PKGBUILD
+++ b/extra/python2-cairo/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=python2-cairo
pkgver=1.10.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Python2 bindings for the cairo graphics library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL' 'MPL')
depends=('python2' 'cairo')
options=('!libtool')
diff --git a/extra/python2/PKGBUILD b/extra/python2/PKGBUILD
index 02731754c..31f598187 100644
--- a/extra/python2/PKGBUILD
+++ b/extra/python2/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=python2
pkgver=2.7.3
-pkgrel=2
+pkgrel=2.1
_pybasever=2.7
pkgdesc="A high-level scripting language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('PSF')
url="http://www.python.org/"
depends=('bzip2' 'gdbm' 'openssl' 'zlib' 'expat' 'sqlite' 'libffi')
diff --git a/extra/pywebkitgtk/PKGBUILD b/extra/pywebkitgtk/PKGBUILD
index 9fec0ff5d..ad503c89e 100644
--- a/extra/pywebkitgtk/PKGBUILD
+++ b/extra/pywebkitgtk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=pywebkitgtk
pkgver=1.1.8
pkgrel=2
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 b81767462..4bbc514c4 100644
--- a/extra/pyxml/PKGBUILD
+++ b/extra/pyxml/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=pyxml
pkgver=0.8.4
-pkgrel=10
+pkgrel=10.1
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 5c7d40e06..59b0a7d03 100644
--- a/extra/qalculate-gtk/PKGBUILD
+++ b/extra/qalculate-gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qalculate-gtk
pkgver=0.9.7
pkgrel=3
pkgdesc="GNOME frontend for libqalculate"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qalculate.sourceforge.net/"
license=('GPL')
depends=('libqalculate' 'libgnome' 'libglade' 'cln')
diff --git a/extra/qca-gnupg/PKGBUILD b/extra/qca-gnupg/PKGBUILD
index d34d87dbd..4980bee89 100644
--- a/extra/qca-gnupg/PKGBUILD
+++ b/extra/qca-gnupg/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=qca-gnupg
pkgver=2.0.0
_pkgver=2.0.0-beta3
-pkgrel=3
+pkgrel=3.1
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 50e434b35..ff7389bca 100644
--- a/extra/qca-ossl/PKGBUILD
+++ b/extra/qca-ossl/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=qca-ossl
pkgver=2.0.0
_pkgver=2.0.0-beta3
-pkgrel=4
+pkgrel=4.1
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 a3d71907e..f2e914566 100644
--- a/extra/qca/PKGBUILD
+++ b/extra/qca/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=qca
pkgver=2.0.3
-pkgrel=2
+pkgrel=2.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 ce29d86a3..64f160c4c 100644
--- a/extra/qemu-kvm/PKGBUILD
+++ b/extra/qemu-kvm/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=qemu-kvm
pkgver=1.2.0
pkgrel=1
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' 'nss' 'glib2' 'gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux' 'libpulse' 'seabios' 'libcap-ng')
diff --git a/extra/qemu/PKGBUILD b/extra/qemu/PKGBUILD
index b243184f7..adef636f2 100644
--- a/extra/qemu/PKGBUILD
+++ b/extra/qemu/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=qemu
pkgver=1.2.0
pkgrel=1
pkgdesc="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' 'python2')
diff --git a/extra/qhull/PKGBUILD b/extra/qhull/PKGBUILD
index 6f55425e6..5c4c333a1 100644
--- a/extra/qhull/PKGBUILD
+++ b/extra/qhull/PKGBUILD
@@ -6,16 +6,16 @@
pkgname=qhull
pkgver=2012.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="A general dimension code for computing convex hulls and related structures"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.qhull.org/"
license=('custom')
depends=('gcc-libs')
makedepends=('cmake')
source=("http://www.qhull.org/download/$pkgname-$pkgver-src.tgz")
options=('!libtool')
-md5sums=('ed81aa19b203aa0fdb75b41fe6f7a40f')
+md5sums=('d0f978c0d8dfb2e919caefa56ea2953c')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/extra/qimageblitz/PKGBUILD b/extra/qimageblitz/PKGBUILD
index abced8b9a..b8defa8ed 100644
--- a/extra/qimageblitz/PKGBUILD
+++ b/extra/qimageblitz/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=qimageblitz
pkgver=0.0.6
-pkgrel=2
+pkgrel=2.1
pkgdesc="A graphical effect and filter library for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kde.org/"
license=('GPL2')
depends=('qt')
@@ -18,6 +18,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 42b84139a..fabfa0ec2 100644
--- a/extra/qiv/PKGBUILD
+++ b/extra/qiv/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qiv
pkgver=2.2.4
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')
url="http://spiegl.de/qiv/"
license=('GPL2')
depends=('file' 'gtk2' 'imlib2')
diff --git a/extra/qjackctl/PKGBUILD b/extra/qjackctl/PKGBUILD
index 22c26cef6..7692ca6e7 100644
--- a/extra/qjackctl/PKGBUILD
+++ b/extra/qjackctl/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.3.9
pkgrel=2
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 61ca3a799..eb1633e8e 100644
--- a/extra/qjson/PKGBUILD
+++ b/extra/qjson/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qjson
pkgver=0.7.1
pkgrel=2
pkgdesc="A qt-based library that maps JSON data to QVariant objects"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://qjson.sourceforge.net"
depends=('qt')
diff --git a/extra/qoauth/PKGBUILD b/extra/qoauth/PKGBUILD
index 86b4adc21..e0b554e3d 100644
--- a/extra/qoauth/PKGBUILD
+++ b/extra/qoauth/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=3
pkgdesc="Support with OAuth-powered network services"
url='http://github.com/ayoy/qoauth'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('qca')
makedepends=('cmake' 'automoc4')
source=("http://files.ayoy.net/qoauth/release/current/src/${pkgname}-${pkgver}-src.tar.bz2")
diff --git a/extra/qpdf/PKGBUILD b/extra/qpdf/PKGBUILD
index 6ba997c51..abde6eacb 100644
--- a/extra/qpdf/PKGBUILD
+++ b/extra/qpdf/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=qpdf
pkgver=3.0.2
pkgrel=1
pkgdesc="QPDF: A Content-Preserving PDF Transformation System"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://qpdf.sourceforge.net/"
license=('custom:Artistic-2.0')
depends=('pcre' 'perl')
diff --git a/extra/qrencode/PKGBUILD b/extra/qrencode/PKGBUILD
index 57315e1fa..4c73ea48f 100644
--- a/extra/qrencode/PKGBUILD
+++ b/extra/qrencode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qrencode
pkgver=3.4.1
pkgrel=1
pkgdesc="C library for encoding data in a QR Code symbol."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
depends=('libpng>=1.5.0')
makedepends=(sdl)
url="http://megaui.net/fukuchi/works/qrencode/index.en.html"
diff --git a/extra/qscintilla/PKGBUILD b/extra/qscintilla/PKGBUILD
index 0935ff4b7..ca14576a1 100644
--- a/extra/qscintilla/PKGBUILD
+++ b/extra/qscintilla/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=('qscintilla' 'python-qscintilla' 'python2-qscintilla'
pkgver=2.6.2
pkgrel=3
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.riverbankcomputing.co.uk/software/qscintilla/intro"
makedepends=('python2-pyqt' 'pyqt' 'chrpath')
source=("http://downloads.sourceforge.net/pyqt/QScintilla-gpl-${pkgver}.tar.gz"
diff --git a/extra/qsynth/PKGBUILD b/extra/qsynth/PKGBUILD
index 3f1c7c379..ef85f7948 100644
--- a/extra/qsynth/PKGBUILD
+++ b/extra/qsynth/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qsynth
pkgver=0.3.6
pkgrel=2
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 74cd0ded2..e8e3b147e 100644
--- a/extra/qt-assistant-compat/PKGBUILD
+++ b/extra/qt-assistant-compat/PKGBUILD
@@ -3,10 +3,10 @@
pkgname=qt-assistant-compat
pkgver=4.6.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="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-gstreamer/PKGBUILD b/extra/qt-gstreamer/PKGBUILD
index c471ccada..b40cbdd56 100644
--- a/extra/qt-gstreamer/PKGBUILD
+++ b/extra/qt-gstreamer/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qt-gstreamer
pkgver=0.10.2
pkgrel=2
pkgdesc="Qt bindings for GStreamer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://gstreamer.freedesktop.org/modules/qt-gstreamer.html'
license=('LGPL2.1')
depends=('qt' 'gstreamer0.10-base' 'libgles')
diff --git a/extra/qt/PKGBUILD b/extra/qt/PKGBUILD
index 77bd108c3..35547aefe 100644
--- a/extra/qt/PKGBUILD
+++ b/extra/qt/PKGBUILD
@@ -6,13 +6,14 @@ pkgbase=qt
pkgname=('qt' 'qt-private-headers')
pkgver=4.8.3
pkgrel=6
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://qt-project.org/'
license=('GPL3' 'LGPL')
makedepends=('libtiff' 'libpng' 'libmng' 'sqlite' 'ca-certificates' 'glib2' 'dbus'
'fontconfig' 'libgl' 'libsm' 'libxrandr' 'libxv' 'libxi' 'alsa-lib'
'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils' 'mesa' 'postgresql-libs'
- 'mysql' 'unixodbc' 'cups' 'gtk2' 'libfbclient')
+ 'mysql' 'unixodbc' 'cups' 'gtk2')
+[ "$CARCH" != "mips64el" ] && makedepends+=('libfbclient')
options=('!libtool')
_pkgfqn="${pkgbase}-everywhere-opensource-src-${pkgver}"
source=("http://releases.qt-project.org/qt4/source/${_pkgfqn}.tar.gz"
@@ -20,6 +21,7 @@ source=("http://releases.qt-project.org/qt4/source/${_pkgfqn}.tar.gz"
'qtconfig.desktop'
'improve-cups-support.patch'
'fix-crash-in-assistant.patch'
+ 'declarative-fix-sigbus.patch'
'disable-ssl-compression.patch'
'fix-qtscript-crash.patch'
'qsortfilterproxymodel.patch')
@@ -30,6 +32,7 @@ md5sums=('a663b6c875f8d7caa8ac9c30e4a4ec3b'
'6b771c8a81dd90b45e8a79afa0e5bbfd'
'c439c7731c25387352d8453ca7574971'
'57590084078b6379f0501f7728b02ae2'
+ 'aac963d05a9d5733e2bfce9e26607f51'
'94e9e433342018bf35e8d6d968b7432c'
'71579422635e9343665de1c1ba5a3f91'
'cd550cd628d10459128ca5f231ca6d3f')
@@ -37,6 +40,9 @@ md5sums=('a663b6c875f8d7caa8ac9c30e4a4ec3b'
build() {
cd ${_pkgfqn}
+ # MIPS N32-specific fix, shouldn't affect correctness on other platforms.
+ patch -Np1 -i "${srcdir}/declarative-fix-sigbus.patch"
+
# (FS#28381) (KDEBUG#180051)
patch -p1 -i "${srcdir}"/improve-cups-support.patch
@@ -55,10 +61,14 @@ build() {
export QT4DIR="${srcdir}"/${_pkgfqn}
export LD_LIBRARY_PATH=${QT4DIR}/lib:${LD_LIBRARY_PATH}
+ [ "${CARCH}" = "mips64el" ] && export CXXFLAGS="${CXXFLAGS} -fpermissive"
+
sed -i "s|-O2|${CXXFLAGS}|" mkspecs/common/{g++,gcc}-base.conf
sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" mkspecs/common/gcc-base-unix.conf
sed -i "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" mkspecs/common/gcc-base.conf
+ [ "$CARCH" != "mips64el" ] && extra="-plugin-sql-ibase"
+
./configure -confirm-license -opensource \
-prefix /usr \
-docdir /usr/share/doc/qt \
@@ -69,7 +79,7 @@ build() {
-sysconfdir /etc/xdg \
-examplesdir /usr/share/doc/qt/examples \
-demosdir /usr/share/doc/qt/demos \
- -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+ -plugin-sql-{psql,mysql,sqlite,odbc} \
-system-sqlite \
-no-phonon \
-no-phonon-backend \
@@ -84,7 +94,8 @@ build() {
-optimized-qmake \
-reduce-relocations \
-dbus-linked \
- -no-openvg
+ -no-openvg \
+ $extra
make
}
@@ -95,9 +106,9 @@ package_qt() {
'xdg-utils' 'hicolor-icon-theme' 'desktop-file-utils')
optdepends=('postgresql-libs: PostgreSQL driver'
'libmysqlclient: MySQL driver'
- 'unixodbc: ODBC driver'
- 'libfbclient: Firebird/iBase driver'
- 'libxinerama: Xinerama support'
+ 'unixodbc: ODBC driver')
+ [ "$CARCH" != "mips64el" ] && optdepends+=('libfbclient: Firebird/iBase driver')
+ optdepends+=('libxinerama: Xinerama support'
'libxcursor: Xcursor support'
'libxfixes: Xfixes support'
'icu: Unicode support')
diff --git a/extra/qt/declarative-fix-sigbus.patch b/extra/qt/declarative-fix-sigbus.patch
new file mode 100644
index 000000000..0d446fce5
--- /dev/null
+++ b/extra/qt/declarative-fix-sigbus.patch
@@ -0,0 +1,33 @@
+--- qt-everywhere-opensource-src-4.8.0.orig/src/declarative/qml/qdeclarativevmemetaobject.cpp 2012-02-04 21:23:56.573395948 +0100
++++ qt-everywhere-opensource-src-4.8.0/src/declarative/qml/qdeclarativevmemetaobject.cpp 2012-02-04 23:32:44.900073230 +0100
+@@ -39,6 +39,7 @@
+ **
+ ****************************************************************************/
+
++#include <cstring>
+ #include "private/qdeclarativevmemetaobject_p.h"
+
+ #include "qdeclarative.h"
+@@ -191,10 +192,12 @@
+
+ double QDeclarativeVMEVariant::asDouble()
+ {
++ double result;
+ if (type != QMetaType::Double)
+ setValue(double(0));
+
+- return *(double *)(dataPtr());
++ std::memcpy(&result, (double *)(dataPtr()), sizeof(result));
++ return result;
+ }
+
+ const QString &QDeclarativeVMEVariant::asQString()
+@@ -298,7 +301,7 @@
+ cleanup();
+ type = QMetaType::Double;
+ }
+- *(double *)(dataPtr()) = v;
++ std::memcpy((double *)(dataPtr()), &v, sizeof(v));
+ }
+
+ void QDeclarativeVMEVariant::setValue(const QString &v)
diff --git a/extra/qt3/PKGBUILD b/extra/qt3/PKGBUILD
index 39c4c5767..220142e06 100644
--- a/extra/qt3/PKGBUILD
+++ b/extra/qt3/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=3.3.8b
pkgrel=2
epoch=1
pkgdesc="The QT3 gui toolkit"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.trolltech.com/products/qt/index.html"
license=('GPL')
depends=('libpng' 'libxmu' 'libxcursor' 'libxinerama' 'glu' 'libxft'
diff --git a/extra/qtiplot/PKGBUILD b/extra/qtiplot/PKGBUILD
index 705e2aa63..8dc4082fa 100644
--- a/extra/qtiplot/PKGBUILD
+++ b/extra/qtiplot/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=qtiplot
pkgver=0.9.8.9
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://soft.proindependent.com/qtiplot.html"
pkgdesc="Data analysis and scientific plotting - free clone of Origin"
depends=('muparser' 'gsl' 'python2-pyqt' 'boost-libs' 'shared-mime-info' 'glu' 'liborigin2' 'qt-assistant-compat' 'tamu-anova')
diff --git a/extra/qtscriptgenerator/PKGBUILD b/extra/qtscriptgenerator/PKGBUILD
index 9ca941734..fd570d20d 100644
--- a/extra/qtscriptgenerator/PKGBUILD
+++ b/extra/qtscriptgenerator/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qtscriptgenerator
pkgver=0.2.0
pkgrel=1
pkgdesc="A tool that generates Qt bindings for Qt Script"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="https://code.google.com/p/qtscriptgenerator/"
license=('GPL')
depends=('qtwebkit')
diff --git a/extra/qtwebkit/PKGBUILD b/extra/qtwebkit/PKGBUILD
index 8c289f466..5f4f6538c 100644
--- a/extra/qtwebkit/PKGBUILD
+++ b/extra/qtwebkit/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=qtwebkit
pkgver=2.2.2
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://trac.webkit.org/wiki/QtWebKit'
pkgdesc='An open source web browser engine (Qt port)'
license=('LGPL2.1' 'GPL3')
@@ -24,6 +24,15 @@ sha1sums=('914d7cc099e5b6181c2d74fc7a74e1b4478b75a4'
build() {
cd "${srcdir}"/${pkgname}-${pkgver}-source
+ if [ "$CARCH" = "mips64el" ]; then
+ # Fix MIPS N32 support.
+ sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
+ Source/JavaScriptCore/wtf/Platform.h
+ # Don't enable JIT even if configure finds that it's not supported.
+ sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \
+ Source/JavaScriptCore/wtf/Platform.h
+ fi
+
patch -p1 -i "${srcdir}"/glibc.patch
patch -p1 -i "${srcdir}"/fix-build.patch
diff --git a/extra/quodlibet/PKGBUILD b/extra/quodlibet/PKGBUILD
index 1f7d87b33..80140f70a 100644
--- a/extra/quodlibet/PKGBUILD
+++ b/extra/quodlibet/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=quodlibet
pkgver=2.4.1
-pkgrel=1
+pkgrel=1.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 41bb7f216..530a9925c 100644
--- a/extra/quota-tools/PKGBUILD
+++ b/extra/quota-tools/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.01
pkgrel=1
epoch=1
pkgdesc="Tools to manage kernel-level quotas in Linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/linuxquota/"
license=('GPL' 'BSD')
depends=('e2fsprogs')
diff --git a/extra/qwt/PKGBUILD b/extra/qwt/PKGBUILD
index 1b53233e4..f55a910f8 100644
--- a/extra/qwt/PKGBUILD
+++ b/extra/qwt/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=qwt
pkgver=6.0.1
pkgrel=3
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 bee6db047..b51d260b8 100644
--- a/extra/qwtplot3d/PKGBUILD
+++ b/extra/qwtplot3d/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=qwtplot3d
pkgver=0.2.7
pkgrel=5
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')
diff --git a/extra/r/PKGBUILD b/extra/r/PKGBUILD
index 0abae945a..ac3dafa31 100644
--- a/extra/r/PKGBUILD
+++ b/extra/r/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=r
pkgver=2.15.1
pkgrel=2
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 56083ae3e..2c9ccd486 100644
--- a/extra/racket/PKGBUILD
+++ b/extra/racket/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=racket
pkgver=5.3.1
pkgrel=1
pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://racket-lang.org/"
license=('LGPL')
depends=('gtk2' 'desktop-file-utils')
diff --git a/extra/raptor/PKGBUILD b/extra/raptor/PKGBUILD
index 477ab5531..a57a39c55 100644
--- a/extra/raptor/PKGBUILD
+++ b/extra/raptor/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=raptor
pkgver=2.0.8
pkgrel=2
pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://librdf.org/raptor"
depends=('curl' 'libxslt' 'icu')
license=('LGPL')
diff --git a/extra/raptor1/PKGBUILD b/extra/raptor1/PKGBUILD
deleted file mode 100644
index 2f579874c..000000000
--- a/extra/raptor1/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 144014 2011-12-01 20:20:30Z andrea $
-# Maintainer:
-# Contributor: Andreas Radke <andyrtr at archlinux.org>
-# Contributor: eric <eric@archlinux.org>
-# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
-
-pkgname=raptor1
-pkgver=1.4.21
-pkgrel=4
-pkgdesc="A C library that parses RDF/XML/N-Triples into RDF triples - old V1 api for compatibility"
-arch=('i686' 'x86_64')
-url="http://librdf.org/raptor"
-depends=('curl' 'libxslt')
-license=('LGPL')
-options=('!libtool' '!docs')
-source=("http://librdf.org/dist/source/raptor-$pkgver.tar.gz"
- 'curl.patch')
-md5sums=('992061488af7a9e2d933df6b694bb876'
- '8fe28761645d6a6607b25c94f9ada964')
-
-build() {
- cd "${srcdir}"/raptor-${pkgver}
- patch -p1 -i "${srcdir}"/curl.patch
-
- ./configure --prefix=/usr \
- --disable-static
- make
-}
-
-package() {
- cd "${srcdir}/raptor-${pkgver}"
- make prefix="${pkgdir}"/usr install
-
- mv "${pkgdir}"/usr/bin/rapper "${pkgdir}"/usr/bin/rapperV1
- rm -f "${pkgdir}"/usr/share/man/man1/rapper.1
-}
diff --git a/extra/raptor1/curl.patch b/extra/raptor1/curl.patch
deleted file mode 100644
index 590140536..000000000
--- a/extra/raptor1/curl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up raptor-1.4.21/src/raptor_internal.h.curl raptor-1.4.21/src/raptor_internal.h
---- raptor-1.4.21/src/raptor_internal.h.curl 2010-01-29 17:54:42.000000000 -0600
-+++ raptor-1.4.21/src/raptor_internal.h 2011-07-31 11:02:44.182465296 -0500
-@@ -852,7 +852,6 @@ int raptor_utf8_is_nfc(const unsigned ch
-
- #ifdef RAPTOR_WWW_LIBCURL
- #include <curl/curl.h>
--#include <curl/types.h>
- #include <curl/easy.h>
- #endif
-
diff --git a/extra/rarian/PKGBUILD b/extra/rarian/PKGBUILD
index f6ddb58b0..ac4dfc1c2 100644
--- a/extra/rarian/PKGBUILD
+++ b/extra/rarian/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=rarian
pkgver=0.8.1
-pkgrel=2
+pkgrel=2.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 f9f68d14c..9cd293b53 100644
--- a/extra/rasqal/PKGBUILD
+++ b/extra/rasqal/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc="A free C library that handles Resource Description Framework (RDF) query syntaxes, query construction and query execution returning result bindings"
url="http://librdf.org/rasqal"
license=('GPL' 'LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('raptor' 'mpfr')
options=('!libtool')
source=(http://download.librdf.org/source/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/ratpoison/PKGBUILD b/extra/ratpoison/PKGBUILD
index b34a91398..ddc2ad4bb 100644
--- a/extra/ratpoison/PKGBUILD
+++ b/extra/ratpoison/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=ratpoison
pkgver=1.4.5
pkgrel=5
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/razor/PKGBUILD b/extra/razor/PKGBUILD
index 1907c778f..cc8afee2a 100644
--- a/extra/razor/PKGBUILD
+++ b/extra/razor/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=razor
pkgver=2.84
pkgrel=7
pkgdesc="A distributed, collaborative, spam detection and filtering network"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://razor.sourceforge.net"
license=('PerlArtistic')
depends=('perl-net-dns' 'perl-digest-sha1' 'perl-uri' 'perl-digest-nilsimsa' 'perl')
diff --git a/extra/rcs/PKGBUILD b/extra/rcs/PKGBUILD
index 425d73d28..89cb246c3 100644
--- a/extra/rcs/PKGBUILD
+++ b/extra/rcs/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Revision Control System: manages multiple revisions of files'
url='http://www.gnu.org/software/rcs/'
license=('GPL3')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://ftpmirror.gnu.org/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('3317a9e0f324a094e48584831e1b23852f907af9')
diff --git a/extra/rdesktop/PKGBUILD b/extra/rdesktop/PKGBUILD
index d47f37bf7..a61a3ab7f 100644
--- a/extra/rdesktop/PKGBUILD
+++ b/extra/rdesktop/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=rdesktop
pkgver=1.7.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="An open source client for Windows Remote Desktop Services"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.rdesktop.org/"
license=('GPL3')
depends=('libx11' 'openssl' 'libao' 'libsamplerate')
diff --git a/extra/re-alpine/PKGBUILD b/extra/re-alpine/PKGBUILD
index 92043c7a3..f50eaaf1a 100644
--- a/extra/re-alpine/PKGBUILD
+++ b/extra/re-alpine/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=re-alpine
pkgver=2.02
pkgrel=3
pkgdesc="The continuation of the Alpine email client from University of Washington"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/re-alpine/"
license=('APACHE')
depends=('libldap' 'krb5')
diff --git a/extra/re2c/PKGBUILD b/extra/re2c/PKGBUILD
index 70720e6cf..c1191ee62 100644
--- a/extra/re2c/PKGBUILD
+++ b/extra/re2c/PKGBUILD
@@ -5,8 +5,8 @@
pkgname=re2c
pkgver=0.13.5
-pkgrel=3
-arch=('i686' 'x86_64')
+pkgrel=3.1
+arch=('i686' 'x86_64' 'mips64el')
depends=('gcc-libs')
pkgdesc="A tool for generating C-based recognizers from regular expressions"
url="http://re2c.sourceforge.net/"
diff --git a/extra/recode/PKGBUILD b/extra/recode/PKGBUILD
index ffa636c60..4dd53dbb7 100644
--- a/extra/recode/PKGBUILD
+++ b/extra/recode/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=recode
pkgver=3.6
pkgrel=7
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')
@@ -27,6 +27,9 @@ build() {
patch -Np1 -i ${srcdir}/recode_3.6-15.diff
sed -i '1i#include <stdlib.h>' src/argmatch.c
rm -f acinclude.m4
+ # "automatic de-ANSI-fication support has been removed"
+ sed -i '/AM_C_PROTOTYPES/d' configure.in
+ sed -i 's/ ansi2knr//' src/Makefile.am
autoreconf -fi
libtoolize
./configure --prefix=/usr --mandir=/usr/share/man \
diff --git a/extra/redland/PKGBUILD b/extra/redland/PKGBUILD
index 2b6db16bd..d3d4f093c 100644
--- a/extra/redland/PKGBUILD
+++ b/extra/redland/PKGBUILD
@@ -6,10 +6,10 @@ pkgbase=redland
epoch=1
pkgname=('redland' 'redland-storage-mysql' 'redland-storage-postgresql' 'redland-storage-virtuoso' 'redland-storage-sqlite')
pkgver=1.0.15
-pkgrel=3
+pkgrel=3.2
url="http://librdf.org/"
license=("GPL")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('rasqal>=0.9.28' 'raptor>=2.0.6' 'db>=5.3' 'postgresql-libs' 'libmysqlclient' 'unixodbc' 'sqlite3')
options=('!libtool')
source=(http://download.librdf.org/source/$pkgname-$pkgver.tar.gz{,.asc}
diff --git a/extra/rest/PKGBUILD b/extra/rest/PKGBUILD
index 09fe7e183..0667874d2 100644
--- a/extra/rest/PKGBUILD
+++ b/extra/rest/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=rest
pkgver=0.7.90
pkgrel=1
pkgdesc="A helper library for RESTful services."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
license=('GPL2')
depends=('glib2' 'libxml2' 'libsoup-gnome')
diff --git a/extra/rhythmbox/PKGBUILD b/extra/rhythmbox/PKGBUILD
index 4ee0514ca..4a7101d97 100644
--- a/extra/rhythmbox/PKGBUILD
+++ b/extra/rhythmbox/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rhythmbox
pkgver=2.98
pkgrel=4
pkgdesc="An iTunes-like music playback and management application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.rhythmbox.org"
depends=('dconf' 'desktop-file-utils' 'gstreamer0.10-base-plugins'
diff --git a/extra/rosegarden/PKGBUILD b/extra/rosegarden/PKGBUILD
index 8f73ae5a2..5eb884c14 100644
--- a/extra/rosegarden/PKGBUILD
+++ b/extra/rosegarden/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=rosegarden
pkgver=12.04
pkgrel=2
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 d9bffafe2..e852a9f96 100644
--- a/extra/rox/PKGBUILD
+++ b/extra/rox/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rox
pkgver=2.11
pkgrel=1
pkgdesc="A small and fast file manager which can optionally manage the desktop background and panels"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://roscidus.com/desktop/"
depends=('sh' 'libsm' 'gtk2')
diff --git a/extra/rrdtool/PKGBUILD b/extra/rrdtool/PKGBUILD
index ae45fdf62..9d8e0ed75 100644
--- a/extra/rrdtool/PKGBUILD
+++ b/extra/rrdtool/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=rrdtool
pkgver=1.4.7
pkgrel=2
pkgdesc="Data logging and graphing application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.rrdtool.org"
license=('GPL' 'custom')
depends=('libxml2' 'pango' 'ttf-dejavu')
diff --git a/extra/rssh/PKGBUILD b/extra/rssh/PKGBUILD
deleted file mode 100644
index 477c6fcdf..000000000
--- a/extra/rssh/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 164390 2012-08-01 04:02:33Z bisson $
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
-# Maintainer: Gaetan Bisson <bisson@archlinux.org>
-
-pkgname=rssh
-pkgver=2.3.3
-pkgrel=4
-pkgdesc='Restricted shell for use with OpenSSH, allowing only scp and/or sftp'
-url='http://www.pizzashack.org/rssh/'
-license=('custom:rssh')
-arch=('i686' 'x86_64')
-backup=('etc/rssh.conf')
-depends=('openssh')
-source=("http://downloads.sourceforge.net/sourceforge/rssh/rssh-${pkgver}.tar.gz"
- 'env-breach.patch'
- 'destdir.patch'
- 'rsync.patch')
-sha1sums=('0a6dd80b5e6059e0db12c9f1276121dd966b610a'
- '434712f82f24c60834a10142ca5c49b8a57555a7'
- '85bd1694decae5872cbeeafd578b147eb13313c6'
- '86564eab4493f4b4502a022e5938babb31450a00')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- patch -p1 -i ../env-breach.patch # FS#30950
- patch -p1 -i ../rsync.patch # FS#21783
- patch -p1 -i ../destdir.patch
-
- ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib/rssh \
- --mandir=/usr/share/man \
- --sysconfdir=/etc \
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/rssh/LICENSE
-}
diff --git a/extra/rssh/destdir.patch b/extra/rssh/destdir.patch
deleted file mode 100644
index 90fa03e6d..000000000
--- a/extra/rssh/destdir.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -aur old//Makefile.am new//Makefile.am
---- old//Makefile.am 2006-12-21 23:22:37.000000000 +0100
-+++ new//Makefile.am 2010-11-25 18:15:29.253376150 +0100
-@@ -16,7 +16,7 @@
- $(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
-
- install-exec-hook:
-- chmod u+s $(libexecdir)/rssh_chroot_helper
-+ chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
-
- rpm: dist
- rpmbuild -ta --sign $(base).tar.gz
-diff -aur old//Makefile.in new//Makefile.in
---- old//Makefile.in 2010-08-01 15:59:54.000000000 +0200
-+++ new//Makefile.in 2010-11-25 18:15:29.253376150 +0100
-@@ -830,7 +830,7 @@
- $(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
-
- install-exec-hook:
-- chmod u+s $(libexecdir)/rssh_chroot_helper
-+ chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
-
- rpm: dist
- rpmbuild -ta --sign $(base).tar.gz
diff --git a/extra/rssh/env-breach.patch b/extra/rssh/env-breach.patch
deleted file mode 100644
index e9193c7bd..000000000
--- a/extra/rssh/env-breach.patch
+++ /dev/null
@@ -1,228 +0,0 @@
---- rssh-2.3.3/main.c.in 2010-08-01 15:43:30.000000000 -0400
-+++ rssh-2.3.3/main.c.in 2012-05-11 16:44:39.000000000 -0400
-@@ -184,7 +184,7 @@
- * determine if the command in cmdline is acceptable to run, and store
- * name of program to exec in cmd
- */
-- if ( !(*cmd = check_command_line(cmdline, opts)) ) return NULL;
-+ if ( !(*cmd = get_command(cmdline, opts)) ) return NULL;
-
- /* if we need to do chroot processing, do it */
- if ( opts->shell_flags & RSSH_USE_CHROOT ){
-@@ -252,7 +252,9 @@
- }
-
- /* return vector of pointers to command line arguments */
-- return build_arg_vector(cmdline, 0);
-+ argvec = build_arg_vector(cmdline, 0);
-+ if (check_command_line(argvec, opts)) return argvec;
-+ else return NULL;
- }
-
- void vers_info( void )
---- rssh-2.3.3/util.c 2010-08-01 09:07:00.000000000 -0400
-+++ rssh-2.3.3/util.c 2012-05-11 16:43:10.000000000 -0400
-@@ -106,7 +106,7 @@
- /* print error message to user and log attempt */
- fprintf(stderr, "\nThis account is restricted by rssh.\n"
- "%s\n\nIf you believe this is in error, please contact "
-- "your system administrator.\n\n", cmd);
-+ "your system administrator.\n\n", cmd);
- if ( argc < 3 )
- log_msg("user %s attempted to log in with a shell",
- username);
-@@ -132,31 +132,35 @@
- */
- bool opt_exist(char *cl, char opt)
- {
-- int i = 0;
-+ int i = 1;
- int len;
-- char *token;
-- bool optstring = FALSE;
--
-
- len = strlen(cl);
-
- /* process command line character by character */
-- while ( i < (len - 2) ){
-- if ( cl[i] == ' ' || cl[i] == '\t' ){
-- if ( cl[i+1] == '-' ){
-- optstring = TRUE;
-- i+=2;
-- }
-- }
-- if ( cl[i] == opt && optstring ) return TRUE;
-- if ( cl[i] == ' ' || cl[i] == '\t' || cl[i] == '-' )
-- optstring = FALSE;
-+ if (!(cl[0] == '-')) return FALSE;
-+ while ( i < (len) ){
-+ if ( cl[i] == opt ) return TRUE;
- i++;
- }
- return FALSE;
- }
-
-
-+bool opt_filter(char **vec, const char opt)
-+{
-+ while (vec && *vec){
-+ if (opt_exist(*vec, opt)){
-+ fprintf(stderr, "\nillegal insecure %c option", opt);
-+ log_msg("insecure %c option in scp command line!", opt);
-+ return TRUE;
-+ }
-+ vec++;
-+ }
-+ return FALSE;
-+}
-+
-+
- bool check_command( char *cl, ShellOptions_t *opts, char *cmd, int cmdflag )
- {
- int cl_len; /* length of command line */
-@@ -186,69 +190,78 @@
- return FALSE;
- }
-
-+
- /*
- * check_command_line() - take the command line passed to rssh, and verify
-- * that the specified command is one the user is
-- * allowed to run. Return the path of the command
-- * which will be run if it is ok, or return NULL if it
-- * is not.
-+ * that the specified command is one the user is
-+ * allowed to run and validate the arguments. Return the
-+ * path of the command which will be run if it is ok, or
-+ * return NULL if it is not.
- */
--char *check_command_line( char *cl, ShellOptions_t *opts )
-+char *check_command_line( char **cl, ShellOptions_t *opts )
- {
-
-- if ( check_command(cl, opts, PATH_SFTP_SERVER, RSSH_ALLOW_SFTP) )
-+ if ( check_command(*cl, opts, PATH_SFTP_SERVER, RSSH_ALLOW_SFTP) )
- return PATH_SFTP_SERVER;
-
-- if ( check_command(cl, opts, PATH_SCP, RSSH_ALLOW_SCP) ){
-+ if ( check_command(*cl, opts, PATH_SCP, RSSH_ALLOW_SCP) ){
- /* filter -S option */
-- if ( opt_exist(cl, 'S') ){
-- fprintf(stderr, "\ninsecure -S option not allowed.");
-- log_msg("insecure -S option in scp command line!");
-- return NULL;
-- }
-+ if ( opt_filter(cl, 'S') ) return NULL;
- return PATH_SCP;
- }
-
-- if ( check_command(cl, opts, PATH_CVS, RSSH_ALLOW_CVS) ){
-- if ( opt_exist(cl, 'e') ){
-- fprintf(stderr, "\ninsecure -e option not allowed.");
-- log_msg("insecure -e option in cvs command line!");
-- return NULL;
-- }
-+ if ( check_command(*cl, opts, PATH_CVS, RSSH_ALLOW_CVS) ){
-+ if ( opt_filter(cl, 'e') ) return NULL;
- return PATH_CVS;
- }
-
-- if ( check_command(cl, opts, PATH_RDIST, RSSH_ALLOW_RDIST) ){
-+ if ( check_command(*cl, opts, PATH_RDIST, RSSH_ALLOW_RDIST) ){
- /* filter -P option */
-- if ( opt_exist(cl, 'P') ){
-- fprintf(stderr, "\ninsecure -P option not allowed.");
-- log_msg("insecure -P option in rdist command line!");
-- return NULL;
-- }
-+ if ( opt_filter(cl, 'P') ) return NULL;
- return PATH_RDIST;
- }
-
-- if ( check_command(cl, opts, PATH_RSYNC, RSSH_ALLOW_RSYNC) ){
-+ if ( check_command(*cl, opts, PATH_RSYNC, RSSH_ALLOW_RSYNC) ){
- /* filter -e option */
-- if ( opt_exist(cl, 'e') ){
-- fprintf(stderr, "\ninsecure -e option not allowed.");
-- log_msg("insecure -e option in rdist command line!");
-- return NULL;
-- }
--
-- if ( strstr(cl, "--rsh=" ) ){
-- fprintf(stderr, "\ninsecure --rsh= not allowed.");
-- log_msg("insecure --rsh option in rsync command line!");
-- return NULL;
-+ if ( opt_filter(cl, 'e') ) return NULL;
-+ while (cl && *cl){
-+ if ( strstr(*cl, "--rsh=" ) ){
-+ fprintf(stderr, "\ninsecure --rsh= not allowed.");
-+ log_msg("insecure --rsh option in rsync command line!");
-+ return NULL;
-+ }
- }
--
- return PATH_RSYNC;
- }
-+ /* No match, return NULL */
-+ return NULL;
-+}
-+
-+
-+/*
-+ * get_command() - take the command line passed to rssh, and verify
-+ * that the specified command is one the user is allowed to run.
-+ * Return the path of the command which will be run if it is ok,
-+ * or return NULL if it is not.
-+ */
-+char *get_command( char *cl, ShellOptions_t *opts )
-+{
-
-+ if ( check_command(cl, opts, PATH_SFTP_SERVER, RSSH_ALLOW_SFTP) )
-+ return PATH_SFTP_SERVER;
-+ if ( check_command(cl, opts, PATH_SCP, RSSH_ALLOW_SCP) )
-+ return PATH_SCP;
-+ if ( check_command(cl, opts, PATH_CVS, RSSH_ALLOW_CVS) )
-+ return PATH_CVS;
-+ if ( check_command(cl, opts, PATH_RDIST, RSSH_ALLOW_RDIST) )
-+ return PATH_RDIST;
-+ if ( check_command(cl, opts, PATH_RSYNC, RSSH_ALLOW_RSYNC) )
-+ return PATH_RSYNC;
- return NULL;
- }
-
-
-+
- /*
- * extract_root() - takes a root directory and the full path to some other
- * directory, and returns a pointer to a string which
-@@ -264,7 +277,7 @@
- len = strlen(root);
- /* get rid of a trailing / from the root path */
- if ( root[len - 1] == '/' ){
-- root[len - 1] = '\0';
-+ root[len - 1] = '\0';
- len--;
- }
- if ( (strncmp(root, path, len)) ) return NULL;
-@@ -309,7 +322,7 @@
- * same name, and returns FALSE if the bits are not valid
- */
- int validate_access( const char *temp, bool *allow_sftp, bool *allow_scp,
-- bool *allow_cvs, bool *allow_rdist, bool *allow_rsync )
-+ bool *allow_cvs, bool *allow_rdist, bool *allow_rsync )
- {
- int i;
-
---- rssh-2.3.3/util.h 2006-12-21 17:22:38.000000000 -0500
-+++ rssh-2.3.3/util.h 2012-05-11 16:21:12.000000000 -0400
-@@ -33,7 +33,8 @@
- #include "rsshconf.h"
-
- void fail( int flags, int argc, char **argv );
--char *check_command_line( char *cl, ShellOptions_t *opts );
-+char *check_command_line( char **cl, ShellOptions_t *opts );
-+char *get_command( char *cl, ShellOptions_t *opts);
- char *extract_root( char *root, char *path );
- int validate_umask( const char *temp, int *mask );
- int validate_access( const char *temp, bool *allow_sftp, bool *allow_scp,
diff --git a/extra/rssh/rsync.patch b/extra/rssh/rsync.patch
deleted file mode 100644
index 7d0a51195..000000000
--- a/extra/rssh/rsync.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff -Naur old/util.c new/util.c
---- old/util.c 2012-08-01 13:48:47.803620731 +1000
-+++ new/util.c 2012-08-01 13:55:13.622614598 +1000
-@@ -56,6 +56,7 @@
- #ifdef HAVE_LIBGEN_H
- #include <libgen.h>
- #endif /* HAVE_LIBGEN_H */
-+#include <regex.h>
-
- /* LOCAL INCLUDES */
- #include "pathnames.h"
-@@ -192,6 +193,33 @@
-
-
- /*
-+ * check_rsync_e() - take the command line passed to rssh and look for a -e
-+ * option. If one is found, make sure --server is provided
-+ * and the option contains only the protocol information.
-+ * Returns 1 if the command line is safe; 0 otherwise.
-+ */
-+static int check_rsync_e( char *cl )
-+{
-+ int status;
-+ regex_t re;
-+
-+ /*
-+ * This is more complicated than it looks because we don't want to
-+ * trigger on the e in --server, but we do want to catch the common
-+ * case of -ltpre.iL (which contains -e.).
-+ */
-+ static const char pattern[] = "[ \t\v\f]-([^-][^ ]*)?e[^.0-9]";
-+
-+ if ( strstr(cl, "--server") == NULL ) return 0;
-+ if ( regcomp(&re, pattern, REG_EXTENDED | REG_NOSUB) != 0 ){
-+ return 0;
-+ }
-+ status = regexec(&re, cl, 0, NULL, 0);
-+ regfree(&re);
-+ return (status == 0) ? 0 : 1;
-+}
-+
-+/*
- * check_command_line() - take the command line passed to rssh, and verify
- * that the specified command is one the user is
- * allowed to run and validate the arguments. Return the
-@@ -211,7 +239,7 @@
- }
-
- if ( check_command(*cl, opts, PATH_CVS, RSSH_ALLOW_CVS) ){
-- if ( opt_filter(cl, 'e') ) return NULL;
-+ if ( opt_filter(cl, 'e') && !check_rsync_e(cl) ) return NULL;
- return PATH_CVS;
- }
-
diff --git a/extra/rsync/PKGBUILD b/extra/rsync/PKGBUILD
index bfa7063cd..8e4f3b160 100644
--- a/extra/rsync/PKGBUILD
+++ b/extra/rsync/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=rsync
pkgver=3.0.9
pkgrel=5
pkgdesc="A file transfer program to keep remote files in sync"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://samba.anu.edu.au/rsync/"
license=('GPL3')
depends=('perl')
diff --git a/extra/rtkit/PKGBUILD b/extra/rtkit/PKGBUILD
index fc847495c..debe6ffc0 100644
--- a/extra/rtkit/PKGBUILD
+++ b/extra/rtkit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rtkit
pkgver=0.11
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..41865f74b 100644
--- a/extra/rtmpdump/PKGBUILD
+++ b/extra/rtmpdump/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=rtmpdump
pkgver=2.4
-pkgrel=1
+pkgrel=1.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 9cf4c07d1..e20c734a1 100644
--- a/extra/rubberband/PKGBUILD
+++ b/extra/rubberband/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=rubberband
pkgver=1.7.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 4a1e736ae..d85340e58 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=('ruby' 'ruby-docs')
pkgver=1.9.3_p327
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.ruby-lang.org/en/'
license=('BSD' 'custom')
makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml')
diff --git a/extra/samba/PKGBUILD b/extra/samba/PKGBUILD
index e53769d6a..b47b62c82 100644
--- a/extra/samba/PKGBUILD
+++ b/extra/samba/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=3.6.9
# misconstrues as alpha, beta, etc. Bad samba!
_realver=3.6.9
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' 'gamin' 'gnutls>=2.4.1' 'talloc' 'tdb')
diff --git a/extra/sane-frontends/PKGBUILD b/extra/sane-frontends/PKGBUILD
index fffa95d0a..99d7a9ee5 100644
--- a/extra/sane-frontends/PKGBUILD
+++ b/extra/sane-frontends/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sane-frontends
pkgver=1.0.14
pkgrel=6
pkgdesc="A set of frontends for SANE."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.sane-project.org"
license=('GPL')
depends=('sane' 'gimp' 'libjpeg>=7')
diff --git a/extra/sane/PKGBUILD b/extra/sane/PKGBUILD
index 8d7c425ac..f7ab7c6b4 100644
--- a/extra/sane/PKGBUILD
+++ b/extra/sane/PKGBUILD
@@ -6,10 +6,10 @@
pkgname=sane
pkgver=1.0.23
-pkgrel=1
+pkgrel=1.1
pkgdesc="Scanner Access Now Easy"
url="http://www.sane-project.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libtiff>=4.0.0' 'libgphoto2>=2.4.7-2' 'libjpeg>=8' 'libusb-compat' 'libcups' 'libieee1284' 'v4l-utils' 'avahi' 'bash' 'net-snmp')
makedepends=('texlive-latexextra')
diff --git a/extra/sbc/PKGBUILD b/extra/sbc/PKGBUILD
index 70a61c17b..76425d8ab 100644
--- a/extra/sbc/PKGBUILD
+++ b/extra/sbc/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sbc
pkgver=1.0
pkgrel=1
pkgdesc="Bluetooth Subband Codec (SBC) library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.bluez.org/"
license=('GPL' 'LGPL')
depends=('glibc')
diff --git a/extra/sbcl/PKGBUILD b/extra/sbcl/PKGBUILD
index 106458f31..da4d87cc5 100644
--- a/extra/sbcl/PKGBUILD
+++ b/extra/sbcl/PKGBUILD
@@ -9,11 +9,13 @@ pkgver=1.1.1
pkgrel=2
pkgdesc="Steel Bank Common Lisp"
url="http://www.sbcl.org/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('glibc' 'zlib')
provides=('common-lisp' 'cl-asdf')
makedepends=('sbcl' 'texinfo')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('clisp' 'texinfo')
install=sbcl.install
source=("http://downloads.sourceforge.net/project/sbcl/sbcl/$pkgver/$pkgname-$pkgver-source.tar.bz2"
"arch-fixes.lisp")
@@ -40,7 +42,11 @@ build() {
(disable :largefile)))
EOF
- sh make.sh sbcl
+ if [ "$CARCH" = "mips64el" ]; then
+ sh make.sh clisp
+ else
+ sh make.sh sbcl
+ fi
make -C doc/manual info
}
diff --git a/extra/sbcl/mips-arch.h.diff b/extra/sbcl/mips-arch.h.diff
new file mode 100644
index 000000000..4f593aa83
--- /dev/null
+++ b/extra/sbcl/mips-arch.h.diff
@@ -0,0 +1,20 @@
+--- sbcl-1.0.49.orig/src/runtime/mips-arch.h 2011-06-25 16:13:44.103101571 +0200
++++ sbcl-1.0.49/src/runtime/mips-arch.h 2011-06-25 16:14:31.279501569 +0200
+@@ -1,6 +1,8 @@
+ #ifndef _MIPS_ARCH_H
+ #define _MIPS_ARCH_H
+
++/* For lose. */
++#include "interr.h"
+
+ static inline void
+ get_spinlock(volatile lispobj *word, long value)
+@@ -31,7 +33,7 @@
+ [__new] "r" (value)
+ : "memory");
+
+- if (!cmp)
++ if (!__cmp)
+ lose("recursive get_spinlock: 0x%x,%d\n", word, value);
+ #else /* LISP_FEATURE_SB_THREAD */
+ *word=value;
diff --git a/extra/schedtool/PKGBUILD b/extra/schedtool/PKGBUILD
index 2987ec6ca..de61c6efe 100644
--- a/extra/schedtool/PKGBUILD
+++ b/extra/schedtool/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=schedtool
pkgver=1.3.0
pkgrel=2
pkgdesc="Query or alter a process' scheduling policy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://freequaos.host.sk/schedtool/"
license=('GPL')
source=(http://freequaos.host.sk/schedtool/$pkgname-$pkgver.tar.bz2)
diff --git a/extra/schroedinger/PKGBUILD b/extra/schroedinger/PKGBUILD
index 7a8e01134..d11443041 100644
--- a/extra/schroedinger/PKGBUILD
+++ b/extra/schroedinger/PKGBUILD
@@ -4,9 +4,9 @@
# Contributor: rabyte <rabyte__gmail>
pkgname=schroedinger
pkgver=1.0.11
-pkgrel=1
+pkgrel=1.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.1' 'MPL' 'MIT')
depends=('orc' 'gcc-libs')
diff --git a/extra/scim-anthy/PKGBUILD b/extra/scim-anthy/PKGBUILD
index 08dfac7cc..ea6422191 100644
--- a/extra/scim-anthy/PKGBUILD
+++ b/extra/scim-anthy/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.2.7
pkgrel=3
_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 c9e01f6f7..be143ae81 100644
--- a/extra/scim-chewing/PKGBUILD
+++ b/extra/scim-chewing/PKGBUILD
@@ -10,10 +10,10 @@ pkgdesc='Traditional Chinese input method module for SCIM'
url='http://chewing.csie.net/'
license=('GPL')
options=('!libtool')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('intltool')
depends=('scim' 'libchewing')
-source=("http://chewing.csie.net/download/scim/${pkgname}-${pkgver}.tar.bz2")
+source=("https://github.com/downloads/chewing/scim-chewing/scim-chewing-${pkgver}.tar.bz2")
sha1sums=('f6c8d16f19f17449ee169f1ca787350353e93b05')
build() {
diff --git a/extra/scim-hangul/PKGBUILD b/extra/scim-hangul/PKGBUILD
index b5e08cac0..7b7631e83 100644
--- a/extra/scim-hangul/PKGBUILD
+++ b/extra/scim-hangul/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Korean input method module for SCIM'
url='http://www.scim-im.org/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libhangul' 'scim')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz"
diff --git a/extra/scim-hangul/unistd.patch b/extra/scim-hangul/unistd.patch
new file mode 100644
index 000000000..44ee7331c
--- /dev/null
+++ b/extra/scim-hangul/unistd.patch
@@ -0,0 +1,11 @@
+diff -ru scim-hangul-0.3.2.orig/src/scim_hangul_imengine.cpp scim-hangul-0.3.2/src/scim_hangul_imengine.cpp
+--- scim-hangul-0.3.2.orig/src/scim_hangul_imengine.cpp 2012-08-05 17:49:59.369710152 +0200
++++ scim-hangul-0.3.2/src/scim_hangul_imengine.cpp 2012-08-05 17:50:16.401614147 +0200
+@@ -34,6 +34,7 @@
+ #endif
+
+ #include <cstring>
++#include <unistd.h>
+ #include <scim.h>
+ #include "scim_hangul_imengine.h"
+
diff --git a/extra/scim-m17n/PKGBUILD b/extra/scim-m17n/PKGBUILD
index 7938e7768..8e52e1311 100644
--- a/extra/scim-m17n/PKGBUILD
+++ b/extra/scim-m17n/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc='Multilingual input method module for SCIM'
url='http://www.scim-im.org/'
license=('GPL')
options=('!libtool')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('scim' 'm17n-lib')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz")
sha1sums=('96172846eaa211d2bde0f76184990d13e5ecdaea')
diff --git a/extra/scim-pinyin/PKGBUILD b/extra/scim-pinyin/PKGBUILD
index 0364e310d..905db2a4c 100644
--- a/extra/scim-pinyin/PKGBUILD
+++ b/extra/scim-pinyin/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.5.92
pkgrel=1
pkgdesc='Chinese pinyin input for SCIM'
url='http://www.scim-im.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('scim')
options=('!libtool')
diff --git a/extra/scim-tables/PKGBUILD b/extra/scim-tables/PKGBUILD
index 0460dce28..91591a9c5 100644
--- a/extra/scim-tables/PKGBUILD
+++ b/extra/scim-tables/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=0.5.11
pkgrel=1
pkgdesc='Generic table input method module for SCIM'
url='http://www.scim-im.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('scim')
options=('!libtool')
diff --git a/extra/scim-uim/PKGBUILD b/extra/scim-uim/PKGBUILD
index 0edb9b433..0a5f38545 100644
--- a/extra/scim-uim/PKGBUILD
+++ b/extra/scim-uim/PKGBUILD
@@ -10,7 +10,7 @@ url='http://www.scim-im.org/'
license=('GPL')
options=('!libtool')
depends=('scim' 'uim')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/sourceforge/scim/${pkgname}-${pkgver}.tar.gz"
'fix-gcc43-build.patch'
'uim-1.5.5-header.patch')
diff --git a/extra/scim/PKGBUILD b/extra/scim/PKGBUILD
index 0a1eeaed2..571f37fdc 100644
--- a/extra/scim/PKGBUILD
+++ b/extra/scim/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc='Input method user interface and development platform'
url='http://www.scim-im.org/projects/scim'
license=('LGPL')
options=('!libtool')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('intltool')
depends=('libltdl' 'gtk2')
backup=('etc/scim/config' 'etc/scim/global')
diff --git a/extra/screen/PKGBUILD b/extra/screen/PKGBUILD
index efeddd0c7..a152626c5 100644
--- a/extra/screen/PKGBUILD
+++ b/extra/screen/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=4.0.3
pkgrel=15
_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 50e733eb0..d64942b22 100644
--- a/extra/scribus/PKGBUILD
+++ b/extra/scribus/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=scribus
pkgver=1.4.1
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 84bca3aa8..e65b2eec2 100644
--- a/extra/scrot/PKGBUILD
+++ b/extra/scrot/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=scrot
pkgver=0.8
-pkgrel=5
+pkgrel=5.1
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
deleted file mode 100644
index b325b36ad..000000000
--- a/extra/scummvm/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 160951 2012-06-07 12:29:27Z juergen $
-# Maintainer: juergen <juergen@archlinux.org>
-# Contributor: Manolis Tzanidakis, Petter Gundersen
-
-pkgname=scummvm
-pkgver=1.4.1
-pkgrel=2
-pkgdesc="A 'virtual machine' for several classic graphical point-and-click adventure games."
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.scummvm.org/"
-depends=('libmad' 'sdl' 'fluidsynth' 'flac' 'faad2' 'libvorbis' 'libmad')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('aa094c2224aad22d5340a1d2d919c883')
-
-build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
- ./configure --disable-debug \
- --enable-release \
- --prefix=/usr
- make
-}
-
-package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
- make DESTDIR=$startdir/pkg install
- install -Dm644 dists/${pkgname}.desktop \
- "${pkgdir}"/usr/share/applications/${pkgname}.desktop
-}
diff --git a/extra/sdl_gfx/PKGBUILD b/extra/sdl_gfx/PKGBUILD
index 6da6577b7..1fd94b0fe 100644
--- a/extra/sdl_gfx/PKGBUILD
+++ b/extra/sdl_gfx/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=sdl_gfx
pkgver=2.0.24
-pkgrel=1
+pkgrel=1.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"
@@ -18,7 +18,7 @@ md5sums=('838514185ff9a3b6377760aaa52fef8a')
build() {
cd SDL_gfx-${pkgver}
- if [ "${CARCH}" == "x86_64" ]; then
+ if [ "${CARCH}" != "i686" ]; then
./configure --prefix=/usr --disable-mmx
else
./configure --prefix=/usr
diff --git a/extra/sdl_image/PKGBUILD b/extra/sdl_image/PKGBUILD
index 3f5fefb58..1c5aa97c8 100644
--- a/extra/sdl_image/PKGBUILD
+++ b/extra/sdl_image/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=sdl_image
pkgver=1.2.12
-pkgrel=2
+pkgrel=2.1
pkgdesc="A simple library to load images of various formats as SDL surfaces"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('sdl>=1.2.13' 'libpng' 'libjpeg>=7' 'libtiff' 'zlib')
options=('!libtool')
diff --git a/extra/sdl_mixer/PKGBUILD b/extra/sdl_mixer/PKGBUILD
index 626d40169..56fb59859 100644
--- a/extra/sdl_mixer/PKGBUILD
+++ b/extra/sdl_mixer/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=sdl_mixer
pkgver=1.2.12
pkgrel=3
pkgdesc="A simple multi-channel audio mixer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.libsdl.org/projects/SDL_mixer/"
license=('custom')
depends=('sdl>=1.2.12' 'libvorbis' 'libmikmod' 'smpeg')
diff --git a/extra/sdl_net/PKGBUILD b/extra/sdl_net/PKGBUILD
index 76605a50f..46c98b692 100644
--- a/extra/sdl_net/PKGBUILD
+++ b/extra/sdl_net/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=sdl_net
pkgver=1.2.8
-pkgrel=1
+pkgrel=1.1
pkgdesc="A small sample cross-platform networking library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.libsdl.org/projects/SDL_net/"
depends=('sdl')
diff --git a/extra/sdl_pango/PKGBUILD b/extra/sdl_pango/PKGBUILD
index 2587f1ed1..5054152d2 100644
--- a/extra/sdl_pango/PKGBUILD
+++ b/extra/sdl_pango/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdl_pango
pkgver=0.1.2
pkgrel=4
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 ae9858fe5..ad57a55b4 100644
--- a/extra/sdl_sound/PKGBUILD
+++ b/extra/sdl_sound/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sdl_sound
pkgver=1.0.3
pkgrel=4
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 02a4649f5..7b9d66097 100644
--- a/extra/sdl_ttf/PKGBUILD
+++ b/extra/sdl_ttf/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sdl_ttf
pkgver=2.0.11
pkgrel=2
pkgdesc="A library that allows you to use TrueType fonts in your SDL applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.libsdl.org/projects/SDL_ttf/"
depends=('sdl>=1.2.12' 'freetype2')
diff --git a/extra/seahorse/10_gpgme_keyring_finalize_typo.patch b/extra/seahorse/10_gpgme_keyring_finalize_typo.patch
new file mode 100644
index 000000000..86e9e23c3
--- /dev/null
+++ b/extra/seahorse/10_gpgme_keyring_finalize_typo.patch
@@ -0,0 +1,21 @@
+From 5286af2304b3a59a2deeb508433c13d96fe2287c Mon Sep 17 00:00:00 2001
+From: Stef Walter <stefw@gnome.org>
+Date: Mon, 30 Apr 2012 18:29:42 +0000
+Subject: Fix typo in finalizing of GPGME keyring
+
+---
+diff --git a/pgp/seahorse-gpgme-keyring.c b/pgp/seahorse-gpgme-keyring.c
+index 79ff39b..579ab09 100644
+--- a/pgp/seahorse-gpgme-keyring.c
++++ b/pgp/seahorse-gpgme-keyring.c
+@@ -859,7 +859,7 @@ seahorse_gpgme_keyring_finalize (GObject *object)
+ {
+ SeahorseGpgmeKeyring *self = SEAHORSE_GPGME_KEYRING (object);
+
+- g_clear_object (self->pv->actions);
++ g_clear_object (&self->pv->actions);
+ g_hash_table_destroy (self->pv->keys);
+
+ /* All monitoring and scheduling should be done */
+--
+cgit v0.9.0.2
diff --git a/extra/seahorse/PKGBUILD b/extra/seahorse/PKGBUILD
index b671685ce..cadce200e 100644
--- a/extra/seahorse/PKGBUILD
+++ b/extra/seahorse/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=seahorse
pkgver=3.6.3
pkgrel=1
pkgdesc="GNOME application for managing PGP keys."
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=(GPL)
url="http://projects.gnome.org/seahorse/"
depends=(gtk3 gcr libsecret libsoup gpgme desktop-file-utils hicolor-icon-theme dconf)
@@ -24,6 +24,10 @@ sha256sums=('9b712da1989725547a8093e638725ee6de74d7870661545a15374c7ebf335cc1'
build() {
cd "$pkgname-$pkgver"
+
+ # From Debian.
+ patch -p1 -i "$srcdir/10_gpgme_keyring_finalize_typo.patch"
+
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--enable-ldap --enable-hkp \
diff --git a/extra/seed/PKGBUILD b/extra/seed/PKGBUILD
index 9713fa013..9dabdad34 100644
--- a/extra/seed/PKGBUILD
+++ b/extra/seed/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=seed
pkgver=3.2.0
pkgrel=2
pkgdesc="Library and interpreter for JavaScript with GObject type system bindings."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Seed/"
license=('LGPL')
options=('!libtool')
diff --git a/extra/serd/PKGBUILD b/extra/serd/PKGBUILD
index 581d2b891..836e19e29 100644
--- a/extra/serd/PKGBUILD
+++ b/extra/serd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=serd
pkgver=0.18.0
pkgrel=1
pkgdesc="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('glibc')
diff --git a/extra/setserial/PKGBUILD b/extra/setserial/PKGBUILD
index 590fa8003..d5a876d9a 100644
--- a/extra/setserial/PKGBUILD
+++ b/extra/setserial/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=setserial
pkgver=2.17
pkgrel=4
pkgdesc="Allows to change various attributes of a serial device"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://setserial.sourceforge.net/"
license=('GPL')
depends=('glibc')
diff --git a/extra/sg3_utils/PKGBUILD b/extra/sg3_utils/PKGBUILD
index 7392bd2d6..3d7f85749 100644
--- a/extra/sg3_utils/PKGBUILD
+++ b/extra/sg3_utils/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=sg3_utils
pkgver=1.33
-pkgrel=1
+pkgrel=1.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 3b6bfa898..492573484 100644
--- a/extra/shared-mime-info/PKGBUILD
+++ b/extra/shared-mime-info/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=shared-mime-info
pkgver=1.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Freedesktop.org Shared MIME Info"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('libxml2' 'glib2')
makedepends=('intltool' 'pkgconfig')
diff --git a/extra/sharutils/PKGBUILD b/extra/sharutils/PKGBUILD
index c04443584..9da40a390 100644
--- a/extra/sharutils/PKGBUILD
+++ b/extra/sharutils/PKGBUILD
@@ -5,11 +5,11 @@
pkgname=sharutils
pkgver=4.11.1
-pkgrel=1
+pkgrel=1.1
pkgdesc='Makes so-called shell archives out of many files'
url='http://www.gnu.org/software/sharutils/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('perl' 'gettext' 'texinfo')
source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('e9c9f869f8ecb3bcb30cc323e02e0a1266aeb109')
diff --git a/extra/sip/PKGBUILD b/extra/sip/PKGBUILD
index e992397d7..a67aed93d 100644
--- a/extra/sip/PKGBUILD
+++ b/extra/sip/PKGBUILD
@@ -7,7 +7,7 @@ pkgbase=sip
pkgname=('sip' 'python-sip' 'python2-sip')
pkgver=4.14
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.riverbankcomputing.com/software/sip/"
license=('custom:"sip"')
makedepends=('python' 'python2')
diff --git a/extra/skanlite/PKGBUILD b/extra/skanlite/PKGBUILD
deleted file mode 100644
index 2e9e27742..000000000
--- a/extra/skanlite/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 148928 2012-02-05 11:56:16Z ibiru $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
-
-pkgname=skanlite
-pkgver=0.8
-pkgrel=2
-pkgdesc="Image Scanning Application for KDE"
-arch=('i686' 'x86_64')
-url='http://kde-apps.org/content/show.php?content=109803'
-license=('GPL')
-depends=('kdebase-runtime' 'libksane')
-makedepends=('pkgconfig' 'cmake' 'automoc4')
-source=("http://downloads.sourceforge.net/sanewidget/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('baa43dbc78be696e121969b0a3d88929')
-
-build() {
- cd "${srcdir}"
- mkdir build
- cd build
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "${srcdir}"/build
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/slang/PKGBUILD b/extra/slang/PKGBUILD
index 2043a8d95..802f419fd 100644
--- a/extra/slang/PKGBUILD
+++ b/extra/slang/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=slang
pkgver=2.2.4
-pkgrel=2
+pkgrel=2.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 8c1872313..bd9809027 100644
--- a/extra/slim/PKGBUILD
+++ b/extra/slim/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=slim
pkgver=1.3.4
pkgrel=4
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
deleted file mode 100644
index 2c9920324..000000000
--- a/extra/slv2/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 151231 2012-02-25 09:24:44Z allan $
-# Maintainer: Ray Rashif <schiv@archlinux.org>
-# Contributor: Leslie P. Polzer <polzer@stardawn.org>
-
-pkgname=slv2
-pkgver=0.6.6
-pkgrel=7
-pkgdesc="Library for LV2 hosts"
-arch=('i686' 'x86_64')
-url="http://drobilla.net/software/slv2"
-license=('GPL')
-depends=('redland>=1.0.13' 'lv2core' 'jack')
-makedepends=('python2')
-install=$pkgname.install
-changelog=$pkgname.changelog
-source=(http://download.drobilla.net/$pkgname-$pkgver.tar.bz2)
-md5sums=('b8e8e0e82dd04324fcd533e8acd1ce85')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- python2 waf configure --prefix=/usr
- python2 waf build $MAKEFLAGS
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- python2 waf install --destdir="$pkgdir/"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/extra/slv2/slv2.changelog b/extra/slv2/slv2.changelog
deleted file mode 100644
index f394a5067..000000000
--- a/extra/slv2/slv2.changelog
+++ /dev/null
@@ -1,23 +0,0 @@
-22 Feb 2011 (GMT+8) Ray Rashif <schiv@archlinux.org>
-
- * 0.6.6-3:
- raptor rebuild
-
-24 Nov 2010 (GMT+8) Ray Rashif <schiv@archlinux.org>
-
- * PKGBUILD :
- Get rid of sed and use python2 directly for waf.
- waf fix for python transition already included previously (unlogged).
- Release only (no need binary update; no runtime python requirement).
-
-9 Aug 2010 (GMT+8) Ray Rashif <schiv@archlinux.org>
-
- * 0.6.6-2 :
- Brought into extra from community for ardour
- - adds "LV2" plug-ins support
-
- * PKGBUILD :
- Minor cosmetic ammendments.
-
- * slv2.changelog :
- Added this changelog.
diff --git a/extra/slv2/slv2.install b/extra/slv2/slv2.install
deleted file mode 100644
index c980ddfab..000000000
--- a/extra/slv2/slv2.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
- echo "Updating Shared Library Links"
- /sbin/ldconfig
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/extra/smartmontools/PKGBUILD b/extra/smartmontools/PKGBUILD
index 7c598e2cd..705869118 100644
--- a/extra/smartmontools/PKGBUILD
+++ b/extra/smartmontools/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=1
pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
url="http://smartmontools.sourceforge.net"
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('gcc-libs' 'libcap-ng' 'bash')
backup=('etc/smartd.conf'
'etc/conf.d/smartd')
diff --git a/extra/smb4k/PKGBUILD b/extra/smb4k/PKGBUILD
index eb67059a2..512f420d5 100644
--- a/extra/smb4k/PKGBUILD
+++ b/extra/smb4k/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=smb4k
pkgver=1.0.4
pkgrel=1
pkgdesc="A KDE program that browses samba shares"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://smb4k.sourceforge.net/"
license=('GPL')
depends=('kdebase-runtime')
diff --git a/extra/smpeg/PKGBUILD b/extra/smpeg/PKGBUILD
index c48a18d05..9d3e4158a 100644
--- a/extra/smpeg/PKGBUILD
+++ b/extra/smpeg/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=smpeg
pkgver=0.4.4
pkgrel=7
pkgdesc="SDL MPEG Player Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://icculus.org/smpeg/"
license=('LGPL')
depends=('sdl')
diff --git a/extra/smplayer/PKGBUILD b/extra/smplayer/PKGBUILD
index 5aa17e5e9..5ef75191f 100644
--- a/extra/smplayer/PKGBUILD
+++ b/extra/smplayer/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=smplayer
pkgver=0.8.1
pkgrel=1
pkgdesc="A complete front-end for MPlayer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://smplayer.sourceforge.net/"
license=('GPL')
depends=('qt' 'mplayer')
diff --git a/extra/snappy/PKGBUILD b/extra/snappy/PKGBUILD
index fbd7a1ac5..772e17688 100644
--- a/extra/snappy/PKGBUILD
+++ b/extra/snappy/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=snappy
pkgver=1.0.5
pkgrel=2
pkgdesc='A fast compressor/decompressor library'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/snappy/"
license=('BSD')
depends=('glibc' 'gcc-libs')
diff --git a/extra/snarf/PKGBUILD b/extra/snarf/PKGBUILD
index 40c5a2294..cad336293 100644
--- a/extra/snarf/PKGBUILD
+++ b/extra/snarf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=snarf
pkgver=7.0
pkgrel=5
pkgdesc="Command-line URL retrieval tool (http/ftp/gopher)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xach.com/snarf/"
license=('GPL')
source=(http://www.xach.com/snarf/download/source/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/snd/PKGBUILD b/extra/snd/PKGBUILD
index 97b7c82f7..c6da2530d 100644
--- a/extra/snd/PKGBUILD
+++ b/extra/snd/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=snd
pkgver=13.2
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=('jack' 'gamin' 'gsl' 'fftw' 'gtk2' 'libmpc')
diff --git a/extra/socat/PKGBUILD b/extra/socat/PKGBUILD
index 0f8d929db..b15e23f42 100644
--- a/extra/socat/PKGBUILD
+++ b/extra/socat/PKGBUILD
@@ -9,7 +9,7 @@ pkgrel=1
pkgdesc='Multipurpose relay'
url='http://www.dest-unreach.org/socat/'
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('readline' 'openssl')
source=("http://www.dest-unreach.org/socat/download/${pkgname}-${pkgver}.tar.gz")
sha1sums=('6e3328cc409550b2367efa8028fe4436e84eb490')
diff --git a/extra/sofia-sip/PKGBUILD b/extra/sofia-sip/PKGBUILD
index 74e54b92a..a7db7e757 100644
--- a/extra/sofia-sip/PKGBUILD
+++ b/extra/sofia-sip/PKGBUILD
@@ -3,9 +3,9 @@
# Contributor: Bjorn Lindeijer <bjorn lindeijer nl>
pkgname=sofia-sip
pkgver=1.12.11
-pkgrel=1
+pkgrel=1.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 8da3ca327..fd3434969 100644
--- a/extra/sonata/PKGBUILD
+++ b/extra/sonata/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sonata
pkgver=1.6.2.1
pkgrel=8
pkgdesc="Elegant GTK+ music client for MPD"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://sonata.berlios.de/"
license=('GPL3')
depends=('pygtk' 'python2-mpd')
diff --git a/extra/soprano/PKGBUILD b/extra/soprano/PKGBUILD
index fbee44835..280fb080a 100644
--- a/extra/soprano/PKGBUILD
+++ b/extra/soprano/PKGBUILD
@@ -6,11 +6,12 @@ pkgname=soprano
pkgver=2.8.0
pkgrel=2
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-base')
makedepends=('cmake' 'openjdk6' 'doxygen')
+[ "$CARCH" = "mips64el" ] && makedepends=('cmake' 'doxygen')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('273c3403aeb6d8a43e78a4887f50a385')
@@ -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/sord/PKGBUILD b/extra/sord/PKGBUILD
index 86f5d8fda..578ea57b8 100644
--- a/extra/sord/PKGBUILD
+++ b/extra/sord/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sord
pkgver=0.10.0
pkgrel=1
pkgdesc="A lightweight C library for storing RDF data in memory."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('serd>=0.18.0' 'pcre')
diff --git a/extra/sound-juicer/PKGBUILD b/extra/sound-juicer/PKGBUILD
index 80c2007e6..8bb2aadec 100644
--- a/extra/sound-juicer/PKGBUILD
+++ b/extra/sound-juicer/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=sound-juicer
pkgver=3.5.0
pkgrel=1
pkgdesc="A cd ripper application"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=(GPL)
depends=(libmusicbrainz5 libdiscid gtk3 gst-plugins-base gst-plugins-good brasero
hicolor-icon-theme gconf)
diff --git a/extra/soundtouch/PKGBUILD b/extra/soundtouch/PKGBUILD
index e27054573..326d569d5 100644
--- a/extra/soundtouch/PKGBUILD
+++ b/extra/soundtouch/PKGBUILD
@@ -3,31 +3,37 @@
pkgname=soundtouch
pkgver=1.6.0
-pkgrel=1
+pkgrel=1.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)
+ soundtouch-1.4.0-x86_64-asm-broken.patch
+ disable-mmx.patch)
md5sums=('aa1c63d4d67b033f044a6a48d2be5bdd'
'108cd080b4b0ebe8ed1f950ff1315e7a'
- '0d856bb5b519b18c6ba3a2e1770bdfd2')
-sha1sums=('9871dcbf75a68665a3515bb9dda4727beb0358e7'
- '7a245aacadcb3003e73c1c202c8de0ecc09283ac'
- '95282cca856b3b8645fadb530ce5eb892074f193')
+ '0d856bb5b519b18c6ba3a2e1770bdfd2'
+ '36e859e7a74a21ec7f9a5282fed63117')
build() {
cd "${srcdir}/${pkgname}"
patch -p1 -i "${srcdir}/soundtouch-1.4.0-mmx-sse-compile-fix.patch"
patch -p1 -i "${srcdir}/soundtouch-1.4.0-x86_64-asm-broken.patch"
+ [ "${CARCH}" = "mips64el" ] && patch -p1 -i "${srcdir}/disable-mmx.patch"
- [ "${CARCH}" = "x86_64" ] && CONFIGFLAG="--with-pic"
./bootstrap
- ./configure --prefix=/usr --enable-shared ${CONFIGFLAG}
+ case $CARCH in
+ i686)
+ ./configure --prefix=/usr --enable-shared
+ ;;
+ *)
+ ./configure --prefix=/usr --enable-shared --with-pic
+ ;;
+ esac
make
}
diff --git a/extra/soundtouch/disable-mmx.patch b/extra/soundtouch/disable-mmx.patch
new file mode 100644
index 000000000..11987059c
--- /dev/null
+++ b/extra/soundtouch/disable-mmx.patch
@@ -0,0 +1,115 @@
+diff -ru soundtouch.orig/source/SoundStretch/Makefile.am soundtouch/source/SoundStretch/Makefile.am
+--- soundtouch.orig/source/SoundStretch/Makefile.am 2012-02-22 20:51:33.240941439 +0100
++++ soundtouch/source/SoundStretch/Makefile.am 2012-02-22 20:52:25.936309597 +0100
+@@ -43,11 +43,5 @@
+ ## linker.
+ soundstretch_LDADD=../SoundTouch/libSoundTouch.la -lm
+
+-## linker flags
+-soundstretch_LDFLAGS=-s
+-
+-## additional compiler flags
+-soundstretch_CXXFLAGS=-O3
+-
+ #clean-local:
+ # -rm -f additional-files-to-remove-on-make-clean
+diff -ru soundtouch.orig/source/SoundTouch/FIRFilter.cpp soundtouch/source/SoundTouch/FIRFilter.cpp
+--- soundtouch.orig/source/SoundTouch/FIRFilter.cpp 2012-02-22 20:51:33.277196949 +0100
++++ soundtouch/source/SoundTouch/FIRFilter.cpp 2012-02-22 21:00:18.591437748 +0100
+@@ -229,32 +229,6 @@
+
+ FIRFilter * FIRFilter::newInstance()
+ {
+- uint uExtensions;
+-
+- uExtensions = detectCPUextensions();
+-
+- // Check if MMX/SSE instruction set extensions supported by CPU
+-
+-#ifdef SOUNDTOUCH_ALLOW_MMX
+- // MMX routines available only with integer sample types
+- if (uExtensions & SUPPORT_MMX)
+- {
+- return ::new FIRFilterMMX;
+- }
+- else
+-#endif // SOUNDTOUCH_ALLOW_MMX
+-
+-#ifdef SOUNDTOUCH_ALLOW_SSE
+- if (uExtensions & SUPPORT_SSE)
+- {
+- // SSE support
+- return ::new FIRFilterSSE;
+- }
+- else
+-#endif // SOUNDTOUCH_ALLOW_SSE
+-
+- {
+- // ISA optimizations not supported, use plain C version
+- return ::new FIRFilter;
+- }
++ // ISA optimizations not supported, use plain C version
++ return ::new FIRFilter;
+ }
+diff -ru soundtouch.orig/source/SoundTouch/Makefile.am soundtouch/source/SoundTouch/Makefile.am
+--- soundtouch.orig/source/SoundTouch/Makefile.am 2012-02-22 20:51:33.269140169 +0100
++++ soundtouch/source/SoundTouch/Makefile.am 2012-02-22 20:53:39.136212215 +0100
+@@ -30,16 +30,13 @@
+
+ lib_LTLIBRARIES=libSoundTouch.la
+ #
+-libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FIFOSampleBuffer.cpp mmx_optimized.cpp sse_optimized.cpp RateTransposer.cpp SoundTouch.cpp TDStretch.cpp cpu_detect_x86_gcc.cpp BPMDetect.cpp PeakFinder.cpp
++libSoundTouch_la_SOURCES=AAFilter.cpp FIRFilter.cpp FIFOSampleBuffer.cpp RateTransposer.cpp SoundTouch.cpp TDStretch.cpp BPMDetect.cpp PeakFinder.cpp
+
+
+ # Note by authore: '-msse2' might not work in non-X86 compilations. If someone can
+ # fix this script to automatically check for CPU architecture, please submit a patch
+ # to me.
+ AM_CXXFLAGS = -fcheck-new -I../../include
+-mmx_optimized.lo : AM_CXXFLAGS = -mmmx -fcheck-new -I../../include
+-sse_optimized.lo : AM_CXXFLAGS = -msse -fcheck-new -I../../include
+-
+
+ # other linking flags to add
+ # noinst_LTLIBRARIES = libSoundTouchOpt.la
+diff -ru soundtouch.orig/source/SoundTouch/TDStretch.cpp soundtouch/source/SoundTouch/TDStretch.cpp
+--- soundtouch.orig/source/SoundTouch/TDStretch.cpp 2012-02-22 20:51:33.269140169 +0100
++++ soundtouch/source/SoundTouch/TDStretch.cpp 2012-02-22 20:59:57.756604035 +0100
+@@ -738,35 +738,8 @@
+
+ TDStretch * TDStretch::newInstance()
+ {
+- uint uExtensions;
+-
+- uExtensions = detectCPUextensions();
+-
+- // Check if MMX/SSE instruction set extensions supported by CPU
+-
+-#ifdef SOUNDTOUCH_ALLOW_MMX
+- // MMX routines available only with integer sample types
+- if (uExtensions & SUPPORT_MMX)
+- {
+- return ::new TDStretchMMX;
+- }
+- else
+-#endif // SOUNDTOUCH_ALLOW_MMX
+-
+-
+-#ifdef SOUNDTOUCH_ALLOW_SSE
+- if (uExtensions & SUPPORT_SSE)
+- {
+- // SSE support
+- return ::new TDStretchSSE;
+- }
+- else
+-#endif // SOUNDTOUCH_ALLOW_SSE
+-
+- {
+- // ISA optimizations not supported, use plain C version
+- return ::new TDStretch;
+- }
++ // ISA optimizations not supported, use plain C version
++ return ::new TDStretch;
+ }
+
+
diff --git a/extra/source-highlight/PKGBUILD b/extra/source-highlight/PKGBUILD
index 77420d51b..eaa638ae3 100644
--- a/extra/source-highlight/PKGBUILD
+++ b/extra/source-highlight/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=source-highlight
pkgver=3.1.7
pkgrel=2
pkgdesc="Convert source code to syntax highlighted document"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/src-highlite/"
license=('GPL')
depends=('bash' 'boost-libs')
diff --git a/extra/sox/PKGBUILD b/extra/sox/PKGBUILD
index 322d66183..550f7a666 100644
--- a/extra/sox/PKGBUILD
+++ b/extra/sox/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sox
pkgver=14.4.0
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=('libltdl' 'file' 'libsndfile' 'libpng' 'lame' 'opencore-amr' 'gsm')
diff --git a/extra/spamassassin/PKGBUILD b/extra/spamassassin/PKGBUILD
index 9e80adbea..78fe4219f 100644
--- a/extra/spamassassin/PKGBUILD
+++ b/extra/spamassassin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=spamassassin
pkgver=3.3.2
pkgrel=7
pkgdesc="A mail filter to identify spam."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
url="http://spamassassin.apache.org"
depends=('openssl' 'zlib' 're2c' 'perl-net-dns' 'perl-io-socket-ssl'
diff --git a/extra/spandsp/PKGBUILD b/extra/spandsp/PKGBUILD
index 359dffd72..bd61876a2 100644
--- a/extra/spandsp/PKGBUILD
+++ b/extra/spandsp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=spandsp
pkgver=0.0.6pre21
pkgrel=1
pkgdesc="A DSP library for telephony"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
url="http://www.soft-switch.org/"
depends=('libtiff')
diff --git a/extra/speech-dispatcher/PKGBUILD b/extra/speech-dispatcher/PKGBUILD
index bb96b719b..053b65878 100644
--- a/extra/speech-dispatcher/PKGBUILD
+++ b/extra/speech-dispatcher/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=speech-dispatcher
pkgver=0.7.1
pkgrel=7
-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 7bf7e7b22..2a4d407e3 100644
--- a/extra/speex/PKGBUILD
+++ b/extra/speex/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=speex
pkgver=1.2rc1
-pkgrel=2
+pkgrel=2.2
pkgdesc="A free codec for free speech"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.speex.org/"
license=('BSD')
depends=('libogg')
diff --git a/extra/sqlite/PKGBUILD b/extra/sqlite/PKGBUILD
index 1ca35ae21..537b4b933 100644
--- a/extra/sqlite/PKGBUILD
+++ b/extra/sqlite/PKGBUILD
@@ -3,24 +3,22 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgbase="sqlite"
-pkgname=('sqlite' 'sqlite-tcl' 'sqlite-doc')
+pkgname=('sqlite' 'sqlite-tcl')
_amalgamationver=3071401
#_docver=${_amalgamationver}
_docver=3071400
pkgver=3.7.14.1
pkgrel=1
pkgdesc="A C library that implements an SQL database engine"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.sqlite.org/"
makedepends=('tcl' 'readline')
source=( # tarball containing the amalgamation for SQLite >= 3.7.5 together with a configure script and makefile for building it; includes now also the Tcl Extension Architecture (TEA)
http://www.sqlite.org/sqlite-autoconf-$_amalgamationver.tar.gz
- http://www.sqlite.org/sqlite-doc-${_docver}.zip
license.txt)
options=('!libtool' '!emptydirs')
md5sums=('4cf3fd434bbb6e50777019ff3507bfa5'
- '5eaeaa2d0aef3b2c980aa784846fd562'
'c1cdbc5544034d9012e421e75a5e4890')
build() {
@@ -65,27 +63,3 @@ package_sqlite-tcl() {
make DESTDIR=${pkgdir} install
}
-package_sqlite-doc() {
-
- pkgdesc="most of the static HTML files that comprise this website, including all of the SQL Syntax and the C/C++ interface specs and other miscellaneous documentation"
- #arch=('any') - not yet supported
- provides=("sqlite3-doc=$pkgver")
- replaces=("sqlite3-doc")
-
- #cd ${srcdir}/sqlite-doc-${_amalgamationver}
- cd ${srcdir}/sqlite-doc-${_docver}
- mkdir -p ${pkgdir}/usr/share/doc/${pkgbase}
- cp -R * ${pkgdir}/usr/share/doc/${pkgbase}/
-
- # fix permissions and remove obsolete files; https://bugs.archlinux.org/task/24605
- find ${pkgdir} -type f -perm 755 -exec ls -lha {} \;
- find ${pkgdir} -type f -perm 755 -exec chmod 644 {} \;
-
- find ${pkgdir} -type f -name '*~' -exec ls -lha {} \;
- find ${pkgdir} -type d -name '*~' -exec ls -lha {} \;
- find ${pkgdir} -name '*~' -exec rm -f {} \;
-
- find ${pkgdir} -type f -name '.~*' -exec ls -lha {} \; # /build/pkg/sqlite-doc/usr/share/doc/sqlite/images/fileformat/.~lock.indexpage.odg#
- find ${pkgdir} -type d -name '.~*' -exec ls -lha {} \;
- find ${pkgdir} -name '.~*' -exec rm -f {} \;
-}
diff --git a/extra/squid/PKGBUILD b/extra/squid/PKGBUILD
deleted file mode 100644
index 9bc98ab71..000000000
--- a/extra/squid/PKGBUILD
+++ /dev/null
@@ -1,94 +0,0 @@
-# $Id: PKGBUILD 162165 2012-06-22 13:00:02Z dreisner $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=squid
-pkgver=3.1.20
-pkgrel=2
-pkgdesc="A full-featured Web proxy cache server."
-arch=('i686' 'x86_64')
-url="http://www.squid-cache.org"
-depends=('openssl' 'pam' 'cron' 'perl' 'libltdl')
-makedepends=('libcap')
-license=('GPL')
-backup=('etc/squid/squid.conf'
- 'etc/squid/mime.conf'
- 'etc/conf.d/squid')
-install=squid.install
-source=("http://www.squid-cache.org/Versions/v3/3.1/$pkgname-$pkgver.tar.bz2"
- 'squid'
- 'squid.conf.d'
- 'squid.pam'
- 'squid.cron'
- 'squid.service')
-md5sums=('c4d733a383c0508fd0746d64a2d7278a'
- '02f7b5bd793f778e40834fd6457d2199'
- '2383772ef94efddc7b920628bc7ac5b0'
- '270977cdd9b47ef44c0c427ab9034777'
- 'b499c2b725aefd7bd60bec2f1a9de392'
- '20e00e1aa1198786795f3da32db3c1d8')
-
-build() {
- cd "$pkgname-$pkgver"
-
- # gcc 4.6 doesn't support -fhuge-objects.
- sed '/^ HUGE_OBJECT_FLAG=/ s/"-fhuge-objects"//' -i configure
-
- # fix cache_dir, cache_dir size, and effective group.
- sed '/^DEFAULT_SWAP_DIR/ s@/cache@/cache/squid@' -i src/Makefile.in
- sed '/^#cache_dir/ s/100/256/
- /^NAME: cache_effective_group/ {n;n;s/none/proxy/}' -i src/cf.data.pre
-
- ./configure \
- --prefix=/usr \
- --datadir=/usr/share/squid \
- --sysconfdir=/etc/squid \
- --libexecdir=/usr/lib/squid \
- --localstatedir=/var \
- --with-logdir=/var/log/squid \
- --with-pidfile=/run/squid.pid \
- --enable-auth="basic,digest,ntlm" \
- --enable-removal-policies="lru,heap" \
- --enable-digest-auth-helpers="password" \
- --enable-storeio="aufs,ufs,diskd" \
- --enable-basic-auth-helpers="getpwnam,YP,NCSA,SMB,MSNT,PAM,multi-domain-NTLM" \
- --enable-external-acl-helpers="ip_user,unix_group,wbinfo_group" \
- --enable-ntlm-auth-helpers="smb_lm,fakeauth,no_check" \
- --enable-delay-pools \
- --enable-arp-acl \
- --enable-ssl \
- --enable-snmp \
- --enable-linux-netfilter \
- --enable-ident-lookups \
- --enable-useragent-log \
- --enable-cache-digests \
- --enable-referer-log \
- --enable-arp-acl \
- --enable-htcp \
- --enable-carp \
- --enable-epoll \
- --with-filedescriptors=4096 \
- --with-large-files \
- --enable-arp-acl \
- --with-default-user=proxy \
- --enable-async-io \
- --enable-truncate
-
- make
-}
-
-package() {
- make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
-
- install -Dm755 "$srcdir"/squid "$pkgdir"/etc/rc.d/squid
- install -Dm755 "$srcdir"/squid.cron "$pkgdir"/etc/cron.weekly/squid
- install -Dm644 "$srcdir"/squid.conf.d "$pkgdir"/etc/conf.d/squid
- install -Dm644 "$srcdir"/squid.pam "$pkgdir"/etc/pam.d/squid
-
- install -Dm644 "$srcdir/squid.service" "$pkgdir/usr/lib/systemd/system/squid.service"
-
- # random unneeded empty dir...
- rmdir "$pkgdir/usr/include"
-}
-
-# vim: ts=2 sw=2 et ft=sh
diff --git a/extra/squid/squid b/extra/squid/squid
deleted file mode 100644
index da5534427..000000000
--- a/extra/squid/squid
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/bash
-
-# source application-specific settings
-[[ -f /etc/conf.d/squid ]] && . /etc/conf.d/squid
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-pidfile=/run/squid.pid
-{ read -r PID </run/squid.pid; } 2>/dev/null
-if [[ $pid && ! /proc/$pid/exe -ef /usr/sbin/squid ]]; then
- rm /run/squid.pid
-fi
-
-case $1 in
- start)
- stat_busy "Starting squid"
- if [[ $PID ]] || ! squid $SQUID_ARGS; then
- stat_fail
- else
- add_daemon squid
- stat_done
- fi
- ;;
-
- stop)
- stat_busy "Stopping squid"
- if [[ -z $PID ]] || ! squid -k shutdown &>/dev/null; then
- stat_fail
- else
- # squid takes forever to shutdown all its listening FDs
- while [[ /proc/$PID/exe -ef /usr/sbin/squid ]]; do
- stat_append "."
- sleep 3
- done
- rm_daemon squid
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/squid/squid.conf.d b/extra/squid/squid.conf.d
deleted file mode 100644
index ea248b76c..000000000
--- a/extra/squid/squid.conf.d
+++ /dev/null
@@ -1,4 +0,0 @@
-#
-# Parameters to be passed to squid
-#
-SQUID_ARGS="-sYC"
diff --git a/extra/squid/squid.cron b/extra/squid/squid.cron
deleted file mode 100644
index c78e51105..000000000
--- a/extra/squid/squid.cron
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# exit without error if no pidfile exists
-{ read pid </run/squid.pid; } 2>/dev/null || exit 0
-
-# make sure found PID really is a squid process
-if [ /proc/$pid/exec -ef /usr/sbin/squid ]; then
- /usr/sbin/squid -k rotate
-fi
diff --git a/extra/squid/squid.install b/extra/squid/squid.install
deleted file mode 100644
index e7aa5ff68..000000000
--- a/extra/squid/squid.install
+++ /dev/null
@@ -1,26 +0,0 @@
-post_install() {
- if [ -z "$(grep ^proxy: /etc/group)" ]; then
- usr/sbin/groupadd -g 15 proxy &>/dev/null
- fi
-
- id proxy &>/dev/null || \
- usr/sbin/useradd -u 15 -g proxy -d /var/empty proxy
-
- chown proxy.proxy var/{cache,log}/squid
-
-# cat << EOF
-#Release notes: http://www.squid-cache.org/Versions/v3/3.1/RELEASENOTES.html
-#EOF
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- usr/sbin/userdel proxy &> /dev/null
- if [ ! -z "$(grep ^proxy: /etc/group)" ]; then
- usr/sbin/groupdel proxy &>/dev/null
- fi
-}
-
diff --git a/extra/squid/squid.pam b/extra/squid/squid.pam
deleted file mode 100644
index df8a8104f..000000000
--- a/extra/squid/squid.pam
+++ /dev/null
@@ -1,4 +0,0 @@
-#/etc/pam.d/squid
-#
-auth required pam_unix.so
-account required pam_unix.so
diff --git a/extra/squid/squid.service b/extra/squid/squid.service
deleted file mode 100644
index 9d41cc243..000000000
--- a/extra/squid/squid.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Web Proxy Cache Server
-After=network.target
-
-[Service]
-Type=forking
-PIDFile=/run/squid.pid
-ExecStart=/usr/sbin/squid -sYC
-ExecStop=/usr/sbin/squid -k shutdown
-ExecReload=/usr/sbin/squid -k reconfigure
-
-[Install]
-WantedBy=multi-user.target
diff --git a/extra/sratom/PKGBUILD b/extra/sratom/PKGBUILD
index bc7881bba..372c1a723 100644
--- a/extra/sratom/PKGBUILD
+++ b/extra/sratom/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=sratom
pkgver=0.4.0
pkgrel=1
pkgdesc="An LV2 Atom RDF serialisation library"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('lv2' 'sord')
diff --git a/extra/srm/PKGBUILD b/extra/srm/PKGBUILD
index 3ca27ff05..1ca84e154 100644
--- a/extra/srm/PKGBUILD
+++ b/extra/srm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=srm
pkgver=1.2.11
pkgrel=2
pkgdesc="A secure replacement for rm(1) that overwrites data before unlinking"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://srm.sourceforge.net/"
license=('custom')
depends=('glibc')
diff --git a/extra/sshfs/PKGBUILD b/extra/sshfs/PKGBUILD
index 6c18297ab..bd10b2413 100644
--- a/extra/sshfs/PKGBUILD
+++ b/extra/sshfs/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=sshfs
pkgver=2.4
-pkgrel=1
+pkgrel=1.1
pkgdesc="FUSE client based on the SSH File Transfer Protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fuse.sourceforge.net/sshfs.html"
license=('GPL')
depends=('fuse' 'glib2' 'openssh')
diff --git a/extra/ssmtp/PKGBUILD b/extra/ssmtp/PKGBUILD
index 755a1c863..ac2b8bb4f 100644
--- a/extra/ssmtp/PKGBUILD
+++ b/extra/ssmtp/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=ssmtp
pkgver=2.64
-pkgrel=3
+pkgrel=3.1
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 09b9aa4d5..e17f9eb91 100644
--- a/extra/stardict/PKGBUILD
+++ b/extra/stardict/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=stardict
pkgver=3.0.3
pkgrel=2
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 be5991abc..502bb0fbe 100644
--- a/extra/startup-notification/PKGBUILD
+++ b/extra/startup-notification/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=startup-notification
pkgver=0.12
pkgrel=3
pkgdesc="Monitor and display application startup"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('libx11' 'xcb-util>=0.3.9')
options=('!libtool')
diff --git a/extra/stellarium/PKGBUILD b/extra/stellarium/PKGBUILD
index edd8a973f..a004e46e3 100644
--- a/extra/stellarium/PKGBUILD
+++ b/extra/stellarium/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=stellarium
pkgver=0.11.4
pkgrel=2
pkgdesc="A stellarium with great graphics and a nice database of sky-objects"
-arch=("i686" "x86_64")
+arch=("i686" "x86_64" 'mips64el')
url="http://stellarium.free.fr/"
license=('GPL2')
depends=('libpng' 'glu' 'libgl' 'freetype2' 'qt' 'openssl')
diff --git a/extra/strace/PKGBUILD b/extra/strace/PKGBUILD
index 30a93a69f..094abadd2 100644
--- a/extra/strace/PKGBUILD
+++ b/extra/strace/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=strace
pkgver=4.7
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 8cceccb06..52144364a 100644
--- a/extra/streamripper/PKGBUILD
+++ b/extra/streamripper/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=streamripper
pkgver=1.64.6
pkgrel=2
pkgdesc="Records and splits streaming mp3 into tracks"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://streamripper.sourceforge.net"
license=('GPL')
depends=('glib2' 'libmad' 'faad2' 'libvorbis')
diff --git a/extra/strigi/PKGBUILD b/extra/strigi/PKGBUILD
index 44eb094e2..f4ad2a127 100644
--- a/extra/strigi/PKGBUILD
+++ b/extra/strigi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=strigi
pkgver=0.7.7
pkgrel=2
pkgdesc="Fast crawling desktop search engine with Qt4 GUI"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://strigi.sourceforge.net/'
license=('GPL2')
depends=('exiv2' 'libxml2' 'boost-libs')
diff --git a/extra/subversion/PKGBUILD b/extra/subversion/PKGBUILD
index c112ab7bc..3ca41dae4 100644
--- a/extra/subversion/PKGBUILD
+++ b/extra/subversion/PKGBUILD
@@ -7,13 +7,16 @@ pkgname=subversion
pkgver=1.7.7
pkgrel=2
pkgdesc="A Modern Concurrent Version Control System"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('APACHE')
depends=('neon' 'apr-util' 'sqlite' 'file')
optdepends=('libgnome-keyring' 'kdeutils-kwallet' 'bash-completion: for svn bash completion' \
'python2: for some hook scripts' 'java-environment') #'ruby: for some hook scripts')
makedepends=('krb5' 'apache' 'python2' 'perl' 'swig' 'java-runtime' 'java-environment'
'autoconf' 'db' 'e2fsprogs' 'libgnome-keyring' 'kdelibs')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('krb5' 'apache' 'python2' 'perl' 'swig'
+ 'autoconf' 'db' 'e2fsprogs' 'libgnome-keyring' 'kdelibs')
backup=('etc/xinetd.d/svn' 'etc/conf.d/svnserve')
url="http://subversion.apache.org/"
provides=('svn')
@@ -43,18 +46,25 @@ build() {
patch -p0 -i ../subversion.rpath.fix.patch
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' tools/hook-scripts/{,mailer/{,tests/}}*.py
-
patch -Np1 -i ../subversion-1.7.6-kwallet-gcc47.patch
+ 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.3 \
+ --disable-javahl --with-gnome-keyring --with-kwallet
+ else
+ ./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr \
+ --with-zlib=/usr --with-neon=/usr --with-apxs \
--enable-javahl --with-gnome-keyring --with-kwallet
+ fi
make external-all
make LT_LDFLAGS="-L$Fdestdir/usr/lib" local-all
make swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
- swig_pydir_extra=/usr/lib/python2.7/site-packages/svn swig-py swig-pl javahl #swig-rb
+ swig_pydir_extra=/usr/lib/python2.7/site-packages/svn swig-py swig-pl #swig-rb
+
+ [ "$CARCH" = "mips64el" ] || make javahl
}
#check() {
@@ -70,7 +80,9 @@ package() {
make DESTDIR="${pkgdir}" INSTALLDIRS=vendor \
swig_pydir=/usr/lib/python2.7/site-packages/libsvn \
swig_pydir_extra=/usr/lib/python2.7/site-packages/svn \
- install install-swig-py install-swig-pl install-javahl #install-swig-rb
+ install install-swig-py install-swig-pl #install-swig-rb
+
+ [ "$CARCH" = "mips64el" ] || make install-javahl
install -dm755 "${pkgdir}"/usr/share/subversion
cp -a tools/hook-scripts "${pkgdir}"/usr/share/subversion/
diff --git a/extra/suil/PKGBUILD b/extra/suil/PKGBUILD
index a963f543a..cc86f5fdc 100644
--- a/extra/suil/PKGBUILD
+++ b/extra/suil/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=suil
pkgver=0.6.4
pkgrel=1
pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://drobilla.net/software/$pkgname/"
license=('custom:ISC')
depends=('lv2')
diff --git a/extra/suitesparse/PKGBUILD b/extra/suitesparse/PKGBUILD
index 2d54663e3..37a6d4867 100644
--- a/extra/suitesparse/PKGBUILD
+++ b/extra/suitesparse/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=4.0.2
pkgrel=1
pkgdesc="A collection of sparse matrix libraries"
url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
conflicts=('umfpack')
provides=('umfpack')
replaces=('umfpack')
diff --git a/extra/sushi/PKGBUILD b/extra/sushi/PKGBUILD
index a1f39e933..28ea033b8 100644
--- a/extra/sushi/PKGBUILD
+++ b/extra/sushi/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=sushi
pkgver=3.6.1
pkgrel=1
pkgdesc="A quick previewer for Nautilus"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.gnome.org"
license=('GPL2')
groups=(gnome-extra)
diff --git a/extra/sweep/PKGBUILD b/extra/sweep/PKGBUILD
index 0cc3698c7..3c0647115 100644
--- a/extra/sweep/PKGBUILD
+++ b/extra/sweep/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=sweep
pkgver=0.9.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="Sound editing and mixing program"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.metadecks.org/software/sweep/"
license=('GPL2')
depends=('gtk2' 'libsamplerate' 'libmad' 'libvorbis' 'alsa-lib' 'speex')
diff --git a/extra/swh-plugins/PKGBUILD b/extra/swh-plugins/PKGBUILD
index 50685f19a..40538e7a2 100644
--- a/extra/swh-plugins/PKGBUILD
+++ b/extra/swh-plugins/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=swh-plugins
pkgver=0.4.15
pkgrel=5
pkgdesc="Steve Harris' LADSPA plug-ins suite"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://plugin.org.uk/"
license=('GPL')
depends=('fftw' 'ladspa')
diff --git a/extra/swig/PKGBUILD b/extra/swig/PKGBUILD
index 73a195180..311351345 100644
--- a/extra/swig/PKGBUILD
+++ b/extra/swig/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=swig
pkgver=2.0.8
-pkgrel=1
+pkgrel=1.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/LICENSE b/extra/sysklogd/LICENSE
deleted file mode 100644
index 7e9b5d59c..000000000
--- a/extra/sysklogd/LICENSE
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 1983, 1988 Regents of the University of California.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that the above copyright notice and this paragraph are
- * duplicated in all such forms and that any documentation,
- * advertising materials, and other materials related to such
- * distribution and use acknowledge that the software was developed
- * by the University of California, Berkeley. The name of the
- * University may not be used to endorse or promote products derived
- * from this software without specific prior written permission.
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
- */
diff --git a/extra/sysklogd/PKGBUILD b/extra/sysklogd/PKGBUILD
deleted file mode 100644
index 21caaf687..000000000
--- a/extra/sysklogd/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 158662 2012-05-05 22:14:49Z eric $
-# Maintainer: Eric Bélanger <eric@archlinux.org>
-
-pkgname=sysklogd
-pkgver=1.5
-pkgrel=4
-pkgdesc="System and kernel log daemons"
-arch=('i686' 'x86_64')
-url="http://www.infodrom.org/projects/sysklogd/"
-license=('GPL' 'BSD')
-depends=('glibc' 'bash')
-provides=('logger')
-backup=('etc/syslog.conf' 'etc/logrotate.d/syslog')
-source=(http://www.infodrom.org/projects/sysklogd/download/${pkgname}-${pkgver}.tar.gz{,.asc} \
- syslog.conf syslog.logrotate syslogd klogd LICENSE \
- sysklogd-1.4.1-caen-owl-syslogd-bind.diff \
- sysklogd-1.4.1-caen-owl-syslogd-drop-root.diff \
- sysklogd-1.4.1-caen-owl-klogd-drop-root.diff \
- sysklogd-1.5-syslog-func-collision.patch)
-sha1sums=('070cce745b023f2ce7ca7d9888af434d6d61c236'
- '9599322fc176004d95b5111b05f665b5191dfe67'
- '35b4cb76109a6ffe9269021a6bfb4f8da614a4eb'
- 'e67c0f78f13c94507d3f686b4e5b8340db4624fd'
- '848beb23b9ca4de19c6022df03878dbe57e04c0a'
- 'f46088f761c033562a59bc13d4888b7343bc02fc'
- 'c416bcefd3d3d618139cc7912310caddf34c0c0b'
- '849b2dcaf11060d583ccb3c48356a6971df45cf0'
- '9701989490748b0c5a1727e0fc459179d0e350a8'
- '76da0ecd9bca969e292a6ec58d7cd96e4c97e525'
- '826e76a59834868658eb9f8d8f3aabd8bf748759')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-# CAEN/OWL security patches
- patch -p1 -i ../sysklogd-1.4.1-caen-owl-syslogd-bind.diff
- patch -p1 -i ../sysklogd-1.4.1-caen-owl-syslogd-drop-root.diff
- patch -p1 -i ../sysklogd-1.4.1-caen-owl-klogd-drop-root.diff
-
- patch -p1 -i ../sysklogd-1.5-syslog-func-collision.patch
- sed -i -e "s/-O3/${CFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE/" \
- -e "s/LDFLAGS= -s/LDFLAGS= ${LDFLAGS}/" Makefile
- sed -i 's/500 -s/755/' Makefile
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -d "${pkgdir}/usr/sbin" "${pkgdir}"/usr/share/man/{man5,man8}
- make prefix="${pkgdir}" install
- install -D -m644 ../syslog.conf "${pkgdir}/etc/syslog.conf"
- install -D -m644 ../syslog.logrotate "${pkgdir}/etc/logrotate.d/syslog"
- install -D -m755 ../syslogd "${pkgdir}/etc/rc.d/syslogd"
- install -D -m755 ../klogd "${pkgdir}/etc/rc.d/klogd"
- install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/extra/sysklogd/klogd b/extra/sysklogd/klogd
deleted file mode 100755
index 690e13ab4..000000000
--- a/extra/sysklogd/klogd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/klogd`
-case "$1" in
- start)
- stat_busy "Starting Kernel Logger"
- [ -z "$PID" ] && /usr/sbin/klogd -c 4
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon klogd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Kernel Logger"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f /var/run/klogd.pid
- rm_daemon klogd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/sysklogd/sysklogd-1.4.1-caen-owl-klogd-drop-root.diff b/extra/sysklogd/sysklogd-1.4.1-caen-owl-klogd-drop-root.diff
deleted file mode 100644
index e2597fe1a..000000000
--- a/extra/sysklogd/sysklogd-1.4.1-caen-owl-klogd-drop-root.diff
+++ /dev/null
@@ -1,161 +0,0 @@
-diff -Naur sysklogd-1.4.1-orig/klogd.8 sysklogd-1.4.1/klogd.8
---- sysklogd-1.4.1-orig/klogd.8 2005-03-11 11:12:09.000000000 -0500
-+++ sysklogd-1.4.1/klogd.8 2005-10-17 23:47:41.615009160 -0400
-@@ -18,6 +19,12 @@
- .RB [ " \-f "
- .I fname
- ]
-+.RB [ " \-u "
-+.I username
-+]
-+.RB [ " \-j "
-+.I chroot_dir
-+]
- .RB [ " \-iI " ]
- .RB [ " \-n " ]
- .RB [ " \-o " ]
-@@ -53,6 +60,20 @@
- .BI "\-f " file
- Log messages to the specified filename rather than to the syslog facility.
- .TP
-+.BI "\-u " username
-+Tells klogd to become the specified user and drop root privileges before
-+starting logging.
-+.TP
-+.BI "\-j " chroot_dir
-+Tells klogd to
-+.BR chroot (2)
-+into this directory after initializing.
-+This option is only valid if the \-u option is also used to run klogd
-+without root privileges.
-+Note that the use of this option will prevent \-i and \-I from working
-+unless you set up the chroot directory in such a way that klogd can still
-+read the kernel module symbols.
-+.TP
- .BI "\-i \-I"
- Signal the currently executing klogd daemon. Both of these switches control
- the loading/reloading of symbol information. The \-i switch signals the
-diff -Naur sysklogd-1.4.1-orig/klogd.c sysklogd-1.4.1/klogd.c
---- sysklogd-1.4.1-orig/klogd.c 2004-04-29 09:29:03.000000000 -0400
-+++ sysklogd-1.4.1/klogd.c 2005-10-17 23:46:05.200556847 -0400
-@@ -261,6 +261,8 @@
- #include <stdarg.h>
- #include <paths.h>
- #include <stdlib.h>
-+#include <pwd.h>
-+#include <grp.h>
- #include "klogd.h"
- #include "ksyms.h"
- #ifndef TESTING
-@@ -311,6 +313,9 @@
- int debugging = 0;
- int symbols_twice = 0;
-
-+char *server_user = NULL;
-+char *chroot_dir = NULL;
-+int log_flags = 0;
-
- /* Function prototypes. */
- extern int ksyslog(int type, char *buf, int len);
-@@ -531,8 +536,9 @@
- * First do a stat to determine whether or not the proc based
- * file system is available to get kernel messages from.
- */
-- if ( use_syscall ||
-- ((stat(_PATH_KLOG, &sb) < 0) && (errno == ENOENT)) )
-+ if (!server_user &&
-+ (use_syscall ||
-+ ((stat(_PATH_KLOG, &sb) < 0) && (errno == ENOENT))))
- {
- /* Initialize kernel logging. */
- ksyslog(1, NULL, 0);
-@@ -980,6 +986,27 @@
- }
-
-
-+static int drop_root(void)
-+{
-+ struct passwd *pw;
-+
-+ if (!(pw = getpwnam(server_user))) return -1;
-+
-+ if (!pw->pw_uid) return -1;
-+
-+ if (chroot_dir) {
-+ if (chroot(chroot_dir)) return -1;
-+ if (chdir("/")) return -1;
-+ }
-+
-+ if (setgroups(0, NULL)) return -1;
-+ if (setgid(pw->pw_gid)) return -1;
-+ if (setuid(pw->pw_uid)) return -1;
-+
-+ return 0;
-+}
-+
-+
- int main(argc, argv)
-
- int argc;
-@@ -997,7 +1024,7 @@
- chdir ("/");
- #endif
- /* Parse the command-line. */
-- while ((ch = getopt(argc, argv, "c:df:iIk:nopsvx2")) != EOF)
-+ while ((ch = getopt(argc, argv, "c:df:u:j:iIk:nopsvx2")) != EOF)
- switch((char)ch)
- {
- case '2': /* Print lines with symbols twice. */
-@@ -1019,6 +1046,10 @@
- case 'I':
- SignalDaemon(SIGUSR2);
- return(0);
-+ case 'j': /* chroot 'j'ail */
-+ chroot_dir = optarg;
-+ log_flags |= LOG_NDELAY;
-+ break;
- case 'k': /* Kernel symbol file. */
- symfile = optarg;
- break;
-@@ -1034,6 +1065,9 @@
- case 's': /* Use syscall interface. */
- use_syscall = 1;
- break;
-+ case 'u': /* Run as this user */
-+ server_user = optarg;
-+ break;
- case 'v':
- printf("klogd %s.%s\n", VERSION, PATCHLEVEL);
- exit (1);
-@@ -1042,6 +1076,10 @@
- break;
- }
-
-+ if (chroot_dir && !server_user) {
-+ fputs("'-j' is only valid with '-u'", stderr);
-+ exit(1);
-+ }
-
- /* Set console logging level. */
- if ( log_level != (char *) 0 )
-@@ -1139,7 +1177,7 @@
- }
- }
- else
-- openlog("kernel", 0, LOG_KERN);
-+ openlog("kernel", log_flags, LOG_KERN);
-
-
- /* Handle one-shot logging. */
-@@ -1166,6 +1204,11 @@
- InitMsyms();
- }
-
-+ if (server_user && drop_root()) {
-+ syslog(LOG_ALERT, "klogd: failed to drop root");
-+ Terminate();
-+ }
-+
- /* The main loop. */
- while (1)
- {
diff --git a/extra/sysklogd/sysklogd-1.4.1-caen-owl-syslogd-bind.diff b/extra/sysklogd/sysklogd-1.4.1-caen-owl-syslogd-bind.diff
deleted file mode 100644
index e79a67d0b..000000000
--- a/extra/sysklogd/sysklogd-1.4.1-caen-owl-syslogd-bind.diff
+++ /dev/null
@@ -1,104 +0,0 @@
-diff -ur sysklogd-1.4.1.orig/sysklogd.8 sysklogd-1.4.1/sysklogd.8
---- sysklogd-1.4.1.orig/sysklogd.8 Sun Mar 11 22:35:51 2001
-+++ sysklogd-1.4.1/sysklogd.8 Mon Oct 8 07:20:31 2001
-@@ -15,6 +15,9 @@
- .I config file
- ]
- .RB [ " \-h " ]
-+.RB [ " \-i "
-+.I IP address
-+]
- .RB [ " \-l "
- .I hostlist
- ]
-@@ -103,8 +106,15 @@
- Specifying this switch on the command line will cause the log daemon to
- forward any remote messages it receives to forwarding hosts which have been
- defined.
- This can cause syslog loops that fill up hard disks quite fast and
- thus needs to be used with caution.
-+.TP
-+.BI "\-i " "IP address"
-+If
-+.B syslogd
-+is configured to accept log input from a UDP port, specify an IP address
-+to bind to, rather than the default of INADDR_ANY. The address must be in
-+dotted quad notation, DNS host names are not allowed.
- .TP
- .BI "\-l " "hostlist"
- Specify a hostname that should be logged only with its simple hostname
-diff -ur sysklogd-1.4.1.orig/syslogd.c sysklogd-1.4.1/syslogd.c
---- sysklogd-1.4.1.orig/syslogd.c Sun Mar 11 22:40:10 2001
-+++ sysklogd-1.4.1/syslogd.c Mon Oct 8 07:24:41 2001
-@@ -736,6 +736,8 @@
- int NoHops = 1; /* Can we bounce syslog messages through an
- intermediate host. */
-
-+char *bind_addr = NULL; /* bind UDP port to this interface only */
-+
- extern int errno;
-
- /* Function prototypes. */
-@@ -829,7 +831,7 @@
- funix[i] = -1;
- }
-
-- while ((ch = getopt(argc, argv, "a:dhf:l:m:np:rs:v")) != EOF)
-+ while ((ch = getopt(argc, argv, "a:dhf:i:l:m:np:rs:v")) != EOF)
- switch((char)ch) {
- case 'a':
- if (nfunix < MAXFUNIX)
-@@ -846,9 +848,17 @@
- case 'h':
- NoHops = 0;
- break;
-+ case 'i':
-+ if (bind_addr) {
-+ fprintf(stderr, "Only one -i argument allowed, "
-+ "the first one is taken.\n");
-+ break;
-+ }
-+ bind_addr = optarg;
-+ break;
- case 'l':
- if (LocalHosts) {
-- fprintf (stderr, "Only one -l argument allowed," \
-+ fprintf(stderr, "Only one -l argument allowed, "
- "the first one is taken.\n");
- break;
- }
-@@ -1175,7 +1185,7 @@
- int usage()
- {
- fprintf(stderr, "usage: syslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]\n" \
-- " [-s domainlist] [-f conffile]\n");
-+ " [-s domainlist] [-f conffile] [-i IP address]\n");
- exit(1);
- }
-
-@@ -1217,15 +1227,22 @@
- int fd, on = 1;
- struct sockaddr_in sin;
-
-+ memset(&sin, 0, sizeof(sin));
-+ sin.sin_family = AF_INET;
-+ sin.sin_port = LogPort;
-+ if (bind_addr) {
-+ if (!inet_aton(bind_addr, &sin.sin_addr)) {
-+ logerror("syslog: not a valid IP address to bind to.");
-+ return -1;
-+ }
-+ }
-+
- fd = socket(AF_INET, SOCK_DGRAM, 0);
- if (fd < 0) {
- logerror("syslog: Unknown protocol, suspending inet service.");
- return fd;
- }
-
-- memset(&sin, 0, sizeof(sin));
-- sin.sin_family = AF_INET;
-- sin.sin_port = LogPort;
- if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, \
- (char *) &on, sizeof(on)) < 0 ) {
- logerror("setsockopt(REUSEADDR), suspending inet");
diff --git a/extra/sysklogd/sysklogd-1.4.1-caen-owl-syslogd-drop-root.diff b/extra/sysklogd/sysklogd-1.4.1-caen-owl-syslogd-drop-root.diff
deleted file mode 100644
index b5813c1d2..000000000
--- a/extra/sysklogd/sysklogd-1.4.1-caen-owl-syslogd-drop-root.diff
+++ /dev/null
@@ -1,117 +0,0 @@
-diff -ur sysklogd-1.4.1-caen-owl-syslogd-bind/sysklogd.8 sysklogd-1.4.1/sysklogd.8
---- sysklogd-1.4.1-caen-owl-syslogd-bind/sysklogd.8 Mon Oct 8 07:26:27 2001
-+++ sysklogd-1.4.1/sysklogd.8 Mon Oct 8 07:30:31 2001
-@@ -32,6 +32,9 @@
- .RB [ " \-s "
- .I domainlist
- ]
-+.RB [ " \-u"
-+.IB username
-+]
- .RB [ " \-v " ]
- .LP
- .SH DESCRIPTION
-@@ -159,6 +162,19 @@
- is specified and the host logging resolves to satu.infodrom.north.de
- no domain would be cut, you will have to specify two domains like:
- .BR "\-s north.de:infodrom.north.de" .
-+.TP
-+.BI "\-u " "username"
-+This causes the
-+.B syslogd
-+daemon to become the named user before starting up logging.
-+
-+Note that when this option is in use,
-+.B syslogd
-+will open all log files as root when the daemon is first started;
-+however, after a
-+.B SIGHUP
-+the files will be reopened as the non-privileged user. You should
-+take this into account when deciding the ownership of the log files.
- .TP
- .B "\-v"
- Print version and exit.
-diff -ur sysklogd-1.4.1-caen-owl-syslogd-bind/syslogd.c sysklogd-1.4.1/syslogd.c
---- sysklogd-1.4.1-caen-owl-syslogd-bind/syslogd.c Mon Oct 8 07:26:27 2001
-+++ sysklogd-1.4.1/syslogd.c Mon Oct 8 07:40:35 2001
-@@ -491,6 +491,10 @@
- #include <arpa/nameser.h>
- #include <arpa/inet.h>
- #include <resolv.h>
-+
-+#include <pwd.h>
-+#include <grp.h>
-+
- #ifndef TESTING
- #include "pidfile.h"
- #endif
-@@ -737,6 +741,7 @@
- intermediate host. */
-
- char *bind_addr = NULL; /* bind UDP port to this interface only */
-+char *server_user = NULL; /* user name to run server as */
-
- extern int errno;
-
-@@ -778,6 +783,21 @@
- static int create_inet_socket();
- #endif
-
-+static int drop_root(void)
-+{
-+ struct passwd *pw;
-+
-+ if (!(pw = getpwnam(server_user))) return -1;
-+
-+ if (!pw->pw_uid) return -1;
-+
-+ if (initgroups(server_user, pw->pw_gid)) return -1;
-+ if (setgid(pw->pw_gid)) return -1;
-+ if (setuid(pw->pw_uid)) return -1;
-+
-+ return 0;
-+}
-+
- int main(argc, argv)
- int argc;
- char **argv;
-@@ -831,7 +851,7 @@
- funix[i] = -1;
- }
-
-- while ((ch = getopt(argc, argv, "a:dhf:i:l:m:np:rs:v")) != EOF)
-+ while ((ch = getopt(argc, argv, "a:dhf:i:l:m:np:rs:u:v")) != EOF)
- switch((char)ch) {
- case 'a':
- if (nfunix < MAXFUNIX)
-@@ -884,6 +904,9 @@
- }
- StripDomains = crunch_list(optarg);
- break;
-+ case 'u':
-+ server_user = optarg;
-+ break;
- case 'v':
- printf("syslogd %s.%s\n", VERSION, PATCHLEVEL);
- exit (0);
-@@ -1031,6 +1054,11 @@
- kill (ppid, SIGTERM);
- #endif
-
-+ if (server_user && drop_root()) {
-+ dprintf("syslogd: failed to drop root\n");
-+ exit(1);
-+ }
-+
- /* Main loop begins here. */
- for (;;) {
- int nfds;
-@@ -1185,7 +1213,7 @@
- int usage()
- {
- fprintf(stderr, "usage: syslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]\n" \
-- " [-s domainlist] [-f conffile] [-i IP address]\n");
-+ " [-s domainlist] [-f conffile] [-i IP address] [-u username]\n");
- exit(1);
- }
-
diff --git a/extra/sysklogd/sysklogd-1.5-syslog-func-collision.patch b/extra/sysklogd/sysklogd-1.5-syslog-func-collision.patch
deleted file mode 100644
index 76912a265..000000000
--- a/extra/sysklogd/sysklogd-1.5-syslog-func-collision.patch
+++ /dev/null
@@ -1,103 +0,0 @@
-http://bugs.gentoo.org/342601
-
-rename local "syslog" and "vsyslog" functions to avoid conflicts with glibc's
-
-patch by Dmitriy Matrosov
-
---- sysklogd-1.5/klogd.c
-+++ sysklogd-1.5/klogd.c
-@@ -258,7 +262,6 @@
- #if !defined(__GLIBC__)
- #include <linux/time.h>
- #endif /* __GLIBC__ */
--#include <stdarg.h>
- #include <paths.h>
- #include <stdlib.h>
- #include <pwd.h>
-@@ -637,7 +640,7 @@
- }
- argl += 3;
- }
-- syslog(priority, fmt, argl);
-+ syslog_own(priority, fmt, argl);
- va_end(ap);
- #ifdef TESTING
- putchar('\n');
-@@ -646,7 +649,7 @@
- }
-
- va_start(ap, fmt);
-- vsyslog(priority, fmt, ap);
-+ vsyslog_own(priority, fmt, ap);
- va_end(ap);
- #ifdef TESTING
- printf ("\n");
-@@ -1205,7 +1208,7 @@
- }
-
- if (server_user && drop_root()) {
-- syslog(LOG_ALERT, "klogd: failed to drop root");
-+ syslog_own(LOG_ALERT, "klogd: failed to drop root");
- Terminate();
- }
-
---- sysklogd-1.5/klogd.h
-+++ sysklogd-1.5/klogd.h
-@@ -24,6 +24,7 @@
- #include <stdio.h>
- #include <syslog.h>
- #include <string.h>
-+#include <stdarg.h>
-
-
- /* Function prototypes. */
-@@ -38,3 +43,5 @@
- extern char * ExpandKadds(char *, char *);
- extern void SetParanoiaLevel(int);
- extern void Syslog(int priority, char *fmt, ...);
-+extern void syslog_own(int, const char *, ...);
-+extern void vsyslog_own(int, const char *, va_list);
---- sysklogd-1.5/ksym_mod.c
-+++ sysklogd-1.5/ksym_mod.c
-@@ -95,7 +98,6 @@
- #if !defined(__GLIBC__)
- #include <linux/time.h>
- #endif /* __GLIBC__ */
--#include <stdarg.h>
- #include <paths.h>
- #include <linux/version.h>
-
---- sysklogd-1.5/syslog.c
-+++ sysklogd-1.5/syslog.c
-@@ -75,6 +79,10 @@
-
- #define _PATH_LOGNAME "/dev/log"
-
-+
-+void syslog_own(int, const char *, ...);
-+void vsyslog_own(int, const char *, va_list);
-+
- static int LogFile = -1; /* fd for log */
- static int connected; /* have done connect */
- static int LogStat = 0; /* status bits, set by openlog() */
-@@ -82,17 +90,17 @@
- static int LogFacility = LOG_USER; /* default facility code */
-
- void
--syslog(int pri, const char *fmt, ...)
-+syslog_own(int pri, const char *fmt, ...)
- {
- va_list ap;
-
- va_start(ap, fmt);
-- vsyslog(pri, fmt, ap);
-+ vsyslog_own(pri, fmt, ap);
- va_end(ap);
- }
-
- void
--vsyslog(pri, fmt, ap)
-+vsyslog_own(pri, fmt, ap)
- int pri;
- const char *fmt;
- va_list ap;
diff --git a/extra/sysklogd/syslog.conf b/extra/sysklogd/syslog.conf
deleted file mode 100644
index 7b0eae2e2..000000000
--- a/extra/sysklogd/syslog.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# /etc/syslog.conf
-#
-
-*.emerg *
-*.err /var/log/errors
-kern.* /var/log/kernel
-authpriv.*;auth.* /var/log/auth
-mail.* /var/log/mail
-*.info;*.!err;authpriv,auth,mail,kern.none /var/log/messages
-
-# Log everything to vc12
-# *.* /dev/vc/12
-
-# End of file
diff --git a/extra/sysklogd/syslog.logrotate b/extra/sysklogd/syslog.logrotate
deleted file mode 100644
index b3d8d8552..000000000
--- a/extra/sysklogd/syslog.logrotate
+++ /dev/null
@@ -1,6 +0,0 @@
-/var/log/messages /var/log/auth /var/log/mail /var/log/errors /var/log/kernel {
- sharedscripts
- postrotate
- /bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null` 2> /dev/null || true
- endscript
-}
diff --git a/extra/sysklogd/syslogd b/extra/sysklogd/syslogd
deleted file mode 100755
index 24c81ec8a..000000000
--- a/extra/sysklogd/syslogd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/syslogd`
-case "$1" in
- start)
- stat_busy "Starting System Logger"
- [ -z "$PID" ] && /usr/sbin/syslogd -m 0
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon syslogd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping System Logger"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f /var/run/syslogd.pid
- rm_daemon syslogd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/system-config-printer/PKGBUILD b/extra/system-config-printer/PKGBUILD
index 13b62fca3..5b3649cce 100644
--- a/extra/system-config-printer/PKGBUILD
+++ b/extra/system-config-printer/PKGBUILD
@@ -8,7 +8,7 @@ pkgver=1.3.12
pkgrel=1
pkgdesc="A CUPS printer configuration tool and status applet"
url="http://cyberelk.net/tim/software/system-config-printer/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
makedepends=('udev' 'libcups' 'intltool' 'python2' 'xmlto' 'docbook-xsl'
'libusb-compat' 'desktop-file-utils')
diff --git a/extra/t1lib/PKGBUILD b/extra/t1lib/PKGBUILD
index 50d8a4c8e..9d882a493 100644
--- a/extra/t1lib/PKGBUILD
+++ b/extra/t1lib/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=t1lib
pkgver=5.1.2
-pkgrel=3
+pkgrel=3.1
pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html"
license=('GPL')
depends=('libxaw')
diff --git a/extra/taglib-extras/PKGBUILD b/extra/taglib-extras/PKGBUILD
index 23080ec64..912406c06 100644
--- a/extra/taglib-extras/PKGBUILD
+++ b/extra/taglib-extras/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=taglib-extras
pkgver=1.0.1
pkgrel=2
pkgdesc="Additional taglib plugins for KDE"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://developer.kde.org/~wheeler/taglib.html"
license=('LGPL')
depends=('taglib>=1.6')
diff --git a/extra/taglib/PKGBUILD b/extra/taglib/PKGBUILD
index 4a5debbc0..f5a71aae8 100644
--- a/extra/taglib/PKGBUILD
+++ b/extra/taglib/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=taglib
pkgver=1.8
pkgrel=1
pkgdesc="A Library for reading and editing the meta-data of several popular audio formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://developer.kde.org/~wheeler/taglib.html"
license=('LGPL' 'MPL')
depends=('sh' 'zlib' 'gcc-libs')
diff --git a/extra/talloc/PKGBUILD b/extra/talloc/PKGBUILD
index 573d162dd..5b65f4d51 100644
--- a/extra/talloc/PKGBUILD
+++ b/extra/talloc/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=talloc
pkgver=2.0.7
-pkgrel=1
+pkgrel=1.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/"
depends=('glibc')
diff --git a/extra/tamu-anova/PKGBUILD b/extra/tamu-anova/PKGBUILD
index 5db605b48..d6a14160f 100644
--- a/extra/tamu-anova/PKGBUILD
+++ b/extra/tamu-anova/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tamu-anova
pkgver=0.2.1
pkgrel=2
pkgdesc="ANOVA Extensions to the GNU Scientific Library"
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url="http://www.stat.tamu.edu/~aredd/tamuanova/"
license=('GPL')
depends=('gsl')
diff --git a/extra/tcl/PKGBUILD b/extra/tcl/PKGBUILD
index 19b78fc17..cd0325489 100644
--- a/extra/tcl/PKGBUILD
+++ b/extra/tcl/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tcl
pkgver=8.5.13
pkgrel=1
pkgdesc="The Tcl scripting language"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tcl.sourceforge.net/"
license=('custom')
source=(http://downloads.sourceforge.net/sourceforge/tcl/tcl${pkgver}-src.tar.gz)
diff --git a/extra/tcpdump/PKGBUILD b/extra/tcpdump/PKGBUILD
index db08f1c90..d9ceeda41 100644
--- a/extra/tcpdump/PKGBUILD
+++ b/extra/tcpdump/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tcpdump
pkgver=4.3.0
pkgrel=1
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 bc04c1c9c..4296640d6 100644
--- a/extra/tdb/PKGBUILD
+++ b/extra/tdb/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=tdb
pkgver=1.2.10
pkgrel=2
pkgdesc="A Trivial Database similar to GDBM but allows simultaneous commits"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL3')
url="http://tdb.samba.org/"
source=(http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz)
diff --git a/extra/telepathy-farstream/PKGBUILD b/extra/telepathy-farstream/PKGBUILD
index 8a737e064..1f0ac092c 100644
--- a/extra/telepathy-farstream/PKGBUILD
+++ b/extra/telepathy-farstream/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-farstream
pkgver=0.6.0
pkgrel=1
pkgdesc="A telepathy-backend to use stream engine."
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://telepathy.freedesktop.org"
license=('LGPL2.1')
depends=('telepathy-glib' 'farstream')
diff --git a/extra/telepathy-gabble/PKGBUILD b/extra/telepathy-gabble/PKGBUILD
index c0400f51c..915f7c4c1 100644
--- a/extra/telepathy-gabble/PKGBUILD
+++ b/extra/telepathy-gabble/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-gabble
pkgver=0.17.1
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 49b381193..8dbc3192f 100644
--- a/extra/telepathy-glib/PKGBUILD
+++ b/extra/telepathy-glib/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=telepathy-glib
pkgver=0.20.1
pkgrel=1
pkgdesc="GLib bindings for the Telepathy D-Bus protocol"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
license=('LGPL2.1')
options=('!libtool' '!emptydirs')
diff --git a/extra/telepathy-haze/PKGBUILD b/extra/telepathy-haze/PKGBUILD
index beffbe5da..9eb64e501 100644
--- a/extra/telepathy-haze/PKGBUILD
+++ b/extra/telepathy-haze/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-haze
pkgver=0.6.0
pkgrel=2
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 5df4e5930..973bc8c69 100644
--- a/extra/telepathy-idle/PKGBUILD
+++ b/extra/telepathy-idle/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=telepathy-idle
pkgver=0.1.14
pkgrel=1
pkgdesc="An IRC connection manager for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
diff --git a/extra/telepathy-kde-accounts-kcm/PKGBUILD b/extra/telepathy-kde-accounts-kcm/PKGBUILD
index e4a65496a..b1ec84b3c 100644
--- a/extra/telepathy-kde-accounts-kcm/PKGBUILD
+++ b/extra/telepathy-kde-accounts-kcm/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-accounts-kcm
pkgver=0.5.1
pkgrel=1
pkgdesc="KCM Module for configuring Telepathy Instant Messaging Accounts"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'telepathy-kde-contact-list')
diff --git a/extra/telepathy-kde-approver/PKGBUILD b/extra/telepathy-kde-approver/PKGBUILD
index 32eef8deb..4f5d341a9 100644
--- a/extra/telepathy-kde-approver/PKGBUILD
+++ b/extra/telepathy-kde-approver/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-approver
pkgver=0.5.1
pkgrel=1
pkgdesc="KDE Channel Approver for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'telepathy-kde-contact-list')
diff --git a/extra/telepathy-kde-auth-handler/PKGBUILD b/extra/telepathy-kde-auth-handler/PKGBUILD
index db0b81c89..5e21916af 100644
--- a/extra/telepathy-kde-auth-handler/PKGBUILD
+++ b/extra/telepathy-kde-auth-handler/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-auth-handler
pkgver=0.5.1
pkgrel=1
pkgdesc="Provide UI/KWallet Integration For Passwords and SSL Errors on Account Connect"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'qjson')
diff --git a/extra/telepathy-kde-call-ui/PKGBUILD b/extra/telepathy-kde-call-ui/PKGBUILD
index 54a225ade..188758fc2 100644
--- a/extra/telepathy-kde-call-ui/PKGBUILD
+++ b/extra/telepathy-kde-call-ui/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-call-ui
pkgver=0.5.1
pkgrel=1
pkgdesc="Voice/Video Call UI for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'qt-gstreamer' 'kdebase-runtime')
diff --git a/extra/telepathy-kde-common-internals/PKGBUILD b/extra/telepathy-kde-common-internals/PKGBUILD
index fa60f530e..250cf4520 100644
--- a/extra/telepathy-kde-common-internals/PKGBUILD
+++ b/extra/telepathy-kde-common-internals/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-common-internals
pkgver=0.5.1
pkgrel=1
pkgdesc="Common components for KDE-Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('kdelibs' 'telepathy-qt' 'telepathy-mission-control')
diff --git a/extra/telepathy-kde-contact-applet/PKGBUILD b/extra/telepathy-kde-contact-applet/PKGBUILD
index 25a4fd945..37f014b41 100644
--- a/extra/telepathy-kde-contact-applet/PKGBUILD
+++ b/extra/telepathy-kde-contact-applet/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-contact-applet
pkgver=0.5.1
pkgrel=1
pkgdesc="The KDE-Telepathy contact plasmoid"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'kdebase-workspace')
diff --git a/extra/telepathy-kde-contact-list/PKGBUILD b/extra/telepathy-kde-contact-list/PKGBUILD
index 7a6dd9150..776c12b8d 100644
--- a/extra/telepathy-kde-contact-list/PKGBUILD
+++ b/extra/telepathy-kde-contact-list/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-contact-list
pkgver=0.5.1
pkgrel=1
pkgdesc="Telepathy contact list application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals' 'kdebase-runtime')
diff --git a/extra/telepathy-kde-contact-runner/PKGBUILD b/extra/telepathy-kde-contact-runner/PKGBUILD
index 151a7a196..bb694f1cb 100644
--- a/extra/telepathy-kde-contact-runner/PKGBUILD
+++ b/extra/telepathy-kde-contact-runner/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-contact-runner
pkgver=0.5.1
pkgrel=1
pkgdesc="KRunner plugin for KDE Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals')
diff --git a/extra/telepathy-kde-filetransfer-handler/PKGBUILD b/extra/telepathy-kde-filetransfer-handler/PKGBUILD
index 9f11841ef..8164aed8a 100644
--- a/extra/telepathy-kde-filetransfer-handler/PKGBUILD
+++ b/extra/telepathy-kde-filetransfer-handler/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-filetransfer-handler
pkgver=0.5.1
pkgrel=1
pkgdesc="Telepathy file transfer handler"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals')
diff --git a/extra/telepathy-kde-integration-module/PKGBUILD b/extra/telepathy-kde-integration-module/PKGBUILD
index d233d063e..e8466c444 100644
--- a/extra/telepathy-kde-integration-module/PKGBUILD
+++ b/extra/telepathy-kde-integration-module/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-kded-integration-module
pkgver=0.5.1
pkgrel=1
pkgdesc="Sits in KDED and takes care of various bits of system integration like setting user to auto-away or handling connection errors"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-common-internals')
diff --git a/extra/telepathy-kde-presence-applet/PKGBUILD b/extra/telepathy-kde-presence-applet/PKGBUILD
index 3f1e00e4a..f4425d833 100644
--- a/extra/telepathy-kde-presence-applet/PKGBUILD
+++ b/extra/telepathy-kde-presence-applet/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-presence-applet
pkgver=0.5.1
pkgrel=1
pkgdesc="Plasma applet for managing your Telepathy account presence"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-contact-list')
diff --git a/extra/telepathy-kde-send-file/PKGBUILD b/extra/telepathy-kde-send-file/PKGBUILD
index 73f4b62fe..8a0fe6c52 100644
--- a/extra/telepathy-kde-send-file/PKGBUILD
+++ b/extra/telepathy-kde-send-file/PKGBUILD
@@ -6,7 +6,7 @@ _pkgname=ktp-send-file
pkgver=0.5.1
pkgrel=1
pkgdesc="A File manager plugin to launch a file transfer job with a specified contact"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-filetransfer-handler' 'telepathy-kde-contact-list')
diff --git a/extra/telepathy-kde-text-ui/PKGBUILD b/extra/telepathy-kde-text-ui/PKGBUILD
index 682cb0f91..105c44f09 100644
--- a/extra/telepathy-kde-text-ui/PKGBUILD
+++ b/extra/telepathy-kde-text-ui/PKGBUILD
@@ -7,7 +7,7 @@ _pkgname=ktp-text-ui
pkgver=0.5.1
pkgrel=2
pkgdesc="Telepathy handler for Text Chats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('telepathy-kde-contact-list' 'telepathy-logger-qt')
diff --git a/extra/telepathy-logger-qt/PKGBUILD b/extra/telepathy-logger-qt/PKGBUILD
index 75b725779..049f32f2c 100644
--- a/extra/telepathy-logger-qt/PKGBUILD
+++ b/extra/telepathy-logger-qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-logger-qt
pkgver=0.5.1
pkgrel=1
pkgdesc="Qt bindings for telepathy logger"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/extragear/network/telepathy/telepathy-logger-qt'
license=('GPL')
depends=('telepathy-qt' 'telepathy-logger' 'qt-gstreamer' 'boost-libs')
diff --git a/extra/telepathy-logger/PKGBUILD b/extra/telepathy-logger/PKGBUILD
index adfc7a20f..bd4516383 100644
--- a/extra/telepathy-logger/PKGBUILD
+++ b/extra/telepathy-logger/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=telepathy-logger
pkgver=0.6.0
pkgrel=1
pkgdesc="Telepathy framework logging daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://telepathy.freedesktop.org/wiki/Logger"
license=('LGPL2.1')
depends=('telepathy-glib' 'sqlite' 'libxml2' 'dconf')
diff --git a/extra/telepathy-mission-control/PKGBUILD b/extra/telepathy-mission-control/PKGBUILD
index a78883f81..ccf3a5f7f 100644
--- a/extra/telepathy-mission-control/PKGBUILD
+++ b/extra/telepathy-mission-control/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=telepathy-mission-control
pkgver=5.14.0
pkgrel=1
pkgdesc="A Telepathy component providing abstraction of some of the details of connection managers."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org/wiki/Mission Control"
license=('LGPL2.1')
depends=('telepathy-glib' 'libgnome-keyring' 'dconf' 'upower' 'networkmanager')
diff --git a/extra/telepathy-qt/PKGBUILD b/extra/telepathy-qt/PKGBUILD
index 9a3e23e20..e411312a5 100644
--- a/extra/telepathy-qt/PKGBUILD
+++ b/extra/telepathy-qt/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-qt
pkgver=0.9.3
pkgrel=2
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-rakia/PKGBUILD b/extra/telepathy-rakia/PKGBUILD
index 300aaa381..12338fa1f 100644
--- a/extra/telepathy-rakia/PKGBUILD
+++ b/extra/telepathy-rakia/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=telepathy-rakia
pkgver=0.7.4
pkgrel=1
pkgdesc="SIP connection manager for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
license=('LGPL')
depends=('telepathy-glib' 'sofia-sip')
diff --git a/extra/telepathy-salut/PKGBUILD b/extra/telepathy-salut/PKGBUILD
index 5c998e4df..bf536dc01 100644
--- a/extra/telepathy-salut/PKGBUILD
+++ b/extra/telepathy-salut/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=telepathy-salut
pkgver=0.8.1
pkgrel=1
pkgdesc="A link-local XMPP connection manager for Telepathy"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://telepathy.freedesktop.org"
groups=('telepathy')
license=('LGPL')
diff --git a/extra/terminal/PKGBUILD b/extra/terminal/PKGBUILD
index 91cceef58..edef8f505 100644
--- a/extra/terminal/PKGBUILD
+++ b/extra/terminal/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=terminal
pkgver=0.4.8
pkgrel=2
pkgdesc="A modern terminal emulator primarly for the Xfce desktop environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/projects/terminal/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/testdisk/PKGBUILD b/extra/testdisk/PKGBUILD
index 5070e266c..ab41368ca 100644
--- a/extra/testdisk/PKGBUILD
+++ b/extra/testdisk/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=testdisk
pkgver=6.13
pkgrel=3
pkgdesc="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.cgsecurity.org/index.html?testdisk.html"
license=('GPL')
depends=('libjpeg' 'openssl' 'progsreiserfs' 'ntfsprogs')
diff --git a/extra/texmacs/PKGBUILD b/extra/texmacs/PKGBUILD
index 23c7b170b..a85383f60 100644
--- a/extra/texmacs/PKGBUILD
+++ b/extra/texmacs/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=texmacs
pkgver=1.0.7.16
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' 'shared-mime-info'
diff --git a/extra/tftp-hpa/PKGBUILD b/extra/tftp-hpa/PKGBUILD
index 97e98dc0d..439ac4a14 100644
--- a/extra/tftp-hpa/PKGBUILD
+++ b/extra/tftp-hpa/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tftp-hpa
pkgver=5.2
pkgrel=3
pkgdesc="Official tftp server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kernel.org/pub/software/network/tftp/tftp-hpa/"
license=('BSD')
depends=('readline>=6.0.00')
diff --git a/extra/thinkfinger/PKGBUILD b/extra/thinkfinger/PKGBUILD
index 2212b5dec..431c3b4d0 100644
--- a/extra/thinkfinger/PKGBUILD
+++ b/extra/thinkfinger/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=0.3
pkgrel=6
pkgdesc="A driver for the SGS Thomson Microelectronics fingerprint reader found in most IBM/Lenovo ThinkPads"
url="http://thinkfinger.sourceforge.net/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=("GPL")
depends=('pam' 'libusb-compat')
install=thinkfinger.install
diff --git a/extra/thunar-archive-plugin/PKGBUILD b/extra/thunar-archive-plugin/PKGBUILD
index 40c811891..0af18e822 100644
--- a/extra/thunar-archive-plugin/PKGBUILD
+++ b/extra/thunar-archive-plugin/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=thunar-archive-plugin
pkgver=0.3.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="Create and deflate archives in thunar"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/thunar-media-tags-plugin/PKGBUILD b/extra/thunar-media-tags-plugin/PKGBUILD
index 19b749553..4976756b0 100644
--- a/extra/thunar-media-tags-plugin/PKGBUILD
+++ b/extra/thunar-media-tags-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar-media-tags-plugin
pkgver=0.2.0
pkgrel=2
pkgdesc="Adds special features for media files to the Thunar File Manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://goodies.xfce.org/projects/thunar-plugins/thunar-media-tags-plugin"
groups=('xfce4-goodies')
diff --git a/extra/thunar-volman/PKGBUILD b/extra/thunar-volman/PKGBUILD
index cefc46634..dbb193461 100644
--- a/extra/thunar-volman/PKGBUILD
+++ b/extra/thunar-volman/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar-volman
pkgver=0.8.0
pkgrel=1
pkgdesc="Automatic management of removeable devices in Thunar"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://foo-projects.org/~benny/projects/thunar-volman"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/thunar/PKGBUILD b/extra/thunar/PKGBUILD
index 69e10d76e..e9df5b0bd 100644
--- a/extra/thunar/PKGBUILD
+++ b/extra/thunar/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=thunar
pkgver=1.4.0
pkgrel=4
pkgdesc="Modern file manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://thunar.xfce.org"
license=('GPL2' 'LGPL2.1')
groups=('xfce4')
diff --git a/extra/tidyhtml/PKGBUILD b/extra/tidyhtml/PKGBUILD
index aaca30008..9b001147b 100644
--- a/extra/tidyhtml/PKGBUILD
+++ b/extra/tidyhtml/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=tidyhtml
# obtain pkgver from http://tidy.cvs.sourceforge.net/tidy/tidy/src/version.h?view=markup
pkgver=1.46
-pkgrel=2
+pkgrel=2.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')
depends=('glibc')
diff --git a/extra/time/PKGBUILD b/extra/time/PKGBUILD
index 3bd8b4197..82706136f 100644
--- a/extra/time/PKGBUILD
+++ b/extra/time/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=time
pkgver=1.7
pkgrel=6
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 37f707e9e..cadaef654 100644
--- a/extra/timidity++/PKGBUILD
+++ b/extra/timidity++/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=timidity++
pkgver=2.14.0
pkgrel=3
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/tinycdb/PKGBUILD b/extra/tinycdb/PKGBUILD
index 2e803febd..5467ce5ff 100644
--- a/extra/tinycdb/PKGBUILD
+++ b/extra/tinycdb/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Very fast and simple package for creating and reading constant data bases'
url='http://www.corpit.ru/mjt/tinycdb.html'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://www.corpit.ru/mjt/tinycdb/${pkgname}-${pkgver}.tar.gz")
sha1sums=('ade42ee1e7c56f66a63cb933206c089b9983adba')
diff --git a/extra/tk/PKGBUILD b/extra/tk/PKGBUILD
index b9bf23732..1dce45686 100644
--- a/extra/tk/PKGBUILD
+++ b/extra/tk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=tk
pkgver=8.5.13
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/tomcat-native/PKGBUILD b/extra/tomcat-native/PKGBUILD
index 277778cfc..1eb9ed819 100644
--- a/extra/tomcat-native/PKGBUILD
+++ b/extra/tomcat-native/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tomcat-native
pkgver=1.1.24
pkgrel=1
pkgdesc="The Apache Tomcat Native Library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tomcat.apache.org/"
license=("Apache")
depends=('apr' 'openssl')
diff --git a/extra/tomcat/PKGBUILD b/extra/tomcat/PKGBUILD
deleted file mode 100644
index 8875fed4f..000000000
--- a/extra/tomcat/PKGBUILD
+++ /dev/null
@@ -1,49 +0,0 @@
-# $Id: PKGBUILD 138508 2011-09-26 12:20:21Z guillaume $
-# Maintainer: Guillaume ALAUX <guillaume at archlinux dot org>
-# Contributor: Hugo Doria <hugo@archlinux.org>
-pkgname=tomcat
-pkgver=5.5.34
-pkgrel=1
-arch=('i686' 'x86_64')
-pkgdesc="Servlet-2.4/JSP-2.0 Container"
-url="http://tomcat.apache.org/"
-license=('APACHE')
-depends=('java-environment')
-makedepends=('openjdk6')
-backup=('opt/tomcat/conf/server.xml' 'opt/tomcat/conf/tomcat-users.xml' 'etc/conf.d/tomcat')
-install=tomcat.install
-source=(http://archive.apache.org/dist/tomcat/tomcat-5/v${pkgver}/bin/apache-tomcat-${pkgver}.tar.gz
- 'tomcat'
- 'tomcat.conf.d')
-md5sums=('d09a09bc84409510574a673d35939f16'
- '20e6a8e89a148e2b0ac81ca03ceea6b1'
- '368322d8a51ce20cc5dbdb505706a16a')
-
-build() {
- unset LDFLAGS
- # build jsvc
- cd ${srcdir}/apache-${pkgname}-${pkgver}/bin
- tar xzf commons-daemon-native.tar.gz
- cd commons-daemon-1.0.7-native-src/unix
- sh configure --with-java=/usr/lib/jvm/java-6-openjdk
- make clean
- make
- cp jsvc ../..
-}
-
-package() {
- cd ${srcdir}/apache-${pkgname}-${pkgver}/bin
- # get rid of some cruft
- cd ${srcdir}/apache-${pkgname}-${pkgver}
- rm -f LICENSE NOTICE RELEASE-NOTES RUNNING.txt
- rm -fr bin/*.exe bin/*.bat bin/*.tar.gz bin/jsvc-src
-
- # install everything
- mkdir -p ${pkgdir}/opt/tomcat
- cp -R * ${pkgdir}/opt/tomcat
- install -D -m755 ${srcdir}/tomcat ${pkgdir}/etc/rc.d/tomcat
- install -D -m644 ${srcdir}/tomcat.conf.d ${pkgdir}/etc/conf.d/tomcat
- chgrp -R 66 ${pkgdir}/opt/tomcat/{conf,work,webapps,logs}
- chmod 0660 ${pkgdir}/opt/tomcat/conf/{*.xml,*.policy,*.properties,/Catalina/localhost/*.xml}
- chmod 775 ${pkgdir}/opt/tomcat/{conf,work,webapps,logs}
-}
diff --git a/extra/tomcat/tomcat b/extra/tomcat/tomcat
deleted file mode 100755
index 43116783d..000000000
--- a/extra/tomcat/tomcat
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/bash
-
-[ -f /etc/conf.d/tomcat ] && . /etc/conf.d/tomcat
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting Tomcat"
- /opt/tomcat/bin/jsvc \
- -user tomcat \
- -home $TOMCAT_JAVA_HOME \
- -Dcatalina.home=/opt/tomcat \
- -Dcatalina.base=/opt/tomcat \
- -Djava.io.tmpdir=/opt/tomcat/temp \
- -wait 10 \
- -pidfile /var/run/tomcat.pid \
- -errfile /opt/tomcat/logs/catalina.log \
- $CATALINA_OPTS \
- -cp $TOMCAT_JAVA_HOME/lib/tools.jar:/opt/tomcat/bin/commons-daemon.jar:/opt/tomcat/bin/bootstrap.jar \
- org.apache.catalina.startup.Bootstrap
-
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon tomcat
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Tomcat"
- /opt/tomcat/bin/jsvc \
- -stop \
- -pidfile /var/run/tomcat.pid \
- org.apache.catalina.startup.Bootstrap
-
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon tomcat
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/extra/tomcat/tomcat.conf.d b/extra/tomcat/tomcat.conf.d
deleted file mode 100644
index aed805cd3..000000000
--- a/extra/tomcat/tomcat.conf.d
+++ /dev/null
@@ -1,5 +0,0 @@
-# The JAVA_HOME of the JVM for Tomcat to use
-TOMCAT_JAVA_HOME=/usr/lib/jvm/java-6-openjdk
-
-# Tomcat additional commandline options
-CATALINA_OPTS=
diff --git a/extra/tomcat/tomcat.install b/extra/tomcat/tomcat.install
deleted file mode 100644
index 9f7c21d38..000000000
--- a/extra/tomcat/tomcat.install
+++ /dev/null
@@ -1,36 +0,0 @@
-post_install() {
- getent group tomcat >/dev/null 2>&1 || groupadd -g 66 tomcat
- getent passwd tomcat >/dev/null 2>&1 || useradd -u 66 -g tomcat -d /opt/tomcat -s /bin/false tomcat
-
- if [ -f lib/modules/`uname -r`/kernel/security/capability.ko ]; then
- echo ">>> It appears that your current kernel has linux security"
- echo ">>> capabilities built as a module. Tomcat requires this"
- echo ">>> functionality to operate."
- echo ">>>"
- echo ">>> To activate the module, please load it now (modprobe capability)."
- echo ">>> Also, you should add it to your MODULES array in rc.conf, so"
- echo ">>> it will be activated automatically at boot-up."
- fi
-
- echo ""
- echo "== End of life for Apache Tomcat 5.5.x =="
- echo "The Apache Tomcat team announces that support for Apache Tomcat 5.5.x"
- echo "will end on 30 September 2012."
- echo ""
- echo "You are thus strongly encouraged to migrate to tomcat6 or tomcat7"
- echo ""
- echo "See the Arch Linux wiki page for tomcat for more information."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- if getent passwd tomcat >/dev/null 2>&1; then
- userdel tomcat
- fi
- if getent group tomcat >/dev/null 2>&1; then
- groupdel tomcat
- fi
-}
diff --git a/extra/totem-plparser/PKGBUILD b/extra/totem-plparser/PKGBUILD
index 2fc7aa293..d4fe27edd 100644
--- a/extra/totem-plparser/PKGBUILD
+++ b/extra/totem-plparser/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
url="http://www.gnome.org"
pkgdesc="Totem playlist parser library"
license=('LGPL')
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
depends=('gmime' 'libsoup-gnome' 'libarchive' 'libquvi')
makedepends=('intltool' 'gobject-introspection')
options=('!libtool')
diff --git a/extra/totem/PKGBUILD b/extra/totem/PKGBUILD
index 019b4c5d6..4cd12d4ee 100644
--- a/extra/totem/PKGBUILD
+++ b/extra/totem/PKGBUILD
@@ -8,12 +8,13 @@ pkgver=3.6.3
pkgrel=1
pkgdesc="GNOME3 movie player based on GStreamer"
url="http://www.gnome.org"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64' 'mips64el')
license=(GPL2 custom)
depends=(gst-plugins-base gst-plugins-good totem-plparser desktop-file-utils iso-codes libpeas
hicolor-icon-theme gnome-icon-theme-symbolic gsettings-desktop-schemas dconf clutter-gst
clutter-gtk mx python2-gobject gst-plugins-bad)
-makedepends=(intltool gnome-doc-utils nautilus lirc-utils vala grilo pylint)
+makedepends=(intltool gnome-doc-utils nautilus vala grilo pylint)
+[ "$CARCH" != "mips64el" ] && makedepends+=('lirc-utils')
options=('!libtool' '!emptydirs')
source=(http://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
browser-plugins.ini)
@@ -37,9 +38,9 @@ package_totem() {
install=totem.install
optdepends=('gst-plugins-ugly: Extra media codecs'
'gst-ffmpeg: Extra media codecs'
- 'lirc-utils: Infrared Remote Control plugin'
'grilo-plugins: Browse sidebar (remote media)'
'pyxdg: opensubtitles plugin')
+ [ "$CARCH" != "mips64el" ] && optdepends+=('lirc-utils: Infrared Remote Control plugin')
cd "$pkgbase-$pkgver"
make DESTDIR="${pkgdir}" install
diff --git a/extra/tracker/PKGBUILD b/extra/tracker/PKGBUILD
index b33312b05..4060fa97c 100644
--- a/extra/tracker/PKGBUILD
+++ b/extra/tracker/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=0.14.4
_tver=${pkgver%.*}
pkgrel=2
pkgdesc="All-in-one indexer, search tool and metadata database"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
makedepends=('libgee' 'libgnome-keyring' 'upower' 'libexif' 'exempi'
'poppler-glib' 'libgsf' 'icu' 'enca' 'networkmanager' 'gtk3'
diff --git a/extra/transcode/PKGBUILD b/extra/transcode/PKGBUILD
index 0ac14ee1f..56f7909b1 100644
--- a/extra/transcode/PKGBUILD
+++ b/extra/transcode/PKGBUILD
@@ -8,7 +8,7 @@ _sripver=0.3-4
pkgver=1.1.7
pkgrel=6
pkgdesc="A video/DVD ripper and encoder for the terminal/console"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://tcforge.berlios.de/"
license=('GPL')
depends=('gawk' 'imagemagick' 'lzo2' 'libdvdread' 'ffmpeg' 'mjpegtools'
diff --git a/extra/transfig/PKGBUILD b/extra/transfig/PKGBUILD
index a17e6047f..50dde5722 100644
--- a/extra/transfig/PKGBUILD
+++ b/extra/transfig/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=transfig
pkgver=3.2.5d
pkgrel=1
pkgdesc="Format conversion utility that can be used with xfig"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfig.org"
license=('custom')
depends=('libpng' 'libxpm')
diff --git a/extra/transmission/PKGBUILD b/extra/transmission/PKGBUILD
index 77d340328..64f106019 100644
--- a/extra/transmission/PKGBUILD
+++ b/extra/transmission/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=transmission
pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
pkgver=2.73
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.transmissionbt.com/"
license=('MIT')
makedepends=('gtk3' 'intltool' 'curl' 'qt' 'libevent')
diff --git a/extra/trayer/PKGBUILD b/extra/trayer/PKGBUILD
index 3e3a6aaf4..d9a8e1259 100644
--- a/extra/trayer/PKGBUILD
+++ b/extra/trayer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=trayer
pkgver=1.0
pkgrel=7
pkgdesc="A lightweight GTK2-based systray"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="https://gna.org/projects/fvwm-crystal/"
license=('GPL' 'MIT')
depends=('gtk2')
diff --git a/extra/tree/PKGBUILD b/extra/tree/PKGBUILD
index b718ec3ed..c17f97b38 100644
--- a/extra/tree/PKGBUILD
+++ b/extra/tree/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=tree
pkgver=1.6.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A directory listing program displaying a depth indented list of files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://mama.indstate.edu/users/ice/tree/"
license=('GPL')
depends=('glibc')
diff --git a/extra/truecrypt/PKGBUILD b/extra/truecrypt/PKGBUILD
index e0de53cba..0adeccb65 100644
--- a/extra/truecrypt/PKGBUILD
+++ b/extra/truecrypt/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
epoch=1
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 ae03265d3..086f5fc42 100644
--- a/extra/tsocks/PKGBUILD
+++ b/extra/tsocks/PKGBUILD
@@ -7,13 +7,14 @@ pkgrel=5
pkgdesc='Transparent SOCKS proxying library'
url='http://tsocks.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('489f88c5df999ba21b27cdaa7836d9426d062aec')
build() {
cd "${srcdir}/${pkgname}-1.8"
- ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib
+ ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --libdir=/usr/lib \
+ --build=$CHOST --host=$CHOST
make
}
diff --git a/extra/tumbler/PKGBUILD b/extra/tumbler/PKGBUILD
index 916fc6075..2817c7856 100644
--- a/extra/tumbler/PKGBUILD
+++ b/extra/tumbler/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=tumbler
pkgver=0.1.25
pkgrel=1
pkgdesc="D-Bus service for applications to request thumbnails"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://git.xfce.org/xfce/tumbler/"
license=('GPL2' 'LGPL')
groups=('xfce4')
diff --git a/extra/tuxpuck/PKGBUILD b/extra/tuxpuck/PKGBUILD
index aecbcdaa6..f9b7fc1c8 100644
--- a/extra/tuxpuck/PKGBUILD
+++ b/extra/tuxpuck/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tuxpuck
pkgver=0.8.2
pkgrel=5
pkgdesc="Airhockey with tux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://home.no.net/munsuun/tuxpuck/"
license=('GPL2')
depends=('libjpeg' 'sdl' 'libpng' 'libvorbis')
diff --git a/extra/twisted/PKGBUILD b/extra/twisted/PKGBUILD
index 3fad2ee81..483ca44d9 100644
--- a/extra/twisted/PKGBUILD
+++ b/extra/twisted/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=twisted
pkgver=12.2.0
pkgrel=2
pkgdesc="Asynchronous networking framework written in Python."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://twistedmatrix.com/"
license=('MIT')
depends=('python2-crypto' 'python2-zope-interface')
diff --git a/extra/ucommon/PKGBUILD b/extra/ucommon/PKGBUILD
index 918428a6e..e204462db 100644
--- a/extra/ucommon/PKGBUILD
+++ b/extra/ucommon/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=ucommon
pkgver=5.5.0
pkgrel=1
pkgdesc="A light-weight C++ library to facilitate using C++ design patterns"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnutelephony.org/index.php/GNU_uCommon_C++"
license=('GPL3' 'LGPL3')
depends=('openssl')
diff --git a/extra/udisks/PKGBUILD b/extra/udisks/PKGBUILD
index b3b55b369..201c4edce 100644
--- a/extra/udisks/PKGBUILD
+++ b/extra/udisks/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=udisks
pkgver=1.0.4
-pkgrel=5
+pkgrel=5.1
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' 'eject')
diff --git a/extra/udisks2/PKGBUILD b/extra/udisks2/PKGBUILD
index c496e4e61..c6c126fd2 100644
--- a/extra/udisks2/PKGBUILD
+++ b/extra/udisks2/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=udisks2
pkgver=2.0.0
pkgrel=1
pkgdesc="Disk Management Service, version 2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL2')
depends=('glib2' 'udev' 'polkit' 'libatasmart' 'eject')
diff --git a/extra/uim/PKGBUILD b/extra/uim/PKGBUILD
index 55eed0040..4826ccb6e 100644
--- a/extra/uim/PKGBUILD
+++ b/extra/uim/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Multilingual input method library'
url='http://code.google.com/p/uim/'
license=('custom:BSD')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxft' 'libedit' 'anthy' 'm17n-lib')
makedepends=('intltool' 'gettext' 'qt' 'gtk2' 'gtk3' 'gnome-panel')
optdepends=('qt: immodule and helper applications'
diff --git a/extra/umfpack/PKGBUILD b/extra/umfpack/PKGBUILD
deleted file mode 100644
index 4fc9b0644..000000000
--- a/extra/umfpack/PKGBUILD
+++ /dev/null
@@ -1,55 +0,0 @@
-# $Id: PKGBUILD 16363 2010-04-29 09:59:57Z ronald $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: iKevin <kellwood at ameritech dot net>
-
-pkgname=umfpack
-pkgver=5.5.2
-_ufcfgver=3.7.0
-_amdver=2.2.3
-_cholmodver=1.7.4
-_colamdver=2.7.4
-_ccolamdver=2.7.4
-pkgrel=1
-pkgdesc="A multifrontal direct solver for unsymmetric linear systems (AMD/${_amdver}, UFConfig/${_ufcgfgver})"
-arch=('i686' 'x86_64')
-url="http://www.cise.ufl.edu/research/sparse/umfpack"
-license=('LGPL')
-makedepends=('lapack' 'blas')
-noextract=(CHOLMOD-${_cholmodver}.tar.gz
- COLAMD-${_colamdver}.tar.gz
- CCOLAMD-${_ccolamdver}.tar.gz)
-source=(http://www.cise.ufl.edu/research/sparse/umfpack/UMFPACK-$pkgver.tar.gz
- http://www.cise.ufl.edu/research/sparse/UFconfig/UFconfig-${_ufcfgver}.tar.gz
- http://www.cise.ufl.edu/research/sparse/amd/AMD-${_amdver}.tar.gz
- http://www.cise.ufl.edu/research/sparse/cholmod/CHOLMOD-${_cholmodver}.tar.gz
- http://www.cise.ufl.edu/research/sparse/colamd/COLAMD-${_colamdver}.tar.gz
- http://www.cise.ufl.edu/research/sparse/ccolamd/CCOLAMD-${_ccolamdver}.tar.gz)
-md5sums=('07eaa6ae3de176e5b3681032c10c76be'
- 'ab8c355d683e8c5597a0824b32704c70'
- '4d2a7db82406f880e7686fbd2df5a3bf'
- 'c2088078a86ca1a88e64037f80ae6540'
- '186d692ab7211e79f9b727d8192635f7'
- 'bb55f6b4b9358160eaba1a57f863c65e')
-
-build() {
- CFLAGS+=" -DNCHOLMOD"
- cd "$srcdir"
- cp -rf UFconfig/xerbla UMFPACK
- make -C UMFPACK library
- make -C AMD library
-}
-
-package() {
- cd "$srcdir"
-
- install -dm755 "$pkgdir"/usr/{include,lib}
-
- install -m644 $srcdir/UMFPACK/Lib/libumfpack.a "$pkgdir/usr/lib/"
- install -m644 $srcdir/UMFPACK/Include/*.h $pkgdir/usr/include
-
- install -m644 "$srcdir/AMD/Lib/libamd.a" "$pkgdir/usr/lib/"
- install -m644 $srcdir/AMD/Include/*.h $pkgdir/usr/include
-
- install -m644 "$srcdir/UFconfig/UFconfig.h" "$pkgdir/usr/include"
-}
diff --git a/extra/unison/PKGBUILD b/extra/unison/PKGBUILD
index f3c933315..88a6d04d8 100644
--- a/extra/unison/PKGBUILD
+++ b/extra/unison/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=unison
pkgver=2.40.65
pkgrel=1
pkgdesc="Unison is a file-synchronization tool"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://www.cis.upenn.edu/~bcpierce/unison"
depends=('glibc')
diff --git a/extra/unixodbc/PKGBUILD b/extra/unixodbc/PKGBUILD
index 36a06ccae..5422531ea 100644
--- a/extra/unixodbc/PKGBUILD
+++ b/extra/unixodbc/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=unixodbc
pkgver=2.3.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'LGPL2.1')
url="http://www.unixodbc.org/"
backup=('etc/odbc.ini' 'etc/odbcinst.ini')
diff --git a/extra/upower/PKGBUILD b/extra/upower/PKGBUILD
index bbcc86679..e8ceb8a2b 100644
--- a/extra/upower/PKGBUILD
+++ b/extra/upower/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=upower
pkgver=0.9.18
pkgrel=2
pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://upower.freedesktop.org"
license=('GPL')
depends=('systemd-tools' 'libsystemd' 'libusb' 'polkit' 'pm-utils' 'dbus-glib' 'libimobiledevice')
diff --git a/extra/usbmuxd/PKGBUILD b/extra/usbmuxd/PKGBUILD
index 4666b7cef..dd234ef85 100644
--- a/extra/usbmuxd/PKGBUILD
+++ b/extra/usbmuxd/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.0.8
pkgrel=1
pkgdesc="USB Multiplex Daemon"
url="http://marcansoft.com/blog/iphonelinux/usbmuxd/"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2' 'GPL3' 'LGPL2.1')
depends=('libusb' 'libplist')
makedepends=('cmake')
diff --git a/extra/usbview/PKGBUILD b/extra/usbview/PKGBUILD
index 21369ef29..dcbe9e51f 100644
--- a/extra/usbview/PKGBUILD
+++ b/extra/usbview/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=usbview
pkgver=2.0
pkgrel=2
pkgdesc="Display the topology of devices on the USB bus"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.kroah.com/linux/usb/"
license=('GPL')
depends=('gtk3' 'desktop-file-utils')
diff --git a/extra/usermin/PKGBUILD b/extra/usermin/PKGBUILD
index bf55ea176..ec40288ad 100644
--- a/extra/usermin/PKGBUILD
+++ b/extra/usermin/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=usermin
pkgver=1.520
pkgrel=2
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 62ec3d6c4..f7c85513a 100644
--- a/extra/v4l-utils/PKGBUILD
+++ b/extra/v4l-utils/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=v4l-utils
pkgver=0.8.8
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 13cc2eb7d..4557f28db 100644
--- a/extra/v86d/PKGBUILD
+++ b/extra/v86d/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=v86d
pkgver=0.1.10
pkgrel=4
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 a642378d4..6ef383e3e 100644
--- a/extra/vala/PKGBUILD
+++ b/extra/vala/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vala
pkgver=0.18.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/vamp-plugin-sdk/PKGBUILD b/extra/vamp-plugin-sdk/PKGBUILD
index 1e8fc0fff..a819e9c7c 100644
--- a/extra/vamp-plugin-sdk/PKGBUILD
+++ b/extra/vamp-plugin-sdk/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vamp-plugin-sdk
pkgver=2.4
pkgrel=1
pkgdesc="The Vamp audio analysis plug-in system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.vamp-plugins.org/"
license=('BSD')
depends=('gcc-libs' 'libsndfile')
diff --git a/extra/varnish/PKGBUILD b/extra/varnish/PKGBUILD
index dc7f84eac..1c4c944fb 100644
--- a/extra/varnish/PKGBUILD
+++ b/extra/varnish/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=varnish
pkgver=3.0.3
pkgrel=2
pkgdesc="High-performance HTTP accelerator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.varnish-cache.org/"
license=('BSD')
depends=('gcc' 'libedit' 'pcre')
diff --git a/extra/vcdimager/PKGBUILD b/extra/vcdimager/PKGBUILD
index bc97912b3..a833bf7ba 100644
--- a/extra/vcdimager/PKGBUILD
+++ b/extra/vcdimager/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=vcdimager
pkgver=0.7.24
-pkgrel=2
+pkgrel=2.1
pkgdesc="A full-featured mastering suite for authoring disassembling and analyzing Video CD's and Super Video CD's"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.vcdimager.org/"
license=('GPL')
depends=('libcdio>=0.82' 'libxml2>=2.7.3' 'popt')
diff --git a/extra/vde2/PKGBUILD b/extra/vde2/PKGBUILD
index bb25037ab..05785b36e 100644
--- a/extra/vde2/PKGBUILD
+++ b/extra/vde2/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=2
pkgdesc="Virtual Distributed Ethernet for emulators like qemu"
url="http://sourceforge.net/projects/vde/"
license=("GPL" "LGPL" "CUSTOM")
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('bash' 'libpcap' 'openssl')
makedepends=('python')
backup=(etc/conf.d/vde)
diff --git a/extra/vdpau-video/PKGBUILD b/extra/vdpau-video/PKGBUILD
deleted file mode 100644
index e1003f451..000000000
--- a/extra/vdpau-video/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 149310 2012-02-06 18:56:13Z ibiru $
-# Maintainer: Ionut Biru <ibiru@archlinux.org>
-pkgname=vdpau-video
-pkgver=0.7.3
-pkgrel=3
-pkgdesc="VDPAU backend for VA API"
-arch=('i686' 'x86_64')
-url="http://cgit.freedesktop.org/vaapi/vdpau-driver/"
-license=('GPL')
-depends=('libva' 'libvdpau')
-makedepends=('mesa')
-options=('!libtool')
-source=(http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/$pkgname-$pkgver.tar.gz)
-md5sums=('18870e007ecdc50a528861fa55556364')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
-
-
diff --git a/extra/vice/PKGBUILD b/extra/vice/PKGBUILD
index 373864d38..909423b60 100644
--- a/extra/vice/PKGBUILD
+++ b/extra/vice/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vice
pkgver=2.4
pkgrel=2
pkgdesc="The Versatile Commodore 8-bit Emulator"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.viceteam.org/"
depends=('alsa-lib' 'giflib' 'libxxf86vm' 'vte' 'libnet' 'libpcap')
diff --git a/extra/vigra/PKGBUILD b/extra/vigra/PKGBUILD
index fe4b87cda..13462ab85 100644
--- a/extra/vigra/PKGBUILD
+++ b/extra/vigra/PKGBUILD
@@ -5,14 +5,14 @@
pkgbase=vigra
pkgname=('vigra' 'vigra-doc')
pkgver=1.8.0
-pkgrel=3
-arch=('i686' 'x86_64')
+pkgrel=3.1
+arch=('i686' 'x86_64' 'mips64el')
url="http://hci.iwr.uni-heidelberg.de/vigra/"
license=('custom:MIT')
makedepends=(# runtime deps
'libpng>=1.5.7' 'libtiff>=4.0.0' 'gcc-libs' 'sh' 'hdf5>=1.8.7' 'fftw'
# additional makedeps
- 'cmake' 'python-nose' 'doxygen' 'python-sphinx' 'boost' 'python-numpy')
+ 'cmake' 'python2-nose' 'doxygen' 'python-sphinx' 'boost' 'python2-numpy')
options=('!libtool')
source=(http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/${pkgname}-${pkgver}-src.tar.gz
vigra-1.7.1.gcc460.patch)
@@ -27,6 +27,7 @@ build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DWITH_VIGRANUMPY=1 \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
-DDOCINSTALL=share/doc
make
}
diff --git a/extra/vim/PKGBUILD b/extra/vim/PKGBUILD
index 1a5e41a37..95d3391de 100644
--- a/extra/vim/PKGBUILD
+++ b/extra/vim/PKGBUILD
@@ -11,7 +11,7 @@ __hgrev=57e8b75298d6
_versiondir="vim${_topver//./}"
pkgver=${_topver}.${_patchlevel}
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom:vim')
url="http://www.vim.org"
makedepends=('gpm' 'python2' 'ruby' 'libxt' 'desktop-file-utils' 'gtk2' 'lua')
@@ -72,7 +72,7 @@ build() {
cd "${srcdir}"/vim-build
./configure --prefix=/usr --localstatedir=/var/lib/vim \
- --with-features=big --with-compiledby=ArchLinux \
+ --with-features=big --with-compiledby=Parabola \
--enable-gpm --enable-acl --with-x=no \
--disable-gui --enable-multibyte --enable-cscope \
--disable-netbeans --enable-perlinterp --disable-pythoninterp \
@@ -83,7 +83,7 @@ build() {
cd "${srcdir}"/gvim-build
./configure --prefix=/usr --localstatedir=/var/lib/vim \
- --with-features=big --with-compiledby=ArchLinux \
+ --with-features=big --with-compiledby=Parabola \
--enable-gpm --enable-acl --with-x=yes \
--enable-gui=gtk2 --enable-multibyte --enable-cscope \
--enable-netbeans --enable-perlinterp --enable-pythoninterp \
diff --git a/extra/vinagre/PKGBUILD b/extra/vinagre/PKGBUILD
index c410dab14..995f8de14 100644
--- a/extra/vinagre/PKGBUILD
+++ b/extra/vinagre/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=vinagre
pkgver=3.6.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 6d8a16413..a028a4a22 100644
--- a/extra/vino/PKGBUILD
+++ b/extra/vino/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=vino
pkgver=3.6.2
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' 'libsecret' 'avahi' 'desktop-file-utils')
makedepends=('intltool' 'networkmanager' 'gnome-common')
diff --git a/extra/virtuoso/PKGBUILD b/extra/virtuoso/PKGBUILD
index 14f5f2bb6..60299ddd2 100644
--- a/extra/virtuoso/PKGBUILD
+++ b/extra/virtuoso/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=virtuoso
pkgname=('virtuoso' 'virtuoso-base')
pkgver=6.1.6
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://virtuoso.openlinksw.com/wiki/main/Main/'
license=('GPL')
makedepends=('libldap' 'bison' 'flex' 'gperf' 'net-tools' 'libxml2')
diff --git a/extra/vlc/PKGBUILD b/extra/vlc/PKGBUILD
index 6ac86d93f..0a3ceae07 100644
--- a/extra/vlc/PKGBUILD
+++ b/extra/vlc/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=vlc
pkgver=2.0.4
pkgrel=4
pkgdesc="A multi-platform MPEG, VCD/DVD, and DivX player"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.videolan.org/vlc/"
license=('LGPL2.1' 'GPL2')
depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt' 'libproxy'
@@ -16,27 +16,28 @@ depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt' 'libproxy'
'libshout' 'libmad' 'libmpeg2' 'libmodplug' 'libass'
'xcb-util-keysyms')
makedepends=('live-media' 'libnotify' 'libbluray' 'flac' 'kdelibs'
- 'fluidsynth' 'libdc1394' 'libavc1394' 'lirc-utils'
- 'libcaca' 'librsvg' 'portaudio' 'oss' 'libgme' 'xosd'
- 'projectm' 'twolame' 'aalib' 'libmtp' 'libdvdcss'
+ 'fluidsynth' 'libdc1394' 'libavc1394'
+ 'libcaca' 'librsvg' 'portaudio' 'libgme' 'xosd'
+ 'twolame' 'aalib' 'libmtp' 'libdvdcss'
'gnome-vfs' 'libgoom2' 'libtar' 'vcdimager' 'opus' 'libssh2')
+[ "$CARCH" = "mips64el" ] || makedepends+=('lirc-utils' 'oss' 'projectm')
optdepends=('avahi: for service discovery using bonjour protocol'
'libnotify: for notification plugin'
'ncurses: for ncurses interface support'
- 'libdvdcss: for decoding encrypted DVDs'
- 'lirc-utils: for lirc plugin'
- 'libavc1394: for devices using the 1394ta AV/C'
+ 'libdvdcss: for decoding encrypted DVDs')
+[ "$CARCH" = "mips64el" ] || optdepends+=('lirc-utils: for lirc plugin')
+optdepends+=('libavc1394: for devices using the 1394ta AV/C'
'libdc1394: for IEEE 1394 plugin'
- 'kdelibs: KDE Solid hardware integration'
- 'libva-vdpau-driver: vdpau back-end for nvidia'
- 'libva-intel-driver: back-end for intel cards'
- 'libbluray: for Blu-Ray support'
- 'flac: for Free Lossless Audio Codec plugin'
- 'oss: for OSS audio support'
- 'portaudio: for portaudio support'
- 'twolame: for TwoLAME mpeg2 encoder plugin'
- 'projectm: for ProjectM visualisation plugin'
- 'libcaca: for colored ASCII art video output'
+ 'kdelibs: KDE Solid hardware integration')
+[ "$CARCH" = "mips64el" ] || optdepends+=('libva-vdpau-driver: vdpau back-end for nvidia'
+ 'libva-driver-intel: back-end for intel cards')
+optdepends+=('libbluray: for Blu-Ray support'
+ 'flac: for Free Lossless Audio Codec plugin')
+[ "$CARCH" = "mips64el" ] || optdepends+=('oss: for OSS audio support')
+optdepends+=('portaudio: for portaudio support'
+ 'twolame: for TwoLAME mpeg2 encoder plugin')
+[ "$CARCH" = "mips64el" ] || optdepends+=('projectm: for ProjectM visualisation plugin')
+optdepends+=('libcaca: for colored ASCII art video output'
'libgme: for libgme plugin'
'librsvg: for SVG plugin'
'gnome-vfs: for GNOME Virtual File System support'
@@ -67,6 +68,7 @@ build() {
sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp
+ [ "$CARCH" = "mips64el" ] && extraconf="--disable-lirc"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-rpath \
@@ -82,7 +84,8 @@ build() {
--enable-vcdx \
--enable-upnp \
--enable-opus \
- --enable-sftp
+ --enable-sftp \
+ $extraconf
make
}
diff --git a/extra/vorbis-tools/PKGBUILD b/extra/vorbis-tools/PKGBUILD
index 7b54e44d6..2cf4f7627 100644
--- a/extra/vorbis-tools/PKGBUILD
+++ b/extra/vorbis-tools/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=vorbis-tools
pkgver=1.4.0
pkgrel=3
pkgdesc="Extra tools for Ogg-Vorbis"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.xiph.org/vorbis/'
license=('GPL2')
depends=('libao' 'libvorbis' 'curl' 'flac')
diff --git a/extra/vpnc/PKGBUILD b/extra/vpnc/PKGBUILD
index a181b20b6..3cb20ae21 100644
--- a/extra/vpnc/PKGBUILD
+++ b/extra/vpnc/PKGBUILD
@@ -12,7 +12,7 @@ url="http://www.unix-ag.uni-kl.de/~massar/vpnc/"
license=('GPL')
depends=('libgcrypt' 'openssl' 'iproute2')
optdepends=('openresolv: Let vpnc manage resolv.conf')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.xz"
"http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/$_git:/vpnc-script"
'vpnc.conf')
diff --git a/extra/vte/PKGBUILD b/extra/vte/PKGBUILD
index d35c20c63..757049e4c 100644
--- a/extra/vte/PKGBUILD
+++ b/extra/vte/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=vte
pkgver=0.28.2
-pkgrel=3
+pkgrel=3.1
pkgdesc="Virtual Terminal Emulator widget for use with GTK2"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
options=('!libtool' '!emptydirs')
depends=('gtk2' 'vte-common')
diff --git a/extra/vte3/PKGBUILD b/extra/vte3/PKGBUILD
index 4ae0ccb14..2c680778b 100644
--- a/extra/vte3/PKGBUILD
+++ b/extra/vte3/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=(vte3 vte-common)
pkgver=0.34.2
pkgrel=1
pkgdesc="Virtual Terminal Emulator widget for use with GTK3"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL')
options=('!libtool' '!emptydirs')
makedepends=('intltool' 'gobject-introspection' 'gtk3')
diff --git a/extra/w3m/GC_set_warn_proc.patch b/extra/w3m/GC_set_warn_proc.patch
new file mode 100644
index 000000000..a679c8d23
--- /dev/null
+++ b/extra/w3m/GC_set_warn_proc.patch
@@ -0,0 +1,12 @@
+--- main.c.orig 2011-09-07 17:30:01.181808262 +0200
++++ main.c 2011-09-07 17:30:52.833808484 +0200
+@@ -833,7 +833,8 @@
+ mySignal(SIGPIPE, SigPipe);
+ #endif
+
+- orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
++ orig_GC_warn_proc = GC_get_warn_proc();
++ GC_set_warn_proc(wrap_GC_warn_proc);
+ err_msg = Strnew();
+ if (load_argc == 0) {
+ /* no URL specified */
diff --git a/extra/w3m/PKGBUILD b/extra/w3m/PKGBUILD
index 438d25c4f..ac7d8c12e 100644
--- a/extra/w3m/PKGBUILD
+++ b/extra/w3m/PKGBUILD
@@ -4,24 +4,27 @@
pkgname=w3m
pkgver=0.5.3
-pkgrel=3
+pkgrel=3.1
pkgdesc='Text-based Web browser, as well as pager'
url='http://w3m.sourceforge.net/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('imlib2')
optdepends=('imlib2: for graphics support')
depends=('openssl' 'gc' 'ncurses')
source=("http://downloads.sourceforge.net/sourceforge/w3m/${pkgname}-${pkgver}.tar.gz"
- 'https-segfault.patch')
+ 'https-segfault.patch'
+ 'GC_set_warn_proc.patch')
sha1sums=('444b6c8cf7094ee95f8e9de96b37f814b9d83237'
- '66affb2f695fe0bdde25cf774642bfd6a9404e88')
+ '66affb2f695fe0bdde25cf774642bfd6a9404e88'
+ '8bf1eae3241f5781d121319c8ee9bcda32d1f7bd')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed 's/file_handle/file_handle_rofl/g' -i istream.*
patch -p1 -i ../https-segfault.patch
+ patch -Np0 -i "${srcdir}/GC_set_warn_proc.patch"
./configure \
--prefix=/usr \
@@ -30,8 +33,7 @@ build() {
--with-imagelib=imlib2 \
--with-termlib=ncurses \
--disable-w3mmailer \
- --disable-mouse \
-
+ --disable-mouse
make
}
diff --git a/extra/watchdog/PKGBUILD b/extra/watchdog/PKGBUILD
index f1c3d4986..c48bbde13 100644
--- a/extra/watchdog/PKGBUILD
+++ b/extra/watchdog/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=watchdog
pkgver=5.12
pkgrel=2
pkgdesc="Watchdog daemon"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://sourceforge.net/projects/watchdog"
license=('GPL')
depends=('glibc')
diff --git a/extra/wavpack/PKGBUILD b/extra/wavpack/PKGBUILD
index c27e4dccb..a5b2a112f 100644
--- a/extra/wavpack/PKGBUILD
+++ b/extra/wavpack/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=wavpack
pkgver=4.60.1
-pkgrel=2
+pkgrel=2.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')
@@ -18,8 +18,9 @@ md5sums=('7bb1528f910e4d0003426c02db856063')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ [ "$CARCH" = "mips64el" ] || extra=--enable-mmx
./configure --prefix=/usr \
- --enable-mmx \
+ $extra \
--disable-static
make
}
diff --git a/extra/webkitgtk/PKGBUILD b/extra/webkitgtk/PKGBUILD
index 2ff95de6d..32f5c73a3 100644
--- a/extra/webkitgtk/PKGBUILD
+++ b/extra/webkitgtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgbase=webkitgtk
pkgname=('webkitgtk2' 'webkitgtk3')
pkgver=1.10.1
pkgrel=3
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://webkitgtk.org/"
license=('custom')
makedepends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk2' 'gtk3' 'gst-plugins-base-libs' 'gstreamer0.10-base' 'gperf' 'gobject-introspection' 'python2' 'mesa' 'ruby' 'gtk-doc')
@@ -15,7 +15,21 @@ sha1sums=('3a2df2eb42ffdd7f3b39873d5461c347a6330493')
build() {
cd "$srcdir/webkitgtk-$pkgver"
- mkdir build-gtk2 build-gtk3
+ mkdir -p build-gtk2 build-gtk3
+
+ if [ "$CARCH" = "mips64el" ]; then
+ # Fix MIPS N32 support.
+ sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
+ Source/WTF/wtf/Platform.h
+ # Don't enable JIT even if configure finds that it's not supported.
+ sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \
+ Source/WTF/wtf/Platform.h
+
+# --disable-optimizations will add -O0
+ export CFLAGS="${CFLAGS/-O[0-9]}"
+
+ extra="--disable-fast-malloc --disable-optimizations"
+ fi
cd build-gtk2
PYTHON=/usr/bin/python2 ../configure --prefix=/usr \
@@ -24,7 +38,7 @@ build() {
--libexecdir=/usr/lib/webkitgtk2 \
--with-gstreamer=0.10 \
--with-gtk=2.0 \
- --disable-webkit2
+ --disable-webkit2 $extra
make all stamp-po
cd ../build-gtk3
@@ -32,7 +46,7 @@ build() {
--enable-introspection \
--disable-silent-rules \
--libexecdir=/usr/lib/webkitgtk3 \
- --with-gstreamer=1.0
+ --with-gstreamer=1.0 $extra
make all stamp-po
}
diff --git a/extra/webmin/PKGBUILD b/extra/webmin/PKGBUILD
index c918677f2..926f2d94b 100644
--- a/extra/webmin/PKGBUILD
+++ b/extra/webmin/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=webmin
pkgver=1.600
pkgrel=2
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' 'perl-perl4-corelibs')
diff --git a/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch b/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
new file mode 100644
index 000000000..93a3d098a
--- /dev/null
+++ b/extra/webrtc-audio-processing/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
@@ -0,0 +1,24 @@
+From 6480b6b44e376cbec2d8e4499692573a3861e003 Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd@luon.net>
+Date: Sat, 19 May 2012 21:52:09 +0200
+Subject: [PATCH] Don't error or set options for unknown architectures
+
+---
+ src/typedefs.h | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/typedefs.h b/src/typedefs.h
+index 6620550..774905b 100644
+--- a/src/typedefs.h
++++ b/src/typedefs.h
+@@ -77,7 +77,6 @@
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_LITTLE_ENDIAN
+ #else
+-#error Please add support for your architecture in typedefs.h
+ #endif
+
+ #if defined(__SSE2__) || defined(_MSC_VER)
+--
+1.7.10
+
diff --git a/extra/webrtc-audio-processing/PKGBUILD b/extra/webrtc-audio-processing/PKGBUILD
index d091b96bc..3b78626e8 100644
--- a/extra/webrtc-audio-processing/PKGBUILD
+++ b/extra/webrtc-audio-processing/PKGBUILD
@@ -6,16 +6,22 @@ pkgver=0.1
pkgrel=1
_gitrev=9413986
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
license=(custom)
depends=(gcc-libs)
options=(!libtool)
-source=("$url/$pkgname-$pkgver.tar.xz")
-sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc')
+source=("$url/$pkgname-$pkgver.tar.xz"
+ 0001-Don-t-error-or-set-options-for-unknown-architectures.patch)
+sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc'
+ '0f423b24565d0c50be4937b6f50a43cfd683c1a76c25ef80fca5f731e283fe1c')
build() {
cd $pkgname-$pkgver
+
+# Patch from Debian
+ patch -Np1 -i ${srcdir}/0001-Don-t-error-or-set-options-for-unknown-architectures.patch
+
./configure --prefix=/usr --disable-static
make
}
diff --git a/extra/weechat/PKGBUILD b/extra/weechat/PKGBUILD
index 5eb90d740..f647530b6 100644
--- a/extra/weechat/PKGBUILD
+++ b/extra/weechat/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=weechat
pkgver=0.3.9.2
pkgrel=1
pkgdesc="Fast, light and extensible IRC client (curses UI)"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.weechat.org/"
license=('GPL')
depends=('gnutls' 'curl' 'libgcrypt')
diff --git a/extra/wget/PKGBUILD b/extra/wget/PKGBUILD
index 9b1244031..1f57247ec 100644
--- a/extra/wget/PKGBUILD
+++ b/extra/wget/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=wget
pkgver=1.14
pkgrel=2
pkgdesc="A network utility to retrieve files from the Web"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/wget/wget.html"
license=('GPL3')
depends=('openssl' 'libidn' 'pcre' 'util-linux')
diff --git a/extra/whois/PKGBUILD b/extra/whois/PKGBUILD
index 06b39fa07..57eaa9ba9 100644
--- a/extra/whois/PKGBUILD
+++ b/extra/whois/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=whois
pkgver=5.0.20
pkgrel=1
pkgdesc="The whois client by Marco d'Itri"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.linux.it/~md/software/"
license=('GPL')
depends=('libidn')
diff --git a/extra/wildmidi/PKGBUILD b/extra/wildmidi/PKGBUILD
index 51402e133..9e6e8fba5 100644
--- a/extra/wildmidi/PKGBUILD
+++ b/extra/wildmidi/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=wildmidi
pkgver=0.2.3.5
pkgrel=2
pkgdesc='Open Source MIDI Synthesizer'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://wildmidi.sourceforge.net/'
license=('LGPL3')
depends=('alsa-lib')
diff --git a/extra/windowmaker/PKGBUILD b/extra/windowmaker/PKGBUILD
index 3b20bf518..0d7cea185 100644
--- a/extra/windowmaker/PKGBUILD
+++ b/extra/windowmaker/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=windowmaker
pkgver=0.95.3
pkgrel=1
pkgdesc="An X11 window manager with a NEXTSTEP look and feel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.windowmaker.org/"
license=('GPL' 'custom')
depends=('libxinerama' 'libxrandr' 'libxmu' 'libpng' 'libxpm' 'libxft' 'libtiff' 'giflib')
diff --git a/extra/wipe/PKGBUILD b/extra/wipe/PKGBUILD
index b876b0dca..c471c03cb 100644
--- a/extra/wipe/PKGBUILD
+++ b/extra/wipe/PKGBUILD
@@ -6,18 +6,19 @@
pkgname=wipe
pkgver=2.3.1
-pkgrel=2
+pkgrel=2.1
pkgdesc='Secure file wiping utility'
url='http://wipe.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('72aa8bcbeb54deb676ae08af78401132860703de')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
+ cd $srcdir/$pkgname-$pkgver
+ [ "$CARCH" = "mips64el" ] && extra="--build=$CHOST --host=$CHOST --target=$CHOST"
+ ./configure --prefix=/usr --mandir=/usr/share/man $extra
+ make
}
package() {
diff --git a/extra/wireshark/PKGBUILD b/extra/wireshark/PKGBUILD
index 65750aabc..99c35c775 100644
--- a/extra/wireshark/PKGBUILD
+++ b/extra/wireshark/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=('wireshark-cli' 'wireshark-gtk')
pkgbase=wireshark
pkgver=1.8.3
pkgrel=2
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
makedepends=('bison' 'flex' 'gtk2' 'krb5' 'libcap' 'libpcap' 'bash' 'gnutls'
'libgcrypt' 'lua' 'python' 'portaudio')
diff --git a/extra/wpa_supplicant_gui/PKGBUILD b/extra/wpa_supplicant_gui/PKGBUILD
index 897e5a150..0a9edeaac 100644
--- a/extra/wpa_supplicant_gui/PKGBUILD
+++ b/extra/wpa_supplicant_gui/PKGBUILD
@@ -6,7 +6,7 @@ pkgver=1.0
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 678a75878..455e8033a 100644
--- a/extra/wv/PKGBUILD
+++ b/extra/wv/PKGBUILD
@@ -3,9 +3,9 @@
# Contributor: William Rea <sillywilly@gmail.com>
pkgname=wv
pkgver=1.2.9
-pkgrel=1
+pkgrel=1.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' 'libpng' 'sh')
diff --git a/extra/wv2/PKGBUILD b/extra/wv2/PKGBUILD
deleted file mode 100644
index a30b0f9c4..000000000
--- a/extra/wv2/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 142173 2011-11-05 11:56:53Z pierre $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: damir <damir@archlinux.org>
-
-pkgname=wv2
-pkgver=0.4.2
-pkgrel=2
-pkgdesc="MSWord 9,8,7,6 formats parser"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/wvware/"
-depends=('libgsf')
-makedepends=('cmake')
-options=('!libtool')
-source=("http://downloads.sourceforge.net/sourceforge/wvware/${pkgname}-${pkgver}.tar.bz2")
-license=('GPL2')
-md5sums=('850ed8e44a84e7bf0610747827018cbc')
-
-build() {
- cd ${srcdir}
- mkdir build
- cd build
-
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr
-
- make
-}
-
-package() {
- cd ${srcdir}/build
- make DESTDIR=${pkgdir} install
-}
diff --git a/extra/wxgtk/PKGBUILD b/extra/wxgtk/PKGBUILD
index 992c14846..611111a0b 100644
--- a/extra/wxgtk/PKGBUILD
+++ b/extra/wxgtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wxgtk
pkgver=2.8.12.1
pkgrel=4
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' 'sdl')
diff --git a/extra/wxmaxima/PKGBUILD b/extra/wxmaxima/PKGBUILD
index 65d3e1ff5..ca63edef8 100644
--- a/extra/wxmaxima/PKGBUILD
+++ b/extra/wxmaxima/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=wxmaxima
pkgver=12.09.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' 'shared-mime-info' 'desktop-file-utils')
diff --git a/extra/wxpython/PKGBUILD b/extra/wxpython/PKGBUILD
index af7659559..5e38243e4 100644
--- a/extra/wxpython/PKGBUILD
+++ b/extra/wxpython/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=wxpython
pkgver=2.8.12.1
pkgrel=4
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/x11-ssh-askpass/PKGBUILD b/extra/x11-ssh-askpass/PKGBUILD
index 37b84c4d0..5d3d0f2f1 100644
--- a/extra/x11-ssh-askpass/PKGBUILD
+++ b/extra/x11-ssh-askpass/PKGBUILD
@@ -11,7 +11,7 @@ pkgrel=3
pkgdesc='Lightweight passphrase dialog for SSH'
url='http://www.jmknoble.net/software/x11-ssh-askpass/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxt')
makedepends=('imake')
#source=("${url}${pkgname}-${pkgver}.tar.gz" # httpd only sends half the bits
diff --git a/extra/x11vnc/PKGBUILD b/extra/x11vnc/PKGBUILD
index 323462d23..d353a86a8 100644
--- a/extra/x11vnc/PKGBUILD
+++ b/extra/x11vnc/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=0.9.13
pkgrel=3
pkgdesc='VNC server for real X displays'
url='http://www.karlrunge.com/x11vnc/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('openssl' 'libjpeg' 'libxtst' 'libxinerama' 'libxdamage' 'libxrandr' 'avahi')
optdepends=('tk: for GUI support')
diff --git a/extra/x264/PKGBUILD b/extra/x264/PKGBUILD
index f4a242d4b..a7188e716 100644
--- a/extra/x264/PKGBUILD
+++ b/extra/x264/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=x264
pkgver=20121113
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=('c37851c8534ef5d7b1935145f8f5a725')
build() {
cd "$pkgname-snapshot-$pkgver-2245-stable"
- ./configure --enable-shared
+ [ "$CARCH" = "mips64el" ] && extra="--enable-pic"
+
+ ./configure --enable-shared $extra
make
}
diff --git a/extra/x2x/LICENSE b/extra/x2x/LICENSE
deleted file mode 100644
index 99ff948f8..000000000
--- a/extra/x2x/LICENSE
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * x2x: Uses the XTEST extension to forward keystrokes from a window on
- * one display to another display. Useful for desks
- * with multiple keyboards.
- *
- * Copyright (c) 1997
- * Digital Equipment Corporation. All rights reserved.
- *
- * By downloading, installing, using, modifying or distributing this
- * software, you agree to the following:
- *
- * 1. CONDITIONS. Subject to the following conditions, you may download,
- * install, use, modify and distribute this software in source and binary
- * forms:
- *
- * a) Any source code, binary code and associated documentation
- * (including the online manual) used, modified or distributed must
- * reproduce and retain the above copyright notice, this list of
- * conditions and the following disclaimer.
- *
- * b) No right is granted to use any trade name, trademark or logo of
- * Digital Equipment Corporation. Neither the "Digital Equipment
- * Corporation" name nor any trademark or logo of Digital Equipment
- * Corporation may be used to endorse or promote products derived from
- * this software without the prior written permission of Digital
- * Equipment Corporation.
- *
- * 2. DISCLAIMER. THIS SOFTWARE IS PROVIDED BY DIGITAL "AS IS" AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
- * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
- * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
diff --git a/extra/x2x/PKGBUILD b/extra/x2x/PKGBUILD
deleted file mode 100644
index 8389e2ef8..000000000
--- a/extra/x2x/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 128494 2011-06-24 05:31:20Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
-# Contributor: Judd Vinet <jvinet@zeroflux.org>
-
-pkgname=x2x
-pkgver=1.27
-pkgrel=6
-pkgdesc="Control one X display from another"
-arch=('i686' 'x86_64')
-url="https://github.com/dottedmag/x2x"
-license=('custom')
-depends=('libxtst')
-makedepends=('imake')
-source=(https://github.com/downloads/dottedmag/x2x/$pkgname-$pkgver.tar.gz LICENSE)
-md5sums=('3d1bc863f3209ec37caf7f57bde7e8f0'
- '7ebc35f66a8ded9b8d8d7ca4131c7ae8')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- mv x2x.1 x2x.man
- xmkmf
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" MANPATH=/usr/share/man install install.man
- install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/extra/xaos/PKGBUILD b/extra/xaos/PKGBUILD
index 0daa23321..c54c9ee29 100644
--- a/extra/xaos/PKGBUILD
+++ b/extra/xaos/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xaos
pkgver=3.5
-pkgrel=5
+pkgrel=5.1
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 7d44b1853..1ffe7741e 100644
--- a/extra/xaw3d/PKGBUILD
+++ b/extra/xaw3d/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xaw3d
pkgver=1.6.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Three-D Athena widgets"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://directory.fsf.org/project/xaw3d/"
license=('MIT')
depends=('libxmu')
diff --git a/extra/xawtv/PKGBUILD b/extra/xawtv/PKGBUILD
index 1b382052c..e0f28c26d 100644
--- a/extra/xawtv/PKGBUILD
+++ b/extra/xawtv/PKGBUILD
@@ -7,10 +7,11 @@ pkgname=xawtv
pkgver=3.101
pkgrel=2
pkgdesc="A simple Xaw-based TV program which uses the bttv driver or video4linux"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://git.linuxtv.org/xawtv3.git"
license=('GPL')
-depends=('aalib' 'v4l-utils' 'libxv' 'libxxf86dga' 'libxrandr' 'libgl' 'libdv' 'zvbi' 'libxinerama' 'lirc-utils' 'libxft' 'libxaw' 'xorg-fonts-misc' 'libxxf86vm')
+depends=('aalib' 'v4l-utils' 'libxv' 'libxxf86dga' 'libxrandr' 'libgl' 'libdv' 'zvbi' 'libxinerama' 'libxft' 'libxaw' 'xorg-fonts-misc' 'libxxf86vm')
+[ "$CARCH" != "mips64el" ] && depends+=('lirc-utils')
makedepends=('mesa')
source=(http://linuxtv.org/downloads/xawtv/xawtv-${pkgver}.tar.bz2)
md5sums=('330ce1789595e370be34ad4cae3dc3fa')
diff --git a/extra/xbase/PKGBUILD b/extra/xbase/PKGBUILD
index 0fa63a7fa..c028b85ad 100644
--- a/extra/xbase/PKGBUILD
+++ b/extra/xbase/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xbase
pkgver=2.0.0
pkgrel=2
pkgdesc="An XBase compatible C++ class library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://linux.techass.com/projects/xdb/'
license=('LGPL')
depends=('bash' 'gcc-libs')
diff --git a/extra/xbill/PKGBUILD b/extra/xbill/PKGBUILD
index 6e696a388..f18b89794 100644
--- a/extra/xbill/PKGBUILD
+++ b/extra/xbill/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xbill
pkgver=2.1
-pkgrel=8
+pkgrel=8.1
pkgdesc="A game that tests your reflexes as you seek and destroy all forms of Bill"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xbill.org/"
license=('GPL')
depends=('xaw3d>=1.6')
diff --git a/extra/xcb-util-image/PKGBUILD b/extra/xcb-util-image/PKGBUILD
index 81dc8f8d3..e20ef6b33 100644
--- a/extra/xcb-util-image/PKGBUILD
+++ b/extra/xcb-util-image/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xcb-util-image
pkgver=0.3.9
pkgrel=1
pkgdesc="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7' 'xcb-util>=0.3.9')
diff --git a/extra/xcb-util-keysyms/PKGBUILD b/extra/xcb-util-keysyms/PKGBUILD
index 27f1cc9a6..e3093f4f6 100644
--- a/extra/xcb-util-keysyms/PKGBUILD
+++ b/extra/xcb-util-keysyms/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xcb-util-keysyms
pkgver=0.3.9
pkgrel=1
pkgdesc="Utility libraries for XC Binding - Standard X key constants and conversion to/from keycodes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7')
diff --git a/extra/xcb-util-renderutil/PKGBUILD b/extra/xcb-util-renderutil/PKGBUILD
index be4789175..04d58f2c1 100644
--- a/extra/xcb-util-renderutil/PKGBUILD
+++ b/extra/xcb-util-renderutil/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=xcb-util-renderutil
pkgver=0.3.8
-pkgrel=1
+pkgrel=1.1
pkgdesc="Utility libraries for XC Binding - Convenience functions for the Render extension"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7')
diff --git a/extra/xcb-util-wm/PKGBUILD b/extra/xcb-util-wm/PKGBUILD
index 5b1ce09da..eb261b59d 100644
--- a/extra/xcb-util-wm/PKGBUILD
+++ b/extra/xcb-util-wm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xcb-util-wm
pkgver=0.3.9
pkgrel=1
pkgdesc="Utility libraries for XC Binding - client and window-manager helpers for ICCCM"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7')
diff --git a/extra/xcb-util/PKGBUILD b/extra/xcb-util/PKGBUILD
index 42f3273fb..78b252ce8 100644
--- a/extra/xcb-util/PKGBUILD
+++ b/extra/xcb-util/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xcb-util
pkgver=0.3.9
pkgrel=1
pkgdesc="Utility libraries for XC Binding"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.7')
diff --git a/extra/xchm/PKGBUILD b/extra/xchm/PKGBUILD
index 23934a11a..4896f9951 100644
--- a/extra/xchm/PKGBUILD
+++ b/extra/xchm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xchm
pkgver=1.21
pkgrel=1
pkgdesc="A cross-platform GUI front-end to chmlib"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xchm.sourceforge.net/"
license=('GPL')
depends=('chmlib' 'wxgtk' 'desktop-file-utils')
@@ -21,7 +21,9 @@ build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ --build=$CHOST \
+ --host=$CHOST
make
}
diff --git a/extra/xclip/PKGBUILD b/extra/xclip/PKGBUILD
index 0e5d405e5..2b8387bdf 100644
--- a/extra/xclip/PKGBUILD
+++ b/extra/xclip/PKGBUILD
@@ -5,12 +5,12 @@
pkgname=xclip
pkgver=0.12
-pkgrel=3
+pkgrel=3.1
pkgdesc='Command line interface to the X11 clipboard'
url='http://sourceforge.net/projects/xclip'
license=('GPL')
depends=('libxmu')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/sourceforge/xclip/${pkgname}-${pkgver}.tar.gz")
sha1sums=('aed2cff18b9aecfe3377ad064c6a67518bbec211')
diff --git a/extra/xcompmgr/PKGBUILD b/extra/xcompmgr/PKGBUILD
index cab1793ed..1160d1a04 100644
--- a/extra/xcompmgr/PKGBUILD
+++ b/extra/xcompmgr/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xcompmgr
pkgver=1.1.6
pkgrel=2
pkgdesc="Composite Window-effects manager for X.org"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcomposite' 'libxdamage' 'libxrender' 'libxext')
diff --git a/extra/xdelta/PKGBUILD b/extra/xdelta/PKGBUILD
index 1cc6f85b1..6fecbfc18 100644
--- a/extra/xdelta/PKGBUILD
+++ b/extra/xdelta/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=xdelta
pkgver=1.1.4
-pkgrel=4
+pkgrel=4.1
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 0908f9288..658251df1 100644
--- a/extra/xdelta3/PKGBUILD
+++ b/extra/xdelta3/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xdelta3
pkgver=3.0.4
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')
depends=('xz')
diff --git a/extra/xdg-user-dirs-gtk/PKGBUILD b/extra/xdg-user-dirs-gtk/PKGBUILD
index 59c62223c..df275e4b3 100644
--- a/extra/xdg-user-dirs-gtk/PKGBUILD
+++ b/extra/xdg-user-dirs-gtk/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xdg-user-dirs-gtk
pkgver=0.9
pkgrel=1
pkgdesc="Creates user dirs and asks to relocalize them"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
license=('GPL')
depends=('gtk3' 'xdg-user-dirs')
makedepends=('intltool')
diff --git a/extra/xdg-user-dirs/PKGBUILD b/extra/xdg-user-dirs/PKGBUILD
index c3098d5df..3efdbd2fe 100644
--- a/extra/xdg-user-dirs/PKGBUILD
+++ b/extra/xdg-user-dirs/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xdg-user-dirs
pkgver=0.14
pkgrel=3
pkgdesc="Manage user directories like ~/Desktop and ~/Music"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('sh')
url="http://www.freedesktop.org/wiki/Software/xdg-user-dirs"
license=('GPL')
diff --git a/extra/xf86-input-acecad/PKGBUILD b/extra/xf86-input-acecad/PKGBUILD
index 3c13488cc..6a60b4fe0 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=5
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 92d0537f3..462e85a63 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=5
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 daab499b1..180555c19 100644
--- a/extra/xf86-input-evdev/PKGBUILD
+++ b/extra/xf86-input-evdev/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-input-evdev
pkgver=2.7.3
pkgrel=2
pkgdesc="X.org evdev input driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc' 'systemd-tools' 'mtdev')
diff --git a/extra/xf86-input-joystick/PKGBUILD b/extra/xf86-input-joystick/PKGBUILD
index ae655949c..b2dadf7f7 100644
--- a/extra/xf86-input-joystick/PKGBUILD
+++ b/extra/xf86-input-joystick/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-input-joystick
pkgver=1.6.1
pkgrel=2
pkgdesc="X.Org Joystick input driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/xf86-input-synaptics/PKGBUILD b/extra/xf86-input-synaptics/PKGBUILD
index 9712c535a..2f1c11af3 100644
--- a/extra/xf86-input-synaptics/PKGBUILD
+++ b/extra/xf86-input-synaptics/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=xf86-input-synaptics
pkgver=1.6.2
pkgrel=2
pkgdesc="Synaptics driver for notebook touchpads"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxtst' 'mtdev')
diff --git a/extra/xf86-input-void/PKGBUILD b/extra/xf86-input-void/PKGBUILD
index 5dd81a5f2..ee56a2076 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=4
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 a6096b33a..25356c231 100644
--- a/extra/xf86-input-wacom/PKGBUILD
+++ b/extra/xf86-input-wacom/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xf86-input-wacom
pkgver=0.18.0
pkgrel=1
pkgdesc="X.Org Wacom tablet driver"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://linuxwacom.sourceforge.net/"
license=('GPL')
backup=('etc/X11/xorg.conf.d/50-wacom.conf')
diff --git a/extra/xf86-video-dummy/PKGBUILD b/extra/xf86-video-dummy/PKGBUILD
index 93fd4e3ad..b3abef50d 100644
--- a/extra/xf86-video-dummy/PKGBUILD
+++ b/extra/xf86-video-dummy/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-dummy
pkgver=0.3.6
pkgrel=2
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 62f0c0314..5ad47a246 100644
--- a/extra/xf86-video-fbdev/PKGBUILD
+++ b/extra/xf86-video-fbdev/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-fbdev
pkgver=0.4.3
pkgrel=2
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-siliconmotion/98_sm712_CRT_enable.diff b/extra/xf86-video-siliconmotion/98_sm712_CRT_enable.diff
new file mode 100644
index 000000000..9ff473aff
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/98_sm712_CRT_enable.diff
@@ -0,0 +1,14 @@
+--- ../xx/xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c 2010-03-09 23:39:23.451798382 +0800
++++ xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c 2010-03-10 10:36:58.835798871 +0800
+@@ -1805,6 +1797,11 @@
+ pScreen->SaveScreen = SMI_SaveScreen;
+ pSmi->CloseScreen = pScreen->CloseScreen;
+ pScreen->CloseScreen = SMI_CloseScreen;
++ /* Added by Belcon to enable LCD Panel Control Select */
++ if (pSmi->Chipset == SMI_LYNXEMplus)
++ {
++ VGAOUT8_INDEX (pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x22, 2);
++ }
+
+ if ((IS_MSOC(pSmi) &&
+ !xf86DPMSInit(pScreen, SMI501_DisplayPowerManagementSet, 0)) ||
diff --git a/extra/xf86-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff b/extra/xf86-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
new file mode 100644
index 000000000..4be6d6469
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
@@ -0,0 +1,160 @@
+rixed@happyleptic.org
+ 发送至 loongson-dev
+
+A patch for siliconmotion 1.7.3 is available in the bug trackers
+at freedesktop.org, but a better one will be available monday.
+Still, it lacks the most interresting part : the MMX pack function,
+which should not be implemented there but probably either directly
+in Xv or in pixman (and make Xv use pixman).
+
+So for now the simpliest is to fix these manually.
+For the impatient I attach a patch against SM 1.7.3
+With it, 16bpp and AccelMethod = "XAA" works quite well.
+
+Just an ugly hack really.
+diff -ur orig/src/smi_video.c mod/src/smi_video.c
+--- orig/src/smi_video.c 2010-02-05 13:11:18.000000000 +0100
++++ mod/src/smi_video.c 2010-02-05 13:20:36.000000000 +0100
+@@ -276,6 +276,7 @@
+ XVIMAGE_YUY2,
+ XVIMAGE_YV12,
+ XVIMAGE_I420,
++ XVIMAGE_UYVY,
+ {
+ FOURCC_RV15, /* id */
+ XvRGB, /* type */
+@@ -1462,6 +1463,117 @@
+ LEAVE();
+ }
+
++static void myXVCopyYUV12ToPacked(const unsigned char *srcy, const unsigned char *srcv, const unsigned char *srcu,
++ unsigned char *dst, int srcPitchy, int srcPitchuv, int dstPitch, int h, int w)
++{
++ int i, j;
++ unsigned char const *y, *u, *v;
++ int dstinc, yinc, uinc, vinc;
++
++ y = srcy;
++ u = srcu;
++ v = srcv;
++
++ dstinc = dstPitch - 2*w;
++ yinc = srcPitchy - w;
++ uinc = srcPitchuv - w/2;
++ vinc = srcPitchuv - w/2;
++
++ for (i = 0; i < h; i++) {
++ asm (
++// ".set arch=loongson2f\n\t"
++ ".set noreorder\n\t"
++ "move $8, %8 \n\t"
++ "1: \n\t"
++ "beqz $8, 2f \n\t"
++ "xor $f0, $f0, $f0 \n\t"
++ "ldc1 $f4, (%0) \n\t"
++ "punpcklbh $f2, $f4, $f0 \n\t"
++ "punpckhbh $f4, $f4, $f0 \n\t"
++ "ldc1 $f16, 8(%0) \n\t"
++ "punpcklbh $f14, $f16, $f0 \n\t"
++ "punpckhbh $f16, $f16, $f0 \n\t"
++
++ "lwc1 $f8, (%1) \n\t"
++ "lwc1 $f12, (%2) \n\t"
++ "punpcklbh $f8, $f8, $f12 \n\t"
++ "punpcklbh $f6, $f0, $f8 \n\t"
++ "punpckhbh $f8, $f0, $f8 \n\t"
++ "lwc1 $f18, 4(%1) \n\t"
++ "lwc1 $f12, 4(%2) \n\t"
++ "punpcklbh $f18, $f18, $f12 \n\t"
++ "punpcklbh $f10, $f0, $f18 \n\t"
++ "punpckhbh $f12, $f0, $f18 \n\t"
++
++ "or $f2, $f2, $f6 \n\t"
++ "or $f4, $f4, $f8 \n\t"
++ "or $f14, $f14, $f10 \n\t"
++ "or $f16, $f16, $f12 \n\t"
++
++ "sdc1 $f2, (%3) \n\t"
++ "sdc1 $f4, 8(%3) \n\t"
++ "add %0, 16 \n\t"
++ "add %1, 8 \n\t"
++ "add %2, 8 \n\t"
++ "sdc1 $f14, 0x10(%3) \n\t"
++ "sdc1 $f16, 0x18(%3) \n\t"
++ "add $8, -1 \n\t"
++ "b 1b \n\t"
++ "add %3, 32 \n\t"
++ "2: \n\t"
++ ".set reorder\n\t"
++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" (w>>4)
++ : "memory","$8"
++ );
++
++ asm (
++// ".set arch=loongson2f\n\t"
++ ".set noreorder\n\t"
++ "move $8, %8 \n\t"
++ "1: \n\t"
++ "beqz $8, 2f \n\t"
++ "xor $f0, $f0, $f0 \n\t"
++ "ldc1 $f4, (%0) \n\t"
++ "punpcklbh $f2, $f4, $f0 \n\t"
++ "punpckhbh $f4, $f4, $f0 \n\t"
++
++ "lwc1 $f8, (%1) \n\t"
++ "lwc1 $f12, (%2) \n\t"
++ "punpcklbh $f8, $f8, $f12 \n\t"
++ "punpcklbh $f6, $f0, $f8 \n\t"
++ "punpckhbh $f8, $f0, $f8 \n\t"
++
++ "or $f2, $f2, $f6 \n\t"
++ "or $f4, $f4, $f8 \n\t"
++
++ "sdc1 $f2, (%3) \n\t"
++ "sdc1 $f4, 8(%3) \n\t"
++ "add %0, 8 \n\t"
++ "add %1, 4 \n\t"
++ "add %2, 4 \n\t"
++ "add $8, -1 \n\t"
++ "b 1b \n\t"
++ "add %3, 16 \n\t"
++ "2:\n\t"
++ ".set reorder\n\t"
++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" ((w&0xf)/8)
++ : "memory","$8"
++ );
++
++ for (j = (w&7)/2; j; j--) {
++ *dst++ = *y++;
++ *dst++ = *u++;
++ *dst++ = *y++;
++ *dst++ = *v++;
++ }
++ y += yinc;
++ u = (i%2) ? (u + uinc): (u - w/2);
++ v = (i%2) ? (v + vinc): (v - w/2);
++ dst += dstinc;
++ }
++}
+
+ static int
+ SMI_PutImage(
+@@ -1593,7 +1705,7 @@
+ offset3 = tmp;
+ }
+ nLines = ((((y2 + 0xffff) >> 16) + 1) & ~1) - top;
+- xf86XVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
++ myXVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
+ buf + offset2, buf + offset3, dstStart,
+ srcPitch, srcPitch2, dstPitch, nLines,
+ nPixels);
+@@ -1793,6 +1905,7 @@
+ WRITE_VPR(pSmi, 0x1C, offset >> 3);
+ WRITE_VPR(pSmi, 0x20, (pitch >> 3) | ((pitch >> 3) << 16));
+ WRITE_VPR(pSmi, 0x24, (hstretch & 0xff00) | ((vstretch & 0xff00) >> 8));
++ WRITE_VPR(pSmi, 0x68, ((hstretch & 0xff) << 8) | (vstretch & 0xff));
+ if (pSmi->Chipset == SMI_LYNXEMplus) { /* This one can store additional precision */
+ WRITE_VPR(pSmi, 0x68, ((hstretch & 0xff) << 8) | (vstretch & 0xff));
+ }
diff --git a/extra/xf86-video-siliconmotion/PKGBUILD b/extra/xf86-video-siliconmotion/PKGBUILD
index 149367f7c..92a31063e 100644
--- a/extra/xf86-video-siliconmotion/PKGBUILD
+++ b/extra/xf86-video-siliconmotion/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xf86-video-siliconmotion
pkgver=1.7.7
pkgrel=2
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' 'X-ABI-VIDEODRV_VERSION=13' 'resourceproto' 'sc
conflicts=('xorg-server<1.13.0' 'X-ABI-VIDEODRV_VERSION<13' 'X-ABI-VIDEODRV_VERSION>=14')
options=('!libtool')
groups=('xorg-drivers' 'xorg')
-source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('87b8b59d43945d4fc8012860c0bd9aed42c4684a943355c607b8eb8d6710c3aa')
+source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+ 98_sm712_CRT_enable.diff)
+sha256sums=('87b8b59d43945d4fc8012860c0bd9aed42c4684a943355c607b8eb8d6710c3aa'
+ 'd24016e40ee07a0cc1bedc1b9d3832c692b8a78453ac5a84bafab6ace4ff5da3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/98_sm712_CRT_enable.diff
./configure --prefix=/usr
make
}
diff --git a/extra/xf86-video-siliconmotion/medanr04.diff b/extra/xf86-video-siliconmotion/medanr04.diff
new file mode 100644
index 000000000..85a15f393
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/medanr04.diff
@@ -0,0 +1,81 @@
+--- orig/src/smi_video.c 2009-07-27 09:42:44.000000000 +0600
++++ new/src/smi_video.c 2011-04-02 19:21:53.545665717 +0600
+@@ -223,7 +223,7 @@
+
+ /**************************************************************************/
+ /* number of (generated) XV_ENCODING vaulues */
+-#define N_ENCODINGS ((N_VIDEO_NORMS) * (N_COMPOSITE_CHANNELS + N_SVIDEO_CHANNELS))
++#define N_ENCODINGS (((N_VIDEO_NORMS) * (N_COMPOSITE_CHANNELS + N_SVIDEO_CHANNELS)) +1)
+
+
+ /**************************************************************************/
+@@ -288,7 +288,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 15, /* depth */
+- 0x001F, 0x03E0, 0x7C00, /* red_mask, green, blue */
++ 0x7C00, 0x03E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -307,7 +307,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 16, /* depth */
+- 0x001F, 0x07E0, 0xF800, /* red_mask, green, blue */
++ 0xF800, 0x07E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -326,7 +326,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -345,7 +345,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -372,7 +372,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 16, /* depth */
+- 0x001F, 0x07E0, 0xF800, /* red_mask, green, blue */
++ 0xF800, 0x07E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -391,7 +391,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -569,6 +569,15 @@
+
+ /* fill arrays */
+ p->nenc = 0;
++ /* force XV_IMAGE at 0 */
++ p->enc[0].width = 2048;
++ p->enc[0].height = 2048;
++ p->enc[0].rate.numerator = 1;
++ p->enc[0].rate.denominator = 1;
++ p->enc[0].name = xalloc(strlen("XV_IMAGE")+1);
++ sprintf(p->enc[0].name, "% s", "XV_IMAGE");
++
++ p->nenc = 1;
+ for (ch = 0; ch < N_COMPOSITE_CHANNELS; ch++) {
+ for (n = 0; n < N_VIDEO_NORMS; n++) {
+ SMI_AddEncoding(p->enc, p->nenc, n, VID_COMPOSITE, ch);
diff --git a/extra/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.5-loongson-video-accl.patch b/extra/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.5-loongson-video-accl.patch
new file mode 100644
index 000000000..e31044473
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/xf86-video-siliconmotion-1.7.5-loongson-video-accl.patch
@@ -0,0 +1,139 @@
+diff --git a/src/smi_video.c b/src/smi_video.c
+index c2e8868..3e128fa 100644
+--- a/src/smi_video.c
++++ b/src/smi_video.c
+@@ -276,6 +276,7 @@ static XF86ImageRec SMI_VideoImages[] =
+ XVIMAGE_YUY2,
+ XVIMAGE_YV12,
+ XVIMAGE_I420,
++ XVIMAGE_UYVY,
+ {
+ FOURCC_RV15, /* id */
+ XvRGB, /* type */
+@@ -1464,6 +1465,117 @@ SMI_QueryBestSize(
+ LEAVE();
+ }
+
++static void myXVCopyYUV12ToPacked(const unsigned char *srcy, const unsigned char *srcv, const unsigned char *srcu,
++ unsigned char *dst, int srcPitchy, int srcPitchuv, int dstPitch, int h, int w)
++{
++ int i, j;
++ unsigned char const *y, *u, *v;
++ int dstinc, yinc, uinc, vinc;
++
++ y = srcy;
++ u = srcu;
++ v = srcv;
++
++ dstinc = dstPitch - 2*w;
++ yinc = srcPitchy - w;
++ uinc = srcPitchuv - w/2;
++ vinc = srcPitchuv - w/2;
++
++ for (i = 0; i < h; i++) {
++ asm (
++// ".set arch=loongson2f\n\t"
++ ".set noreorder\n\t"
++ "move $8, %8 \n\t"
++ "1: \n\t"
++ "beqz $8, 2f \n\t"
++ "xor $f0, $f0, $f0 \n\t"
++ "ldc1 $f4, (%0) \n\t"
++ "punpcklbh $f2, $f4, $f0 \n\t"
++ "punpckhbh $f4, $f4, $f0 \n\t"
++ "ldc1 $f16, 8(%0) \n\t"
++ "punpcklbh $f14, $f16, $f0 \n\t"
++ "punpckhbh $f16, $f16, $f0 \n\t"
++
++ "lwc1 $f8, (%1) \n\t"
++ "lwc1 $f12, (%2) \n\t"
++ "punpcklbh $f8, $f8, $f12 \n\t"
++ "punpcklbh $f6, $f0, $f8 \n\t"
++ "punpckhbh $f8, $f0, $f8 \n\t"
++ "lwc1 $f18, 4(%1) \n\t"
++ "lwc1 $f12, 4(%2) \n\t"
++ "punpcklbh $f18, $f18, $f12 \n\t"
++ "punpcklbh $f10, $f0, $f18 \n\t"
++ "punpckhbh $f12, $f0, $f18 \n\t"
++
++ "or $f2, $f2, $f6 \n\t"
++ "or $f4, $f4, $f8 \n\t"
++ "or $f14, $f14, $f10 \n\t"
++ "or $f16, $f16, $f12 \n\t"
++
++ "sdc1 $f2, (%3) \n\t"
++ "sdc1 $f4, 8(%3) \n\t"
++ "add %0, 16 \n\t"
++ "add %1, 8 \n\t"
++ "add %2, 8 \n\t"
++ "sdc1 $f14, 0x10(%3) \n\t"
++ "sdc1 $f16, 0x18(%3) \n\t"
++ "add $8, -1 \n\t"
++ "b 1b \n\t"
++ "add %3, 32 \n\t"
++ "2: \n\t"
++ ".set reorder\n\t"
++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" (w>>4)
++ : "memory","$8"
++ );
++
++ asm (
++// ".set arch=loongson2f\n\t"
++ ".set noreorder\n\t"
++ "move $8, %8 \n\t"
++ "1: \n\t"
++ "beqz $8, 2f \n\t"
++ "xor $f0, $f0, $f0 \n\t"
++ "ldc1 $f4, (%0) \n\t"
++ "punpcklbh $f2, $f4, $f0 \n\t"
++ "punpckhbh $f4, $f4, $f0 \n\t"
++
++ "lwc1 $f8, (%1) \n\t"
++ "lwc1 $f12, (%2) \n\t"
++ "punpcklbh $f8, $f8, $f12 \n\t"
++ "punpcklbh $f6, $f0, $f8 \n\t"
++ "punpckhbh $f8, $f0, $f8 \n\t"
++
++ "or $f2, $f2, $f6 \n\t"
++ "or $f4, $f4, $f8 \n\t"
++
++ "sdc1 $f2, (%3) \n\t"
++ "sdc1 $f4, 8(%3) \n\t"
++ "add %0, 8 \n\t"
++ "add %1, 4 \n\t"
++ "add %2, 4 \n\t"
++ "add $8, -1 \n\t"
++ "b 1b \n\t"
++ "add %3, 16 \n\t"
++ "2:\n\t"
++ ".set reorder\n\t"
++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" ((w&0xf)/8)
++ : "memory","$8"
++ );
++
++ for (j = (w&7)/2; j; j--) {
++ *dst++ = *y++;
++ *dst++ = *u++;
++ *dst++ = *y++;
++ *dst++ = *v++;
++ }
++ y += yinc;
++ u = (i%2) ? (u + uinc): (u - w/2);
++ v = (i%2) ? (v + vinc): (v - w/2);
++ dst += dstinc;
++ }
++}
+
+ static int
+ SMI_PutImage(
+@@ -1592,7 +1704,7 @@ SMI_PutImage(
+ offset3 = tmp;
+ }
+ nLines = ((((y2 + 0xffff) >> 16) + 1) & ~1) - top;
+- xf86XVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
++ myXVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
+ buf + offset2, buf + offset3, dstStart,
+ srcPitch, srcPitch2, dstPitch, nLines,
+ nPixels);
diff --git a/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion-2.2.8-medan.r04.patch b/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion-2.2.8-medan.r04.patch
new file mode 100644
index 000000000..acb9716be
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion-2.2.8-medan.r04.patch
@@ -0,0 +1,104 @@
+diff -Naur xserver-xorg-video-siliconmotion-2.2.8/debian/changelog xserver-xorg-video-siliconmotion-2.2.8-new/debian/changelog
+--- xserver-xorg-video-siliconmotion-2.2.8/debian/changelog 2009-02-22 02:19:30.000000000 +0800
++++ xserver-xorg-video-siliconmotion-2.2.8-new/debian/changelog 2009-02-21 07:36:10.000000000 +0800
+@@ -1,3 +1,18 @@
++xserver-xorg-video-siliconmotion (2:2.2.8-medan.r04) unstable; urgency=low
++
++ * Fixed Xv not reporting any imaging modes. Caused all SDL overlays to
++ be software scaled and drawn in xshm.
++
++ -- Derrick Sobodash <derrick@cinnamonpirate.com> Sat, 21 Feb 2009 06:49:11 +0000
++
++xserver-xorg-video-siliconmotion (2:2.2.8-medan.r03) unstable; urgency=low
++
++ * Hacked Xv to fix driver reporting RGB colorspaces as BGR.
++ * Forked from 2:2.2.8-lemote.r02. Next revision writes Loongson opcodes,
++ which GCC is not supporting. How do you compile it!?
++
++ -- Derrick Sobodash <derrick@cinnamonpirate.com> Sat, 14 Feb 2009 06:49:11 +0000
++
+ xserver-xorg-video-siliconmotion (2:2.2.8-lemote.r02) unstable; urgency=low
+
+ * Add fast Xv packed ouput for YeeLoong notebook without lost of quality.
+diff -Naur xserver-xorg-video-siliconmotion-2.2.8/src/smi_video.c xserver-xorg-video-siliconmotion-2.2.8-new/src/smi_video.c
+--- xserver-xorg-video-siliconmotion-2.2.8/src/smi_video.c 2009-02-22 02:19:30.000000000 +0800
++++ xserver-xorg-video-siliconmotion-2.2.8-new/src/smi_video.c 2009-02-22 02:23:55.000000000 +0800
+@@ -245,7 +245,7 @@
+
+ /**************************************************************************/
+ /* number of (generated) XV_ENCODING vaulues */
+-#define N_ENCODINGS ((N_VIDEO_NORMS) * (N_COMPOSITE_CHANNELS + N_SVIDEO_CHANNELS))
++#define N_ENCODINGS (((N_VIDEO_NORMS) * (N_COMPOSITE_CHANNELS + N_SVIDEO_CHANNELS)) +1)
+
+
+ /**************************************************************************/
+@@ -310,7 +310,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 15, /* depth */
+- 0x001F, 0x03E0, 0x7C00, /* red_mask, green, blue */
++ 0x7C00, 0x03E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -329,7 +329,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 16, /* depth */
+- 0x001F, 0x07E0, 0xF800, /* red_mask, green, blue */
++ 0xF800, 0x07E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -348,7 +348,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -367,7 +367,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -394,7 +394,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 16, /* depth */
+- 0x001F, 0x07E0, 0xF800, /* red_mask, green, blue */
++ 0xF800, 0x07E0, 0x001F, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -413,7 +413,7 @@
+ XvPacked, /* format */
+ 1, /* num_planes */
+ 24, /* depth */
+- 0x0000FF, 0x00FF00, 0xFF0000, /* red_mask, green, blue */
++ 0xFF0000, 0x00FF00, 0x0000FF, /* red_mask, green, blue */
+ 0, 0, 0, /* y_sample_bits, u, v */
+ 0, 0, 0, /* horz_y_period, u, v */
+ 0, 0, 0, /* vert_y_period, u, v */
+@@ -589,6 +589,15 @@
+
+ /* fill arrays */
+ p->nenc = 0;
++ /* force XV_IMAGE at 0 */
++ p->enc[0].width = 2048;
++ p->enc[0].height = 2048;
++ p->enc[0].rate.numerator = 1;
++ p->enc[0].rate.denominator = 1;
++ p->enc[0].name = xalloc(strlen("XV_IMAGE")+1);
++ sprintf(p->enc[0].name, "% s", "XV_IMAGE");
++
++ p->nenc = 1;
+ for (ch = 0; ch < N_COMPOSITE_CHANNELS; ch++) {
+ for (n = 0; n < N_VIDEO_NORMS; n++) {
+ SMI_AddEncoding(p->enc, p->nenc, n, VID_COMPOSITE, ch);
diff --git a/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion_1.7.5-1loongson2.diff b/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion_1.7.5-1loongson2.diff
new file mode 100644
index 000000000..8b9f49395
--- /dev/null
+++ b/extra/xf86-video-siliconmotion/xserver-xorg-video-siliconmotion_1.7.5-1loongson2.diff
@@ -0,0 +1,707 @@
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/autogen.sh
++++ xserver-xorg-video-siliconmotion-1.7.5/autogen.sh
+@@ -0,0 +1,12 @@
++#! /bin/sh
++
++srcdir=`dirname $0`
++test -z "$srcdir" && srcdir=.
++
++ORIGDIR=`pwd`
++cd $srcdir
++
++autoreconf -v --install || exit 1
++cd $ORIGDIR || exit $?
++
++$srcdir/configure --enable-maintainer-mode "$@"
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/README.source
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/README.source
+@@ -0,0 +1,49 @@
++------------------------------------------------------
++Quick Guide To Patching This Package For The Impatient
++------------------------------------------------------
++
++1. Make sure you have quilt installed
++2. Unpack the package as usual with "dpkg-source -x"
++3. Run the "patch" target in debian/rules
++4. Create a new patch with "quilt new" (see quilt(1))
++5. Edit all the files you want to include in the patch with "quilt edit"
++ (see quilt(1)).
++6. Write the patch with "quilt refresh" (see quilt(1))
++7. Run the "clean" target in debian/rules
++
++Alternatively, instead of using quilt directly, you can drop the patch in to
++debian/patches and add the name of the patch to debian/patches/series.
++
++------------------------------------
++Guide To The X Strike Force Packages
++------------------------------------
++
++The X Strike Force team maintains X packages in git repositories on
++git.debian.org in the pkg-xorg subdirectory. Most upstream packages
++are actually maintained in git repositories as well, so they often
++just need to be pulled into git.debian.org in a "upstream-*" branch.
++Otherwise, the upstream sources are manually installed in the Debian
++git repository.
++
++The .orig.tar.gz upstream source file could be generated using this
++"upstream-*" branch in the Debian git repository but it is actually
++copied from upstream tarballs directly.
++
++Due to X.org being highly modular, packaging all X.org applications
++as their own independent packages would have created too many Debian
++packages. For this reason, some X.org applications have been grouped
++into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
++x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
++Most packages, including the X.org server itself and all libraries
++and drivers are, however maintained independently.
++
++The Debian packaging is added by creating the "debian-*" git branch
++which contains the aforementioned "upstream-*" branch plus the debian/
++repository files.
++When a patch has to be applied to the Debian package, two solutions
++are involved:
++* If the patch is available in one of the upstream branches, it
++ may be git'cherry-picked into the Debian repository. In this
++ case, it appears directly in the .diff.gz.
++* Otherwise, the patch is added to debian/patches/ which is managed
++ with quilt as documented in /usr/share/doc/quilt/README.source.
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/changelog
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/changelog
+@@ -0,0 +1,287 @@
++xserver-xorg-video-siliconmotion (1:1.7.5-1loongson2) unstable; urgency=low
++
++ * Non-maintainer upload.
++ * enable CRT output,
++ * loongson2f
++
++ -- liu shiwei <liushiwei@gmail.com> Sun, 15 May 2011 21:35:08 +0800
++
++xserver-xorg-video-siliconmotion (1:1.7.5-1) unstable; urgency=low
++
++ * New upstream release.
++ * Bump xutils-dev build-dep for new macros.
++ * Update debian/copyright from upstream COPYING.
++
++ -- Cyril Brulebois <kibi@debian.org> Wed, 09 Mar 2011 00:31:34 +0100
++
++xserver-xorg-video-siliconmotion (1:1.7.4-3) unstable; urgency=low
++
++ * Switch to dh:
++ - Use debhelper 8.
++ - Use dh-autoreconf.
++ - Bump xserver-xorg-dev build-dep for dh_xsf_substvars and xsf
++ debhelper sequence.
++ * Remove xsfbs accordingly.
++ * Update Uploaders list. Thanks, David & Brice!
++ * Remove long obsolete Replaces/Conflicts.
++ * Wrap Depends/Provides.
++ * Bump Standards-Version to 3.9.1 (no changes needed).
++
++ -- Cyril Brulebois <kibi@debian.org> Sat, 05 Feb 2011 14:55:28 +0100
++
++xserver-xorg-video-siliconmotion (1:1.7.4-2) experimental; urgency=low
++
++ [ Julien Cristau ]
++ * Drop 01_siliconmotion_rotate_option_disables_randr.diff, it was disabled
++ since 1.7.0 and most likely obsoleted by randr 1.2 support in that
++ release.
++
++ [ Cyril Brulebois ]
++ * Build against Xserver 1.9.1 rc1.
++
++ -- Cyril Brulebois <kibi@debian.org> Sat, 16 Oct 2010 21:03:39 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.4-1) experimental; urgency=low
++
++ [ Christopher James Halse Rogers ]
++ * New upstream release
++ - Fixes FTBFS against Xserver 1.8
++
++ -- Julien Cristau <jcristau@debian.org> Thu, 10 Jun 2010 11:32:50 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.3-2) unstable; urgency=low
++
++ [ Julien Cristau ]
++ * Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
++ good reason. Thanks, Colin Watson!
++ * Remove myself from Uploaders
++
++ [ Cyril Brulebois ]
++ * Update to new xsfbs, replace deprecated ${xserver:Depends} with
++ ${xviddriver:Depends} in Depends, and bump B-D on xserver-xorg-dev
++ accordingly.
++ * Add myself to Uploaders.
++ * Bump Standards-Version from 3.8.3 to 3.8.4 (no changes needed).
++
++ -- Cyril Brulebois <kibi@debian.org> Tue, 04 May 2010 00:19:15 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.3-1) experimental; urgency=low
++
++ [ Timo Aaltonen ]
++ * New upstream release.
++ * Bump Standards-Version to 3.8.3.
++ * Build against Xserver 1.7.
++
++ [ Cyril Brulebois ]
++ * Upload to experimental.
++
++ -- Cyril Brulebois <kibi@debian.org> Sun, 06 Dec 2009 01:50:22 +0100
++
++xserver-xorg-video-siliconmotion (1:1.7.2-1) unstable; urgency=low
++
++ * New upstream release.
++ * Bump Standards-Version to 3.8.2.
++ * Remove 01_gen_pci_ids.diff. The X server now uses an internal table to
++ choose a driver during autoconfiguration.
++
++ -- Brice Goglin <bgoglin@debian.org> Mon, 20 Jul 2009 00:13:38 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.1-1) unstable; urgency=low
++
++ * New upstream release.
++
++ -- Brice Goglin <bgoglin@debian.org> Wed, 29 Apr 2009 18:33:55 +0200
++
++xserver-xorg-video-siliconmotion (1:1.7.0-2) unstable; urgency=low
++
++ * Upload to unstable.
++
++ -- Julien Cristau <jcristau@debian.org> Thu, 09 Apr 2009 11:38:48 +0100
++
++xserver-xorg-video-siliconmotion (1:1.7.0-1) experimental; urgency=low
++
++ * New upstream release.
++ + Add support for EXA, RandR 1.2 and some smi 50x chipsets.
++ + Disable 01_siliconmotion_rotate_option_disables_randr.diff.
++ * Build against xserver 1.6 rc1.
++ * Allow parallel builds.
++ * Run autoreconf on build; add build-deps on automake, libtool and
++ xutils-dev.
++ * Add myself to Uploaders.
++
++ -- Brice Goglin <bgoglin@debian.org> Sun, 01 Feb 2009 16:15:46 +0100
++
++xserver-xorg-video-siliconmotion (1:1.6.0-2) experimental; urgency=low
++
++ * Build against xserver 1.5.
++
++ -- Julien Cristau <jcristau@debian.org> Mon, 08 Sep 2008 19:37:00 +0100
++
++xserver-xorg-video-siliconmotion (1:1.6.0-1) unstable; urgency=low
++
++ [ Brice Goglin ]
++ * Add upstream URL to debian/copyright.
++
++ [ Julien Cristau ]
++ * New upstream release.
++ * Refresh patches.
++ * Remove Branden from Uploaders with his permission, and add myself.
++ * Bump Standards-Version to 3.7.3.
++ * Drop the XS- prefix from Vcs-* control fields.
++ * Run dpkg-shlibdeps with --warnings=6. Drivers reference symbols from
++ /usr/bin/Xorg and other modules, and that's not a bug, so we want
++ dpkg-shlibdeps to shut up about symbols it can't find. Build-depend on
++ dpkg-dev >= 1.14.17.
++
++ -- Julien Cristau <jcristau@debian.org> Fri, 06 Jun 2008 12:19:48 +0200
++
++xserver-xorg-video-siliconmotion (1:1.5.1-3) unstable; urgency=low
++
++ * Upload to unstable
++
++ -- David Nusinow <dnusinow@debian.org> Sun, 16 Sep 2007 15:43:48 -0400
++
++xserver-xorg-video-siliconmotion (1:1.5.1-2) experimental; urgency=low
++
++ * Build against xserver 1.4 and build-dep on it
++ * Add 02_gen_pci_ids.diff. This patch provides a set of pci id's supported
++ by this driver so that it can be automatically loaded by the server.
++
++ -- David Nusinow <dnusinow@debian.org> Thu, 13 Sep 2007 20:20:40 -0400
++
++xserver-xorg-video-siliconmotion (1:1.5.1-1) unstable; urgency=low
++
++ [ Julien Cristau ]
++ * Add link to xserver-xorg-core bug script, so that bugreports contain
++ the user's config and log files.
++ * Bump dependency on xserver-xorg-core to >= 2:1.1.1-11, as previous
++ versions don't have the bug script.
++
++ [ Timo Aaltonen ]
++ * Replaces/Conflicts: xserver-xorg-driver-siliconmotion.
++
++ [ Brice Goglin ]
++ * New upstream version
++ + Pull more upstream fixes up-to 1a803a8f91a931c00106f9d3d41cfa5d74c19f55
++ + Refresh 01_siliconmotion_rotate_option_disables_randr.diff
++ * Install the upstream changelog.
++ * Bump Build-Depends: xserver-xorg-dev to >= 2:1.2.99.902
++ (needed to let xsfbs get access to serverminver).
++ * Add XS-Vcs-*.
++ * Add a link to www.X.org and a reference to the xf86-video-siliconmotion
++ module in the long description.
++ * Remove Fabio from uploaders with his permission. He's always welcome back.
++
++ -- Julien Cristau <jcristau@debian.org> Wed, 02 May 2007 15:08:45 +0200
++
++xserver-xorg-video-siliconmotion (1:1.4.2-1) experimental; urgency=low
++
++ * New upstream version
++ * Generate server dependencies automatically from the ABI
++
++ -- David Nusinow <dnusinow@debian.org> Wed, 21 Feb 2007 22:54:34 -0500
++
++xserver-xorg-video-siliconmotion (1:1.4.1-4) unstable; urgency=low
++
++ * Add quilt to build-depends. Thanks lamont. closes: #388641
++ * Bump standards version to 3.7.2.0. No changes needed.
++
++ -- David Nusinow <dnusinow@debian.org> Thu, 21 Sep 2006 22:20:51 -0400
++
++xserver-xorg-video-siliconmotion (1:1.4.1-3) unstable; urgency=low
++
++ [ Steve Langasek ]
++ * Upload to unstable
++
++ -- David Nusinow <dnusinow@debian.org> Mon, 18 Sep 2006 19:57:51 -0400
++
++xserver-xorg-video-siliconmotion (1:1.4.1-2) experimental; urgency=low
++
++ [ Drew Parsons ]
++ * Provides: xserver-xorg-video-1.0 not xserver-xorg-video.
++
++ [ David Nusinow ]
++ * Bump xserver (build-)depends epochs to 2: to deal with botched
++ server upload
++
++ -- David Nusinow <dnusinow@debian.org> Tue, 22 Aug 2006 23:46:40 +0000
++
++xserver-xorg-video-siliconmotion (1:1.4.1-1) experimental; urgency=low
++
++ [ Andres Salomon ]
++ * Test for obj-$(DEB_BUILD_GNU_TYPE) before creating it during build;
++ idempotency fix.
++ * Run dh_install w/ --list-missing.
++
++ [ David Nusinow ]
++ * New upstream release
++ * Add dependency on xserver-xorg-core to >= 1:1.1.1. Bump version for
++ the build-dep on xserver-xorg-dev.
++ * Bump debhelper compat to 5
++
++ -- David Nusinow <dnusinow@debian.org> Tue, 15 Aug 2006 23:45:05 +0000
++
++xserver-xorg-video-siliconmotion (1:1.3.1.5-3) unstable; urgency=low
++
++ * Upload to modular
++
++ -- David Nusinow <dnusinow@debian.org> Sun, 26 Mar 2006 20:25:54 -0500
++
++xserver-xorg-video-siliconmotion (1:1.3.1.5-2) experimental; urgency=low
++
++ * Port patches from trunk:
++ + general/083_siliconmotion_rotate_option_disables_randr.diff
++
++ -- David Nusinow <dnusinow@debian.org> Sun, 26 Feb 2006 17:53:12 -0500
++
++xserver-xorg-video-siliconmotion (1:1.3.1.5-1) experimental; urgency=low
++
++ * First upload to Debian
++ * Change source package, package, and provides names to denote the
++ type of driver and that they are for xserver-xorg
++
++ -- David Nusinow <dnusinow@debian.org> Fri, 13 Jan 2006 00:40:05 -0500
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.5-0ubuntu1) dapper; urgency=low
++
++ * New upstream release.
++ * Add provides on xserver-xorg-driver.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Wed, 4 Jan 2006 20:02:33 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.4-0ubuntu1) dapper; urgency=low
++
++ * New upstream release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Mon, 19 Dec 2005 09:11:22 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.3-0ubuntu1) dapper; urgency=low
++
++ * New upstream release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Mon, 12 Dec 2005 13:07:11 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.2-0ubuntu2) dapper; urgency=low
++
++ * Add missing Build-Depends (x11proto-core-dev, x11proto-fonts-dev,
++ x11proto-randr-dev, x11proto-render-dev).
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Mon, 5 Dec 2005 12:57:32 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.2-0ubuntu1) dapper; urgency=low
++
++ * New upstream release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Tue, 22 Nov 2005 13:36:09 +1100
++
++xserver-xorg-driver-siliconmotion (1:1.3.1.1-1) dapper; urgency=low
++
++ * New upstream release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Tue, 25 Oct 2005 17:10:12 +1000
++
++xserver-xorg-driver-siliconmotion (1:1.3.1-1) breezy; urgency=low
++
++ * First xserver-xorg-driver-siliconmotion release.
++
++ -- Daniel Stone <daniel.stone@ubuntu.com> Wed, 6 Jul 2005 15:48:17 +1000
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/xserver-xorg-video-siliconmotion.install
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/xserver-xorg-video-siliconmotion.install
+@@ -0,0 +1,2 @@
++usr/lib/xorg/modules/drivers/*.so
++usr/share/man/man4/*
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/copyright
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/copyright
+@@ -0,0 +1,75 @@
++This package was downloaded from
++http://xorg.freedesktop.org/releases/individual/driver/
++
++Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved.
++Copyright (C) 2000,2008 Silicon Motion, Inc. All Rights Reserved.
++Copyright (C) 2001 Corvin Zahn. All Rights Reserved.
++Copyright (C) 2008 Francisco Jerez. All Rights Reserved.
++Copyright (C) 2008 Mandriva Linux. All Rights Reserved.
++
++Permission is hereby granted, free of charge, to any person obtaining a copy of
++this software and associated documentation files (the "Software"), to deal in
++the Software without restriction, including without limitation the rights to
++use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
++of the Software, and to permit persons to whom the Software is furnished to do
++so, subject to the following conditions:
++
++The above copyright notice and this permission notice shall be included in all
++copies or substantial portions of the Software.
++
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
++NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
++XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
++WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
++
++Except as contained in this notice, the names of The XFree86 Project and
++Silicon Motion shall not be used in advertising or otherwise to promote the
++sale, use or other dealings in this Software without prior written
++authorization from The XFree86 Project or Silicon Motion.
++
++******************************************************************************
++
++Copyright 2007 George Sapountzis
++
++Permission is hereby granted, free of charge, to any person obtaining a
++copy of this software and associated documentation files (the "Software"),
++to deal in the Software without restriction, including without limitation
++the rights to use, copy, modify, merge, publish, distribute, sublicense,
++and/or sell copies of the Software, and to permit persons to whom the
++Software is furnished to do so, subject to the following conditions:
++
++The above copyright notice and this permission notice (including the next
++paragraph) shall be included in all copies or substantial portions of the
++Software.
++
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
++THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
++OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
++SOFTWARE.
++
++******************************************************************************
++
++Copyright (C) 2006 Dennis De Winter All Rights Reserved.
++Copyright (C) 2007 Alex Deucher All Rights Reserved.
++
++Permission is hereby granted, free of charge, to any person obtaining a copy of
++this software and associated documentation files (the "Software"), to deal in
++the Software without restriction, including without limitation the rights to
++use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
++of the Software, and to permit persons to whom the Software is furnished to do
++so, subject to the following conditions:
++
++The above copyright notice and this permission notice shall be included in all
++copies or substantial portions of the Software.
++
++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
++NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
++XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
++WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/watch
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/watch
+@@ -0,0 +1,3 @@
++#git=git://anongit.freedesktop.org/xorg/driver/xf86-video-siliconmotion
++version=3
++http://xorg.freedesktop.org/releases/individual/driver/ xf86-video-siliconmotion-(.*)\.tar\.gz
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/gbp.conf
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/gbp.conf
+@@ -0,0 +1,4 @@
++[DEFAULT]
++upstream-branch=upstream-experimental
++debian-branch=debian-experimental
++pristine-tar = True
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/rules
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/rules
+@@ -0,0 +1,17 @@
++#!/usr/bin/make -f
++
++# Install in debian/tmp to retain control through dh_install:
++override_dh_auto_install:
++ dh_auto_install --destdir=debian/tmp
++
++# Kill *.la files, and forget no-one:
++override_dh_install:
++ find debian/tmp -name '*.la' -delete
++ dh_install --fail-missing
++
++# That's a plugin, use appropriate warning level:
++override_dh_shlibdeps:
++ dh_shlibdeps -- --warnings=6
++
++%:
++ dh $@ --with quilt,autoreconf,xsf --builddirectory=build/
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/control
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/control
+@@ -0,0 +1,38 @@
++Source: xserver-xorg-video-siliconmotion
++Section: x11
++Priority: optional
++Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
++Uploaders: Cyril Brulebois <kibi@debian.org>
++Build-Depends:
++ debhelper (>= 8),
++ dh-autoreconf,
++ pkg-config,
++ xserver-xorg-dev (>= 2:1.9.4),
++ x11proto-video-dev,
++ x11proto-xext-dev,
++ x11proto-core-dev,
++ x11proto-fonts-dev,
++ x11proto-randr-dev (>= 1.2),
++ x11proto-render-dev,
++ quilt,
++ xutils-dev (>= 1:7.5+4),
++Standards-Version: 3.9.1
++Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-siliconmotion
++Vcs-Browser: http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-video-siliconmotion.git
++
++Package: xserver-xorg-video-siliconmotion
++Architecture: any
++Depends:
++ ${shlibs:Depends},
++ ${misc:Depends},
++ ${xviddriver:Depends},
++Provides:
++ ${xviddriver:Provides}
++Description: X.Org X server -- SiliconMotion display driver
++ This package provides the driver for the SiliconMotion Lynx and Cougar family
++ of chipsets, commonly found in laptops.
++ .
++ More information about X.Org can be found at:
++ <URL:http://www.X.org>
++ .
++ This package is built from the X.org xf86-video-siliconmotion driver module.
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/xserver-xorg-video-siliconmotion.links
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/xserver-xorg-video-siliconmotion.links
+@@ -0,0 +1 @@
++usr/share/bug/xserver-xorg-core/script usr/share/bug/xserver-xorg-video-siliconmotion/script
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/compat
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/compat
+@@ -0,0 +1 @@
++8
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/patches/98_sm712_CRT_enable.diff
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/patches/98_sm712_CRT_enable.diff
+@@ -0,0 +1,14 @@
++--- ../xx/xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c 2010-03-09 23:39:23.451798382 +0800
+++++ xserver-xorg-video-siliconmotion-1.7.3/src/smi_driver.c 2010-03-10 10:36:58.835798871 +0800
++@@ -1805,6 +1797,11 @@
++ pScreen->SaveScreen = SMI_SaveScreen;
++ pSmi->CloseScreen = pScreen->CloseScreen;
++ pScreen->CloseScreen = SMI_CloseScreen;
+++ /* Added by Belcon to enable LCD Panel Control Select */
+++ if (pSmi->Chipset == SMI_LYNXEMplus)
+++ {
+++ VGAOUT8_INDEX (pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x22, 2);
+++ }
++
++ if ((IS_MSOC(pSmi) &&
++ !xf86DPMSInit(pScreen, SMI501_DisplayPowerManagementSet, 0)) ||
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/patches/series
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/patches/series
+@@ -0,0 +1,2 @@
++98_sm712_CRT_enable.diff
++99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
+--- xserver-xorg-video-siliconmotion-1.7.5.orig/debian/patches/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
++++ xserver-xorg-video-siliconmotion-1.7.5/debian/patches/99_xf86-video-siliconmotion-1.7.3-fix-loongson.diff
+@@ -0,0 +1,160 @@
++rixed@happyleptic.org
++ 发送至 loongson-dev
++
++A patch for siliconmotion 1.7.3 is available in the bug trackers
++at freedesktop.org, but a better one will be available monday.
++Still, it lacks the most interresting part : the MMX pack function,
++which should not be implemented there but probably either directly
++in Xv or in pixman (and make Xv use pixman).
++
++So for now the simpliest is to fix these manually.
++For the impatient I attach a patch against SM 1.7.3
++With it, 16bpp and AccelMethod = "XAA" works quite well.
++
++Just an ugly hack really.
++diff -ur orig/src/smi_video.c mod/src/smi_video.c
++--- orig/src/smi_video.c 2010-02-05 13:11:18.000000000 +0100
+++++ mod/src/smi_video.c 2010-02-05 13:20:36.000000000 +0100
++@@ -276,6 +276,7 @@
++ XVIMAGE_YUY2,
++ XVIMAGE_YV12,
++ XVIMAGE_I420,
+++ XVIMAGE_UYVY,
++ {
++ FOURCC_RV15, /* id */
++ XvRGB, /* type */
++@@ -1462,6 +1463,117 @@
++ LEAVE();
++ }
++
+++static void myXVCopyYUV12ToPacked(const unsigned char *srcy, const unsigned char *srcv, const unsigned char *srcu,
+++ unsigned char *dst, int srcPitchy, int srcPitchuv, int dstPitch, int h, int w)
+++{
+++ int i, j;
+++ unsigned char const *y, *u, *v;
+++ int dstinc, yinc, uinc, vinc;
+++
+++ y = srcy;
+++ u = srcu;
+++ v = srcv;
+++
+++ dstinc = dstPitch - 2*w;
+++ yinc = srcPitchy - w;
+++ uinc = srcPitchuv - w/2;
+++ vinc = srcPitchuv - w/2;
+++
+++ for (i = 0; i < h; i++) {
+++ asm (
+++// ".set arch=loongson2f\n\t"
+++ ".set noreorder\n\t"
+++ "move $8, %8 \n\t"
+++ "1: \n\t"
+++ "beqz $8, 2f \n\t"
+++ "xor $f0, $f0, $f0 \n\t"
+++ "ldc1 $f4, (%0) \n\t"
+++ "punpcklbh $f2, $f4, $f0 \n\t"
+++ "punpckhbh $f4, $f4, $f0 \n\t"
+++ "ldc1 $f16, 8(%0) \n\t"
+++ "punpcklbh $f14, $f16, $f0 \n\t"
+++ "punpckhbh $f16, $f16, $f0 \n\t"
+++
+++ "lwc1 $f8, (%1) \n\t"
+++ "lwc1 $f12, (%2) \n\t"
+++ "punpcklbh $f8, $f8, $f12 \n\t"
+++ "punpcklbh $f6, $f0, $f8 \n\t"
+++ "punpckhbh $f8, $f0, $f8 \n\t"
+++ "lwc1 $f18, 4(%1) \n\t"
+++ "lwc1 $f12, 4(%2) \n\t"
+++ "punpcklbh $f18, $f18, $f12 \n\t"
+++ "punpcklbh $f10, $f0, $f18 \n\t"
+++ "punpckhbh $f12, $f0, $f18 \n\t"
+++
+++ "or $f2, $f2, $f6 \n\t"
+++ "or $f4, $f4, $f8 \n\t"
+++ "or $f14, $f14, $f10 \n\t"
+++ "or $f16, $f16, $f12 \n\t"
+++
+++ "sdc1 $f2, (%3) \n\t"
+++ "sdc1 $f4, 8(%3) \n\t"
+++ "add %0, 16 \n\t"
+++ "add %1, 8 \n\t"
+++ "add %2, 8 \n\t"
+++ "sdc1 $f14, 0x10(%3) \n\t"
+++ "sdc1 $f16, 0x18(%3) \n\t"
+++ "add $8, -1 \n\t"
+++ "b 1b \n\t"
+++ "add %3, 32 \n\t"
+++ "2: \n\t"
+++ ".set reorder\n\t"
+++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
+++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" (w>>4)
+++ : "memory","$8"
+++ );
+++
+++ asm (
+++// ".set arch=loongson2f\n\t"
+++ ".set noreorder\n\t"
+++ "move $8, %8 \n\t"
+++ "1: \n\t"
+++ "beqz $8, 2f \n\t"
+++ "xor $f0, $f0, $f0 \n\t"
+++ "ldc1 $f4, (%0) \n\t"
+++ "punpcklbh $f2, $f4, $f0 \n\t"
+++ "punpckhbh $f4, $f4, $f0 \n\t"
+++
+++ "lwc1 $f8, (%1) \n\t"
+++ "lwc1 $f12, (%2) \n\t"
+++ "punpcklbh $f8, $f8, $f12 \n\t"
+++ "punpcklbh $f6, $f0, $f8 \n\t"
+++ "punpckhbh $f8, $f0, $f8 \n\t"
+++
+++ "or $f2, $f2, $f6 \n\t"
+++ "or $f4, $f4, $f8 \n\t"
+++
+++ "sdc1 $f2, (%3) \n\t"
+++ "sdc1 $f4, 8(%3) \n\t"
+++ "add %0, 8 \n\t"
+++ "add %1, 4 \n\t"
+++ "add %2, 4 \n\t"
+++ "add $8, -1 \n\t"
+++ "b 1b \n\t"
+++ "add %3, 16 \n\t"
+++ "2:\n\t"
+++ ".set reorder\n\t"
+++ : "=r" (y), "=r" (u), "=r" (v), "=r" (dst)
+++ : "0" (y), "1" (u), "2" (v), "3" (dst), "r" ((w&0xf)/8)
+++ : "memory","$8"
+++ );
+++
+++ for (j = (w&7)/2; j; j--) {
+++ *dst++ = *y++;
+++ *dst++ = *u++;
+++ *dst++ = *y++;
+++ *dst++ = *v++;
+++ }
+++ y += yinc;
+++ u = (i%2) ? (u + uinc): (u - w/2);
+++ v = (i%2) ? (v + vinc): (v - w/2);
+++ dst += dstinc;
+++ }
+++}
++
++ static int
++ SMI_PutImage(
++@@ -1593,7 +1705,7 @@
++ offset3 = tmp;
++ }
++ nLines = ((((y2 + 0xffff) >> 16) + 1) & ~1) - top;
++- xf86XVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
+++ myXVCopyYUV12ToPacked(buf + (top * srcPitch) + (left >> 1),
++ buf + offset2, buf + offset3, dstStart,
++ srcPitch, srcPitch2, dstPitch, nLines,
++ nPixels);
++@@ -1793,6 +1905,7 @@
++ WRITE_VPR(pSmi, 0x1C, offset >> 3);
++ WRITE_VPR(pSmi, 0x20, (pitch >> 3) | ((pitch >> 3) << 16));
++ WRITE_VPR(pSmi, 0x24, (hstretch & 0xff00) | ((vstretch & 0xff00) >> 8));
+++ WRITE_VPR(pSmi, 0x68, ((hstretch & 0xff) << 8) | (vstretch & 0xff));
++ if (pSmi->Chipset == SMI_LYNXEMplus) { /* This one can store additional precision */
++ WRITE_VPR(pSmi, 0x68, ((hstretch & 0xff) << 8) | (vstretch & 0xff));
++ }
diff --git a/extra/xf86-video-sis/PKGBUILD b/extra/xf86-video-sis/PKGBUILD
index a44bde11c..651e9f082 100644
--- a/extra/xf86-video-sis/PKGBUILD
+++ b/extra/xf86-video-sis/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xf86-video-sis
pkgver=0.10.7
pkgrel=2
pkgdesc="X.org SiS video driver"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/xf86-video-unichrome/LICENSE b/extra/xf86-video-unichrome/LICENSE
deleted file mode 100644
index f4007667b..000000000
--- a/extra/xf86-video-unichrome/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-Copyright (c) 2004-2007 Luc Verhaegen. All Rights Reserved.
-Copyright (c) 2004-2005 The Unichrome Project. All Rights Reserved.
-Copyright (c) 1998-2003 VIA Technologies, Inc. All Rights Reserved.
-Copyright (c) 2001-2003 S3 Graphics, Inc. All Rights Reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the "Software"),
-to deal in the Software without restriction, including without limitation
-the rights to use, copy, modify, merge, publish, distribute, sub license,
-and/or sell copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice (including the
-next paragraph) shall be included in all copies or substantial portions
-of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
-THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
-DEALINGS IN THE SOFTWARE.
diff --git a/extra/xf86-video-unichrome/PKGBUILD b/extra/xf86-video-unichrome/PKGBUILD
deleted file mode 100644
index 1647f8cf1..000000000
--- a/extra/xf86-video-unichrome/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 153378 2012-03-12 20:54:55Z andyrtr $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xf86-video-unichrome
-pkgver=0.2.7
-pkgrel=7
-_gitversion=b917bee87db8a65b8e8da0ca12c24a176c9e9fb2
-pkgdesc="Unichrome video drivers for X.Org"
-arch=(i686 x86_64)
-url="http://unichrome.sf.net/"
-license=('custom')
-depends=('glibc')
-makedepends=('xorg-server-devel>=1.11.99.903' 'libx11' 'libdrm' 'xf86driproto' 'mesa' 'libxvmc') # 'glproto')
-options=('!libtool')
-conflicts=('xf86-video-via' 'openchrome' 'xf86-video-openchrome' 'xorg-server<1.11.99.903')
-source=(http://cgit.freedesktop.org/~libv/${pkgname}/snapshot/${pkgname}-${_gitversion}.tar.bz2)
-md5sums=('f7adef052de08a01af86e245d1932239')
-
-build() {
- cd "${srcdir}/${pkgname}-${_gitversion}"
- ./autogen.sh --prefix=/usr #--enable-dri
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${_gitversion}"
- make DESTDIR="${pkgdir}" install
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 debian/copyright "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}
diff --git a/extra/xfburn/PKGBUILD b/extra/xfburn/PKGBUILD
index ec80b00ac..cd95fa9c7 100755
--- a/extra/xfburn/PKGBUILD
+++ b/extra/xfburn/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=xfburn
pkgver=0.4.3
pkgrel=6
-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/xfce4-appfinder/PKGBUILD b/extra/xfce4-appfinder/PKGBUILD
index eeba6d757..428a497b8 100644
--- a/extra/xfce4-appfinder/PKGBUILD
+++ b/extra/xfce4-appfinder/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-appfinder
pkgver=4.10.0
pkgrel=1
pkgdesc="An application finder for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/projects/xfce4-appfinder"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-battery-plugin/PKGBUILD b/extra/xfce4-battery-plugin/PKGBUILD
index a89c29f4a..4287cd8a6 100644
--- a/extra/xfce4-battery-plugin/PKGBUILD
+++ b/extra/xfce4-battery-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-battery-plugin
pkgver=1.0.5
pkgrel=1
pkgdesc="A battery monitor plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-clipman-plugin/PKGBUILD b/extra/xfce4-clipman-plugin/PKGBUILD
index 38ab3b72b..d8c2b3dd5 100644
--- a/extra/xfce4-clipman-plugin/PKGBUILD
+++ b/extra/xfce4-clipman-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-clipman-plugin
pkgver=1.2.3
pkgrel=2
pkgdesc="A clipboard plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-cpufreq-plugin/PKGBUILD b/extra/xfce4-cpufreq-plugin/PKGBUILD
index f237d1675..d1e3e8c47 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=3
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 c098e048b..64ffa6bae 100644
--- a/extra/xfce4-cpugraph-plugin/PKGBUILD
+++ b/extra/xfce4-cpugraph-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-cpugraph-plugin
pkgver=1.0.5
pkgrel=1
pkgdesc="CPU graph plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL' 'custom')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-datetime-plugin/PKGBUILD b/extra/xfce4-datetime-plugin/PKGBUILD
index 228613781..e045b8ab9 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=3
pkgdesc="A date and time display plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
@@ -22,7 +22,6 @@ build() {
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
- --disable-static \
--disable-static
make
}
diff --git a/extra/xfce4-dev-tools/PKGBUILD b/extra/xfce4-dev-tools/PKGBUILD
index 36fb4823e..6a76c4d1e 100644
--- a/extra/xfce4-dev-tools/PKGBUILD
+++ b/extra/xfce4-dev-tools/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-dev-tools
pkgver=4.10.0
pkgrel=1
pkgdesc="Xfce developer tools"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
depends=('gtk-doc' 'automake' 'make' 'intltool' 'pkg-config')
diff --git a/extra/xfce4-dict/PKGBUILD b/extra/xfce4-dict/PKGBUILD
index 89cdd0d67..9dcac1ab6 100644
--- a/extra/xfce4-dict/PKGBUILD
+++ b/extra/xfce4-dict/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-dict
pkgver=0.6.0
pkgrel=3
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 dc1720006..6a47af76a 100644
--- a/extra/xfce4-diskperf-plugin/PKGBUILD
+++ b/extra/xfce4-diskperf-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-diskperf-plugin
pkgver=2.5.4
pkgrel=1
pkgdesc="Plugin for the Xfce4 panel displaying instant disk/partition performance"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('BSD')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-diskperf-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-eyes-plugin/PKGBUILD b/extra/xfce4-eyes-plugin/PKGBUILD
index 055380203..5336fcbcc 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=3
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 a0bfdb2ec..c69f1814c 100644
--- a/extra/xfce4-fsguard-plugin/PKGBUILD
+++ b/extra/xfce4-fsguard-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-fsguard-plugin
pkgver=1.0.1
pkgrel=1
pkgdesc="File system usage monitor plugin for the Xfce4 panel"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-genmon-plugin/PKGBUILD b/extra/xfce4-genmon-plugin/PKGBUILD
index 6d2391f4c..a67ddcbd3 100644
--- a/extra/xfce4-genmon-plugin/PKGBUILD
+++ b/extra/xfce4-genmon-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-genmon-plugin
pkgver=3.4.0
pkgrel=1
pkgdesc="plugin that monitors customizable programs stdout for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('LGPL2.1')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-mailwatch-plugin/PKGBUILD b/extra/xfce4-mailwatch-plugin/PKGBUILD
index c5a614ce0..aba363f1d 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=5
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 d5454aab4..96d40abcd 100644
--- a/extra/xfce4-mixer/PKGBUILD
+++ b/extra/xfce4-mixer/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xfce4-mixer
pkgver=4.10.0
pkgrel=1
pkgdesc="The volume control plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-mount-plugin/PKGBUILD b/extra/xfce4-mount-plugin/PKGBUILD
index 2c7eee784..048eca5cf 100644
--- a/extra/xfce4-mount-plugin/PKGBUILD
+++ b/extra/xfce4-mount-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-mount-plugin
pkgver=0.6.4
pkgrel=1
pkgdesc="Plugin for the Xfce4 panel to mount and unmount volumes"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xfce-goodies.berlios.de/"
license=('GPL')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-mpc-plugin/PKGBUILD b/extra/xfce4-mpc-plugin/PKGBUILD
index cc08d506e..5e6d373df 100644
--- a/extra/xfce4-mpc-plugin/PKGBUILD
+++ b/extra/xfce4-mpc-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-mpc-plugin
pkgver=0.4.4
pkgrel=1
pkgdesc="A plugin to control the music player daemon from the xfce4-panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin"
license=('BSD')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-netload-plugin/PKGBUILD b/extra/xfce4-netload-plugin/PKGBUILD
index 3f28626b6..f8687e4f3 100644
--- a/extra/xfce4-netload-plugin/PKGBUILD
+++ b/extra/xfce4-netload-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-netload-plugin
pkgver=1.2.0
pkgrel=1
pkgdesc="A netload plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xfce-goodies.berlios.de/"
license=('GPL')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-notes-plugin/PKGBUILD b/extra/xfce4-notes-plugin/PKGBUILD
index 66a2582c7..a6e5b52f8 100644
--- a/extra/xfce4-notes-plugin/PKGBUILD
+++ b/extra/xfce4-notes-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-notes-plugin
pkgver=1.7.7
pkgrel=4
pkgdesc="A notes plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-notifyd/PKGBUILD b/extra/xfce4-notifyd/PKGBUILD
index 1cf84b838..15cd689ae 100644
--- a/extra/xfce4-notifyd/PKGBUILD
+++ b/extra/xfce4-notifyd/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-notifyd
pkgver=0.2.2
pkgrel=3
pkgdesc="Notification daemon for the Xfce desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/applications/xfce4-notifyd"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-panel/PKGBUILD b/extra/xfce4-panel/PKGBUILD
index 11aff985e..a9bb10be3 100644
--- a/extra/xfce4-panel/PKGBUILD
+++ b/extra/xfce4-panel/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-panel
pkgver=4.10.0
pkgrel=1
pkgdesc="Panel for the Xfce desktop environment"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-power-manager/PKGBUILD b/extra/xfce4-power-manager/PKGBUILD
index 6adb11b90..50f038d89 100644
--- a/extra/xfce4-power-manager/PKGBUILD
+++ b/extra/xfce4-power-manager/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-power-manager
pkgver=1.2.0
pkgrel=3
pkgdesc="Power manager for Xfce desktop"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xfce-goodies.berlios.de/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-quicklauncher-plugin/PKGBUILD b/extra/xfce4-quicklauncher-plugin/PKGBUILD
index 38198869e..2f51019b0 100644
--- a/extra/xfce4-quicklauncher-plugin/PKGBUILD
+++ b/extra/xfce4-quicklauncher-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-quicklauncher-plugin
pkgver=1.9.4
pkgrel=7
pkgdesc="plugin that creates 4 little application launcher in the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-screenshooter/PKGBUILD b/extra/xfce4-screenshooter/PKGBUILD
index cc80ce3d5..3e78fd0d4 100644
--- a/extra/xfce4-screenshooter/PKGBUILD
+++ b/extra/xfce4-screenshooter/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-screenshooter
pkgver=1.8.1
pkgrel=1
pkgdesc="Plugin that makes screenshots for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-sensors-plugin/PKGBUILD b/extra/xfce4-sensors-plugin/PKGBUILD
index bd561fa89..8471cc584 100644
--- a/extra/xfce4-sensors-plugin/PKGBUILD
+++ b/extra/xfce4-sensors-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-sensors-plugin
pkgver=1.2.5
pkgrel=1
pkgdesc="A lm_sensors plugin for the Xfce panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-session/PKGBUILD b/extra/xfce4-session/PKGBUILD
index 54b01b4a8..2a95b22f5 100644
--- a/extra/xfce4-session/PKGBUILD
+++ b/extra/xfce4-session/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-session
pkgver=4.10.0
pkgrel=6
pkgdesc="A session manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-settings/PKGBUILD b/extra/xfce4-settings/PKGBUILD
index 5724cabe6..4fce8caab 100644
--- a/extra/xfce4-settings/PKGBUILD
+++ b/extra/xfce4-settings/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-settings
pkgver=4.10.0
pkgrel=3
pkgdesc="Settings manager for xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfce4-smartbookmark-plugin/PKGBUILD b/extra/xfce4-smartbookmark-plugin/PKGBUILD
index 48007334c..041af6211 100644
--- a/extra/xfce4-smartbookmark-plugin/PKGBUILD
+++ b/extra/xfce4-smartbookmark-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-smartbookmark-plugin
pkgver=0.4.4
pkgrel=3
pkgdesc="Plugin for the Xfce4 panel that lets you quicksearch from selected websites"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-smartbookmark-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-systemload-plugin/PKGBUILD b/extra/xfce4-systemload-plugin/PKGBUILD
index 760aba930..a334bbed4 100644
--- a/extra/xfce4-systemload-plugin/PKGBUILD
+++ b/extra/xfce4-systemload-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-systemload-plugin
pkgver=1.1.1
pkgrel=1
pkgdesc="A system load plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-systemload-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-taskmanager/PKGBUILD b/extra/xfce4-taskmanager/PKGBUILD
index 36560f8e6..188f3250a 100644
--- a/extra/xfce4-taskmanager/PKGBUILD
+++ b/extra/xfce4-taskmanager/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xfce4-taskmanager
pkgver=1.0.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="Easy to use task manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/applications/xfce4-taskmanager"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-time-out-plugin/PKGBUILD b/extra/xfce4-time-out-plugin/PKGBUILD
index 98a9109ec..ac4d78b3a 100755
--- a/extra/xfce4-time-out-plugin/PKGBUILD
+++ b/extra/xfce4-time-out-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-time-out-plugin
pkgver=1.0.1
pkgrel=2
pkgdesc="Take a break from your computer with this plugin for XFCE4."
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
license=('GPL')
diff --git a/extra/xfce4-timer-plugin/PKGBUILD b/extra/xfce4-timer-plugin/PKGBUILD
index 9f5eb4b77..e6b09e8bf 100644
--- a/extra/xfce4-timer-plugin/PKGBUILD
+++ b/extra/xfce4-timer-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-timer-plugin
pkgver=0.6.4
pkgrel=2
pkgdesc="plugin to track time for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-verve-plugin/PKGBUILD b/extra/xfce4-verve-plugin/PKGBUILD
index 1087fa358..622c9cbeb 100644
--- a/extra/xfce4-verve-plugin/PKGBUILD
+++ b/extra/xfce4-verve-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-verve-plugin
pkgver=1.0.0
pkgrel=3
pkgdesc="command line plugin Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xfce-goodies.berlios.de/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-wavelan-plugin/PKGBUILD b/extra/xfce4-wavelan-plugin/PKGBUILD
index 2eb59bb2c..49a04558d 100644
--- a/extra/xfce4-wavelan-plugin/PKGBUILD
+++ b/extra/xfce4-wavelan-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-wavelan-plugin
pkgver=0.5.11
pkgrel=1
pkgdesc="Plugin to monitor wifi connectivity for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/"
groups=('xfce4-goodies')
diff --git a/extra/xfce4-weather-plugin/PKGBUILD b/extra/xfce4-weather-plugin/PKGBUILD
index 07f3d4ad2..a6853ace1 100644
--- a/extra/xfce4-weather-plugin/PKGBUILD
+++ b/extra/xfce4-weather-plugin/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfce4-weather-plugin
pkgver=0.8.2
pkgrel=1
pkgdesc="A weather plugin for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-weather-plugin"
license=('GPL2')
groups=('xfce4-goodies')
diff --git a/extra/xfce4-xkb-plugin/PKGBUILD b/extra/xfce4-xkb-plugin/PKGBUILD
index 1ed492de2..eca650431 100644
--- a/extra/xfce4-xkb-plugin/PKGBUILD
+++ b/extra/xfce4-xkb-plugin/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=xfce4-xkb-plugin
pkgver=0.5.4.3
pkgrel=3
pkgdesc="Plugin to switch keyboard layouts for the Xfce4 panel"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin"
license=('custom')
groups=('xfce4-goodies')
diff --git a/extra/xfconf/PKGBUILD b/extra/xfconf/PKGBUILD
index c8258bf35..ff934d36a 100644
--- a/extra/xfconf/PKGBUILD
+++ b/extra/xfconf/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfconf
pkgver=4.10.0
pkgrel=2
pkgdesc="A simple client-server configuration storage and query system"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfdesktop/PKGBUILD b/extra/xfdesktop/PKGBUILD
index 463787925..4558e9281 100644
--- a/extra/xfdesktop/PKGBUILD
+++ b/extra/xfdesktop/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfdesktop
pkgver=4.10.0
pkgrel=5
pkgdesc="A desktop manager for Xfce"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xfig/PKGBUILD b/extra/xfig/PKGBUILD
index 12bd8bd37..cfbb4d3b2 100644
--- a/extra/xfig/PKGBUILD
+++ b/extra/xfig/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xfig
pkgver=3.2.5b
pkgrel=8
pkgdesc="An interactive drawing tool"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfig.org/userman/"
license=('custom')
depends=('libpng' 'libjpeg' 'libxaw' 'libxi' 'desktop-file-utils' 'gsfonts')
diff --git a/extra/xfwm4/PKGBUILD b/extra/xfwm4/PKGBUILD
index 7fd1b766f..873f7311b 100644
--- a/extra/xfwm4/PKGBUILD
+++ b/extra/xfwm4/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xfwm4
pkgver=4.10.0
pkgrel=2
pkgdesc="Xfce window manager"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.xfce.org/"
license=('GPL2')
groups=('xfce4')
diff --git a/extra/xine-lib/PKGBUILD b/extra/xine-lib/PKGBUILD
index e511a998f..439f56456 100644
--- a/extra/xine-lib/PKGBUILD
+++ b/extra/xine-lib/PKGBUILD
@@ -5,18 +5,19 @@ pkgname=xine-lib
pkgver=1.2.2
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=('libxvmc' 'ffmpeg' 'libxinerama')
-makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug'
+makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'libmodplug'
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad'
- 'libmpcdec' 'libcaca' 'libbluray' 'gnome-vfs' 'libvdpau' 'glu')
+ 'libmpcdec' 'libcaca' 'libbluray' 'gnome-vfs')
+[ "$CARCH" = "mips64el" ] || makedepends+=('glu' 'libvdpau')
optdepends=('imagemagick: for using the imagemagick plugin' \
'jack: for using the jack plugin' \
- 'vcdimager: for using the vcd plugin' \
- 'glu: for using the opengl plugin' \
- 'wavpack: for using the wavpack plugin' \
+ 'vcdimager: for using the vcd plugin')
+[ "$CARCH" = "mips64el" ] || optdepends+=('glu: for using the opengl plugin')
+optdepends+=('wavpack: for using the wavpack plugin' \
'faad2: for using the faad plugin' \
'libmng: for using the mng plugin' \
'aalib: for using the aalib plugin' \
@@ -27,15 +28,16 @@ optdepends=('imagemagick: for using the imagemagick plugin' \
'libmpcdec: for using the musepack plugin' \
'libcaca: for using the caca plugin' \
'libbluray: for using the bluray plugin' \
- 'gnome-vfs: for using the gnome-vfs plugin' \
- 'libvdpau: for using the VDPAU plugin')
+ 'gnome-vfs: for using the gnome-vfs plugin')
+[ "$CARCH" = "mips64el" ] || optdepends+=('libvdpau: for using the VDPAU plugin')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.xz)
sha1sums=('a349cbb0b72256bb262377796a022dcf63829b4c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --with-wavpack --enable-vdpau --disable-optimizations
+ [ "$CARCH" = "mips64el" ] || extraconf=--enable-vdpau
+ ./configure --prefix=/usr --with-wavpack --disable-optimizations $extraconf
make
}
diff --git a/extra/xmahjongg/PKGBUILD b/extra/xmahjongg/PKGBUILD
index 56df4a23f..63e383811 100644
--- a/extra/xmahjongg/PKGBUILD
+++ b/extra/xmahjongg/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xmahjongg
pkgver=3.7
-pkgrel=4
+pkgrel=4.1
pkgdesc="Mahjongg game for X-Window"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.lcdf.org/xmahjongg/"
license=('GPL')
depends=('gcc-libs' 'libx11')
diff --git a/extra/xmlsec/PKGBUILD b/extra/xmlsec/PKGBUILD
index 283a541e8..ec82fd47f 100644
--- a/extra/xmlsec/PKGBUILD
+++ b/extra/xmlsec/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=xmlsec
pkgver=1.2.18
-pkgrel=2
+pkgrel=2.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' 'nss>=3.12.10' 'libtool')
makedepends=('pkgconfig')
diff --git a/extra/xmlto/PKGBUILD b/extra/xmlto/PKGBUILD
index 6386c18ce..2b719ac92 100644
--- a/extra/xmlto/PKGBUILD
+++ b/extra/xmlto/PKGBUILD
@@ -6,9 +6,9 @@
pkgname=xmlto
pkgver=0.0.25
-pkgrel=2
+pkgrel=2.1
pkgdesc="Convert xml to many other formats"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://cyberelk.net/tim/software/xmlto/"
license=('GPL')
depends=('libxslt' 'perl-yaml-syck' 'perl-test-pod')
diff --git a/extra/xmms/PKGBUILD b/extra/xmms/PKGBUILD
index 026657181..b1d1a6dd0 100644
--- a/extra/xmms/PKGBUILD
+++ b/extra/xmms/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xmms
pkgver=1.2.11
pkgrel=6
pkgdesc="The X MultiMedia System - a multimedia player"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://legacy.xmms2.org/"
license=('GPL')
depends=('gtk' 'libxxf86vm' 'libsm' 'zlib' 'desktop-file-utils')
@@ -47,7 +47,7 @@ build() {
# Several patches from Mandriva
patch -p1 < ../xmms-1.2.11-fix-http-title-mpg123.patch
patch -p0 < ../xmms-1.2.10-recode-id3.patch
- patch -p1 < ../xmms-1.2.11-3dse.patch
+ [ "$CARCH" != "mips64el" ] && patch -p1 < ../xmms-1.2.11-3dse.patch
patch -p1 < ../xmms-1.2.10-fonts.patch
patch -p1 < ../xmms-1.2.11-CVE-2007-0653.0654.patch
patch -p1 < ../xmms-1.2.11-fix-mikmod-driver.patch
diff --git a/extra/xorg-appres/PKGBUILD b/extra/xorg-appres/PKGBUILD
index cfec39be3..a96168194 100644
--- a/extra/xorg-appres/PKGBUILD
+++ b/extra/xorg-appres/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-appres
pkgver=1.0.3
-pkgrel=3
+pkgrel=3.1
pkgdesc="List X application resource database"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxt')
diff --git a/extra/xorg-bdftopcf/PKGBUILD b/extra/xorg-bdftopcf/PKGBUILD
index af1cc4e0c..0597c1fda 100644
--- a/extra/xorg-bdftopcf/PKGBUILD
+++ b/extra/xorg-bdftopcf/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-bdftopcf
pkgver=1.0.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="Convert X font from Bitmap Distribution Format to Portable Compiled Format"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfont')
diff --git a/extra/xorg-font-util/PKGBUILD b/extra/xorg-font-util/PKGBUILD
index 2589f10e6..b0f88c1a5 100644
--- a/extra/xorg-font-util/PKGBUILD
+++ b/extra/xorg-font-util/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=xorg-font-util
pkgver=1.3.0
-pkgrel=1
+pkgrel=1.1
pkgdesc='X.Org font utilities'
url='http://xorg.freedesktop.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
makedepends=('xorg-util-macros')
source=("${url}/releases/individual/font/font-util-${pkgver}.tar.bz2")
diff --git a/extra/xorg-iceauth/PKGBUILD b/extra/xorg-iceauth/PKGBUILD
index 9063e3a4d..5aa39e9c4 100644
--- a/extra/xorg-iceauth/PKGBUILD
+++ b/extra/xorg-iceauth/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-iceauth
pkgver=1.0.5
-pkgrel=1
+pkgrel=1.1
pkgdesc="ICE authority file utility"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libice')
diff --git a/extra/xorg-luit/PKGBUILD b/extra/xorg-luit/PKGBUILD
index 16f9cebf1..747a4630f 100644
--- a/extra/xorg-luit/PKGBUILD
+++ b/extra/xorg-luit/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-luit
pkgver=1.1.1
pkgrel=1
pkgdesc="Filter that can be run between an arbitrary application and a UTF-8 terminal emulator"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libfontenc')
diff --git a/extra/xorg-mkfontscale/PKGBUILD b/extra/xorg-mkfontscale/PKGBUILD
index 089af1e1c..1fff874dc 100644
--- a/extra/xorg-mkfontscale/PKGBUILD
+++ b/extra/xorg-mkfontscale/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-mkfontscale
pkgver=1.1.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Create an index of scalable font files for X"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('freetype2' 'libfontenc')
diff --git a/extra/xorg-oclock/PKGBUILD b/extra/xorg-oclock/PKGBUILD
index 76c42e775..90a2ca163 100644
--- a/extra/xorg-oclock/PKGBUILD
+++ b/extra/xorg-oclock/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-oclock
pkgver=1.0.3
-pkgrel=1
+pkgrel=1.1
pkgdesc="Round X clock"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'libxext' 'libxkbfile')
diff --git a/extra/xorg-server/PKGBUILD b/extra/xorg-server/PKGBUILD
index 675f07577..0e11f6ff3 100644
--- a/extra/xorg-server/PKGBUILD
+++ b/extra/xorg-server/PKGBUILD
@@ -5,13 +5,14 @@ pkgbase=xorg-server
pkgname=('xorg-server' 'xorg-server-xephyr' 'xorg-server-xdmx' 'xorg-server-xvfb' 'xorg-server-xnest' 'xorg-server-common' 'xorg-server-devel')
pkgver=1.13.0
pkgrel=4
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
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' 'glproto' 'dri2proto' 'libgcrypt')
+ 'xorg-font-util' 'glproto' 'libgcrypt')
+[ "$CARCH" != "mips64el" ] && makedepends+=('dri2proto')
options=('!libtool')
source=(${url}/releases/individual/xserver/${pkgbase}-${pkgver}.tar.bz2
autoconfig-nvidia.patch
@@ -19,6 +20,7 @@ source=(${url}/releases/individual/xserver/${pkgbase}-${pkgver}.tar.bz2
xvfb-run
xvfb-run.1
10-quirks.conf
+ loongson.patch
git-fixes.patch
use-pixman-glyph-cache.patch)
sha256sums=('548b91cb01087ad4f892428e7ac4955251cf12393e86c70420436b33848ef28a'
@@ -27,6 +29,7 @@ sha256sums=('548b91cb01087ad4f892428e7ac4955251cf12393e86c70420436b33848ef28a'
'ff0156309470fc1d378fd2e104338020a884295e285972cc88e250e031cc35b9'
'2460adccd3362fefd4cdc5f1c70f332d7b578091fb9167bf88b5f91265bbd776'
'94612f5c0d34a3b7152915c2e285c7b462e9d8e38d3539bd551a339498eac166'
+ '966b8c509006e3b7e6ac951c93a760ecbb2cb2ad7a5807fb919f0c4ee5e079a5'
'd49e534b77ead809eb873a1a86cd47c791a8ddd10557bfa635197bba6bc00b71'
'7c1dacd30c46b01424c7c75974285cd348dafd0327eb3f211cbe446ad90dd308')
@@ -45,10 +48,19 @@ build() {
# Use unofficial imedia SiS driver for supported SiS devices
patch -Np0 -i "${srcdir}/autoconfig-sis.patch"
+ # Based on http://lists.freedesktop.org/archives/xorg-devel/2011-October/026249.html
+ patch -Np1 -i "${srcdir}/loongson.patch"
+
autoreconf -fi
+
+ if [ "$CARCH" = "mips64el" ]; then
+ extra="--disable-dri --disable-dri2 --disable-glx --disable-glx-tls"
+ else
+ extra="--enable-dri --enable-glx-tls"
+ fi
+
./configure --prefix=/usr \
--enable-ipv6 \
- --enable-dri \
--enable-dmx \
--enable-xvfb \
--enable-xnest \
@@ -56,7 +68,6 @@ build() {
--enable-xcsecurity \
--enable-xorg \
--enable-xephyr \
- --enable-glx-tls \
--enable-kdrive \
--enable-kdrive-evdev \
--enable-kdrive-kbd \
@@ -72,7 +83,8 @@ build() {
--localstatedir=/var \
--with-xkb-path=/usr/share/X11/xkb \
--with-xkb-output=/var/lib/xkb \
- --with-fontrootdir=/usr/share/fonts
+ --with-fontrootdir=/usr/share/fonts \
+ $extra
make
# Disable subdirs for make install rule to make splitting easier
@@ -118,9 +130,11 @@ package_xorg-server() {
rmdir "${pkgdir}/usr/share/X11"
+ if [ "$CARCH" != "mips64el" ]; then
# Needed for non-mesa drivers, libgl will restore it
mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
"${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg"
+ fi
rm -rf "${pkgdir}/var"
@@ -187,11 +201,12 @@ package_xorg-server-devel() {
depends=(# see pkgdir/usr/lib/pkgconfig/xorg-server.pc
xproto randrproto renderproto xextproto inputproto kbproto
fontsproto pixman videoproto xf86driproto glproto
- mesa dri2proto xineramaproto libpciaccess
+ mesa xineramaproto libpciaccess
# see FS#32146
resourceproto scrnsaverproto
# not technically required but almost every Xorg pkg needs it to build
xorg-util-macros)
+[ "$CARCH" = "mips64el" ] || depends+=('dri2proto')
cd "${srcdir}/${pkgbase}-${pkgver}"
make DESTDIR="${pkgdir}" install
diff --git a/extra/xorg-server/loongson.patch b/extra/xorg-server/loongson.patch
new file mode 100644
index 000000000..ba4811ccf
--- /dev/null
+++ b/extra/xorg-server/loongson.patch
@@ -0,0 +1,49 @@
+diff -ru xorg-server-1.12.1.orig/hw/xfree86/dri/sarea.h xorg-server-1.12.1/hw/xfree86/dri/sarea.h
+--- xorg-server-1.12.1.orig/hw/xfree86/dri/sarea.h 2012-05-17 20:42:38.676378113 +0200
++++ xorg-server-1.12.1/hw/xfree86/dri/sarea.h 2012-05-17 20:45:49.936966941 +0200
+@@ -41,6 +41,8 @@
+ /* SAREA area needs to be at least a page */
+ #if defined(__alpha__)
+ #define SAREA_MAX 0x2000
++#elif defined(__mips__)
++#define SAREA_MAX 0x4000
+ #elif defined(__ia64__)
+ #define SAREA_MAX 0x10000 /* 64kB */
+ #else
+diff -ru xorg-server-1.12.1.orig/hw/xfree86/os-support/linux/lnx_video.c xorg-server-1.12.1/hw/xfree86/os-support/linux/lnx_video.c
+--- xorg-server-1.12.1.orig/hw/xfree86/os-support/linux/lnx_video.c 2012-05-17 20:42:38.672349775 +0200
++++ xorg-server-1.12.1/hw/xfree86/os-support/linux/lnx_video.c 2012-05-17 20:47:23.059649687 +0200
+@@ -484,9 +484,10 @@
+ Bool
+ xf86EnableIO(void)
+ {
+-#if defined(__powerpc__)
++#if defined(__powerpc__) || defined(__mips__)
+ int fd;
+ unsigned int ioBase_phys;
++ extern unsigned int IOPortBase;
+ #endif
+
+ if (ExtendedEnabled)
+@@ -511,6 +512,21 @@
+ #endif
+ }
+ close(fd);
++#elif defined(__mips__)
++ fd = open("/dev/mem", O_RDWR);
++ IOPortBase = (volatile unsigned char *)mmap(0, 0x20000,
++ PROT_READ | PROT_WRITE, MAP_SHARED, fd,
++ 0x1fd00000);
++ if (IOPortBase == MAP_FAILED) {
++ xf86Msg(X_WARNING,
++ "xf86EnableIOPorts: Failed to map iobase (%s)\n",
++ strerror(errno));
++ return FALSE;
++ }
++ close(fd);
++ xf86Msg(X_WARNING,
++ "xf86EnableIOPorts: map iobase (%x)\n",
++ IOPortBase);
+ #elif !defined(__mc68000__) && !defined(__sparc__) && !defined(__mips__) && !defined(__sh__) && !defined(__hppa__) && !defined(__s390__) && !defined(__arm__) && !defined(__m32r__) && !defined(__nds32__)
+ if (ioperm(0, 1024, 1) || iopl(3)) {
+ if (errno == ENODEV)
diff --git a/extra/xorg-sessreg/PKGBUILD b/extra/xorg-sessreg/PKGBUILD
index aa97c8ffd..48859fd5a 100644
--- a/extra/xorg-sessreg/PKGBUILD
+++ b/extra/xorg-sessreg/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-sessreg
pkgver=1.0.7
-pkgrel=1
+pkgrel=1.1
pkgdesc="Register X sessions in system utmp/utmpx databases"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
diff --git a/extra/xorg-setxkbmap/PKGBUILD b/extra/xorg-setxkbmap/PKGBUILD
index f48a852d9..24df12a09 100644
--- a/extra/xorg-setxkbmap/PKGBUILD
+++ b/extra/xorg-setxkbmap/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=1
pkgdesc='Set the keyboard using the X Keyboard Extension'
url='http://xorg.freedesktop.org/'
license=('custom')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libxkbfile')
makedepends=('xorg-util-macros')
source=("${url}/releases/individual/app/setxkbmap-${pkgver}.tar.bz2")
diff --git a/extra/xorg-smproxy/PKGBUILD b/extra/xorg-smproxy/PKGBUILD
index d8c25e0a4..bbfd531ad 100644
--- a/extra/xorg-smproxy/PKGBUILD
+++ b/extra/xorg-smproxy/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-smproxy
pkgver=1.0.5
-pkgrel=1
+pkgrel=1.1
pkgdesc="Allows X applications that do not support X11R6 session management to participate in an X11R6 session"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libsm' 'libxt' 'libxmu')
diff --git a/extra/xorg-twm/PKGBUILD b/extra/xorg-twm/PKGBUILD
index d77f13207..fe1a8dc94 100644
--- a/extra/xorg-twm/PKGBUILD
+++ b/extra/xorg-twm/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=xorg-twm
pkgver=1.0.7
-pkgrel=1
+pkgrel=1.1
pkgdesc="Tab Window Manager for the X Window System"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
backup=(etc/X11/twm/system.twmrc)
license=('custom')
diff --git a/extra/xorg-x11perf/PKGBUILD b/extra/xorg-x11perf/PKGBUILD
index 7c7479dca..29d413201 100644
--- a/extra/xorg-x11perf/PKGBUILD
+++ b/extra/xorg-x11perf/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-x11perf
pkgver=1.5.4
-pkgrel=1
+pkgrel=1.1
pkgdesc="Simple X server performance benchmarker"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'libxrender' 'libxft' 'libxext')
diff --git a/extra/xorg-xauth/PKGBUILD b/extra/xorg-xauth/PKGBUILD
index cc8d30093..081b19d2c 100644
--- a/extra/xorg-xauth/PKGBUILD
+++ b/extra/xorg-xauth/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xauth
pkgver=1.0.7
-pkgrel=1
+pkgrel=1.1
pkgdesc="X.Org authorization settings program"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxmu')
diff --git a/extra/xorg-xbacklight/PKGBUILD b/extra/xorg-xbacklight/PKGBUILD
index 412b91056..c14213649 100644
--- a/extra/xorg-xbacklight/PKGBUILD
+++ b/extra/xorg-xbacklight/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xbacklight
pkgver=1.2.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="RandR-based backlight control application"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xcb-util')
diff --git a/extra/xorg-xbiff/PKGBUILD b/extra/xorg-xbiff/PKGBUILD
index d30551e11..938a15d9f 100644
--- a/extra/xorg-xbiff/PKGBUILD
+++ b/extra/xorg-xbiff/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xbiff
pkgver=1.0.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="Watch mailboxes for new message delivery"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxext')
diff --git a/extra/xorg-xcalc/PKGBUILD b/extra/xorg-xcalc/PKGBUILD
index 13bdb8ae4..a8e1ab01b 100644
--- a/extra/xorg-xcalc/PKGBUILD
+++ b/extra/xorg-xcalc/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xcalc
pkgver=1.0.4.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="Scientific calculator for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw')
diff --git a/extra/xorg-xclipboard/PKGBUILD b/extra/xorg-xclipboard/PKGBUILD
index 03cb8ef90..093273851 100644
--- a/extra/xorg-xclipboard/PKGBUILD
+++ b/extra/xorg-xclipboard/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xclipboard
pkgver=1.1.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="X clipboard manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xclock/PKGBUILD b/extra/xorg-xclock/PKGBUILD
index 4365f99a0..07bc3b4a6 100644
--- a/extra/xorg-xclock/PKGBUILD
+++ b/extra/xorg-xclock/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xclock
pkgver=1.0.6
-pkgrel=1
+pkgrel=1.1
pkgdesc="X clock"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'libxaw' 'libxrender' 'libxft' 'libxkbfile')
diff --git a/extra/xorg-xcmsdb/PKGBUILD b/extra/xorg-xcmsdb/PKGBUILD
index 37346f97a..fbb387949 100644
--- a/extra/xorg-xcmsdb/PKGBUILD
+++ b/extra/xorg-xcmsdb/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xcmsdb
pkgver=1.0.4
-pkgrel=1
+pkgrel=1.1
pkgdesc="Device Color Characterization utility for X Color Management System"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xconsole/PKGBUILD b/extra/xorg-xconsole/PKGBUILD
index ec5f653c6..939678cd7 100644
--- a/extra/xorg-xconsole/PKGBUILD
+++ b/extra/xorg-xconsole/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xconsole
pkgver=1.0.4
-pkgrel=2
+pkgrel=2.1
pkgdesc="Monitor system console messages with X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xcursorgen/PKGBUILD b/extra/xorg-xcursorgen/PKGBUILD
index df9997a0a..89ed2e4dc 100644
--- a/extra/xorg-xcursorgen/PKGBUILD
+++ b/extra/xorg-xcursorgen/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xcursorgen
pkgver=1.0.5
pkgrel=1
pkgdesc="Create an X cursor file from PNG images"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxcursor' 'libpng')
diff --git a/extra/xorg-xdm/PKGBUILD b/extra/xorg-xdm/PKGBUILD
index c350a658d..e89df667a 100644
--- a/extra/xorg-xdm/PKGBUILD
+++ b/extra/xorg-xdm/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xdm
pkgver=1.1.11
pkgrel=4
pkgdesc="X Display Manager"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('pam' 'libxaw' 'libxinerama' 'xorg-xrdb' 'xorg-sessreg' 'libxft' 'systemd')
diff --git a/extra/xorg-xdpyinfo/PKGBUILD b/extra/xorg-xdpyinfo/PKGBUILD
index b4101251d..0d1a323fd 100644
--- a/extra/xorg-xdpyinfo/PKGBUILD
+++ b/extra/xorg-xdpyinfo/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xdpyinfo
pkgver=1.3.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Display information utility for X"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxext' 'libxtst' 'libxxf86vm' 'libxxf86dga' 'libxrender' 'libxcomposite' 'libxinerama' 'libdmx')
diff --git a/extra/xorg-xdriinfo/PKGBUILD b/extra/xorg-xdriinfo/PKGBUILD
index e2fb4a36d..322b029b6 100644
--- a/extra/xorg-xdriinfo/PKGBUILD
+++ b/extra/xorg-xdriinfo/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xdriinfo
pkgver=1.0.4
-pkgrel=3
+pkgrel=3.1
pkgdesc="Query configuration information of DRI drivers"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libgl')
diff --git a/extra/xorg-xedit/PKGBUILD b/extra/xorg-xedit/PKGBUILD
index 8b5e389bb..4e8a7d2e7 100644
--- a/extra/xorg-xedit/PKGBUILD
+++ b/extra/xorg-xedit/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xedit
pkgver=1.2.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="Simple text editor for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xev/PKGBUILD b/extra/xorg-xev/PKGBUILD
index c0380e60d..e5efa8e52 100644
--- a/extra/xorg-xev/PKGBUILD
+++ b/extra/xorg-xev/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=xorg-xev
pkgver=1.2.0
-pkgrel=1
+pkgrel=1.1
pkgdesc='Print contents of X events'
url='http://xorg.freedesktop.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('libx11' 'libxrandr')
makedepends=('xorg-util-macros' 'xproto')
diff --git a/extra/xorg-xeyes/PKGBUILD b/extra/xorg-xeyes/PKGBUILD
index 717d7a7b7..aef7b1845 100644
--- a/extra/xorg-xeyes/PKGBUILD
+++ b/extra/xorg-xeyes/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xeyes
pkgver=1.1.1
-pkgrel=2
+pkgrel=2.1
pkgdesc="Follow the mouse/SHAPE extension X demo"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxt' 'libxext' 'libxmu' 'libxrender')
diff --git a/extra/xorg-xfd/PKGBUILD b/extra/xorg-xfd/PKGBUILD
index 42a5aafcd..ab5daa42e 100644
--- a/extra/xorg-xfd/PKGBUILD
+++ b/extra/xorg-xfd/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xfd
pkgver=1.1.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="Displays all the characters in a font using either the X11 core protocol or libXft2"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'fontconfig' 'libxft' 'libxrender' 'libxmu')
diff --git a/extra/xorg-xfontsel/PKGBUILD b/extra/xorg-xfontsel/PKGBUILD
index 1a8df4cb6..cfdc6122c 100644
--- a/extra/xorg-xfontsel/PKGBUILD
+++ b/extra/xorg-xfontsel/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=1.0.4
pkgrel=1
pkgdesc='Point and click selection of X11 font names'
url='http://xorg.freedesktop.org/'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
makedepends=('xorg-util-macros')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xfs/PKGBUILD b/extra/xorg-xfs/PKGBUILD
deleted file mode 100644
index f1e747ff1..000000000
--- a/extra/xorg-xfs/PKGBUILD
+++ /dev/null
@@ -1,64 +0,0 @@
-# $Id: PKGBUILD 151783 2012-03-02 19:10:39Z andyrtr $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-
-pkgname=xorg-xfs
-pkgver=1.1.2
-pkgrel=1
-pkgdesc="X.Org X11 xfs font server"
-arch=('i686' 'x86_64')
-url="http://xorg.freedesktop.org/"
-license=('custom')
-backup=('etc/X11/fs/config')
-depends=('xorg-font-utils' 'libxfont>=1.4.5' 'libfs>=1.0.2' 'libx11>=1.2.2')
-makedepends=('pkgconfig' 'xtrans' 'xorg-util-macros')
-source=(${url}/releases/individual/app/xfs-${pkgver}.tar.bz2
- ${url}/releases/individual/app/xfsinfo-1.0.3.tar.bz2
- ${url}/releases/individual/app/fslsfonts-1.0.3.tar.bz2
- ${url}/releases/individual/app/fstobdf-1.0.4.tar.bz2
- ${url}/releases/individual/app/showfont-1.0.3.tar.bz2
- xfs.rc)
-sha1sums=('d4a64e12f8a773bd0120977191586ca12baf1ace'
- '21c5f544f34d9164797575da85727558f5e09d33'
- '00177564597ac629207ca597f663b689902817df'
- '5310493f53277fd196f93bbb7f2a204cad8997b7'
- '161bf5f037db70dd75cb327648fbba559e821e76'
- '21277375814e358ec16e8f8330f420e3d4df63e5')
-
-build() {
- cd "${srcdir}"
- pushd xfs-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc
- make configdir=/etc/X11/fs
- popd
-
- for i in xfsinfo-* fslsfonts-* fstobdf-* showfont-*; do
- if [ -d "${i}" ]; then
- pushd "${i}"
- ./configure --prefix=/usr
- make
- popd
- fi
- done
-}
-
-package() {
- cd "${srcdir}"
- pushd xfs-${pkgver}
- make configdir=/etc/X11/fs DESTDIR="${pkgdir}" install
- sed -i -e 's|/lib/X11/|/share/|g' "${pkgdir}/etc/X11/fs/config"
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.xfs"
- popd
-
- for i in xfsinfo-* fslsfonts-* fstobdf-* showfont-*; do
- if [ -d "${i}" ]; then
- pushd "${i}"
- make DESTDIR="${pkgdir}" install
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.${i%-*}"
- popd
- fi
- done
- install -m755 -d "${pkgdir}/etc/rc.d"
- install -m755 "${srcdir}/xfs.rc" "${pkgdir}/etc/rc.d/xfs"
-}
diff --git a/extra/xorg-xfs/xfs.rc b/extra/xorg-xfs/xfs.rc
deleted file mode 100644
index caac86106..000000000
--- a/extra/xorg-xfs/xfs.rc
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/xfs`
-case "$1" in
- start)
- stat_busy "Starting X.Org fontserver"
- if [ -z "$PID" ]; then
- /usr/bin/xfs -daemon &> /dev/null
- fi
- if [ ! -z "$PID" -o $? -gt 0 ]; then
- stat_fail
- else
- add_daemon xfs
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping X.Org fontserver"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon xfs
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- reload)
- stat_busy "Reloading X.Org fontserver configuration"
- [ ! -z "$PID" ] && kill -HUP $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- fi
- ;;
- *)
- echo "usage: $0 {start|stop|restart|reload}"
-esac
diff --git a/extra/xorg-xgamma/PKGBUILD b/extra/xorg-xgamma/PKGBUILD
index e77997d4f..e36cf6083 100644
--- a/extra/xorg-xgamma/PKGBUILD
+++ b/extra/xorg-xgamma/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xgamma
pkgver=1.0.5
pkgrel=1
pkgdesc="Alter a monitor's gamma correction"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxxf86vm')
diff --git a/extra/xorg-xhost/PKGBUILD b/extra/xorg-xhost/PKGBUILD
index 0703110a7..a7ea1e8bf 100644
--- a/extra/xorg-xhost/PKGBUILD
+++ b/extra/xorg-xhost/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xhost
pkgver=1.0.5
pkgrel=1
pkgdesc="Server access control program for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu')
diff --git a/extra/xorg-xinit/PKGBUILD b/extra/xorg-xinit/PKGBUILD
index f9bb1c658..725a605ff 100644
--- a/extra/xorg-xinit/PKGBUILD
+++ b/extra/xorg-xinit/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xorg-xinit
pkgver=1.3.2
pkgrel=3
pkgdesc="X.Org initialisation program "
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libx11' 'xorg-xauth' 'inetutils')
diff --git a/extra/xorg-xinput/PKGBUILD b/extra/xorg-xinput/PKGBUILD
index f1110827f..73f274258 100644
--- a/extra/xorg-xinput/PKGBUILD
+++ b/extra/xorg-xinput/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xinput
pkgver=1.6.0
pkgrel=1
pkgdesc="Small commandline tool to configure devices"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxi>=1.5.99.2' 'xorg-xrandr' 'libxinerama')
diff --git a/extra/xorg-xkbcomp/PKGBUILD b/extra/xorg-xkbcomp/PKGBUILD
index 35dce4fce..ae3d9a204 100644
--- a/extra/xorg-xkbcomp/PKGBUILD
+++ b/extra/xorg-xkbcomp/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xkbcomp
pkgver=1.2.4
pkgrel=1
pkgdesc="X Keyboard description compiler"
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxkbfile')
diff --git a/extra/xorg-xkbevd/PKGBUILD b/extra/xorg-xkbevd/PKGBUILD
index 0f523d902..c28d91a6e 100644
--- a/extra/xorg-xkbevd/PKGBUILD
+++ b/extra/xorg-xkbevd/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xkbevd
pkgver=1.1.3
pkgrel=1
pkgdesc="XKB event daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxkbfile')
diff --git a/extra/xorg-xkbutils/PKGBUILD b/extra/xorg-xkbutils/PKGBUILD
index 6584c6adc..44a97a950 100644
--- a/extra/xorg-xkbutils/PKGBUILD
+++ b/extra/xorg-xkbutils/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xkbutils
pkgver=1.0.3
-pkgrel=3
+pkgrel=3.1
pkgdesc="XKB utility demos"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxt' 'libx11')
diff --git a/extra/xorg-xkill/PKGBUILD b/extra/xorg-xkill/PKGBUILD
index 867f20af8..eb9bb6dd3 100644
--- a/extra/xorg-xkill/PKGBUILD
+++ b/extra/xorg-xkill/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xkill
pkgver=1.0.3
-pkgrel=3
+pkgrel=3.1
pkgdesc="Kill a client by its X resource"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu')
diff --git a/extra/xorg-xload/PKGBUILD b/extra/xorg-xload/PKGBUILD
index d03c5a740..4e2c8de92 100644
--- a/extra/xorg-xload/PKGBUILD
+++ b/extra/xorg-xload/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xload
pkgver=1.1.1
pkgrel=1
pkgdesc="System load average display for X"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xlogo/PKGBUILD b/extra/xorg-xlogo/PKGBUILD
index 8a3713b97..42cf8c3db 100644
--- a/extra/xorg-xlogo/PKGBUILD
+++ b/extra/xorg-xlogo/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xlogo
pkgver=1.0.4
pkgrel=1
pkgdesc="Draw [old] X logo"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libsm' 'libxaw' 'libxmu' 'libxt' 'libxext' 'libx11' 'libxrender' 'libxft')
diff --git a/extra/xorg-xlsatoms/PKGBUILD b/extra/xorg-xlsatoms/PKGBUILD
index eef31393d..4e36c7e9d 100644
--- a/extra/xorg-xlsatoms/PKGBUILD
+++ b/extra/xorg-xlsatoms/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xlsatoms
pkgver=1.1.1
pkgrel=1
pkgdesc="List interned atoms defined on server"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcb')
diff --git a/extra/xorg-xlsclients/PKGBUILD b/extra/xorg-xlsclients/PKGBUILD
index a79dddb69..fb1aa27fa 100644
--- a/extra/xorg-xlsclients/PKGBUILD
+++ b/extra/xorg-xlsclients/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xlsclients
pkgver=1.1.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="List client applications running on a display"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcb')
diff --git a/extra/xorg-xmag/PKGBUILD b/extra/xorg-xmag/PKGBUILD
index aede01654..028caad33 100644
--- a/extra/xorg-xmag/PKGBUILD
+++ b/extra/xorg-xmag/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xmag
pkgver=1.0.4
-pkgrel=2
+pkgrel=2.1
pkgdesc="Magnify parts of the screen"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
diff --git a/extra/xorg-xman/PKGBUILD b/extra/xorg-xman/PKGBUILD
index 77bb96546..954df4957 100644
--- a/extra/xorg-xman/PKGBUILD
+++ b/extra/xorg-xman/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xman
pkgver=1.1.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Unix manual page viewer"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxt')
diff --git a/extra/xorg-xmessage/PKGBUILD b/extra/xorg-xmessage/PKGBUILD
index 4e8a70f9d..42189581d 100644
--- a/extra/xorg-xmessage/PKGBUILD
+++ b/extra/xorg-xmessage/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xmessage
pkgver=1.0.3
-pkgrel=2
+pkgrel=2.1
pkgdesc="Display a message or query in a window"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw')
diff --git a/extra/xorg-xmodmap/PKGBUILD b/extra/xorg-xmodmap/PKGBUILD
index 30058312a..ac04185ec 100644
--- a/extra/xorg-xmodmap/PKGBUILD
+++ b/extra/xorg-xmodmap/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xmodmap
pkgver=1.0.7
pkgrel=1
pkgdesc="Utility for modifying keymaps and button mappings"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xpr/PKGBUILD b/extra/xorg-xpr/PKGBUILD
index 11ba4bad5..0eb9d1dd4 100644
--- a/extra/xorg-xpr/PKGBUILD
+++ b/extra/xorg-xpr/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xpr
pkgver=1.0.4
pkgrel=1
pkgdesc="Print an X window dump from xwd"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'sh')
diff --git a/extra/xorg-xprop/PKGBUILD b/extra/xorg-xprop/PKGBUILD
index 32e121164..eab97a6fc 100644
--- a/extra/xorg-xprop/PKGBUILD
+++ b/extra/xorg-xprop/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xprop
pkgver=1.2.1
-pkgrel=1
+pkgrel=1.1
pkgdesc="Property displayer for X"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xrandr/PKGBUILD b/extra/xorg-xrandr/PKGBUILD
index a208b1ee3..8eb8ca012 100644
--- a/extra/xorg-xrandr/PKGBUILD
+++ b/extra/xorg-xrandr/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xrandr
pkgver=1.3.5
-pkgrel=1
+pkgrel=1.1
pkgdesc="Primitive command line interface to RandR extension"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxrandr' 'libx11')
diff --git a/extra/xorg-xrdb/PKGBUILD b/extra/xorg-xrdb/PKGBUILD
index 85b9266a0..51561293c 100644
--- a/extra/xorg-xrdb/PKGBUILD
+++ b/extra/xorg-xrdb/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xrdb
pkgver=1.0.9
-pkgrel=2
+pkgrel=2.1
pkgdesc="X server resource database utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'mcpp')
diff --git a/extra/xorg-xrefresh/PKGBUILD b/extra/xorg-xrefresh/PKGBUILD
index c5e36f96f..7113113bf 100644
--- a/extra/xorg-xrefresh/PKGBUILD
+++ b/extra/xorg-xrefresh/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xrefresh
pkgver=1.0.4
-pkgrel=3
+pkgrel=3.1
pkgdesc="Refresh all or part of an X screen"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xset/PKGBUILD b/extra/xorg-xset/PKGBUILD
index e483f0646..463cad984 100644
--- a/extra/xorg-xset/PKGBUILD
+++ b/extra/xorg-xset/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xset
pkgver=1.2.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="User preference utility for X"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxmu')
diff --git a/extra/xorg-xsetroot/PKGBUILD b/extra/xorg-xsetroot/PKGBUILD
index 3af6da325..543dfbf55 100644
--- a/extra/xorg-xsetroot/PKGBUILD
+++ b/extra/xorg-xsetroot/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xsetroot
pkgver=1.1.0
-pkgrel=3
+pkgrel=3.1
pkgdesc="Classic X utility to set your root window background to a given pattern or color"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxmu' 'libx11' 'libxcursor')
diff --git a/extra/xorg-xvidtune/PKGBUILD b/extra/xorg-xvidtune/PKGBUILD
index 288dc084c..227f5cd43 100644
--- a/extra/xorg-xvidtune/PKGBUILD
+++ b/extra/xorg-xvidtune/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xvidtune
pkgver=1.0.2
-pkgrel=2
+pkgrel=2.1
pkgdesc="Video mode tuner for Xorg"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxxf86vm' 'libxt' 'libxaw' 'libxmu' 'libx11')
diff --git a/extra/xorg-xvinfo/PKGBUILD b/extra/xorg-xvinfo/PKGBUILD
index 84f55418d..82ebec11c 100644
--- a/extra/xorg-xvinfo/PKGBUILD
+++ b/extra/xorg-xvinfo/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xvinfo
pkgver=1.1.1
-pkgrel=3
+pkgrel=3.1
pkgdesc="Prints out the capabilities of any video adaptors associated with the display that are accessible through the X-Video extension"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxv')
diff --git a/extra/xorg-xwd/PKGBUILD b/extra/xorg-xwd/PKGBUILD
index 5773cb32a..32ec675ac 100644
--- a/extra/xorg-xwd/PKGBUILD
+++ b/extra/xorg-xwd/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xwd
pkgver=1.0.5
-pkgrel=2
+pkgrel=2.1
pkgdesc="X Window System image dumping utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xorg-xwininfo/PKGBUILD b/extra/xorg-xwininfo/PKGBUILD
index 1e16302d1..d790d29d8 100644
--- a/extra/xorg-xwininfo/PKGBUILD
+++ b/extra/xorg-xwininfo/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=xorg-xwininfo
pkgver=1.1.2
-pkgrel=1
+pkgrel=1.1
pkgdesc="Command-line utility to print information about windows on an X server"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxcb')
diff --git a/extra/xorg-xwud/PKGBUILD b/extra/xorg-xwud/PKGBUILD
index b2a30dc07..de10341d3 100644
--- a/extra/xorg-xwud/PKGBUILD
+++ b/extra/xorg-xwud/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=xorg-xwud
pkgver=1.0.4
pkgrel=1
pkgdesc="X Window System image undumping utility"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11')
diff --git a/extra/xournal/PKGBUILD b/extra/xournal/PKGBUILD
index 240f15da7..ba03596fd 100644
--- a/extra/xournal/PKGBUILD
+++ b/extra/xournal/PKGBUILD
@@ -7,7 +7,7 @@ pkgrel=1
pkgdesc='Notetaking and sketching application'
url='http://xournal.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('libgnomecanvas' 'poppler-glib' 'shared-mime-info' 'desktop-file-utils' 'hicolor-icon-theme')
optdepends=('ghostscript: import PS/PDF files as bitmap backgrounds')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
diff --git a/extra/xpdf/PKGBUILD b/extra/xpdf/PKGBUILD
index f10a1b24f..14030a227 100644
--- a/extra/xpdf/PKGBUILD
+++ b/extra/xpdf/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=2
pkgdesc='Viewer for Portable Document Format (PDF) files'
url='http://www.foolabs.com/xpdf/'
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('lesstif' 'gsfonts' 'libxt')
optdepends=('poppler: tools that used to be included in xpdf'
'desktop-file-utils: for desktop environments')
diff --git a/extra/xsane/PKGBUILD b/extra/xsane/PKGBUILD
index c06616e23..cad28724a 100644
--- a/extra/xsane/PKGBUILD
+++ b/extra/xsane/PKGBUILD
@@ -6,7 +6,7 @@ pkgbase=xsane
pkgname=('xsane' 'xsane-gimp')
pkgver=0.998
pkgrel=2
-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/LICENSE b/extra/xscreensaver/LICENSE
deleted file mode 100644
index 4f587b5a3..000000000
--- a/extra/xscreensaver/LICENSE
+++ /dev/null
@@ -1,9 +0,0 @@
-/* xscreensaver, Copyright (c) 1993-2006 Jamie Zawinski <jwz@jwz.org>
- * Permission to use, copy, modify, distribute, and sell this software and its
- * documentation for any purpose is hereby granted without fee, provided that
- * the above copyright notice appear in all copies and that both that
- * copyright notice and this permission notice appear in supporting
- * documentation. No representations are made about the suitability of this
- * software for any purpose. It is provided "as is" without express or
- * implied warranty.
- */
diff --git a/extra/xscreensaver/PKGBUILD b/extra/xscreensaver/PKGBUILD
deleted file mode 100644
index 04259d150..000000000
--- a/extra/xscreensaver/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 146796 2012-01-18 14:05:21Z eric $
-# Maintainer: Eric Bélanger <eric@archlinux.org>
-
-pkgname=xscreensaver
-pkgver=5.15
-pkgrel=3
-pkgdesc="Screen saver and locker for the X Window System"
-arch=('i686' 'x86_64')
-url="http://www.jwz.org/xscreensaver/"
-license=('BSD')
-depends=('libxxf86vm' 'libglade' 'mesa' 'pam' 'xorg-appres' 'libxmu' \
- 'perl-libwww' 'perl-http-message')
-makedepends=('bc' 'libxpm' 'gdm')
-optdepends=('gdm: for login manager support')
-backup=('etc/pam.d/xscreensaver')
-source=(http://www.jwz.org/xscreensaver/${pkgname}-${pkgver}.tar.gz \
- add-electricsheep.diff xscreensaver.pam LICENSE)
-sha1sums=('b5ce7caa19f4d57c3bac83377a36dddbe7095052'
- '677496218b81a42d90bee400026e94dd87fb8ffb'
- '106635aa1aae51d6f0668b1853f6c49a4fe9d3d8'
- '4209ea586b204fd1d81c382a0522c654f9fd9134')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p0 -i "${srcdir}/add-electricsheep.diff"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib --with-x-app-defaults=/usr/share/X11/app-defaults \
- --with-pam --with-login-manager --with-gtk --with-gl \
- --without-gle --with-pixbuf --with-jpeg
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make install_prefix="${pkgdir}" install
- install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -D -m644 ../xscreensaver.pam "${pkgdir}/etc/pam.d/xscreensaver"
- chmod 755 "${pkgdir}/usr/bin/xscreensaver"
- echo "NotShowIn=KDE;GNOME;" >> "${pkgdir}/usr/share/applications/xscreensaver-properties.desktop"
-}
diff --git a/extra/xscreensaver/add-electricsheep.diff b/extra/xscreensaver/add-electricsheep.diff
deleted file mode 100644
index 18b4dea97..000000000
--- a/extra/xscreensaver/add-electricsheep.diff
+++ /dev/null
@@ -1,12 +0,0 @@
---- driver/XScreenSaver.ad.in-orig 2009-10-17 02:19:06.000000000 -0400
-+++ driver/XScreenSaver.ad.in 2009-10-17 02:21:16.000000000 -0400
-@@ -347,7 +347,8 @@
- @GL_KLUDGE@ GL: rubikblocks -root \n\
- @GL_KLUDGE@ GL: companioncube -root \n\
- @GL_KLUDGE@ GL: hilbert -root \n\
--@GL_KLUDGE@ GL: tronbit -root \n
-+@GL_KLUDGE@ GL: tronbit -root \n\
-+ electricsheep --root 1 \n
-
-
-
diff --git a/extra/xscreensaver/xscreensaver.pam b/extra/xscreensaver/xscreensaver.pam
deleted file mode 100644
index b4d80c21f..000000000
--- a/extra/xscreensaver/xscreensaver.pam
+++ /dev/null
@@ -1 +0,0 @@
-auth required pam_unix_auth.so
diff --git a/extra/xterm/PKGBUILD b/extra/xterm/PKGBUILD
index 9a77e9c1e..76d50022c 100644
--- a/extra/xterm/PKGBUILD
+++ b/extra/xterm/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=xterm
pkgver=286
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/xvidcore/PKGBUILD b/extra/xvidcore/PKGBUILD
index 360ddd8aa..b76dcab4b 100644
--- a/extra/xvidcore/PKGBUILD
+++ b/extra/xvidcore/PKGBUILD
@@ -4,9 +4,9 @@
pkgname=xvidcore
pkgver=1.3.2
-pkgrel=1
+pkgrel=1.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/yajl/PKGBUILD b/extra/yajl/PKGBUILD
index 8cd912127..36ecb9538 100644
--- a/extra/yajl/PKGBUILD
+++ b/extra/yajl/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=yajl
pkgver=2.0.4
pkgrel=1
pkgdesc='Yet Another JSON Library.'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://lloyd.github.com/yajl/'
license=('ISC')
makedepends=('cmake')
diff --git a/extra/yakuake/PKGBUILD b/extra/yakuake/PKGBUILD
index 1642a8bd4..6a7fe7479 100644
--- a/extra/yakuake/PKGBUILD
+++ b/extra/yakuake/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=yakuake
pkgver=2.9.9
pkgrel=1
pkgdesc="A drop-down terminal emulator based on KDE konsole technology"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://yakuake.kde.org/'
license=('GPL')
depends=('kdebase-konsole')
diff --git a/extra/yasm/PKGBUILD b/extra/yasm/PKGBUILD
index d1096c2ff..c1883cb20 100644
--- a/extra/yasm/PKGBUILD
+++ b/extra/yasm/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=yasm
pkgver=1.2.0
pkgrel=2
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 3990a3ebb..93fd97ac2 100644
--- a/extra/yelp/PKGBUILD
+++ b/extra/yelp/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=yelp
pkgver=3.6.2
pkgrel=1
pkgdesc="A help browser for GNOME"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
depends=('webkitgtk3' 'yelp-xsl' 'libxslt' 'hicolor-icon-theme' 'xz' 'bzip2'
'desktop-file-utils' 'dconf')
makedepends=('intltool' 'gtk-doc' 'itstool')
diff --git a/extra/yp-tools/PKGBUILD b/extra/yp-tools/PKGBUILD
index e85a3e1e6..f9a1a377c 100644
--- a/extra/yp-tools/PKGBUILD
+++ b/extra/yp-tools/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=yp-tools
pkgver=2.12
pkgrel=4
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 d4ce1b4d9..3ec53a072 100644
--- a/extra/ypbind-mt/PKGBUILD
+++ b/extra/ypbind-mt/PKGBUILD
@@ -10,7 +10,7 @@ pkgrel=5
pkgdesc='Linux NIS daemon'
url='http://www.linux-nis.org/nis/ypbind-mt/'
license=('GPL2')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
makedepends=('networkmanager')
depends=('rpcbind' 'openslp' 'dbus-glib' 'yp-tools')
backup=('etc/yp.conf' 'etc/conf.d/ypbind' 'etc/conf.d/nisdomainname')
@@ -27,6 +27,7 @@ build() {
./configure \
--prefix=/usr \
--enable-dbus-nm \
+ --build=$CHOST \
make
}
diff --git a/extra/ypserv/PKGBUILD b/extra/ypserv/PKGBUILD
index 694c43665..c2bcda8c6 100644
--- a/extra/ypserv/PKGBUILD
+++ b/extra/ypserv/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=ypserv
pkgver=2.28
pkgrel=2
pkgdesc='Linux NIS Server'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.linux-nis.org/nis/ypserv/'
license=('GPL2')
depends=('gdbm' 'openslp' 'inetutils' 'yp-tools')
diff --git a/extra/zeitgeist/PKGBUILD b/extra/zeitgeist/PKGBUILD
index f5da6633b..a852b9ff0 100644
--- a/extra/zeitgeist/PKGBUILD
+++ b/extra/zeitgeist/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=zeitgeist
pkgver=0.9.5
pkgrel=1
pkgdesc="A service which logs the users's activities and events and makes relevant information available to other applications"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://zeitgeist-project.com/"
license=('GPL')
depends=('python2-dbus' 'python2-gobject2' 'python2-xdg' 'xapian-core')
diff --git a/extra/zenity/PKGBUILD b/extra/zenity/PKGBUILD
index a94d7e3ae..c9d4dd09b 100644
--- a/extra/zenity/PKGBUILD
+++ b/extra/zenity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=zenity
pkgver=3.6.0
pkgrel=1
pkgdesc="Display graphical dialog boxes from shell scripts"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
license=('LGPL')
depends=('gtk3' 'libnotify')
makedepends=('intltool' 'gtk-doc' 'itstool' 'docbook-xsl')
diff --git a/extra/zile/PKGBUILD b/extra/zile/PKGBUILD
index eb3cd1e5b..0fc8f4c15 100644
--- a/extra/zile/PKGBUILD
+++ b/extra/zile/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=zile
pkgver=2.4.9
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/"
license=('GPL3')
depends=('acl' 'gc' 'ncurses')
diff --git a/extra/zip/PKGBUILD b/extra/zip/PKGBUILD
index dca110344..48769e74f 100644
--- a/extra/zip/PKGBUILD
+++ b/extra/zip/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=zip
pkgver=3.0
_pkgver=30
-pkgrel=3
+pkgrel=3.1
pkgdesc="Creates PKZIP-compatible .zip files"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.info-zip.org/Zip.html"
license=('BSD')
depends=('bzip2')
diff --git a/extra/zsh/PKGBUILD b/extra/zsh/PKGBUILD
index 28bd195f9..0deda06b7 100644
--- a/extra/zsh/PKGBUILD
+++ b/extra/zsh/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=zsh
pkgver=5.0.0
pkgrel=3
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 e80fae342..237e02821 100644
--- a/extra/zvbi/PKGBUILD
+++ b/extra/zvbi/PKGBUILD
@@ -5,10 +5,10 @@
pkgname=zvbi
pkgver=0.2.33
-pkgrel=4
+pkgrel=4.1
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 1dfd249fd..69736ea64 100644
--- a/extra/zziplib/PKGBUILD
+++ b/extra/zziplib/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=zziplib
pkgver=0.13.62
-pkgrel=1
+pkgrel=1.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')