commit: cff0f63c0dad6e0c1a025e4d9e987a318d0c1c78 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Mon Mar 9 08:20:47 2026 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Mon Mar 9 08:20:47 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff0f63c
app-editors/cursor: drop 2.5.20 Signed-off-by: David Seifert <soap <AT> gentoo.org> app-editors/cursor/Manifest | 2 - app-editors/cursor/cursor-2.5.20.ebuild | 140 -------------------------------- 2 files changed, 142 deletions(-) diff --git a/app-editors/cursor/Manifest b/app-editors/cursor/Manifest index fe18937d5abc..276df3bc5fea 100644 --- a/app-editors/cursor/Manifest +++ b/app-editors/cursor/Manifest @@ -1,4 +1,2 @@ -DIST cursor-2.5.20-amd64.deb 180999072 BLAKE2B 29bceb58080693995de2a8c52bce73be4e3630afa2ec9a8cd7875398f4f08b4faef97a3ad13bc839308a6c5801eb4780b5ee24d582bf1aece5e2aa7ef2edcdf7 SHA512 22aa2dabd2396f778199a5155f8fb68493320b5f01eb6f06af0b3e063a1b8cc811fd029190d7ab733fd42cbf3d19dec1e980b960f58e0cce8a359de13c2f432a -DIST cursor-2.5.20-arm64.deb 171564784 BLAKE2B 04b36b86f690bd6e585dde27f25a5ceb3f3544c7159c758b75efe2090fb94c1c2536cd747d84e47b5f5690bc901078f68dfacb5aaf147d524d9c43fc4b297a11 SHA512 c8793d4093eb21c79b1db1a67014c351476e062eac30546935d992d7650c382f3a571375940487314a535bcbdfa2308797349809d7b47d1c00b78bf527f768c5 DIST cursor-2.6.14-amd64.deb 175843076 BLAKE2B 3950e1acfc9daaba933a13adb59810c1a42e89ded862fb3a81df8e5f570e22e2c322a547df5886f02a69eb420b4a0a105de1aa59e312c6333e46221c9aaa5667 SHA512 266ea0f5c12427b405221c5898e274b3ee6f15cb2eb8c99cf10dd0d3ff955ab751793fa01da2ad3d9652954e15514509a23a56928cab7407974c0852a35977b2 DIST cursor-2.6.14-arm64.deb 167147712 BLAKE2B 63bfef5cba64f7a41a501ea7ddaecbf79240f762f084f1bf6fb7f23a947b941257b2d7d2f99bdbd22608cd30a589f9c4e492f8ce2a89fdd778395e6eaa1ece28 SHA512 5b2e3d842de6d19b3fc4a12cb9ea1200a852a4b4cf8594b5e545adc93530035ed0707ffb0a5414d7af7a8aa77dd0c664393ecabe638a6a30a7720c2ad36633b8 diff --git a/app-editors/cursor/cursor-2.5.20.ebuild b/app-editors/cursor/cursor-2.5.20.ebuild deleted file mode 100644 index 60f41f2a0203..000000000000 --- a/app-editors/cursor/cursor-2.5.20.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr - sv sw ta te th tr uk ur vi zh-CN zh-TW" - -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="511523af765daeb1fa69500ab0df5b6524424612" -DESCRIPTION="Cursor App - AI-first coding environment" -HOMEPAGE="https://www.cursor.com/" -SRC_URI=" - amd64? ( - https://downloads.cursor.com/production/${BUILD_ID}/linux/x64/deb/amd64/deb/cursor_${PV}_amd64.deb - -> ${P}-amd64.deb - ) - arm64? ( - https://downloads.cursor.com/production/${BUILD_ID}/linux/arm64/deb/arm64/deb/cursor_${PV}_arm64.deb - -> ${P}-arm64.deb - ) -" -S="${WORKDIR}" - -LICENSE="cursor" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" -IUSE="egl kerberos wayland" -RESTRICT="bindist mirror strip" - -RDEPEND=" - || ( - sys-apps/systemd - sys-apps/systemd-utils - ) - >=app-accessibility/at-spi2-core-2.46.0:2 - app-crypt/libsecret[crypt] - app-misc/ca-certificates - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-libs/alsa-lib - media-libs/libglvnd - media-libs/mesa - net-misc/curl - sys-apps/dbus - sys-process/lsof - x11-libs/cairo - x11-libs/gtk+:3 - x11-libs/libdrm - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libxkbcommon - x11-libs/libxkbfile - x11-libs/libXrandr - x11-libs/libXScrnSaver - x11-libs/pango - x11-misc/xdg-utils - kerberos? ( app-crypt/mit-krb5 ) -" - -QA_PREBUILT="*" - -CURSOR_HOME="usr/share/cursor" - -src_prepare() { - default - - pushd "${CURSOR_HOME}/locales" >/dev/null || die - chromium_remove_language_paks - popd >/dev/null || die -} - -src_install() { - # disable update server - sed -e "/updateUrl/d" -i "${CURSOR_HOME}/resources/app/product.json" || die - - if ! use kerberos; then - 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 - - fperms 4711 /opt/cursor/chrome-sandbox - pax-mark m /opt/cursor/cursor - dosym ../cursor/bin/cursor /opt/bin/cursor - - local EXEC_EXTRA_FLAGS=() - if use wayland; then - EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" "--wayland-text-input-version=3" ) - fi - if use egl; then - EXEC_EXTRA_FLAGS+=( "--use-gl=egl" ) - fi - - sed -e "s|^Exec=/.*/cursor|Exec=cursor ${EXEC_EXTRA_FLAGS[*]}|" \ - -e "s|^Icon=.*|Icon=cursor|" \ - usr/share/applications/cursor.desktop >"${T}/cursor.desktop" || die - domenu "${T}/cursor.desktop" - - sed -e "s|^Exec=/.*/cursor|Exec=cursor ${EXEC_EXTRA_FLAGS[*]}|" \ - -e "s|^Icon=.*|Icon=cursor|" \ - usr/share/applications/cursor-url-handler.desktop >"${T}/cursor-url-handler.desktop" || die - domenu "${T}/cursor-url-handler.desktop" - - # Install icon to hicolor theme at multiple sizes for better theme compatibility - local size - for size in 16 24 32 48 64 128 256 512 1024; do - newicon -s "${size}" usr/share/pixmaps/co.anysphere.cursor.png cursor.png - done - - insinto /usr/share/mime/packages - doins usr/share/mime/packages/cursor-workspace.xml - - newbashcomp usr/share/bash-completion/completions/cursor cursor - newzshcomp usr/share/zsh/vendor-completions/_cursor _cursor -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "desktop notifications" x11-libs/libnotify - optfeature "keyring support inside cursor" "virtual/secret-service" -}
