How avoid installing binary package dependency i dont like?
You won’t necessarily need to build the entirety of libreoffice. If you check the dependences on freshports,
editors/libreoffice does not have pulesaudio as a dependency. I didn’t go through all the dependencies, but looking through, multimedia/qt6-multimedia is a required dependency of libreoffice, and that by default includes pulesaudio. So you can install just from ports multimedia/qt6-multimedia, lock that package, then install libreoffice from packages as normal.
editors/libreoffice does not have pulesaudio as a dependency. I didn’t go through all the dependencies, but looking through, multimedia/qt6-multimedia is a required dependency of libreoffice, and that by default includes pulesaudio. So you can install just from ports multimedia/qt6-multimedia, lock that package, then install libreoffice from packages as normal.
Just remember that anytime you update your packages, you will need to re-update your ports tree and and the multimedia/qt6-multimedia port. This is easier if you are fully setup for quarterly, or if like me track latest but only update on a scheduled interval.
EDIT: Just to add for the OP – setup to build qt6-multimedia from ports but not build all the tools, etc: after setting the configuration options in the port to disable pulseaudio, you can then run make install-missing-packages to install everything else by packages. Saves a lot of time.
Read more here: Source link
