From d3469fb14dda1627510b6c6a13b55e4a696122f9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 19 Jun 2012 04:52:42 +0200 Subject: [PATCH] xbmc-theme-Confluence: build and install 'Textures.xbt' Signed-off-by: Stephan Raue --- .../mediacenter/xbmc-theme-Confluence/build | 29 +++++++++++++++++++ .../mediacenter/xbmc-theme-Confluence/install | 4 +++ 2 files changed, 33 insertions(+) create mode 100755 packages/mediacenter/xbmc-theme-Confluence/build diff --git a/packages/mediacenter/xbmc-theme-Confluence/build b/packages/mediacenter/xbmc-theme-Confluence/build new file mode 100755 index 0000000000..b35b583807 --- /dev/null +++ b/packages/mediacenter/xbmc-theme-Confluence/build @@ -0,0 +1,29 @@ +#!/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 + +cd $PKG_BUILD +TexturePacker -input media/ \ + -output Textures.xbt \ + -dupecheck \ + -use_none diff --git a/packages/mediacenter/xbmc-theme-Confluence/install b/packages/mediacenter/xbmc-theme-Confluence/install index 126dc4fa68..c2d12aa142 100755 --- a/packages/mediacenter/xbmc-theme-Confluence/install +++ b/packages/mediacenter/xbmc-theme-Confluence/install @@ -24,3 +24,7 @@ mkdir -p $INSTALL/usr/share/xbmc/addons/skin.confluence cp -R $PKG_BUILD/* $INSTALL/usr/share/xbmc/addons/skin.confluence + rm -rf $INSTALL/usr/share/xbmc/addons/skin.confluence/media + +mkdir -p $INSTALL/usr/share/xbmc/addons/skin.confluence/media + cp $PKG_BUILD/Textures.xbt $INSTALL/usr/share/xbmc/addons/skin.confluence/media