swig: move languages to checkdepends.
swig: move languages to checkdepends.

The swig docs say that the languages are only necessary to run the test
suite or build the examples, so move them from `makedepends` to
`checkdepends`.

So that `checkdepends` actually means something, add a check function to
run swig's test suite.

peterbud/MINGW-packages,Ede123/MINGW-packages,JPeterMugaas/MINGW-packages,jtanx/MINGW-packages,Chocobo1/MINGW-packages,mati865/MINGW-packages,Alexpux/MINGW-packages,stahta01/MINGW-packages,Optiligence/MINGW-packages,JPeterMugaas/MINGW-packages,oscarfv/MINGW-packages,peterbud/MINGW-packages,oroppas/MINGW-packages,oroppas/MINGW-packages,mati865/MINGW-packages,oroppas/MINGW-packages,oscarfv/MINGW-packages,peterbud/MINGW-packages,jtanx/MINGW-packages,Optiligence/MINGW-packages,fabiangreffrath/MINGW-packages,lhmouse/MINGW-packages,InitialForce/MINGW-packages,Alexpux/MINGW-packages,InitialForce/MINGW-packages,mati865/MINGW-packages,Alexpux/MINGW-packages,fabiangreffrath/MINGW-packages,fabiangreffrath/MINGW-packages,Ede123/MINGW-packages,fabiangreffrath/MINGW-packages,jtanx/MINGW-packages,lhmouse/MINGW-packages,Optiligence/MINGW-packages,JPeterMugaas/MINGW-packages,lhmouse/MINGW-packages,Alexpux/MINGW-packages,oscarfv/MINGW-packages,oscarfv/MINGW-packages,stahta01/MINGW-packages,Chocobo1/MINGW-packages,JPeterMugaas/MINGW-packages,stahta01/MINGW-packages,JPeterMugaas/MINGW-packages,stahta01/MINGW-packages,Optiligence/MINGW-packages,lhmouse/MINGW-packages,peterbud/MINGW-packages,mati865/MINGW-packages,stahta01/MINGW-packages,mati865/MINGW-packages,jtanx/MINGW-packages,fabiangreffrath/MINGW-packages,Ede123/MINGW-packages,Chocobo1/MINGW-packages,InitialForce/MINGW-packages,Ede123/MINGW-packages,fabiangreffrath/MINGW-packages,Alexpux/MINGW-packages,oroppas/MINGW-packages,stahta01/MINGW-packages,oroppas/MINGW-packages,JPeterMugaas/MINGW-packages,lhmouse/MINGW-packages,oscarfv/MINGW-packages,oroppas/MINGW-packages,Alexpux/MINGW-packages,oscarfv/MINGW-packages,lhmouse/MINGW-packages