From 28ca8d280e2ea840308dd9802e5b58ee9119ab46 Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sun, 20 Jul 2025 19:47:58 +0800 Subject: Megapahit viewer 7.2.0-r54105 ebuild Introducing the new discord (for Discord Social SDK) USE flag, which is off by default. I don't know how to pass the value of Portage's ${DISTDIR} dynamically to the patched file yet, so I hardcoded it with `/var/cache/distfiles`, which should be the most common at the time of this writing. --- games-rpg/megapahit/files/megapahit-7.2.0-discord_sdk.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 games-rpg/megapahit/files/megapahit-7.2.0-discord_sdk.patch (limited to 'games-rpg/megapahit/files/megapahit-7.2.0-discord_sdk.patch') diff --git a/games-rpg/megapahit/files/megapahit-7.2.0-discord_sdk.patch b/games-rpg/megapahit/files/megapahit-7.2.0-discord_sdk.patch new file mode 100644 index 0000000..c92ea0d --- /dev/null +++ b/games-rpg/megapahit/files/megapahit-7.2.0-discord_sdk.patch @@ -0,0 +1,11 @@ +--- viewer/indra/cmake/Discord.cmake.orig 2025-07-20 19:39:36.291295755 +0800 ++++ viewer/indra/cmake/Discord.cmake 2025-07-20 19:39:46.854182818 +0800 +@@ -5,7 +5,7 @@ + + if (${PREBUILD_TRACKING_DIR}/sentinel_installed IS_NEWER_THAN ${PREBUILD_TRACKING_DIR}/discord_installed OR NOT ${discord_installed} EQUAL 0) + file(ARCHIVE_EXTRACT +- INPUT $ENV{HOME}/Downloads/DiscordSocialSdk-1.4.9649.zip ++ INPUT /var/cache/distfiles/DiscordSocialSdk-1.4.9649.zip + DESTINATION ${CMAKE_BINARY_DIR} + ) + file( -- cgit v1.2.3