SHARE
TWEET

Untitled

a guest Feb 16th, 2020 124 in 136 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer:  Gabriel Souza Franco <Z2FicmllbGZyYW5jb3NvdXphQGdtYWlsLmNvbQ==>
  2. # Contributor: Florian Pritz
  3. # Contributor: Christian Hesse <mail@eworm.de>
  4. # Contributor: Thomas Dziedzic < gostrc at gmail >
  5. # Contributor: mickele
  6. # Contributor: marcus fritzsch <fritschy@googlemail.com>
  7.  
  8. pkgname=soqt
  9. pkgver=1.6.0
  10. _soanydata_commit=3ff6e9203fbb0cc08a2bdf209212b7ef4d78a1f2
  11. _sogui_commit=100612bf4016916dd686e2b6fecf8ac23d3db14d
  12. pkgrel=1
  13. pkgdesc='A library which provides the glue between Coin and Qt'
  14. arch=('i686' 'x86_64')
  15. url='https://github.com/coin3d/soqt'
  16. license=('GPL')
  17. depends=('coin>=4.0.0' 'qt5-base')
  18. makedepends=('cmake' 'doxygen')
  19. source=("https://github.com/coin3d/soqt/archive/SoQt-$pkgver.tar.gz"
  20.         "soanydata-$_soanydata_commit.tar.gz::https://github.com/coin3d/soanydata/archive/$_soanydata_commit.tar.gz"
  21.         "sogui-$_sogui_commit.tar.gz::https://github.com/coin3d/sogui/archive/$_sogui_commit.tar.gz"
  22.         "soqt-remove-cpack.patch::https://github.com/coin3d/soqt/commit/1318402.patch")
  23. sha256sums=('80bbee01089af754380c48ea435008ea93465149999a545741c410efe8e9bef9'
  24.             'ede29d60d1b35e66193aaf115784f87867ab1658cb1d977fe75dfc0d0ffb3241'
  25.             '605c649902c7be3549b9df7bfdd11d80f13f3aa09b8f0654bf99bcf66a1ee914'
  26.             '54df1238fbe412b470e13f2c2f94abba23a283dafb9ca8b14ea31ac348668db5')
  27.  
  28. prepare() {
  29.     cd soqt-SoQt-$pkgver
  30.  
  31.     patch -Np1 -i ../soqt-remove-cpack.patch
  32.  
  33.     ln -rs ../soanydata-$_soanydata_commit data
  34.     ln -rs ../sogui-$_sogui_commit src/Inventor/Qt/common
  35. }
  36.  
  37. build() {
  38.     mkdir -p build
  39.     cd build
  40.  
  41.     cmake ../soqt-SoQt-$pkgver \
  42.         -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
  43.         -DCMAKE_INSTALL_LIBDIR=lib \
  44.         -DSOQT_BUILD_DOC_MAN=ON \
  45.         -DSOQT_BUILD_DOC_CHM=OFF
  46.  
  47.     make
  48. }
  49.  
  50. package() {
  51.     cd build
  52.  
  53.     cmake --install .
  54.  
  55.     # remove html help pages
  56.     rm -rf "$pkgdir/usr/share/doc"
  57. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top