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 CentOS 6 container present at ./centos6_64 

This container includes all build dependencies necessary for openmw and uses a current devtoolset (at the moment devtoolset-8) for a version of gcc recent enough to build 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-centos6-container-setup.txt file.

After setting up the container you have to extract the centos6_64_scripts.tar.gz archive to add the buildscripts used inside the container. The scripts should then be available in ./centos6_64/root/, ./centos6_64/home/openmwbuilder/ and ./centos6_64/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 are still some references to 32 Bit (i686) generic builds but at this time 32 Bit support has been discontinued.

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