diff options
author | Popolon | 2025-01-26 18:08:19 +0100 |
---|---|---|
committer | Popolon | 2025-01-26 18:08:19 +0100 |
commit | d089ba7efbec51543b97c54fc4099a0cb0d791aa (patch) | |
tree | fae77a998a465562c8315f7e6eab9bdce099f1b2 | |
parent | 95e6be450da88df9801b3d07ad82a5527bcc6fb1 (diff) | |
download | aur-d089ba7efbec51543b97c54fc4099a0cb0d791aa.tar.gz |
enable SIMD on supported architecture (Neon on ARM, AVX on x86_64), not forced on other ones
don't --reconfigure for example, adding -Dexamples=true is enough to enable them, don't rebuild the whole src
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = thorvg-git pkgdesc = An open-source, lightweight, and portable library designed for rendering vector-based scenes and animations, including SVG and Lottie formats pkgver = r3497.ebe4935d - pkgrel = 2 + pkgrel = 3 url = https://www.thorvg.org/ arch = x86_64 arch = aarch64 @@ -4,7 +4,7 @@ pkgname=thorvg-git pkgbase=thorvg-git _pkgname=thorvg pkgver=r3497.ebe4935d -pkgrel=2 +pkgrel=3 pkgdesc="An open-source, lightweight, and portable library designed for rendering vector-based scenes and animations, including SVG and Lottie formats" arch=('x86_64' 'aarch64' 'riscv32' 'riscv64' 'i386' 'i686' 'armv7h' 'armv6h' 'loong64' 'powerpc' 'powerpc64le' 'powerpc64') url="https://www.thorvg.org/" @@ -23,6 +23,7 @@ prepare() { cd ${_pkgname} meson setup builddir --prefix=/usr \ -Dengines=sw,gl \ + -Dsimd=true \ -Dloaders=all \ -Dsavers=all \ -Dbindings="capi" \ @@ -54,12 +55,12 @@ provides=('thorvg-examples') sed -i 's|DEXAMPLE_DIR="@0@|DEXAMPLE_DIR="/usr/share/doc/thorvg-git|' meson.build meson setup builddir --prefix=/usr \ -Dexamples=true \ + -Dsimd=true \ -Dengines=sw,gl \ -Dloaders=all \ -Dsavers=all \ -Dbindings="capi" \ -Dtools=all \ - --reconfigure ninja -C builddir mkdir -p ${pkgdir}/usr/share/doc/${pkgbase} |