[arch-commits] Commit in hugin/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Tue Dec 31 00:31:22 UTC 2019
Date: Tuesday, December 31, 2019 @ 00:31:21
Author: archange
Revision: 545027
upgpkg: hugin 2019.2.0-1
Modified:
hugin/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++----------------------
1 file changed, 12 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-31 00:15:15 UTC (rev 545026)
+++ PKGBUILD 2019-12-31 00:31:21 UTC (rev 545027)
@@ -5,8 +5,8 @@
# Contributor: Dominik Ryba <domryba at post.pl>
pkgname=hugin
-pkgver=2019.0.0
-pkgrel=6
+pkgver=2019.2.0
+pkgrel=1
pkgdesc="Panorama photo stitcher"
arch=(x86_64)
url="http://hugin.sourceforge.net/"
@@ -19,29 +19,19 @@
'dcraw: RAW import using dcraw'
'darktable: RAW import using darktable'
'rawtherapee: RAW import using rawtherapee')
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/r/_r}.tar.bz2" hugin-exiv2-0.27.1.patch)
-sha256sums=('f94717c5035b776a552163bac5815916e0662008fabefafd790fa54b352e22d1'
- '93ade29aa894ebc0186570b8eb24c4849001fdf7781a9a95beb661e3ccd3533f')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/r/_r}.tar.bz2")
+sha256sums=('8ba6bdfea246313f142f17f42e066c6888f51b72e4f8814b5e1c84ff56a95a3e')
-prepare() {
- mkdir -p build
-
- cd $pkgname-$pkgver
- patch -p1 -i ../hugin-exiv2-0.27.1.patch # Fix build with exiv2 0.27.1 (Fedora)
-}
-
build() {
- cd build
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DENABLE_LAPACK=yes \
- -DBUILD_HSI=ON \
- -DUSE_GDKBACKEND_X11=ON \
- -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
- make
+ cmake -B build -S ${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_LAPACK=yes \
+ -DBUILD_HSI=ON \
+ -DUSE_GDKBACKEND_X11=ON \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+ make -C build
}
package() {
- cd build
- make DESTDIR="${pkgdir}" install
+ make -C build DESTDIR="${pkgdir}" install
}
More information about the arch-commits
mailing list