mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-15 18:32:27 +12:00
Small patches for linux build scripts
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
3b5647d0f7
commit
37c774221d
|
@ -53,6 +53,8 @@ cd $DIR
|
|||
git clone $REPOSITORY
|
||||
cd manuskript
|
||||
|
||||
PKG_VERSION=$(grep -E "__version__.*\".*\"" "manuskript/version.py" | cut -d\" -f2)
|
||||
|
||||
# Run PyInstaller to create the build:
|
||||
WINEPREFIX=$PREFIX WINEARCH="win32" wine pyinstaller manuskript.spec
|
||||
cat build/manuskript/warn-manuskript.txt
|
||||
|
@ -70,10 +72,12 @@ rm api-ms-win-*
|
|||
### comment: Seems to work fine...
|
||||
#WINEPREFIX=$PREFIX WINEARCH="win32" wine manuskript.exe
|
||||
|
||||
ZIP_NAME=manuskript-$PKG_VERSION-win32.zip
|
||||
|
||||
# Package everything together:
|
||||
cd ..
|
||||
zip -r manuskript.zip manuskript
|
||||
mv manuskript.zip $EXEC_DIR
|
||||
zip -r $ZIP_NAME manuskript
|
||||
mv $ZIP_NAME $EXEC_DIR
|
||||
|
||||
# Cleanup everything:
|
||||
### comment: removing the local git repository
|
||||
|
|
|
@ -56,7 +56,8 @@ echo_do eval "mkdir -p $Dest/$AppName-$AppVersion/{usr/share/applications,usr/bi
|
|||
|
||||
echo "### Copying manuskript content"
|
||||
echo_do eval "rsync -a --exclude=.git --include='*.msk' \
|
||||
--exclude-from='$Root/.gitignore' \
|
||||
--exclude=.github \
|
||||
--exclude-from='$Root/.gitignore' \
|
||||
--exclude=rpmbuild \
|
||||
--exclude={.codeclimate.yml,.gitignore,.travis.yml} \
|
||||
$ScriptPath/../ $Dest/$AppName-$AppVersion/usr/share/manuskript"
|
||||
|
|
|
@ -5,7 +5,7 @@ sudo apt-get -qq install python3-pip python3-dev \
|
|||
build-essential qt5-default libxml2-dev libxslt1-dev \
|
||||
mesa-utils libgl1-mesa-glx libgl1-mesa-dev
|
||||
|
||||
pyenv local 3.6.7
|
||||
python --version
|
||||
easy_install pip
|
||||
pip install pyqt5==5.9 lxml pytest pytest-faulthandler
|
||||
#pyenv local 3.6.7
|
||||
python3 --version
|
||||
#easy_install pip
|
||||
pip install pyqt5 lxml pytest pytest-faulthandler
|
||||
|
|
Loading…
Reference in a new issue