This repository contains everything to create the LibrePCB PND which can then be uploaded to the OpenPandora Repo.
Install Code::Blocks Package.
- Start -> Development -> Dev Command Line Interface
cd /media/SD
wget https://download.librepcb.org/releases/1.0.0/librepcb-1.0.0-source.zip
unzip librepcb-1.0.0.zip
- Apply patches:
workaround-for-qt5-bug.patch
andworkaround-fix-linking-without-gl.patch
mkdir build && cd build
- Create some temporary output directory on a non fat32 partition:
mkdir /home/user/librepcb
cmake .. -DUSE_OPENCASCADE=0 -DLIBREPCB_REPRODUCIBLE=1 -DBUILD_TESTS=0 -DUSE_GLU=0 -DBUILD_QTQUICK_TEST=0 -DCMAKE_INSTALL_PREFIX=/home/user/librepcb
- Repeat last command for unknown reasons
!!
make
make install
sudo apt install squashfs-tools
nix-shell -p squashfsTools
- Increment build number in
PXML.xml
- Use content:
/home/user/librepcb
- Ensure i18n files are up to date
- Ensure share folder is up to date
./make.sh
- Mount the pnd:
/usr/pandora/scripts/pnd_run.sh -p /path/to/your/pnd/librepcb.pnd -m
- Run the start.sh
./start.sh