mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
emulators/wine: Add Wayland support
This backports commits cb6e55988b6fc6 and 2922123124
from
emulators/wine-devel, just sorts in additions a bit more logically.
Wayland support is not on by default (yet).
PR: 282825
This commit is contained in:
parent
4fbb2ff0d7
commit
8ad1a9300a
3 changed files with 18 additions and 3 deletions
|
@ -52,8 +52,7 @@ CONFIGURE_ARGS+=--verbose \
|
|||
--with-sdl \
|
||||
--without-udev \
|
||||
--without-unwind \
|
||||
--without-usb \
|
||||
--without-wayland
|
||||
--without-usb
|
||||
CONFIGURE_ENV= CPPBIN="${CPP}" FLEX="${LOCALBASE}/bin/flex"
|
||||
WINELIBDIR= ${PREFIX}/lib
|
||||
.if !defined(USE_LDCONFIG32)
|
||||
|
@ -71,7 +70,7 @@ PIE_UNSAFE= yes
|
|||
|
||||
PORTDATA= wine.inf
|
||||
|
||||
OPTIONS_DEFINE= CUPS DOCS DOSBOX GNUTLS V4L WINEMAKER X11 GECKO MONO
|
||||
OPTIONS_DEFINE= CUPS DOCS DOSBOX GNUTLS V4L WAYLAND WINEMAKER X11 GECKO MONO
|
||||
OPTIONS_DEFAULT=ALSA GNUTLS X11
|
||||
OPTIONS_RADIO= AUDIO
|
||||
OPTIONS_RADIO_AUDIO= ALSA OSS
|
||||
|
@ -81,6 +80,7 @@ DOSBOX_DESC= Use DOSBox to run MS-DOS programs
|
|||
WINEMAKER_DESC= Fully support winemaker (requires Perl)
|
||||
GECKO_DESC= Bundle Gecko MSI package for Wine
|
||||
MONO_DESC= Bundle Mono MSI package for Wine
|
||||
WAYLAND_DESC= Wayland Support
|
||||
|
||||
PORTSCOUT= limit:^9\.0
|
||||
|
||||
|
@ -110,6 +110,11 @@ V4L_CONFIGURE_WITH= v4l2
|
|||
V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
|
||||
V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l
|
||||
|
||||
WAYLAND_CONFIGURE_WITH= wayland
|
||||
WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto
|
||||
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \
|
||||
libxkbcommon.so:x11/libxkbcommon
|
||||
|
||||
WINEMAKER_RUN_DEPENDS= p5-XML-LibXML>0:textproc/p5-XML-LibXML
|
||||
|
||||
X11_CONFIGURE_WITH= x fontconfig freetype opengl xinerama xinput2 xrandr xrender
|
||||
|
|
|
@ -11,6 +11,14 @@ is KVA_PAGES=500, which should still be enough for ZFS.
|
|||
The port also installs some of Wine's documentation which describes
|
||||
additional programs that are not in the manual pages under
|
||||
%%PREFIX%%/share/doc/wine
|
||||
|
||||
To enable Wayland run the following two commands:
|
||||
$ cat > wayland.reg <<EOF
|
||||
Windows Registry Editor Version 5.00
|
||||
[HKEY_CURRENT_USER\Software\Wine\Drivers]
|
||||
"Graphics"="x11,wayland"
|
||||
EOF
|
||||
$ wine64 regedit wayland.reg
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
|
|
@ -1637,6 +1637,7 @@ lib/wine/%%WINEARCH%%-unix/winedmo.so
|
|||
%%OSS%%lib/wine/%%WINEARCH%%-unix/wineoss.so
|
||||
lib/wine/%%WINEARCH%%-unix/wineps.so
|
||||
lib/wine/%%WINEARCH%%-unix/winevulkan.so
|
||||
%%WAYLAND%%lib/wine/%%WINEARCH%%-unix/winewayland.so
|
||||
%%X11%%lib/wine/%%WINEARCH%%-unix/winex11.so
|
||||
lib/wine/%%WINEARCH%%-unix/winspool.so
|
||||
lib/wine/%%WINEARCH%%-unix/ws2_32.so
|
||||
|
@ -2584,6 +2585,7 @@ lib/wine/%%WINEARCH%%-windows/wineps.drv
|
|||
%%WINE32%%lib/wine/%%WINEARCH%%-windows/wineps16.drv16
|
||||
%%WINE32%%lib/wine/%%WINEARCH%%-windows/winevdm.exe
|
||||
lib/wine/%%WINEARCH%%-windows/winevulkan.dll
|
||||
%%WAYLAND%%lib/wine/%%WINEARCH%%-windows/winewayland.drv
|
||||
%%X11%%lib/wine/%%WINEARCH%%-windows/winex11.drv
|
||||
%%X11%%lib/wine/%%WINEARCH%%-windows/winexinput.sys
|
||||
%%WINE32%%lib/wine/%%WINEARCH%%-windows/wing.dll16
|
||||
|
|
Loading…
Add table
Reference in a new issue