Below are my own instructions to build Wine-Staging 3.3 + Gallium-Nine + Some other patches on my PC Linux 32 Bits

mkdir -p /opt/Builds/Wine-Staging-3.3_Gallium-Nine
cd /opt/Builds/Wine-Staging-3.3_Gallium-Nine

wget http://mirrors.ibiblio.org/wine/source/3.x/wine-3.3.tar.xz 
wget https://github.com/wine-staging/wine-staging/archive/v3.3.tar.gz
wget https://github.com/sarnex/wine-d3d9-patches/archive/wine-d3d9-3.3.tar.gz
git clone https://aur.archlinux.org/wine-gaming-nine.git/

tar xJf wine-3.3.tar.xz 
tar xzf v3.3.tar.gz --strip-component 1 -C wine-3.3/
tar xzf wine-d3d9-3.3.tar.gz 

cd wine-3.3

# Apply Wine-Staging patches
./patches/patchinstall.sh DESTDIR="$(pwd)" --all

# Apply Wine-Gaming-Nine patches
patch -p1 -i ../wine-gaming-nine/harmony-fix.patch 
patch -R -p1 -i ../wine-gaming-nine/keybindings.patch 
patch -p1 -i ../wine-gaming-nine/steam.patch 
patch -p1 -i ../wine-gaming-nine/wbemprox_query_v2.patch 
patch -p1 -i ../wine-gaming-nine/wine-list.h-linked-list-cache-line-prefetching.patch 

# Apply Gallium-Nine patches
patch -p1 -i ../wine-d3d9-patches-wine-d3d9-3.3/staging-helper.patch
patch -p1 -i ../wine-d3d9-patches-wine-d3d9-3.3/wine-d3d9.patch 

autoreconf -fvi

./configure --prefix=/opt/wine/apps/MinGW32_Environment/ --with-alsa --with-capi --with-cms --with-coreaudio \
--with-cups --with-curses --with-d3d9-nine --with-d3d9-nine-module=auto --with-d3d9-nine-headers-path=auto \
--with-dbus --with-float-abi=abi --with-fontconfig --with-freetype --with-gettext --with-gettextpo --with-glu --with-gnutls \
--with-gphoto --with-gsm --with-gssapi --with-gstreamer --with-gtk3 --with-jpeg --with-krb5 --with-ldap --with-mpg123 \
--with-netapi --with-openal --with-opencl --with-opengl --with-osmesa --with-oss --without-hal --with-pcap --with-png \
--with-pthread --with-pulse --with-sane --with-sdl --with-tiff --with-udev --with-v4l --with-va --with-vulkan --with-x --with-xattr \
--with-xcomposite --with-xcursor --with-xfixes --with-xinerama --with-xinput --with-xinput2 --with-xml --with-xrandr --with-xrender \
--with-xshape --with-xshm --with-xslt --with-xxf86vm --with-zlib LDFLAGS="-L/opt/wine/apps/koku-xinput/lib/ -L/opt/vulkan-sdk/lib/"