Does the D8 have a coax digi-out? (I never used one so I don't know).
If so, then one option is to get a converter for coax SPDIF > optical SPDIF and feed that into the macbook's optical in. Not all converters are bit-perfect, so if you consider this option, then look around here and see what people say about which ones.