mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-25 16:46:17 +00:00
reduce build for "Linux client build", detect correct version patch for libvorbis
This commit is contained in:
parent
eec73c1802
commit
7b5a49260a
1 changed files with 6 additions and 2 deletions
|
@ -16,6 +16,7 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
# Example to execute locally:
|
# Example to execute locally:
|
||||||
|
# gitlab-runner exec docker --timeout=3600 'Linux client build'
|
||||||
# gitlab-runner exec docker --timeout=3600 'Linux server debian_amd64_strech build'
|
# gitlab-runner exec docker --timeout=3600 'Linux server debian_amd64_strech build'
|
||||||
# gitlab-runner exec docker --timeout=3600 'Linux client debian_amd64_strech build'
|
# gitlab-runner exec docker --timeout=3600 'Linux client debian_amd64_strech build'
|
||||||
# gitlab-runner exec docker --timeout=3600 'Linux client_static debian_amd64_strech build'
|
# gitlab-runner exec docker --timeout=3600 'Linux client_static debian_amd64_strech build'
|
||||||
|
@ -68,7 +69,10 @@ Linux client build:
|
||||||
# Configuration
|
# Configuration
|
||||||
- cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/ -DCMAKE_BUILD_TYPE=Release -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NEL_SAMPLES=OFF -DWITH_STATIC=ON -DWITH_STATIC_DRIVERS=ON -DWITH_STATIC_EXTERNAL=ON -DWITH_UNIX_STRUCTURE=OFF -DWITH_INSTALL_LIBRARIES=OFF -DWITH_LUA52=ON ../../code
|
- cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/ -DCMAKE_BUILD_TYPE=Release -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_NEL_TESTS=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NEL_SAMPLES=OFF -DWITH_STATIC=ON -DWITH_STATIC_DRIVERS=ON -DWITH_STATIC_EXTERNAL=ON -DWITH_UNIX_STRUCTURE=OFF -DWITH_INSTALL_LIBRARIES=OFF -DWITH_LUA52=ON ../../code
|
||||||
# Compilation et installation
|
# Compilation et installation
|
||||||
- make $optionproc install DESTDIR=../../Linux/x86_64
|
- make $optionproc khanat_client_patcher khanat_client
|
||||||
|
#- make $optionproc install DESTDIR=../../Linux/x86_64
|
||||||
|
- mkdir -p ../../Linux/x86_64
|
||||||
|
- cp bin/* ../../Linux/x86_64
|
||||||
# Packaging
|
# Packaging
|
||||||
- cd ../../
|
- cd ../../
|
||||||
- cp ./dist/khanat/autoextract_script.sh ./Linux/x86_64/
|
- cp ./dist/khanat/autoextract_script.sh ./Linux/x86_64/
|
||||||
|
@ -288,7 +292,7 @@ Linux client_static debian_amd64_strech build:
|
||||||
- mkdir -p libvorbis
|
- mkdir -p libvorbis
|
||||||
- wget -q http://security.debian.org/debian-security/pool/updates/main/libv/libvorbis/libvorbis_1.3.5.orig.tar.gz -O libvorbis.tar.gz
|
- wget -q http://security.debian.org/debian-security/pool/updates/main/libv/libvorbis/libvorbis_1.3.5.orig.tar.gz -O libvorbis.tar.gz
|
||||||
- tar xvf libvorbis.tar.gz -C libvorbis --strip 1 || exit 2
|
- tar xvf libvorbis.tar.gz -C libvorbis --strip 1 || exit 2
|
||||||
- wget -q http://security.debian.org/debian-security/pool/updates/main/libv/libvorbis/libvorbis_1.3.5-4+deb9u1.debian.tar.xz -O libvorbis.debian.tar.xz
|
- subversion=1; code=1; while [ $code -ne 0 ] ; do wget -q http://security.debian.org/debian-security/pool/updates/main/libv/libvorbis/libvorbis_1.3.5-4+deb9u$subversion.debian.tar.xz -O libvorbis.debian.tar.xz; code=$? subversion=$(( $subversion + 1 )) ; done ; echo "GET libvorbis_1.3.5-4+deb9u$(( $subversion - 1)).debian.tar.xz"
|
||||||
- tar xvf libvorbis.debian.tar.xz -C libvorbis || exit 2
|
- tar xvf libvorbis.debian.tar.xz -C libvorbis || exit 2
|
||||||
- cd libvorbis
|
- cd libvorbis
|
||||||
- for file in $(cat debian/patches/series); do patch -p1 < debian/patches/$file; done
|
- for file in $(cat debian/patches/series); do patch -p1 < debian/patches/$file; done
|
||||||
|
|
Loading…
Reference in a new issue