Here are some ebuilds for salome 6.6.0. I used the previous ebuilds and patches and made changes where I need to. I emerged the following ebuilds successfully with the use flags "opengl" and "paraview". The ebuilds are not perfect but maybee a good base for improvements.
Created attachment 350662 [details] salome-component-6.6.0.ebuild
Created attachment 350664 [details] salome-geom-6.6.0.ebuild
Created attachment 350666 [details, diff] salome-geom-6.6.0-docapi.patch
Created attachment 350668 [details, diff] salome-geom-6.6.0-qobject_static_cast.patch
Created attachment 350670 [details] salome-gui-6.6.0.ebuild
Created attachment 350672 [details, diff] salome-gui-6.6.0-Guihelper-qobject_static_cast.patch
Created attachment 350676 [details, diff] salome-gui-6.6.0-qobject_static_cast.patch
Created attachment 350678 [details, diff] salome-gui-6.6.0-qt4-path.patch
Created attachment 350680 [details] salome-kernel-6.6.0.ebuild
Created attachment 350682 [details] salome-med-6.6.0.ebuild
Created attachment 350684 [details, diff] salome-med-6.6.0-MEDGUI-qobject_static_cast.patch
Created attachment 350686 [details] salome-smesh-6.6.0.ebuild
Created attachment 350688 [details, diff] salome-smesh-6.6.0-docapi.patch
Created attachment 350690 [details, diff] salome-smesh-6.6.0-qobject_static_cast.patch
Created attachment 350692 [details] salome-visu-6.6.0.ebuild
Created attachment 350694 [details, diff] salome-visu-6.6.0-qobject_static_cast.patch
*** This bug has been marked as a duplicate of bug 155974 ***