[arch-commits] Commit in swi-prolog/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Fri Oct 1 21:42:06 UTC 2021


    Date: Friday, October 1, 2021 @ 21:42:06
  Author: arodseth
Revision: 1026641

archrelease: copy trunk to community-x86_64

Added:
  swi-prolog/repos/community-x86_64/PKGBUILD
    (from rev 1026640, swi-prolog/trunk/PKGBUILD)
Deleted:
  swi-prolog/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-01 21:42:01 UTC (rev 1026640)
+++ PKGBUILD	2021-10-01 21:42:06 UTC (rev 1026641)
@@ -1,49 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Jachym Barvinek <jachymb at gmail.com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: John Proctor <jproctor at prium.net>
-# Contributor: Juergen Hoetzel <juergen at archlinux.org>
-
-pkgname=swi-prolog
-pkgver=8.2.4
-pkgrel=1
-pkgdesc='Prolog environment'
-arch=(x86_64)
-url='https://www.swi-prolog.org/'
-license=(GPL LGPL)
-depends=(libarchive libxcrypt libyaml qt5-base)
-makedepends=(cmake jdk-openjdk junit libjpeg libxft libxinerama libxpm ninja unixodbc)
-optdepends=('java-runtime: for using Prolog from Java'
-            'jdk-openjdk: for using Prolog from Java'
-            'libjpeg: for using the pl2xpce library'
-            'libxft: for using the pl2xpce library'
-            'libxinerama: for using the pl2xpce library'
-            'libxpm: for using the pl2xpce library'
-            'unixodbc: for using the odbc4pl library')
-source=("$pkgname-$pkgver.tar.gz::https://www.swi-prolog.org/download/stable/src/swipl-$pkgver.tar.gz")
-b2sums=('b18f26102a685ff5c66aeaf0c14a08c532f9327f9f995cd46657a71b6779d021eb4f5651b2be77883197c7c5ee31c23259f46ed559aeeb0bb53ad10aea0081ed')
-
-build() {
-  mkdir -p build
-  cd build
-  cmake "$srcdir/swipl-$pkgver" \
-    -D CMAKE_BUILD_TYPE=Release \
-    -D CMAKE_INSTALL_PREFIX=/usr \
-    -D CMAKE_C_FLAGS="$CFLAGS -fPIC -ffile-prefix-map=$PWD= -w" \
-    -D LIBEDIT_LIBRARIES=/usr/lib/libedit.so.0 \
-    -D LIBEDIT_INCLUDE_DIR=/usr/include \
-    -G Ninja
-  "$srcdir/swipl-$pkgver/scripts/pgo-compile.sh"
-  ninja
-}
-
-check() {
-  cd build
-  ctest -j 12
-}
-
-package() {
-  DESTDIR="$pkgdir" ninja -C build install
-}
-
-# getver: www.swi-prolog.org/download/stable

Copied: swi-prolog/repos/community-x86_64/PKGBUILD (from rev 1026640, swi-prolog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-01 21:42:06 UTC (rev 1026641)
@@ -0,0 +1,48 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Jachym Barvinek <jachymb at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: John Proctor <jproctor at prium.net>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+
+pkgname=swi-prolog
+pkgver=8.4.0
+pkgrel=1
+pkgdesc='Prolog environment'
+arch=(x86_64)
+url='https://www.swi-prolog.org/'
+license=(GPL LGPL)
+depends=(libarchive libxcrypt libyaml qt5-base util-linux-libs)
+makedepends=(cmake gperftools jdk-openjdk junit libjpeg libxft libxinerama libxpm ninja python-protobuf unixodbc)
+optdepends=('java-runtime: for using Prolog from Java'
+            'jdk-openjdk: for using Prolog from Java'
+            'libjpeg: for using the pl2xpce library'
+            'libxft: for using the pl2xpce library'
+            'libxinerama: for using the pl2xpce library'
+            'libxpm: for using the pl2xpce library'
+            'unixodbc: for using the odbc4pl library')
+source=("$pkgname-$pkgver.tar.gz::https://www.swi-prolog.org/download/stable/src/swipl-$pkgver.tar.gz")
+b2sums=('ba0a62616432a3a958dd3ad90b56bfb644c5a99fdea5936cabf32224beac0a405622cd4f754415203b61545a1a238a227eea44e16ee455ee1270c47e3455a728')
+
+build() {
+  cmake -B build -S "swipl-$pkgver" \
+    -D CMAKE_BUILD_TYPE=Release \
+    -D CMAKE_INSTALL_PREFIX=/usr \
+    -D CMAKE_C_FLAGS="$CFLAGS -fPIC -ffile-prefix-map=$PWD= -w" \
+    -D LIBEDIT_LIBRARIES=/usr/lib/libedit.so.0 \
+    -D LIBEDIT_INCLUDE_DIR=/usr/include \
+    -G Ninja
+  "$srcdir/swipl-$pkgver/scripts/pgo-compile.sh"
+  ninja -C build
+}
+
+check() {
+  # skip the MQI test
+  sed -i '/mqi/d' build/CTestTestfile.cmake
+  ctest -j 12 --test-dir build
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# getver: www.swi-prolog.org/download/stable



More information about the arch-commits mailing list