| @@ -0,0 +1,36 @@ | ||
| #!/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 | ||
| ################################################################################ | ||
|
|
||
| . config/options $1 | ||
|
|
||
| export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr" | ||
| export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" | ||
|
|
||
| cd $PKG_BUILD | ||
|
|
||
| python setup.py build --cross-compile | ||
| python setup.py install -O1 --skip-build --prefix /usr --root .install | ||
|
|
||
| find .install -name "*.py" -exec rm -rf "{}" ";" | ||
| find .install -name "*.pyo" -exec rm -rf "{}" ";" | ||
|
|
||
| rm -rf .install/usr/bin |
| @@ -0,0 +1,35 @@ | ||
| ################################################################################ | ||
| # 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 | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="tornado-ap" | ||
| PKG_VERSION="1.2.1" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="GPL" | ||
| PKG_SITE="http://www.tornadoweb.org/" | ||
| PKG_URL="http://dl.dropbox.com/u/8224157/OpenELEC-Ultra/addons/${PKG_NAME}-${PKG_VERSION}.tar.gz" | ||
| PKG_DEPENDS="" | ||
| PKG_BUILD_DEPENDS="Python" | ||
| PKG_PRIORITY="optional" | ||
| PKG_SECTION="service/multimedia" | ||
| PKG_SHORTDESC="tornado: a web server for Python" | ||
| PKG_LONGDESC="Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed." | ||
| PKG_IS_ADDON="no" | ||
| PKG_AUTORECONF="no" |
| @@ -0,0 +1,46 @@ | ||
| #!/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 | ||
| ################################################################################ | ||
|
|
||
| . config/options $1 | ||
|
|
||
| mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/bin/ | ||
| mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/ao/plugins-4/ | ||
| mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/pylib/ | ||
|
|
||
| cp $PKG_DIR/config/settings.xml $ADDON_BUILD/$PKG_ADDON_ID/settings-default.xml | ||
|
|
||
| cp $BUILD/pybonjour-1.1.1/pybonjour.py $ADDON_BUILD/$PKG_ADDON_ID/pylib/ | ||
| cp -R $BUILD/tornado-ap-*/.install/usr/lib/python*/site-packages/* $ADDON_BUILD/$PKG_ADDON_ID/pylib/ | ||
| cp -R $BUILD/simplejson-ap-*/.install/usr/lib/python*/site-packages/* $ADDON_BUILD/$PKG_ADDON_ID/pylib/ | ||
|
|
||
| # to get libdns_sd.so.1 library | ||
| #sed -i 's|--disable-compat-libdns_sd|--enable-compat-libdns_sd|g' packages/network/avahi/build | ||
| cp $BUILD/avahi-*/avahi-compat-libdns_sd/.libs/libdns_sd.so.1 $ADDON_BUILD/$PKG_ADDON_ID/lib/ | ||
|
|
||
| cp -a $BUILD/airplayer-*/airplayer/ $ADDON_BUILD/$PKG_ADDON_ID/bin/ | ||
|
|
||
| cp $BUILD/libao-*/src/.libs/libao.so.4 $ADDON_BUILD/$PKG_ADDON_ID/lib/ | ||
| cp $BUILD/libao-*/src/plugins/alsa/.libs/libalsa.so $ADDON_BUILD/$PKG_ADDON_ID/lib/ao/plugins-4/ | ||
| cp $BUILD/libao-*/src/plugins/oss/.libs/liboss.so $ADDON_BUILD/$PKG_ADDON_ID/lib/ao/plugins-4/ | ||
|
|
||
| cp $BUILD/shairport-*/shairport $ADDON_BUILD/$PKG_ADDON_ID/bin/ | ||
| cp $BUILD/shairport-*/hairtunes $ADDON_BUILD/$PKG_ADDON_ID/bin/ |
| @@ -0,0 +1,2 @@ | ||
| 0.99.5 | ||
| - initial version airplayer-7776e54 and shairport-346db95 |
| @@ -0,0 +1,7 @@ | ||
| <settings> | ||
| <setting id="LOG_FILES" value="true" /> | ||
| <setting id="SHAIRPORT_DEVICENAME" value="default" /> | ||
| <setting id="SHAIRPORT_DRIVER" value="alsa" /> | ||
| <setting id="SHAIRPORT_NAME" value="ShairPort" /> | ||
| <setting id="AIRPLAYER_NAME" value="Airplayer" /> | ||
| </settings> |
| @@ -0,0 +1,36 @@ | ||
| ################################################################################ | ||
| # 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 | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="Airplayer-Suite" | ||
| PKG_VERSION="Suite" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="GPL" | ||
| PKG_SITE="https://github.com/PascalW/Airplayer" | ||
| PKG_URL="" | ||
| PKG_DEPENDS="Python" | ||
| PKG_BUILD_DEPENDS="toolchain Python avahi pybonjour tornado-ap simplejson-ap airplayer libao shairport" | ||
| PKG_PRIORITY="optional" | ||
| PKG_SECTION="service/multimedia" | ||
| PKG_SHORTDESC="Airplayer and ShairPort programs" | ||
| PKG_LONGDESC="Airplayer makes make media playing software Airplay-compatible. Airplayer features pluggable backends, making it possible to support different media players. Send video and pictures from your iDevice to your Airplay enabled media player. Audio streaming is currently not supported. On the iDevice side IOS 4.2 or above is required. ShairPort emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods." | ||
| PKG_IS_ADDON="yes" | ||
| PKG_ADDON_TYPE="xbmc.service" | ||
| PKG_AUTORECONF="no" |
| @@ -0,0 +1,84 @@ | ||
| # | ||
| # got from http://stmlabs.com/forum/topic/asoundconf-simultaneous-output#post-896 | ||
| # change line pcm "hw:1,7" to suit your box | ||
| # | ||
| #---- | ||
| # /etc/asound.conf file designed to expand 2 channels through device 'clone_output' | ||
| # to output 2 channels to multiple devices | ||
| # | ||
| # Use aplay -l to find device numbers | ||
| # | ||
| #---- | ||
|
|
||
| pcm.!default { | ||
| type plug | ||
| slave.pcm "dmixed_hdmi" | ||
| } | ||
|
|
||
| #----- | ||
| # Single channel dmixed. Crossfade works | ||
| #----- | ||
| pcm.hdmiout { | ||
| type plug | ||
| slave.pcm "dmixed_hdmi" | ||
| } | ||
|
|
||
| pcm.dmixed_hdmi { | ||
| type dmix | ||
| ipc_key 2024 | ||
| slave { | ||
| pcm "hw:1,7" # hdmi | ||
| } | ||
| } | ||
| #----- | ||
| # multiple output portion begin (3 devices) dmix not supported. | ||
| #----- | ||
|
|
||
| pcm.clone_output { | ||
| type plug | ||
| slave.pcm "6channel_expander" | ||
| } | ||
|
|
||
| pcm.multi_pcm_device { | ||
| type multi; | ||
| slaves.a.pcm "hw:1,7"; # hdmi | ||
| slaves.a.channels 2; | ||
| slaves.b.pcm "hw:0,0"; # analog | ||
| slaves.b.channels 2; | ||
| slaves.c.pcm "hw:0,1"; # spdif | ||
| slaves.c.channels 2; | ||
| bindings.0.slave a; | ||
| bindings.0.channel 0; | ||
| bindings.1.slave a; | ||
| bindings.1.channel 1; | ||
| bindings.2.slave b; | ||
| bindings.2.channel 0; | ||
| bindings.3.slave b; | ||
| bindings.3.channel 1; | ||
| bindings.4.slave c; | ||
| bindings.4.channel 0; | ||
| bindings.5.slave c; | ||
| bindings.5.channel 1; | ||
| } | ||
|
|
||
| ctl.multi_pcm_device { | ||
| type hw; | ||
| card 0; | ||
| } | ||
|
|
||
| pcm.6channel_expander { | ||
| type route; | ||
| slave.pcm "multi_pcm_device"; | ||
| slave.channels 6; | ||
| ttable.0.0 1; | ||
| ttable.1.1 1; | ||
| ttable.0.2 1; | ||
| ttable.1.3 1; | ||
| ttable.0.4 1; | ||
| ttable.1.5 1; | ||
| } | ||
|
|
||
| ctl.6channel_expander { | ||
| type hw; | ||
| card 0; | ||
| } |
| @@ -0,0 +1,127 @@ | ||
| #!/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 | ||
| ################################################################################ | ||
|
|
||
| # setup functions | ||
| read_xbmcconfig() { | ||
| grep "<$1>" $XBMC_SETTINGS | sed -e "s,[[:space:]]*<$1>,," -e "s,</$1>,," | ||
| } | ||
|
|
||
| ADDON_ID="Airplayer-Suite" | ||
| ADDON_DIR="$HOME/.xbmc/addons/service.multimedia.$ADDON_ID" | ||
| ADDON_HOME="$HOME/.xbmc/userdata/addon_data/service.multimedia.$ADDON_ID" | ||
|
|
||
| AIRPLAYERSUITE_SETTINGS_XML="$ADDON_HOME/settings.xml" | ||
| AIRPLAYERSUITE_SETTINGS_CONF="/var/config/$ADDON_ID.conf" | ||
| XBMC_SETTINGS="$HOME/.xbmc/userdata/guisettings.xml" | ||
|
|
||
| # create default config | ||
| mkdir -p $ADDON_HOME | ||
| if [ ! -f "$AIRPLAYERSUITE_SETTINGS_XML" ]; then | ||
| cp $ADDON_DIR/settings-default.xml $AIRPLAYERSUITE_SETTINGS_XML | ||
| fi | ||
|
|
||
| # convert xml file to bash variables and use them | ||
| if [ -f "$AIRPLAYERSUITE_SETTINGS_XML" ]; then | ||
| mkdir -p /var/config/ | ||
| awk -F\" '{print $2"=\""$4"\""}' "$AIRPLAYERSUITE_SETTINGS_XML" | sed '/^=/d' > $AIRPLAYERSUITE_SETTINGS_CONF | ||
| . $AIRPLAYERSUITE_SETTINGS_CONF | ||
| # replace spaces with underscore | ||
| SHAIRPORT_NAME=${SHAIRPORT_NAME// /_} | ||
| AIRPLAYER_NAME=${AIRPLAYER_NAME// /_} | ||
| else | ||
| LOG_FILES="true" | ||
| SHAIRPORT_DEVICENAME="default" | ||
| SHAIRPORT_DRIVER="alsa" | ||
| SHAIRPORT_NAME="ShairPort" | ||
| AIRPLAYER_NAME="Airplayer" | ||
| fi | ||
|
|
||
| export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$ADDON_DIR/lib" | ||
| export PYTHONPATH="$ADDON_DIR/pylib" | ||
|
|
||
| if [ "$LOG_FILES" = "true" ]; then | ||
| LOG_FILE_SHAIRPORT="$ADDON_HOME/shairport.log" | ||
| LOG_FILE_AIRPLAYER="$ADDON_HOME/airplayer.log" | ||
| PID_FILE_AIRPLAYER="$ADDON_HOME/airplayer.pid" | ||
|
|
||
| ADDON_ARG_SHAIRPORT="-v --apname=$SHAIRPORT_NAME --ao_driver=$SHAIRPORT_DRIVER --ao_devicename=$SHAIRPORT_DEVICENAME" | ||
| ADDON_ARG_AIRPLAYER="-d -p $PID_FILE_AIRPLAYER -l $LOG_FILE_AIRPLAYER" | ||
| else | ||
| LOG_FILE_SHAIRPORT="/dev/null" | ||
| LOG_FILE_AIRPLAYER="/dev/null" | ||
| PID_FILE_AIRPLAYER="$ADDON_HOME/airplayer.pid" | ||
|
|
||
| ADDON_ARG_SHAIRPORT="--apname=$SHAIRPORT_NAME --ao_driver=$SHAIRPORT_DRIVER --ao_devicename=$SHAIRPORT_DEVICENAME" | ||
| ADDON_ARG_AIRPLAYER="-d -p $PID_FILE_AIRPLAYER -l $LOG_FILE_AIRPLAYER" | ||
| fi | ||
|
|
||
| AIRPLAYER_SETTINGS_TMP="/tmp/airplayer_settings.py" | ||
| AIRPLAYER_SETTINGS_ORIG="$ADDON_DIR/bin/airplayer/settings.py" | ||
|
|
||
| # first copy to tmp | ||
| cp "$AIRPLAYER_SETTINGS_ORIG" "$AIRPLAYER_SETTINGS_TMP" | ||
|
|
||
| # read xbmc settings | ||
| XBMC_PORT=`read_xbmcconfig webserverport` | ||
| XBMC_USER=`read_xbmcconfig webserverusername` | ||
| XBMC_PWD=`read_xbmcconfig webserverpassword` | ||
|
|
||
| # modify with real values | ||
| sed -i "s|MEDIA_BACKEND_PORT = .*|MEDIA_BACKEND_PORT = $XBMC_PORT|g" $AIRPLAYER_SETTINGS_TMP | ||
|
|
||
| if [ -n "XBMC_USER" ]; then | ||
| sed -i "s|MEDIA_BACKEND_USERNAME = .*|MEDIA_BACKEND_USERNAME = '$XBMC_USER'|g" $AIRPLAYER_SETTINGS_TMP | ||
| else | ||
| sed -i "s|MEDIA_BACKEND_USERNAME = .*|MEDIA_BACKEND_USERNAME = None|g" $AIRPLAYER_SETTINGS_TMP | ||
| fi | ||
| if [ -n "XBMC_PWD" ]; then | ||
| sed -i "s|MEDIA_BACKEND_PASSWORD = .*|MEDIA_BACKEND_PASSWORD = '$XBMC_PWD'|g" $AIRPLAYER_SETTINGS_TMP | ||
| else | ||
| sed -i "s|MEDIA_BACKEND_PASSWORD = .*|MEDIA_BACKEND_PASSWORD = None|g" $AIRPLAYER_SETTINGS_TMP | ||
| fi | ||
| if [ -n "AIRPLAYER_NAME" ]; then | ||
| sed -i "s|AIRPLAY_HOSTNAME = .*|AIRPLAY_HOSTNAME = '$AIRPLAYER_NAME'|g" $AIRPLAYER_SETTINGS_TMP | ||
| else | ||
| sed -i "s|AIRPLAY_HOSTNAME = .*|AIRPLAY_HOSTNAME = None|g" $AIRPLAYER_SETTINGS_TMP | ||
| fi | ||
|
|
||
| # if different copy it back | ||
| if [ "`md5sum "$AIRPLAYER_SETTINGS_TMP" | cut -d ' ' -f 1`" != "`md5sum "$AIRPLAYER_SETTINGS_ORIG" | cut -d ' ' -f 1`" ]; then | ||
| cp "$AIRPLAYER_SETTINGS_TMP" "$AIRPLAYER_SETTINGS_ORIG" | ||
| fi | ||
|
|
||
| rm "$AIRPLAYER_SETTINGS_TMP" | ||
|
|
||
| # restart avahi daemon because sometimes doesn't start correctly at boot time | ||
| avahi-daemon -k | ||
| /bin/sh /etc/init.d/53_avahi | ||
|
|
||
| # run shairport | ||
| if [ ! $(pidof shairport) ]; then | ||
| $ADDON_DIR/bin/shairport $ADDON_ARG_SHAIRPORT >$LOG_FILE_SHAIRPORT 2>&1 & | ||
| fi | ||
|
|
||
| # run airplayer | ||
| ps -ef | grep airplayer.py | grep -v grep >/dev/null 2>&1 | ||
| if [ "$?" != "0" ]; then | ||
| python $ADDON_DIR/bin/airplayer/airplayer.py $ADDON_ARG_AIRPLAYER | ||
| fi |
| @@ -0,0 +1,14 @@ | ||
| <?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
| <strings> | ||
| <!-- Airplayer-Suite --> | ||
| <string id="1000">Airplayer and ShairPort</string> | ||
| <string id="1010">Identification</string> | ||
| <string id="1020">Airplayer name</string> | ||
| <string id="1030">ShairPort name</string> | ||
| <string id="1040">ShairPort sound output</string> | ||
| <string id="1050">ao driver</string> | ||
| <string id="1060">ao device name</string> | ||
| <string id="1070">Log files</string> | ||
| <string id="1080">Log file</string> | ||
| <string id="1090">Enabled</string> | ||
| </strings> |
| @@ -0,0 +1,19 @@ | ||
| <?xml version="1.0" encoding="utf-8" standalone="yes"?> | ||
| <settings> | ||
| <!-- Airplayer-Suite --> | ||
| <category label="1000"> | ||
| <setting label="1010" type="lsep"/> | ||
| <setting type="sep" /> | ||
| <setting id="AIRPLAYER_NAME" type="text" label="1020" default="Airplayer"/> | ||
| <setting id="SHAIRPORT_NAME" type="text" label="1030" default="ShairPort"/> | ||
| <setting label="1040" type="lsep"/> | ||
| <setting type="sep" /> | ||
| <setting id="SHAIRPORT_DRIVER" type="text" label="1050" default="alsa"/> | ||
| <setting id="SHAIRPORT_DEVICENAME" type="text" label="1060" default="default"/> | ||
| </category> | ||
| <category label="1070"> | ||
| <setting label="1080" type="lsep"/> | ||
| <setting type="sep" /> | ||
| <setting id="LOG_FILES" type="bool" label="1090" default="true" /> | ||
| </category> | ||
| </settings> |
| @@ -26,6 +26,6 @@ $SCRIPTS/unpack boost | ||
|
|
||
| setup_toolchain host | ||
|
|
||
| cd $BUILD/boost*/tools/build/v2/engine | ||
| sh build.sh | ||
| cp bin.*/bjam $ROOT/$TOOLCHAIN/bin | ||
| @@ -19,7 +19,7 @@ | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="boost" | ||
| PKG_VERSION="1_47_0" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="OSS" | ||
| @@ -19,7 +19,7 @@ | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="glew" | ||
| PKG_VERSION="1.7.0" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="BSD" | ||
| @@ -19,7 +19,7 @@ | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="linux" | ||
| PKG_VERSION="3.0.4" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="GPL" | ||
| @@ -19,7 +19,7 @@ | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="xbmc-theme-Confluence" | ||
| PKG_VERSION="9389dc8" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="GPL" | ||
| @@ -19,7 +19,7 @@ | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="xbmc" | ||
| PKG_VERSION="9389dc8" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="GPL" | ||
| @@ -64,7 +64,7 @@ ac_cv_func_chroot=no \ | ||
| --disable-manpages \ | ||
| --disable-xmltoman \ | ||
| --disable-tests \ | ||
| --enable-compat-libdns_sd \ | ||
| --disable-compat-howl \ | ||
| --with-xml=expat \ | ||
| --with-avahi-user=avahi \ | ||
| @@ -19,7 +19,7 @@ | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="LVM2" | ||
| PKG_VERSION="2.02.88" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="" | ||
| @@ -19,7 +19,7 @@ | ||
| ################################################################################ | ||
|
|
||
| PKG_NAME="udisks" | ||
| PKG_VERSION="1.0.4" | ||
| PKG_REV="1" | ||
| PKG_ARCH="any" | ||
| PKG_LICENSE="GPL" | ||
| @@ -78,7 +78,7 @@ | ||
| PROJECT_CFLAGS="" | ||
|
|
||
| # LTO (Link Time Optimazion) support | ||
| LTO_SUPPORT="yes" | ||
|
|
||
| # GOLD (Google Linker) support | ||
| GOLD_SUPPORT="yes" | ||
| @@ -0,0 +1,252 @@ | ||
| # Name of the Distro to build (full name, without special charcters) | ||
| DISTRONAME="OpenELEC" | ||
|
|
||
| # Welcome Message for e.g. SSH Server (up to 5 Lines) | ||
| GREATING0="##############################################" | ||
| GREATING1="# OpenELEC - The living room PC for everyone #" | ||
| GREATING2="# ...... visit http://www.openelec.tv ...... #" | ||
| GREATING3="##############################################" | ||
| GREATING4="" | ||
|
|
||
| # Hostname for target system (openelec) | ||
| HOSTNAME="openelec" | ||
|
|
||
| # Root password to integrate in the target system | ||
| ROOT_PASSWORD="openelec" | ||
|
|
||
| # User to integrate in the target system | ||
| USER_NAME="openelec" | ||
|
|
||
| # User group to integrate in the target system | ||
| USER_GROUP="openelec" | ||
|
|
||
| # User password to integrate in the target system | ||
| USER_PASSWORD="openelec" | ||
|
|
||
| # The TARGET_CPU variable controls which processor should be targeted for | ||
| # generated code. | ||
| case $TARGET_ARCH in | ||
| i386) | ||
| # (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 | ||
| # athlon-fx athlon-mp athlon-xp athlon-4 | ||
| # athlon-tbird athlon k6-3 k6-2 k6 geode | ||
| # (Intel CPUs) atom core2 nocona prescott pentium4[m] pentium3[m] | ||
| # pentium-m pentium2 pentiumpro pentium-mmx pentium | ||
| # i686 i586 i486 i386 | ||
| # (VIA CPUs) c3 c3-2 | ||
| # | ||
| TARGET_CPU="i686" | ||
| ;; | ||
|
|
||
| x86_64) | ||
| # (AMD CPUs) k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 | ||
| # athlon-fx amdfam10 barcelona | ||
| # (Intel CPUs) atom core2 nocona | ||
| # | ||
| TARGET_CPU="core2" | ||
| ;; | ||
|
|
||
| arm) | ||
| # TARGET_CPU: | ||
| # arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm7m arm7d | ||
| # arm7dm arm7di arm7dmi arm70 arm700 arm700i arm710 arm710c | ||
| # arm7100 arm720 arm7500 arm7500fe arm7tdmi arm7tdmi-s arm710t | ||
| # arm720t arm740t strongarm strongarm110 strongarm1100 | ||
| # strongarm1110 arm8 arm810 arm9 arm9e arm920 arm920t arm922t | ||
| # arm946e-s arm966e-s arm968e-s arm926ej-s arm940t arm9tdmi | ||
| # arm10tdmi arm1020t arm1026ej-s arm10e arm1020e arm1022e | ||
| # arm1136j-s arm1136jf-s mpcore mpcorenovfp arm1156t2-s | ||
| # arm1176jz-s arm1176jzf-s cortex-a8 cortex-a9 cortex-r4 | ||
| # cortex-r4f cortex-m3 cortex-m1 xscale iwmmxt iwmmxt2 ep9312. | ||
| # | ||
| TARGET_CPU="cortex-a9" | ||
|
|
||
| # TARGET_FPU: | ||
| # This specifies what floating point hardware (or hardware emulation) is | ||
| # available on the target. Permissible names are: | ||
| # fpa fpe2 fpe3 maverick vfp vfpv3 vfpv3-fp16 vfpv3-d16 vfpv3-d16-fp16 | ||
| # vfpv3xd vfpv3xd-fp16 neon neon-fp16 vfpv4 vfpv4-d16 fpv4-sp-d16 | ||
| # neon-vfpv4. | ||
| TARGET_FPU="neon" | ||
| ;; | ||
| esac | ||
|
|
||
| # Build optimizations (size/speed) | ||
| OPTIMIZATIONS="speed" | ||
|
|
||
| # Project CFLAGS | ||
| PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse" | ||
|
|
||
| # LTO (Link Time Optimazion) support | ||
| LTO_SUPPORT="yes" | ||
|
|
||
| # GOLD (Google Linker) support | ||
| GOLD_SUPPORT="yes" | ||
|
|
||
| # Graphite Support | ||
| GRAPHITE_SUPPORT="yes" | ||
|
|
||
| # LOOP optimazion support | ||
| LOOP_SUPPORT="yes" | ||
|
|
||
| # Bootloader to use (syslinux / u-boot / atv-bootloader) | ||
| BOOTLOADER="syslinux" | ||
|
|
||
| # Configuration for u-boot | ||
| UBOOT_CONFIG="" | ||
|
|
||
| # Kernel to use. values can be: | ||
| # default: default mainline kernel | ||
| # ti-omap4: Ti's OMAP4 kernel | ||
| LINUX="default" | ||
|
|
||
| # use linux-next (latest rc) instead latest released version | ||
| LINUX_NEXT="no" | ||
|
|
||
| # Mediacenter to use (xbmc / no) | ||
| MEDIACENTER="xbmc" | ||
|
|
||
| # Skins to install (Confluence) | ||
| SKINS="Confluence" | ||
|
|
||
| # Default Skin (Confluence) | ||
| SKIN_DEFAULT="Confluence" | ||
|
|
||
| # install extra subtitle Fonts for XBMC (yes / no) | ||
| XBMC_EXTRA_FONTS="yes" | ||
|
|
||
| # Plugins for XBMC to install (SABnzbd) | ||
| # Space separated list is supported, | ||
| # e.g. XBMC_PLUGINS="SABnzbd" | ||
| XBMC_PLUGINS="" | ||
|
|
||
| # build and install 'ProjectM' Visualization (yes / no) | ||
| XBMC_VIS_PROJECTM="yes" | ||
|
|
||
| # build and install with non-free support | ||
| # (RAR compression support in XBMC) (yes / no) | ||
| NONFREE_SUPPORT="yes" | ||
|
|
||
| # build and install with DVDCSS support | ||
| # (DVD decryption support in XBMC) (yes / no) | ||
| DVDCSS_SUPPORT="yes" | ||
|
|
||
| # additional drivers to install: | ||
| # asix-ax887xx: Asix AX887xx USB LAN Driver | ||
| # Space separated list is supported, | ||
| # e.g. ADDITIONAL_DRIVERS="asix-ax887xx" | ||
| ADDITIONAL_DRIVERS="asix-ax887xx" | ||
|
|
||
| # build with network support (yes / no) | ||
| NETWORK="yes" | ||
|
|
||
| # build with netmount (mounting network drives on boot) support (yes / no) | ||
| NETMOUNT="yes" | ||
|
|
||
| # build and install with XBMC webfrontend (yes / no) | ||
| WEBSERVER="yes" | ||
|
|
||
| # build and install Avahi (Zeroconf) daemon (yes / no) | ||
| AVAHI_DAEMON="yes" | ||
|
|
||
| # build and install Samba Server (yes / no) | ||
| SAMBA_SERVER="yes" | ||
|
|
||
| # build and install SFTP Server (yes / no) | ||
| SFTP_SERVER="yes" | ||
|
|
||
| # build and install SSH Guard (yes / no) | ||
| SSHGUARD_SUPPORT="yes" | ||
|
|
||
| # build and install diskmounter service (udisks) | ||
| # this service provide auto mounting support for external drives | ||
| # in the mediacenter also automount internally drives at boottime (yes / no) | ||
| UDISKS="yes" | ||
|
|
||
| # build and install powermanagement support (upower) (yes / no) | ||
| UPOWER="yes" | ||
|
|
||
| # build and install NTFS-3G fuse support (yes / no) | ||
| NTFS3G="yes" | ||
|
|
||
| # build and install hfs filesystem utilities (yes / no) | ||
| HFSTOOLS="yes" | ||
|
|
||
| # build and install Apple device mount support (via ifuse) (yes / no) | ||
| APPLEMOUNT="yes" | ||
|
|
||
| # Displayserver to use (xorg-server / no) | ||
| DISPLAYSERVER="xorg-server" | ||
|
|
||
| # Graphic drivers to use (all / i915,i965,r200,r300,r600,fglrx,nvidia,nouveau,vmware) | ||
| # Space separated list is supported, | ||
| # e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 nvidia nouveau" | ||
| GRAPHIC_DRIVERS="i915 i965 r200 r300 r600 nouveau vmware" | ||
|
|
||
| # Use VDPAU video acceleration (needs nVidia driver and a supported card) | ||
| VDPAU="yes" | ||
|
|
||
| # Use VAAPI video acceleration (needs intel i965 driver and a supported card) | ||
| VAAPI="yes" | ||
|
|
||
| # Use Broadcom CrystalHD Decoder Card for video acceleration | ||
| # (needs Kernelsupport for Broadcom Decoder Card and a supported card) | ||
| CRYSTALHD="yes" | ||
|
|
||
| # build and install remote support (yes / no) | ||
| REMOTE_SUPPORT="yes" | ||
|
|
||
| # build and install WiiMote support (yes / no) | ||
| WIIMOTE_SUPPORT="yes" | ||
|
|
||
| # build and install PS3 Remote support (yes / no) | ||
| PS3REMOTE_SUPPORT="yes" | ||
|
|
||
| # build and install ATV IR remote support (yes / no) | ||
| ATVCLIENT_SUPPORT="yes" | ||
|
|
||
| # LCD driver to Use - Possible drivers are ( Comma seperated: | ||
| # bayrad,CFontz,CFontz633,CFontzPacket,curses,CwLnx, | ||
| # ea65,EyeboxOne,g15,glcdlib,glk,hd44780,i2500vfd, | ||
| # icp_a106,imon,imonlcd,IOWarrior,irman,irtrans, | ||
| # joy,lb216,lcdm001,lcterm,lirc,lis,MD8800,mdm166a, | ||
| # ms6931,mtc_s16209x,MtxOrb,mx5000,NoritakeVFD, | ||
| # picolcd,pyramid,sed1330,sed1520,serialPOS, | ||
| # serialVFD,shuttleVFD,sli,stv5730,SureElec,svga, | ||
| # 'all' compiles all drivers; | ||
| # 'all,!xxx,!yyy' de-selects previously selected drivers | ||
| # "none" for disable LCD support | ||
| LCD_DRIVER="irtrans,imon,imonlcd,mdm166a" | ||
|
|
||
| # additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware) | ||
| # Space separated list is supported, | ||
| # e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware" | ||
| FIRMWARE="dvb-firmware misc-firmware wlan-firmware" | ||
|
|
||
| # build with lm_sensors hardware monitoring support (yes / no) | ||
| SENSOR_SUPPORT="yes" | ||
|
|
||
| # build with automatic update support (yes / no) | ||
| UPDATE_SUPPORT="yes" | ||
|
|
||
| # build with installer (yes / no) | ||
| INSTALLER_SUPPORT="yes" | ||
|
|
||
| # Testpackages for development (yes / no) | ||
| TESTING="no" | ||
|
|
||
| # OEM packages for OEM's (yes / no) | ||
| OEM_SUPPORT="no" | ||
|
|
||
| # Coreboot support (yes / no) | ||
| COREBOOT="no" | ||
|
|
||
| # Distribution Specific source location | ||
| DISTRO_SRC="http://sources.openelec.tv/$OPENELEC_VERSION" | ||
|
|
||
| # Addon Server Url | ||
| ADDON_SERVER_URL="http://addons.openelec.tv" | ||
|
|
||
| # set the addon dirs | ||
| ADDON_PATH="$OS_VERSION/$PROJECT/$TARGET_ARCH" | ||
| ADDON_URL="$ADDON_SERVER_URL/$ADDON_PATH" |
| @@ -78,7 +78,7 @@ | ||
| PROJECT_CFLAGS="-mfpmath=sse -msse2 -mssse3 -mmovbe" | ||
|
|
||
| # LTO (Link Time Optimazion) support | ||
| LTO_SUPPORT="yes" | ||
|
|
||
| # GOLD (Google Linker) support | ||
| GOLD_SUPPORT="yes" | ||
| @@ -78,7 +78,7 @@ | ||
| PROJECT_CFLAGS="-mfpmath=sse -msse2 -mssse3" | ||
|
|
||
| # LTO (Link Time Optimazion) support | ||
| LTO_SUPPORT="yes" | ||
|
|
||
| # GOLD (Google Linker) support | ||
| GOLD_SUPPORT="yes" | ||
| @@ -0,0 +1,43 @@ | ||
| #!/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 | ||
| ################################################################################ | ||
|
|
||
| echo "getting sources..." | ||
| if [ ! -d Airplayer.git ]; then | ||
| git clone git://github.com/PascalW/Airplayer.git Airplayer.git | ||
| fi | ||
|
|
||
| cd Airplayer.git | ||
| git pull | ||
| GIT_REV=`git log -n1 --format=%h` | ||
| cd .. | ||
|
|
||
| echo "copying sources..." | ||
| rm -rf airplayer-$GIT_REV | ||
| cp -R Airplayer.git airplayer-$GIT_REV | ||
|
|
||
| echo "cleaning sources..." | ||
| rm -rf airplayer-$GIT_REV/.git | ||
|
|
||
| echo "packing sources..." | ||
| tar cvJf airplayer-$GIT_REV.tar.xz airplayer-$GIT_REV | ||
|
|
||
| echo "remove temporary sourcedir..." | ||
| rm -rf airplayer-$GIT_REV |
| @@ -0,0 +1,43 @@ | ||
| #!/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 | ||
| ################################################################################ | ||
|
|
||
| echo "getting sources..." | ||
| if [ ! -d shairport.git ]; then | ||
| git clone git://github.com/albertz/shairport.git shairport.git | ||
| fi | ||
|
|
||
| cd shairport.git | ||
| git pull | ||
| GIT_REV=`git log -n1 --format=%h` | ||
| cd .. | ||
|
|
||
| echo "copying sources..." | ||
| rm -rf shairport-$GIT_REV | ||
| cp -R shairport.git shairport-$GIT_REV | ||
|
|
||
| echo "cleaning sources..." | ||
| rm -rf shairport-$GIT_REV/.git | ||
|
|
||
| echo "packing sources..." | ||
| tar cvJf shairport-$GIT_REV.tar.xz shairport-$GIT_REV | ||
|
|
||
| echo "remove temporary sourcedir..." | ||
| rm -rf shairport-$GIT_REV |
| @@ -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 | ||
| ################################################################################ | ||
|
|
||
| echo "getting sources..." | ||
|
|
||
| if [ ! -f simplejson-2.1.3.tar.gz ]; then | ||
| wget -O simplejson-2.1.3.tar.gz http://pypi.python.org/packages/source/s/simplejson/simplejson-2.1.3.tar.gz | ||
| fi | ||
|
|
||
| tar xzf simplejson-2.1.3.tar.gz | ||
| echo "renaming folder name..." | ||
| mv simplejson-2.1.3 simplejson-ap-2.1.3 | ||
| echo "packing sources..." | ||
| tar czf simplejson-ap-2.1.3.tar.gz simplejson-ap-2.1.3 | ||
| echo "remove temporary sourcedir..." | ||
| rm -rf simplejson-ap-2.1.3 |
| @@ -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 | ||
| ################################################################################ | ||
|
|
||
| echo "getting sources..." | ||
|
|
||
| if [ ! -f tornado-1.2.1.tar.gz ]; then | ||
| wget -O tornado-1.2.1.tar.gz https://github.com/downloads/facebook/tornado/tornado-1.2.1.tar.gz | ||
| fi | ||
|
|
||
| tar xzf tornado-1.2.1.tar.gz | ||
| echo "renaming folder name..." | ||
| mv tornado-1.2.1 tornado-ap-1.2.1 | ||
| echo "packing sources..." | ||
| tar czf tornado-ap-1.2.1.tar.gz tornado-ap-1.2.1 | ||
| echo "remove temporary sourcedir..." | ||
| rm -rf tornado-ap-1.2.1 |