1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

emulators/ppsspp: advertise Vulkan support

- Vulkan lazy bindings are always enabled, built against bundled headers
- QT5 slave currently hardcodes GPUBackend::OPENGL
This commit is contained in:
Jan Beich 2018-09-08 23:14:07 +00:00
parent e6f668d9b0
commit 7b8e72fd60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479260
3 changed files with 11 additions and 2 deletions

View File

@ -6,5 +6,7 @@ PKGNAMESUFFIX= -qt5
MASTERDIR= ${.CURDIR}/../ppsspp
OPTIONS_SLAVE= QT5
# XXX https://github.com/hrydgard/ppsspp/blob/v1.6.3/Qt/QtMain.cpp#L533-L534
OPTIONS_EXCLUDE=VULKAN
.include "${MASTERDIR}/Makefile"

View File

@ -3,7 +3,7 @@
PORTNAME= ppsspp
DISTVERSIONPREFIX= v
DISTVERSION?= 1.6.3
PORTREVISION?= 2
PORTREVISION?= 3
CATEGORIES= emulators
# XXX Get from Debian once #697821 lands
MASTER_SITES= https://bazaar.launchpad.net/~sergio-br2/${PORTNAME}/debian-sdl/download/5/${PORTNAME}.1-20140802045408-dd26dik367ztj5xg-8/:manpage
@ -52,7 +52,8 @@ DESKTOP_ENTRIES="PPSSPP" \
"Game;Emulator;" \
""
OPTIONS_DEFINE= OLDJOY
OPTIONS_DEFINE= OLDJOY VULKAN
OPTIONS_DEFAULT=VULKAN
OPTIONS_SINGLE= GUI
OPTIONS_SINGLE_GUI= QT5 SDL
OPTIONS_SLAVE?= LIBRETRO SDL
@ -71,6 +72,8 @@ QT5_VARS= EXENAME=PPSSPPQt
SDL_BUILD_DEPENDS= png>=1.6:graphics/png
SDL_LIB_DEPENDS= libpng.so:graphics/png
SDL_VARS= EXENAME=PPSSPPSDL
VULKAN_DESC= Vulkan renderer
VULKAN_RUN_DEPENDS= ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader
post-patch:
@${REINPLACE_CMD} -e 's/Linux/${OPSYS}/' \

View File

@ -4,3 +4,7 @@ Known issues:
file using controllermap (or antimicro) then check with testgamecontroller
it's detected (pay attention to guid). If you have trouble making it
work try OLDJOY option for v1.3 behavior.
- Vulkan support may not work on Intel iGPUs due to
https://github.com/FreeBSDDesktop/DEPRECATED-freebsd-base-graphics/issues/132
which can be worked around by running PPSSPP as root (via sudo, doas, etc.)
after applying https://bz-attachments.freebsd.org/attachment.cgi?id=187401