summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPopolon2025-01-26 18:08:19 +0100
committerPopolon2025-01-26 18:08:19 +0100
commitd089ba7efbec51543b97c54fc4099a0cb0d791aa (patch)
treefae77a998a465562c8315f7e6eab9bdce099f1b2
parent95e6be450da88df9801b3d07ad82a5527bcc6fb1 (diff)
downloadaur-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--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b8bc093a852..f99aea70f174 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 350c2221c79e..35b5da74ff15 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}