diff --git a/kde/frameworks/tier1/sonnet/sonnet.py b/kde/frameworks/tier1/sonnet/sonnet.py index 8a7359d2..8cc81d10 100644 --- a/kde/frameworks/tier1/sonnet/sonnet.py +++ b/kde/frameworks/tier1/sonnet/sonnet.py @@ -1,38 +1,38 @@ import info class subinfo(info.infoclass): def setTargets(self): self.versionInfo.setDefaultValues() self.description = "Spelling framework for Qt, plugin-based." self.patchToApply["5.66.0"] = [ ("ispellchecker.patch", 1), ] - self.patchLevel["5.66.0"] = 3 + self.patchLevel["5.66.0"] = 4 def registerOptions(self): # hunspell just when needed, on Windows(visual studio) or Mac we try with the OS specific checkers self.options.dynamic.registerOption("useHunspell", CraftCore.compiler.isLinux or CraftCore.compiler.isMinGW()) def setDependencies(self): self.buildDependencies["virtual/base"] = None self.buildDependencies["kde/frameworks/extra-cmake-modules"] = None self.runtimeDependencies["libs/qt5/qtbase"] = None if self.options.dynamic.useHunspell: self.runtimeDependencies["libs/hunspell"] = None from Package.CMakePackageBase import * class Package(CMakePackageBase): def __init__(self): CMakePackageBase.__init__(self) # always use just hunspell, if at all! self.subinfo.options.configure.args += " -DCMAKE_DISABLE_FIND_PACKAGE_ASPELL=ON" if not self.subinfo.options.dynamic.useHunspell: self.subinfo.options.configure.args += " -DCMAKE_DISABLE_FIND_PACKAGE_HUNSPELL=ON"