summaryrefslogtreecommitdiff
path: root/packages/gwt-chromium/build.gradle
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2015-12-20 18:47:45 +0100
committerYves Fischer <yvesf-git@xapek.org>2015-12-20 18:47:45 +0100
commit570c0a93fb24a393a2bf013a5aad5b6759713ce7 (patch)
tree430499b41b4defac779fa3f3967bf0fa7af9f418 /packages/gwt-chromium/build.gradle
downloaddebian-packages-570c0a93fb24a393a2bf013a5aad5b6759713ce7.tar.gz
debian-packages-570c0a93fb24a393a2bf013a5aad5b6759713ce7.zip
start migrating from shell scripts
Diffstat (limited to 'packages/gwt-chromium/build.gradle')
-rw-r--r--packages/gwt-chromium/build.gradle43
1 files changed, 43 insertions, 0 deletions
diff --git a/packages/gwt-chromium/build.gradle b/packages/gwt-chromium/build.gradle
new file mode 100644
index 0000000..5b3c467
--- /dev/null
+++ b/packages/gwt-chromium/build.gradle
@@ -0,0 +1,43 @@
+//chrome nightly build, one of the last with npapi
+final revision = '242519'
+version "34-r${revision}"
+
+task downloadChrome(type: buildSrc.DownloadTask) {
+ source "http://gsdview.appspot.com/chromium-browser-continuous/Linux_x64/${revision}/chrome-linux.zip"
+ sha256sum '7269d35b51fb16ebd11af92cdaba933fb73f8984949952888e30fab63dc78df8'
+}
+
+task unpackChrome(type: Copy) {
+ from zipTree(downloadChrome.destFile)
+ into file("${buildDir}/unpacked/dist")
+}
+unpackChrome.dependsOn(downloadChrome)
+
+task downloadGwtPlugin(type: buildSrc.DownloadTask) {
+ source 'https://clients2.googleusercontent.com/crx/blobs/QgAAAC6zw0qH2DJtnXe8Z7rUJP3brylTnXsqSLH8EJLp' +
+ 'Cpq2560pdQWMapnnCQsWYAxwMN2Pa2mZkH4aA9in1i3WTJKG0OUyFhe7lScnMNxhS1yjAMZSmuVxRW6MIEDyZkO8bJcfTSNy6GZA2g/' +
+ 'extension_1_0_11357.crx'
+ sha256sum '5716f39ca4dadb47f571f65f631a00854487971f42ad24aa3a36a99e78d33134'
+}
+
+task downloadPdfPlugin(type: buildSrc.DownloadTask) {
+ source 'https://clients2.googleusercontent.com/crx/blobs/QgAAAC6zw0qH2DJtnXe8Z7rUJP2i3UKpz0eTiopC2Qlk_FXWm-wYwG' +
+ 'N2MPtjDt7LaoCfAScKzPva1bZi2q-9pYXZOibTl1nwFns1ZGCCvKGnyPQ0AMZSmuVlD6-IvZI2Yaw8Sj800M072EC85w/'+
+ 'extension_1_1_527.crx'
+ sha256sum ''
+}
+
+ospackage {
+ into("/opt/${project.name}")
+ from(unpackChrome.outputs.files)
+ from(fileTree(dir: 'resources/chrome-profile'))
+ from('resources/rewrite-locale/output.pak') {
+ into '/chrome-linux/locales/en-US.pak'
+ }
+ from(downloadGwtPlugin.outputs.files) {
+ into "/opt/${project.name}/chrome-profile/Default/Extensions/jpjpnpmbddbjkfaccnmhnkdgjideieim"
+ }
+ from(downloadPdfPlugin.outputs.files) {
+ into "/opt/${project.name}/chrome-profile/Default/Extensions/oemmndcbldboiebfnladdacbdfmadadm"
+ }
+} \ No newline at end of file