hugin-2022.
This commit is contained in:
@@ -2,33 +2,27 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# 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 pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import mesontools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
j = ''.join([
|
||||
' -DCMAKE_BUILD_TYPE=Release',
|
||||
' -DENABLE_LAPACK=yes',
|
||||
' -B_build -G Ninja -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
shelltools.unlink("CMakeModules/FindZLIB.cmake")
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \
|
||||
-DENABLE_LAPACK=yes", sourceDir="..")
|
||||
#shelltools.unlink("CMakeModules/FindZLIB.cmake")
|
||||
cmaketools.configure(j)
|
||||
|
||||
def build():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.make()
|
||||
mesontools.build("-C _build")
|
||||
|
||||
def install():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
mesontools.install("-C _build")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "README", "TODO")
|
||||
pisitools.dodoc("authors.txt", "Changes.txt")
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>hugin</Name>
|
||||
<Homepage>http://hugin.sourceforge.net</Homepage>
|
||||
<Homepage>https://hugin.sourceforge.io/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
@@ -14,20 +14,22 @@
|
||||
<IsA>library</IsA>
|
||||
<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>
|
||||
<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>
|
||||
<Dependency>swig</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>glew-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>vigra-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>wxGTK-devel</Dependency>
|
||||
<Dependency>imath-devel</Dependency>
|
||||
<Dependency>lcms2-devel</Dependency>
|
||||
<Dependency>exiv2-devel</Dependency>
|
||||
<Dependency>fftw3-devel</Dependency>
|
||||
<Dependency>flann-devel</Dependency>
|
||||
<Dependency>wxGTK-devel</Dependency>
|
||||
<Dependency>libXmu-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
@@ -40,7 +42,7 @@
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">hugin-openexr3.patch</Patch>
|
||||
<!-- <Patch level="1">hugin-openexr3.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -53,17 +55,18 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency>blas</Dependency>
|
||||
<Dependency>glew</Dependency>
|
||||
<Dependency>flann</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>boost</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
<Dependency>imath</Dependency>
|
||||
<Dependency>flann</Dependency>
|
||||
<Dependency>fftw3</Dependency>
|
||||
<Dependency>vigra</Dependency>
|
||||
<Dependency>wxGTK</Dependency>
|
||||
<Dependency>lapack</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>python</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>sqlite</Dependency>
|
||||
<Dependency>enblend</Dependency>
|
||||
@@ -78,30 +81,29 @@
|
||||
<Dependency>perl-Image-ExifTool</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<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="library">/usr/lib/</Path>
|
||||
<Path fileType="data">/usr/share/mime</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/hugin</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/applications</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>hugin-docs</Name>
|
||||
<Summary>Help documents for hugin</Summary>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/hugin/xrc/data/help*</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/hugin/xrc/data</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<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">
|
||||
<Date>2022-08-01</Date>
|
||||
<Version>2020.0.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user