# Maintainer: bunnylo1 pkgname=wine-wayland pkgbase=wine-wayland pkgver=8.2 pkgrel=7 br="wayland" source=("git+https://gitlab.collabora.com/alf/wine.git/#branch=wayland") # '30-win32-aliases.conf' # 'wine-binfmt.conf') sha512sums=( 'SKIP' ) #'6200d75042a5993294ee58583fa9d145e46a36bcc2a38ddae92482366aaf67423b160556f748cd85d3ee1c521c497488810bdc0b79e192742f83ae49e7f55938' #'0ae5202b0ec9b4b1437f8c19f6e5f9c8ed32ef5d112f87c2bebdad62dcc60cdc0016fb9fbf911773bfab0701bc7481e686a06d2a25c9127895b7bc2dde2f2035') pkgdesc="A compatibility layer for running Windows programs (wayland version of wine https://github.com/Kron4ek/wine-wayland.git)" url="http://www.winehq.com" arch=(amd64) #options=(staticlibs) #license=(LGPL) depends=( libc6:amd64 libasound2:amd64 libcapi20-3:amd64 libcups2:amd64 libdbus-1-3:amd64 libfontconfig1:amd64 libfreetype6:amd64 libgif7:amd64 libxdamage1:amd64 libglvnd0:amd64 libgl1:amd64 libglu1-mesa:amd64 libgphoto2-6:amd64 libgsm1:amd64 libgstreamer-gl1.0-0:amd64 gir1.2-gst-plugins-base-1.0:amd64 gstreamer1.0-plugins-base:amd64 #libldap-2.4-2:amd64 libmpg123-0:amd64 libout123-0:amd64 libsyn123-0:amd64 libncurses6:amd64 libncursesw6:amd64 libtinfo6:amd64 libopenal1:amd64 libosmesa6:amd64 libpng16-16:amd64 libpulse0:amd64 libpulse-mainloop-glib0:amd64 libsane1:amd64 libstdc++6:amd64 libssl3:amd64 libtiff5:amd64 libtiffxx5:amd64 libx11-6:amd64 libxcomposite1:amd64 libxcursor1:amd64 libxext6:amd64 libxi6:amd64 libxinerama1:amd64 libxkbfile1:amd64 libxml2:amd64 libxmu6:amd64 libxrandr2:amd64 libxrender1:amd64 libusb-1.0-0:amd64 ocl-icd-libopencl1:amd64 libsdl2-2.0-0:amd64 libpcap0.8:amd64 libxkbcommon0:amd64 libvulkan1:amd64 libwayland-client0:amd64 libwayland-server0:amd64 libwayland-cursor0:amd64 libwayland-egl1:amd64 libxslt1.1:amd64 libxt6:amd64 libxxf86dga1:amd64 libxxf86vm1:amd64 libopenal1:amd64 #unixodbc:amd64 libunwind8:amd64 libkrb5-3:amd64 libgbm1:amd64 liblcms2-2:amd64 libfaudio0:amd64 libc6:i386 libasound2:i386 libcapi20-3:i386 libcups2:i386 libdbus-1-3:i386 libfontconfig1:i386 libfreetype6:i386 libgif7:i386 libxdamage1:i386 libglvnd0:i386 libgl1:i386 libglu1-mesa:i386 libgphoto2-6:i386 libgsm1:i386 libgstreamer-gl1.0-0:i386 gir1.2-gst-plugins-base-1.0:i386 gstreamer1.0-plugins-base:i386 #libldap-2.4-2:i386 libmpg123-0:i386 libout123-0:i386 libsyn123-0:i386 libncurses6:i386 libncursesw6:i386 libtinfo6:i386 libopenal1:i386 libosmesa6:i386 libpng16-16:i386 libpulse0:i386 libpulse-mainloop-glib0:i386 libsane1:i386 libstdc++6:i386 libssl1.1:i386 libtiff5:i386 libtiffxx5:i386 libx11-6:i386 libxcomposite1:i386 libxcursor1:i386 libxext6:i386 libxi6:i386 libxinerama1:i386 libxkbfile1:i386 libxml2:i386 libxmu6:i386 libxrandr2:i386 libxrender1:i386 libusb-1.0-0:i386 ocl-icd-libopencl1:i386 libsdl2-2.0-0:i386 libpcap0.8:i386 libxkbcommon0:i386 libvulkan1:i386 libwayland-client0:i386 libwayland-server0:i386 libwayland-cursor0:i386 libwayland-egl1:i386 libxslt1.1:i386 libxt6:i386 libxxf86dga1:i386 libxxf86vm1:i386 libopenal1:i386 #unixodbc:i386 libunwind8:i386 libkrb5-3:i386 libgbm1:i386 liblcms2-2:i386 libfaudio0:i386 ) makedepends=( debhelper wayland-protocols build-essential autotools-dev bison prelink sharutils dctrl-tools flex fontforge gcc-multilib gettext libgbm-dev:amd64 libc6-dev:amd64 freeglut3-dev:amd64 libasound2-dev:amd64 libcapi20-dev:amd64 libcups2-dev:amd64 libdbus-1-dev:amd64 libfontconfig1-dev:amd64 libfreetype6-dev:amd64 libgif-dev:amd64 libgl1-mesa-dev:amd64 libglu1-mesa-dev:amd64 libgphoto2-dev:amd64 libgsm1-dev:amd64 libjpeg-dev:amd64 #libldap2-dev:amd64 libmpg123-dev:amd64 libncurses5-dev:amd64 libopenal-dev:amd64 libosmesa6-dev:amd64 libpng-dev:amd64 libpulse-dev:amd64 libsane-dev:amd64 libssl-dev:amd64 libtiff-dev:amd64 libx11-dev:amd64 libxcomposite-dev:amd64 libxcursor-dev:amd64 libxext-dev:amd64 libxi-dev:amd64 libxinerama-dev:amd64 libxkbfile-dev:amd64 libxml2-dev:amd64 libxmu-dev:amd64 libxrandr-dev:amd64 libxrender-dev:amd64 libusb-1.0-0-dev:amd64 ocl-icd-opencl-dev:amd64 libgstreamer-plugins-base1.0-dev:amd64 libsdl2-dev:amd64 libpcap-dev:amd64 libwayland-dev:amd64 libxkbcommon-dev:amd64 libvulkan-dev:amd64 libgnutls28-dev:amd64 waylandpp-dev:amd64 libxslt1-dev:amd64 libxt-dev:amd64 libxxf86dga-dev:amd64 libxxf86vm-dev:amd64 libopenal-dev:amd64 #unixodbc-dev:amd64 libunwind-dev:amd64 libkrb5-dev:amd64 libdrm-dev:amd64 libstdc++-10-dev:amd64 libc6-dev:i386 freeglut3-dev:i386 libasound2-dev:i386 libcapi20-dev:i386 libcups2-dev:i386 libdbus-1-dev:i386 libfontconfig1-dev:i386 libfreetype6-dev:i386 libgif-dev:i386 libgl1-mesa-dev:i386 libglu1-mesa-dev:i386 libgphoto2-dev:i386 libgsm1-dev:i386 libjpeg-dev:i386 #libldap2-dev:i386 libmpg123-dev:i386 libncurses5-dev:i386 libopenal-dev:i386 libosmesa6-dev:i386 libpng-dev:i386 libpulse-dev:i386 libsane-dev:i386 libssl-dev:i386 libtiff-dev:i386 libx11-dev:i386 libxcomposite-dev:i386 libxcursor-dev:i386 libxext-dev:i386 libxi-dev:i386 libxinerama-dev:i386 libxkbfile-dev:i386 libxml2-dev:i386 libxmu-dev:i386 libxrandr-dev:i386 libxrender-dev:i386 libusb-1.0-0-dev:i386 ocl-icd-opencl-dev:i386 libgstreamer-plugins-base1.0-dev:i386 libsdl2-dev:i386 libpcap-dev:i386 libwayland-dev:i386 libxkbcommon-dev:i386 libvulkan-dev:i386 libgnutls28-dev:i386 waylandpp-dev:i386 libxslt1-dev:i386 libxt-dev:i386 libxxf86dga-dev:i386 libxxf86vm-dev:i386 libopenal-dev:i386 #unixodbc-dev:i386 libunwind-dev:i386 libkrb5-dev:i386 libdrm-dev:i386 libgbm-dev:i386 libstdc++-10-dev:i386 ) # #) #optdepends=( #'giflib' 'lib32-giflib' #'libpng' 'lib32-libpng' #'libldap' 'lib32-libldap' #'gnutls' 'lib32-gnutls' #'mpg123' 'lib32-mpg123' #'openal' 'lib32-openal' #'v4l-utils' 'lib32-v4l-utils' #'libpulse' 'lib32-libpulse' #'alsa-plugins' 'lib32-alsa-plugins' #'alsa-lib' 'lib32-alsa-lib' #'libjpeg-turbo' 'lib32-libjpeg-turbo' #'libxcomposite' 'lib32-libxcomposite' #'libxinerama' 'lib32-libxinerama' #'ncurses' 'lib32-ncurses' #'opencl-icd-loader' 'lib32-opencl-icd-loader' #'libxslt' 'lib32-libxslt' #'gst-plugins-base-libs' 'lib32-gst-plugins-base-libs' #'vulkan-icd-loader' 'lib32-vulkan-icd-loader' #'vkd3d' 'lib32-vkd3d' #'sdl2' 'lib32-sdl2' #'libgphoto2' #'sane' #'gsm' #'cups' #'samba' #'dosbox' #) provides=("libwine=${pkgver}") conflicts=('libwine') build() { mkdir -pv "$srcdir/wine-32-build" mkdir -pv "$srcdir/wine-64-build" cd "$srcdir/wine-32-build" ../wine/configure \ --prefix=/usr \ --with-x \ --with-gstreamer \ --without-mingw \ --with-wayland \ --libdir=/usr/lib32 make -j1 cd "$srcdir/wine-64-build" ../wine/configure \ --prefix=/usr \ --libdir=/usr/lib \ --with-x \ --without-mingw \ --with-gstreamer \ --enable-win64 \ --with-wayland make -j1 } package() { cd "$srcdir/wine-64-build" make prefix="$pkgdir/usr" \ libdir="$pkgdir/usr/lib" \ dlldir="$pkgdir/usr/lib/wine" install cd "$srcdir/wine-32-build" make prefix="$pkgdir/usr" \ libdir="$pkgdir/usr/lib32" \ dlldir="$pkgdir/usr/lib32/wine" install # Font aliasing settings for Win32 applications # install -d "$pkgdir"/etc/fonts/conf.{avail,d} # install -m644 "$srcdir/30-win32-aliases.conf" "$pkgdir/etc/fonts/conf.avail" # ln -s ../conf.avail/30-win32-aliases.conf \ # "$pkgdir/etc/fonts/conf.d/30-win32-aliases.conf" # install -Dm644 "$srcdir/wine-binfmt.conf" \ # "$pkgdir/usr/share/wine/binfmt/wine.conf" # strip native PE libraries # i686-w64-mingw32-strip --strip-unneeded "${pkgdir}/usr/lib32/wine/amd64-windows"/*.dll # x86_64-w64-mingw32-strip --strip-unneeded "${pkgdir}/usr/lib/wine/x86_64-windows"/*.dll }