summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-28 12:23:31 -0400
committerKali Kaneko <kali@leap.se>2016-03-28 15:10:22 -0400
commit1699a0c9849de6581f1e2c5ee74ea8d3c83d3591 (patch)
tree38de57fd1a92f2dc5e64192fb0a9a42dda4a5b5b /Makefile
parent68f11cff01c18750036afdd97ac9074f8538b676 (diff)
[pkg] some pyinstaller hacky targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1cfeecb4..30e67962 100644
--- a/Makefile
+++ b/Makefile
@@ -167,6 +167,32 @@ sumo_tarball_latest: checkout_leapdeps_develop pull_leapdeps setup_without_names
pyinst:
pyinstaller -y pkg/pyinst/bitmask.spec
+pyinst-hacks:
+ cp ../leap_common/src/leap/common/cacert.pem dist/bitmask/
+ mkdir -p dist/bitmask/pysqlcipher
+ cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/pysqlcipher/_sqlite.so dist/bitmask/pysqlcipher
+ cp -r $(VIRTUAL_ENV)/lib/python2.7/site-packages/pixelated_www dist/bitmask/
+
+pyinst-wrapper:
+ mv dist/bitmask/bitmask dist/bitmask/bitmask-app
+ cp pkg/linux/bitmask-launcher dist/bitmask/bitmask
+ cp pkg/PixelatedWebmail.README dist/bitmask
+
+pyinst-trim:
+ rm dist/bitmask/libQtOpenGL.so.4
+ rm dist/bitmask/libQtSql.so.4
+ rm dist/bitmask/libQt3Support.so.4
+ rm dist/bitmask/libnvidia-glcore.so.352.79
+ rm dist/bitmask/libgstvideo-1.0.so.0
+ rm dist/bitmask/libgstaudio-1.0.so.0
+ rm dist/bitmask/libgstreamer-1.0.so.0
+ rm dist/bitmask/libnvidia-tls.so.352.79
+ rm dist/bitmask/libaudio.so.2
+
+pyinst-dist:
+ rm -rf dist/bitmask/config
+ cd dist/ && tar cvzf Bitmask.0.9.2.alpha1.tar.gz bitmask
+
clean_pkg:
rm -rf build dist