mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
930 B
Bash
29 lines
930 B
Bash
# $Id: PKGBUILD 44947 2009-07-05 19:33:22Z giovanni $
|
|
# Maintainer: tobias <tobias@archlinux.org>
|
|
#Contributor: Dominik Ryba <domryba@post.pl>
|
|
|
|
pkgname=hugin
|
|
pkgver=0.7.0
|
|
pkgrel=5
|
|
pkgdesc="A frontend to the panorama-tools"
|
|
arch=(i686 x86_64)
|
|
license=('LGPL')
|
|
depends=('wxgtk>=2.8.9.2' 'libpano13' 'boost' 'enblend-enfuse' 'exiv2' 'openexr'
|
|
'autopano-sift-c')
|
|
makedepends=('zip' 'cmake')
|
|
url="http://hugin.sourceforge.net/"
|
|
options=(force)
|
|
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
gcc-4.4.patch)
|
|
md5sums=('6efbfc72ceba028ca3dff3c23806a7f3'
|
|
'7446bcf8d0d50f31ee64702ddd9c4256')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
patch -Np1 -i "${srcdir}/gcc-4.4.patch" || return 1
|
|
mkdir mybuild
|
|
cd mybuild
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ../ -DCMAKE_EXE_LINKER_FLAGS="-lpthread" || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|