pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/duckstation-qt



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Feb 17 21:38:20 UTC 2024

Modified Files:
        pkgsrc/emulators/duckstation-qt: Makefile.common

Log Message:
duckstation-qt: Needs minimum SSE2 on i386.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/emulators/duckstation-qt/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/duckstation-qt/Makefile.common
diff -u pkgsrc/emulators/duckstation-qt/Makefile.common:1.2 pkgsrc/emulators/duckstation-qt/Makefile.common:1.3
--- pkgsrc/emulators/duckstation-qt/Makefile.common:1.2 Wed Nov 15 08:28:04 2023
+++ pkgsrc/emulators/duckstation-qt/Makefile.common     Sat Feb 17 21:38:20 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2023/11/15 08:28:04 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2024/02/17 21:38:20 nia Exp $
 
 # This is a separate file out of optimism that the non-qt version will
 # eventually be portable.
@@ -32,6 +32,13 @@ CMAKE_ARGS+=         -DENABLE_DISCORD_PRESENCE=
 CMAKE_ARGS+=           -DBUILD_REGTEST=OFF
 CMAKE_ARGS+=           -DUSE_DBUS=OFF
 
+.include "../../mk/bsd.prefs.mk"
+
+# Assumes all x86 has SSE2, needs it in audio_stream.cpp.
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+CFLAGS+=               -msse2
+.endif
+
 INSTALLATION_DIRS+=    bin
 INSTALLATION_DIRS+=    share/pixmaps
 INSTALLATION_DIRS+=    share/duckstation



Home | Main Index | Thread Index | Old Index