Here's the answer:
“ich habe zwei Stunden auf dich gewartet”
Watch a real native speaker say it:
Here's how it sounds in a textbook:
You could also say:
- zwei Stunden habe ich auf dich gewartet
Fun fact: the hundreds of thousands of people learning German with Memrise get this phrase correct 94.1% of the time!