From abebea4571671dc5c770573182e331cff8e3e1be Mon Sep 17 00:00:00 2001 From: Alexander Pipelka Date: Wed, 7 Sep 2011 20:56:03 +0200 Subject: [PATCH 1/4] xbmc: added xbmc-addon-xvdr package --- packages/mediacenter/xbmc-addon-xvdr/build | 37 ++++++++++++++++++++ packages/mediacenter/xbmc-addon-xvdr/install | 29 +++++++++++++++ packages/mediacenter/xbmc-addon-xvdr/meta | 36 +++++++++++++++++++ 3 files changed, 102 insertions(+) create mode 100755 packages/mediacenter/xbmc-addon-xvdr/build create mode 100755 packages/mediacenter/xbmc-addon-xvdr/install create mode 100644 packages/mediacenter/xbmc-addon-xvdr/meta diff --git a/packages/mediacenter/xbmc-addon-xvdr/build b/packages/mediacenter/xbmc-addon-xvdr/build new file mode 100755 index 0000000000..b415ce0996 --- /dev/null +++ b/packages/mediacenter/xbmc-addon-xvdr/build @@ -0,0 +1,37 @@ +#!/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 + +# some fixes for autoreconf + touch NEWS AUTHORS ChangeLog + do_autoreconf + +CXXFLAGS="-DZLIB_INTERNAL=1" ./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr/share/xbmc \ + --disable-static \ + --enable-shared + +make diff --git a/packages/mediacenter/xbmc-addon-xvdr/install b/packages/mediacenter/xbmc-addon-xvdr/install new file mode 100755 index 0000000000..59ec12b0e6 --- /dev/null +++ b/packages/mediacenter/xbmc-addon-xvdr/install @@ -0,0 +1,29 @@ +#!/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 $INSTALL/usr/share/xbmc/addons/pvr.vdr.xvdr + cp -PRf $PKG_BUILD/addons/pvr.vdr.xvdr/resources $INSTALL/usr/share/xbmc/addons/pvr.vdr.xvdr + cp -Pf $PKG_BUILD/addons/pvr.vdr.xvdr/addon.xml $INSTALL/usr/share/xbmc/addons/pvr.vdr.xvdr + cp -Pf $PKG_BUILD/addons/pvr.vdr.xvdr/icon.png $INSTALL/usr/share/xbmc/addons/pvr.vdr.xvdr + cp -Pf $PKG_BUILD/addons/pvr.vdr.xvdr/XBMC_VDR_xvdr.pvr $INSTALL/usr/share/xbmc/addons/pvr.vdr.xvdr diff --git a/packages/mediacenter/xbmc-addon-xvdr/meta b/packages/mediacenter/xbmc-addon-xvdr/meta new file mode 100644 index 0000000000..c6cfcee1f5 --- /dev/null +++ b/packages/mediacenter/xbmc-addon-xvdr/meta @@ -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="xbmc-addon-xvdr" +PKG_VERSION="eb05616" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="" +PKG_URL="http://dl.dropbox.com/u/240579/xbmc-addon-xvdr/xbmc-addon-xvdr-$PKG_VERSION.tar.gz" +PKG_DEPENDS="zlib" +PKG_BUILD_DEPENDS="toolchain zlib" +PKG_PRIORITY="optional" +PKG_SECTION="mediacenter" +PKG_SHORTDESC="XVDR addon for XBMC" +PKG_LONGDESC="This addon allows XBMC PVR to connect to the VDR server." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no" From 960a3b9ae55a4fcb5c91a85fd81ed9bd2235abb6 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 2 Nov 2011 12:45:14 +0100 Subject: [PATCH 2/4] xbmc-addon-xvdr: cosmetics Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc-addon-xvdr/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/mediacenter/xbmc-addon-xvdr/build b/packages/mediacenter/xbmc-addon-xvdr/build index b415ce0996..56dbe11d80 100755 --- a/packages/mediacenter/xbmc-addon-xvdr/build +++ b/packages/mediacenter/xbmc-addon-xvdr/build @@ -28,7 +28,8 @@ cd $PKG_BUILD touch NEWS AUTHORS ChangeLog do_autoreconf -CXXFLAGS="-DZLIB_INTERNAL=1" ./configure --host=$TARGET_NAME \ +CXXFLAGS="-DZLIB_INTERNAL=1" \ +./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr/share/xbmc \ --disable-static \ From 341c7d3ef97e17234acb94459728e186fe2460c2 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 2 Nov 2011 12:45:38 +0100 Subject: [PATCH 3/4] xbmc: install xbmc-addon-xvdr per default Signed-off-by: Stephan Raue --- packages/mediacenter/xbmc/meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mediacenter/xbmc/meta b/packages/mediacenter/xbmc/meta index 52529ac9ff..26ec0a9e95 100644 --- a/packages/mediacenter/xbmc/meta +++ b/packages/mediacenter/xbmc/meta @@ -26,7 +26,7 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.xbmc.org" #PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_URL="http://gujs.openelec.tv/sources/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS="boost Python zlib bzip2 lzo pcre alsa-lib libass enca curl libssh rtmpdump $MESA glew fontconfig fribidi $LIBJPEG libpng tiff freetype jasper libmad libsamplerate libogg libvorbis libcdio libmodplug faad2 flac lame libmpeg2 SDL SDL_mixer SDL_image yajl sqlite mysql alsa bc xbmc-addon-settings" +PKG_DEPENDS="boost Python zlib bzip2 lzo pcre alsa-lib libass enca curl libssh rtmpdump $MESA glew fontconfig fribidi $LIBJPEG libpng tiff freetype jasper libmad libsamplerate libogg libvorbis libcdio libmodplug faad2 flac lame libmpeg2 SDL SDL_mixer SDL_image yajl sqlite mysql alsa bc xbmc-addon-settings xbmc-addon-xvdr " PKG_BUILD_DEPENDS="toolchain boost Python zlib bzip2 lzo pcre alsa-lib libass enca curl libssh rtmpdump $MESA glew fontconfig fribidi $LIBJPEG libpng tiff freetype jasper libmad libsamplerate libogg libvorbis libcdio libmodplug faad2 flac lame libmpeg2 SDL SDL_mixer SDL_image yajl sqlite mysql" PKG_PRIORITY="optional" PKG_SECTION="mediacenter" From d2a5ad0fb53427247d16c5e24211044d09a235b4 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 2 Nov 2011 17:58:41 +0100 Subject: [PATCH 4/4] mesa: fix build Signed-off-by: Stephan Raue --- packages/graphics/mesa/build | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/graphics/mesa/build b/packages/graphics/mesa/build index c7ea0358bf..2a7cde4b55 100755 --- a/packages/graphics/mesa/build +++ b/packages/graphics/mesa/build @@ -92,6 +92,18 @@ DRI_DRIVER_SEARCH_DIR="$XORG_PATH_DRI" \ --with-dri-drivers="$DRI_DRIVERS" \ --with-x \ +make CC="$HOST_CC" \ + CXX="$HOST_CXX" \ + CFLAGS="$HOST_CFLAGS" \ + CXXFLAGS="$HOST_CXXFLAGS" \ + LDFLAGS="$HOST_LDFLAGS" \ + -C src/glsl builtin_compiler + +cp src/glsl/builtin_compiler $ROOT/$TOOLCHAIN/bin +make -C src/glsl clean + +sed -e "s#\.\/builtin_compiler#$ROOT/$TOOLCHAIN/bin/builtin_compiler#g" -i src/glsl/Makefile + make $MAKEINSTALL