Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

[win] Fix stripping of ffmpeg binaries

Dmitry Kazakov42fcb5667c3d
diff --git a/packaging/windows/package-complete.py b/packaging/windows/package-complete.py
index a03c3b6956..29d1e83244 100644
--- a/packaging/windows/package-complete.py
+++ b/packaging/windows/package-complete.py
@@ -642,7 +642,6 @@ if not os.environ.get('KRITACI_SKIP_SPLIT_DEBUG', '0').lower() in ['true', '1',
return True
return False
-
def split_debug(arg1, arg2):
print(f"Splitting debug info of {arg2}")
@@ -692,6 +691,8 @@ if not os.environ.get('KRITACI_SKIP_SPLIT_DEBUG', '0').lower() in ['true', '1',
split_debug(fr"{pkg_root}\bin\krita.com", r"bin\krita.com")
split_debug(fr"{pkg_root}\bin\kritarunner.exe", r"bin\kritarunner.exe")
split_debug(fr"{pkg_root}\bin\kritarunner.com", r"bin\kritarunner.com")
+ split_debug(fr"{pkg_root}\bin\ffmpeg.exe", r"bin\ffmpeg.exe")
+ split_debug(fr"{pkg_root}\bin\ffprobe.exe", r"bin\ffmprobe.exe")
# Find all DLLs
files = glob.glob(fr"{pkg_root}\**\*.dll", recursive=True)
for f in files: