From e5c185826dbe3660b7a0f9b2995559efe3c75d81 Mon Sep 17 00:00:00 2001 From: kwyxz Date: Sat, 9 May 2020 00:41:58 -0700 Subject: [PATCH] Retroarch: bump version to 1.8.6 (#4951) --- .../patches/retroarch-1.8.4.patchset | 25 ---- .../retroarch/retroarch-1.8.4.recipe | 126 ------------------ ...ch-1.8.5.recipe => retroarch-1.8.6.recipe} | 6 +- 3 files changed, 3 insertions(+), 154 deletions(-) delete mode 100644 games-emulation/retroarch/patches/retroarch-1.8.4.patchset delete mode 100644 games-emulation/retroarch/retroarch-1.8.4.recipe rename games-emulation/retroarch/{retroarch-1.8.5.recipe => retroarch-1.8.6.recipe} (96%) diff --git a/games-emulation/retroarch/patches/retroarch-1.8.4.patchset b/games-emulation/retroarch/patches/retroarch-1.8.4.patchset deleted file mode 100644 index a7b0ff8af..000000000 --- a/games-emulation/retroarch/patches/retroarch-1.8.4.patchset +++ /dev/null @@ -1,25 +0,0 @@ -From 3999164cb9613d4892b767dea0c5d9690f4a1ecf Mon Sep 17 00:00:00 2001 -From: Crestwave -Date: Sun, 15 Mar 2020 20:36:38 +0800 -Subject: (Haiku) Use GL1 video driver by default - - -diff --git a/configuration.c b/configuration.c -index c339e9e..16174c6 100644 ---- a/configuration.c -+++ b/configuration.c -@@ -322,9 +322,9 @@ enum midi_driver_enum - static enum video_driver_enum VIDEO_DEFAULT_DRIVER = VIDEO_METAL; - #elif defined(HAVE_VITA2D) - static enum video_driver_enum VIDEO_DEFAULT_DRIVER = VIDEO_VITA2D; --#elif (defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) || defined(__CELLOS_LV2__)) && !defined(__WINRT__) -+#elif (defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) || defined(__CELLOS_LV2__)) && !defined(__WINRT__) && !defined(__HAIKU__) - static enum video_driver_enum VIDEO_DEFAULT_DRIVER = VIDEO_GL; --#elif defined(HAVE_OPENGL_CORE) -+#elif defined(HAVE_OPENGL_CORE) && !defined(__HAIKU__) - static enum video_driver_enum VIDEO_DEFAULT_DRIVER = VIDEO_GL_CORE; - #elif defined(HAVE_OPENGL1) - static enum video_driver_enum VIDEO_DEFAULT_DRIVER = VIDEO_GL1; --- -2.24.1 - diff --git a/games-emulation/retroarch/retroarch-1.8.4.recipe b/games-emulation/retroarch/retroarch-1.8.4.recipe deleted file mode 100644 index e7e199ba8..000000000 --- a/games-emulation/retroarch/retroarch-1.8.4.recipe +++ /dev/null @@ -1,126 +0,0 @@ -SUMMARY="The reference frontend of libretro" -DESCRIPTION="RetroArch is a frontend for emulators, game engines and media \ -players. It enables you to run classic games on a wide range of computers and \ -consoles through its slick graphical interface. It has advanced features like \ -shaders, netplay, rewinding, next-frame response times, and more!" -HOMEPAGE="https://www.retroarch.com/" -COPYRIGHT="2010-2020 The RetroArch Team" -LICENSE="GNU GPL v3" -REVISION="1" -SOURCE_URI="https://github.com/libretro/RetroArch/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="027e9eb243488da1b8532116eab2a79932fcf2dcb96bcc4be9a12b329a2a9c52" -SOURCE_FILENAME="retroarch-$portVersion.tar.gz" -SOURCE_DIR="RetroArch-$portVersion" -PATCHES="retroarch-$portVersion.patchset" -ADDITIONAL_FILES="retroarch.rdef.in" - -ARCHITECTURES="!x86_gcc2 ?x86 x86_64" -commandBinDir=$binDir -if [ "$targetArchitecture" = x86_gcc2 ]; then -SECONDARY_ARCHITECTURES="x86" -commandBinDir=$prefix/bin -fi - -GLOBAL_WRITABLE_FILES=" - $relativeSettingsDir/retroarch.cfg auto-merge - " -USER_SETTINGS_FILES=" - $relativeSettingsDir/retroarch/retroarch.cfg template \ - $sysconfDir/retroarch.cfg - " - -PROVIDES=" - retroarch$secondaryArchSuffix = $portVersion - app:retroarch = $portVersion - cmd:retroarch_cg2glsl - " -REQUIRES=" - haiku$secondaryArchSuffix - retroarch_assets - cmd:python3 - lib:libavcodec$secondaryArchSuffix - lib:libavdevice$secondaryArchSuffix - lib:libavformat$secondaryArchSuffix - lib:libavutil$secondaryArchSuffix - lib:libGL$secondaryArchSuffix - lib:libsdl2_2.0$secondaryArchSuffix - lib:libswresample$secondaryArchSuffix - lib:libswscale$secondaryArchSuffix - lib:libz$secondaryArchSuffix - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - devel:libavcodec$secondaryArchSuffix - devel:libavdevice$secondaryArchSuffix - devel:libavformat$secondaryArchSuffix - devel:libavutil$secondaryArchSuffix - devel:libGL$secondaryArchSuffix - devel:libsdl2_2.0$secondaryArchSuffix - devel:libswresample$secondaryArchSuffix - devel:libswscale$secondaryArchSuffix - devel:libz$secondaryArchSuffix - " -BUILD_PREREQUIRES=" - cmd:gcc$secondaryArchSuffix - cmd:make - cmd:pkg_config$secondaryArchSuffix - cmd:which - " - -defineDebugInfoPackage retroarch$secondaryArchSuffix \ - "$appsDir/RetroArch" - -PATCH() -{ - libretroDir="`finddir B_SYSTEM_DIRECTORY`/$relativeAddOnsDir/libretro" - assetsDir="`finddir B_SYSTEM_DATA_DIRECTORY`/retroarch/assets" - cacheDir="`finddir B_SYSTEM_CACHE_DIRECTORY`/retroarch" - contentDir="`finddir B_SYSTEM_VAR_DIRECTORY`/retroarch" - coreAssetsDir="`finddir B_SYSTEM_VAR_DIRECTORY`/retroarch/assets" - sed -i \ - -e "s|^# \(libretro_directory =\)|\1 \"$libretroDir/\"|;" \ - -e "s|^# \(libretro_info_path =\)|\1 \"$libretroDir/\"|;" \ - -e "s|^# \(assets_directory =\)|\1 \"$assetsDir/\"|;" \ - -e "s|^# \(cache_directory =\)|\1 \"$cacheDir/\"|;" \ - -e "s|^# \(content_directory =\)|\1 \"$contentDir/\"|;" \ - -e "s|^# \(core_assets_directory =\)|\1 \"$coreAssetsDir/\"|;" \ - retroarch.cfg -} - -BUILD() -{ - ./configure --prefix="$prefix" --sysconfdir="$sysconfDir" \ - --bindir="$commandBinDir" --datarootdir="$dataRootDir" \ - --docdir="$docDir" --mandir="$manDir" \ - --with-assets_dir="$dataDir" --disable-discord - make $jobArgs -} - -INSTALL() -{ - make install - - install -m 0755 -d "$appsDir" - mv "$commandBinDir/retroarch" "$appsDir/RetroArch" - - install -m 0755 -d "$dataDir"/retroarch - install -m 0644 -T retroarch.cfg "$settingsDir"/retroarch.cfg - install -m 0644 -T retroarch.cfg "$dataDir"/retroarch/retroarch.cfg.default - - local APP_SIGNATURE="application/x-vnd.RetroArch" - local MAJOR="`echo "$portVersion" | cut -d. -f1`" - local MIDDLE="`echo "$portVersion" | cut -d. -f2`" - local MINOR="`echo "$portVersion" | cut -d. -f3`" - sed \ - -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ - -e "s|@MAJOR@|$MAJOR|" \ - -e "s|@MIDDLE@|$MIDDLE|" \ - -e "s|@MINOR@|$MINOR|" \ - $portDir/additional-files/retroarch.rdef.in > retroarch.rdef - - addResourcesToBinaries retroarch.rdef \ - "$appsDir"/RetroArch - - addAppDeskbarSymlink "$appsDir"/RetroArch -} diff --git a/games-emulation/retroarch/retroarch-1.8.5.recipe b/games-emulation/retroarch/retroarch-1.8.6.recipe similarity index 96% rename from games-emulation/retroarch/retroarch-1.8.5.recipe rename to games-emulation/retroarch/retroarch-1.8.6.recipe index 47b6d3a0e..ce18c0e64 100644 --- a/games-emulation/retroarch/retroarch-1.8.5.recipe +++ b/games-emulation/retroarch/retroarch-1.8.6.recipe @@ -4,11 +4,11 @@ players. It enables you to run classic games on a wide range of computers and \ consoles through its slick graphical interface. It has advanced features like \ shaders, netplay, rewinding, next-frame response times, and more!" HOMEPAGE="https://www.retroarch.com/" -COPYRIGHT="2010-2018 The RetroArch Team" +COPYRIGHT="2010-2020 The RetroArch Team" LICENSE="GNU GPL v3" -REVISION="2" +REVISION="1" SOURCE_URI="https://github.com/libretro/RetroArch/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="f29b6dd9b18f874571803afac760b7fc99dc177dd079b38216b7576bd7d86dd4" +CHECKSUM_SHA256="fc4d239cf038066b9a0d866fbff3b6ae6e00a3a1fdfb9657cbc0ae093bc22394" SOURCE_FILENAME="retroarch-$portVersion.tar.gz" SOURCE_DIR="RetroArch-$portVersion" ADDITIONAL_FILES="retroarch.rdef.in"