Etymology
Today it means: In a melancholy manner. Full definition →
From melancholy + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.