commit:     27f4f283e9a2b4997e568c7fd5410ed079a98e93
Author:     Stefan Cristian B. <stefan.cristian+git <AT> rogentos <DOT> ro>
AuthorDate: Sun Feb 22 18:45:40 2026 +0000
Commit:     Stefan Cristian B. <stefan.cristian+git <AT> rogentos <DOT> ro>
CommitDate: Sun Feb 22 18:45:40 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=27f4f283

dev-util/webstorm: bump 2025.3.3.3

Signed-off-by: Stefan Cristian B. <stefan.cristian+git <AT> rogentos.ro>

 dev-util/webstorm/Manifest                 |   2 +
 dev-util/webstorm/webstorm-2025.3.3.ebuild | 127 +++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)

diff --git a/dev-util/webstorm/Manifest b/dev-util/webstorm/Manifest
index eb0385a915..5cab307f5d 100644
--- a/dev-util/webstorm/Manifest
+++ b/dev-util/webstorm/Manifest
@@ -7,3 +7,5 @@ DIST WebStorm-2025.3.1.1-aarch64.tar.gz 1072565024 BLAKE2B 
3e692d57734c04c97ce97
 DIST WebStorm-2025.3.1.1.tar.gz 1077248119 BLAKE2B 
6013d616a99a60eca09b420406f7ecb7445979a841b58f7b0cc19ae9334fd29b9758366f8b1d62bbc144339bc53fbd3054e9388ed2731e263ae9b2b42b964f45
 SHA512 
2c86d60c3e124e78164b1ae47e849c317b91d38fb77d72d4c97588b13688dddae55b56d802d69e3d5756dfa653d8a066304ee4077ac6b378c15d17687f46a4e9
 DIST WebStorm-2025.3.2-aarch64.tar.gz 1071301629 BLAKE2B 
b2cacbbe5bdeba848d8536308ec9d588590d5f6acfae103a4dbd2ccc68d152f9cf456c17d92a9b2946b916c716a60fc1f14265be4c8f1523440ab702598beffa
 SHA512 
4d3e8bc3a62b9352c6f6b54ee66decd83f95ab346dd8f85a8189299348e93d8b5e2222927a29385b6cafc3b4cc7e46c8a21e07ccf6eab5f05db075ea8e95a009
 DIST WebStorm-2025.3.2.tar.gz 1075939833 BLAKE2B 
9a1ab380aecbc074c40d9e2e7c542e65368b8070663142301ecaad48fa7c56a7e88461e86b90a01770835794d8853e945699a11f540d3f4336cb10e15fca3948
 SHA512 
89cb6a306471baeaa50f83178e399523ad7c9a94909b0ad85da6578b438b1f6ca08e158253debc12c1ebdb71f41bf5ab02ec23f88458296ca239a002d19d618a
+DIST WebStorm-2025.3.3-aarch64.tar.gz 1072937620 BLAKE2B 
de86af2cda759dd333d3ac4111f25c5cdcc1206111bc953bbbe28154d63fe61dad1aa80ab3e0456015c121904d003bfcc2fc95a4c3fb79be3b62a3fb9110a118
 SHA512 
27a85a69a104a3c535cb34557b70f473114490065e94e07bff61227c6acff7ac67e5147a0c4140ca7e0d955036708ef0073a9169efb5d37740f935755378e8d2
+DIST WebStorm-2025.3.3.tar.gz 1077575977 BLAKE2B 
fbfe1e5e431762bc2baef49bdc0d39b022504fcfdcf5eb0da2eee9510b9b28dd3fc954d3e332ce4b1693fb850a1e3b777839b737102a617f181bc911e69c1c9d
 SHA512 
8a61a69f256836aa7d59cc7f5415ec05f483d41c66eb89cb449b245b1cb9244df0d8cdfdfbd119b9c53a3bd8d22dc5181b795d9adbea8ae81933839ef855708c

diff --git a/dev-util/webstorm/webstorm-2025.3.3.ebuild 
b/dev-util/webstorm/webstorm-2025.3.3.ebuild
new file mode 100644
index 0000000000..0555358d8e
--- /dev/null
+++ b/dev-util/webstorm/webstorm-2025.3.3.ebuild
@@ -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"
+}

Reply via email to