Due to a curse, Arjuna in Mahabharatha lives like a "feminine man" for a year during the "ajnaatha vaasa". He may not have been "gay", but at least "half men" are not new to Indian culture.
Similarly, "Shikhandi" who killed Bhishma in Mahabharatha is a woman born as a man. He too is considered to be a "half-man", though he may not be "gay".
Ancient Indian culture in the past has been open to all forms of sexuality and is the most liberal culture that ever lived on this planet.
This "conservative" culture that we see in today's India was not there in the past, before Muslims and Christians came into this country.