summaryrefslogtreecommitdiffstats
path: root/extra/chromium/createSource
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-14 19:41:17 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-14 19:41:17 +0200
commit766d060551433dfbd44406113da4594a6fb0b5ed (patch)
tree252ad195a66b27e5ec774d69d8263edfb1dc9929 /extra/chromium/createSource
parent5735f624c8076f33e841f3f5995ebed6e3f76d76 (diff)
downloadnutyx-pakxe-766d060551433dfbd44406113da4594a6fb0b5ed.tar.gz
nutyx-pakxe-766d060551433dfbd44406113da4594a6fb0b5ed.tar.bz2
nutyx-pakxe-766d060551433dfbd44406113da4594a6fb0b5ed.tar.xz
nutyx-pakxe-766d060551433dfbd44406113da4594a6fb0b5ed.zip
chromium, port nettoyé
Diffstat (limited to 'extra/chromium/createSource')
-rw-r--r--extra/chromium/createSource55
1 files changed, 0 insertions, 55 deletions
diff --git a/extra/chromium/createSource b/extra/chromium/createSource
deleted file mode 100644
index ddd0140a4..000000000
--- a/extra/chromium/createSource
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-
-. PKGBUILD
-
-# see http://src.chromium.org/svn/trunk/src/tools/export_tarball/export_tarball.py
-nonessential_dirs=(
- 'src/chrome/test/data'
- 'src/chrome/tools/test/reference_build'
- 'src/gears/binaries'
- 'src/net/data/cache_tests'
- 'src/o3d/documentation'
- 'src/o3d/samples'
- 'src/third_party/lighttpd'
- 'src/third_party/WebKit/LayoutTests'
- 'src/webkit/data/layout_tests'
- 'src/webkit/tools/test/reference_build'
-)
-
-current=$(pwd)
-tmp=$(mktemp -d)
-mkdir -p $tmp/chromium-$pkgver
-cd $tmp/chromium-$pkgver
-
-# this should be updated to a more recent revision on major updates
-svn co -r42572 -q http://src.chromium.org/svn/trunk/tools/depot_tools/ depot_tools
-
-export PATH=./depot_tools/:$PATH
-chmod +x ./depot_tools/gclient.py
-gclient.py config http://src.chromium.org/svn/releases/$pkgver
-sed -e '15i\ "src/third_party/WebKit/LayoutTests": None,' \
- -e '15i\ "src/chrome/tools/test/reference_build": None,' \
- -e '15i\ "src/third_party/ffmpeg/binaries/chromium/linux/ia32": None,' \
- -e '15i\ "src/third_party/ffmpeg/binaries/chromium/linux/ia32_dbg": None,' \
- -e '15i\ "src/third_party/ffmpeg/binaries/chromium/linux/x64": None,' \
- -e '15i\ "src/third_party/ffmpeg/binaries/chromium/linux/x64_dbg": None,' \
- -i .gclient
-gclient.py sync --force --nohooks
-
-svnversion src > src/build/LASTCHANGE.in
-
-for i in ${nonessential_dirs[@]}; do
- rm -rf $i
-done
-
-find . -name '.svn' -type d -exec rm -rf {} \;
-find . -iname '*.dll' -delete
-find . -iname '*.exe' -delete
-find . -iname '*.o' -delete
-find . -iname '*.nexe' -delete
-
-cd ..
-bsdtar cJf $current/chromium-$pkgver.tar.xz chromium-$pkgver
-cd $current
-
-rm -rf $tmp