hugin-2022.
This commit is contained in:
@@ -2,33 +2,27 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
from pisi.actionsapi import cmaketools
|
from pisi.actionsapi import cmaketools
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import shelltools
|
from pisi.actionsapi import mesontools
|
||||||
from pisi.actionsapi import get
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
j = ''.join([
|
||||||
|
' -DCMAKE_BUILD_TYPE=Release',
|
||||||
|
' -DENABLE_LAPACK=yes',
|
||||||
|
' -B_build -G Ninja -L '
|
||||||
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.unlink("CMakeModules/FindZLIB.cmake")
|
#shelltools.unlink("CMakeModules/FindZLIB.cmake")
|
||||||
shelltools.makedirs("build")
|
cmaketools.configure(j)
|
||||||
shelltools.cd("build")
|
|
||||||
|
|
||||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DENABLE_LAPACK=yes", sourceDir="..")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.makedirs("build")
|
mesontools.build("-C _build")
|
||||||
shelltools.cd("build")
|
|
||||||
|
|
||||||
cmaketools.make()
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.makedirs("build")
|
mesontools.install("-C _build")
|
||||||
shelltools.cd("build")
|
|
||||||
|
|
||||||
cmaketools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
|
||||||
|
|
||||||
shelltools.cd("..")
|
|
||||||
|
|
||||||
pisitools.dodoc("AUTHORS", "README", "TODO")
|
pisitools.dodoc("authors.txt", "Changes.txt")
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>hugin</Name>
|
<Name>hugin</Name>
|
||||||
<Homepage>http://hugin.sourceforge.net</Homepage>
|
<Homepage>https://hugin.sourceforge.io/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
@@ -14,20 +14,22 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>A panoramic photo stitcher</Summary>
|
<Summary>A panoramic photo stitcher</Summary>
|
||||||
<Description>hugin can be used to stitch multiple images together. The resulting image can span 360 degrees. Another common use is the creation of very high resolution pictures by combining multiple images.</Description>
|
<Description>hugin can be used to stitch multiple images together. The resulting image can span 360 degrees. Another common use is the creation of very high resolution pictures by combining multiple images.</Description>
|
||||||
<Archive sha1sum="20e39ab82e1d8208a7eee2f216ab1271c95f583f" type="tarbz2">mirrors://sourceforge/hugin/hugin/hugin-2020.0/hugin-2020.0.0.tar.bz2</Archive>
|
<Archive sha1sum="f543d8b617a5d39e7b8671766bbdcf0f34776ea6" type="tarbz2">mirrors://sourceforge/hugin/hugin/hugin-2022.0/hugin-2022.0.0.tar.bz2</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>swig</Dependency>
|
<Dependency>swig</Dependency>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>ninja</Dependency>
|
||||||
<Dependency>glew-devel</Dependency>
|
<Dependency>glew-devel</Dependency>
|
||||||
<Dependency>tiff-devel</Dependency>
|
<Dependency>tiff-devel</Dependency>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>zlib-devel</Dependency>
|
||||||
<Dependency>vigra-devel</Dependency>
|
<Dependency>vigra-devel</Dependency>
|
||||||
<Dependency>boost-devel</Dependency>
|
<Dependency>boost-devel</Dependency>
|
||||||
<Dependency>wxGTK-devel</Dependency>
|
<Dependency>imath-devel</Dependency>
|
||||||
<Dependency>lcms2-devel</Dependency>
|
<Dependency>lcms2-devel</Dependency>
|
||||||
<Dependency>exiv2-devel</Dependency>
|
<Dependency>exiv2-devel</Dependency>
|
||||||
<Dependency>fftw3-devel</Dependency>
|
<Dependency>fftw3-devel</Dependency>
|
||||||
<Dependency>flann-devel</Dependency>
|
<Dependency>flann-devel</Dependency>
|
||||||
|
<Dependency>wxGTK-devel</Dependency>
|
||||||
<Dependency>libXmu-devel</Dependency>
|
<Dependency>libXmu-devel</Dependency>
|
||||||
<Dependency>libpng-devel</Dependency>
|
<Dependency>libpng-devel</Dependency>
|
||||||
<Dependency>python-devel</Dependency>
|
<Dependency>python-devel</Dependency>
|
||||||
@@ -40,7 +42,7 @@
|
|||||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">hugin-openexr3.patch</Patch>
|
<!-- <Patch level="1">hugin-openexr3.patch</Patch> -->
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -53,17 +55,18 @@
|
|||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>blas</Dependency>
|
<Dependency>blas</Dependency>
|
||||||
<Dependency>glew</Dependency>
|
<Dependency>glew</Dependency>
|
||||||
<Dependency>flann</Dependency>
|
|
||||||
<Dependency>mesa</Dependency>
|
<Dependency>mesa</Dependency>
|
||||||
<Dependency>tiff</Dependency>
|
<Dependency>tiff</Dependency>
|
||||||
<Dependency>boost</Dependency>
|
<Dependency>boost</Dependency>
|
||||||
|
<Dependency>lcms2</Dependency>
|
||||||
|
<Dependency>imath</Dependency>
|
||||||
|
<Dependency>flann</Dependency>
|
||||||
<Dependency>fftw3</Dependency>
|
<Dependency>fftw3</Dependency>
|
||||||
<Dependency>vigra</Dependency>
|
<Dependency>vigra</Dependency>
|
||||||
<Dependency>wxGTK</Dependency>
|
<Dependency>wxGTK</Dependency>
|
||||||
<Dependency>lapack</Dependency>
|
<Dependency>lapack</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
<Dependency>python</Dependency>
|
<Dependency>python</Dependency>
|
||||||
<Dependency>lcms2</Dependency>
|
|
||||||
<Dependency>libX11</Dependency>
|
<Dependency>libX11</Dependency>
|
||||||
<Dependency>sqlite</Dependency>
|
<Dependency>sqlite</Dependency>
|
||||||
<Dependency>enblend</Dependency>
|
<Dependency>enblend</Dependency>
|
||||||
@@ -78,30 +81,29 @@
|
|||||||
<Dependency>perl-Image-ExifTool</Dependency>
|
<Dependency>perl-Image-ExifTool</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/lib/</Path>
|
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
|
||||||
<Path fileType="man">/usr/share/man</Path>
|
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib/</Path>
|
||||||
<Path fileType="data">/usr/share/mime</Path>
|
<Path fileType="data">/usr/share/mime</Path>
|
||||||
<Path fileType="data">/usr/share/icons</Path>
|
<Path fileType="data">/usr/share/icons</Path>
|
||||||
<Path fileType="data">/usr/share/hugin</Path>
|
<Path fileType="data">/usr/share/hugin</Path>
|
||||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||||
<Path fileType="data">/usr/share/appdata</Path>
|
|
||||||
<Path fileType="data">/usr/share/metainfo/</Path>
|
<Path fileType="data">/usr/share/metainfo/</Path>
|
||||||
<Path fileType="data">/usr/share/applications</Path>
|
<Path fileType="data">/usr/share/applications</Path>
|
||||||
<Path fileType="localedata">/usr/share/locale</Path>
|
<Path fileType="localedata">/usr/share/locale</Path>
|
||||||
</Files>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
</Package>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
<Path fileType="data">/usr/share/hugin/xrc/data</Path>
|
||||||
<Package>
|
|
||||||
<Name>hugin-docs</Name>
|
|
||||||
<Summary>Help documents for hugin</Summary>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="data">/usr/share/hugin/xrc/data/help*</Path>
|
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="15">
|
||||||
|
<Date>2022-12-31</Date>
|
||||||
|
<Version>2022.0.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
<Update release="14">
|
<Update release="14">
|
||||||
<Date>2022-08-01</Date>
|
<Date>2022-08-01</Date>
|
||||||
<Version>2020.0.0</Version>
|
<Version>2020.0.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user