You will need to compile cbird to get the most format support and perhaps better platform integration (like theme) compared to the AppImage.
- qt6 (6.9 or later tested)
- opencv2, 2.4.13.7
- FFmpeg
- quazip
The easiest way might be to build the AppImage instead. But if you want a more native build then you will need to follow this recipe.
Dependencies are compiled using the docker image recipe scripts. You can modify them if there is a feature you need (like non-free FFmpeg codecs).
apt-get install git cmake g++ qt6-base-dev qt6-base-private-dev libqt6core5compat6-dev libgl-dev libpng-dev libjpeg-turbo8-dev libtiff5-dev libopenexr-dev libexiv2-dev libncurses-devOpenCV 2.4 is not available in most repos so this must be compiled.
cd cbird/docker
source appimage.env # or macOS.env, mxe.env
./build-opencv.shYou can problably use system quazip package, but if not:
cd cbird/docker
source appimage.env # or macOS.env, mxe.env
./build-quazip.shIf system FFmpeg is compatible, then:
apt-get install libavformat-dev libswscale-dev libavfilter-devThe system FFmpeg may not work due to deprecations, build-ffmpeg.sh uses a known good revision/branch.
sudo apt-get install nasm libfribidi-dev libsdl2-dev libharfbuzz-dev libfreetype-dev libva-dev libdav1d-dev
cd cbird/docker
source appimage.env
./build-ffmpeg.shgit clone https://github.com/scrubbbbs/cbird
cd cbird
qmake6
make -j8
sudo make installcbird -installThe Windows build is compiled using MXE cross compiler. This environment is built into a docker image using docker/Dockerfile.mxe. You can modify build parameters in docker/mxe.env and/or shell scripts in docker/
cd cbird/docker
docker build -f Dockerfile.mxe -t mxe:latest .
Once mxe environment is built, it works like the Linux build. Start the container, then you are ready to go.
cd cbird
source /build/build.env
qmake
make -j$(nproc)
make install # build/update portable dir in _win32/cbird-win/brew install qtbase qtimageformats exiv2 quazip ffmpeg wget extra-cmake-modules karchive jpeg-xl libraw libde265 jxrlib libavifSee Compiling opencv
See Compiling cbird
Additionally, make portable will build the release binaries in _mac/cbird-mac/
The AppImage is built using docker container from docker/Dockerfile.appimage. You can modify build parameters in docker/appimage.env and/or shell scripts in docker/
cd cbird/docker
docker build -f Dockerfile.appimage -t appimage:latest .
From the docker image, run
source /build/build.env
qmake6
make -j$(nproc)
make appimage