Files
LibreELEC.tv/packages/mediacenter/kodi-theme-Confluence/package.mk
Stephan Raue e152b81ec6 kodi: update to kodi-14-d6947be
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-11-05 01:30:43 +01:00

56 lines
2.5 KiB
Makefile

################################################################################
# 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/>.
################################################################################
PKG_NAME="kodi-theme-Confluence"
PKG_VERSION="14-d6947be"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
PKG_DEPENDS_TARGET="toolchain kodi"
PKG_PRIORITY="optional"
PKG_SECTION="mediacenter"
PKG_SHORTDESC="kodi-theme-Confluence: Kodi Mediacenter default theme"
PKG_LONGDESC="Kodi Media Center (which was formerly named Xbox Media Center and XBMC) 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_AUTORECONF="no"
make_target() {
TexturePacker -input media/ \
-output Textures.xbt \
-dupecheck \
-use_none
}
makeinstall_target() {
mkdir -p $INSTALL/usr/share/kodi/addons/skin.confluence
cp -R */ $INSTALL/usr/share/kodi/addons/skin.confluence
cp *.txt $INSTALL/usr/share/kodi/addons/skin.confluence
cp *.xml $INSTALL/usr/share/kodi/addons/skin.confluence
cp *.png $INSTALL/usr/share/kodi/addons/skin.confluence
rm -rf $INSTALL/usr/share/kodi/addons/skin.confluence/media
mkdir -p $INSTALL/usr/share/kodi/addons/skin.confluence/media
cp Textures.xbt $INSTALL/usr/share/kodi/addons/skin.confluence/media
# Rebrand
sed -e "s,@DISTRONAME@,$DISTRONAME,g" -i $INSTALL/usr/share/kodi/addons/skin.confluence/720p/IncludesHomeMenuItems.xml
}