Commit Graph

11 Commits

Author SHA1 Message Date
Michael Stapelberg
23da59920c make pulseaudio an optional dependency, follow best practices
For my thoughts about optional dependencies, see
https://michael.stapelberg.ch/posts/2019-05-23-optional-dependencies/

This commit follows the best practices outlined in that article:

1. The travis config was modified to verify both code paths build and link/don’t
   link against pulseaudio.

2. If pulseaudio is missing, the build fails until packagers explicitly pass a
   --disable flag. In practice, I think the only situation when this flag should
   be set is in source-based linux distributions where users can express
   package-level compilation preferences (e.g. Gentoo USE flags).

3. The --version output now reflects the status of the optional dependency.

fixes #359
2019-07-29 21:07:40 +02:00
Michael Stapelberg
a57cdc84e2
Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
Felix Buehler
a40d7d928f switch to clang 3.8 & ignore sort oder of includes 2018-07-08 13:48:28 +02:00
Benedikt Heine
adc9348e80 Expose the testsuite in the Makefile 2018-06-19 17:17:51 +02:00
eplanet
b0af4e4c85 Unit testing in Travis (#170) 2016-11-14 00:13:44 -08:00
Michael Stapelberg
7c0c82313e travis: use trusty instead of (failing) llvm repo 2016-06-15 21:45:34 +02:00
Michael Stapelberg
83ab6e51c3 travis: switch to libnl-genl-3-dev 2015-09-24 21:54:02 +02:00
Michael Stapelberg
405c552a2f travis: re-add libpulse-dev 2015-04-20 08:43:08 +02:00
Michael Stapelberg
80ac63df39 travis: switch to container-based build infrastructure 2015-04-20 08:36:34 +02:00
Watcom Hecht
1710c206cf PulseAudio support for volume input 2015-04-03 17:57:40 -03:00
Michael Stapelberg
eb13374063 add .travis.yml 2015-03-16 19:35:22 +01:00