what was it got adopted from?
"O Canada" should be designated as the national anthem and "God Save the Queen" as the royal anthem of Canada, one verse from each, in both official languages, to be adopted by parliament.
O Canada
 the group first met in February and, within two months, on April 12, 1967, presented its conclusion that "O Canada" should be designated as the national anthem and "God Save the Queen" as the royal anthem of Canada, one verse from each, in both official languages, to be adopted by parliament. 
when was o canada proclaimed the national anthem 1980
wiki:25636704
O Canada [SEP] Adoption
The group was then charged with establishing official lyrics for each song. For "O Canada", the Robert Stanley Weir version of 1908 was recommended for the English words, with a few minor changes: two of the "stand on guard" phrases were replaced with "from far and wide" and "God keep our land". In 1970, the Queen in Right of Canada purchased the right to the lyrics and music of "O Canada" from Gordon V. Thompson Music for $1. The song finally became the official national anthem in 1980 with the passage of the "National Anthem Act." The Act replaced two of the repetitions of the phrase "We stand on guard" in the English lyrics, as had been proposed by the Senate Special Joint Committee.