mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 07:48:56 -04:00
app-editors/cursor: unkeyword 0.45.5 & add latest 0.44.11
In the latest 0.45.x version, curosr has increased stricter account detection. Unless there are better breakthrough measures, use the latest 0.44.x version. Closes: https://github.com/microcai/gentoo-zh/issues/6142 Signed-off-by: Leo Douglas <douglarek@gmail.com>
This commit is contained in:
parent
31e3c74a31
commit
e8b4532d3a
@ -1 +1,2 @@
|
||||
DIST cursor-0.45.2-build-250123mhituoa6o-amd64.deb 103114782 BLAKE2B 8134e23376e6b1207e69a64eacd1fa27125b83ec2852d1f58b5340af8f2730e5587acaad8ddb994089cb5e304471b629739c5717c156d52b5766079698feb831 SHA512 2c5a492213a24b34a448efe4890105b60d2d12a7e26d794de7a7bcc72f2ac495379ce47f3a4df3b4e96f7efb3f1c9b70a372a28b662cf59c2c1c52330846ec6f
|
||||
DIST cursor-0.44.11-build-250103fqxdt5u9z-amd64.deb 106305954 BLAKE2B 8125b270dc5b5a0ac72d71fb3fb7ae76b06da3bb980d0f91700b31d4422a0266bbfe7a72fc2b30a59ee6f77822a981b1b2f65c4ab4d9e9872a4245f231f61eb7 SHA512 6ed705cf660f34c30a4da8eb7eec1ea98089f5520f35b750cdd03912b028755a43a68f41aa00d064ef616d0ce6b000d32eecb9b73e46f6f855c73db3f576c500
|
||||
DIST cursor-0.45.5-build-250128loaeyulq8-amd64.deb 103331186 BLAKE2B 13f669cedd7b19b416c554a5da07cd4180aa405af4e512835c4db8d5fa9aa98169f7370f3bd2b749f59cd49825b3cd1d1ba152dbb5b932a588d01789cde0bcba SHA512 c3fcedb11dec2e3cba31b8ec41d882dde1f9aecd6bab02418d399b99df5bd941a2d585b1b5a8dd0ddc1fb6b1d23933baf9ae894ff380f04dce34a12af4e0de4c
|
||||
|
@ -13,7 +13,7 @@ inherit chromium-2 desktop pax-utils unpacker xdg optfeature
|
||||
|
||||
DESCRIPTION="Cursor App - AI-first coding environment"
|
||||
HOMEPAGE="https://www.cursor.com/"
|
||||
SRC_URI="https://download.todesktop.com/230313mzl4w4u92/${P}-build-250123mhituoa6o-amd64.deb"
|
||||
SRC_URI="https://download.todesktop.com/230313mzl4w4u92/${P}-build-250103fqxdt5u9z-amd64.deb"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="cursor"
|
101
app-editors/cursor/cursor-0.45.5.ebuild
Normal file
101
app-editors/cursor/cursor-0.45.5.ebuild
Normal file
@ -0,0 +1,101 @@
|
||||
# Copyright 1999-2025 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 en-US es-419 es et fa fil fi 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
|
||||
|
||||
DESCRIPTION="Cursor App - AI-first coding environment"
|
||||
HOMEPAGE="https://www.cursor.com/"
|
||||
SRC_URI="https://download.todesktop.com/230313mzl4w4u92/${P}-build-250128loaeyulq8-amd64.deb"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="cursor"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="egl kerberos wayland"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
>=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-libs/zlib
|
||||
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="opt/Cursor"
|
||||
|
||||
src_configure() {
|
||||
default
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
pushd "${CURSOR_HOME}/locales" > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
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/cursor /opt/bin/cursor
|
||||
|
||||
local EXEC_EXTRA_FLAGS=()
|
||||
if use wayland; then
|
||||
EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" )
|
||||
fi
|
||||
if use egl; then
|
||||
EXEC_EXTRA_FLAGS+=( "--use-gl=egl" )
|
||||
fi
|
||||
|
||||
sed -i -e "s|^Exec=.*|Exec=cursor ${EXEC_EXTRA_FLAGS[*]} %U|" \
|
||||
usr/share/applications/cursor.desktop || die
|
||||
domenu usr/share/applications/cursor.desktop
|
||||
|
||||
insinto /usr/share
|
||||
doins -r usr/share/icons
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "desktop notifications" x11-libs/libnotify
|
||||
optfeature "keyring support inside cursor" "virtual/secret-service"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user