@@ -8,6 +8,7 @@ from pisi.actionsapi import shelltools, cmaketools, pisitools, get
|
|||||||
|
|
||||||
i = ''.join([
|
i = ''.join([
|
||||||
' -DCMAKE_BUILD_TYPE=Release',
|
' -DCMAKE_BUILD_TYPE=Release',
|
||||||
|
' -G "Unix Makefiles"',
|
||||||
' -DBUILD_TESTING=false',
|
' -DBUILD_TESTING=false',
|
||||||
' -DBUILD_SHARED_LIBS=true',
|
' -DBUILD_SHARED_LIBS=true',
|
||||||
' -DJPEGXL_FORCE_SYSTEM_LCMS2=true',
|
' -DJPEGXL_FORCE_SYSTEM_LCMS2=true',
|
||||||
@@ -23,14 +24,31 @@ i = ''.join([
|
|||||||
])
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
cmaketools.configure(i)
|
cmaketools.configure("-B build -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DBUILD_TESTING=OFF \
|
||||||
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DJPEGXL_FORCE_SYSTEM_LCMS2=ON \
|
||||||
|
-DJPEGXL_FORCE_SYSTEM_HWY=ON \
|
||||||
|
-DJPEGXL_FORCE_SYSTEM_GTEST=ON \
|
||||||
|
-DJPEGXL_FORCE_SYSTEM_BROTLI=ON \
|
||||||
|
-DJPEGXL_ENABLE_SKCMS=OFF \
|
||||||
|
-DJPEGXL_ENABLE_SJPEG=OFF \
|
||||||
|
-DJPEGXL_ENABLE_BENCHMARK=OFF \
|
||||||
|
-DJPEGXL_ENABLE_EXAMPLES=OFF \
|
||||||
|
-DJPEGXL_ENABLE_FUZZERS=OFF")
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
# fix incorrect g++ options //not required for gcc12
|
# fix incorrect g++ options //not required for gcc12
|
||||||
# shelltools.system("find . -iname 'link.txt' -exec sed -i 's: -R: -Wl,-R:g' {} \;")
|
# shelltools.system("find . -iname 'link.txt' -exec sed -i 's: -R: -Wl,-R:g' {} \;")
|
||||||
cmaketools.make("-C _build")
|
cmaketools.make("-C build")
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
cmaketools.install("-C _build")
|
cmaketools.install("-C build")
|
||||||
|
|
||||||
|
# güncelleme için geçici
|
||||||
|
# pisitools.dosym("/usr/lib/libjxl.so.0.11", "/usr/lib/libjxl.so.0.8")
|
||||||
|
# pisitools.dosym("/usr/lib/libjxl_threads.so.0.11", "/usr/lib/libjxl_threads.so.0.8")
|
||||||
|
# pisitools.dosym("/usr/lib/libjxl_cms.so.0.11", "/usr/lib/libjxl_cms.so.0.8")
|
||||||
|
|
||||||
pisitools.dodoc("AUTHORS", "CHANGELOG.md")
|
pisitools.dodoc("AUTHORS", "CHANGELOG.md")
|
||||||
|
|||||||
@@ -1,88 +1,94 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>libjxl</Name>
|
<Name>libjxl</Name>
|
||||||
<Homepage>https://jpegxl.info/</Homepage>
|
<Homepage>https://jpegxl.info/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
<Email>admins@pisilinux.org</Email>
|
<Email>admins@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>BSD-3-Clause</License>
|
<License>BSD-3-Clause</License>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<PartOf>multimedia.graphics</PartOf>
|
<PartOf>multimedia.graphics</PartOf>
|
||||||
<Summary>JPEG XL image format reference implementation.</Summary>
|
<Summary>JPEG XL image format reference implementation.</Summary>
|
||||||
<Description>A reference implementation of JPEG XL (encoder and decoder), called libjxl.</Description>
|
<Description>A reference implementation of JPEG XL (encoder and decoder), called libjxl.</Description>
|
||||||
<Archive sha1sum="e94ff763f75b75735b2458637b67f4a96122c2f0" type="targz">https://github.com/libjxl/libjxl/archive/refs/tags/v0.8.2.tar.gz</Archive>
|
<Archive sha1sum="22cf71721bce4acb4649929db06a9edb754f0295" type="targz">https://github.com/libjxl/libjxl/archive/refs/tags/v0.11.1.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
<Dependency>gtest-devel</Dependency>
|
<Dependency>lcms2-devel</Dependency>
|
||||||
<Dependency>lcms2-devel</Dependency>
|
<Dependency>brotli-devel</Dependency>
|
||||||
<Dependency>brotli-devel</Dependency>
|
<Dependency versionFrom="1.17.0">gtest-devel</Dependency>
|
||||||
<Dependency>libhwy-devel</Dependency>
|
<Dependency versionFrom="1.0.7">libhwy-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch level='1'></Patch> -->
|
<!-- <Patch level='1'></Patch> -->
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
<Package>
|
||||||
|
<Name>libjxl</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>lcms2</Dependency>
|
||||||
|
<Dependency>brotli</Dependency>
|
||||||
|
<Dependency>libhwy</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="data">/usr/share</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>libjxl</Name>
|
<Name>libjxl-devel</Name>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>lcms2</Dependency>
|
<Dependency>lcms2-devel</Dependency>
|
||||||
<Dependency>brotli</Dependency>
|
<Dependency>brotli-devel</Dependency>
|
||||||
<Dependency>libhwy</Dependency>
|
<Dependency>libhwy-devel</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency release="current">libjxl</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="headers">/usr/include</Path>
|
||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
<Path fileType="data">/usr/share</Path>
|
</Files>
|
||||||
</Files>
|
</Package>
|
||||||
</Package>
|
|
||||||
|
|
||||||
<Package>
|
<History>
|
||||||
<Name>libjxl-devel</Name>
|
<Update release="5">
|
||||||
<RuntimeDependencies>
|
<Date>2025-09-24</Date>
|
||||||
<Dependency>lcms2-devel</Dependency>
|
<Version>0.11.1</Version>
|
||||||
<Dependency>brotli-devel</Dependency>
|
<Comment>Version bump.</Comment>
|
||||||
<Dependency>libhwy-devel</Dependency>
|
<Name>Pisi Linux Community</Name>
|
||||||
<Dependency release="current">libjxl</Dependency>
|
<Email>admin@pisilinux.org</Email>
|
||||||
</RuntimeDependencies>
|
</Update>
|
||||||
<Files>
|
<Update release="4">
|
||||||
<Path fileType="headers">/usr/include</Path>
|
<Date>2023-11-07</Date>
|
||||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
<Version>0.8.2</Version>
|
||||||
</Files>
|
<Comment>Version bump.</Comment>
|
||||||
</Package>
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
<History>
|
</Update>
|
||||||
<Update release="4">
|
<Update release="3">
|
||||||
<Date>2023-11-07</Date>
|
<Date>2023-02-04</Date>
|
||||||
<Version>0.8.2</Version>
|
<Version>0.8.1</Version>
|
||||||
<Comment>Version bump.</Comment>
|
<Comment>Minor bugfix release.</Comment>
|
||||||
<Name>Mustafa Cinasal</Name>
|
<Name>fury</Name>
|
||||||
<Email>muscnsl@gmail.com</Email>
|
<Email>uglyside@yandex.ru</Email>
|
||||||
</Update>
|
</Update>
|
||||||
<Update release="3">
|
<Update release="2">
|
||||||
<Date>2023-02-04</Date>
|
<Date>2023-01-27</Date>
|
||||||
<Version>0.8.1</Version>
|
<Version>0.8.0</Version>
|
||||||
<Comment>Minor bugfix release.</Comment>
|
<Comment>Version bump</Comment>
|
||||||
<Name>fury</Name>
|
<Name>fury</Name>
|
||||||
<Email>uglyside@yandex.ru</Email>
|
<Email>uglyside@yandex.ru</Email>
|
||||||
</Update>
|
</Update>
|
||||||
<Update release="2">
|
<Update release="1">
|
||||||
<Date>2023-01-27</Date>
|
<Date>2023-01-06</Date>
|
||||||
<Version>0.8.0</Version>
|
<Version>0.7.0</Version>
|
||||||
<Comment>Version bump</Comment>
|
<Comment>First build.</Comment>
|
||||||
<Name>fury</Name>
|
<Name>fury</Name>
|
||||||
<Email>uglyside@yandex.ru</Email>
|
<Email>uglyside@yandex.ru</Email>
|
||||||
</Update>
|
</Update>
|
||||||
<Update release="1">
|
</History>
|
||||||
<Date>2023-01-06</Date>
|
|
||||||
<Version>0.7.0</Version>
|
|
||||||
<Comment>First build.</Comment>
|
|
||||||
<Name>fury</Name>
|
|
||||||
<Email>uglyside@yandex.ru</Email>
|
|
||||||
</Update>
|
|
||||||
</History>
|
|
||||||
</PISI>
|
</PISI>
|
||||||
|
|||||||
Reference in New Issue
Block a user