I do not believe PRSI & USC are payable on capital gains. PRSI and USC are "income" taxes. Capital gains are liable to CGT @ 30%, the first €1,270 of all gains in a year being exempt.
You mention joint allowance - Share certs need to be in joint names to qualify - Revenue used to be flexible on this but have been more strict in recent years