commit:     c438cf6a2bddab53e8086962473080d7fd1a59f0
Author:     Leo Douglas <douglarek <AT> gmail <DOT> com>
AuthorDate: Sat Feb 21 08:31:58 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 27 23:16:42 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c438cf6a

app-editors/cursor: add 2.5.20, drop 2.4.28

Closes: https://bugs.gentoo.org/969249
Closes: https://bugs.gentoo.org/970207

Signed-off-by: Leo Douglas <douglarek <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45845
Closes: https://github.com/gentoo/gentoo/pull/45845
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-editors/cursor/Manifest                                      | 4 ++--
 .../cursor/{cursor-2.4.28.ebuild => cursor-2.5.20.ebuild}        | 9 ++++++++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/app-editors/cursor/Manifest b/app-editors/cursor/Manifest
index 4839651c0e83..1baa9c321329 100644
--- a/app-editors/cursor/Manifest
+++ b/app-editors/cursor/Manifest
@@ -1,2 +1,2 @@
-DIST cursor-2.4.28-amd64.deb 175784180 BLAKE2B 
42db93a66335893e4a4431a784c8f9b9144d5f9ab07058dff22a8190a0ddc23a34745e365882cecc3b7f2edcb71fe495ea35c6c6ee4da20162f8e3b089f6fec9
 SHA512 
e6ebe22f86e06077eefee61c152889cb7abd79f22ceca041b2d77a5111f873967cce914c459b5e1805f16d50eb60a60a80513ac006c479fd5d7d635786039bbe
-DIST cursor-2.4.28-arm64.deb 166655748 BLAKE2B 
a74396d3945c83d59fe98f0695e5503464e729d193248a0df866bcbe8fe58ed68d14ee42c3c0b3da0e1ea96b3a5257bc4d961080c7c88c82fc795398c6b1d13a
 SHA512 
c1794fa5d6a218ff0273c46fd7b712bf88afc0b5e007dbfc41b80963729ea2fb080dd4d477daaeca67efb2fd8f78c6f36574c09b585f3a3676e51ca04b1f51f6
+DIST cursor-2.5.20-amd64.deb 180999072 BLAKE2B 
29bceb58080693995de2a8c52bce73be4e3630afa2ec9a8cd7875398f4f08b4faef97a3ad13bc839308a6c5801eb4780b5ee24d582bf1aece5e2aa7ef2edcdf7
 SHA512 
22aa2dabd2396f778199a5155f8fb68493320b5f01eb6f06af0b3e063a1b8cc811fd029190d7ab733fd42cbf3d19dec1e980b960f58e0cce8a359de13c2f432a
+DIST cursor-2.5.20-arm64.deb 171564784 BLAKE2B 
04b36b86f690bd6e585dde27f25a5ceb3f3544c7159c758b75efe2090fb94c1c2536cd747d84e47b5f5690bc901078f68dfacb5aaf147d524d9c43fc4b297a11
 SHA512 
c8793d4093eb21c79b1db1a67014c351476e062eac30546935d992d7650c382f3a571375940487314a535bcbdfa2308797349809d7b47d1c00b78bf527f768c5

diff --git a/app-editors/cursor/cursor-2.4.28.ebuild 
b/app-editors/cursor/cursor-2.5.20.ebuild
similarity index 89%
rename from app-editors/cursor/cursor-2.4.28.ebuild
rename to app-editors/cursor/cursor-2.5.20.ebuild
index 5757825c287d..60f41f2a0203 100644
--- a/app-editors/cursor/cursor-2.4.28.ebuild
+++ b/app-editors/cursor/cursor-2.5.20.ebuild
@@ -10,7 +10,7 @@ CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 
et fa fi fil fr gu
 inherit chromium-2 desktop pax-utils unpacker xdg optfeature shell-completion
 
 # curl -sL 
"https://www.cursor.com/api/download?platform=linux-x64&releaseTrack=latest"; | 
jq -r '.commitSha'
-BUILD_ID="f3f5cec40024283013878b50c4f9be4002e0b587"
+BUILD_ID="511523af765daeb1fa69500ab0df5b6524424612"
 DESCRIPTION="Cursor App - AI-first coding environment"
 HOMEPAGE="https://www.cursor.com/";
 SRC_URI="
@@ -87,6 +87,13 @@ src_install() {
                rm -r "${CURSOR_HOME}/resources/app/node_modules/kerberos" || 
die
        fi
 
+       # Remove foreign-arch ripgrep binaries to avoid QA soname warnings
+       if use amd64; then
+               rm -r 
"${CURSOR_HOME}/resources/app/extensions/cursor-agent/dist/claude-agent-sdk/vendor/ripgrep/arm64-linux"
 || die
+       elif use arm64; then
+               rm -r 
"${CURSOR_HOME}/resources/app/extensions/cursor-agent/dist/claude-agent-sdk/vendor/ripgrep/x64-linux"
 || die
+       fi
+
        dodir /opt/cursor
        cp -ar "${CURSOR_HOME}/." "${D}/opt/cursor/" || die
 

Reply via email to