mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
xbmc-theme-Confluence: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e559d7dc10
commit
b513658616
@ -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 <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
TexturePacker -input media/ \
|
||||
-output Textures.xbt \
|
||||
-dupecheck \
|
||||
-use_none
|
@ -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 <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
. 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
|
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user