emulators/rpcemu: Update to a newer patchset for macOS support

This commit is contained in:
js 2020-11-01 20:18:30 +00:00
parent 677dd1164c
commit e544d5edfa
3 changed files with 793 additions and 301 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.2 2020/10/24 16:53:41 js Exp $
# $NetBSD: Makefile,v 1.3 2020/11/01 20:18:30 js Exp $
DISTNAME= rpcemu-0.9.3
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://www.marutan.net/rpcemu/cgi/download.php?sFName=${PKGVERSION_NOREV}/
@ -18,7 +18,9 @@ INSTALLATION_DIRS+= bin
post-patch:
${RUN} cd ${WRKSRC}/src && \
${PATCH} -p0 <${FILESDIR}/rpcemu-0.9.1-mac-v1.patch
${PATCH} -p1 <${FILESDIR}/rpcemu-0.9.3-mac-patch-v1.patch
${RUN} ${MKDIR} ${WRKSRC}/src/macosx
${RUN} cp ${FILESDIR}/Info.plist ${WRKSRC}/src/macosx/Info.plist
do-configure:
cd ${WRKSRC} && ${QTDIR}/bin/qmake src/qt5/rpcemu.pro

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>Created by Qt/QMake</string>
<key>CFBundleIconFile</key>
<string>${ASSETCATALOG_COMPILER_APPICON_NAME}</string>
<key>CFBundleIdentifier</key>
<string>org.marutan.rpcemu</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>${QMAKE_PKGINFO_TYPEINFO}</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NOTE</key>
<string>This file was generated by Qt/QMake.</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSSupportsAutomaticGraphicsSwitching</key>
<true/>
</dict>
</plist>