From 9bc7de42031479101b9b324de12b954957680650 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 25 Dec 2011 19:43:34 +0100 Subject: [PATCH] new package: add new package 'vdr-plugin-xvdr' (testing) Signed-off-by: Stephan Raue --- .../testing/multimedia/vdr-plugin-xvdr/build | 29 +++++++++++++++ .../vdr-plugin-xvdr/config/allowed_hosts.conf | 13 +++++++ .../multimedia/vdr-plugin-xvdr/install | 29 +++++++++++++++ .../testing/multimedia/vdr-plugin-xvdr/meta | 37 +++++++++++++++++++ 4 files changed, 108 insertions(+) create mode 100755 packages/testing/multimedia/vdr-plugin-xvdr/build create mode 100644 packages/testing/multimedia/vdr-plugin-xvdr/config/allowed_hosts.conf create mode 100755 packages/testing/multimedia/vdr-plugin-xvdr/install create mode 100644 packages/testing/multimedia/vdr-plugin-xvdr/meta diff --git a/packages/testing/multimedia/vdr-plugin-xvdr/build b/packages/testing/multimedia/vdr-plugin-xvdr/build new file mode 100755 index 0000000000..a3b92ae1a9 --- /dev/null +++ b/packages/testing/multimedia/vdr-plugin-xvdr/build @@ -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 + +VDR_DIR=`basename $BUILD/vdr-[0-9]*` + +cd $PKG_BUILD +make VDRDIR="../$VDR_DIR" LIBDIR="." LOCALEDIR="./locale" + diff --git a/packages/testing/multimedia/vdr-plugin-xvdr/config/allowed_hosts.conf b/packages/testing/multimedia/vdr-plugin-xvdr/config/allowed_hosts.conf new file mode 100644 index 0000000000..07a7c49cc7 --- /dev/null +++ b/packages/testing/multimedia/vdr-plugin-xvdr/config/allowed_hosts.conf @@ -0,0 +1,13 @@ +# +# allowed_hosts.conf This file describes a number of host addresses that +# are allowed to connect to the streamdev server running +# with the Video Disk Recorder (VDR) on this system. +# Syntax: +# +# IP-Address[/Netmask] +# + +127.0.0.1 # always accept localhost +192.168.0.0/24 # any host on the local net +#204.152.189.113 # a specific host +#0.0.0.0/0 # any host on any net (USE THIS WITH CARE!) diff --git a/packages/testing/multimedia/vdr-plugin-xvdr/install b/packages/testing/multimedia/vdr-plugin-xvdr/install new file mode 100755 index 0000000000..c57fd38a16 --- /dev/null +++ b/packages/testing/multimedia/vdr-plugin-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/lib/vdr + cp $PKG_BUILD/libvdr-xvdr.so* $INSTALL/usr/lib/vdr + +mkdir -p $INSTALL/usr/config/vdr/plugins/xvdr + cp $PKG_DIR/config/allowed_hosts.conf $INSTALL/usr/config/vdr/plugins/xvdr/ diff --git a/packages/testing/multimedia/vdr-plugin-xvdr/meta b/packages/testing/multimedia/vdr-plugin-xvdr/meta new file mode 100644 index 0000000000..b714201650 --- /dev/null +++ b/packages/testing/multimedia/vdr-plugin-xvdr/meta @@ -0,0 +1,37 @@ +################################################################################ +# 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="vdr-plugin-xvdr" +PKG_VERSION="789c396" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/pipelka/vdr-plugin-xvdr" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS="vdr" +PKG_BUILD_DEPENDS="toolchain vdr" +PKG_PRIORITY="optional" +PKG_SECTION="multimedia" +PKG_SHORTDESC="TV" +PKG_LONGDESC="TV" + +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no"