1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 09:32:37 +01:00
Files
sunny-overlay/media-sound/mixxx/files/mixxx-1.12.9999-optional-libshout.patch

27 lines
815 B
Diff

diff --git a/src/util/version.cpp b/src/util/version.cpp
index 57203ed..77eee0e 100644
--- a/src/util/version.cpp
+++ b/src/util/version.cpp
@@ -12,7 +12,9 @@
#ifdef WIN64
#define WIN32
#endif
+#ifdef __SHOUTCAST_
#include <shout/shout.h>
+#endif
#ifdef WIN64
#undef WIN32
#endif
@@ -88,8 +90,10 @@ QStringList Version::dependencyVersions() {
result
// Should be accurate.
<< QString("Qt: %1").arg(qVersion())
+#ifdef __SHOUTCAST_
// Should be accurate.
<< QString("libshout: %1").arg(shout_version(NULL, NULL, NULL))
+#endif
// The version of the RubberBand headers Mixxx was compiled with.
<< QString("RubberBand: %1").arg(RUBBERBAND_VERSION)
// The version of the SoundTouch headers Mixxx was compiled with.