mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 11:34:36 +08:00
hugin-tools: updated to latest, build against new boost
This commit is contained in:
parent
836894af63
commit
7c7019b298
@ -3,23 +3,20 @@
|
|||||||
|
|
||||||
pkgname=hugin-tools
|
pkgname=hugin-tools
|
||||||
_pkgname=hugin
|
_pkgname=hugin
|
||||||
pkgver=2014.0.0
|
pkgver=2015.0.0
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Hugin libs and tools to be used by Kipi-plugins"
|
pkgdesc="Hugin libs and tools to be used by Kipi-plugins"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://hugin.sourceforge.net/"
|
url="http://hugin.sourceforge.net/"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
depends=('boost-libs' 'enblend-enfuse' 'exiv2>=0.24' 'perl-exiftool' 'openexr' 'libpano13>=2.9.19'
|
depends=('boost-libs' 'enblend-enfuse' 'exiv2>=0.24' 'fftw' 'perl-exiftool' 'openexr' 'libpano13>=2.9.19'
|
||||||
'lapack' 'desktop-file-utils' 'icu' 'libxt' 'lensfun' 'libpng' 'libxrandr' 'openexr')
|
'sqlite3' 'lapack' 'desktop-file-utils' 'icu' 'libxt' 'libpng' 'libxrandr' 'openexr')
|
||||||
makedepends=('zip' 'cmake' 'boost' 'mesa' 'tclap')
|
makedepends=('zip' 'cmake' 'boost' 'mesa' 'tclap')
|
||||||
source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2")
|
source=("http://downloads.sourceforge.net/${_pkgname}/${_pkgname}-${pkgver}.tar.bz2")
|
||||||
sha1sums=('7b4ae181f664b9e0a68f55f298cdaa210fa09aa9')
|
sha1sums=('be7153a0791f2147153e93e8711912ef23b60b61')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${_pkgname}-${pkgver}"
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
||||||
|
|
||||||
# Fix compiling against lensfun-0.3.0
|
|
||||||
sed '/LF_DIST_MODEL_FOV1/d' -i src/hugin_base/lensdb/LensDB.cpp
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -31,7 +28,6 @@ build() {
|
|||||||
# this makes possible to compile all the hugin tools without GUis
|
# this makes possible to compile all the hugin tools without GUis
|
||||||
sed -i -e "s~FIND_PACKAGE(wxWidgets REQUIRED)~~g" ${srcdir}/${_pkgname}-${pkgver}/CMakeLists.txt
|
sed -i -e "s~FIND_PACKAGE(wxWidgets REQUIRED)~~g" ${srcdir}/${_pkgname}-${pkgver}/CMakeLists.txt
|
||||||
mkdir -p ${srcdir}/${_pkgname}-${pkgver}/src/hugin_base/PT
|
mkdir -p ${srcdir}/${_pkgname}-${pkgver}/src/hugin_base/PT
|
||||||
cp ${srcdir}/${_pkgname}-${pkgver}/src/hugin1/PT/*.h ${srcdir}/${_pkgname}-${pkgver}/src/hugin_base/PT
|
|
||||||
|
|
||||||
cmake "${srcdir}/${_pkgname}-${pkgver}" \
|
cmake "${srcdir}/${_pkgname}-${pkgver}" \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
Loading…
Reference in New Issue
Block a user