I came across this thread some time ago.
In that thread a user mentions that dolphin-emu has a hard dependency on the middleware pulseaudio.
I like dolphin-emu very much, and need it desperately so much that I looked up the Makefile in
There I noticed that the emulator also has a hard dependency on jack and sndio.
Since I have already OSS working and are quite happy with it, why should I use middleware or sndio from OpenBSD.
So, I experimented a bit.
To get dolphin-emu build from ports, you can either do it manually, use ports-mgmt/poudriere, or ports-mgmt/synth.
I am not going to explain here how to use either method, and I assume that you are familiar with ports building, but if not, I will leave links behind where you can get familiar with manually building, poudriere, or synth.
The ports builder which I will use in this guide is poudriere.
Links to learn how to build ports:
Manual Building
Poudriere (poudriere ports -c p local -F -M /usr/ports -f none) did not work, but (poudriere ports -c -m null -M /usr/ports -p port-name) did.
Synth
Lets us begin to get the unneeded hard-dependencies out of the dolphin-emu makefile.
I would recommend to create a dolphin-emu-custom directory in
To do so run as root the following command:
Now open
Search for:
->
->
->
and delete these entries and save the file.
Now issue as root:
Type in as your user
It should open, and in the QT GUI you should now notice in the audio tab that you only have cubeb as audio option.
But that is fine as Cubeb is an external dependency and compatible with OSS.
Choose as audio backend Cubeb and the sound should work.
One benefit is the reduced package amount, and saved device space which can in turn be used for other software.
Hopefully this guide is helpful.
If you have questions or suggestions do not hesitate to reply to this Howto.
In that thread a user mentions that dolphin-emu has a hard dependency on the middleware pulseaudio.
I like dolphin-emu very much, and need it desperately so much that I looked up the Makefile in
Code:
/usr/ports//usr/ports/emulators/dolphin-emu
Since I have already OSS working and are quite happy with it, why should I use middleware or sndio from OpenBSD.
So, I experimented a bit.
To get dolphin-emu build from ports, you can either do it manually, use ports-mgmt/poudriere, or ports-mgmt/synth.
I am not going to explain here how to use either method, and I assume that you are familiar with ports building, but if not, I will leave links behind where you can get familiar with manually building, poudriere, or synth.
The ports builder which I will use in this guide is poudriere.
Links to learn how to build ports:
Manual Building
Poudriere (poudriere ports -c p local -F -M /usr/ports -f none) did not work, but (poudriere ports -c -m null -M /usr/ports -p port-name) did.
Synth
Lets us begin to get the unneeded hard-dependencies out of the dolphin-emu makefile.
I would recommend to create a dolphin-emu-custom directory in
/usr/ports/emulators
.To do so run as root the following command:
Code:
cp -r /usr/ports/emulators/dolphin-emu /usr/ports/emulators/dolphin-emu-custom
Now open
/usr/ports/emulators/dolphin-emu-custom/Makefile
with your text editor of choice.Search for:
->
audio/pulseaudio
->
audio/jack
->
audio/sndio
and delete these entries and save the file.
Now issue as root:
Code:
poudriere bulk -j your-jailname -p your-port-name emulators/dolphin-emu-custom
pkg install dolphin-emu-custom
Type in as your user
dolphin-emu
.It should open, and in the QT GUI you should now notice in the audio tab that you only have cubeb as audio option.
But that is fine as Cubeb is an external dependency and compatible with OSS.
Choose as audio backend Cubeb and the sound should work.
One benefit is the reduced package amount, and saved device space which can in turn be used for other software.
Hopefully this guide is helpful.
If you have questions or suggestions do not hesitate to reply to this Howto.