[arch-commits] Commit in hugin/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Fri Jan 4 16:17:14 UTC 2019


    Date: Friday, January 4, 2019 @ 16:17:13
  Author: archange
Revision: 420542

Re-enable python scripting interface

It was disabled upstream without strong reasons ("has not seen a lot of use").
Also list dependencies explicitly (do not rely on transient dependencies).

Modified:
  hugin/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-04 15:16:34 UTC (rev 420541)
+++ PKGBUILD	2019-01-04 16:17:13 UTC (rev 420542)
@@ -6,31 +6,33 @@
 
 pkgname=hugin
 pkgver=2018.0.0
-pkgrel=5
+pkgrel=6
 pkgdesc="Panorama photo stitcher"
 arch=('x86_64')
 url="http://hugin.sourceforge.net/"
 license=('GPL')
+depends=('wxgtk2' 'boost-libs' 'libtiff' 'libpano13' 'libjpeg' 'libpng' 'openexr' 'vigra'
+         'exiv2' 'glew' 'sqlite' 'lcms2' 'lapack' 'fftw' 'glu' 'libxi' 'libxmu' 'python'
+         'lensfun' 'make' 'enblend-enfuse')
 makedepends=('cmake' 'boost' 'tclap' 'mesa' 'swig')
-depends=('wxgtk2' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13' 'glew'
-         'python' 'lensfun' 'lapack' 'make' 'sqlite' 'perl-image-exiftool')
+optdepends=('perl-image-exiftool: GPano tags support')
 source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/r/_r}.tar.bz2")
 sha256sums=('d3af0d066ac50e3bb243a175a64ecda136d87178419457e8822e11bcf0e565cb')
 
 prepare() {
-	mkdir -p build
+    mkdir -p build
 }
 
 build() {
-	cd build
-	cmake ../${pkgname}-${pkgver} \
-		-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DENABLE_LAPACK=yes
-	make
+    cd build
+    cmake ../${pkgname}-${pkgver} \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DENABLE_LAPACK=yes \
+        -DBUILD_HSI=ON
+    make
 }
 
 package() {
-	cd build
-	make DESTDIR="${pkgdir}" install
+    cd build
+    make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list