[arch-commits] Commit in electron10/repos (7 files)
Date: Monday, December 14, 2020 @ 09:04:59 Author: foutrelis Revision: 774855 archrelease: copy trunk to community-staging-x86_64 Added: electron10/repos/community-staging-x86_64/ electron10/repos/community-staging-x86_64/PKGBUILD (from rev 774854, electron10/trunk/PKGBUILD) electron10/repos/community-staging-x86_64/chromium-skia-harmony.patch (from rev 774854, electron10/trunk/chromium-skia-harmony.patch) electron10/repos/community-staging-x86_64/default_app-icon.patch (from rev 774854, electron10/trunk/default_app-icon.patch) electron10/repos/community-staging-x86_64/electron10.desktop (from rev 774854, electron10/trunk/electron10.desktop) electron10/repos/community-staging-x86_64/media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch (from rev 774854, electron10/trunk/media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch) electron10/repos/community-staging-x86_64/use-system-libraries-in-node.patch (from rev 774854, electron10/trunk/use-system-libraries-in-node.patch) -+ PKGBUILD| 196 ++ chromium-skia-harmony.patch | 14 default_app-icon.patch | 21 + electron10.desktop |7 media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch | 43 ++ use-system-libraries-in-node.patch | 57 ++ 6 files changed, 338 insertions(+) Copied: electron10/repos/community-staging-x86_64/PKGBUILD (from rev 774854, electron10/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-14 09:04:59 UTC (rev 774855) @@ -0,0 +1,196 @@ +# Maintainer: Nicola Squartini + +pkgname=electron10 +pkgver=10.2.0 +_commit=4594af595eab12e76034d0d0e94539ef390024bb +_chromiumver=85.0.4183.121 +pkgrel=2 +pkgdesc='Build cross platform desktop apps with web technologies' +arch=('x86_64') +url='https://electronjs.org/' +license=('MIT' 'custom') +depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libxslt' 'minizip' + 'nss' 're2' 'snappy') +makedepends=('clang' 'git' 'gn-m85' 'gperf' 'harfbuzz-icu' 'java-runtime-headless' + 'jsoncpp' 'libnotify' 'lld' 'llvm' 'ninja' 'npm' 'pciutils' 'yarn' + 'python2' 'wget') +optdepends=('kde-cli-tools: file deletion support (kioclient5)' +'libappindicator-gtk3: StatusNotifierItem support' +'trash-cli: file deletion support (trash-put)' +"xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)") +source=('git+https://github.com/electron/electron.git' +'git+https://chromium.googlesource.com/chromium/tools/depot_tools.git' +"${pkgname}.desktop" +'default_app-icon.patch' +'use-system-libraries-in-node.patch' +'chromium-skia-harmony.patch' +'media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch' + ) +sha256sums=('SKIP' +'SKIP' +'5b7dd19adc360baa9e89bee514c0e8e183252a9ad78eae810ede7378a3b40b08' +'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4' +'50884820e07f7ce5ce55ee1ecdf610367a737e076c5029da0ab0d23154e7661d' +'771292942c0901092a402cc60ee883877a99fb804cb54d568c8c6c94565a48e1' +'0f041d655335cd2a4773ae7ca5e301a0ff12c6c53f57b7cf6651c268e0420a1c' + ) + +_system_libs=('ffmpeg' + 'flac' + 'fontconfig' + 'freetype' + 'harfbuzz-ng' + 'icu' + 'libdrm' + 'libevent' + 'libjpeg' + 'libpng' +# 'libvpx' + 'libwebp' + 'libxml' + 'libxslt' +# 'openh264' + 'opus' + 're2' + 'snappy' + 'zlib' + ) + +prepare() { + mkdir -p "${srcdir}"/python2-path + ln -sf /usr/bin/python2 "${srcdir}/python2-path/python" + export PATH="${srcdir}/python2-path:${PATH}:${srcdir}/depot_tools" + + echo "Fetching chromium..." + git clone --branch=${_chromiumver} --depth=1 \ + https://chromium.googlesource.com/chromium/src.git + + echo "solutions = [ + { +\"name\": \"src/electron\", +\"url\": \"file://${srcdir}/electron@${_commit}\", +\"deps_file\": \"DEPS\", +\"managed\": False, +\"custom_deps\": { + \"src\": None, +}, +\"custom_vars\": {}, + }, +]" > .gclient + + python2 "${srcdir}/depot_tools/gclient.py" sync \ + --with_branch_heads \ + --with_tags \ + --nohooks + + sed -e "s/'am'/'apply'/" -i src/electron/script/lib/git.py + + echo "Running hooks..." + # python2 "${srcdir}/depot_tools/gclient.py" runhooks + python2
[arch-commits] Commit in electron10/repos (7 files)
Date: Tuesday, December 8, 2020 @ 05:14:17 Author: tensor5 Revision: 771737 archrelease: copy trunk to community-staging-x86_64 Added: electron10/repos/community-staging-x86_64/ electron10/repos/community-staging-x86_64/PKGBUILD (from rev 771736, electron10/trunk/PKGBUILD) electron10/repos/community-staging-x86_64/chromium-skia-harmony.patch (from rev 771736, electron10/trunk/chromium-skia-harmony.patch) electron10/repos/community-staging-x86_64/default_app-icon.patch (from rev 771736, electron10/trunk/default_app-icon.patch) electron10/repos/community-staging-x86_64/electron10.desktop (from rev 771736, electron10/trunk/electron10.desktop) electron10/repos/community-staging-x86_64/media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch (from rev 771736, electron10/trunk/media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch) electron10/repos/community-staging-x86_64/use-system-libraries-in-node.patch (from rev 771736, electron10/trunk/use-system-libraries-in-node.patch) -+ PKGBUILD| 196 ++ chromium-skia-harmony.patch | 14 default_app-icon.patch | 21 + electron10.desktop |7 media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch | 43 ++ use-system-libraries-in-node.patch | 57 ++ 6 files changed, 338 insertions(+) Copied: electron10/repos/community-staging-x86_64/PKGBUILD (from rev 771736, electron10/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-12-08 05:14:17 UTC (rev 771737) @@ -0,0 +1,196 @@ +# Maintainer: Nicola Squartini + +pkgname=electron10 +pkgver=10.1.7 +_commit=e24e77f4a2517b25e739dcaba7b237bc40b5ab5d +_chromiumver=85.0.4183.121 +pkgrel=1 +pkgdesc='Build cross platform desktop apps with web technologies' +arch=('x86_64') +url='https://electronjs.org/' +license=('MIT' 'custom') +depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libxslt' 'minizip' + 'nss' 're2' 'snappy') +makedepends=('clang' 'git' 'gn-m85' 'gperf' 'harfbuzz-icu' 'java-runtime-headless' + 'jsoncpp' 'libnotify' 'lld' 'llvm' 'ninja' 'npm' 'pciutils' 'yarn' + 'python2' 'wget') +optdepends=('kde-cli-tools: file deletion support (kioclient5)' +'libappindicator-gtk3: StatusNotifierItem support' +'trash-cli: file deletion support (trash-put)' +"xdg-utils: open URLs with desktop's default (xdg-email, xdg-open)") +source=('git+https://github.com/electron/electron.git' +'git+https://chromium.googlesource.com/chromium/tools/depot_tools.git' +"${pkgname}.desktop" +'default_app-icon.patch' +'use-system-libraries-in-node.patch' +'chromium-skia-harmony.patch' +'media-Set-allocation-limit-compatible-with-FFmpeg-4.3.patch' + ) +sha256sums=('SKIP' +'SKIP' +'5b7dd19adc360baa9e89bee514c0e8e183252a9ad78eae810ede7378a3b40b08' +'dd2d248831dd4944d385ebf008426e66efe61d6fdf66f8932c963a12167947b4' +'50884820e07f7ce5ce55ee1ecdf610367a737e076c5029da0ab0d23154e7661d' +'771292942c0901092a402cc60ee883877a99fb804cb54d568c8c6c94565a48e1' +'0f041d655335cd2a4773ae7ca5e301a0ff12c6c53f57b7cf6651c268e0420a1c' + ) + +_system_libs=('ffmpeg' + 'flac' + 'fontconfig' + 'freetype' + 'harfbuzz-ng' + 'icu' + 'libdrm' + 'libevent' + 'libjpeg' + 'libpng' +# 'libvpx' + 'libwebp' + 'libxml' + 'libxslt' +# 'openh264' + 'opus' + 're2' + 'snappy' + 'zlib' + ) + +prepare() { + mkdir -p "${srcdir}"/python2-path + ln -sf /usr/bin/python2 "${srcdir}/python2-path/python" + export PATH="${srcdir}/python2-path:${PATH}:${srcdir}/depot_tools" + + echo "Fetching chromium..." + git clone --branch=${_chromiumver} --depth=1 \ + https://chromium.googlesource.com/chromium/src.git + + echo "solutions = [ + { +\"name\": \"src/electron\", +\"url\": \"file://${srcdir}/electron@${_commit}\", +\"deps_file\": \"DEPS\", +\"managed\": False, +\"custom_deps\": { + \"src\": None, +}, +\"custom_vars\": {}, + }, +]" > .gclient + + python2 "${srcdir}/depot_tools/gclient.py" sync \ + --with_branch_heads \ + --with_tags \ + --nohooks + + sed -e "s/'am'/'apply'/" -i src/electron/script/lib/git.py + + echo "Running hooks..." + # python2 "${srcdir}/depot_tools/gclient.py" runhooks + python2 src/build/landmines.py