From 31c98b064966fc961818805b229f4e575ed7d318 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Sat, 30 Nov 2013 18:18:55 +0200 Subject: [PATCH] xbmc: make Waveform/Spectrum/FishBMC visualisations optional --- packages/mediacenter/xbmc/package.mk | 24 ++++++++++++++++++++++++ projects/ARCTIC_MC/options | 9 +++++++++ projects/ATV/options | 9 +++++++++ projects/Generic/options | 9 +++++++++ projects/RPi/options | 9 +++++++++ projects/Virtual/options | 9 +++++++++ 6 files changed, 69 insertions(+) diff --git a/packages/mediacenter/xbmc/package.mk b/packages/mediacenter/xbmc/package.mk index 56892c7fe9..0086ab9f0a 100644 --- a/packages/mediacenter/xbmc/package.mk +++ b/packages/mediacenter/xbmc/package.mk @@ -132,6 +132,27 @@ else XBMC_GOOM="--disable-goom" fi +if [ "$XBMC_VIS_WAVEFORM" = yes ]; then +# for Waveform Visualisation support + XBMC_WAVEFORM="--enable-waveform" +else + XBMC_WAVEFORM="--disable-waveform" +fi + +if [ "$XBMC_VIS_SPECTRUM" = yes ]; then +# for Spectrum Visualisation support + XBMC_SPECTRUM="--enable-spectrum" +else + XBMC_SPECTRUM="--disable-spectrum" +fi + +if [ "$XBMC_VIS_FISHBMC" = yes ]; then +# for FishBMC Visualisation support + XBMC_FISHBMC="--enable-fishbmc" +else + XBMC_FISHBMC="--disable-fishbmc" +fi + if [ "$JOYSTICK_SUPPORT" = yes ]; then # for Joystick support XBMC_JOYSTICK="--enable-joystick" @@ -339,6 +360,9 @@ PKG_CONFIGURE_OPTS_TARGET="gl_cv_func_gettimeofday_clobber=no \ $XBMC_GOOM \ $XBMC_RSXS \ $XBMC_PROJECTM \ + $XBMC_WAVEFORM \ + $XBMC_SPECTRUM \ + $XBMC_FISHBMC \ $XBMC_XORG \ --disable-ccache \ $XBMC_ALSA \ diff --git a/projects/ARCTIC_MC/options b/projects/ARCTIC_MC/options index e54893383a..4794cede5d 100755 --- a/projects/ARCTIC_MC/options +++ b/projects/ARCTIC_MC/options @@ -142,6 +142,15 @@ # build and install 'GOOM' Visualization (yes / no) XBMC_VIS_GOOM="yes" +# build and install 'Waveform' Visualization (yes / no) + XBMC_VIS_WAVEFORM="yes" + +# build and install 'Spectrum' Visualization (yes / no) + XBMC_VIS_SPECTRUM="yes" + +# build and install 'FishBMC' Visualization (yes / no) + XBMC_VIS_FISHBMC="yes" + # build and install ALSA Audio support (yes / no) ALSA_SUPPORT="yes" diff --git a/projects/ATV/options b/projects/ATV/options index caeba70cf7..604b980ee1 100755 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -142,6 +142,15 @@ # build and install 'GOOM' Visualization (yes / no) XBMC_VIS_GOOM="yes" +# build and install 'Waveform' Visualization (yes / no) + XBMC_VIS_WAVEFORM="yes" + +# build and install 'Spectrum' Visualization (yes / no) + XBMC_VIS_SPECTRUM="yes" + +# build and install 'FishBMC' Visualization (yes / no) + XBMC_VIS_FISHBMC="yes" + # build and install ALSA Audio support (yes / no) ALSA_SUPPORT="yes" diff --git a/projects/Generic/options b/projects/Generic/options index 3ceac576a4..c814b6812c 100755 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -142,6 +142,15 @@ # build and install 'GOOM' Visualization (yes / no) XBMC_VIS_GOOM="yes" +# build and install 'Waveform' Visualization (yes / no) + XBMC_VIS_WAVEFORM="yes" + +# build and install 'Spectrum' Visualization (yes / no) + XBMC_VIS_SPECTRUM="yes" + +# build and install 'FishBMC' Visualization (yes / no) + XBMC_VIS_FISHBMC="yes" + # build and install ALSA Audio support (yes / no) ALSA_SUPPORT="yes" diff --git a/projects/RPi/options b/projects/RPi/options index 36229bfd0e..77b119bb7b 100755 --- a/projects/RPi/options +++ b/projects/RPi/options @@ -142,6 +142,15 @@ # build and install 'GOOM' Visualization (yes / no) XBMC_VIS_GOOM="no" +# build and install 'Waveform' Visualization (yes / no) + XBMC_VIS_WAVEFORM="yes" + +# build and install 'Spectrum' Visualization (yes / no) + XBMC_VIS_SPECTRUM="yes" + +# build and install 'FishBMC' Visualization (yes / no) + XBMC_VIS_FISHBMC="yes" + # build and install ALSA Audio support (yes / no) ALSA_SUPPORT="no" diff --git a/projects/Virtual/options b/projects/Virtual/options index 3d28e4406c..07f47ec3cb 100755 --- a/projects/Virtual/options +++ b/projects/Virtual/options @@ -137,6 +137,15 @@ # build and install 'GOOM' Visualization (yes / no) XBMC_VIS_GOOM="yes" +# build and install 'Waveform' Visualization (yes / no) + XBMC_VIS_WAVEFORM="no" + +# build and install 'Spectrum' Visualization (yes / no) + XBMC_VIS_SPECTRUM="no" + +# build and install 'FishBMC' Visualization (yes / no) + XBMC_VIS_FISHBMC="no" + # build and install ALSA Audio support (yes / no) ALSA_SUPPORT="yes"