From 8a75c1f797b83b8ab8fad5d39a8b74a4db91a058 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 23 Jan 2012 01:06:15 +0100 Subject: [PATCH] new package: add package 'script.xbmc.lcd' Signed-off-by: Stephan Raue --- packages/mediacenter/meta | 6 +++- packages/mediacenter/script.xbmc.lcd/install | 26 ++++++++++++++ packages/mediacenter/script.xbmc.lcd/meta | 36 ++++++++++++++++++++ 3 files changed, 67 insertions(+), 1 deletion(-) create mode 100755 packages/mediacenter/script.xbmc.lcd/install create mode 100644 packages/mediacenter/script.xbmc.lcd/meta diff --git a/packages/mediacenter/meta b/packages/mediacenter/meta index 3149e2e97e..527d974fed 100644 --- a/packages/mediacenter/meta +++ b/packages/mediacenter/meta @@ -37,4 +37,8 @@ PKG_AUTORECONF="no" for i in $SKINS; do PKG_DEPENDS="$PKG_DEPENDS $MEDIACENTER-theme-$i" -done \ No newline at end of file +done + +if [ ! "$LCD_DRIVER" = "none" ]; then + PKG_DEPENDS="$PKG_DEPENDS script.xbmc.lcd" +fi diff --git a/packages/mediacenter/script.xbmc.lcd/install b/packages/mediacenter/script.xbmc.lcd/install new file mode 100755 index 0000000000..7d45d49f02 --- /dev/null +++ b/packages/mediacenter/script.xbmc.lcd/install @@ -0,0 +1,26 @@ +#!/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/script.xbmc.lcd + cp -PRf $PKG_BUILD/script.xbmc.lcd/* $INSTALL/usr/share/xbmc/addons/script.xbmc.lcd diff --git a/packages/mediacenter/script.xbmc.lcd/meta b/packages/mediacenter/script.xbmc.lcd/meta new file mode 100644 index 0000000000..6655d45cf3 --- /dev/null +++ b/packages/mediacenter/script.xbmc.lcd/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="script.xbmc.lcd" +PKG_VERSION="dc08f6e" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/Memphiz/script.xbmc.lcd" +PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" +PKG_DEPENDS="Python" +PKG_BUILD_DEPENDS="toolchain" +PKG_PRIORITY="optional" +PKG_SECTION="mediacenter" +PKG_SHORTDESC="LCD addon for XBMC" +PKG_LONGDESC="This addon allows XBM to connect to LCDproc." +PKG_IS_ADDON="no" + +PKG_AUTORECONF="no"