[arch-commits] Commit in (5 files)

Alexander Rødseth arodseth at archlinux.org
Wed Oct 7 08:13:47 UTC 2020


    Date: Wednesday, October 7, 2020 @ 08:13:47
  Author: arodseth
Revision: 720196

Add soqt, needed by FreeCAD

Added:
  soqt/
  soqt/repos/
  soqt/repos/community-x86_64/
  soqt/trunk/
  soqt/trunk/PKGBUILD

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

Added: soqt/trunk/PKGBUILD
===================================================================
--- soqt/trunk/PKGBUILD	                        (rev 0)
+++ soqt/trunk/PKGBUILD	2020-10-07 08:13:47 UTC (rev 720196)
@@ -0,0 +1,56 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Gabriel Souza Franco
+# Contributor: Florian Pritz
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Thomas Dziedzic <gostrc at gmail.com>
+# Contributor: Mickele
+# Contributor: Marcus Fritzsch <fritschy at googlemail.com>
+
+pkgname=soqt
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='The glue between Coin and Qt'
+arch=(x86_64)
+url='https://github.com/coin3d/soqt'
+license=(GPL)
+depends=(coin qt5-base)
+makedepends=(cmake git ninja doxygen)
+# 75d4... is tag SoQt-1.6.0
+# 3ff6... is tag soanydata-1_1_0
+# a006... is tag soxt-1_4_0
+source=("git+$url#commit=75d47669ae20f25ea4cd583c9298680254bdcff3"
+        "git+${url/soqt/soanydata}#commit=3ff6e9203fbb0cc08a2bdf209212b7ef4d78a1f2"
+        "git+${url/soqt/sogui}#commit=100612bf4016916dd686e2b6fecf8ac23d3db14d")
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP')
+
+prepare() {
+  # Set up links to the support repos
+  # (these are git submodules in what will be the next release)
+  ln -s "$srcdir/soanydata" soqt/data
+  ln -s "$srcdir/sogui" soqt/src/Inventor/Qt/common
+
+  # Skip cpack
+  mkdir -p soqt/cpack.d
+  touch soqt/cpack.d/CMakeLists.txt
+}
+
+build() {
+  mkdir -p build
+  cd build
+  cmake ../soqt \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DSOQT_BUILD_DOC_MAN=ON \
+    -DSOQT_BUILD_DOC_CHM=OFF \
+    -G Ninja
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+
+  # Skip the HTML documentation
+  rm -rf "$pkgdir/usr/share/doc"
+}



More information about the arch-commits mailing list