mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
xbmc-pvr: sync with xbmc package
This commit is contained in:
parent
7dd6d8661a
commit
bfe6cfe414
@ -46,12 +46,6 @@ else
|
||||
XBMC_DVDCSS="--disable-dvdcss"
|
||||
fi
|
||||
|
||||
if [ "$FAAC_SUPPORT" = yes ]; then
|
||||
XBMC_FAAC="--enable-faac"
|
||||
else
|
||||
XBMC_FAAC="--disable-faac"
|
||||
fi
|
||||
|
||||
if [ "$AVAHI_DAEMON" = yes ]; then
|
||||
XBMC_AVAHI="--enable-avahi"
|
||||
else
|
||||
@ -125,7 +119,7 @@ do_autoreconf xbmc/lib/libid3tag/libid3tag
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
SVN_REV=`cat svn.version` \
|
||||
GIT_REV=`cat git.version` \
|
||||
--disable-debug \
|
||||
--disable-optimizations \
|
||||
--enable-gl \
|
||||
@ -142,7 +136,7 @@ do_autoreconf xbmc/lib/libid3tag/libid3tag
|
||||
--disable-ccache \
|
||||
$XBMC_PULSEAUDIO \
|
||||
--enable-ffmpeg-libvorbis \
|
||||
$XBMC_FAAC \
|
||||
--disable-faac \
|
||||
$XBMC_DVDCSS \
|
||||
--disable-mid \
|
||||
$XBMC_AVAHI \
|
||||
|
@ -3,7 +3,6 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2011-2011 Gregor Fuis (gujs@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -65,13 +64,15 @@ mkdir -p $INSTALL/usr/share/xbmc/addons
|
||||
mkdir -p $PYTHON_LIBDIR/site-packages/xbmc
|
||||
cp -R $PKG_BUILD/tools/EventClients/lib/python/* $PYTHON_LIBDIR/site-packages/xbmc
|
||||
|
||||
# install powermanagement hooks
|
||||
mkdir -p $INSTALL/etc/pm/sleep.d
|
||||
cp $PKG_DIR/sleep.d/* $INSTALL/etc/pm/sleep.d
|
||||
|
||||
if [ "$WIIMOTE_SUPPORT" = yes ]; then
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/EventClients/Clients/WiiRemote/WiiUse_WiiRemote $INSTALL/usr/bin/xbmc-wiiremote
|
||||
mkdir -p $INSTALL/lib/udev
|
||||
cp $PKG_DIR/scripts/wiiremote_helper $INSTALL/lib/udev
|
||||
mkdir -p $INSTALL/lib/udev/rules.d
|
||||
cp $PKG_DIR/rules.d/98-wiiremote.rules $INSTALL/lib/udev/rules.d
|
||||
fi
|
||||
|
||||
if [ "$PS3REMOTE_SUPPORT" = yes ]; then
|
||||
@ -83,6 +84,4 @@ if [ "$PS3REMOTE_SUPPORT" = yes ]; then
|
||||
echo 'ICON_PATH="/usr/share/pixmaps/xbmc/"' > $PYTHON_LIBDIR/site-packages/xbmc/defs.py
|
||||
mkdir -p $INSTALL/lib/udev
|
||||
cp $PKG_DIR/scripts/ps3remote_helper $INSTALL/lib/udev
|
||||
mkdir -p $INSTALL/lib/udev/rules.d
|
||||
cp $PKG_DIR/rules.d/98-ps3remote.rules $INSTALL/lib/udev/rules.d
|
||||
fi
|
||||
|
41
packages/mediacenter/xbmc-pvr/sleep.d/01_update_videodb
Executable file
41
packages/mediacenter/xbmc-pvr/sleep.d/01_update_videodb
Executable file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
|
||||
OPENELEC_SETTINGS="$HOME/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml"
|
||||
|
||||
case "$1" in
|
||||
thaw|resume)
|
||||
(
|
||||
if [ -f "$OPENELEC_SETTINGS" ]; then
|
||||
VIDEODBUPDATE=`grep WAKEUP_VIDEODBUPDATE $OPENELEC_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
|
||||
if [ "$VIDEODBUPDATE" = "true" ]; then
|
||||
usleep 5000000
|
||||
xbmc-send --host=127.0.0.1 -a "UpdateLibrary(video)"
|
||||
fi
|
||||
fi
|
||||
)&
|
||||
;;
|
||||
*) exit $NA
|
||||
;;
|
||||
esac
|
41
packages/mediacenter/xbmc-pvr/sleep.d/02_update_musicdb
Executable file
41
packages/mediacenter/xbmc-pvr/sleep.d/02_update_musicdb
Executable file
@ -0,0 +1,41 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
|
||||
OPENELEC_SETTINGS="$HOME/.xbmc/userdata/addon_data/os.openelec.settings/settings.xml"
|
||||
|
||||
case "$1" in
|
||||
thaw|resume)
|
||||
(
|
||||
if [ -f "$OPENELEC_SETTINGS" ]; then
|
||||
MUSICDBUPDATE=`grep WAKEUP_MUSICDBUPDATE $OPENELEC_SETTINGS | awk '{print $3 }' | sed -e "s,value=,," -e "s,\",,g"`
|
||||
if [ "$MUSICDBUPDATE" = "true" ]; then
|
||||
usleep 5000000
|
||||
xbmc-send --host=127.0.0.1 -a "UpdateLibrary(music)"
|
||||
fi
|
||||
fi
|
||||
)&
|
||||
;;
|
||||
*) exit $NA
|
||||
;;
|
||||
esac
|
34
packages/mediacenter/xbmc-pvr/sleep.d/61xbmc_lirc
Executable file
34
packages/mediacenter/xbmc-pvr/sleep.d/61xbmc_lirc
Executable file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
|
||||
case "$1" in
|
||||
hibernate|suspend)
|
||||
xbmc-send --host=127.0.0.1 -a "LIRC.Stop"
|
||||
;;
|
||||
thaw|resume)
|
||||
xbmc-send --host=127.0.0.1 -a "LIRC.Start"
|
||||
;;
|
||||
*) exit $NA
|
||||
;;
|
||||
esac
|
34
packages/mediacenter/xbmc-pvr/sleep.d/62xbmc-lcd
Executable file
34
packages/mediacenter/xbmc-pvr/sleep.d/62xbmc-lcd
Executable file
@ -0,0 +1,34 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# This Program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2, or (at your option)
|
||||
# any later version.
|
||||
#
|
||||
# This Program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
|
||||
case "$1" in
|
||||
hibernate|suspend)
|
||||
xbmc-send --host=127.0.0.1 -a "LCD.Suspend"
|
||||
;;
|
||||
thaw|resume)
|
||||
xbmc-send --host=127.0.0.1 -a "LCD.Resume"
|
||||
;;
|
||||
*) exit $NA
|
||||
;;
|
||||
esac
|
Loading…
x
Reference in New Issue
Block a user