Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.3 KiB

7 years ago
  1. # Maintainer: Fincer <fincer89 at hotmail dot com>
  2. pkgname=photoscan-pro
  3. pkgver=1.3.0
  4. ver=1_3_0
  5. pkgrel=1
  6. pkgdesc='Generate high resolution georeferenced orthophotos and textured polygonal models (trial version).'
  7. arch=('x86_64')
  8. url='http://www.agisoft.com/'
  9. license=('custom: "commercial"')
  10. depends=('libpng12' 'qt5-svg' 'qt5-base' 'python')
  11. install=photoscan-pro.install
  12. architecture=_amd64
  13. source=("http://download.agisoft.com/photoscan-pro_$ver$_$architecture.tar.gz" "$pkgname.runtime" "$pkgname.png" "$pkgname.desktop"
  14. qtfix.patch)
  15. md5sums=('82aaed64f623dc91d6129014412c8c7a'
  16. '2f29afffc98fa39ae0f5c47fe7195833'
  17. '9ffa07f3059edce837d43de8c2a50e1b'
  18. '72403a878fd2f555ce5d3bef507740e6'
  19. '4cb2792c78ac526aaf1fa5c233a74fb0')
  20. prepare(){
  21. cd "$srcdir/$pkgname"
  22. patch -Np1 -i $srcdir/qtfix.patch #qtfix126.patch is for Photoscan Pro version 1.2.6 (Linux AMD64)
  23. }
  24. package(){
  25. install -dm755 $pkgdir/opt/
  26. cp -r $srcdir/$pkgname $pkgdir/opt/$pkgname
  27. install -Dm755 $srcdir/$pkgname.runtime $pkgdir/usr/bin/photoscanpro
  28. install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
  29. install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
  30. chmod 755 -R $pkgdir/opt/$pkgname
  31. }