Small patches for linux build scripts

Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
TheJackiMonster 2021-04-26 22:57:43 +02:00
parent 3b5647d0f7
commit 37c774221d
No known key found for this signature in database
GPG key ID: D850A5F772E880F9
3 changed files with 12 additions and 7 deletions

View file

@ -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

View file

@ -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"

View file

@ -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