[arch-commits] Commit in emscripten/repos/community-x86_64 (6 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Dec 6 04:53:45 UTC 2017


    Date: Wednesday, December 6, 2017 @ 04:53:43
  Author: svenstaro
Revision: 272390

archrelease: copy trunk to community-x86_64

Added:
  emscripten/repos/community-x86_64/PKGBUILD
    (from rev 272389, emscripten/trunk/PKGBUILD)
  emscripten/repos/community-x86_64/emscripten.install
    (from rev 272389, emscripten/trunk/emscripten.install)
  emscripten/repos/community-x86_64/emscripten.sh
    (from rev 272389, emscripten/trunk/emscripten.sh)
Deleted:
  emscripten/repos/community-x86_64/PKGBUILD
  emscripten/repos/community-x86_64/emscripten.install
  emscripten/repos/community-x86_64/emscripten.sh

--------------------+
 PKGBUILD           |  172 +++++++++++++++++++++++++--------------------------
 emscripten.install |   22 +++---
 emscripten.sh      |   14 ++--
 3 files changed, 104 insertions(+), 104 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-06 04:53:30 UTC (rev 272389)
+++ PKGBUILD	2017-12-06 04:53:43 UTC (rev 272390)
@@ -1,86 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
-# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
-
-pkgname=emscripten
-pkgver=1.37.23
-pkgrel=1
-pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
-arch=('x86_64')
-url="http://emscripten.org"
-license=('custom')
-depends=('nodejs' 'python' 'python2')
-makedepends=('cmake' 'libxml2')
-optdepends=('java-environment: for using clojure'
-            'ruby: for using websockify addon')
-install=$pkgname.install
-source=(emscripten-$pkgver.tar.gz::"https://github.com/kripken/emscripten/archive/$pkgver.tar.gz"
-        emscripten-fastcomp-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp/archive/$pkgver.tar.gz"
-        emscripten-fastcomp-clang-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp-clang/archive/$pkgver.tar.gz"
-        "emscripten.sh")
-sha512sums=('9c73c055405b4f13fdf6e4957b669e477d755985846022fe509d8f11efe0891aad1254fb1a5bf1830807b671881b2c567cee09493a6bba6d17a4290384bf6343'
-            'abe611868e2ada7d0b32e782863267ad1c2f73aef07d3f8929416f57ff68bf96765800e89b1330f5f3e8f916603a6c19be2dcd60d0e6dc73f31ffa82bc6425df'
-            'f52f3b49801c1edf2f1c0587672cefd5fb891c47d49af868e976506b191c347960375958e97d33c7b089e74f7b5b6956a452580d4406a1fde028c835b13c0acf'
-            '52007717c21c22f5d9f027268de2516e969f2ffb8e37121f75ca2697b7ddcde6c0be9636d19df7b3c2e89bc769f5361750c62f9fcb84d224cde3c8626bc9c93b')
-
-prepare() {
-  cd emscripten-fastcomp-$pkgver
-
-  # reset folder for out-of-source build
-  rm -rf build
-  mkdir build
-
-  # put clang source into the right place (http://git.io/i1GBkg)
-  rm -rf tools/clang
-  ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
-
-  # python2 shebang fixes
-  cd ../emscripten-$pkgver
-  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
-
-  # adapt config file template to use our custom environment variable and path
-  sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
-    -e 's|{{{ LLVM_ROOT }}}|/usr/lib/emscripten-fastcomp|' \
-    -i tools/settings_template_readonly.py
-}
-
-build() {
-  cd emscripten-fastcomp-$pkgver/build
-
-  CC=gcc CXX=g++ cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python2 \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_SKIP_RPATH=YES \
-    -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \
-    -DLLVM_BUILD_RUNTIME=OFF \
-    -DLLVM_INCLUDE_EXAMPLES=OFF \
-    -DLLVM_INCLUDE_TESTS=OFF \
-    -DCLANG_INCLUDE_TESTS=OFF
-  make
-}
-
-package() {
-  # exported variables
-  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
-
-  # LLVM-backend, TODO: include only needed tools
-  cd "$srcdir"/emscripten-fastcomp-$pkgver
-  install -Dm644 emscripten-version.txt "$pkgdir"/usr/lib/emscripten-fastcomp/emscripten-version.txt
-  install -m755 build/bin/* "$pkgdir"/usr/lib/emscripten-fastcomp
-
-  # copy structure
-  cd "$srcdir"/emscripten-$pkgver
-  install -d "$pkgdir"/usr/lib/emscripten
-  cp -rup em* cmake site src system third_party tools "$pkgdir"/usr/lib/emscripten
-
-  # remove clutter
-  rm "$pkgdir"/usr/lib/emscripten-fastcomp/{*-test,llvm-lit}
-  rm "$pkgdir"/usr/lib/emscripten/*.bat
-
-  # docs
-  install -d "$pkgdir"/usr/share/doc
-  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
-
-  # license
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: emscripten/repos/community-x86_64/PKGBUILD (from rev 272389, emscripten/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-06 04:53:43 UTC (rev 272390)
@@ -0,0 +1,86 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Vlad Kolotvin <vlad.kolotvin at gmail.com>
+
+pkgname=emscripten
+pkgver=1.37.24
+pkgrel=1
+pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
+arch=('x86_64')
+url="http://emscripten.org"
+license=('custom')
+depends=('nodejs' 'python' 'python2')
+makedepends=('cmake' 'libxml2')
+optdepends=('java-environment: for using clojure'
+            'ruby: for using websockify addon')
+install=$pkgname.install
+source=(emscripten-$pkgver.tar.gz::"https://github.com/kripken/emscripten/archive/$pkgver.tar.gz"
+        emscripten-fastcomp-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp/archive/$pkgver.tar.gz"
+        emscripten-fastcomp-clang-$pkgver.tar.gz::"https://github.com/kripken/emscripten-fastcomp-clang/archive/$pkgver.tar.gz"
+        "emscripten.sh")
+sha512sums=('14d79a55e2e8440d2f8b4c4654bd2803fda2c6cfa00ad9ea0923fd45d2809855a820803cfacf57ee9145da517771bb9a6d48f9b752c5e61736f68170cc238266'
+            '11edc1b7f6c5728093861c59a33204b3ed95410209e42387fdc7c48da974c6d35c898564136a25ca8816a934de54f3d33f443f01baeb42639520a6b569eb0229'
+            'e67856644ef9f7ceecf58341a8b535f9d5fe0490ea47ba836c0b4aa80643684f0f1d94b24fc6f18684abec698ab65033e6ca853ff0923f8b3cb639fc893bd4b3'
+            '52007717c21c22f5d9f027268de2516e969f2ffb8e37121f75ca2697b7ddcde6c0be9636d19df7b3c2e89bc769f5361750c62f9fcb84d224cde3c8626bc9c93b')
+
+prepare() {
+  cd emscripten-fastcomp-$pkgver
+
+  # reset folder for out-of-source build
+  rm -rf build
+  mkdir build
+
+  # put clang source into the right place (http://git.io/i1GBkg)
+  rm -rf tools/clang
+  ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
+
+  # python2 shebang fixes
+  cd ../emscripten-$pkgver
+  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
+
+  # adapt config file template to use our custom environment variable and path
+  sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
+    -e 's|{{{ LLVM_ROOT }}}|/usr/lib/emscripten-fastcomp|' \
+    -i tools/settings_template_readonly.py
+}
+
+build() {
+  cd emscripten-fastcomp-$pkgver/build
+
+  CC=gcc CXX=g++ cmake .. -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=YES \
+    -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \
+    -DLLVM_BUILD_RUNTIME=OFF \
+    -DLLVM_INCLUDE_EXAMPLES=OFF \
+    -DLLVM_INCLUDE_TESTS=OFF \
+    -DCLANG_INCLUDE_TESTS=OFF
+  make
+}
+
+package() {
+  # exported variables
+  install -Dm755 "$srcdir"/emscripten.sh "$pkgdir"/etc/profile.d/emscripten.sh
+
+  # LLVM-backend, TODO: include only needed tools
+  cd "$srcdir"/emscripten-fastcomp-$pkgver
+  install -Dm644 emscripten-version.txt "$pkgdir"/usr/lib/emscripten-fastcomp/emscripten-version.txt
+  install -m755 build/bin/* "$pkgdir"/usr/lib/emscripten-fastcomp
+
+  # copy structure
+  cd "$srcdir"/emscripten-$pkgver
+  install -d "$pkgdir"/usr/lib/emscripten
+  cp -rup em* cmake site src system third_party tools "$pkgdir"/usr/lib/emscripten
+
+  # remove clutter
+  rm "$pkgdir"/usr/lib/emscripten-fastcomp/{*-test,llvm-lit}
+  rm "$pkgdir"/usr/lib/emscripten/*.bat
+
+  # docs
+  install -d "$pkgdir"/usr/share/doc
+  ln -s /usr/lib/emscripten/site/source/docs "$pkgdir"/usr/share/doc/$pkgname
+
+  # license
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: emscripten.install
===================================================================
--- emscripten.install	2017-12-06 04:53:30 UTC (rev 272389)
+++ emscripten.install	2017-12-06 04:53:43 UTC (rev 272390)
@@ -1,11 +0,0 @@
-
-post_install() {
-  echo "=> You need to login again or 'source /etc/profile.d/emscripten.sh' in your"
-  echo "=> already running shells to be able to use emscripten."
-}
-
-post_upgrade() {
-  echo "=> You may need to manually clear your emscripten cache as clang may not link"
-  echo "=> the new library versions with cached data properly. Use this command:"
-  echo "   $ emcc --clear-cache"
-}

Copied: emscripten/repos/community-x86_64/emscripten.install (from rev 272389, emscripten/trunk/emscripten.install)
===================================================================
--- emscripten.install	                        (rev 0)
+++ emscripten.install	2017-12-06 04:53:43 UTC (rev 272390)
@@ -0,0 +1,11 @@
+
+post_install() {
+  echo "=> You need to login again or 'source /etc/profile.d/emscripten.sh' in your"
+  echo "=> already running shells to be able to use emscripten."
+}
+
+post_upgrade() {
+  echo "=> You may need to manually clear your emscripten cache as clang may not link"
+  echo "=> the new library versions with cached data properly. Use this command:"
+  echo "   $ emcc --clear-cache"
+}

Deleted: emscripten.sh
===================================================================
--- emscripten.sh	2017-12-06 04:53:30 UTC (rev 272389)
+++ emscripten.sh	2017-12-06 04:53:43 UTC (rev 272390)
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-export EMSCRIPTEN="/usr/lib/emscripten"
-export EMSCRIPTEN_FASTCOMP="/usr/lib/emscripten-fastcomp"
-
-# add to path
-export PATH=$PATH:$EMSCRIPTEN

Copied: emscripten/repos/community-x86_64/emscripten.sh (from rev 272389, emscripten/trunk/emscripten.sh)
===================================================================
--- emscripten.sh	                        (rev 0)
+++ emscripten.sh	2017-12-06 04:53:43 UTC (rev 272390)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+export EMSCRIPTEN="/usr/lib/emscripten"
+export EMSCRIPTEN_FASTCOMP="/usr/lib/emscripten-fastcomp"
+
+# add to path
+export PATH=$PATH:$EMSCRIPTEN



More information about the arch-commits mailing list