FreeBSD Bugzilla – Attachment 195430 Details for
Bug 228487
New port: emulators/yuzu, experimental Nintendo Switch emulator
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
yuzu.patch v4
yuzu.patch (text/plain), 6.14 KB, created by
Val Packett
on 2018-07-24 18:29:17 UTC
(
hide
)
Description:
yuzu.patch v4
Filename:
MIME Type:
Creator:
Val Packett
Created:
2018-07-24 18:29:17 UTC
Size:
6.14 KB
patch
obsolete
>diff --git c/emulators/yuzu-qt5/Makefile i/emulators/yuzu-qt5/Makefile >new file mode 100644 >index 000000000000..456d42c3f25d >--- /dev/null >+++ i/emulators/yuzu-qt5/Makefile >@@ -0,0 +1,10 @@ >+# $FreeBSD$ >+ >+PORTREVISION= 0 >+PKGNAMESUFFIX= -qt5 >+ >+MASTERDIR= ${.CURDIR}/../yuzu >+ >+OPTIONS_SLAVE= QT5 >+ >+.include "${MASTERDIR}/Makefile" >diff --git c/emulators/yuzu/Makefile i/emulators/yuzu/Makefile >new file mode 100644 >index 000000000000..e22c71b38a8f >--- /dev/null >+++ i/emulators/yuzu/Makefile >@@ -0,0 +1,67 @@ >+# $FreeBSD$ >+ >+PORTNAME= yuzu >+PORTVERSION= s20180724 >+PORTREVISION?= 0 >+CATEGORIES= emulators >+ >+MAINTAINER= greg@unrelenting.technology >+COMMENT= Nintendo Switch emulator/debugger >+ >+LICENSE= BSD2CLAUSE BSD3CLAUSE BSL GPLv2+ UNLICENSE >+LICENSE_COMB= multi >+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/externals/fmt/LICENSE.rst >+LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/externals/inih/inih/LICENSE.txt >+LICENSE_FILE_BSL= ${WRKSRC}/externals/catch/LICENSE.txt >+LICENSE_FILE_GPLv2+ = ${WRKSRC}/license.txt >+ >+BROKEN_FreeBSD_10= libc++ does not support C++17 features e.g., weak_from_this >+ >+BUILD_DEPENDS= boost-libs>=1.66:devel/boost-libs \ >+ gmake:devel/gmake >+ >+ONLY_FOR_ARCHS= amd64 >+ONLY_FOR_ARCHS_REASON= https://github.com/MerryMage/dynarmic/issues/35 >+ >+USE_GITHUB= yes >+GH_ACCOUNT= yuzu-emu >+GH_TAGNAME= 316c994f >+GH_TUPLE= MerryMage:dynarmic:fc6b73bd:dynarmic/externals/dynarmic \ >+ benhoyt:inih:r40:inih/externals/inih/inih \ >+ catchorg:Catch2:v2.2.3:catch/externals/catch \ >+ fmtlib:fmt:5.1.0:fmt/externals/fmt \ >+ lz4:lz4:v1.8.2:lz4/externals/lz4 \ >+ yuzu-emu:unicorn:73f4573:unicorn/externals/unicorn \ >+ herumi:xbyak:v5.65:xbyak/externals/xbyak >+ >+USES= cmake:outsource compiler:c++14-lang iconv localbase:ldflags >+USE_SDL= sdl2 >+CXXFLAGS+= -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 \ >+ -D_DECLARE_C99_LDBL_MATH # XXX ports/193528 >+LDFLAGS+= -Wl,--as-needed # Qt5Network >+ >+OPTIONS_MULTI= GUI >+OPTIONS_MULTI_GUI= QT5 SDL >+OPTIONS_SLAVE?= SDL >+OPTIONS_EXCLUDE:= ${OPTIONS_MULTI_GUI} >+ >+SDL_CMAKE_BOOL= ENABLE_SDL2 >+SDL_PLIST_FILES=bin/${PORTNAME}-cmd >+ >+USE_QT= qmake_build buildtools_build concurrent_build core gui multimedia opengl widgets >+QT5_USES= qt:5 desktop-file-utils shared-mime-info >+QT5_CMAKE_BOOL= ENABLE_QT >+QT5_PLIST_FILES=bin/${PORTNAME} \ >+ share/applications/${PORTNAME}.desktop \ >+ share/icons/hicolor/scalable/apps/${PORTNAME}.svg \ >+ share/mime/packages/${PORTNAME}.xml >+ >+post-patch: >+ @${REINPLACE_CMD} -e 's,share/man,man,' \ >+ -e '/check_submodules_present()/d' \ >+ ${WRKSRC}/CMakeLists.txt >+ @${REINPLACE_CMD} -e 's/@GIT_BRANCH@/master/' \ >+ -e 's/@GIT_DESC@/${GH_TAGNAME}/' \ >+ ${WRKSRC}/src/common/scm_rev.cpp.in >+ >+.include <bsd.port.mk> >diff --git c/emulators/yuzu/distinfo i/emulators/yuzu/distinfo >new file mode 100644 >index 000000000000..8b2a7509fedb >--- /dev/null >+++ i/emulators/yuzu/distinfo >@@ -0,0 +1,17 @@ >+TIMESTAMP = 1532456599 >+SHA256 (yuzu-emu-yuzu-s20180724-316c994f_GH0.tar.gz) = 98555f5fef7b670ca84984ade309694a0234a52f4d4b227ef414e9199d8f54f9 >+SIZE (yuzu-emu-yuzu-s20180724-316c994f_GH0.tar.gz) = 936540 >+SHA256 (MerryMage-dynarmic-fc6b73bd_GH0.tar.gz) = 3cc19aa64df5582aafcb0f4ec56a17a901eb24075b33c5f0ab104922678162cc >+SIZE (MerryMage-dynarmic-fc6b73bd_GH0.tar.gz) = 1399326 >+SHA256 (benhoyt-inih-r40_GH0.tar.gz) = 0a7d8600c523ccd2d01a5bec2ef3a6482ada49794e67cf694d2bec796cb2c340 >+SIZE (benhoyt-inih-r40_GH0.tar.gz) = 11436 >+SHA256 (catchorg-Catch2-v2.2.3_GH0.tar.gz) = 45e5e12cc5a98e098b0960d70c0d99b7168b711e85fb947dcd4d68ec3f8b8826 >+SIZE (catchorg-Catch2-v2.2.3_GH0.tar.gz) = 503700 >+SHA256 (fmtlib-fmt-5.1.0_GH0.tar.gz) = 73d4cab4fa8a3482643d8703de4d9522d7a56981c938eca42d929106ff474b44 >+SIZE (fmtlib-fmt-5.1.0_GH0.tar.gz) = 641502 >+SHA256 (lz4-lz4-v1.8.2_GH0.tar.gz) = 0963fbe9ee90acd1d15e9f09e826eaaf8ea0312e854803caf2db0a6dd40f4464 >+SIZE (lz4-lz4-v1.8.2_GH0.tar.gz) = 320742 >+SHA256 (yuzu-emu-unicorn-73f4573_GH0.tar.gz) = 23fe9a3f1d4618fad8b03eca85658c03d6430dd10faecff50fd7baeb894293fe >+SIZE (yuzu-emu-unicorn-73f4573_GH0.tar.gz) = 3295450 >+SHA256 (herumi-xbyak-v5.65_GH0.tar.gz) = b88b29ab2bd1addfa5de005b81cf77d6b4397954c75ff54c724e9b6b39a24fd6 >+SIZE (herumi-xbyak-v5.65_GH0.tar.gz) = 212313 >diff --git c/emulators/yuzu/files/patch-externals_unicorn_make.sh i/emulators/yuzu/files/patch-externals_unicorn_make.sh >new file mode 100644 >index 000000000000..3d7c11012c3f >--- /dev/null >+++ i/emulators/yuzu/files/patch-externals_unicorn_make.sh >@@ -0,0 +1,28 @@ >+On FreeBSD 11, unicorn samples fail with: >+ >+../libunicorn.so: undefined reference to pthread_create >+ >+Rather than add -lthr, just disable them as they are completely unnecessary here. >+ >+--- externals/unicorn/make.sh.orig 2018-07-09 09:58:24 UTC >++++ externals/unicorn/make.sh >+@@ -120,15 +120,15 @@ fi >+ export CC INSTALL_BIN PREFIX PKGCFGDIR LIBDIRARCH LIBARCHS CFLAGS LDFLAGS >+ >+ case "$1" in >+- "" ) ${MAKE};; >++ "" ) ${MAKE} unicorn;; >+ "asan" ) asan;; >+ "install" ) install;; >+ "uninstall" ) uninstall;; >+- "macos-universal" ) MACOS_UNIVERSAL=yes ${MAKE};; >+- "macos-universal-no" ) MACOS_UNIVERSAL=no ${MAKE};; >++ "macos-universal" ) MACOS_UNIVERSAL=yes ${MAKE} unicorn;; >++ "macos-universal-no" ) MACOS_UNIVERSAL=no ${MAKE} unicorn;; >+ "cross-win32" ) build_cross i686-w64-mingw32;; >+ "cross-win64" ) build_cross x86_64-w64-mingw32;; >+- "cross-android" ) CROSS=arm-linux-androideabi ${MAKE};; >++ "cross-android" ) CROSS=arm-linux-androideabi ${MAKE} unicorn;; >+ "ios" ) build_iOS;; >+ "ios_armv7" ) build_iOS armv7;; >+ "ios_armv7s" ) build_iOS armv7s;; >diff --git c/emulators/yuzu/pkg-descr i/emulators/yuzu/pkg-descr >new file mode 100644 >index 000000000000..2b61a2f7fd70 >--- /dev/null >+++ i/emulators/yuzu/pkg-descr >@@ -0,0 +1,10 @@ >+yuzu is an experimental open-source Nintendo Switch emulator/debugger >+written in C++. It is written with portability in mind, with builds >+actively maintained for Windows, Linux and OS X. yuzu only emulates a >+subset of Switch hardware, and therefore is generally only useful for >+running/debugging homebrew applications. At this time, yuzu cannot >+play any commercial games without major problems. yuzu can boot some >+games, to varying degrees of success, but does not implement any of the >+necessary GPU features to render 3D graphics. >+ >+WWW: https://yuzu-emu.org
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 228487
:
193695
|
193758
|
194988
| 195430