]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - .travis-before_install-xonotic.sh
lhnet: Use the generic linked list
[xonotic/darkplaces.git] / .travis-before_install-xonotic.sh
index bf39e00e08503b5c8d5571b319e9e7b86862535f..dc3cccea5c457b1e601914f0fbbe860bd6773564 100755 (executable)
@@ -11,22 +11,24 @@ for os in "$@"; do
 
   case "$os" in
     linux32)
-      wget https://www.libsdl.org/release/SDL2-2.0.5.tar.gz
-      tar xf SDL2-2.0.5.tar.gz
+      wget https://www.libsdl.org/release/SDL2-2.0.10.tar.gz
+      tar xf SDL2-2.0.10.tar.gz
       (
-      cd SDL2-2.0.5
+      cd SDL2-2.0.10
       export CC="gcc -m32"
-      i386 ./configure --enable-static --disable-shared --prefix="$USRLOCAL" || cat config.log
+      i386 ./configure --enable-static --disable-shared --prefix="$USRLOCAL" \
+        --enable-video-x11-xinput --enable-video-x11-xrandr ||\ cat config.log
       i386 make
       i386 make install
       )
       ;;
     linux64)
-      wget https://www.libsdl.org/release/SDL2-2.0.5.tar.gz
-      tar xf SDL2-2.0.5.tar.gz
+      wget https://www.libsdl.org/release/SDL2-2.0.10.tar.gz
+      tar xf SDL2-2.0.10.tar.gz
       (
-      cd SDL2-2.0.5
-      ./configure --enable-static --disable-shared --prefix="$USRLOCAL"
+      cd SDL2-2.0.10
+      ./configure --enable-static --disable-shared --prefix="$USRLOCAL" \
+        --enable-video-x11-xinput --enable-video-x11-xrandr ||\ cat config.log
       make
       make install
       )