mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc/xbmc-pvr: merge both packages to share the same codebase
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7225370cd6
commit
69de24082d
@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
mkdir -p $INSTALL/usr/share/xbmc/addons/skin.confluence
|
||||
cp -R $PKG_BUILD/* $INSTALL/usr/share/xbmc/addons/skin.confluence
|
@ -1,36 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-pvr-theme-Confluence"
|
||||
PKG_VERSION="11.0.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.xbmc.org"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="mediacenter"
|
||||
PKG_SHORTDESC="xbmc-theme-Confluence: XBMC Mediacenter default theme"
|
||||
PKG_LONGDESC="XBMC Media Center (which was formerly named Xbox Media Center) is a free and open source cross-platform media player and home entertainment system software with a 10-foot user interface designed for the living-room TV. Its graphical user interface allows the user to easily manage video, photos, podcasts, and music from a computer, optical disk, local network, and the internet using a remote control."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
echo "### Applying project based patches ###"
|
||||
|
||||
for patch in `ls $PROJECT_DIR/$PROJECT/patches/$1`; do
|
||||
cat $PROJECT_DIR/$PROJECT/patches/$1/$patch | patch -d \
|
||||
`echo $PKG_BUILD | cut -f1 -d\ ` -p1
|
||||
done
|
@ -1,267 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
XBMC_XORG="--enable-x11 --enable-xrandr"
|
||||
else
|
||||
XBMC_XORG="--disable-x11 --disable-xrandr"
|
||||
fi
|
||||
|
||||
if [ "$OPENGL_SUPPORT" = yes ]; then
|
||||
XBMC_OPENGL="--enable-gl"
|
||||
else
|
||||
XBMC_OPENGL="--disable-gl"
|
||||
fi
|
||||
|
||||
if [ "$OPENGLES_SUPPORT" = yes ]; then
|
||||
XBMC_OPENGLES="--enable-gles"
|
||||
else
|
||||
XBMC_OPENGLES="--disable-gles"
|
||||
fi
|
||||
|
||||
if [ "$XBMC_SCR_RSXS" = yes ]; then
|
||||
XBMC_RSXS="--enable-rsxs"
|
||||
# fix build of RSXS Screensaver support if not using libiconv
|
||||
if [ ! "$ICONV" = "libiconv" ]; then
|
||||
export jm_cv_func_gettimeofday_clobber=no
|
||||
fi
|
||||
else
|
||||
XBMC_RSXS="--disable-rsxs"
|
||||
fi
|
||||
|
||||
if [ "$XBMC_VIS_PROJECTM" = yes ]; then
|
||||
XBMC_PROJECTM="--enable-projectm"
|
||||
else
|
||||
XBMC_PROJECTM="--disable-projectm"
|
||||
fi
|
||||
|
||||
if [ "$XBMC_VIS_GOOM" = yes ]; then
|
||||
XBMC_GOOM="--enable-goom"
|
||||
else
|
||||
XBMC_GOOM="--disable-goom"
|
||||
fi
|
||||
|
||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||
XBMC_PULSEAUDIO="--enable-pulse"
|
||||
else
|
||||
XBMC_PULSEAUDIO="--disable-pulse"
|
||||
fi
|
||||
|
||||
if [ "$CEC_SUPPORT" = yes ]; then
|
||||
XBMC_CEC="--enable-libcec --enable-external-libcec --enable-udev --disable-libusb"
|
||||
else
|
||||
XBMC_CEC="--disable-libcec --disable-udev --disable-libusb"
|
||||
fi
|
||||
|
||||
if [ "$JOYSTICK_SUPPORT" = yes ]; then
|
||||
XBMC_JOYSTICK="--enable-joystick"
|
||||
else
|
||||
XBMC_JOYSTICK="--disable-joystick"
|
||||
fi
|
||||
|
||||
if [ "$NONFREE_SUPPORT" = yes ]; then
|
||||
XBMC_NONFREE="--enable-non-free"
|
||||
else
|
||||
XBMC_NONFREE="--disable-non-free"
|
||||
fi
|
||||
|
||||
if [ "$AIRPLAY_SUPPORT" = yes ]; then
|
||||
XBMC_AIRPLAY="--enable-airplay"
|
||||
else
|
||||
XBMC_AIRPLAY="--disable-airplay"
|
||||
fi
|
||||
|
||||
if [ "$AIRTUNES_SUPPORT" = yes ]; then
|
||||
XBMC_AIRTUNES="--enable-airtunes"
|
||||
else
|
||||
XBMC_AIRTUNES="--disable-airtunes"
|
||||
fi
|
||||
|
||||
if [ "$DVDCSS_SUPPORT" = yes ]; then
|
||||
XBMC_DVDCSS="--enable-dvdcss"
|
||||
else
|
||||
XBMC_DVDCSS="--disable-dvdcss"
|
||||
fi
|
||||
|
||||
if [ "$BLURAY_SUPPORT" = yes ]; then
|
||||
XBMC_BLURAY="--enable-libbluray"
|
||||
else
|
||||
XBMC_BLURAY="--disable-libbluray"
|
||||
fi
|
||||
|
||||
if [ "$AVAHI_DAEMON" = yes ]; then
|
||||
XBMC_AVAHI="--enable-avahi"
|
||||
else
|
||||
XBMC_AVAHI="--disable-avahi"
|
||||
fi
|
||||
|
||||
if [ "$NFS_SUPPORT" = yes ]; then
|
||||
XBMC_NFS="--enable-nfs"
|
||||
else
|
||||
XBMC_NFS="--disable-nfs"
|
||||
fi
|
||||
|
||||
if [ "$AFP_SUPPORT" = yes ]; then
|
||||
XBMC_AFP="--enable-afpclient"
|
||||
else
|
||||
XBMC_AFP="--disable-afpclient"
|
||||
fi
|
||||
|
||||
if [ "$SAMBA_CLIENT" = yes ]; then
|
||||
XBMC_SAMBA="--enable-samba"
|
||||
export LIBS="$LIBS -ltalloc -ltdb -lwbclient"
|
||||
else
|
||||
XBMC_SAMBA="--disable-samba"
|
||||
fi
|
||||
|
||||
if [ "$WEBSERVER" = yes ]; then
|
||||
XBMC_WEBSERVER="--enable-webserver"
|
||||
else
|
||||
XBMC_WEBSERVER="--disable-webserver"
|
||||
fi
|
||||
|
||||
if [ "$VDPAU" = yes ]; then
|
||||
XBMC_VDPAU="--enable-vdpau"
|
||||
else
|
||||
XBMC_VDPAU="--disable-vdpau"
|
||||
fi
|
||||
|
||||
if [ "$VAAPI" = yes ]; then
|
||||
XBMC_VAAPI="--enable-vaapi"
|
||||
else
|
||||
XBMC_VAAPI="--disable-vaapi"
|
||||
fi
|
||||
|
||||
if [ "$XVBA" = yes ]; then
|
||||
XBMC_XVBA="--enable-xvba"
|
||||
else
|
||||
XBMC_XVBA="--disable-xvba"
|
||||
fi
|
||||
|
||||
if [ "$CRYSTALHD" = yes ]; then
|
||||
XBMC_CRYSTALHD="--enable-crystalhd"
|
||||
else
|
||||
XBMC_CRYSTALHD="--disable-crystalhd"
|
||||
fi
|
||||
|
||||
# xbmc (ffmpeg) fails to build with LTO optimization
|
||||
strip_lto
|
||||
|
||||
# dont use some optimizations because of problems
|
||||
# this fixes problems with faac implementation of ffmpeg
|
||||
LDFLAGS=`echo $LDFLAGS | sed -e "s|-Wl,--as-needed||"`
|
||||
|
||||
export PYTHON_VERSION="2.7"
|
||||
export PYTHON_CPPFLAGS="-I$SYSROOT_PREFIX/usr/include/python$PYTHON_VERSION"
|
||||
export PYTHON_LDFLAGS="-L$SYSROOT_PREFIX/usr/lib/python$PYTHON_VERSION -lpython$PYTHON_VERSION"
|
||||
export PYTHON_SITE_PKG="$SYSROOT_PREFIX/usr/lib/python$PYTHON_VERSION/site-packages"
|
||||
export ac_python_version="$PYTHON_VERSION"
|
||||
|
||||
# setup skin dir from default skin
|
||||
SKIN_DIR="skin.`tolower $SKIN_DEFAULT`"
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
# adding fake Makefile for stripped skin
|
||||
mkdir -p addons/skin.confluence/media
|
||||
touch addons/skin.confluence/media/Makefile.in
|
||||
|
||||
# autoreconf
|
||||
do_autoreconf
|
||||
do_autoreconf lib/libid3tag/libid3tag
|
||||
do_autoreconf xbmc/screensavers/rsxs-0.9
|
||||
do_autoreconf xbmc/visualizations/Goom/goom2k4-0
|
||||
do_autoreconf lib/libapetag
|
||||
do_autoreconf lib/cpluff
|
||||
# order matters with libdvd and friends
|
||||
[ -d lib/libdvd/libdvdcss ] && do_autoreconf lib/libdvd/libdvdcss
|
||||
do_autoreconf lib/libdvd/libdvdread
|
||||
do_autoreconf lib/libdvd/libdvdnav
|
||||
|
||||
# Clean the generated files
|
||||
find . -depth -type d -name "autom4te.cache" -exec rm -rf {} \;
|
||||
|
||||
# hack: make codec_names.sh executable
|
||||
chmod +x lib/ffmpeg/libavcodec/codec_names.sh
|
||||
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--with-arch=$TARGET_ARCH \
|
||||
--with-cpu=$TARGET_CPU \
|
||||
--prefix=/usr \
|
||||
--exec-prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--datadir=/usr/share \
|
||||
GIT_REV=`cat git.version` \
|
||||
--disable-debug \
|
||||
--disable-optimizations \
|
||||
$XBMC_OPENGL \
|
||||
$XBMC_OPENGLES \
|
||||
$XBMC_VDPAU \
|
||||
$XBMC_VAAPI \
|
||||
$XBMC_CRYSTALHD \
|
||||
$XBMC_XVBA \
|
||||
--disable-vdadecoder \
|
||||
--disable-vtbdecoder \
|
||||
--disable-openmax \
|
||||
--disable-tegra \
|
||||
--disable-profiling \
|
||||
$XBMC_JOYSTICK \
|
||||
$XBMC_CEC \
|
||||
$XBMC_GOOM \
|
||||
$XBMC_RSXS \
|
||||
$XBMC_PROJECTM \
|
||||
$XBMC_XORG \
|
||||
--disable-ccache \
|
||||
$XBMC_PULSEAUDIO \
|
||||
--enable-rtmp \
|
||||
$XBMC_SAMBA \
|
||||
$XBMC_NFS \
|
||||
$XBMC_AFP \
|
||||
--enable-ffmpeg-libvorbis \
|
||||
--enable-lame \
|
||||
$XBMC_DVDCSS \
|
||||
--disable-mid \
|
||||
--disable-hal \
|
||||
$XBMC_AVAHI \
|
||||
$XBMC_AIRPLAY \
|
||||
$XBMC_AIRTUNES \
|
||||
$XBMC_NONFREE \
|
||||
--disable-asap-codec \
|
||||
$XBMC_WEBSERVER \
|
||||
--enable-optical-drive \
|
||||
$XBMC_BLURAY \
|
||||
--enable-texturepacker \
|
||||
--disable-external-libraries \
|
||||
--disable-external-ffmpeg \
|
||||
|
||||
# setup default skin inside the sources
|
||||
sed -i -e "s|skin.confluence|$SKIN_DIR|g" xbmc/settings/Settings.h
|
||||
|
||||
make externals
|
||||
make xbmc.bin
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
make xbmc-xrandr
|
||||
fi
|
@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<advancedsettings>
|
||||
<splash>false</splash>
|
||||
<showexitbutton>false</showexitbutton>
|
||||
<cputempcommand>cputemp</cputempcommand>
|
||||
<gputempcommand>gputemp</gputempcommand>
|
||||
<samba>
|
||||
<clienttimeout>30</clienttimeout>
|
||||
</samba>
|
||||
</advancedsettings>
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<addon id="os.openelec.tv" version="@OS_VERSION@" provider-name="OpenELEC.tv">
|
||||
<requires>
|
||||
<import addon="xbmc.addon" version="1.0"/>
|
||||
</requires>
|
||||
</addon>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<addon id="repository.openelec.tv"
|
||||
name="[COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] Mediacenter OS Add-ons"
|
||||
version="2.1.0"
|
||||
provider-name="Team [COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR]">
|
||||
<extension point="xbmc.addon.repository"
|
||||
name="Official OpenELEC.tv Add-on Repository">
|
||||
<info>@ADDON_URL@/addons.xml</info>
|
||||
<checksum>@ADDON_URL@/addons.xml.md5</checksum>
|
||||
<datadir zip="true">@ADDON_URL@</datadir>
|
||||
</extension>
|
||||
<extension point="xbmc.addon.metadata">
|
||||
<summary>Install Add-ons, Plugins, Games and Programs from [COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR]</summary>
|
||||
<description>Download and install Add-ons, Plugins, Games and Programs from the Official [COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] addon repository.[CR] By using the official Repository you will be able to take advantage of our extensive file mirror service to help get you faster downloads from a region close to you.[CR] All addons on this repository have under gone basic testing, if you find a broken or not working addon please report it to [COLOR FF757677]Open[/COLOR][COLOR FF8ABEE2]ELEC[/COLOR] so we can take any action needed.</description>
|
||||
<platform>all</platform>
|
||||
</extension>
|
||||
</addon>
|
Binary file not shown.
Before Width: | Height: | Size: 45 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,27 +0,0 @@
|
||||
################################################################################
|
||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||
# http://www.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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
# starting XBMC
|
||||
#
|
||||
# runlevels: openelec
|
||||
|
||||
progress "clean up log files"
|
||||
rm -f /storage/.xbmc/userdata/addon_data/*/*.log 2>/dev/null
|
||||
rm -rf /storage/.xbmc/userdata/addon_data/*/log/* 2>/dev/null
|
@ -1,123 +0,0 @@
|
||||
################################################################################
|
||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||
# http://www.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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
# setup XBMC
|
||||
#
|
||||
# runlevels: openelec
|
||||
|
||||
progress "setup XBMC"
|
||||
|
||||
#
|
||||
# clean temp dir
|
||||
#
|
||||
rm -rf $HOME/.xbmc/temp/*
|
||||
|
||||
#
|
||||
# add some default settings
|
||||
#
|
||||
mkdir -p $HOME/.xbmc/userdata
|
||||
|
||||
#
|
||||
# setup directories for XBMC sources
|
||||
#
|
||||
|
||||
[ ! -d "$HOME/music" ] && mkdir -p $HOME/music
|
||||
[ ! -d "$HOME/pictures" ] && mkdir -p $HOME/pictures
|
||||
[ ! -d "$HOME/tvshows" ] && mkdir -p $HOME/tvshows
|
||||
[ ! -d "$HOME/videos" ] && mkdir -p $HOME/videos
|
||||
|
||||
mkdir -p $HOME/.xbmc/userdata
|
||||
|
||||
if [ ! -f $HOME/.xbmc/userdata/sources.xml ]; then
|
||||
if [ -f /usr/share/xbmc/config/sources.xml ]; then
|
||||
# include project specific sources
|
||||
cp /usr/share/xbmc/config/sources.xml $HOME/.xbmc/userdata
|
||||
else
|
||||
cat > $HOME/.xbmc/userdata/sources.xml << EOF
|
||||
<sources>
|
||||
<video>
|
||||
<default pathversion="1"></default>
|
||||
<source>
|
||||
<name>Videos</name>
|
||||
<path pathversion="1">$HOME/videos/</path>
|
||||
</source>
|
||||
<source>
|
||||
<name>TV Shows</name>
|
||||
<path pathversion="1">$HOME/tvshows/</path>
|
||||
</source>
|
||||
</video>
|
||||
<music>
|
||||
<default pathversion="1"></default>
|
||||
<source>
|
||||
<name>Music</name>
|
||||
<path pathversion="1">$HOME/music/</path>
|
||||
</source>
|
||||
</music>
|
||||
<pictures>
|
||||
<default pathversion="1"></default>
|
||||
<source>
|
||||
<name>Pictures</name>
|
||||
<path pathversion="1">$HOME/pictures/</path>
|
||||
</source>
|
||||
</pictures>
|
||||
</sources>
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# common setup guisettings
|
||||
#
|
||||
|
||||
mkdir -p $HOME/.xbmc/userdata
|
||||
|
||||
[ ! -d "$HOME/screenshots" ] && mkdir -p $HOME/screenshots
|
||||
|
||||
if [ ! -f $HOME/.xbmc/userdata/guisettings.xml ] ; then
|
||||
echo "<settings>" > $HOME/.xbmc/userdata/guisettings.xml
|
||||
|
||||
cat >> $HOME/.xbmc/userdata/guisettings.xml << EOF
|
||||
<debug>
|
||||
<screenshotpath pathversion="1">$HOME/screenshots/</screenshotpath>
|
||||
</debug>
|
||||
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
|
||||
#
|
||||
|
||||
# Always sync to vblank
|
||||
if [ "$GPUTYPE" = "NVIDIA" -o "$GPUTYPE" = "AMD" ] ; then
|
||||
cat >> $HOME/.xbmc/userdata/guisettings.xml << EOF
|
||||
<videoscreen>
|
||||
<vsync>2</vsync>
|
||||
</videoscreen>
|
||||
EOF
|
||||
fi
|
||||
echo "</settings>" >> $HOME/.xbmc/userdata/guisettings.xml
|
||||
fi
|
@ -1,116 +0,0 @@
|
||||
################################################################################
|
||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||
# http://www.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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
# starting XBMC
|
||||
#
|
||||
# runlevels: openelec
|
||||
|
||||
LIRCDEV="/var/run/lirc/lircd"
|
||||
[ -e /var/run/lirc/lircd.irtrans ] && LIRCDEV="/var/run/lirc/lircd.irtrans"
|
||||
XBMC_ARGS="--standalone -fs --lircdev $LIRCDEV"
|
||||
|
||||
progress "starting XBMC"
|
||||
|
||||
# hack for Boxee Remote
|
||||
if grep -q "Vendor=0471 Product=20d9" /proc/bus/input/devices; then
|
||||
export SDL_MOUSE_RELATIVE=0
|
||||
fi
|
||||
|
||||
# hack: make addon-bins executable
|
||||
chmod +x /storage/.xbmc/addons/*/bin/* > /dev/null 2>&1
|
||||
|
||||
# hack to support user installed fonts
|
||||
SUBFONTS="/storage/.xbmc/userdata/fonts"
|
||||
if [ -d "$SUBFONTS" ]; then
|
||||
files=$(ls $SUBFONTS/*.[tT][tT][fF] 2>/dev/null | wc -l)
|
||||
if [ "$files" = "0" ]; then
|
||||
cp /usr/share/xbmc/media/Fonts/*.[tT][tT][fF] $SUBFONTS/
|
||||
fi
|
||||
mount --bind $SUBFONTS /usr/share/xbmc/media/Fonts/
|
||||
fi
|
||||
|
||||
# starting autostart script (will be removed later again, dont use it!!!)
|
||||
AUTOSTART="/storage/.config/autostart.sh"
|
||||
if [ -f $AUTOSTART ]; then
|
||||
echo "!!! AUTOSTART script detected !!!" >> /var/log/messages
|
||||
cat "$AUTOSTART" >> /var/log/messages
|
||||
echo "!!! -End of autostart script- !!!" >> /var/log/messages
|
||||
|
||||
sh $AUTOSTART
|
||||
fi
|
||||
|
||||
# starting autoupdate
|
||||
[ -f /usr/bin/autoupdate ] && /usr/bin/autoupdate &
|
||||
|
||||
# waiting for Xorg to start
|
||||
wait_for_xorg
|
||||
|
||||
# set cpu's to 'conservative'
|
||||
( usleep 15000000
|
||||
progress "set cpu's to 'conservative'"
|
||||
cpupower frequency-set -g conservative > /dev/null 2>&1
|
||||
)&
|
||||
|
||||
# prevent restrating XBMC at reboot or shutdown
|
||||
LOCKDIR="/var/lock/"
|
||||
LOCKFILE="xbmc.disabled"
|
||||
[ -f "$LOCKDIR/$LOCKFILE" ] && rm -f "$LOCKDIR/$LOCKFILE" &
|
||||
|
||||
# starting XBMC
|
||||
usleep $XBMC_STARTDELAY
|
||||
while true; do
|
||||
|
||||
while [ -f "$LOCKDIR/$LOCKFILE" ]; do
|
||||
usleep 250000
|
||||
done
|
||||
|
||||
DISPLAY=:0.0 /usr/lib/xbmc/xbmc.bin $XBMC_ARGS > /dev/null 2>&1
|
||||
RET=$?
|
||||
|
||||
case "$RET" in
|
||||
0)
|
||||
if [ ! $(pidof console-kit-daemon) ]; then
|
||||
touch "$LOCKDIR/$LOCKFILE"
|
||||
poweroff -f
|
||||
fi
|
||||
;;
|
||||
64)
|
||||
if [ ! $(pidof console-kit-daemon) ]; then
|
||||
touch "$LOCKDIR/$LOCKFILE"
|
||||
poweroff -f
|
||||
fi
|
||||
;;
|
||||
66)
|
||||
if [ ! $(pidof console-kit-daemon) ]; then
|
||||
touch "$LOCKDIR/$LOCKFILE"
|
||||
reboot
|
||||
fi
|
||||
;;
|
||||
255)
|
||||
echo "Abnormal Exit. Exited with code $RET"
|
||||
echo "is Xorg running? check /var/log/Xorg.log"
|
||||
;;
|
||||
*)
|
||||
echo "Abnormal Exit. Exited with code $RET"
|
||||
;;
|
||||
esac
|
||||
|
||||
usleep 250000
|
||||
done
|
@ -1,112 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
PYTHON_LIBDIR="`ls -d $INSTALL/usr/lib/python*`"
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/cputemp $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/gputemp $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/wait_on_xbmc_exit $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/setwakeup.sh $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/EventClients/Clients/XBMC\ Send/xbmc-send.py $INSTALL/usr/bin/xbmc-send
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/xbmc
|
||||
cp $PKG_BUILD/xbmc.bin $INSTALL/usr/lib/xbmc
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
cp $PKG_BUILD/xbmc-xrandr $INSTALL/usr/lib/xbmc
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
find system addons \
|
||||
-regextype posix-extended -type f \
|
||||
-not -iregex ".*svn.*|.*win32(dx)?\.vis|.*osx\.vis" \
|
||||
-iregex ".*-linux.*|.*\.vis|.*\.xbs" \
|
||||
-exec install -D "{}" $ROOT/$INSTALL/usr/lib/xbmc/"{}" ";"
|
||||
|
||||
find addons language media sounds userdata system \
|
||||
-regextype posix-extended -type f \
|
||||
-not -iregex ".*-linux.*|.*\.vis|.*\.xbs|.*svn.*|.*\.orig|.*\.so|.*\.dll|.*\.pyd|.*python/.*\.zlib" \
|
||||
-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
|
||||
# if [ -f $PROJECT_DIR/$PROJECT/splash/splash.png ]; then
|
||||
# cp $PROJECT_DIR/$PROJECT/splash/splash.png $INSTALL/usr/share/xbmc/media/Splash.png
|
||||
# else
|
||||
# cp $PKG_DIR/splash/splash.png $INSTALL/usr/share/xbmc/media/Splash.png
|
||||
# fi
|
||||
|
||||
# cleanup and python addon fixes
|
||||
rm -rf $INSTALL/usr/share/xbmc/addons/script.module.pil
|
||||
rm -rf $INSTALL/usr/share/xbmc/addons/script.module.pysqlite
|
||||
rm -rf $INSTALL/usr/share/xbmc/addons/script.module.simplejson
|
||||
|
||||
mkdir -p $INSTALL/usr/share/xbmc/addons
|
||||
cp -R $PKG_DIR/config/os.openelec.tv $INSTALL/usr/share/xbmc/addons
|
||||
$SED "s|@OS_VERSION@|$OS_VERSION|g" -i $INSTALL/usr/share/xbmc/addons/os.openelec.tv/addon.xml
|
||||
cp -R $PKG_DIR/config/repository.openelec.tv $INSTALL/usr/share/xbmc/addons
|
||||
$SED "s|@ADDON_URL@|$ADDON_URL|g" -i $INSTALL/usr/share/xbmc/addons/repository.openelec.tv/addon.xml
|
||||
|
||||
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
|
||||
|
||||
# install project specific configs
|
||||
mkdir -p $INSTALL/usr/share/xbmc/config
|
||||
if [ -f $PROJECT_DIR/$PROJECT/xbmc/guisettings.xml ]; then
|
||||
cp -R $PROJECT_DIR/$PROJECT/xbmc/guisettings.xml $INSTALL/usr/share/xbmc/config
|
||||
fi
|
||||
|
||||
if [ -f $PROJECT_DIR/$PROJECT/xbmc/sources.xml ]; then
|
||||
cp -R $PROJECT_DIR/$PROJECT/xbmc/sources.xml $INSTALL/usr/share/xbmc/config
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALL/usr/share/xbmc/system/
|
||||
if [ -f $PROJECT_DIR/$PROJECT/xbmc/advancedsettings.xml ]; then
|
||||
cp $PROJECT_DIR/$PROJECT/xbmc/advancedsettings.xml $INSTALL/usr/share/xbmc/system/
|
||||
else
|
||||
cp $PKG_DIR/config/advancedsettings.xml $INSTALL/usr/share/xbmc/system/
|
||||
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
|
@ -1,145 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-pvr"
|
||||
PKG_VERSION="11.0.1"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.xbmc.org"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS="boost Python zlib bzip2 pcre alsa-lib libass curl libssh rtmpdump fontconfig libmad libogg libvorbis libmodplug faad2 flac lame libmpeg2 SDL SDL_mixer SDL_image yajl alsa bc xbmc-addon-settings xbmc-addon-xvdr xbmc-addon-vuplus"
|
||||
PKG_BUILD_DEPENDS="toolchain boost Python zlib bzip2 lzo pcre alsa-lib libass enca curl libssh rtmpdump fontconfig fribidi libjpeg-turbo libpng tiff freetype jasper libmad libsamplerate libogg libvorbis libcdio libmodplug faad2 flac lame libmpeg2 SDL SDL_mixer SDL_image yajl sqlite mysql"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="mediacenter"
|
||||
PKG_SHORTDESC="xbmc: XBMC Mediacenter"
|
||||
PKG_LONGDESC="XBMC Media Center (which was formerly named Xbox Media Center) is a free and open source cross-platform media player and home entertainment system software with a 10-foot user interface designed for the living-room TV. Its graphical user interface allows the user to easily manage video, photos, podcasts, and music from a computer, optical disk, local network, and the internet using a remote control."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="no"
|
||||
|
||||
if [ "$XORG_SUPPORT" = yes ]; then
|
||||
# for libX11 support
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libX11 libXext"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libX11 libXext"
|
||||
|
||||
# for libXrandr support
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libXrandr"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libXrandr"
|
||||
fi
|
||||
|
||||
if [ "$OPENGL_SUPPORT" = yes ]; then
|
||||
# for OpenGL (GLX) support
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS $OPENGL glew"
|
||||
PKG_DEPENDS="$PKG_DEPENDS $OPENGL glew"
|
||||
fi
|
||||
|
||||
if [ "$OPENGLES_SUPPORT" = yes ]; then
|
||||
# for OpenGL-ES support
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS $OPENGLES"
|
||||
PKG_DEPENDS="$PKG_DEPENDS $OPENGLES"
|
||||
fi
|
||||
|
||||
# for dbus support
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS dbus"
|
||||
PKG_DEPENDS="$PKG_DEPENDS dbus"
|
||||
|
||||
if [ "$PULSEAUDIO_SUPPORT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS pulseaudio"
|
||||
PKG_DEPENDS="$PKG_DEPENDS pulseaudio"
|
||||
fi
|
||||
|
||||
if [ "$CEC_SUPPORT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libcec"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libcec"
|
||||
fi
|
||||
|
||||
if [ "$XBMC_SCR_RSXS" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libXt libXmu"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libXt libXmu"
|
||||
fi
|
||||
|
||||
if [ "$FAAC_SUPPORT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS faac"
|
||||
PKG_DEPENDS="$PKG_DEPENDS faac"
|
||||
fi
|
||||
|
||||
if [ "$BLURAY_SUPPORT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libbluray"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libbluray"
|
||||
fi
|
||||
|
||||
if [ "$AVAHI_DAEMON" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS avahi"
|
||||
PKG_DEPENDS="$PKG_DEPENDS avahi"
|
||||
fi
|
||||
|
||||
if [ "$AIRPLAY_SUPPORT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libplist"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libplist"
|
||||
fi
|
||||
|
||||
if [ "$AIRTUNES_SUPPORT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libshairport"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libshairport"
|
||||
fi
|
||||
|
||||
if [ "$NFS_SUPPORT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libnfs"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libnfs"
|
||||
fi
|
||||
|
||||
if [ "$AFP_SUPPORT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS afpfs-ng"
|
||||
PKG_DEPENDS="$PKG_DEPENDS afpfs-ng"
|
||||
fi
|
||||
|
||||
if [ "$SAMBA_CLIENT" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS samba"
|
||||
PKG_DEPENDS="$PKG_DEPENDS samba"
|
||||
fi
|
||||
|
||||
if [ "$WEBSERVER" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libmicrohttpd"
|
||||
fi
|
||||
|
||||
if [ "$VDPAU" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libvdpau"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libvdpau"
|
||||
fi
|
||||
|
||||
if [ "$VAAPI" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS libva"
|
||||
PKG_DEPENDS="$PKG_DEPENDS libva"
|
||||
fi
|
||||
|
||||
if [ "$CRYSTALHD" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS crystalhd"
|
||||
PKG_DEPENDS="$PKG_DEPENDS crystalhd"
|
||||
fi
|
||||
|
||||
if [ "$XVBA" = yes ]; then
|
||||
PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS xf86-video-fglrx"
|
||||
fi
|
||||
|
||||
# some python stuff needed for various addons
|
||||
PKG_DEPENDS="$PKG_DEPENDS Imaging"
|
||||
PKG_DEPENDS="$PKG_DEPENDS simplejson"
|
||||
|
@ -1,26 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
|
||||
for i in `ls xbmc-*.patch`; do
|
||||
mv $i `echo $i | sed "s,$1,$2,g"`
|
||||
done
|
@ -1,41 +0,0 @@
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
||||
# Copyright (C) 2010-2011 Roman Weber (roman@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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
# Mediacenter environment variables.
|
||||
#
|
||||
# This file contains non-OpenELEC evironment variables as well as OpenELEC
|
||||
# evironment variables that are not user defined.
|
||||
################################################################################
|
||||
|
||||
if [ -z "$XBMC_STARTDELAY" ]; then
|
||||
XBMC_STARTDELAY="1000000"
|
||||
fi
|
||||
|
||||
XBMC_HOME="/usr/share/xbmc"
|
||||
|
||||
export XBMC_HOME
|
||||
|
||||
GPUDEVICE=$(lspci -n | grep 0300)
|
||||
GPUTYPE="OTHER"
|
||||
[ "$(echo $GPUDEVICE | grep 8086)" ] && GPUTYPE="INTEL" # 8086 == INTEL
|
||||
[ "$(echo $GPUDEVICE | grep 10de)" ] && GPUTYPE="NVIDIA" # 10de == NVIDIA
|
||||
[ "$(echo $GPUDEVICE | grep 1002)" ] && GPUTYPE="AMD" # 1002 == AMD
|
||||
|
||||
export GPUTYPE
|
@ -1,51 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
# inspired by
|
||||
# https://github.com/xtranophilist/gnome-shell-extension-cpu-temperature/blob/master/extension.js
|
||||
|
||||
TEMP=0
|
||||
|
||||
if [ -f /sys/devices/platform/coretemp.0/temp1_input ]; then
|
||||
# used with coretemp
|
||||
TEMP=`cat /sys/devices/platform/coretemp.0/temp1_input`
|
||||
elif [ -f /sys/devices/platform/coretemp.0/temp2_input ]; then
|
||||
# used with coretemp
|
||||
TEMP=`cat /sys/devices/platform/coretemp.0/temp2_input`
|
||||
elif [ -f /sys/bus/acpi/devices/LNXTHERM\:00/thermal_zone/temp ]; then
|
||||
# used on some intel systems
|
||||
TEMP=`cat /sys/bus/acpi/devices/LNXTHERM\:00/thermal_zone/temp`
|
||||
elif [ -f /sys/devices/virtual/thermal/thermal_zone0/temp ]; then
|
||||
# used on some intel systems
|
||||
TEMP=`cat /sys/devices/virtual/thermal/thermal_zone0/temp`
|
||||
elif [ -f /sys/class/hwmon/hwmon0/temp1_input ]; then
|
||||
# hwmon for new 2.6.39, 3.0 linux kernels
|
||||
TEMP=`cat /sys/class/hwmon/hwmon0/temp1_input`
|
||||
elif [ -f /sys/class/hwmon/hwmon0/device/temp1_input ]; then
|
||||
# used on AMD systems
|
||||
TEMP=`cat /sys/class/hwmon/hwmon0/device/temp1_input`
|
||||
elif [ -f /sys/class/hwmon/hwmon0/device/temp2_input ]; then
|
||||
# used on ION systems
|
||||
TEMP=`cat /sys/class/hwmon/hwmon0/device/temp2_input`
|
||||
fi
|
||||
|
||||
echo "$(( $TEMP / 1000 )) C"
|
@ -1,38 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||
# http://www.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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
TEMP="0"
|
||||
|
||||
if lspci -n | grep 0300 | grep -q 10de; then
|
||||
[ -f /usr/bin/nvidia-smi ] && TEMP=`/usr/bin/nvidia-smi -q -x | grep 'gpu_temp' | awk '{ print $1 }' | sed 's,<gpu_temp>,,g'`
|
||||
fi
|
||||
|
||||
if lspci -n | grep 0300 | grep -q 1002; then
|
||||
if [ -f /storage/.config/xorg.conf ]; then
|
||||
XORG="/storage/.config/xorg.conf"
|
||||
else
|
||||
XORG="/etc/X11/xorg-fglrx.conf"
|
||||
fi
|
||||
[ -f /usr/bin/aticonfig ] && TEMP=`/usr/bin/aticonfig -i $XORG --od-gettemperature | grep Temperature | cut -f 2 -d "-" | cut -f 1 -d "." | sed -e "s, ,,"`
|
||||
fi
|
||||
|
||||
echo "${TEMP} C"
|
@ -1,29 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# Copyright (C) 2009-2010 OpenELEC.tv
|
||||
# http://www.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
|
||||
################################################################################
|
||||
|
||||
count=0
|
||||
|
||||
while [ $(pidof xbmc.bin) -a $count -le 20 ]; do
|
||||
usleep 250000
|
||||
logger -t wait_on_xbmc_exit "### Waiting for XBMC to Exit - $count ###"
|
||||
count=$((count+1))
|
||||
done
|
@ -1,28 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
|
||||
for script in $HOME/.xbmc/addons/*/sleep.d/*.power; do
|
||||
progress "running addon sleep script $script ($1)..."
|
||||
sh $script $1
|
||||
done
|
@ -1,34 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, 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
|
@ -1,34 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, 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
|
@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. /etc/profile
|
||||
|
||||
case "$1" in
|
||||
thaw|resume)
|
||||
xbmc-send --host=127.0.0.1 -a "ReloadSkin()" &
|
||||
;;
|
||||
*) exit $NA
|
||||
;;
|
||||
esac
|
Binary file not shown.
Before Width: | Height: | Size: 71 KiB |
Binary file not shown.
Before Width: | Height: | Size: 93 KiB |
@ -1,30 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2012 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, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
echo "### Applying project based patches ###"
|
||||
|
||||
for patch in `ls $PROJECT_DIR/$PROJECT/patches/$1`; do
|
||||
cat $PROJECT_DIR/$PROJECT/patches/$1/$patch | patch -d \
|
||||
`echo $PKG_BUILD | cut -f1 -d\ ` -p1
|
||||
done
|
@ -19,7 +19,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-theme-Confluence"
|
||||
PKG_VERSION="11.0.1"
|
||||
if [ "$PVR" = yes ]; then
|
||||
PKG_VERSION="pvr-11.0.1"
|
||||
else
|
||||
PKG_VERSION="11.0.1"
|
||||
fi
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
|
@ -29,6 +29,9 @@ mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/gputemp $INSTALL/usr/bin
|
||||
cp $PKG_DIR/scripts/wait_on_xbmc_exit $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/EventClients/Clients/XBMC\ Send/xbmc-send.py $INSTALL/usr/bin/xbmc-send
|
||||
if [ "$PVR" = yes ]; then
|
||||
cp $PKG_DIR/scripts/setwakeup.sh $INSTALL/usr/bin
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/xbmc
|
||||
cp $PKG_BUILD/xbmc.bin $INSTALL/usr/lib/xbmc
|
||||
|
@ -19,7 +19,11 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc"
|
||||
PKG_VERSION="11.0.1"
|
||||
if [ "$PVR" = yes ]; then
|
||||
PKG_VERSION="pvr-11.0.1"
|
||||
else
|
||||
PKG_VERSION="11.0.1"
|
||||
fi
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
@ -143,3 +147,6 @@ fi
|
||||
PKG_DEPENDS="$PKG_DEPENDS Imaging"
|
||||
PKG_DEPENDS="$PKG_DEPENDS simplejson"
|
||||
|
||||
if [ "$PVR" = yes ]; then
|
||||
PKG_DEPENDS="$PKG_DEPENDS xbmc-addon-xvdr xbmc-addon-vuplus"
|
||||
fi
|
||||
|
@ -115,8 +115,6 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -114,8 +114,6 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -114,8 +114,6 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -114,8 +114,6 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -114,8 +114,6 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -114,8 +114,6 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -116,8 +116,6 @@
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PROJECT" = RPi ]; then
|
||||
MEDIACENTER="xbmc-rpi"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -114,8 +114,6 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -109,8 +109,6 @@
|
||||
# Mediacenter to use (xbmc / no)
|
||||
if [ "$XBMC" = frodo ]; then
|
||||
MEDIACENTER="xbmc-frodo"
|
||||
elif [ "$PVR" = yes ]; then
|
||||
MEDIACENTER="xbmc-pvr"
|
||||
else
|
||||
MEDIACENTER="xbmc"
|
||||
fi
|
||||
|
@ -20,15 +20,16 @@
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc"
|
||||
PKG_VERSION="11.0.1"
|
||||
GIT_REPO="-b Eden git://github.com/xbmc/xbmc.git"
|
||||
DEST_DIR="$PKG_NAME-eden"
|
||||
DEST_DIR="$PKG_NAME-$PKG_VERSION"
|
||||
|
||||
echo "getting sources..."
|
||||
if [ ! -d $DEST_DIR-latest ]; then
|
||||
git clone $GIT_REPO $DEST_DIR-latest
|
||||
if [ ! -d $DEST_DIR-eden-latest ]; then
|
||||
git clone $GIT_REPO $DEST_DIR-eden-latest
|
||||
fi
|
||||
|
||||
cd $DEST_DIR-latest
|
||||
cd $DEST_DIR-eden-latest
|
||||
git pull
|
||||
|
||||
echo "getting version..."
|
||||
@ -37,40 +38,40 @@ echo "getting version..."
|
||||
cd ..
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf $PKG_NAME-11.0.1
|
||||
cp -R $DEST_DIR-latest $PKG_NAME-11.0.1
|
||||
echo "$GIT_REV" > $PKG_NAME-11.0.1/git.version
|
||||
rm -rf $PKG_NAME-$PKG_VERSION
|
||||
cp -R $DEST_DIR-eden-latest $PKG_NAME-$PKG_VERSION
|
||||
echo "$GIT_REV" > $PKG_NAME-$PKG_VERSION/git.version
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf $PKG_NAME-11.0.1/.git
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/.git
|
||||
|
||||
echo "seperating theme..."
|
||||
rm -rf $PKG_NAME-theme-Confluence-11.0.1
|
||||
mv $PKG_NAME-11.0.1/addons/skin.confluence $PKG_NAME-theme-Confluence-11.0.1
|
||||
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
mv $PKG_NAME-$PKG_VERSION/addons/skin.confluence $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf $PKG_NAME-11.0.1/visualisations
|
||||
rm -rf $PKG_NAME-11.0.1/lib/libSDL-*
|
||||
rm -rf $PKG_NAME-11.0.1/lib/libcurl-*
|
||||
rm -rf $PKG_NAME-11.0.1/project
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/visualisations
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/lib/libSDL-*
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/lib/libcurl-*
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/project
|
||||
|
||||
for i in "Changelog" "Fake\ Episode\ Maker" "MingwBuildEnvironment" \
|
||||
"PackageMaker" "Translator" "XBMCLive" "XprPack" \
|
||||
"HardwareConfigure" "Mach5" "osx" "UpdateThumbs.py" "XBMCTex"; do
|
||||
rm -rf $PKG_NAME-11.0.1/tools/$i
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/tools/$i
|
||||
done
|
||||
|
||||
for i in dll a lib so bat; do
|
||||
find $PKG_NAME-11.0.1 -name *.$i -exec rm -rf {} ";"
|
||||
find $PKG_NAME-$PKG_VERSION -name *.$i -exec rm -rf {} ";"
|
||||
done
|
||||
|
||||
# bundled win32 binaries
|
||||
rm -r $PKG_NAME-11.0.1/xbmc/visualizations/XBMCProjectM/win32
|
||||
rm -r $PKG_NAME-$PKG_VERSION/xbmc/visualizations/XBMCProjectM/win32
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvJf $PKG_NAME-11.0.1.tar.xz $PKG_NAME-11.0.1
|
||||
tar cvJf $PKG_NAME-theme-Confluence-11.0.1.tar.xz $PKG_NAME-theme-Confluence-11.0.1
|
||||
tar cvJf $PKG_NAME-$PKG_VERSION.tar.xz $PKG_NAME-$PKG_VERSION
|
||||
tar cvJf $PKG_NAME-theme-Confluence-$PKG_VERSION.tar.xz $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf $PKG_NAME-11.0.1
|
||||
rm -rf $PKG_NAME-theme-Confluence-11.0.1
|
||||
rm -rf $PKG_NAME-$PKG_VERSION
|
||||
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
@ -19,9 +19,10 @@
|
||||
# http://www.gnu.org/copyleft/gpl.html
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-pvr"
|
||||
PKG_NAME="xbmc"
|
||||
PKG_VERSION="pvr-11.0.1"
|
||||
GIT_REPO="-b Eden-pvr git://github.com/opdenkamp/xbmc.git"
|
||||
DEST_DIR="$PKG_NAME"
|
||||
DEST_DIR="$PKG_NAME-$PKG_VERSION"
|
||||
|
||||
echo "getting sources..."
|
||||
if [ ! -d $DEST_DIR-eden-latest ]; then
|
||||
@ -37,40 +38,40 @@ echo "getting version..."
|
||||
cd ..
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf $PKG_NAME-11.0.1
|
||||
cp -R $DEST_DIR-eden-latest $PKG_NAME-11.0.1
|
||||
echo "$GIT_REV" > $PKG_NAME-11.0.1/git.version
|
||||
rm -rf $PKG_NAME-$PKG_VERSION
|
||||
cp -R $DEST_DIR-eden-latest $PKG_NAME-$PKG_VERSION
|
||||
echo "$GIT_REV" > $PKG_NAME-$PKG_VERSION/git.version
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf $PKG_NAME-11.0.1/.git
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/.git
|
||||
|
||||
echo "seperating theme..."
|
||||
rm -rf $PKG_NAME-theme-Confluence-11.0.1
|
||||
mv $PKG_NAME-11.0.1/addons/skin.confluence $PKG_NAME-theme-Confluence-11.0.1
|
||||
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
mv $PKG_NAME-$PKG_VERSION/addons/skin.confluence $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf $PKG_NAME-11.0.1/visualisations
|
||||
rm -rf $PKG_NAME-11.0.1/lib/libSDL-*
|
||||
rm -rf $PKG_NAME-11.0.1/lib/libcurl-*
|
||||
rm -rf $PKG_NAME-11.0.1/project
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/visualisations
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/lib/libSDL-*
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/lib/libcurl-*
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/project
|
||||
|
||||
for i in "Changelog" "Fake\ Episode\ Maker" "MingwBuildEnvironment" \
|
||||
"PackageMaker" "Translator" "XBMCLive" "XprPack" \
|
||||
"HardwareConfigure" "Mach5" "osx" "UpdateThumbs.py" "XBMCTex"; do
|
||||
rm -rf $PKG_NAME-11.0.1/tools/$i
|
||||
rm -rf $PKG_NAME-$PKG_VERSION/tools/$i
|
||||
done
|
||||
|
||||
for i in dll a lib so bat; do
|
||||
find $PKG_NAME-11.0.1 -name *.$i -exec rm -rf {} ";"
|
||||
find $PKG_NAME-$PKG_VERSION -name *.$i -exec rm -rf {} ";"
|
||||
done
|
||||
|
||||
# bundled win32 binaries
|
||||
rm -r $PKG_NAME-11.0.1/xbmc/visualizations/XBMCProjectM/win32
|
||||
rm -r $PKG_NAME-$PKG_VERSION/xbmc/visualizations/XBMCProjectM/win32
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvJf $PKG_NAME-11.0.1.tar.xz $PKG_NAME-11.0.1
|
||||
tar cvJf $PKG_NAME-theme-Confluence-11.0.1.tar.xz $PKG_NAME-theme-Confluence-11.0.1
|
||||
tar cvJf $PKG_NAME-$PKG_VERSION.tar.xz $PKG_NAME-$PKG_VERSION
|
||||
tar cvJf $PKG_NAME-theme-Confluence-$PKG_VERSION.tar.xz $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf $PKG_NAME-11.0.1
|
||||
rm -rf $PKG_NAME-theme-Confluence-11.0.1
|
||||
rm -rf $PKG_NAME-$PKG_VERSION
|
||||
rm -rf $PKG_NAME-theme-Confluence-$PKG_VERSION
|
||||
|
Loading…
x
Reference in New Issue
Block a user