[packaging/craft-blueprints-kde] qt-apps/rolisteam: [Rolisteam] Fix translation build
Renaud Guezennec <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 66f354ae33dd5e049a83d9f65c39633cb2336038 by Renaud Guezennec. Committed on 23/07/2026 at 00:03. Pushed by renaudg into branch 'master'. [Rolisteam] Fix translation build In the make step, I build translation files at first. Then I call configure to update resource files creation. then I let the application to be build. M +11 -0 qt-apps/rolisteam/rolisteam.py https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/66f354ae33dd5e049a83d9f65c39633cb2336038 diff --git a/qt-apps/rolisteam/rolisteam.py b/qt-apps/rolisteam/rolisteam.py index 9b0f8b14c..ea87e2092 100644 --- a/qt-apps/rolisteam/rolisteam.py +++ b/qt-apps/rolisteam/rolisteam.py @@ -1,8 +1,10 @@ # SPDX-License-Identifier: BSD-2-Clause # SPDX-FileCopyrightText: 2025 Renaud Guezennec <[email protected]> import info +import utils from CraftCore import CraftCore from Package.CMakePackageBase import CMakePackageBase +from Utils.Arguments import Arguments class subinfo(info.infoclass): @@ -38,6 +40,15 @@ class Package(CMakePackageBase): super().__init__(**kwargs) self.subinfo.options.fetch.checkoutSubmodules = True + def make(self): + self.enterBuildDir() + command = Arguments.formatCommand( + [self.makeProgram, "BuildTranslations"], [] + ) + utils.system(command) + super().configure() + return super().make() + def createPackage(self): self.defines["appname"] = "rolisteam" self.defines["icon"] = self.sourceDir() / "resources/rolisteam/logo/rolisteam.ico"