config 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. # vim: filetype=yaml sw=2
  2. version: '[% c("var/torbrowser_version") %]'
  3. filename: '[% c("var/project-name") %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %]'
  4. container:
  5. use_container: 1
  6. var:
  7. ddmg: '[% INCLUDE ddmg.sh %]'
  8. deps:
  9. - python
  10. - libparallel-forkmanager-perl
  11. - libfile-slurp-perl
  12. - zip
  13. - unzip
  14. - bzip2
  15. - xz-utils
  16. - patch
  17. targets:
  18. linux:
  19. var:
  20. arch_deps:
  21. # Install libc6-i386 to be able to run 32bit mar tools in linux-i686
  22. # builds (bug 29812). We don't need it in x86_64 builds, but we
  23. # share the container to reduce space used.
  24. - libc6-i386
  25. linux-i686:
  26. var:
  27. mar_osname: linux32
  28. linux-x86_64:
  29. var:
  30. mar_osname: linux64
  31. macos:
  32. var:
  33. arch_deps:
  34. - faketime
  35. - python3-dev
  36. - python3-pip
  37. - python3-distutils-extra
  38. - python3-psutil
  39. macos-universal:
  40. var:
  41. mar_osname: macos
  42. macos-aarch64:
  43. var:
  44. mar_osname: macos-aarch64
  45. macos-x86_64:
  46. var:
  47. mar_osname: macos-x86_64
  48. windows:
  49. var:
  50. arch_deps:
  51. - python3-pefile
  52. windows-i686:
  53. var:
  54. mar_osname: win32
  55. windows-x86_64:
  56. var:
  57. mar_osname: win64
  58. android:
  59. build: '[% INCLUDE build.android %]'
  60. var:
  61. verify_allowed_addons: 1
  62. torbrowser:
  63. var:
  64. prefs_file: 000-tor-browser.js
  65. basebrowser:
  66. var:
  67. prefs_file: 001-base-profile.js
  68. privacybrowser:
  69. var:
  70. prefs_file: 001-base-profile.js
  71. input_files:
  72. - project: container-image
  73. - filename: run_scripts
  74. enable: '[% ! c("var/android") %]'
  75. - project: firefox
  76. name: firefox
  77. enable: '[% ! c("var/android") %]'
  78. - project: firefox
  79. name: firefox-aarch64
  80. enable: '[% c("var/macos_universal") %]'
  81. target_prepend:
  82. - macos-aarch64
  83. - project: firefox
  84. name: src-firefox
  85. pkg_type: src-tarballs
  86. enable: '[% c("var/macos") %]'
  87. - project: fenix
  88. name: fenix
  89. enable: '[% c("var/android") %]'
  90. - project: tor-expert-bundle
  91. name: tor-expert-bundle
  92. enable: '[% c("var/tor-browser") %]'
  93. - project: tor-expert-bundle
  94. name: tor-expert-bundle-aarch64
  95. enable: '[% c("var/macos_universal") && c("var/tor-browser") %]'
  96. target_prepend:
  97. - macos-aarch64
  98. - project: fonts
  99. name: fonts
  100. enable: '[% ! c("var/android") %]'
  101. - filename: Bundle-Data
  102. enable: '[% ! c("var/android") %]'
  103. - URL: https://addons.mozilla.org/firefox/downloads/file/4067473/noscript-11.4.16.xpi
  104. name: noscript
  105. sha256sum: 44bdddd89bee11e52e09ea967aebd3aa996dc2d66c1a819e8dfdaf9a16cc753b
  106. - URL: https://addons.mozilla.org/firefox/downloads/file/4047353/ublock_origin-1.46.0.xpi
  107. name: ublock-origin
  108. sha256sum: 6bf8af5266353fab5eabdc7476de026e01edfb7901b0430c5e539f6791f1edc8
  109. enable: '[% c("var/privacy-browser") %]'
  110. - filename: 'gtk3-settings.ini'
  111. enable: '[% c("var/linux") %]'
  112. - project: hfsplus-tools
  113. name: hfsplus-tools
  114. enable: '[% c("var/macos") %]'
  115. - project: libdmg-hfsplus
  116. name: libdmg
  117. enable: '[% c("var/macos") %]'
  118. - project: nsis
  119. name: nsis
  120. enable: '[% c("var/windows") %]'
  121. - filename: windows-installer
  122. enable: '[% c("var/windows") %]'
  123. - filename: pe_checksum_fix.py
  124. enable: '[% c("var/windows") %]'
  125. # To generate a new keystore, see how-to-generate-keystore.txt
  126. - filename: android-qa.keystore
  127. enable: '[% c("var/android") %]'
  128. - name: '[% c("var/compiler") %]'
  129. project: '[% c("var/compiler") %]'
  130. enable: '[% c("var/android") || c("var/macos") %]'
  131. - name: electrum-nmc
  132. project: electrum-nmc
  133. enable: '[% c("var/namecoin") %]'
  134. - name: ncprop279
  135. project: ncprop279
  136. enable: '[% c("var/namecoin") %]'
  137. - name: stemns
  138. project: stemns
  139. enable: '[% c("var/namecoin") %]'
  140. - filename: namecoin.patch
  141. enable: '[% c("var/namecoin") %]'
  142. - filename: allowed_addons.json
  143. enable: '[% c("var/android") %]'
  144. - filename: verify_allowed_addons.py
  145. enable: '[% c("var/android") && c("var/verify_allowed_addons") %]'
  146. - project: manual
  147. name: manual
  148. enable: '[% ! c("var/android") && c("var/tor-browser") %]'