mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Revert "Merge pull request #4758 from lrusak/kodi-language"
This reverts commit ca9779c80545112173b21eec67ea947c287501eb, reversing changes made to 08c0b71f51a57b42cf1044079c4e758d2325f8f9.
This commit is contained in:
parent
c5a076a244
commit
d415bd6497
@ -1,42 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2016 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-language-addons"
|
|
||||||
PKG_VERSION="ce9947c"
|
|
||||||
PKG_REV="1"
|
|
||||||
PKG_ARCH="any"
|
|
||||||
PKG_LICENSE="GPL"
|
|
||||||
PKG_SITE="https://github.com/xbmc/repo-resources"
|
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
||||||
PKG_DEPENDS_TARGET="toolchain"
|
|
||||||
PKG_PRIORITY="optional"
|
|
||||||
PKG_SECTION="mediacenter"
|
|
||||||
PKG_SHORTDESC="kodi language add-ons"
|
|
||||||
PKG_LONGDESC="kodi language add-ons"
|
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
|
||||||
PKG_IS_ADDON="no"
|
|
||||||
|
|
||||||
make_target() {
|
|
||||||
:
|
|
||||||
}
|
|
||||||
|
|
||||||
makeinstall_target() {
|
|
||||||
mkdir -p $INSTALL/usr/share/kodi/addons/
|
|
||||||
cp -PR $ROOT/$PKG_BUILD/* $INSTALL/usr/share/kodi/addons/
|
|
||||||
}
|
|
@ -23,7 +23,7 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://www.kodi.tv"
|
PKG_SITE="http://www.kodi.tv"
|
||||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
PKG_DEPENDS_TARGET="toolchain kodi:host libsquish boost Python zlib bzip2 systemd pciutils lzo pcre swig:host libass curl rtmpdump fontconfig fribidi tinyxml libjpeg-turbo libpng tiff freetype jasper libogg libcdio libmpeg2 taglib libxml2 libxslt yajl sqlite libvorbis ffmpeg crossguid giflib kodi-language-addons"
|
PKG_DEPENDS_TARGET="toolchain kodi:host libsquish boost Python zlib bzip2 systemd pciutils lzo pcre swig:host libass curl rtmpdump fontconfig fribidi tinyxml libjpeg-turbo libpng tiff freetype jasper libogg libcdio libmpeg2 taglib libxml2 libxslt yajl sqlite libvorbis ffmpeg crossguid giflib"
|
||||||
PKG_DEPENDS_HOST="lzo:host libpng:host libjpeg-turbo:host giflib:host"
|
PKG_DEPENDS_HOST="lzo:host libpng:host libjpeg-turbo:host giflib:host"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="mediacenter"
|
PKG_SECTION="mediacenter"
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
################################################################################
|
|
||||||
# This file is part of OpenELEC - http://www.openelec.tv
|
|
||||||
# Copyright (C) 2009-2016 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/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
|
||||||
echo "Usage: $0 <branch-name>"
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "getting sources..."
|
|
||||||
if [ ! -d kodi-language-addons.git ]; then
|
|
||||||
git clone --depth=1 -b $1 https://github.com/xbmc/repo-resources.git kodi-language-addons.git
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd kodi-language-addons.git
|
|
||||||
git pull
|
|
||||||
GIT_REV=`git log -n1 --format=%h`
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
echo "copying sources..."
|
|
||||||
rm -rf kodi-language-addons-$GIT_REV
|
|
||||||
cp -R kodi-language-addons.git kodi-language-addons-$GIT_REV
|
|
||||||
|
|
||||||
echo "cleaning sources..."
|
|
||||||
cd kodi-language-addons-$GIT_REV
|
|
||||||
rm -rf .git
|
|
||||||
ls | grep -v resource.language | xargs rm -r
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
echo "packing sources..."
|
|
||||||
tar cvJf kodi-language-addons-$GIT_REV.tar.xz kodi-language-addons-$GIT_REV
|
|
||||||
|
|
||||||
echo "remove temporary sourcedir..."
|
|
||||||
rm -rf kodi-language-addons-$GIT_REV
|
|
Loading…
x
Reference in New Issue
Block a user