Fixing deb building
This commit is contained in:
parent
34cb856dd4
commit
ca5c7492dc
9 changed files with 59 additions and 54 deletions
|
@ -1,11 +1,15 @@
|
|||
#!/bin/bash
|
||||
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.." || exit 1
|
||||
|
||||
rm -rf build
|
||||
bash scripts/build.sh
|
||||
cd build || exit 1
|
||||
cd build/runtime-pyside6 || exit 1
|
||||
|
||||
# Deb
|
||||
sudo python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \
|
||||
--package logarithmplotter --copyright-file linux/debian/copyright --suite noble --depends3 "$(cat linux/debian/depends)" --section science \
|
||||
mkdir assets
|
||||
cp -r ../../assets/{native,*.svg} assets/
|
||||
cp ../../README.md .
|
||||
|
||||
python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \
|
||||
--package logarithmplotter --copyright-file assets/native/linux/debian/copyright \
|
||||
--suite noble --depends3 "$(cat assets/native/linux/debian/depends)" --section science \
|
||||
bdist_deb
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
#!/bin/bash
|
||||
# This script is used to sign the LogarithmPlotter deb directly from it's DSC file.
|
||||
# Adapted from https://github.com/astraw/stdeb/issues/181
|
||||
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/../build/runtime-pyside6/deb_dist" || exit 1
|
||||
|
||||
PPA_ARCHIVE="ppa:ad5001/logarithmplotter"
|
||||
|
||||
cd ../deb_dist
|
||||
|
||||
# create a temporary folder
|
||||
mkdir tmp -p
|
||||
cd tmp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue