pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libretro-desmume: Support ARM
Module Name: pkgsrc-wip
Committed By: Nia Alarie <nia.alarie%gmail.com@localhost>
Pushed By: nee
Date: Sun Jun 11 10:55:30 2017 +0100
Changeset: 0768c43680194041ce191ff29c2820bd5c65a05a
Modified Files:
libretro-desmume/Makefile
Log Message:
libretro-desmume: Support ARM
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0768c43680194041ce191ff29c2820bd5c65a05a
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libretro-desmume/Makefile | 9 +++++++++
1 file changed, 9 insertions(+)
diffs:
diff --git a/libretro-desmume/Makefile b/libretro-desmume/Makefile
index 330834b473..b116980921 100644
--- a/libretro-desmume/Makefile
+++ b/libretro-desmume/Makefile
@@ -3,6 +3,7 @@
DISTNAME= libretro-desmume-20170211
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=libretro/}
+
HOMEPAGE= https://wiki.libretro.com/index.php?title=DeSmuME
COMMENT= Libretro core based on the Desmume Nintendo DS emulator
LICENSE= gnu-gpl-v2
@@ -16,6 +17,14 @@ USE_TOOLS= gmake
USE_LANGUAGES= c c++
+.include "../../mk/bsd.fast.prefs.mk"
+
+.if !empty(MACHINE_ARCH:M*arm*)
+CXXFLAGS+= -marm
+BUILD_MAKE_FLAGS+= DESMUME_JIT=0
+BUILD_MAKE_FLAGS+= DESMUME_JIT_ARM=1
+.endif
+
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
do-install:
Home |
Main Index |
Thread Index |
Old Index