[arch-commits] Commit in emscripten/repos/community-x86_64 (6 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu May 2 15:23:32 UTC 2019
Date: Thursday, May 2, 2019 @ 15:23:30
Author: svenstaro
Revision: 457754
archrelease: copy trunk to community-x86_64
Added:
emscripten/repos/community-x86_64/PKGBUILD
(from rev 457753, emscripten/trunk/PKGBUILD)
emscripten/repos/community-x86_64/emscripten.install
(from rev 457753, emscripten/trunk/emscripten.install)
emscripten/repos/community-x86_64/emscripten.sh
(from rev 457753, 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 | 178 +++++++++++++++++++++++++--------------------------
emscripten.install | 22 +++---
emscripten.sh | 14 ++--
3 files changed, 107 insertions(+), 107 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-02 15:23:19 UTC (rev 457753)
+++ PKGBUILD 2019-05-02 15:23:30 UTC (rev 457754)
@@ -1,89 +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.38.30
-pkgrel=2
-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')
-makedepends=('cmake' 'libxml2')
-optdepends=('java-environment: for using clojure'
- 'ruby: for using websockify addon'
- 'cmake: for emcc --show-ports')
-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=('f6402532145f4674ab86ee6c592bfeab4541d62a7dc261e727110223fb77f2ee1a823910849682600d6d89dfd00094ab1af40c63f7a52fd784de94dbfb09dd3f'
- '8be85091c03f510e6116e28e675402ecc8420eaba1728aa5fab92e736be9025c4cc35e7c71b5748facbce42fd2ca7dde28b9f14f9bfc168893b2529cc94fadbd'
- '5a3c5203892b62a371b25788df385f65c65f0ca5c5410a7beea5a63214308008be45d024c2905b1a1e2f0415bfa182bc47ef096cf12130998f9ff6eb7d24408a'
- '52007717c21c22f5d9f027268de2516e969f2ffb8e37121f75ca2697b7ddcde6c0be9636d19df7b3c2e89bc769f5361750c62f9fcb84d224cde3c8626bc9c93b')
-
-prepare() {
- cd emscripten-fastcomp-$pkgver
-
- 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
-
- cd ../emscripten-$pkgver
-
- # 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
-
- cmake .. \
- -DPYTHON_EXECUTABLE=/usr/bin/python \
- -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
-
- # Get rid of some duplicated binaries (see FS#61487).
- for link in ++ -6.0 -cl -cpp; do
- ln -sf clang "$pkgdir"/usr/lib/emscripten-fastcomp/clang$link
- done
-}
Copied: emscripten/repos/community-x86_64/PKGBUILD (from rev 457753, emscripten/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-02 15:23:30 UTC (rev 457754)
@@ -0,0 +1,89 @@
+# 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.38.31
+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')
+makedepends=('cmake' 'libxml2')
+optdepends=('java-environment: for using clojure'
+ 'ruby: for using websockify addon'
+ 'cmake: for emcc --show-ports')
+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=('a8efe3c6c041652c0037af0535b9e36769ee8a6c41927366a89dfdcb5fa48f35b1d444806292ce1ff9d9a35f2f786bc750b4fded9dfd2b677637f0e786d5f5f7'
+ '2b3a8f7a69f37fb95e423f62352a2ac7fdfcc6975e3c81b6f9defbce323a0676ac1a2a9c6cd95ed7cf969a7ee82347f5e76346875dd8c3244c5bb57d91873569'
+ 'f90408ed06d59505a40bd4785549dda0f67f933adcd45b1f7386cb65178c75889c46a348eec21cc1ddde6919973a2eb30bbb7c29cf5a95cb6a1d4ac8191555da'
+ '52007717c21c22f5d9f027268de2516e969f2ffb8e37121f75ca2697b7ddcde6c0be9636d19df7b3c2e89bc769f5361750c62f9fcb84d224cde3c8626bc9c93b')
+
+prepare() {
+ cd emscripten-fastcomp-$pkgver
+
+ 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
+
+ cd ../emscripten-$pkgver
+
+ # 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
+
+ cmake .. \
+ -DPYTHON_EXECUTABLE=/usr/bin/python \
+ -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
+
+ # Get rid of some duplicated binaries (see FS#61487).
+ for link in ++ -6.0 -cl -cpp; do
+ ln -sf clang "$pkgdir"/usr/lib/emscripten-fastcomp/clang$link
+ done
+}
Deleted: emscripten.install
===================================================================
--- emscripten.install 2019-05-02 15:23:19 UTC (rev 457753)
+++ emscripten.install 2019-05-02 15:23:30 UTC (rev 457754)
@@ -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 457753, emscripten/trunk/emscripten.install)
===================================================================
--- emscripten.install (rev 0)
+++ emscripten.install 2019-05-02 15:23:30 UTC (rev 457754)
@@ -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 2019-05-02 15:23:19 UTC (rev 457753)
+++ emscripten.sh 2019-05-02 15:23:30 UTC (rev 457754)
@@ -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 457753, emscripten/trunk/emscripten.sh)
===================================================================
--- emscripten.sh (rev 0)
+++ emscripten.sh 2019-05-02 15:23:30 UTC (rev 457754)
@@ -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