diff --git a/emulators/86Box/Makefile b/emulators/86Box/Makefile index 8e5d63b186bd..6113d4afc5b5 100644 --- a/emulators/86Box/Makefile +++ b/emulators/86Box/Makefile @@ -1,81 +1,84 @@ PORTNAME= 86Box DISTVERSIONPREFIX= v DISTVERSION= 4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MAINTAINER= tiago.gasiba@gmail.com COMMENT= Emulator of x86-based machines based on PCem WWW= https://86box.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS= aarch64 amd64 BUILD_DEPENDS= evdev-proto>=5.8:devel/evdev-proto LIB_DEPENDS= libevdev.so:devel/libevdev \ libfluidsynth.so:audio/fluidsynth \ libfreetype.so:print/freetype2 \ libopenal.so:audio/openal-soft \ libpng.so:graphics/png \ librtmidi.so:audio/rtmidi \ libslirp.so:net/libslirp \ libsndfile.so:audio/libsndfile \ libxkbcommon.so:x11/libxkbcommon FLAVORS= qt5 qt6 FLAVOR?= ${FLAVORS:[2]} qt5_PKGNAMESUFFIX= -qt5 qt6_PKGNAMESUFFIX= -qt6 USES= cmake compiler gnome pkgconfig qmake sdl xorg USE_GITHUB= yes USE_GNOME= glib20 USE_SDL= sdl2 USE_XORG= x11 xcb xext xi .if ${FLAVOR} == qt5 USES+= qt:5 USE_QT= core gui network opengl widgets buildtools:build \ linguisttools:build .else BUILD_DEPENDS+= vulkan-headers>0:graphics/vulkan-headers USES+= gl qt:6 USE_GL= opengl USE_QT= base tools:build CMAKE_ON= USE_QT6 CXXFLAGS+= -I${LOCALBASE}/include/qt6/QtGui/`pkg-config --modversion Qt6Gui`/QtGui .endif +CMAKE_ON+= ${CMAKE_ON_${ARCH}} +CMAKE_ON_aarch64= NEW_DYNAREC + SUB_FILES= 86Box-install-roms.sh SUB_LIST= DISTVERSION=${DISTVERSION} \ DISTVERSIONPREFIX=${DISTVERSIONPREFIX} OPTIONS_DEFINE= NLS WAYLAND OPTIONS_DEFAULT= WAYLAND NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_USES= kde:5 WAYLAND_USE= kde=ecm:build WAYLAND_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Wayland:BOOL=ON ICON_RESOLUTIONS= 128x128 192x192 256x256 48x48 512x512 64x64 72x72 96x96 do-install: ${INSTALL_PROGRAM} ${WRKDIR}/.build/src/86Box ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKDIR}/86Box-install-roms.sh ${STAGEDIR}${PREFIX}/bin - ${REINPLACE_CMD} -e 's|Exec=86Box|Exec=/bin/sh -c "${PREFIX}/bin/86Box -C $${HOME}/86box.cfg"|' \ + ${REINPLACE_CMD} -e 's|Exec=86Box|Exec=/bin/sh -c "${PREFIX}/bin/86Box -C $${HOME}/.config/86Box.cfg"|' \ ${WRKSRC}/src/unix/assets/net.86box.86Box.desktop ${INSTALL_DATA} ${WRKSRC}/src/unix/assets/net.86box.86Box.desktop \ ${STAGEDIR}${DESKTOPDIR} .for F in ${ICON_RESOLUTIONS} ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${F}/apps ${INSTALL_DATA} ${WRKSRC}/src/unix/assets/${F}/net.86box.86Box.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${F}/apps .endfor .include diff --git a/emulators/86Box/pkg-message b/emulators/86Box/pkg-message index 3d817927cd34..eba3050826d6 100644 --- a/emulators/86Box/pkg-message +++ b/emulators/86Box/pkg-message @@ -1,9 +1,12 @@ [ { type: install message: <