mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
[xbmc-rebrand] xbmc-audioencoder-flac: move to package 'kodi-audioencoder-flac'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -16,18 +16,18 @@
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
PKG_NAME="xbmc-audioencoder-flac"
|
||||
PKG_NAME="kodi-audioencoder-flac"
|
||||
PKG_VERSION="7aee9d0"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.xbmc.org/"
|
||||
PKG_SITE="http://www.kodi.tv"
|
||||
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain flac"
|
||||
PKG_DEPENDS_TARGET="toolchain flac kodi"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="multimedia"
|
||||
PKG_SHORTDESC="xbmc-audioencoder-flac: A audioencoder addon for XBMC"
|
||||
PKG_LONGDESC="xbmc-audioencoder-flac is a audioencoder addon for XBMC"
|
||||
PKG_SHORTDESC="kodi-audioencoder-flac: A audioencoder addon for Kodi"
|
||||
PKG_LONGDESC="kodi-audioencoder-flac is a audioencoder addon for Kodi"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="no"
|
||||
@@ -20,24 +20,24 @@
|
||||
################################################################################
|
||||
|
||||
echo "getting sources..."
|
||||
if [ ! -d xbmc-audioencoder-flac.git ]; then
|
||||
git clone https://github.com/xbmc/audioencoder.flac.git -b master xbmc-audioencoder-flac.git
|
||||
if [ ! -d kodi-audioencoder-flac.git ]; then
|
||||
git clone https://github.com/xbmc/audioencoder.flac.git -b master kodi-audioencoder-flac.git
|
||||
fi
|
||||
|
||||
cd xbmc-audioencoder-flac.git
|
||||
cd kodi-audioencoder-flac.git
|
||||
git pull
|
||||
GIT_REV=`git log -n1 --format=%h`
|
||||
cd ..
|
||||
|
||||
echo "copying sources..."
|
||||
rm -rf xbmc-audioencoder-flac-$GIT_REV
|
||||
cp -R xbmc-audioencoder-flac.git xbmc-audioencoder-flac-$GIT_REV
|
||||
rm -rf kodi-audioencoder-flac-$GIT_REV
|
||||
cp -R kodi-audioencoder-flac.git kodi-audioencoder-flac-$GIT_REV
|
||||
|
||||
echo "cleaning sources..."
|
||||
rm -rf xbmc-audioencoder-flac-$GIT_REV/.git
|
||||
rm -rf kodi-audioencoder-flac-$GIT_REV/.git
|
||||
|
||||
echo "packing sources..."
|
||||
tar cvJf xbmc-audioencoder-flac-$GIT_REV.tar.xz xbmc-audioencoder-flac-$GIT_REV
|
||||
tar cvJf kodi-audioencoder-flac-$GIT_REV.tar.xz kodi-audioencoder-flac-$GIT_REV
|
||||
|
||||
echo "remove temporary sourcedir..."
|
||||
rm -rf xbmc-audioencoder-flac-$GIT_REV
|
||||
rm -rf kodi-audioencoder-flac-$GIT_REV
|
||||
Reference in New Issue
Block a user