From 2c4c775e66524fd6294eef1d8d3c249af96e9988 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Fri, 11 May 2012 14:54:52 +0300 Subject: [PATCH 1/9] xdotool: fix build depends --- packages/3rdparty/x11/app/xdotool/meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/3rdparty/x11/app/xdotool/meta b/packages/3rdparty/x11/app/xdotool/meta index b4bfc9d227..40d8b1301c 100644 --- a/packages/3rdparty/x11/app/xdotool/meta +++ b/packages/3rdparty/x11/app/xdotool/meta @@ -26,7 +26,7 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.semicomplete.com/projects/xdotool/" PKG_URL="http://semicomplete.googlecode.com/files/${PKG_NAME}-${PKG_VERSION}.tar.gz" PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain" +PKG_BUILD_DEPENDS="toolchain libXtst libXinerama" PKG_PRIORITY="optional" PKG_SECTION="x11/app" PKG_SHORTDESC="This tool lets you simulate keyboard input and mouse activity, move and resize windows, etc.." From eed38d18272b348feb56333b8d640853fbdc9993 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 11 May 2012 15:00:02 +0300 Subject: [PATCH 2/9] new package: imlib2 --- packages/3rdparty/graphics/imlib2/build | 50 +++++++++++++++++++++++++ packages/3rdparty/graphics/imlib2/meta | 35 +++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100755 packages/3rdparty/graphics/imlib2/build create mode 100755 packages/3rdparty/graphics/imlib2/meta diff --git a/packages/3rdparty/graphics/imlib2/build b/packages/3rdparty/graphics/imlib2/build new file mode 100755 index 0000000000..b02be3e17b --- /dev/null +++ b/packages/3rdparty/graphics/imlib2/build @@ -0,0 +1,50 @@ +#!/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 + +VDR_ADDON_DIR="/storage/.xbmc/addons/service.multimedia.vdr-addon" + +cd $PKG_BUILD + +case "$TARGET_ARCH" in + i386) + MMX_ARG="--enable-mmx --disable-amd64" + ;; + x86_64) + MMX_ARG="--enable-mmx --enable-amd64" + ;; + *) + MMX_ARG="--disable-mmx --disable-amd64" + ;; +esac + +./configure --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --prefix=/usr \ + --sysconfdir=/etc \ + $MMX_ARG + +sed -i "s|#define SYS_LOADERS_PATH .*|#define SYS_LOADERS_PATH \"$VDR_ADDON_DIR/lib/imlib2\"|" src/lib/loaderpath.h + +make +$MAKEINSTALL diff --git a/packages/3rdparty/graphics/imlib2/meta b/packages/3rdparty/graphics/imlib2/meta new file mode 100755 index 0000000000..d2479b4bad --- /dev/null +++ b/packages/3rdparty/graphics/imlib2/meta @@ -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="imlib2" +PKG_VERSION="1.4.5" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://web.enlightenment.org/" +PKG_URL="$SOURCEFORGE_SRC/enlightenment/${PKG_NAME}-${PKG_VERSION}.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain libjpeg-turbo libpng tiff zlib bzip2" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="Imlib2 is a graphics library." +PKG_LONGDESC="Imlib2 is a graphics library for file loading, saving, rendering, manipulation." +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" From 6197dbbe139472ff3e453830c7444ea72e9123d2 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 11 May 2012 15:00:12 +0300 Subject: [PATCH 3/9] new package: ffmpeg --- packages/3rdparty/lib/ffmpeg/build | 65 ++++++++++++++++++++++++++++++ packages/3rdparty/lib/ffmpeg/meta | 35 ++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100755 packages/3rdparty/lib/ffmpeg/build create mode 100644 packages/3rdparty/lib/ffmpeg/meta diff --git a/packages/3rdparty/lib/ffmpeg/build b/packages/3rdparty/lib/ffmpeg/build new file mode 100755 index 0000000000..5d1ea5dbf0 --- /dev/null +++ b/packages/3rdparty/lib/ffmpeg/build @@ -0,0 +1,65 @@ +#!/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 --prefix=/usr \ + --cross-prefix=$TARGET_PREFIX \ + --arch=$TARGET_ARCH \ + --cpu=$TARGET_CPU \ + --sysroot=$SYSROOT_PREFIX \ + --sysinclude="$SYSROOT_PREFIX/usr/include" \ + --nm="$NM" \ + --ar="$AR" \ + --as="$CC" \ + --cc="$CC" \ + --ld="$CC" \ + --host-cc="$HOST_CC" \ + --host-cflags="$HOST_CFLAGS" \ + --host-ldflags="$HOST_LDFLAGS" \ + --host-libs="" \ + --extra-cflags="$CFLAGS" \ + --extra-ldflags="$LDFLAGS" \ + --build-suffix="" \ + --target-os="linux" \ + --enable-cross-compile \ + --disable-static \ + --enable-shared \ + --disable-ffmpeg \ + --disable-ffplay \ + --disable-ffprobe \ + --disable-ffserver \ + --enable-gpl \ + --enable-postproc \ + --enable-swscale \ + --enable-avfilter \ + --enable-pthreads \ + --disable-debug \ + --enable-runtime-cpudetect \ + --disable-crystalhd \ + --enable-vdpau \ + --disable-vaapi + +make +$MAKEINSTALL diff --git a/packages/3rdparty/lib/ffmpeg/meta b/packages/3rdparty/lib/ffmpeg/meta new file mode 100644 index 0000000000..49f3fb3e36 --- /dev/null +++ b/packages/3rdparty/lib/ffmpeg/meta @@ -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="ffmpeg" +PKG_VERSION="0.10.2" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="LGPL" +PKG_SITE="http://ffmpeg.org" +PKG_URL="http://ffmpeg.org/releases/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video." +PKG_LONGDESC="FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video." +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" From d177313a0357ffe02b1d15688cde9021b2d73121 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 11 May 2012 15:00:31 +0300 Subject: [PATCH 4/9] new package: xine-lib --- packages/3rdparty/lib/xine-lib/build | 43 ++++++++++++++++++++++++++++ packages/3rdparty/lib/xine-lib/meta | 35 ++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100755 packages/3rdparty/lib/xine-lib/build create mode 100644 packages/3rdparty/lib/xine-lib/meta diff --git a/packages/3rdparty/lib/xine-lib/build b/packages/3rdparty/lib/xine-lib/build new file mode 100755 index 0000000000..a1c8794eee --- /dev/null +++ b/packages/3rdparty/lib/xine-lib/build @@ -0,0 +1,43 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +VDR_GUI_ADDON_DIR="/storage/.xbmc/addons/script.video.vdr-gui" + +cd $PKG_BUILD + +./autogen.sh --host=$TARGET_NAME \ + --build=$HOST_NAME \ + --with-external-ffmpeg \ + --disable-dxr3 \ + --disable-aalib \ + --disable-vcd \ + --disable-musepack + +sed -i "s|XINE_PLUGINDIR .*|XINE_PLUGINDIR \"$VDR_GUI_ADDON_DIR/lib/xine/plugins/2.1\"|" include/configure.h +sed -i "s|XINE_PLUGINROOT .*|XINE_PLUGINROOT \"$VDR_GUI_ADDON_DIR/lib/xine/plugins/2\"|" include/configure.h + +# same for fonts and locales and copy them + +make +$MAKEINSTALL diff --git a/packages/3rdparty/lib/xine-lib/meta b/packages/3rdparty/lib/xine-lib/meta new file mode 100644 index 0000000000..1a6d579db2 --- /dev/null +++ b/packages/3rdparty/lib/xine-lib/meta @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="xine-lib" +PKG_VERSION="1-2-25f276f9211a" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.xine-project.org/" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="ffmpeg" +PKG_BUILD_DEPENDS="toolchain ffmpeg" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="xine is a high-performance, portable and reusable multimedia playback engine." +PKG_LONGDESC="xine is a high-performance, portable and reusable multimedia playback engine." +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" From b32055822c540b4681aba3d015a8fe0a533893ea Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 11 May 2012 15:01:12 +0300 Subject: [PATCH 5/9] new package: vdr-text2skin --- .../3rdparty/multimedia/vdr-text2skin/build | 36 +++++++++++++++++++ .../3rdparty/multimedia/vdr-text2skin/meta | 35 ++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100755 packages/3rdparty/multimedia/vdr-text2skin/build create mode 100644 packages/3rdparty/multimedia/vdr-text2skin/meta diff --git a/packages/3rdparty/multimedia/vdr-text2skin/build b/packages/3rdparty/multimedia/vdr-text2skin/build new file mode 100755 index 0000000000..146cb34032 --- /dev/null +++ b/packages/3rdparty/multimedia/vdr-text2skin/build @@ -0,0 +1,36 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +VDR_DIR=`basename $BUILD/vdr-[0-9]*` + +# you can not use GraphTFT together with Text2Skin if you use Imlib2! +#IMAGELIB=imagemagick +IMAGELIB=imlib2 + +cd $PKG_BUILD + +make VDRDIR="../$VDR_DIR" \ + LIBDIR="." \ + LOCALEDIR="./locale" \ + IMAGELIB=$IMAGELIB diff --git a/packages/3rdparty/multimedia/vdr-text2skin/meta b/packages/3rdparty/multimedia/vdr-text2skin/meta new file mode 100644 index 0000000000..47ddeef106 --- /dev/null +++ b/packages/3rdparty/multimedia/vdr-text2skin/meta @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="vdr-text2skin" +PKG_VERSION="20120506" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://linuxtv.org/vdrwiki/index.php/Text2skin-plugin" +PKG_URL="$DISTRO_SRC/${PKG_NAME}-${PKG_VERSION}.tar.bz2" +PKG_DEPENDS="vdr" +PKG_BUILD_DEPENDS="toolchain vdr imlib2" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="text2skin is a plugin to make On Screen Display in VDR." +PKG_LONGDESC="text2skin plugin is designed to load and interpret a set of files describing the layout of the On Screen Display and to make this "Skin" available to VDR via Setup -> OSD in the main menu." +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" From 6894d6c157bb201be61c1c90ab19c4be4b4dff25 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 11 May 2012 15:01:31 +0300 Subject: [PATCH 6/9] new package: vdr-xineliboutput --- .../multimedia/vdr-xineliboutput/build | 50 +++++++++++++++++++ .../multimedia/vdr-xineliboutput/meta | 35 +++++++++++++ 2 files changed, 85 insertions(+) create mode 100755 packages/3rdparty/multimedia/vdr-xineliboutput/build create mode 100644 packages/3rdparty/multimedia/vdr-xineliboutput/meta diff --git a/packages/3rdparty/multimedia/vdr-xineliboutput/build b/packages/3rdparty/multimedia/vdr-xineliboutput/build new file mode 100755 index 0000000000..f63b726368 --- /dev/null +++ b/packages/3rdparty/multimedia/vdr-xineliboutput/build @@ -0,0 +1,50 @@ +#!/bin/sh + +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +. config/options $1 + +VDR_DIR=$(basename $BUILD/vdr-[0-9]*) + +export PKG_CONFIG_PATH="${PKG_CONFIG_SYSROOT_DIR}/usr/local/lib/pkgconfig:${PKG_CONFIG_SYSROOT_DIR}buildd/lib/pkgconfig" + +cd $PKG_BUILD + +./configure --enable-x11 \ + --enable-vdr \ + --enable-libxine \ + --disable-dbus-glib-1 \ + --cc=$CC \ + --cxx=$CXX \ + --add-cflags="$CFLAGS" + +# mpg2c is running on host +make mpg2c \ + CC="$HOST_CC" \ + CFLAGS="$HOST_CFLAGS" \ + LDFLAGS="$HOST_LDFLAGS" \ + VDRDIR="../$VDR_DIR" \ + LIBDIR="." \ + LOCALEDIR="./locale" + +make VDRDIR="../$VDR_DIR" \ + LIBDIR="." \ + LOCALEDIR="./locale" diff --git a/packages/3rdparty/multimedia/vdr-xineliboutput/meta b/packages/3rdparty/multimedia/vdr-xineliboutput/meta new file mode 100644 index 0000000000..fa1099630b --- /dev/null +++ b/packages/3rdparty/multimedia/vdr-xineliboutput/meta @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="vdr-xineliboutput" +PKG_VERSION="20120506" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://sourceforge.net/projects/xineliboutput/" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="vdr xine-lib" +PKG_BUILD_DEPENDS="toolchain vdr xine-lib" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="xine-lib based software output device for VDR." +PKG_LONGDESC="xine-lib based software output device for VDR." +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" From 6494b0dbe9acd7a2af264ea39057d4fcdc166a66 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 11 May 2012 15:01:49 +0300 Subject: [PATCH 7/9] new package: vdr-skinanthra_1280_OS --- .../multimedia/vdr-skinanthra_1280_OS/meta | 35 +++++++++++++++++++ .../vdr-addon/config.plugins/commands.conf | 3 ++ 2 files changed, 38 insertions(+) create mode 100644 packages/3rdparty/multimedia/vdr-skinanthra_1280_OS/meta create mode 100644 packages/addons/service/multimedia/vdr-addon/config.plugins/commands.conf diff --git a/packages/3rdparty/multimedia/vdr-skinanthra_1280_OS/meta b/packages/3rdparty/multimedia/vdr-skinanthra_1280_OS/meta new file mode 100644 index 0000000000..1846d44355 --- /dev/null +++ b/packages/3rdparty/multimedia/vdr-skinanthra_1280_OS/meta @@ -0,0 +1,35 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +PKG_NAME="vdr-skinanthra_1280_OS" +PKG_VERSION="1.0" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://anthra.justlinux.de/common/overview.html" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="vdr" +PKG_BUILD_DEPENDS="toolchain vdr" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="anthra skin for text2skin plugin." +PKG_LONGDESC="anthra skin for text2skin plugin." +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" diff --git a/packages/addons/service/multimedia/vdr-addon/config.plugins/commands.conf b/packages/addons/service/multimedia/vdr-addon/config.plugins/commands.conf new file mode 100644 index 0000000000..1ad67aeae5 --- /dev/null +++ b/packages/addons/service/multimedia/vdr-addon/config.plugins/commands.conf @@ -0,0 +1,3 @@ +Exit -> XBMC : killall -9 vdr-sxfe +Reboot : reboot +PowerOff : poweroff -f From 6c6f4dcea497033f25f837808e63de199f1c6e61 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 11 May 2012 15:27:10 +0300 Subject: [PATCH 8/9] vdr-addon: add text2skin, xineliboutput --- .../addons/service/multimedia/vdr-addon/addon | 15 +++++++++++++ .../multimedia/vdr-addon/config/settings.xml | 3 +++ .../addons/service/multimedia/vdr-addon/meta | 2 +- .../multimedia/vdr-addon/source/bin/vdr.start | 21 +++++++++++++++++++ .../resources/language/English/strings.xml | 11 ++++++---- .../vdr-addon/source/resources/settings.xml | 3 +++ 6 files changed, 50 insertions(+), 5 deletions(-) mode change 100755 => 100644 packages/addons/service/multimedia/vdr-addon/meta diff --git a/packages/addons/service/multimedia/vdr-addon/addon b/packages/addons/service/multimedia/vdr-addon/addon index cad23d4262..4ebf287c03 100755 --- a/packages/addons/service/multimedia/vdr-addon/addon +++ b/packages/addons/service/multimedia/vdr-addon/addon @@ -37,6 +37,7 @@ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config cp -PR $BUILD/vdr-live-*/live/* $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/live cp $PKG_DIR/config.plugins/remote.conf $ADDON_BUILD/$PKG_ADDON_ID/config mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/epgsearch + cp $PKG_DIR/config.plugins/commands.conf $ADDON_BUILD/$PKG_ADDON_ID/config mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins cp $BUILD/rotorng-[0-9]*/examples/rotorng.conf $ADDON_BUILD/$PKG_ADDON_ID/config/plugins @@ -60,6 +61,8 @@ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/plugin cp -PR $BUILD/vdr-control-*/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin cp -PR $BUILD/vdr-epgsearch*/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin cp -PR $BUILD/vdr-xmltv2vdr*/libvdr*.so.* $ADDON_BUILD/$PKG_ADDON_ID/plugin + cp -PR $BUILD/vdr-xineliboutput-[0-9]*/libvdr*.so.1.7.27 $ADDON_BUILD/$PKG_ADDON_ID/plugin + cp -PR $BUILD/vdr-text2skin-[0-9]*/libvdr*.so.1.7.27 $ADDON_BUILD/$PKG_ADDON_ID/plugin # ENABLED_PLUGINS="cardclient constcw sc-conax sc-cryptoworks sc-irdeto sc-nagra sc-seca sc-viaccess sc-videoguard2" # for plugin in $ENABLED_PLUGINS; do @@ -82,6 +85,18 @@ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib cp -P $BUILD/libxslt-[0-9]*/libxslt/.libs/libxslt*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib cp -P $BUILD/libxslt-[0-9]*/libexslt/.libs/libexslt*.so* $ADDON_BUILD/$PKG_ADDON_ID/lib +mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/imlib2/loaders/ +mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/lib/imlib2/filters/ + cp $SYSROOT_PREFIX/usr/lib/libImlib2.so.1 $ADDON_BUILD/$PKG_ADDON_ID/lib/ + cp $SYSROOT_PREFIX/usr/lib/imlib2/loaders/*.so $ADDON_BUILD/$PKG_ADDON_ID/lib/imlib2/loaders/ + cp $SYSROOT_PREFIX/usr/lib/imlib2/filters/*.so $ADDON_BUILD/$PKG_ADDON_ID/lib/imlib2/filters/ mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/streamdev-server cp -PR $BUILD/vdr-plugin-streamdev-*/streamdev-server/streamdevhosts.conf $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/streamdev-server + +mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/text2skin/anthra_1280_OS/ + cp -PR $BUILD/vdr-skinanthra_1280_OS-*/* $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/text2skin/anthra_1280_OS/ + rm -fr $ADDON_BUILD/$PKG_ADDON_ID/config/plugins/text2skin/anthra_1280_OS/themes + +mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/config/themes + cp -P $BUILD/vdr-skinanthra_1280_OS-*/themes/* $ADDON_BUILD/$PKG_ADDON_ID/config/themes/ diff --git a/packages/addons/service/multimedia/vdr-addon/config/settings.xml b/packages/addons/service/multimedia/vdr-addon/config/settings.xml index 7925ccdc3c..72497ba183 100644 --- a/packages/addons/service/multimedia/vdr-addon/config/settings.xml +++ b/packages/addons/service/multimedia/vdr-addon/config/settings.xml @@ -15,4 +15,7 @@ + + + diff --git a/packages/addons/service/multimedia/vdr-addon/meta b/packages/addons/service/multimedia/vdr-addon/meta old mode 100755 new mode 100644 index 524fe4d491..0f8652d396 --- a/packages/addons/service/multimedia/vdr-addon/meta +++ b/packages/addons/service/multimedia/vdr-addon/meta @@ -27,7 +27,7 @@ PKG_LICENSE="GPL" PKG_SITE="http://www.openelec.tv" PKG_URL="" PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain attr libcap vdr vdr-plugin-xvdr vdr-iptv vdr-wirbelscan vdr-wirbelscancontrol vdr-sc vdr-plugin-dvbapi vdr-dynamite vdr-plugin-streamdev vdr-live rotorng vdr-control vdr-epgsearch vdr-xmltv2vdr" +PKG_BUILD_DEPENDS="toolchain attr libcap vdr vdr-plugin-xvdr vdr-iptv vdr-wirbelscan vdr-wirbelscancontrol vdr-sc vdr-plugin-dvbapi vdr-dynamite vdr-plugin-streamdev vdr-live rotorng vdr-control vdr-epgsearch vdr-xmltv2vdr vdr-xineliboutput vdr-text2skin vdr-skinanthra_1280_OS" PKG_PRIORITY="optional" PKG_SECTION="service.multimedia" PKG_SHORTDESC="vdr: A powerful DVB TV application" diff --git a/packages/addons/service/multimedia/vdr-addon/source/bin/vdr.start b/packages/addons/service/multimedia/vdr-addon/source/bin/vdr.start index fad4596ea6..90d8a0c0fd 100755 --- a/packages/addons/service/multimedia/vdr-addon/source/bin/vdr.start +++ b/packages/addons/service/multimedia/vdr-addon/source/bin/vdr.start @@ -35,6 +35,7 @@ ADDON_PLUGIN_DIR="$ADDON_DIR/plugin" ADDON_VIDEO_DIR="$HOME/videos" if [ ! -f "$ADDON_SETTINGS" ]; then + mkdir -p $ADDON_HOME cp $ADDON_DIR/settings-default.xml $ADDON_SETTINGS fi @@ -81,6 +82,12 @@ fi if [ "$ENABLE_XMLTV2VDR" == "true" ] ; then VDR_ARG="$VDR_ARG -P xmltv2vdr" fi +if [ "$ENABLE_XINELIBOUTPUT" == "true" ] ; then + VDR_ARG="$VDR_ARG -P 'xineliboutput --local=none --remote=$XINELIBOUTPUT_PORT' -s $ADDON_HOME/vdr-shutdown.sh" +fi +if [ "$ENABLE_TEXT2SKIN" == "true" ] ; then + VDR_ARG="$VDR_ARG -P text2skin" +fi # dynamite must be LAST loaded plugin if [ "$ENABLE_DYNAMITE" == "true" ] ; then VDR_ARG="$VDR_ARG -P dynamite" @@ -94,6 +101,20 @@ fi mkdir -p $ADDON_CONFIG_DIR/plugins/live cp -PR plugins/live/* $ADDON_CONFIG_DIR/plugins/live + # copy vdr theme + if [ ! -d "$ADDON_CONFIG_DIR/plugins/text2skin/" ]; then + mkdir -p $ADDON_CONFIG_DIR/plugins/text2skin/ + cp -a plugins/text2skin $ADDON_CONFIG_DIR/plugins/ + cp -a themes $ADDON_CONFIG_DIR/ + + # is this in conflict with something else? + cat >$ADDON_CONFIG_DIR/setup.conf << MYDATA +OSDSkin = anthra_1280_OS +OSDTheme = yabluelight +xineliboutput.OSD.Blending = 1 +MYDATA + fi + for dir in `find . -type d`; do mkdir -p $ADDON_CONFIG_DIR/$dir done diff --git a/packages/addons/service/multimedia/vdr-addon/source/resources/language/English/strings.xml b/packages/addons/service/multimedia/vdr-addon/source/resources/language/English/strings.xml index 2e3a3aaa93..efb0616f89 100644 --- a/packages/addons/service/multimedia/vdr-addon/source/resources/language/English/strings.xml +++ b/packages/addons/service/multimedia/vdr-addon/source/resources/language/English/strings.xml @@ -10,17 +10,20 @@ Enable plugin: streamdev-client Enable plugin: streamdev-server Enable plugin: wirbelscan + Enable plugin: dynamite + Enable softcam + softcam plugin Enable plugin: live live: listen on ip live: listen on port + Enable plugin: rotorng Enable plugin: control control: listen on port - Enable plugin: rotorng Enable plugin: epgsearch Enable plugin: xmltv2vdr - Enable plugin: dynamite Enable epgdata.com epgdata.com PIN - Enable softcam - softcam plugin + Enable plugin: xineliboutput + xineliboutput: listen on port + Enable plugin: text2skin diff --git a/packages/addons/service/multimedia/vdr-addon/source/resources/settings.xml b/packages/addons/service/multimedia/vdr-addon/source/resources/settings.xml index 154dc2664d..14676dd6a6 100644 --- a/packages/addons/service/multimedia/vdr-addon/source/resources/settings.xml +++ b/packages/addons/service/multimedia/vdr-addon/source/resources/settings.xml @@ -23,6 +23,9 @@ + + + From 81c6593b9f9d6758f600fcba0c98a0198318e431 Mon Sep 17 00:00:00 2001 From: vpeter4 Date: Fri, 11 May 2012 15:17:18 +0300 Subject: [PATCH 9/9] vdr-addon: update changelog version --- packages/addons/service/multimedia/vdr-addon/changelog.txt | 6 ++++++ packages/addons/service/multimedia/vdr-addon/meta | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/addons/service/multimedia/vdr-addon/changelog.txt b/packages/addons/service/multimedia/vdr-addon/changelog.txt index 958aed1f48..d5d6a23a4f 100644 --- a/packages/addons/service/multimedia/vdr-addon/changelog.txt +++ b/packages/addons/service/multimedia/vdr-addon/changelog.txt @@ -1,3 +1,9 @@ +2.1.6 +- added vdr-xmltv2vdr plugin +- added xineliboutput plugin +- added text2skin plugin +- preparation for xine based VDR frontend as separate addon + 2.1.5 - fixed rotorng - added wirbelscancontrol plugin diff --git a/packages/addons/service/multimedia/vdr-addon/meta b/packages/addons/service/multimedia/vdr-addon/meta index 0f8652d396..2c8f7f8aae 100644 --- a/packages/addons/service/multimedia/vdr-addon/meta +++ b/packages/addons/service/multimedia/vdr-addon/meta @@ -21,7 +21,7 @@ PKG_NAME="vdr-addon" PKG_VERSION="2.1" -PKG_REV="5" +PKG_REV="6" PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.openelec.tv"