Make sure to get your causal arrows in the right direction. A favorite quote from Mark Fisher:
> “Instead of accepting the vast privatization of stress that has taken place over the last thirty years, we need to ask: how has it become acceptable that so many people, and especially so many young people, are ill? The ‘mental health plague’ in capitalist societies would suggest that, instead of being the only social system that works, capitalism is inherently dysfunctional, and that the cost of it appearing to work is very high.”
OP is not finding work dissatisfying because they are depressed, if they ever were depressed it is because software engineering today is a meaningless, valueless trudge ultimately to shift around some investor's money.
If the situation doesn't depress you it's only because you don't see it, but seeing it and reacting to it as the OP does is the only reasonable reaction. It is not a symptom of the sickness of the individual but of sickness of the larger system manifested in the individual.
To the OP: as a general rule I wouldn't seek out advice like this on HN, more comments will be undermining you and your observation of reality than will give you any meaningful advice.
What has worked for me is finding work that isn't repulsive (e.g. not actively and directly contributing to individual or ecological harm, of course they all do in some sense but many do it so directly you can't even look away without extreme cognitive dissonance), for a team of people that treat you as a human (no company will do this, but there are teams). No work is meaningful because we are in a bubble (not just finance) of unimaginable scale, in some capitalist fantasy land detached from reality (we aren't even really generating profits any more rather than shuffling around surplus value).
Acknowledge that you need a job to provide income, not meaning. Find other sources of meaning in your life (think Candide's garden), and try to keep sane.