diff --git a/packages/mediacenter/xbmc-theme-Confluence/build b/packages/mediacenter/xbmc-theme-Confluence/build deleted file mode 100755 index bb744365dc..0000000000 --- a/packages/mediacenter/xbmc-theme-Confluence/build +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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 of the License, or -# (at your option) any later version. -# -# OpenELEC 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. If not, see . -################################################################################ - -. 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 deleted file mode 100755 index 59b1737a3b..0000000000 --- a/packages/mediacenter/xbmc-theme-Confluence/install +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC 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 of the License, or -# (at your option) any later version. -# -# OpenELEC 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. If not, see . -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/share/xbmc/addons/skin.confluence - cp -R $PKG_BUILD/*/ $INSTALL/usr/share/xbmc/addons/skin.confluence - cp $PKG_BUILD/*.txt $INSTALL/usr/share/xbmc/addons/skin.confluence - cp $PKG_BUILD/*.xml $INSTALL/usr/share/xbmc/addons/skin.confluence - cp $PKG_BUILD/*.png $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 diff --git a/packages/mediacenter/xbmc-theme-Confluence/meta b/packages/mediacenter/xbmc-theme-Confluence/package.mk similarity index 69% rename from packages/mediacenter/xbmc-theme-Confluence/meta rename to packages/mediacenter/xbmc-theme-Confluence/package.mk index 2a34775323..7d7a460e40 100644 --- a/packages/mediacenter/xbmc-theme-Confluence/meta +++ b/packages/mediacenter/xbmc-theme-Confluence/package.mk @@ -23,12 +23,31 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.xbmc.org" PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain" +PKG_DEPENDS_TARGET="" +PKG_BUILD_DEPENDS_TARGET="toolchain" PKG_PRIORITY="optional" PKG_SECTION="mediacenter" PKG_SHORTDESC="xbmc-theme-Confluence: XBMC Mediacenter default theme" PKG_LONGDESC="XBMC Media Center (which was formerly named Xbox Media Center) is a free and open source cross-platform media player and home entertainment system software with a 10-foot user interface designed for the living-room TV. Its graphical user interface allows the user to easily manage video, photos, podcasts, and music from a computer, optical disk, local network, and the internet using a remote control." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="no" + +make_target() { + TexturePacker -input media/ \ + -output Textures.xbt \ + -dupecheck \ + -use_none +} + +makeinstall_target() { + mkdir -p $INSTALL/usr/share/xbmc/addons/skin.confluence + cp -R */ $INSTALL/usr/share/xbmc/addons/skin.confluence + cp *.txt $INSTALL/usr/share/xbmc/addons/skin.confluence + cp *.xml $INSTALL/usr/share/xbmc/addons/skin.confluence + cp *.png $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 Textures.xbt $INSTALL/usr/share/xbmc/addons/skin.confluence/media +}