diff --git a/qt-libs/poppler/poppler.py b/qt-libs/poppler/poppler.py index b1142113..7297391a 100644 --- a/qt-libs/poppler/poppler.py +++ b/qt-libs/poppler/poppler.py @@ -1,64 +1,64 @@ # -*- coding: utf-8 -*- # Copyright Hannah von Reth # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. import info from Package.CMakePackageBase import * class subinfo(info.infoclass): def setTargets(self): self.description = "PDF rendering library based on xpdf-3.0" self.svnTargets["master"] = "git://git.freedesktop.org/git/poppler/poppler" # use latest version with all security fixes! ver = "0.85.0"; self.defaultTarget = ver self.targets[ver] = f"https://poppler.freedesktop.org/poppler-{ver}.tar.xz" self.targetInstSrc[ver] = f"poppler-{ver}" - self.targetDigests[ver] = (['212d020b035b67b36c9666bd08ac778dff3222d85c01c338787d546f0f9bfe02'], CraftHash.HashAlgorithm.SHA256) + self.targetDigests[ver] = (['2bc875eb323002ae6b287e09980473518e2b2ed6b5b7d2e1089e36a6cd00d94b'], CraftHash.HashAlgorithm.SHA256) def setDependencies(self): self.buildDependencies["dev-utils/pkg-config"] = None self.runtimeDependencies["data/poppler-data"] = None self.runtimeDependencies["libs/freetype"] = None self.runtimeDependencies["libs/libjpeg-turbo"] = None self.runtimeDependencies["libs/lcms2"] = None self.runtimeDependencies["libs/zlib"] = None self.runtimeDependencies["libs/openjpeg"] = None self.runtimeDependencies["libs/libjpeg-turbo"] = None self.runtimeDependencies["libs/libpng"] = None self.runtimeDependencies["libs/libcurl"] = None self.runtimeDependencies["libs/tiff"] = None self.runtimeDependencies["libs/iconv"] = None self.runtimeDependencies["libs/fontconfig"] = None self.runtimeDependencies["data/poppler-data"] = None self.runtimeDependencies["libs/qt5/qtbase"] = None class Package(CMakePackageBase): def __init__(self, **args): CMakePackageBase.__init__(self) self.subinfo.options.package.packageName = "poppler" self.subinfo.options.configure.args = "-DENABLE_XPDF_HEADERS=ON -DENABLE_ZLIB=ON -DENABLE_LIBCURL=ON -DENABLE_UTILS=OFF -DENABLE_LIBOPENJPEG=openjpeg2 -DENABLE_GLIB=OFF"