xbmc: add support for project specific xbmc configuration, add support for extra font files for subtitle

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-26 11:49:20 +02:00
parent ae26c21fb0
commit 1615603a37
2 changed files with 17 additions and 2 deletions

View File

@ -108,6 +108,14 @@ EOF
</debug> </debug>
EOF EOF
#
# include project specific options
#
if [ -f /usr/share/xbmc/config/guisettings.xml ]; then
cat /usr/share/xbmc/config/guisettings.xml >> $HOME/.xbmc/userdata/guisettings.xml
fi
# #
# common setup for amd and nvidia graphic # common setup for amd and nvidia graphic
# #

View File

@ -74,8 +74,15 @@ mkdir -p $PYTHON_LIBDIR/site-packages/xbmc
mkdir -p $INSTALL/etc/pm/sleep.d mkdir -p $INSTALL/etc/pm/sleep.d
cp $PKG_DIR/sleep.d/* $INSTALL/etc/pm/sleep.d cp $PKG_DIR/sleep.d/* $INSTALL/etc/pm/sleep.d
if [ "$XBMC_ALTERNATE_FONT" = yes ]; then # install project specific configs
cp $PKG_DIR/fonts/cwheib-1.ttf $INSTALL/usr/share/xbmc/media/Fonts/arial.ttf if [ -f $PROJECT_DIR/$PROJECT/xbmc/*.xml ]; then
mkdir -p $INSTALL/usr/share/xbmc/config
cp -R $PROJECT_DIR/$PROJECT/xbmc/* $INSTALL/usr/share/xbmc/config
fi
if [ "$XBMC_EXTRA_FONTS" = yes ]; then
mkdir -p $INSTALL/usr/share/xbmc/media/Fonts
cp $PKG_DIR/fonts/*.ttf $INSTALL/usr/share/xbmc/media/Fonts
fi fi
if [ "$WIIMOTE_SUPPORT" = yes ]; then if [ "$WIIMOTE_SUPPORT" = yes ]; then