diff --git a/kde/frameworks/extra-cmake-modules/extra-cmake-modules.py b/kde/frameworks/extra-cmake-modules/extra-cmake-modules.py index 24deab65..10b1ef30 100644 --- a/kde/frameworks/extra-cmake-modules/extra-cmake-modules.py +++ b/kde/frameworks/extra-cmake-modules/extra-cmake-modules.py @@ -1,55 +1,55 @@ # -*- 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 class subinfo(info.infoclass): def setTargets(self): self.versionInfo.setDefaultValues() for ver in self.versionInfo.tarballs() + self.versionInfo.branches() + self.versionInfo.tags(): ecmVer = CraftVersion(ver) if ecmVer <= CraftVersion("5.47.0"): - self.patchLevel[ver] = 2 + self.patchLevel[ver] = 3 self.patchToApply[ver] = ('icotool.diff', 1) def setDependencies(self): self.runtimeDependencies["virtual/base"] = None self.buildDependencies["dev-utils/icoutils"] = None self.buildDependencies["dev-utils/png2ico"] = None# TODO: remove once the icoutils is upstream # needed for many kf5's self.buildDependencies["dev-utils/flexbison"] = None self.buildDependencies["libs/qt5/qttools"] = None if CraftCore.settings.getboolean("CMake", "KDE_L10N_AUTO_TRANSLATIONS", False): self.buildDependencies["dev-utils/ruby"] = None from Package.CMakePackageBase import * class Package(CMakePackageBase): def __init__(self): CMakePackageBase.__init__(self)