-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable optional SDK mode (install files required to build apps with apulse) #93
base: master
Are you sure you want to change the base?
Conversation
Install PA headers on demand to build apps without pulseaudio installed.
Add pkg-config files generation suitable for apulse. Use LIBDIR for APULSEPATH generation.
In SDK mode apulse is not parallel installable with PulseAudio, but is a semi drop-in replacement for it, so install to libdir for higher compatibility (not every PA client uses pkg-config).
1. APULSE_SEARCH_PATHS: - set after APULSEPATH; - add CMAKE_INSTALL_PREFIX. 2. Do not install apulse man page when wrapper is not installed.
Sorry for a huge delay. I tried to think about such SDK mode multiple times, but could not persuade myself that it's a good decision. Still think that's not. I'm not going to merge it. |
@bircoph,
|
More details please, including full build logs of both apps. SDK is needed to build applications without pulseaudio (headers, devel — varies on the distribution). It should be no difference for pre-built applications. |
@bircoph,
Yes, it works for me without SDK.
But there is. |
This is proprietary software, I can't fix it and will not install it due to license restrictions.
Patches are welcome. |
And you shouldn't :)
Here where you should appear with the fix. |
Hi!
These patches provide an optional SDK mode which allows to use apulse as PulseAudio replacement to build and run applications without PA installed. I'm well aware that apulse was not designed to be a drop-in replacement of PA, but for applications it already supports this mode will allow to compile and use such applications without building and installing PA. This is especially important for users building software form source, e.g. Gentoo. Of course in this mode PA and apulse can't be installed at the same time.
In this mode:
It can be enabled with -DINSTALL_SDK and is disabled by default.