i-rinat / apulse

PulseAudio emulation for ALSA
MIT License
609 stars 35 forks source link

Respect libdir suffix #10

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi and thank you for a great piece of software allowing us to run skype without pulseaudio on 0Linux,

your cmake file does not allow one to respect an alternate suffix for libdir. Could you add one ? Typically, projects usually provide a -DLIB_SUFFIX="suffix" extra paramater to allow to install in a /usr/lib64 dir, for example.

Moreover, this is quite needed in a mulitlib environment (like 0Linux has). So for now I have to move libs in a temp dir then replace them at each build (I need a 32-bit build and a 64-bit one into the same package). See: https://github.com/0linux/0linux/blob/master/0Linux/a/apulse/apulse.recette

Thanks!

jauhien commented 10 years ago

You can use cmake -DCMAKE_INSTALL_PREFIX=/use -DAPULSEPATH=/usr/lib32/apulse, see issue #7 and https://github.com/jauhien/jauhien-overlay/blob/master/media-sound/apulse/apulse-0.1.1.ebuild

ghost commented 10 years ago

Oh, neat. I did not search that well it seems. Thank you very much! Closing.