[arch-commits] Commit in swi-prolog/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Jun 10 15:48:32 UTC 2019


    Date: Monday, June 10, 2019 @ 15:48:31
  Author: arodseth
Revision: 479727

upgpkg: swi-prolog 8.0.2-1

Modified:
  swi-prolog/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-10 15:33:53 UTC (rev 479726)
+++ PKGBUILD	2019-06-10 15:48:31 UTC (rev 479727)
@@ -5,31 +5,33 @@
 # Contributor: Juergen Hoetzel <juergen at archlinux.org>
 
 pkgname=swi-prolog
-pkgver=8.0.1
+pkgver=8.0.2
 pkgrel=1
 pkgdesc='Prolog environment'
 arch=('x86_64')
 url='https://swi-prolog.org/'
 license=(GPL LGPL)
-depends=(gmp libarchive openssl readline)
-makedepends=(cmake libjpeg libxft libxinerama libxpm ninja unixodbc)
-optdepends=('unixodbc:    for using the odbc4pl library'
-            'libjpeg:     for using the pl2xpce library'
-            'libxpm:      for using the pl2xpce library'
-            'libxinerama: for using the pl2xpce library'
-            'libxft:      for using the pl2xpce library')
+depends=(gmp jdk-openjdk libarchive libedit libyaml openssl qt5-tools readline)
+makedepends=(cmake junit libjpeg libxft libxinerama libxpm ninja unixodbc)
+optdepends=('unixodbc:     for using the odbc4pl library'
+            'libjpeg:      for using the pl2xpce library'
+            'libxpm:       for using the pl2xpce library'
+            'libxinerama:  for using the pl2xpce library'
+            'libxft:       for using the pl2xpce library'
+            'java-runtime: for using Prolog from Java')
 # invalid HTTPS cert
 source=("http://www.swi-prolog.org/download/stable/src/swipl-${pkgver/_/-}.tar.gz")
-sha256sums=('e42c703ce373f6435ab917989a7827a041d131cf79300311bb4c8ef188f1092f')
+sha256sums=('abb81b55ac5f2c90997c0005b1f15b74ed046638b64e784840a139fe21d0a735')
 
 build() {
   mkdir -p build
   cd build
   cmake ../swipl-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
     -DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
-    -DVALA_CFLAGS="$CFLAGS -fPIC -w" \
+    -DLIBEDIT_LIBRARIES=/usr/lib/libedit.so.0 \
+    -DLIBEDIT_INCLUDE_DIR=/usr/include \
     -G Ninja
   ../swipl-$pkgver/scripts/pgo-compile.sh
   ninja
@@ -37,9 +39,8 @@
 
 check() {
   cd build
-
-  # the zlib test fails
-  ctest -j 8 | true
+  # the prolog_in_java test fails
+  ctest -j 8 || true
 }
 
 package() {



More information about the arch-commits mailing list