[arch-commits] Commit in seexpr-krita/repos/extra-x86_64 (3 files)

Antonio Rojas arojas at archlinux.org
Tue Oct 13 18:10:49 UTC 2020


    Date: Tuesday, October 13, 2020 @ 18:10:49
  Author: arojas
Revision: 398247

archrelease: copy trunk to extra-x86_64

Added:
  seexpr-krita/repos/extra-x86_64/PKGBUILD
    (from rev 398246, seexpr-krita/trunk/PKGBUILD)
  seexpr-krita/repos/extra-x86_64/seexpr-llvm-shared.patch
    (from rev 398246, seexpr-krita/trunk/seexpr-llvm-shared.patch)
Deleted:
  seexpr-krita/repos/extra-x86_64/PKGBUILD

--------------------------+
 PKGBUILD                 |   62 ++++++++++++++++++++++++---------------------
 seexpr-llvm-shared.patch |   19 +++++++++++++
 2 files changed, 53 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-13 18:10:37 UTC (rev 398246)
+++ PKGBUILD	2020-10-13 18:10:49 UTC (rev 398247)
@@ -1,28 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux,org>
-
-pkgname=seexpr-krita
-pkgver=3.4.4.0
-pkgrel=1
-pkgdesc="An embeddable expression evaluation engine (Krita fork)"
-arch=(x86_64)
-url="https://krita.org"
-license=(Apache)
-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')
-
-build() {
-  _pythonpath=`python -c "from sysconfig import get_path; print(get_path('platlib'))"`
-  cmake -B build -S seexpr-$pkgver \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DPYQT_SIP_DIR="$_pythonpath/PyQt5/bindings" \
-    -DBUILD_DEMOS=OFF \
-    -DBUILD_TESTS=OFF
-  cmake --build build
-}
-
-package() {
-  DESTDIR="$pkgdir" cmake --install build
-}

Copied: seexpr-krita/repos/extra-x86_64/PKGBUILD (from rev 398246, seexpr-krita/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-13 18:10:49 UTC (rev 398247)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux,org>
+
+pkgname=seexpr-krita
+pkgver=3.4.4.0
+pkgrel=2
+pkgdesc="An embeddable expression evaluation engine (Krita fork)"
+arch=(x86_64)
+url="https://krita.org"
+license=(Apache)
+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"
+         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 \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYQT_SIP_DIR="$_pythonpath/PyQt5/bindings" \
+    -DBUILD_DEMOS=OFF \
+    -DBUILD_TESTS=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Copied: seexpr-krita/repos/extra-x86_64/seexpr-llvm-shared.patch (from rev 398246, seexpr-krita/trunk/seexpr-llvm-shared.patch)
===================================================================
--- seexpr-llvm-shared.patch	                        (rev 0)
+++ seexpr-llvm-shared.patch	2020-10-13 18:10:49 UTC (rev 398247)
@@ -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