Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dev-util/webstorm/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ DIST webstorm-2026.1.1-aarch64.tar.gz 1090614791 BLAKE2B da5e90da811f5fb3aa1e674
DIST webstorm-2026.1.1-amd64.tar.gz 1095554498 BLAKE2B d5736abe1657e9542ff8f37c748963aa57a3ec66eb961bad498a6058401dc4bcc75a150e07068e5dee3fae7cc1c41393a8c11bb85cf948848c9de0d0ba7c8819 SHA512 6c48fff3f9470a7c6f09be98fceb11dc3abc8735ef4d5f561f4f3963424c17ff742f853f4bd26b41c24ee0582759cae293d03b632363193d6440883eda63815d
DIST webstorm-2026.1.2-aarch64.tar.gz 1090921676 BLAKE2B 4532ab8cbcd8a6d83b8f9596d4d0f057ea85e3d150e043d078961561fbeb1ebdd3817954418e7e6946574a0f144d860eb60ff17ffeed190fd5e450d2540e36e5 SHA512 6cd043f884a8420daf0f8ccd084ea283218b3ed4ca6c665a05d872a0ce63676ac716dd14a91a68685362e4dcaf660e7bbb90e5fe89c2895a4c796d016181f3cb
DIST webstorm-2026.1.2-amd64.tar.gz 1095860787 BLAKE2B de798da63cd0d5d232f060bf9e1d60d744d7d89a54080acb1fc2b9f39a365ee5dacca9babe213dc66deada14a41d493d462438e6afceb01285d1ba47c4ff523e SHA512 f3529e9105b17ae10d482428c2e111ecae6e8838c5f9343b3337807335186750a6f22fc4e1aca711d036a149da1c72954e7ba8b2badcf57f2a3452cc8c7faeae
DIST webstorm-2026.1.3-aarch64.tar.gz 1096025452 BLAKE2B 61c9a143b860a08f06e41881f426ef2faad77dc824a79c75ef006f92032d38d5b1f191702f4855ab70ed098375c4444c3a387f7a1e7369f8cf718a68f42c6393 SHA512 631a4e2b688fc3a0512fa30c3db174242f7f69c6beaf250a140904f5440276d975700b7b23d815ad7b5e6f6949c43331a583c6a1b114bd9ad042575b6c4ec95c
DIST webstorm-2026.1.3-amd64.tar.gz 1101337553 BLAKE2B 08fe79235edf2a847ce81da337819c92fbef079d9a4f0ce38f75d8262eca0af1542a9c54b85a927ab7e254b11236a78928773287d45e6cafb88dc3052b7a839e SHA512 6c99165beaf7fa713c9d0c886771494c5ba4d00d0a9c735d70a0ca73575577e841eb63a0dc3ec58793454524aed248612595fbe681f51e576d745aea10bf95d7
75 changes: 75 additions & 0 deletions dev-util/webstorm/webstorm-2026.1.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
QA_PREBUILT="opt/${PN}/bin/fsnotifier
opt/${PN}/bin/fsnotifier64
opt/${PN}/bin/fsnotifier-arm
opt/${PN}/bin/libyjpagent-linux.so
opt/${PN}/bin/libyjpagent-linux64.so"

inherit desktop eutils xdg

DESCRIPTION=""
HOMEPAGE="http://www.jetbrains.com/webstorm"
SRC_URI="
amd64? ( https://download.jetbrains.com/webstorm/WebStorm-2026.1.3.tar.gz -> webstorm-2026.1.3-amd64.tar.gz )
arm64? ( https://download.jetbrains.com/webstorm/WebStorm-2026.1.3-aarch64.tar.gz -> webstorm-2026.1.3-aarch64.tar.gz )"
LICENSE="JetBrains"
SLOT="0"
KEYWORDS="*"
IUSE="+system-java +sysctl"
RDEPEND="system-java? ( virtual/jre )
dev-libs/libdbusmenu
dev-python/pip

"
S="${WORKDIR}/webstorm-2026.1.3"
post_src_unpack() {
if [ ! -d "$S" ]; then
einfo "Renaming source directory to predictable name..."
mv $(ls "${WORKDIR}") "webstorm-2026.1.3" || die
fi
}
src_install() {
patchelf --set-rpath '$ORIGIN' jbr/lib/jcef_helper jbr/lib/libjcef.so
local dir="/opt/webstorm"
local dst="${D}${dir}"
insinto "${dir}"
mv "${S}"/* "${dst}"
local bundled_script_name="${PN%-*}.sh" # bundled script is always lowercase, and doesn't have -ultimate, -professional suffix.
make_wrapper "webstorm" "${dir}/bin/$bundled_script_name" || die
local svgfile="$(find ${dst}/bin -maxdepth 1 -iname '*.svg')"
newicon $svgfile "webstorm.svg" || die
local pngfile="$(find ${dst}/bin -maxdepth 1 -iname '*.png')"
newicon $pngfile "webstorm.png" || die
make_desktop_entry webstorm "WebStorm" webstorm "Development;IDE;" || die
if use system-java; then
rm -rf "$dst{jbr,jre{64}}" || die "Failed to remove bundled Java"
fi
if use sysctl; then
dodir /etc/sysctl.d
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-webstorm-idea-inotify-watches.conf" || die
fi
}
pkg_postinst() {
xdg_pkg_postinst
if use sysctl; then
( /etc/init.d/sysctl restart >/dev/null 2>&1 )
einfo "An /etc/sysctl.d file was installed to optimally configure the IDE, with this"
einfo "setting:"
else
einfo "JetBrains recommends adding the following to /etc/sysctl.conf:"
fi
einfo
einfo "fs.inotify.max_user_watches = 524288"
einfo
einfo "See https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit for"
einfo "more information."
if use sysctl; then
einfo "If this change is undesired, set -sysctl in /etc/portage/package.use."
fi
}


# vim: filetype=ebuild