Demisexual

Demisexual is a sexual orientation on the asexual spectrum defined as someone who does not experience sexual attraction until they have formed a deep emotional connection with someone.

Demisexual can be a sexual orientation on its own or can combined with other orientations. For example, one could be demisexual and gay, meaning that when one does experience sexual attraction it's only towards people of the same gender.