aboutsummaryrefslogtreecommitdiff
path: root/emulators/wine-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/wine-devel/Makefile')
-rw-r--r--emulators/wine-devel/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 60ff33bb3bcc..abc3e7c7ad52 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -1,5 +1,5 @@
PORTNAME= wine
-DISTVERSION= 10.15
+DISTVERSION= 10.19
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= https://dl.winehq.org/wine/source/10.x/
@@ -16,16 +16,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
+LIB_DEPENDS= libhwloc.so:devel/hwloc2
# Only devel/llvm17 and later come with necessary include files - PR274542
USES= bison cpe desktop-file-utils gmake llvm:min=17,build,noexport \
localbase pkgconfig sdl shebangfix tar:xz
CPE_VENDOR= winehq
USE_GCC= yes
-WINELIBDIR= ${PREFIX}/lib
-.if !defined(USE_LDCONFIG32)
-USE_LDCONFIG= ${WINELIBDIR} ${WINELIBDIR}/wine
-.endif
+USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/wine
USE_SDL= sdl2
SHEBANG_FILES= tools/make_requests tools/winemaker/winemaker \
@@ -38,10 +36,10 @@ CONFIGURE_ARGS= --verbose \
--without-capi \
--without-coreaudio \
--without-dbus \
- --without-ffmpeg \
--without-gettext --without-gettextpo \
--without-gphoto \
--without-gssapi \
+ --with-hwloc \
--without-inotify \
--without-krb5 \
--with-mingw CROSSCC="clang" \
@@ -69,8 +67,10 @@ SUB_FILES= pkg-message
PORTDATA= wine.inf
-OPTIONS_DEFINE= CUPS DOCS DOSBOX GECKO GNUTLS MONO V4L WAYLAND X11
-OPTIONS_DEFAULT= ALSA GNUTLS WAYLAND X11
+# GECKO and MONO are intentionally kept at the end since they are just
+# used to depends at runtime on wine-gecko-devel and wine-mono-devel
+OPTIONS_DEFINE= CUPS DOCS DOSBOX FFMPEG GNUTLS V4L WAYLAND X11 GECKO MONO
+OPTIONS_DEFAULT= ALSA FFMPEG GNUTLS WAYLAND X11
OPTIONS_RADIO= AUDIO
OPTIONS_RADIO_AUDIO= ALSA OSS
OPTIONS_SUB= yes
@@ -91,6 +91,9 @@ CUPS_CONFIGURE_WITH= cups
DOSBOX_RUN_DEPENDS= dosbox:emulators/dosbox
+FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg
+FFMPEG_CONFIGURE_WITH= ffmpeg
+
GECKO_RUN_DEPENDS= wine-gecko-devel>0:emulators/wine-gecko-devel
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls