Use the right option to build kiwix_desktop and pugixml on flatpak.
This commit is contained in:
parent
ed63ffe24c
commit
833c5844a1
|
@ -14,6 +14,8 @@ class KiwixDesktop(Dependency):
|
|||
dependencies = ["qt", "qtwebengine", "kiwix-lib", "aria2"]
|
||||
@property
|
||||
def configure_option(self):
|
||||
if self.buildEnv.platformInfo.name == 'flatpak':
|
||||
return []
|
||||
options = ["PREFIX={}".format(self.buildEnv.install_dir)]
|
||||
if self.buildEnv.platformInfo.static:
|
||||
options.append('"CONFIG+=static"')
|
||||
|
|
|
@ -12,5 +12,6 @@ class Pugixml(Dependency):
|
|||
archive = Remotefile('pugixml-1.2.tar.gz',
|
||||
'0f422dad86da0a2e56a37fb2a88376aae6e931f22cc8b956978460c9db06136b')
|
||||
patches = ["pugixml_meson.patch"]
|
||||
flatpak_dest = "src"
|
||||
|
||||
Builder = MesonBuilder
|
||||
|
|
Loading…
Reference in New Issue