This archive contains the buildscripts used to create the generic linux builds of openmw (targz packages).

The build scripts rely on systemd-nspawn to spawn new instances of a 64 Bit Debian 13 (Trixie) container present at ./debian_trixie 
(the build scripts for previous versions using a Debian 12 (Bookworm) at ./debian_bookworm (used up to version 0.49.0) or CentOS 7 container at ./centos7_64 are also included)

This container includes all build dependencies necessary for openmw.

In addition to the root user the container has 2 users setup for building openmw. openmwbuilder and openmwnightly with their respective home directories at /home/openmwbuilder and /home/openmwnightly. 

The setup instructions for the container are included in the openmw-debian-trixie-container-setup-dependencies.sh file. (openmw-debian-bookworm-container-setup-dependencies.sh for the Debian 12 (Bookworm) version and openmw-centos7-container-setup-dependencies.sh for the CentOS 7 version)

After setting up the container you have to extract the debian_trixie_scripts.tar.gz archive to add the buildscripts used inside the container. The scripts should then be available in ./debian_trixie/root/, ./debian_trixie/home/openmwbuilder/ and ./debian_trixie/home/openmwnightly/

The rootscripts directory contains a script that can be called via a cronjob to create automatic builds (nightlies) and copy them to /var/www/html/openmw/nighlies/ for publishing. You have to set the TARGZENV variable in the script to the path to the buildscripts before running it.

There might still be some references to 32 Bit (i686) generic builds but at this time 32 Bit support has been discontinued.

dependencies build from source in Debian 13 (Trixie) container:
ffmpeg
sdl2
mygui
openal
openscenegraph

dependencies build from source in old Debian 12 (Bookworm) container:
ffmpeg
sdl2
mygui
openal
openscenegraph

dependencies build from source in old Centos 7 container:
boost
bullet
checkinstall # for creating rpm packages for the dependencies
fdk-aac
ffmpeg
lame
libvpx
mygui
ogg
openal
openscenegraph
opus
qt5
sdl2
txc_dxtn
unshield
vorbis
vpx
x264
x265
yasm
