[arch-commits] Commit in soqt/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Oct 9 12:20:16 UTC 2020
Date: Friday, October 9, 2020 @ 12:20:16
Author: arodseth
Revision: 722460
archrelease: copy trunk to community-x86_64
Added:
soqt/repos/community-x86_64/PKGBUILD
(from rev 722459, soqt/trunk/PKGBUILD)
Deleted:
soqt/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 58 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-09 12:20:11 UTC (rev 722459)
+++ PKGBUILD 2020-10-09 12:20:16 UTC (rev 722460)
@@ -1,56 +0,0 @@
-# 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"
-}
Copied: soqt/repos/community-x86_64/PKGBUILD (from rev 722459, soqt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-09 12:20:16 UTC (rev 722460)
@@ -0,0 +1,58 @@
+# 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=2
+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 mesa 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_C_FLAGS="$CFLAGS -fPIC -Wno-deprecated-declarations" \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -Wno-deprecated-declarations" \
+ -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