[arch-commits] Commit in hugin/repos (3 files)

Antonio Rojas arojas at archlinux.org
Mon Mar 25 20:45:32 UTC 2019


    Date: Monday, March 25, 2019 @ 20:45:31
  Author: arojas
Revision: 443485

archrelease: copy trunk to community-staging-x86_64

Added:
  hugin/repos/community-staging-x86_64/
  hugin/repos/community-staging-x86_64/PKGBUILD
    (from rev 443484, hugin/trunk/PKGBUILD)
  hugin/repos/community-staging-x86_64/hugin-cmake-3.14.patch
    (from rev 443484, hugin/trunk/hugin-cmake-3.14.patch)

------------------------+
 PKGBUILD               |   43 +++++++++++++++++++++++++++++++++++++++++++
 hugin-cmake-3.14.patch |   13 +++++++++++++
 2 files changed, 56 insertions(+)

Copied: hugin/repos/community-staging-x86_64/PKGBUILD (from rev 443484, hugin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-03-25 20:45:31 UTC (rev 443485)
@@ -0,0 +1,43 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Dominik Ryba <domryba at post.pl>
+
+pkgname=hugin
+pkgver=2018.0.0
+pkgrel=8
+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')
+optdepends=('perl-image-exiftool: GPano tags support')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/r/_r}.tar.bz2"
+        hugin-cmake-3.14.patch)
+sha256sums=('d3af0d066ac50e3bb243a175a64ecda136d87178419457e8822e11bcf0e565cb'
+            '873c1b44a9f93a0c8febc12b2c72e0ef5cdd9000ea90b0bf2050bf25198ddae3')
+
+prepare() {
+    mkdir -p build
+
+    cd $pkgname-$pkgver
+    patch -p1 -i ../hugin-cmake-3.14.patch # Fix build with cmake 3.14
+}
+
+build() {
+    cd build
+    cmake ../${pkgname}-${pkgver} \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DENABLE_LAPACK=yes \
+        -DBUILD_HSI=ON
+    make
+}
+
+package() {
+    cd build
+    make DESTDIR="${pkgdir}" install
+}

Copied: hugin/repos/community-staging-x86_64/hugin-cmake-3.14.patch (from rev 443484, hugin/trunk/hugin-cmake-3.14.patch)
===================================================================
--- community-staging-x86_64/hugin-cmake-3.14.patch	                        (rev 0)
+++ community-staging-x86_64/hugin-cmake-3.14.patch	2019-03-25 20:45:31 UTC (rev 443485)
@@ -0,0 +1,13 @@
+diff -r 5abfb4de7961 CMakeLists.txt
+--- a/CMakeLists.txt	Sun Jan 21 12:56:33 2018 +0100
++++ b/CMakeLists.txt	Sat Mar 23 11:56:35 2019 +0000
+@@ -162,8 +162,7 @@
+ ##
+ #  This must come before FINDs for tiff, jpeg, png, zlib to enable
+ #  finding the wxWidgets distributions of those packages (Win32 only).
+-SET(wxWidgets_USE_LIBS base core aui xrc html xml adv gl net qa)
+-FIND_PACKAGE(wxWidgets REQUIRED)
++FIND_PACKAGE(wxWidgets REQUIRED base core aui xrc html xml adv gl net qa)
+ 
+ # hugin requires wxwidgets 3.0 or above
+ IF (UNIX)



More information about the arch-commits mailing list