Show that $$\int_{0}^{\pi}\dfrac{x^2}{\sqrt{5}-2\cos{x}}dx=\dfrac{\pi^3}{15}+2\pi\ln^2{\left(\dfrac{1+\sqrt{5}}{2}\right)}$$
This thread demonstrates how contour integration can be used to solve the above integral, but I'm interested in finding alternative methods.
I believe one might utilize the Polylogarithm in some way. My attempt: I tried to rely on the identity $$2\cos{x}=e^{ix}+e^{-ix}.$$
Can someone think of a solution to this integral which doesn't involve the residue theorem?
Thank you