dev-util/webstorm: bump 2026.1

Signed-off-by: Stefan Cristian B. <stefan.cristian+git@rogentos.ro>
This commit is contained in:
Stefan Cristian B.
2026-04-22 14:45:21 +03:00
parent 45e4915772
commit 8a2115a7a5
2 changed files with 129 additions and 0 deletions

View File

@@ -9,3 +9,5 @@ DIST WebStorm-2025.3.3-aarch64.tar.gz 1072937620 BLAKE2B de86af2cda759dd333d3ac4
DIST WebStorm-2025.3.3.tar.gz 1077575977 BLAKE2B fbfe1e5e431762bc2baef49bdc0d39b022504fcfdcf5eb0da2eee9510b9b28dd3fc954d3e332ce4b1693fb850a1e3b777839b737102a617f181bc911e69c1c9d SHA512 8a61a69f256836aa7d59cc7f5415ec05f483d41c66eb89cb449b245b1cb9244df0d8cdfdfbd119b9c53a3bd8d22dc5181b795d9adbea8ae81933839ef855708c
DIST WebStorm-2025.3.4-aarch64.tar.gz 1073216609 BLAKE2B 4465701e52f85c48dd0d921f5d3779252cc81ccfca3bfbd7f230987d3586df29be0fb767df42f9f7332b388bc6c2388718c5a5616bc5d02f75ecd39ecff6ce30 SHA512 cf3aa4f6f1eaef35512e2a831d14d78b18f5cfd74b148a8e67df89cdaa496992891453c8e70335d9df0ce2be5cb9ce605b80992c2733b4e48d13a3ae9d0953fc
DIST WebStorm-2025.3.4.tar.gz 1077824124 BLAKE2B 41f242960439535cfb8fe739590cf091866f7b6ed34b3ee068ccc3678aee7a107e0f0fbc218cca003555d1b0c15de0fd265d97b977f9d16ea8bae1b84b4a5fee SHA512 803dfeb1092f0bf1e08d0378b2fb3ff99b02996226548439ffe5ad0c30981f98ab4d23689418a33809b7d95d6d1b2f3cdc40af894c911b2859f4117ef95e9335
DIST WebStorm-2026.1-aarch64.tar.gz 1092587890 BLAKE2B 675eb9b37b7ab1d29663f347d7a02255f4c9c0fff72bef88dcc849f6fd2ff2abafbbe550771669f5ed18fa2f3c4ec44e1867e25a47098fc8620a2734365a291a SHA512 4c0931e50dff346ba9e511c5e28255a3cb0d952fa17ba41fbefe801254e6963ee62d038536832c1df7846f806228f1904c7dcb423cb488a22058b2acf9c10ae2
DIST WebStorm-2026.1.tar.gz 1097460932 BLAKE2B 3c4b8b732f83feb1a8a760a77c9dc01aceaed4b5e531477272162a75db43d932af068389cd100d62f0dd65a651c4a57bffc5712fb26285098a0536219c160a1c SHA512 e1a44fb50620e225715619e50730ef9ff7f2660ff1f597140f59505360449efcc492275564d21150b4215a7429089e41256f3cb51dd3ae66573fe2123a12a904

View File

@@ -0,0 +1,127 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop wrapper toolchain-funcs
DESCRIPTION="An integrated development environment for JavaScript and related technologies."
HOMEPAGE="https://www.jetbrains.com/webstorm/"
SRC_URI="
amd64? ( https://download-cdn.jetbrains.com/${PN}/WebStorm-${PV}.tar.gz )
arm64? ( https://download-cdn.jetbrains.com/${PN}/WebStorm-${PV}-aarch64.tar.gz )
"
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/2025"
KEYWORDS="~amd64 ~arm64"
IUSE="wayland"
RESTRICT="bindist mirror"
QA_PREBUILT="opt/${P}/*"
BDEPEND="dev-util/debugedit
dev-util/patchelf
"
RDEPEND="
dev-libs/wayland
sys-libs/pam
sys-process/audit
virtual/zlib:=
"
src_unpack() {
# WebStorm unarchived directory is in format WebStorm-xxx.yyy.zzz, not ${P}
if use amd64 ; then
cp "${DISTDIR}"/WebStorm-${PV}.tar.gz "${WORKDIR}"/ || die
elif use arm64 ; then
cp "${DISTDIR}"/WebStorm-${PV}-aarch64.tar.gz "${WORKDIR}"/ || die
fi
mkdir -p "${P}" || die
tar --strip-components=1 -xzf "WebStorm-${PV}".tar.gz -C "${P}" || die
}
src_prepare() {
tc-export OBJCOPY
default
if ! use arm64; then
local remove_me=(
lib/async-profiler/aarch64
)
elif ! use amd64; then
local remove_me=(
lib/async-profiler/amd64
)
fi
rm -rv "${remove_me[@]}" || die
# excepting files that should be kept for remote plugins
if ! use arm64 ; then
local skip_remote_files=(
"plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release"
"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-arm64"
)
elif ! use amd64; then
local skip_remote_files=(
"plugins/platform-ijent-impl/ijent-x86_64-unknown-linux-musl-release"
"plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-amd64"
)
fi
# 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 '*$(*)*' -print0 | while IFS= read -r -d '' file; do
for skip in "${skip_remote_files[@]}"; do
[[ ${file} == ./"${skip}" ]] && continue 2
done
if file "${file}" | grep -qE "ELF (32|64)-bit"; then
${OBJCOPY} --remove-section .note.gnu.build-id "${file}" || die
debugedit -b "${EPREFIX}/opt/${PN}" -d "/usr/lib/debug" -i "${file}" || die
fi
done
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/{"${PN}",fsnotifier,format.sh,inspect.sh,jetbrains_client.sh,ltedit.sh,remote-dev-server,remote-dev-server.sh,restarter}
fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver}
fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
make_wrapper "${PN}" "${dir}"/bin/"${PN}"
newicon bin/"${PN}".svg "${PN}".svg
make_desktop_entry "${PN}" "WebStorm ${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"
}