From 5f6cfd0ec1da5499cb5d4698f974bac1fc478200 Mon Sep 17 00:00:00 2001 From: kwyxz Date: Tue, 25 Jan 2022 00:46:57 -0800 Subject: [PATCH] retroarch: bump to 1.10.0 (#6560) --- ...-1.9.12.recipe => retroarch-1.10.0.recipe} | 4 +- .../retroarch/retroarch-1.9.13.recipe | 118 ------------------ .../retroarch/retroarch-1.9.14.recipe | 118 ------------------ 3 files changed, 2 insertions(+), 238 deletions(-) rename games-emulation/retroarch/{retroarch-1.9.12.recipe => retroarch-1.10.0.recipe} (96%) delete mode 100644 games-emulation/retroarch/retroarch-1.9.13.recipe delete mode 100644 games-emulation/retroarch/retroarch-1.9.14.recipe diff --git a/games-emulation/retroarch/retroarch-1.9.12.recipe b/games-emulation/retroarch/retroarch-1.10.0.recipe similarity index 96% rename from games-emulation/retroarch/retroarch-1.9.12.recipe rename to games-emulation/retroarch/retroarch-1.10.0.recipe index 3b8d7636f..144d5ffa5 100644 --- a/games-emulation/retroarch/retroarch-1.9.12.recipe +++ b/games-emulation/retroarch/retroarch-1.10.0.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-2020 The RetroArch Team" +COPYRIGHT="2010-2022 The RetroArch Team" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://github.com/libretro/RetroArch/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="69b2139fd1393682be4aec3168187a05f010e3acf4ab23d1cf759e894f10ad8f" +CHECKSUM_SHA256="ff9c31abae19528275e40fbe49ef40be9410b4108513ae7dbf325e210e5b5bec" SOURCE_FILENAME="retroarch-$portVersion.tar.gz" SOURCE_DIR="RetroArch-$portVersion" ADDITIONAL_FILES="retroarch.rdef.in" diff --git a/games-emulation/retroarch/retroarch-1.9.13.recipe b/games-emulation/retroarch/retroarch-1.9.13.recipe deleted file mode 100644 index 21c505634..000000000 --- a/games-emulation/retroarch/retroarch-1.9.13.recipe +++ /dev/null @@ -1,118 +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="bd566eaf021da2656a101d873270bbba31e945d9a5a16157f422e46a0ae777ec" -SOURCE_FILENAME="retroarch-$portVersion.tar.gz" -SOURCE_DIR="RetroArch-$portVersion" -ADDITIONAL_FILES="retroarch.rdef.in" - -ARCHITECTURES="all !x86_gcc2" -if [ "$targetArchitecture" = x86_gcc2 ]; then -SECONDARY_ARCHITECTURES="x86" -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 - app:retroarch_cg2glsl = $portVersion - " -REQUIRES=" - haiku$secondaryArchSuffix - retroarch_assets - 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:libqt5$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$secondaryArchSuffix - devel:libswresample$secondaryArchSuffix - devel:libswscale$secondaryArchSuffix - devel:libqt5$secondaryArchSuffix - devel:libz$secondaryArchSuffix - " -BUILD_PREREQUIRES=" - cmd:gcc$secondaryArchSuffix - cmd:make - cmd:pkg_config$secondaryArchSuffix - cmd:which - " - -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="$appsDir" --datarootdir="$dataRootDir" \ - --docdir="$docDir" --mandir="$manDir" \ - --with-assets_dir="$dataDir" --disable-discord - make $jobArgs -} - -INSTALL() -{ - make install - - 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 "RetroArch" -} diff --git a/games-emulation/retroarch/retroarch-1.9.14.recipe b/games-emulation/retroarch/retroarch-1.9.14.recipe deleted file mode 100644 index 29c15f82c..000000000 --- a/games-emulation/retroarch/retroarch-1.9.14.recipe +++ /dev/null @@ -1,118 +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="874f3e3aca1d12d2cb9d34687eb052eec0ccfc0f335606f61fa6a03c8b6bb90a" -SOURCE_FILENAME="retroarch-$portVersion.tar.gz" -SOURCE_DIR="RetroArch-$portVersion" -ADDITIONAL_FILES="retroarch.rdef.in" - -ARCHITECTURES="all !x86_gcc2" -if [ "$targetArchitecture" = x86_gcc2 ]; then -SECONDARY_ARCHITECTURES="x86" -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 - app:retroarch_cg2glsl = $portVersion - " -REQUIRES=" - haiku$secondaryArchSuffix - retroarch_assets - 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:libqt5$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$secondaryArchSuffix - devel:libswresample$secondaryArchSuffix - devel:libswscale$secondaryArchSuffix - devel:libqt5$secondaryArchSuffix - devel:libz$secondaryArchSuffix - " -BUILD_PREREQUIRES=" - cmd:gcc$secondaryArchSuffix - cmd:make - cmd:pkg_config$secondaryArchSuffix - cmd:which - " - -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="$appsDir" --datarootdir="$dataRootDir" \ - --docdir="$docDir" --mandir="$manDir" \ - --with-assets_dir="$dataDir" --disable-discord - make $jobArgs -} - -INSTALL() -{ - make install - - 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 "RetroArch" -}