summaryrefslogtreecommitdiffstats
path: root/xbmc-generate-tarball-xz.sh
diff options
context:
space:
mode:
authorAlex Lancaster <alexlan[AT]fedoraproject org>2012-10-04 17:41:46 -0400
committerAlex Lancaster <alexlan[AT]fedoraproject org>2012-10-04 17:41:46 -0400
commit12e8b86e61903db97c74d2860fd3700a99c7b46b (patch)
tree608bf5b3a3d3b62ef6b684392c858246a2818206 /xbmc-generate-tarball-xz.sh
parentb62dc2e8a9277bcd32b549317a39c1fdae073b83 (diff)
downloadxbmc-rpm-12e8b86e61903db97c74d2860fd3700a99c7b46b.tar.gz
xbmc-rpm-12e8b86e61903db97c74d2860fd3700a99c7b46b.tar.xz
xbmc-rpm-12e8b86e61903db97c74d2860fd3700a99c7b46b.zip
Update to Frodo alpha 6
Use "12.0" as version, rather than "12.8" Drop desktop patch (now in Frodo alpha6) Add BR for taglib-devel >= 1.8 (libid3tag is being phased out) Rebase patches to 12.0/Frodo where necessary
Diffstat (limited to 'xbmc-generate-tarball-xz.sh')
-rwxr-xr-xxbmc-generate-tarball-xz.sh26
1 files changed, 14 insertions, 12 deletions
diff --git a/xbmc-generate-tarball-xz.sh b/xbmc-generate-tarball-xz.sh
index 2065e57..5226b8c 100755
--- a/xbmc-generate-tarball-xz.sh
+++ b/xbmc-generate-tarball-xz.sh
@@ -1,25 +1,27 @@
#!/bin/sh
-MAJORVERSION=11
+MAJORVERSION=12
MINORVERSION=0
-#PRERELEASE=Eden_rc2
+PRERELEASE=Frodo_alpha6
VERSION=${MAJORVERSION}.${MINORVERSION}${PRERELEASE:+-${PRERELEASE}}
-# GITHUBURL below is obsolete, I think
#GITHUBURL=https://github.com/xbmc/xbmc/tarball/$VERSION-Eden
+GITHUBURL=https://github.com/xbmc/xbmc/zipball/$PRERELEASE
-# comment-out line below if using tarball
-#curl -L $GITHUBURL | tar xz
+# download zipball
+if [[ ! -f xbmc-$VERSION.zip ]]; then
+ curl -o xbmc-$VERSION.zip -L $GITHUBURL
+fi
-# Repair GitHub's odd auto-generated top-level directory...
-#mv xbmc-xbmc-* xbmc-$VERSION
+# extract zipball
+rm -r xbmc-xbmc-*
+unzip xbmc-$VERSION.zip
-# extract tarball
-# comment-out if not using tarball
-tar -xzvf xbmc-$VERSION.tar.gz
+# Repair GitHub's odd auto-generated top-level directory...
+mv xbmc-xbmc-* xbmc-$VERSION
-cd xbmc-$VERSION
+pushd xbmc-$VERSION
# remove bundled libraries, saves space and forces using external versions
# grrr, *still* have to keep in ffmpeg for now (2011-12-28) since upstream
@@ -62,7 +64,7 @@ do
rm -r tools/$i
done
-cd ..
+popd
# repack
tar -cJvf xbmc-$VERSION-patched.tar.xz xbmc-$VERSION