Merge branch 'openelec-eden' of github.com:OpenELEC/OpenELEC.tv into openelec-pvr

This commit is contained in:
Stephan Raue 2011-09-02 17:33:06 +02:00
commit db9b8f82cb
96 changed files with 4520 additions and 12951 deletions

35
packages/3rdparty/multimedia/airplayer/meta vendored Executable file
View File

@ -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="airplayer"
PKG_VERSION="7776e54"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/PascalW/Airplayer"
PKG_URL="http://dl.dropbox.com/u/8224157/OpenELEC-Ultra/addons/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="Airplayer: script to make media playing software Airplay-compatible."
PKG_LONGDESC="Airplayer is a script to make media playing software Airplay-compatible. Airplayer features pluggable backends, making it possible to support different media players."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

39
packages/3rdparty/multimedia/libao/build vendored Executable file
View File

@ -0,0 +1,39 @@
#!/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
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--datadir=/usr/share \
--localstatedir=/var \
--disable-esd \
--disable-esdtest \
--disable-pulse \
--enable-alsa \
--prefix /storage/.xbmc/addons/service.multimedia.Airplayer-Suite
make

35
packages/3rdparty/multimedia/libao/meta vendored Executable file
View File

@ -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="libao"
PKG_VERSION="1.1.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/Andywebs/shairport"
PKG_URL="http://downloads.xiph.org/releases/ao/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="libao: a cross platform audio library"
PKG_LONGDESC="Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -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

35
packages/3rdparty/multimedia/pybonjour/meta vendored Executable file
View File

@ -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="pybonjour"
PKG_VERSION="1.1.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://pybonjour.googlecode.com/"
PKG_URL="http://pybonjour.googlecode.com/files/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="Python"
PKG_PRIORITY="optional"
PKG_SECTION="service/multimedia"
PKG_SHORTDESC="pybonjour: A Zeroconf mDNS/DNS-SD responder"
PKG_LONGDESC="Pybonjour is a framework for Multicast DNS Service Discovery (mDNS/DNS-SD a.k.a. Zeroconf) on Linux. It allows programs to publish and discover services running on a local network with no specific configuration. For example, you can plug into a network and instantly find printers to print to, files to look at, and people to talk to."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

36
packages/3rdparty/multimedia/shairport/build vendored Executable file
View File

@ -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
cd $PKG_BUILD
# fix me :(
LIBAO_DIR=../libao-1.1.0
# large buffer
sed -i 's|#define BUFFER_FRAMES 320|#define BUFFER_FRAMES 1024|g' hairtunes.h
sed -i 's|read = ab_read + 10;|read = ab_read + 50;|g' hairtunes.c
CFLAGS="-O2 -Wall -I$LIBAO_DIR/include" \
LDFLAGS="-lm -lpthread -L$LIBAO_DIR/src/.libs -lao -lssl" \
make

35
packages/3rdparty/multimedia/shairport/meta vendored Executable file
View File

@ -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="shairport"
PKG_VERSION="346db95"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/Andywebs/shairport"
PKG_URL="http://dl.dropbox.com/u/8224157/OpenELEC-Ultra/addons/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="network"
PKG_SHORTDESC="shairport: emulates AirPort Express"
PKG_LONGDESC="ShairPort emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -0,0 +1,66 @@
diff -uNr shairport_orig/Makefile shairport/Makefile
--- shairport_orig/Makefile 2011-08-09 23:07:40.000000000 +0200
+++ shairport/Makefile 2011-08-15 20:02:36.000000000 +0200
@@ -1,5 +1,5 @@
-CFLAGS:=-O2 -Wall $(shell pkg-config --cflags openssl ao)
-LDFLAGS:=-lm -lpthread $(shell pkg-config --libs openssl ao)
+CFLAGS?=-O2 -Wall $(shell pkg-config --cflags openssl ao)
+LDFLAGS?=-lm -lpthread $(shell pkg-config --libs openssl ao)
OBJS=socketlib.o shairport.o alac.o hairtunes.o
all: hairtunes shairport
diff -uNr shairport_orig/shairport.c shairport/shairport.c
--- shairport_orig/shairport.c 2011-08-09 23:07:40.000000000 +0200
+++ shairport/shairport.c 2011-08-09 11:37:52.000000000 +0200
@@ -51,6 +51,9 @@
#define HEADER_LOG_LEVEL LOG_DEBUG
#define AVAHI_LOG_LEVEL LOG_DEBUG
+char tAoDeviceName[56] = "";
+char tAoDriver[56] = "";
+
int main(int argc, char **argv)
{
char tHWID[HWID_SIZE] = {0,51,52,53,54,55};
@@ -129,6 +132,14 @@
{
kCurrentLogLevel = LOG_DEBUG_VV;
}
+ else if(!strncmp(arg, "--ao_driver=", 12))
+ {
+ strncpy(tAoDriver, arg+12, 55);
+ }
+ else if(!strncmp(arg, "--ao_devicename=", 16))
+ {
+ strncpy(tAoDeviceName, arg+16, 55);
+ }
else if(!strcmp(arg, "-h") || !strcmp(arg, "--help"))
{
slog(LOG_INFO, "ShairPort version 0.05 C port - Airport Express emulator\n");
@@ -140,6 +151,8 @@
slog(LOG_INFO, " -d Daemon mode\n");
slog(LOG_INFO, " -q, --quiet Supresses all output.\n");
slog(LOG_INFO, " -v,-v2,-v3,-vv Various debugging levels\n");
+ slog(LOG_INFO, " --ao_driver=driver Sets the ao driver (optional)\n");
+ slog(LOG_INFO, " --ao_devicename=devicename Sets the ao device name (optional)\n");
slog(LOG_INFO, "\n");
return 0;
}
@@ -731,8 +744,6 @@
slog(LOG_DEBUG_V, "Got %d for CPort and %d for TPort\n", tControlport, tTimingport);
char *tRtp = NULL;
char *tPipe = NULL;
- char *tAoDriver = NULL;
- char *tAoDeviceName = NULL;
char *tAoDeviceId = NULL;
// *************************************************
@@ -758,7 +769,7 @@
}
cleanupBuffers(pConn);
hairtunes_init(tKeys->aeskey, tKeys->aesiv, tKeys->fmt, tControlport, tTimingport,
- tDataport, tRtp, tPipe, tAoDriver, tAoDeviceName, tAoDeviceId);
+ tDataport, tRtp, tPipe, tAoDriver[0]!='\0'?tAoDriver:NULL, tAoDeviceName[0]!='\0'?tAoDeviceName:NULL, tAoDeviceId);
// Quit when finished.
slog(LOG_DEBUG, "Returned from hairtunes init....returning -1, should close out this whole side of the fork\n");

View File

@ -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

View File

@ -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="simplejson-ap"
PKG_VERSION="2.1.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://pypi.python.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="simplejson: JSON encoder and decoder for Python"
PKG_LONGDESC="simplejson is a simple, fast, complete, correct and extensible JSON <http://json.org> encoder and decoder for Python 2.5+. It is pure Python code with no dependencies, but includes an optional C extension for a serious speed boost."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

36
packages/3rdparty/multimedia/tornado-ap/build vendored Executable file
View File

@ -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

35
packages/3rdparty/multimedia/tornado-ap/meta vendored Executable file
View File

@ -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"

View File

@ -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/

View File

@ -0,0 +1,2 @@
0.99.5
- initial version airplayer-7776e54 and shairport-346db95

View File

@ -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>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -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"

View File

@ -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;
}

View File

@ -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

View File

@ -18,10 +18,6 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
#
# setup cdrom settings
#
# runlevels: openelec, installer, textmode
import xbmc, time, os, subprocess
progress "Deactivate CDROM lock"
sysctl -w dev.cdrom.lock=0 > /dev/null 2>&1 &
os.system("Airplayer-Suite.service")

View File

@ -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>

View File

@ -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>

View File

@ -24,7 +24,7 @@ PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/gdb/"
PKG_URL="http://ftp.gnu.org/gnu/gdb/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="http://ftp.gnu.org/gnu/gdb/$PKG_NAME-${PKG_VERSION}a.tar.bz2"
PKG_DEPENDS="ncurses expat"
PKG_BUILD_DEPENDS="toolchain ncurses expat"
PKG_PRIORITY="optional"

View File

@ -26,6 +26,6 @@ $SCRIPTS/unpack boost
setup_toolchain host
cd $BUILD/boost*/tools/build/v2/engine/src
cd $BUILD/boost*/tools/build/v2/engine
sh build.sh
cp bin.*/bjam $ROOT/$TOOLCHAIN/bin

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="boost"
PKG_VERSION="1_46_0"
PKG_VERSION="1_47_0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="glew"
PKG_VERSION="1.6.0"
PKG_VERSION="1.7.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="BSD"

View File

@ -29,5 +29,5 @@ mkdir -p $INSTALL/sbin
cp -P $UTIL_LINUX_DIR/fsck/.libs/fsck $INSTALL/sbin
mkdir -p $INSTALL/lib
cp -P $UTIL_LINUX_DIR/shlibs/blkid/src/.libs/libblkid.so* $INSTALL/lib
cp -P $UTIL_LINUX_DIR/shlibs/uuid/src/.libs/libuuid.so* $INSTALL/lib
cp -P $UTIL_LINUX_DIR/libblkid/src/.libs/libblkid.so* $INSTALL/lib
cp -P $UTIL_LINUX_DIR/libuuid/src/.libs/libuuid.so* $INSTALL/lib

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="linux"
PKG_VERSION="3.0.3"
PKG_VERSION="3.0.4"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="xbmc-theme-Confluence"
PKG_VERSION="e6b1484"
PKG_VERSION="9389dc8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -39,6 +39,7 @@ progress "setup XBMC"
cat > $HOME/.xbmc/userdata/advancedsettings.xml << EOF
<advancedsettings>
<useddsfanart>true</useddsfanart>
<splash>false</splash>
<cputempcommand>cputemp</cputempcommand>
<gputempcommand>gputemp</gputempcommand>
<samba>

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="xbmc"
PKG_VERSION="e6b1484"
PKG_VERSION="9389dc8"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -1,7 +1,7 @@
diff -Naur xbmc-pvr-3513480/configure.in xbmc-pvr-3513480.patch/configure.in
--- xbmc-pvr-3513480/configure.in 2011-04-25 02:36:33.000000000 +0200
+++ xbmc-pvr-3513480.patch/configure.in 2011-04-25 03:05:04.609266887 +0200
@@ -380,6 +380,14 @@
diff -Naur xbmc-9389dc8/configure.in xbmc-9389dc8.patch/configure.in
--- xbmc-9389dc8/configure.in 2011-09-01 17:21:47.000000000 +0200
+++ xbmc-9389dc8.patch/configure.in 2011-09-01 23:30:40.419399392 +0200
@@ -428,6 +428,14 @@
esac
AC_SUBST([ARCH])
@ -16,7 +16,7 @@ diff -Naur xbmc-pvr-3513480/configure.in xbmc-pvr-3513480.patch/configure.in
# platform debug flags
if test "$use_debug" = "yes"; then
final_message="$final_message\n Debugging:\tYes"
@@ -1090,7 +1098,6 @@
@@ -1177,7 +1185,6 @@
fi
fi
@ -24,7 +24,7 @@ diff -Naur xbmc-pvr-3513480/configure.in xbmc-pvr-3513480.patch/configure.in
# Checks for header files.
AC_HEADER_DIRENT
@@ -1279,12 +1286,6 @@
@@ -1408,12 +1415,6 @@
final_message="$final_message\n Avahi:\tNo"
fi

View File

@ -1,7 +1,7 @@
diff -Naur xbmc-eedceeb/xbmc/settings/GUISettings.cpp xbmc-eedceeb.patch/xbmc/settings/GUISettings.cpp
--- xbmc-eedceeb/xbmc/settings/GUISettings.cpp 2011-06-18 21:30:30.000000000 +0200
+++ xbmc-eedceeb.patch/xbmc/settings/GUISettings.cpp 2011-06-18 22:02:53.535611620 +0200
@@ -422,7 +422,8 @@
diff -Naur xbmc-9389dc8/xbmc/settings/GUISettings.cpp xbmc-9389dc8.patch/xbmc/settings/GUISettings.cpp
--- xbmc-9389dc8/xbmc/settings/GUISettings.cpp 2011-09-01 23:34:05.267139356 +0200
+++ xbmc-9389dc8.patch/xbmc/settings/GUISettings.cpp 2011-09-01 23:34:52.098765331 +0200
@@ -423,7 +423,8 @@
AddString(vs, "videoscreen.testpattern",226,"", BUTTON_CONTROL_STANDARD);
#endif
#if defined(_LINUX) && !defined(__APPLE__)

View File

@ -1,18 +1,18 @@
diff -Naur xbmc-1d9a8e0/configure.in xbmc-1d9a8e0.patch/configure.in
--- xbmc-1d9a8e0/configure.in 2011-08-09 06:37:07.000000000 +0200
+++ xbmc-1d9a8e0.patch/configure.in 2011-08-09 06:58:57.094093611 +0200
@@ -66,6 +66,8 @@
xrandr_disabled="== XRandR support disabled. SDL will be used for resolution support. =="
goom_enabled="== GOOM enabled. =="
diff -Naur xbmc-9389dc8/configure.in xbmc-9389dc8.patch/configure.in
--- xbmc-9389dc8/configure.in 2011-09-01 23:34:05.488142309 +0200
+++ xbmc-9389dc8.patch/configure.in 2011-09-01 23:51:26.371021628 +0200
@@ -68,6 +68,8 @@
goom_disabled="== GOOM disabled. =="
rsxs_enabled="== RSXS enabled. =="
rsxs_disabled="== RSXS disabled. =="
+xbmcprojectm_enabled="== XBMCProjectM enabled. =="
+xbmxprojectm_disabled="== XBMCProjectM disabled. =="
x11_enabled="== X11 enabled. =="
x11_disabled="== X11 disabled. =="
pulse_not_found="== Could not find libpulse. PulseAudio support disabled. =="
pulse_disabled="== PulseAudio support manually disabled. =="
dvdcss_enabled="== DVDCSS support enabled. =="
@@ -208,6 +210,12 @@
[use_goom=$enableval],
[use_goom=no])
@@ -219,6 +221,12 @@
[use_rsxs=$enableval],
[use_rsxs=yes])
+AC_ARG_ENABLE([xbmcprojectm],
+ [AS_HELP_STRING([--enable-xbmcprojectm],
@ -20,27 +20,27 @@ diff -Naur xbmc-1d9a8e0/configure.in xbmc-1d9a8e0.patch/configure.in
+ [use_xbmcprojectm=$enableval],
+ [use_xbmcprojectm=yes])
+
AC_ARG_ENABLE([ccache],
[AS_HELP_STRING([--enable-ccache],
[enable building with ccache feature (default is auto)])],
@@ -803,6 +811,15 @@
AC_ARG_ENABLE([x11],
[AS_HELP_STRING([--enable-x11],
[enable x11 (default is yes) 'Linux Only'])],
@@ -850,6 +858,15 @@
fi
fi
+# XBMCPROJECTM
+if test "$use_xbmcprojectm" = "yes" && test "use_gl" == "yes"; then
+ AC_MSG_NOTICE($xbmcprojectm_enabled)
+ DISABLE_XBMCPROJECTM=0
+else
+if test "$use_xbmcprojectm" = "no" || test "$use_gl" = "no"; then
+ AC_MSG_NOTICE($xbmcprojectm_disabled)
+ DISABLE_XBMCPROJECTM=1
+else
+ AC_MSG_NOTICE($xbmcprojectm_enabled)
+ DISABLE_XBMCPROJECTM=0
+fi
+
# libRTMP
if test "$use_librtmp" != "no"; then
AC_CHECK_HEADERS([librtmp/log.h librtmp/amf.h librtmp/rtmp.h],,
@@ -1266,6 +1283,12 @@
final_message="$final_message\n GOOM:\t\tNo"
@@ -1324,6 +1341,12 @@
final_message="$final_message\n RSXS:\t\tNo"
fi
+if test "$use_xbmcprojectm" = "yes"; then
@ -49,18 +49,18 @@ diff -Naur xbmc-1d9a8e0/configure.in xbmc-1d9a8e0.patch/configure.in
+ final_message="$final_message\n XBMCProjectM:\tNo"
+fi
+
if test "$use_libbluray" = "yes"; then
final_message="$final_message\n Bluray:\tYes"
if test "$use_x11" = "yes"; then
final_message="$final_message\n X11:\t\tYes"
else
@@ -1495,6 +1518,7 @@
AC_SUBST(SDL_DEFINES)
@@ -1553,6 +1576,7 @@
AC_SUBST(BUILD_DVDCSS)
AC_SUBST(DISABLE_GOOM)
AC_SUBST(DISABLE_RSXS)
+AC_SUBST(DISABLE_XBMCPROJECTM)
AC_SUBST(USE_EXTERNAL_FFMPEG)
AC_SUBST(PYTHON_VERSION)
AC_SUBST(OUTPUT_FILES)
@@ -1739,7 +1763,7 @@
@@ -1797,7 +1821,7 @@
fi
set +x
fi
@ -69,9 +69,9 @@ diff -Naur xbmc-1d9a8e0/configure.in xbmc-1d9a8e0.patch/configure.in
XB_CONFIG_MODULE([xbmc/visualizations/Goom/goom2k4-0],[
./configure \
diff -Naur xbmc-1d9a8e0/Makefile.in xbmc-1d9a8e0.patch/Makefile.in
--- xbmc-1d9a8e0/Makefile.in 2011-08-09 06:37:11.000000000 +0200
+++ xbmc-1d9a8e0.patch/Makefile.in 2011-08-09 07:01:36.862090884 +0200
diff -Naur xbmc-9389dc8/Makefile.in xbmc-9389dc8.patch/Makefile.in
--- xbmc-9389dc8/Makefile.in 2011-09-01 23:34:05.581143554 +0200
+++ xbmc-9389dc8.patch/Makefile.in 2011-09-01 23:52:59.832272157 +0200
@@ -144,8 +144,10 @@
ifeq (@USE_OPENGL@,1)
VIS_DIRS+=\
@ -80,7 +80,7 @@ diff -Naur xbmc-1d9a8e0/Makefile.in xbmc-1d9a8e0.patch/Makefile.in
- xbmc/visualizations/XBMCProjectM
+ xbmc/visualizations/WaveForm
+ifneq (@DISABLE_XBMCPROJECTM@,1)
+VIS_DIRS+=xbmc/visualizations/XBMCProjectM
+ VIS_DIRS+=xbmc/visualizations/XBMCProjectM
+endif
endif

View File

@ -1,85 +0,0 @@
diff -Naur xbmc-1d9a8e0/configure.in xbmc-1d9a8e0.patch/configure.in
--- xbmc-1d9a8e0/configure.in 2011-08-09 07:03:00.703139237 +0200
+++ xbmc-1d9a8e0.patch/configure.in 2011-08-09 07:03:18.731364683 +0200
@@ -68,6 +68,8 @@
goom_disabled="== GOOM disabled. =="
xbmcprojectm_enabled="== XBMCProjectM enabled. =="
xbmxprojectm_disabled="== XBMCProjectM disabled. =="
+rsxs_enabled="== RSXS enabled. =="
+rsxs_disabled="== RSXS disabled. =="
pulse_not_found="== Could not find libpulse. PulseAudio support disabled. =="
pulse_disabled="== PulseAudio support manually disabled. =="
dvdcss_enabled="== DVDCSS support enabled. =="
@@ -216,6 +218,12 @@
[use_xbmcprojectm=$enableval],
[use_xbmcprojectm=yes])
+AC_ARG_ENABLE([rsxs],
+ [AS_HELP_STRING([--enable-rsxs],
+ [enable RSXS Screensaver (default is yes)])],
+ [use_rsxs=$enableval],
+ [use_rsxs=yes])
+
AC_ARG_ENABLE([ccache],
[AS_HELP_STRING([--enable-ccache],
[enable building with ccache feature (default is auto)])],
@@ -820,6 +828,15 @@
DISABLE_XBMCPROJECTM=1
fi
+# RSXS
+if test "$use_rsxs" = "yes" && test "use_gl" == "yes"; then
+ AC_MSG_NOTICE($rsxs_enabled)
+ DISABLE_RSXS=0
+else
+ AC_MSG_NOTICE($rsxs_disabled)
+ DISABLE_RSXS=1
+fi
+
# libRTMP
if test "$use_librtmp" != "no"; then
AC_CHECK_HEADERS([librtmp/log.h librtmp/amf.h librtmp/rtmp.h],,
@@ -1289,6 +1306,12 @@
final_message="$final_message\n XBMCProjectM:\tNo"
fi
+if test "$use_rsxs" = "yes"; then
+ final_message="$final_message\n RSXS:\t\tYes"
+else
+ final_message="$final_message\n RSXS:\t\tNo"
+fi
+
if test "$use_libbluray" = "yes"; then
final_message="$final_message\n Bluray:\tYes"
else
@@ -1519,6 +1542,7 @@
AC_SUBST(BUILD_DVDCSS)
AC_SUBST(DISABLE_GOOM)
AC_SUBST(DISABLE_XBMCPROJECTM)
+AC_SUBST(DISABLE_RSXS)
AC_SUBST(USE_EXTERNAL_FFMPEG)
AC_SUBST(PYTHON_VERSION)
AC_SUBST(OUTPUT_FILES)
@@ -1801,7 +1825,7 @@
--disable-lattice \
--disable-skyrocket
fi
-], [0])
+], [$DISABLE_RSXS])
XB_CONFIG_MODULE([lib/libapetag], [
./configure \
diff -Naur xbmc-1d9a8e0/Makefile.in xbmc-1d9a8e0.patch/Makefile.in
--- xbmc-1d9a8e0/Makefile.in 2011-08-09 07:03:00.704139249 +0200
+++ xbmc-1d9a8e0.patch/Makefile.in 2011-08-09 07:05:02.890667374 +0200
@@ -137,8 +137,10 @@
SS_DIRS=
ifeq (@USE_OPENGL@,1)
+ifneq (@DISABLE_RSXS@,1)
SS_DIRS+= xbmc/screensavers/rsxs-0.9/xbmc
endif
+endif
VIS_DIRS=
ifeq (@USE_OPENGL@,1)

View File

@ -64,7 +64,7 @@ ac_cv_func_chroot=no \
--disable-manpages \
--disable-xmltoman \
--disable-tests \
--disable-compat-libdns_sd \
--enable-compat-libdns_sd \
--disable-compat-howl \
--with-xml=expat \
--with-avahi-user=avahi \

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="LVM2"
PKG_VERSION="2.02.84"
PKG_VERSION="2.02.88"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE=""

View File

@ -24,7 +24,7 @@ PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="APSL"
PKG_SITE="http://src.gnu-darwin.org/DarwinSourceArchive/expanded/diskdev_cmds/"
PKG_URL="http://src.gnu-darwin.org/DarwinSourceArchive/apsl/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_URL="http://www.opensource.apple.com/tarballs/diskdev_cmds/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="openssl"
PKG_BUILD_DEPENDS="toolchain openssl"
PKG_PRIORITY="optional"

View File

@ -34,12 +34,12 @@ cd $PKG_BUILD
--enable-shared \
--disable-man-pages \
--disable-gtk-doc \
--enable-gtk-doc-html \
--enable-gtk-doc-pdf \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
--disable-lvm2 \
--disable-dmmp \
--disable-remote-access \
--disable-nls \
--enable-nls \
make

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="udisks"
PKG_VERSION="1.0.3"
PKG_VERSION="1.0.4"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"

View File

@ -34,13 +34,16 @@ gt_cv_func_gnugettext1_libintl=no \
--enable-tls \
--disable-mount \
--disable-fsck \
--disable-partx \
--enable-libuuid \
--enable-uuidd \
--enable-libblkid \
--disable-libmount \
--disable-mountpoint \
--enable-nls \
--disable-rpath \
--disable-arch \
--disable-ddate \
--disable-agetty \
--disable-cramfs \
--disable-switch-root \
@ -48,11 +51,10 @@ gt_cv_func_gnugettext1_libintl=no \
--disable-fallocate \
--disable-unshare \
--disable-elvtune \
--disable-init \
--disable-kill \
--disable-last \
--disable-line \
--disable-mesg \
--disable-partx \
--disable-raw \
--disable-rename \
--disable-reset \
@ -80,9 +82,9 @@ make -C fsck fsck
make -C mount swapon
make -C misc-utils blkid
make -C sys-utils fstrim
make -C shlibs/uuid
make -C shlibs/blkid
make -C libuuid
make -C libblkid
# libuuid must be installed before libblkid!!!
$MAKEINSTALL -C shlibs/uuid
$MAKEINSTALL -C shlibs/blkid
$MAKEINSTALL -C libuuid
$MAKEINSTALL -C libblkid

View File

@ -30,7 +30,7 @@ mkdir -p $INSTALL/sbin
cp $PKG_BUILD/fsck/.libs/fsck $INSTALL/sbin
mkdir -p $INSTALL/usr/lib
cp -PR $PKG_BUILD/shlibs/blkid/src/.libs/libblkid.so* $INSTALL/usr/lib
cp -PR $PKG_BUILD/libblkid/src/.libs/libblkid.so* $INSTALL/usr/lib
rm -rf $INSTALL/usr/lib/libblkid.so*T
cp -PR $PKG_BUILD/shlibs/uuid/src/.libs/libuuid.so* $INSTALL/usr/lib
cp -PR $PKG_BUILD/libuuid/src/.libs/libuuid.so* $INSTALL/usr/lib
rm -rf $INSTALL/usr/lib/libuuid.so*T

View File

@ -19,12 +19,12 @@
################################################################################
PKG_NAME="util-linux"
PKG_VERSION="2.19.1"
PKG_VERSION="2.20"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://userweb.kernel.org/~kzak/util-linux-ng/"
PKG_URL="http://www.kernel.org/pub/linux/utils/util-linux-ng/v2.19/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_URL="http://www.kernel.org/pub/linux/utils/util-linux/v2.20/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="xf86-video-nvidia"
PKG_VERSION="280.13"
PKG_VERSION="285.03"
PKG_REV="1"
PKG_ARCH="i386 x86_64"
PKG_LICENSE="nonfree"

View File

@ -78,7 +78,7 @@
PROJECT_CFLAGS=""
# LTO (Link Time Optimazion) support
LTO_SUPPORT="no"
LTO_SUPPORT="yes"
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"

View File

@ -1,6 +1,6 @@
#
# Automatically generated make config: don't edit
# Linux/i386 3.0.3 Kernel Configuration
# Linux/i386 3.0.4 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
@ -1001,7 +1001,7 @@ CONFIG_NETDEV_1000=y
CONFIG_R8169=y
# CONFIG_SIS190 is not set
# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
CONFIG_SKY2=y
# CONFIG_VIA_VELOCITY is not set
# CONFIG_TIGON3 is not set
# CONFIG_BNX2 is not set

View File

@ -78,7 +78,7 @@
PROJECT_CFLAGS="-mfpmath=sse -msse2" # -mssse3 removed for Llano compatibility
# LTO (Link Time Optimazion) support
LTO_SUPPORT="no"
LTO_SUPPORT="yes"
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"

View File

@ -764,8 +764,7 @@ CONFIG_STANDALONE=y
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="radeon/BARTS_mc.bin radeon/BARTS_me.bin radeon/BARTS_pfp.bin radeon/BTC_rlc.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin radeon/CAICOS_pfp.bin radeon/CAYMAN_mc.bin radeon/CAYMAN_me.bin radeon/CAYMAN_pfp.bin radeon/CAYMAN_rlc.bin radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin radeon/CYPRESS_rlc.bin radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin radeon/JUNIPER_rlc.bin radeon/PALM_me.bin radeon/PALM_pfp.bin radeon/R600_rlc.bin radeon/R700_rlc.bin radeon/REDWOOD_me.bin radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin radeon/SUMO_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin"
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
@ -2105,8 +2104,7 @@ CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_TTM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=y
CONFIG_DRM_RADEON_KMS=y
# CONFIG_DRM_RADEON is not set
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
# CONFIG_DRM_MGA is not set

View File

@ -78,7 +78,7 @@
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
# LTO (Link Time Optimazion) support
LTO_SUPPORT="no"
LTO_SUPPORT="yes"
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"
@ -184,7 +184,7 @@
# 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 nvidia vmware"
GRAPHIC_DRIVERS="fglrx i915 i965 nvidia vmware"
# Use VDPAU video acceleration (needs nVidia driver and a supported card)
VDPAU="yes"

File diff suppressed because it is too large Load Diff

View File

@ -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"

View File

@ -78,7 +78,7 @@
PROJECT_CFLAGS="-mfpmath=sse -msse2 -mssse3 -mmovbe"
# LTO (Link Time Optimazion) support
LTO_SUPPORT="no"
LTO_SUPPORT="yes"
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"

View File

@ -78,7 +78,7 @@
PROJECT_CFLAGS="-mfpmath=sse -msse2 -mssse3"
# LTO (Link Time Optimazion) support
LTO_SUPPORT="no"
LTO_SUPPORT="yes"
# GOLD (Google Linker) support
GOLD_SUPPORT="yes"

43
tools/mkpkg/mkpkg_airplayer Executable file
View File

@ -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

43
tools/mkpkg/mkpkg_shairport Executable file
View File

@ -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

34
tools/mkpkg/mkpkg_simplejson-ap Executable file
View File

@ -0,0 +1,34 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
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

34
tools/mkpkg/mkpkg_tornado-ap Executable file
View File

@ -0,0 +1,34 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
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