mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-18 23:38:57 -04:00
Merge updates from master
This commit is contained in:
commit
cabc7fd9f9
1
.github/workflows/overlay.toml
vendored
1
.github/workflows/overlay.toml
vendored
@ -106,7 +106,6 @@ github_account = "Linerre"
|
||||
source = "regex"
|
||||
url = "https://www.cursor.com/api/download?platform=linux-x64&releaseTrack=latest"
|
||||
regex = '"version":"([\d.]+)"'
|
||||
github_account = "douglarek"
|
||||
|
||||
["app-editors/marktext-bin"]
|
||||
source = "github"
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST cursor-0.45.14-build-250219jnihavxsz-amd64.deb 103325702 BLAKE2B ae7b41fca428c5a6d3ff880702ca30463db1f2df97b25a0b8d06db70eb6d5d767a6cc8118d320f75a4abbc89bd5a0227febfbc730ae8899712f44811110dca60 SHA512 e2f9e85ec866157fb33878e56a8ca0af63126cbba1ab21885e8a575316c2e23b7238e6a7e30934f8b9f535da0eec89cdf3aeed7164fbb881b32b5c39ebe7c2a9
|
||||
DIST cursor-0.47.8-amd64.AppImage 187294912 BLAKE2B 7c8be1bf6a2902e7b766424cec9b9e0ddc85df7f2c46b020148e09b06597b0f82a151a80604188c17455c963a0bc27d7392223ac8f49ead8a6d296041cc0eefd SHA512 caaa5ed5354ae07e083cdafffad20ef03bd7dce7d22631ec10b2b03f0fd0481cd6485eece76cbc1556417b4d10f2443b299e675c351e230dfea4505d01802db7
|
||||
DIST cursor-0.47.8-arm64.AppImage 184575168 BLAKE2B 54efc5720630ae80f910178b78205d239ce68c943bb0d931cd39bf63581994934ae5632edfd3c51bd014d7130abf31b883d85a79ac4f0d41dabc725d27137e4a SHA512 32bcf5b26ff7c267e18b3e01a8851d86d35e32fbee2348d0afaa2663d48509ebc9c438d4abc45d45b59eece4797b169d1761d19814c6f87e7d02be6ca3daba8c
|
||||
DIST cursor-0.47.9-amd64.AppImage 173799928 BLAKE2B 28f24e68ac5fba990a60921ccff97cbd2873ba696679ab4688372abbbd11f5ae97b42eb9d72da88f828bdf81d0c5a789a4cf13c13e7588315b22bf3ca82dbfad SHA512 225ce407c228abd7d4bca5090469051cc38c8dc75c3a86db237275c3e2e07c7f78c18804c2bf86d21954edbe91ca4934777467298dd7e085e6eace9e6081b41e
|
||||
DIST cursor-0.47.9-arm64.AppImage 170445320 BLAKE2B 5b606ef0473ad4dac72220f9a57ca2eaba697b043dbd65f3341e939a19a2d9bc382d5ecfdda467743eabc5d461e020524d921e3ba3a68d2ab3c8e2954c4acdf4 SHA512 a68a04e90cc6ca9c55b366f34115ddbd1e5478c32528c42fa80bacda57142970f82ca6b5e358d3fc63ead66cd9014b4ec37c3038c283a1acc1cd10cbc61ef98e
|
||||
|
@ -11,12 +11,12 @@ CHROMIUM_LANGS="
|
||||
|
||||
inherit chromium-2 desktop pax-utils unpacker xdg optfeature shell-completion
|
||||
|
||||
BUILD_ID="82ef0f61c01d079d1b7e5ab04d88499d5af500e3"
|
||||
BUILD_ID="b6fb41b5f36bda05cab7109606e7404a65d1ff32"
|
||||
DESCRIPTION="Cursor App - AI-first coding environment"
|
||||
HOMEPAGE="https://www.cursor.com/"
|
||||
SRC_URI="
|
||||
amd64? ( https://downloads.cursor.com/production/client/linux/x64/appimage/Cursor-${PV}-${BUILD_ID}.deb.glibc2.25-x86_64.AppImage -> ${P}-amd64.AppImage )
|
||||
arm64? ( https://downloads.cursor.com/production/client/linux/arm64/appimage/Cursor-${PV}-${BUILD_ID}.deb.glibc2.28-aarch64.AppImage -> ${P}-arm64.AppImage )
|
||||
amd64? ( https://downloads.cursor.com/production/${BUILD_ID}/linux/x64/Cursor-${PV}-x86_64.AppImage -> ${P}-amd64.AppImage )
|
||||
arm64? ( https://downloads.cursor.com/production/${BUILD_ID}/linux/arm64/Cursor-${PV}-aarch64.AppImage -> ${P}-arm64.AppImage )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
2
dev-util/goland/Manifest
Normal file
2
dev-util/goland/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST goland-2024.3.4-aarch64.tar.gz 1108954980 BLAKE2B 7a94ab02d133f9177616a3e13549426f2e8c64da9bedf12d1e6d7a26a6034d6d090bd0d6037c7d3317cb0b2b82bab92b4e9b18d66ac6e5b21b42799c155d935b SHA512 8d940ef20145babb715d9ba9bb69e15c1833b6e3f5b4f17e631b00da13afd876d48bdb02ab86c382ebf385c1f26fe8f3d653bfd174f60de10fb0ee5d0df37a3d
|
||||
DIST goland-2024.3.4.tar.gz 1109282670 BLAKE2B 34cc73f9629dd6faf26215d20ad24a90fa7a313970f188b16a0dcef6e3b45ed0a14dfbe94a2d283ce67f91c0f0f7ebdcb968779555429927c69d11d3431eba9a SHA512 cfbcf36507b16a11426207c60387151f86d9785ca1f884eb934bf2be2c97d478109d48fb71beef1479c0bfc2c71927642ad88bf7ab28b97d85ac1b4fefcf55d3
|
97
dev-util/goland/goland-2024.3.4.ebuild
Normal file
97
dev-util/goland/goland-2024.3.4.ebuild
Normal file
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop wrapper
|
||||
|
||||
DESCRIPTION="Golang IDE by JetBrains"
|
||||
HOMEPAGE="https://www.jetbrains.com/go/"
|
||||
SRC_URI="
|
||||
amd64? ( https://download.jetbrains.com/go/${P}.tar.gz )
|
||||
arm64? ( https://download.jetbrains.com/go/${P}-aarch64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}/GoLand-${PV}"
|
||||
LICENSE="|| ( JetBrains-business JetBrains-classroom JetBrains-educational JetBrains-individual )
|
||||
Apache-2.0
|
||||
BSD
|
||||
CC0-1.0
|
||||
CDDL
|
||||
CDDL-1.1
|
||||
EPL-1.0
|
||||
GPL-2
|
||||
GPL-2-with-classpath-exception
|
||||
ISC
|
||||
LGPL-2.1
|
||||
LGPL-3
|
||||
MIT
|
||||
MPL-1.1
|
||||
OFL-1.1
|
||||
ZLIB
|
||||
"
|
||||
SLOT="0/2024"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="wayland"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
QA_PREBUILT="opt/${P}/*"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/debugedit
|
||||
dev-util/patchelf
|
||||
"
|
||||
RDEPEND="
|
||||
>=virtual/jre-17:*
|
||||
dev-lang/go
|
||||
dev-libs/wayland
|
||||
sys-libs/pam
|
||||
sys-process/audit
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local remove_me=(
|
||||
lib/async-profiler/aarch64
|
||||
plugins/go-plugin/lib/dlv/linuxarm/dlv
|
||||
)
|
||||
|
||||
rm -rv "${remove_me[@]}" || die
|
||||
|
||||
# removing debug symbols and relocating debug files as per #876295
|
||||
# we're escaping all the files that contain $() in their name
|
||||
# as they should not be executed
|
||||
find . -type f ! -name '*$(*)*' -exec sh -c '
|
||||
if file "{}" | grep -qE "ELF (32|64)-bit"; then
|
||||
objcopy --remove-section .note.gnu.build-id "{}"
|
||||
debugedit -b "${EPREFIX}/opt/${PN}" -d "/usr/lib/debug" -i "{}"
|
||||
fi
|
||||
' \;
|
||||
|
||||
patchelf --set-rpath '$ORIGIN' "jbr/lib/libjcef.so" || die
|
||||
patchelf --set-rpath '$ORIGIN' "jbr/lib/jcef_helper" || die
|
||||
|
||||
# As per https://blog.jetbrains.com/platform/2024/07/wayland-support-preview-in-2024-2/ for full wayland support
|
||||
if use wayland; then
|
||||
echo "-Dawt.toolkit.name=WLToolkit" >> bin/webstorm64.vmoptions || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${P}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
fperms 755 "${dir}"/bin/{format.sh,goland.sh,inspect.sh,ltedit.sh,remote-dev-server.sh,restarter,fsnotifier}
|
||||
fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,keytool,rmiregistry,serialver}
|
||||
fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
|
||||
fperms 755 "${dir}"/plugins/go-plugin/lib/dlv/linux/dlv
|
||||
|
||||
make_wrapper "${PN}" "${dir}/bin/${PN}.sh"
|
||||
newicon "bin/${PN}.png" "${PN}.png"
|
||||
make_desktop_entry "${PN}" "Goland ${PV}" "${PN}" "Development;IDE;"
|
||||
|
||||
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
|
||||
insinto /usr/lib/sysctl.d
|
||||
newins - 30-"${PN}"-inotify-watches.conf <<<"fs.inotify.max_user_watches = 524288"
|
||||
}
|
16
dev-util/goland/metadata.xml
Normal file
16
dev-util/goland/metadata.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>zx2c4@gentoo.org</email>
|
||||
<name>Jason A. Donenfeld</name>
|
||||
</maintainer>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>stefan.cristian+git@rogentos.ro</email>
|
||||
<name>Stefan Cristian B.</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user