[packages/chromium-browser/DEVEL] - non-verbose fetch - verbose unpack (to see original files) - do not clean for dev channel - use li

glen glen at pld-linux.org
Mon Jan 7 22:19:35 CET 2013


commit be8a9e6814e4c8646b516716c5afc102cfc3a0b0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jan 7 22:40:38 2013 +0200

    - non-verbose fetch
    - verbose unpack (to see original files)
    - do not clean for dev channel
    - use lite tarball for dev channel

 get-source.sh | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/get-source.sh b/get-source.sh
index 753da35..2027bd9 100755
--- a/get-source.sh
+++ b/get-source.sh
@@ -46,13 +46,17 @@ LOGFILE=$TMP_DIR/$PACKAGE_NAME-$VERSION.log
 (
 cd "$TMP_DIR"
 srctarball=$PACKAGE_NAME-$VERSION.tar.bz2
-wget -c -O $srctarball "$OFFICIAL_URL/chromium-$VERSION.tar.bz2"
+if [ "$CHANNEL" = "dev" ]; then
+	wget -c -nv -O $srctarball "$OFFICIAL_URL/chromium-$VERSION-lite.tar.bz2"
+else
+	wget -c -nv -O $srctarball "$OFFICIAL_URL/chromium-$VERSION.tar.bz2"
+fi
 
 # repackage cleaned up tarball
 test -d $PACKAGE_NAME-$VERSION || {
-	tar xjf $srctarball
+	tar xjvf $srctarball
 	install -d $PACKAGE_NAME-$VERSION
-	# relocate to src dir (needed  to workaround some gyp bug)
+	# relocate to src dir (needed to workaround some gyp bug)
 	mv chromium-$VERSION $PACKAGE_NAME-$VERSION/src
 }
 
@@ -71,7 +75,9 @@ else
 	v8=0
 fi
 
-sh -x $WORK_DIR/clean-source.sh v8=$v8 protobuf=0
+if [ "$CHANNEL" != "dev" ]; then
+	sh -x $WORK_DIR/clean-source.sh v8=$v8 protobuf=0
+fi
 
 # do not keep REMOVED*.txt in tarball. they are visible in .log anyway
 rm -vf REMOVED-*.txt
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/be8a9e6814e4c8646b516716c5afc102cfc3a0b0



More information about the pld-cvs-commit mailing list