Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mac/gajim.spec')
-rw-r--r--mac/gajim.spec54
1 files changed, 54 insertions, 0 deletions
diff --git a/mac/gajim.spec b/mac/gajim.spec
new file mode 100644
index 000000000..a2accddf4
--- /dev/null
+++ b/mac/gajim.spec
@@ -0,0 +1,54 @@
+# -*- mode: python -*-
+
+block_cipher = None
+
+cwd = os.getcwd()
+icon = os.path.join(cwd, "mac", "Gajim.icns")
+
+info_plist = {
+ "CFBundleDisplayName": "Gajim",
+ "NSHighResolutionCapable": True,
+}
+
+import sys
+sys.path.insert(0, os.path.join(cwd))
+from gajim.common.modules import MODULES
+hiddenimports = ['gajim.common.modules.' + m for m in MODULES]
+sys.path.pop(0)
+
+a = Analysis(['launch.py'],
+ pathex=[cwd],
+ binaries=[],
+ datas=[('gajim', 'gajim')],
+ hiddenimports=hiddenimports,
+ hookspath=[],
+ runtime_hooks=[],
+ excludes=[],
+ win_no_prefer_redirects=False,
+ win_private_assemblies=False,
+ cipher=block_cipher,
+ noarchive=False)
+pyz = PYZ(a.pure, a.zipped_data,
+ cipher=block_cipher)
+exe = EXE(pyz,
+ a.scripts,
+ [],
+ exclude_binaries=True,
+ name='launch',
+ debug=False,
+ bootloader_ignore_signals=False,
+ strip=False,
+ upx=True,
+ console=False )
+coll = COLLECT(exe,
+ a.binaries,
+ a.zipfiles,
+ a.datas,
+ strip=False,
+ upx=True,
+ name='launch')
+app = BUNDLE(coll,
+ name='Gajim.app',
+ icon=icon,
+ info_plist=info_plist,
+ bundle_identifier='org.gajim.gajim')