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.2-aarch64.tar.gz 1155357400 BLAKE2B c0105a2e4af4cbc5729cd7cddeaaaf8ea9ac67467c40d531347588c4058d8566583a90a06c43bedbeb4765a8d8b365923aebea95befbda5f028afb0f2d8c1a4d SHA512 d88c17bb6fe2b9c8a913af42a6b688fed5448aff8982600bd2476543d3ad5f89242b449c857d5921cb2f0388d9f1f838ec242c2d53f389de135616375e491deb
DIST webstorm-2026.2-amd64.tar.gz 1132090952 BLAKE2B da5c23dc891a2e5b6669e2b4b24efb4d1ba747078baa98d29bc652459d9b7be4125914f2d7758db34e94a2bae85a6767d8dc845a424837ca1ccb3a07eb39b119 SHA512 c97cc36dbfc426754ca141f15f96cfbd1f4ef7bb7b99927555d16329702bee1fc55ae35af7b2a527569c740ebe8749d44c836c35b52dcf5001f7fcd28041b41d
75 changes: 75 additions & 0 deletions dev-util/webstorm/webstorm-2026.2.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.2.tar.gz -> webstorm-2026.2-amd64.tar.gz )
arm64? ( https://download.jetbrains.com/webstorm/WebStorm-2026.2-aarch64.tar.gz -> webstorm-2026.2-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.2"
post_src_unpack() {
if [ ! -d "$S" ]; then
einfo "Renaming source directory to predictable name..."
mv $(ls "${WORKDIR}") "webstorm-2026.2" || 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