diff options
author | Ingo Meyer | 2021-07-19 11:08:54 +0200 |
---|---|---|
committer | Ingo Meyer | 2021-07-19 11:08:54 +0200 |
commit | 43785cbdc5da492f88c9d404df3c2e9d913f9449 (patch) | |
tree | b7c3b291e6c2ae29d01f356ab77681ace99341d5 | |
parent | 875dcde886eca2d9702dd7deee7436e0be360c4e (diff) | |
download | aur-43785cbdc5da492f88c9d404df3c2e9d913f9449.tar.gz |
Move JavaScript component to an extra package
This commit removes the JavaScript component from this package so users
are not forced to have an Emscripten installation. The JavaScript
version of GR can now be installed with `gr-framework-js`.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 5 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = gr-framework pkgdesc = A universal framework for cross-platform visualization applications. pkgver = 0.58.0 - pkgrel = 1 + pkgrel = 2 url = https://gr-framework.org arch = i686 arch = x86_64 @@ -10,7 +10,6 @@ pkgbase = gr-framework arch = aarch64 license = MIT makedepends = cmake - makedepends = emscripten depends = bzip2 depends = cairo depends = fontconfig @@ -2,7 +2,7 @@ pkgname="gr-framework" pkgver="0.58.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" "emscripten") +makedepends=("cmake") optdepends=("ffmpeg: video support") source=("https://github.com/sciapp/gr/archive/v${pkgver}.tar.gz") sha256sums=("0b023ce821cdf2d97d82ad2a13e6cec27e3dd6b66e1c8af73e82064542e125b4") @@ -27,12 +27,10 @@ build() { -DGR_USE_BUNDLED_LIBRARIES=OFF \ -S . \ -B build && \ - cmake --build build && \ - /usr/lib/emscripten/emmake make -C js + cmake --build build } package() { cd "${srcdir}/gr-${pkgver}" || return - DESTDIR="${pkgdir}" cmake --install build && \ - cp "js/gr.js" "${pkgdir}/usr/gr/lib/" + DESTDIR="${pkgdir}" cmake --install build } |