[arch-commits] Commit in seexpr-krita/trunk (PKGBUILD seexpr-llvm-shared.patch)
Antonio Rojas
arojas at archlinux.org
Tue Oct 13 18:10:38 UTC 2020
Date: Tuesday, October 13, 2020 @ 18:10:37
Author: arojas
Revision: 398246
Link to shared libLLVM
Added:
seexpr-krita/trunk/seexpr-llvm-shared.patch
Modified:
seexpr-krita/trunk/PKGBUILD
--------------------------+
PKGBUILD | 12 +++++++++---
seexpr-llvm-shared.patch | 19 +++++++++++++++++++
2 files changed, 28 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-13 17:51:00 UTC (rev 398245)
+++ PKGBUILD 2020-10-13 18:10:37 UTC (rev 398246)
@@ -2,7 +2,7 @@
pkgname=seexpr-krita
pkgver=3.4.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="An embeddable expression evaluation engine (Krita fork)"
arch=(x86_64)
url="https://krita.org"
@@ -10,9 +10,15 @@
depends=(qt5-base)
makedepends=(extra-cmake-modules qt5-tools boost python-pyqt5 sip python-sip llvm)
optdepends=('boost-libs: for the Python bindings' 'python: for the Python bindings')
-source=("https://download.kde.org/stable/seexpr/seexpr-$pkgver.tar.gz")
-sha256sums=('3f5b5330667d398285c9f7086cc3fd7e1363f3fa75f79b39766c34fe2e233656')
+source=("https://download.kde.org/stable/seexpr/seexpr-$pkgver.tar.gz"
+ seexpr-llvm-shared.patch)
+sha256sums=('3f5b5330667d398285c9f7086cc3fd7e1363f3fa75f79b39766c34fe2e233656'
+ '714a2d2cef23b83dab88b9ffd8f81e189a01556b3453e2fa6dbd77a6e2cd23d1')
+prepare() {
+ patch -d seexpr-$pkgver -p1 -i ../seexpr-llvm-shared.patch # Link to LLVM shared library
+}
+
build() {
_pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
cmake -B build -S seexpr-$pkgver \
Added: seexpr-llvm-shared.patch
===================================================================
--- seexpr-llvm-shared.patch (rev 0)
+++ seexpr-llvm-shared.patch 2020-10-13 18:10:37 UTC (rev 398246)
@@ -0,0 +1,19 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6ab34dc..818197a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -189,12 +189,8 @@ if (ENABLE_LLVM_BACKEND)
+ message(ERROR "Unknown processor, unable to set LLVM codegen targets")
+ endif()
+
+- llvm_map_components_to_libnames(LLVM_LIB
+- Interpreter
+- MCJIT
+- ObjCARCOpts
+- Passes
+- ${SeExpr2_PLATFORM_CODEGEN_LIBS}
++ set(LLVM_LIB
++ LLVM
+ )
+
+ message(STATUS "LLVM_LIB = ${LLVM_LIB}")
More information about the arch-commits
mailing list