@@ -12,14 +12,22 @@ from pisi.actionsapi import get
|
|||||||
def setup():
|
def setup():
|
||||||
shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())
|
shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())
|
||||||
|
|
||||||
autotools.autoreconf("-vfi")
|
|
||||||
autotools.configure("--disable-static \
|
options = "--disable-static \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--without-x \
|
--without-x \
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--enable-ld-version-script \
|
--enable-ld-version-script \
|
||||||
--with-pic")
|
--with-pic"
|
||||||
|
|
||||||
|
if get.buildTYPE() == "emul32":
|
||||||
|
options += " --prefix=/_emul32 \
|
||||||
|
--libdir=/usr/lib32 \
|
||||||
|
"
|
||||||
|
|
||||||
|
autotools.autoreconf("-vfi")
|
||||||
|
autotools.configure(options)
|
||||||
|
|
||||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
@@ -29,10 +37,12 @@ def install():
|
|||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
if get.buildTYPE() == "emul32":
|
if get.buildTYPE() == "emul32":
|
||||||
pisitools.dosym("/usr/lib/libtiff.so.6.0.1", "/usr/lib/libtiff.so.5")
|
pisitools.dosym("/usr/lib/libtiff.so.6.0.2", "/usr/lib/libtiff.so.5")
|
||||||
pisitools.dosym("/usr/lib32/libtiff.so.6.0.1", "/usr/lib32/libtiff.so.5")
|
pisitools.dosym("/usr/lib32/libtiff.so.6.0.2", "/usr/lib32/libtiff.so.5")
|
||||||
pisitools.dosym("/usr/lib/libtiffxx.so.6.0.1", "/usr/lib/libtiffxx.so.5")
|
pisitools.dosym("/usr/lib/libtiffxx.so.6.0.2", "/usr/lib/libtiffxx.so.5")
|
||||||
pisitools.dosym("/usr/lib32/libtiffxx.so.6.0.1", "/usr/lib32/libtiffxx.so.5")
|
pisitools.dosym("/usr/lib32/libtiffxx.so.6.0.2", "/usr/lib32/libtiffxx.so.5")
|
||||||
|
pisitools.dosed("%s/usr/lib32/pkgconfig/libtiff-4.pc" % get.installDIR(), "_usr", "usr")
|
||||||
|
pisitools.removeDir("/_emul32")
|
||||||
return
|
return
|
||||||
|
|
||||||
pisitools.rename("/%s/tiff-%s" % (get.docDIR(), get.srcVERSION()), get.srcNAME())
|
pisitools.rename("/%s/tiff-%s" % (get.docDIR(), get.srcVERSION()), get.srcNAME())
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Library for manipulation of TIFF (Tag Image File Format) images</Summary>
|
<Summary>Library for manipulation of TIFF (Tag Image File Format) images</Summary>
|
||||||
<Description>This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.</Description>
|
<Description>This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.</Description>
|
||||||
<Archive sha1sum="1cd4a4bd455efee82e351cd60f472e7f2c15217e" type="tarxz">http://download.osgeo.org/libtiff/tiff-4.5.1.tar.xz</Archive>
|
<Archive sha1sum="fea1cb738eab1bc125e5422857999bb2f77ea701" type="tarxz">http://download.osgeo.org/libtiff/tiff-4.6.0.tar.xz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>xz-devel</Dependency>
|
<Dependency>xz-devel</Dependency>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>zlib-devel</Dependency>
|
||||||
@@ -87,6 +87,13 @@
|
|||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="15">
|
||||||
|
<Date>2024-05-01</Date>
|
||||||
|
<Version>4.6.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="14">
|
<Update release="14">
|
||||||
<Date>2023-06-15</Date>
|
<Date>2023-06-15</Date>
|
||||||
<Version>4.5.1</Version>
|
<Version>4.5.1</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user