、、。
Well, it depends on the situation — sometimes it is, sometimes it isn't.
Literal
Case [depends on-による] [contrastive-が][emphatic-な], so being-[or-たり], so not-being-[or-たり].
The sentence-final がな combines the weakly contrastive が with the emphatic/masculine sentence-final な, giving a reflective 'well, it's like...' tone typical of older or male speech. ~たり…~たり is the non-exhaustive alternation pattern — listing some examples of things that happen ('sometimes X, sometimes Y'). 場合による is a common set expression for 'it depends on the case/situation,' often used alone as a full answer to a yes/no question.