summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Meyer2020-09-07 14:45:25 +0200
committerIngo Meyer2020-09-07 14:45:25 +0200
commit321edf98f739d40e65b29fcc70914651ebf4aaf8 (patch)
tree17a96fa75a120500b1589fa529b7ab8a07e5a6ab
parent9f4cd6b381cfe6ed52660f1f505c9677d46f0901 (diff)
downloadaur-321edf98f739d40e65b29fcc70914651ebf4aaf8.tar.gz
Add `emscripten` to `makedepends` (no runtime dependency)
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b6445f4775a..3a1d961c12d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gr-framework
pkgdesc = A universal framework for cross-platform visualization applications.
pkgver = 0.52.0
- pkgrel = 1
+ pkgrel = 2
url = https://gr-framework.org
arch = i686
arch = x86_64
@@ -10,6 +10,7 @@ pkgbase = gr-framework
arch = aarch64
license = MIT
makedepends = cmake
+ makedepends = emscripten
depends = bzip2
depends = cairo
depends = fontconfig
diff --git a/PKGBUILD b/PKGBUILD
index 1f6e08547e2..cba1c670c02 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname="gr-framework"
pkgver="0.52.0"
-pkgrel="1"
+pkgrel="2"
pkgdesc="A universal framework for cross-platform visualization applications."
arch=("i686" "x86_64" "armv6h" "armv7h" "aarch64")
url="https://gr-framework.org"
@@ -10,7 +10,7 @@ license=("MIT")
depends=("bzip2" "cairo" "fontconfig" "freetype2" "ghostscript" "glfw-x11" \
"libjpeg-turbo" "libpng" "libtiff" "libx11" "libxft" "libxt" "pixman" \
"qhull" "qt5-base" "zlib")
-makedepends=("cmake")
+makedepends=("cmake" "emscripten")
optdepends=("ffmpeg: video support")
source=("https://github.com/sciapp/gr/archive/v${pkgver}.tar.gz")
sha256sums=("8c9149377bfd3fe61b05cda34b980f894f1a723d7c74c4ace5da2e31d3630870")
@@ -27,10 +27,8 @@ build() {
-DGR_USE_BUNDLED_LIBRARIES=OFF \
-S . \
-B build && \
- cmake --build build
- if command -v >/dev/null 2>&1; then
- emmake make -C js || return
- fi
+ cmake --build build && \
+ /usr/lib/emscripten/emmake make -C js
}
package() {