Ticket #5842: 0ad-no_Xcursor_dependency.patch

File 0ad-no_Xcursor_dependency.patch, 1.4 KB (added by Arfrever Frehtes Taifersar Arahesis, 4 years ago)
  • build/jenkins/dockerfiles/gcc6.Dockerfile

    RUN apt-get -qq update && apt-get -qq upgrade  
    66RUN apt-get install -qqy cmake libcurl4-gnutls-dev libenet-dev         \
    77    libgnutls28-dev libgtk-3-dev libicu-dev libidn11-dev libjson-perl  \
    88    libminiupnpc-dev libnspr4-dev libpython-dev libogg-dev             \
    9     libopenal-dev libpng-dev libsdl2-dev libvorbis-dev libxcursor-dev  \
    10     libxml2-dev libxml-simple-perl subversion zlib1g-dev
     9    libopenal-dev libpng-dev libsdl2-dev libvorbis-dev libxml2-dev     \
     10    libxml-simple-perl subversion zlib1g-dev
    1111
    1212ADD libsodium-1.0.17.tar.gz /root/libsodium/
    1313RUN cd /root/libsodium/libsodium-1.0.17 \
  • build/premake/extern_libs5.lua

    extern_lib_defs = {  
    647647            end
    648648        end,
    649649    },
    650     xcursor = {
    651         link_settings = function()
    652             add_default_links({
    653                 unix_names = { "Xcursor" },
    654             })
    655         end,
    656     },
    657650    zlib = {
    658651        compile_settings = function()
    659652            if os.istarget("windows") or os.istarget("macosx") then
  • build/premake/premake5.lua

    used_extern_libs = {  
    944944if not os.istarget("windows") and not _OPTIONS["android"] and not os.istarget("macosx") then
    945945    -- X11 should only be linked on *nix
    946946    table.insert(used_extern_libs, "x11")
    947     table.insert(used_extern_libs, "xcursor")
    948947end
    949948
    950949if not _OPTIONS["without-audio"] then