thunderbird

This commit is contained in:
Rmys
2025-01-05 11:52:00 +03:00
parent e1ed65b372
commit ecee53f9ba
3 changed files with 14 additions and 8 deletions
-7
View File
@@ -14,7 +14,6 @@ from pisi.actionsapi import shelltools
MOZAPPDIR= "/usr/lib/thunderbird"
shelltools.export("SHELL", "/bin/sh")
shelltools.export("PYTHON", "/usr/bin/python3")
# shelltools.export("MACH_USE_SYSTEM_PYTHON", "1")
shelltools.system("export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none")
shelltools.export("MOZBUILD_STATE_PATH", "mozbuild")
@@ -37,21 +36,15 @@ def setup():
#shelltools.makedirs("langpack-tb/langpack-%s@thunderbird.mozilla.org" % locale)
#shelltools.system("unzip -uo %s/%s.xpi -d langpack-tb/langpack-%s@thunderbird.mozilla.org" % (xpidir, locale, locale))
# shelltools.makedirs(ObjDir)
# shelltools.cd(ObjDir)
shelltools.system("./mach configure")
def build():
# shelltools.cd(ObjDir)
shelltools.system("./mach build")
shelltools.system("./mach buildsymbols")
def install():
# shelltools.cd(ObjDir)
shelltools.system("DESTDIR=%s ./mach install " % get.installDIR())
# shelltools.cd("..")
# Install fix language packs
pisitools.insinto("/usr/lib/thunderbird/extensions", "./langpack-tb/*")