mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
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:
parent
59aecb4f29
commit
0effee001c
@ -22,6 +22,12 @@
|
|||||||
|
|
||||||
. config/options $1
|
. 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
|
if [ "$XBMC_VIS_PROJECTM" = yes ]; then
|
||||||
XBMC_PROJECTM="--enable-xbmcprojectm"
|
XBMC_PROJECTM="--enable-xbmcprojectm"
|
||||||
else
|
else
|
||||||
@ -144,7 +150,7 @@ do_autoreconf xbmc/lib/libid3tag/libid3tag
|
|||||||
--enable-xrandr \
|
--enable-xrandr \
|
||||||
--disable-goom \
|
--disable-goom \
|
||||||
$XBMC_PROJECTM \
|
$XBMC_PROJECTM \
|
||||||
--disable-rsxs \
|
$XBMC_RSXS \
|
||||||
--disable-ccache \
|
--disable-ccache \
|
||||||
$XBMC_PULSEAUDIO \
|
$XBMC_PULSEAUDIO \
|
||||||
--enable-ffmpeg-libvorbis \
|
--enable-ffmpeg-libvorbis \
|
||||||
|
@ -46,6 +46,18 @@ cd $PKG_BUILD
|
|||||||
-exec install -D -m 0644 "{}" $ROOT/$INSTALL/usr/share/xbmc/"{}" ";"
|
-exec install -D -m 0644 "{}" $ROOT/$INSTALL/usr/share/xbmc/"{}" ";"
|
||||||
cd -
|
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
|
# overriding Splash image
|
||||||
mkdir -p $INSTALL/usr/share/xbmc/media
|
mkdir -p $INSTALL/usr/share/xbmc/media
|
||||||
rm -rf $INSTALL/usr/share/xbmc/media/Splash.png
|
rm -rf $INSTALL/usr/share/xbmc/media/Splash.png
|
||||||
|
@ -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. */
|
@ -120,6 +120,9 @@
|
|||||||
# e.g. XBMC_PLUGINS="SABnzbd"
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
||||||
XBMC_PLUGINS=""
|
XBMC_PLUGINS=""
|
||||||
|
|
||||||
|
# build and install 'RSXS' Screensaver (yes / no)
|
||||||
|
XBMC_SCR_RSXS="no"
|
||||||
|
|
||||||
# build and install 'ProjectM' Visualization (yes / no)
|
# build and install 'ProjectM' Visualization (yes / no)
|
||||||
XBMC_VIS_PROJECTM="yes"
|
XBMC_VIS_PROJECTM="yes"
|
||||||
|
|
||||||
|
@ -120,6 +120,9 @@
|
|||||||
# e.g. XBMC_PLUGINS="SABnzbd"
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
||||||
XBMC_PLUGINS=""
|
XBMC_PLUGINS=""
|
||||||
|
|
||||||
|
# build and install 'RSXS' Screensaver (yes / no)
|
||||||
|
XBMC_SCR_RSXS="no"
|
||||||
|
|
||||||
# build and install 'ProjectM' Visualization (yes / no)
|
# build and install 'ProjectM' Visualization (yes / no)
|
||||||
XBMC_VIS_PROJECTM="yes"
|
XBMC_VIS_PROJECTM="yes"
|
||||||
|
|
||||||
|
@ -120,6 +120,9 @@
|
|||||||
# e.g. XBMC_PLUGINS="SABnzbd"
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
||||||
XBMC_PLUGINS=""
|
XBMC_PLUGINS=""
|
||||||
|
|
||||||
|
# build and install 'RSXS' Screensaver (yes / no)
|
||||||
|
XBMC_SCR_RSXS="no"
|
||||||
|
|
||||||
# build and install 'ProjectM' Visualization (yes / no)
|
# build and install 'ProjectM' Visualization (yes / no)
|
||||||
XBMC_VIS_PROJECTM="yes"
|
XBMC_VIS_PROJECTM="yes"
|
||||||
|
|
||||||
|
@ -120,6 +120,9 @@
|
|||||||
# e.g. XBMC_PLUGINS="SABnzbd"
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
||||||
XBMC_PLUGINS=""
|
XBMC_PLUGINS=""
|
||||||
|
|
||||||
|
# build and install 'RSXS' Screensaver (yes / no)
|
||||||
|
XBMC_SCR_RSXS="no"
|
||||||
|
|
||||||
# build and install 'ProjectM' Visualization (yes / no)
|
# build and install 'ProjectM' Visualization (yes / no)
|
||||||
XBMC_VIS_PROJECTM="yes"
|
XBMC_VIS_PROJECTM="yes"
|
||||||
|
|
||||||
|
@ -120,6 +120,9 @@
|
|||||||
# e.g. XBMC_PLUGINS="SABnzbd"
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
||||||
XBMC_PLUGINS=""
|
XBMC_PLUGINS=""
|
||||||
|
|
||||||
|
# build and install 'RSXS' Screensaver (yes / no)
|
||||||
|
XBMC_SCR_RSXS="no"
|
||||||
|
|
||||||
# build and install 'ProjectM' Visualization (yes / no)
|
# build and install 'ProjectM' Visualization (yes / no)
|
||||||
XBMC_VIS_PROJECTM="yes"
|
XBMC_VIS_PROJECTM="yes"
|
||||||
|
|
||||||
|
@ -120,6 +120,9 @@
|
|||||||
# e.g. XBMC_PLUGINS="SABnzbd"
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
||||||
XBMC_PLUGINS=""
|
XBMC_PLUGINS=""
|
||||||
|
|
||||||
|
# build and install 'RSXS' Screensaver (yes / no)
|
||||||
|
XBMC_SCR_RSXS="no"
|
||||||
|
|
||||||
# build and install 'ProjectM' Visualization (yes / no)
|
# build and install 'ProjectM' Visualization (yes / no)
|
||||||
XBMC_VIS_PROJECTM="yes"
|
XBMC_VIS_PROJECTM="yes"
|
||||||
|
|
||||||
|
@ -120,6 +120,9 @@
|
|||||||
# e.g. XBMC_PLUGINS="SABnzbd"
|
# e.g. XBMC_PLUGINS="SABnzbd"
|
||||||
XBMC_PLUGINS=""
|
XBMC_PLUGINS=""
|
||||||
|
|
||||||
|
# build and install 'RSXS' Screensaver (yes / no)
|
||||||
|
XBMC_SCR_RSXS="no"
|
||||||
|
|
||||||
# build and install 'ProjectM' Visualization (yes / no)
|
# build and install 'ProjectM' Visualization (yes / no)
|
||||||
XBMC_VIS_PROJECTM="yes"
|
XBMC_VIS_PROJECTM="yes"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user