xbmc: add option to build with RSXS screensaver support, remove unneeded and disabled screensaver and visualzation addons

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-10-16 04:19:14 +02:00
parent 59aecb4f29
commit 0effee001c
10 changed files with 52 additions and 1 deletions

View File

@ -22,6 +22,12 @@
. config/options $1
if [ "$XBMC_SCR_RSXS" = yes ]; then
XBMC_RSXS="--enable-rsxs"
else
XBMC_RSXS="--disable-rsxs"
fi
if [ "$XBMC_VIS_PROJECTM" = yes ]; then
XBMC_PROJECTM="--enable-xbmcprojectm"
else
@ -144,7 +150,7 @@ do_autoreconf xbmc/lib/libid3tag/libid3tag
--enable-xrandr \
--disable-goom \
$XBMC_PROJECTM \
--disable-rsxs \
$XBMC_RSXS \
--disable-ccache \
$XBMC_PULSEAUDIO \
--enable-ffmpeg-libvorbis \

View File

@ -46,6 +46,18 @@ cd $PKG_BUILD
-exec install -D -m 0644 "{}" $ROOT/$INSTALL/usr/share/xbmc/"{}" ";"
cd -
if [ ! "$XBMC_SCR_RSXS" = yes ]; then
rm -rf $ROOT/$INSTALL/usr/share/xbmc/addons/screensaver.rsxs.*
fi
if [ ! "$XBMC_VIS_PROJECTM" = yes ]; then
rm -rf $ROOT/$INSTALL/usr/share/xbmc/addons/visualization.projectm
fi
rm -rf $ROOT/$INSTALL/usr/share/xbmc/addons/visualization.dxspectrum
rm -rf $ROOT/$INSTALL/usr/share/xbmc/addons/visualization.itunes
rm -rf $ROOT/$INSTALL/usr/share/xbmc/addons/visualization.milkdrop
# overriding Splash image
mkdir -p $INSTALL/usr/share/xbmc/media
rm -rf $INSTALL/usr/share/xbmc/media/Splash.png

View File

@ -0,0 +1,12 @@
diff -Naur xbmc-dab646e/xbmc/screensavers/rsxs-0.9/lib/argp-namefrob.h xbmc-dab646e.patch/xbmc/screensavers/rsxs-0.9/lib/argp-namefrob.h
--- xbmc-dab646e/xbmc/screensavers/rsxs-0.9/lib/argp-namefrob.h 2011-09-27 15:56:19.000000000 +0200
+++ xbmc-dab646e.patch/xbmc/screensavers/rsxs-0.9/lib/argp-namefrob.h 2011-10-16 02:13:13.805433847 +0200
@@ -17,7 +17,7 @@
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
-#if !_LIBC
+#if 0
/* This code is written for inclusion in gnu-libc, and uses names in the
namespace reserved for libc. If we're not compiling in libc, define those
names to be the normal ones instead. */

View File

@ -120,6 +120,9 @@
# e.g. XBMC_PLUGINS="SABnzbd"
XBMC_PLUGINS=""
# build and install 'RSXS' Screensaver (yes / no)
XBMC_SCR_RSXS="no"
# build and install 'ProjectM' Visualization (yes / no)
XBMC_VIS_PROJECTM="yes"

View File

@ -120,6 +120,9 @@
# e.g. XBMC_PLUGINS="SABnzbd"
XBMC_PLUGINS=""
# build and install 'RSXS' Screensaver (yes / no)
XBMC_SCR_RSXS="no"
# build and install 'ProjectM' Visualization (yes / no)
XBMC_VIS_PROJECTM="yes"

View File

@ -120,6 +120,9 @@
# e.g. XBMC_PLUGINS="SABnzbd"
XBMC_PLUGINS=""
# build and install 'RSXS' Screensaver (yes / no)
XBMC_SCR_RSXS="no"
# build and install 'ProjectM' Visualization (yes / no)
XBMC_VIS_PROJECTM="yes"

View File

@ -120,6 +120,9 @@
# e.g. XBMC_PLUGINS="SABnzbd"
XBMC_PLUGINS=""
# build and install 'RSXS' Screensaver (yes / no)
XBMC_SCR_RSXS="no"
# build and install 'ProjectM' Visualization (yes / no)
XBMC_VIS_PROJECTM="yes"

View File

@ -120,6 +120,9 @@
# e.g. XBMC_PLUGINS="SABnzbd"
XBMC_PLUGINS=""
# build and install 'RSXS' Screensaver (yes / no)
XBMC_SCR_RSXS="no"
# build and install 'ProjectM' Visualization (yes / no)
XBMC_VIS_PROJECTM="yes"

View File

@ -120,6 +120,9 @@
# e.g. XBMC_PLUGINS="SABnzbd"
XBMC_PLUGINS=""
# build and install 'RSXS' Screensaver (yes / no)
XBMC_SCR_RSXS="no"
# build and install 'ProjectM' Visualization (yes / no)
XBMC_VIS_PROJECTM="yes"

View File

@ -120,6 +120,9 @@
# e.g. XBMC_PLUGINS="SABnzbd"
XBMC_PLUGINS=""
# build and install 'RSXS' Screensaver (yes / no)
XBMC_SCR_RSXS="no"
# build and install 'ProjectM' Visualization (yes / no)
XBMC_VIS_PROJECTM="yes"