svn commit: r479260 - in head/emulators: ppsspp ppsspp-qt5 ppsspp/files
Jan Beich
jbeich at FreeBSD.org
Sat Sep 8 23:14:09 UTC 2018
Author: jbeich
Date: Sat Sep 8 23:14:07 2018
New Revision: 479260
URL: https://svnweb.freebsd.org/changeset/ports/479260
Log:
emulators/ppsspp: advertise Vulkan support
- Vulkan lazy bindings are always enabled, built against bundled headers
- QT5 slave currently hardcodes GPUBackend::OPENGL
Modified:
head/emulators/ppsspp-qt5/Makefile (contents, props changed)
head/emulators/ppsspp/Makefile (contents, props changed)
head/emulators/ppsspp/files/pkg-message.in (contents, props changed)
Modified: head/emulators/ppsspp-qt5/Makefile
==============================================================================
--- head/emulators/ppsspp-qt5/Makefile Sat Sep 8 22:17:37 2018 (r479259)
+++ head/emulators/ppsspp-qt5/Makefile Sat Sep 8 23:14:07 2018 (r479260)
@@ -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"
Modified: head/emulators/ppsspp/Makefile
==============================================================================
--- head/emulators/ppsspp/Makefile Sat Sep 8 22:17:37 2018 (r479259)
+++ head/emulators/ppsspp/Makefile Sat Sep 8 23:14:07 2018 (r479260)
@@ -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}/' \
Modified: head/emulators/ppsspp/files/pkg-message.in
==============================================================================
--- head/emulators/ppsspp/files/pkg-message.in Sat Sep 8 22:17:37 2018 (r479259)
+++ head/emulators/ppsspp/files/pkg-message.in Sat Sep 8 23:14:07 2018 (r479260)
@@ -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
More information about the svn-ports-all
mailing list