Install this version:
emerge -a =dev-util/rustrover-2026.1.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-util/rustrover-2026.1.1
Or alternatively:
emerge --autounmask-write -a =dev-util/rustrover-2026.1.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2026.1.1 | 8 | ~amd64 | 0 |
# Copyright 2026 Blake LaFleur <blake.k.lafleur@gmail.com>
# Distributed under the terms of the GNU General Public License as published by the Free Software Foundation;
# either version 2 of the License, or (at your option) any later version.
EAPI=8
inherit desktop wrapper
DESCRIPTION="A cross-platform IDE for Rust developers"
HOMEPAGE="https://www.jetbrains.com/datagrip/"
LICENSE="|| ( JetBrains-business JetBrains-educational JetBrains-classroom JetBrains-individual )"
LICENSE+=" 0BSD Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CC-BY-3.0 CC-BY-4.0 CDDL-1.1 CPL-1.0 EPL-1.0 GPL-2"
LICENSE+=" GPL-2-with-classpath-exception ISC JSON LGPL-2.1 LGPL-3 LGPL-3+ libpng MIT MPL-1.1 MPL-2.0"
LICENSE+=" OFL-1.1 public-domain unicode Unlicense W3C ZLIB ZPL"
SLOT="0"
VER="$(ver_cut 1-2)"
KEYWORDS="~amd64"
RESTRICT="bindist mirror splitdebug"
IUSE="wayland"
QA_PREBUILT="opt/${P}/*"
RDEPEND="
dev-libs/libdbusmenu
dev-libs/glib
llvm-core/lldb
media-libs/mesa[X(+)]
sys-process/audit
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXrandr
"
SIMPLE_NAME="RustRover"
MY_PN="${PN}"
SRC_URI_PATH="${PN}"
SRC_URI_PN="${PN}"
SRC_URI="https://download-cdn.jetbrains.com/${SRC_URI_PATH}/RustRover-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/RustRover-${PV}"
src_prepare() {
default
declare -a remove_arches=(\
arm64 \
aarch64 \
macos \
windows- \
win- \
)
# Remove all unsupported ARCH
for arch in "${remove_arches[@]}"
do
echo "Removing files for $arch"
find . -name "*$arch*" -exec rm -rf {} \; || true
done
if use wayland; then
echo "-Dawt.toolkit.name=WLToolkit" >> bin/rustrover64.vmoptions
elog "Experimental wayland support has been enabled via USE flags"
elog "You may need to update your JBR runtime to the latest version"
elog "https://github.com/JetBrains/JetBrainsRuntime/releases"
fi
}
src_install() {
local dir="/opt/${P}"
insinto "${dir}"
doins -r *
fperms 755 "${dir}"/bin/{"${MY_PN}",remote-dev-server,jetbrains_client,ltedit,inspect,format}.sh
fperms 755 "${dir}"/bin/lldb/linux/x64/lib/xml2Conf.sh
fperms 755 "${dir}"/bin/{fsnotifier,restarter}
fperms 755 "${dir}"/bin/lldb/linux/x64/bin/{LLDBFrontend,lldb-argdumper,lldb-server,lldb}
fperms 755 "${dir}"/plugins/remote-dev-server/selfcontained/bin/{xkbcomp,Xvfb}
fperms 755 "${dir}"/plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-amd64
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,cef_server}
make_wrapper "${PN}" "${dir}"/bin/"${MY_PN}".sh
newicon bin/"${PN}".svg "${PN}".svg
make_desktop_entry "${PN}" "${SIMPLE_NAME} ${VER}" "${PN}" "Development;IDE;"
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
dodir /usr/lib/sysctl.d/
echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-${PN}-inotify-watches.conf" || die
}
Manage flags for this package:
euse -i <flag> -p dev-util/rustrover |
euse -E <flag> -p dev-util/rustrover |
euse -D <flag> -p dev-util/rustrover
dev-libs/libdbusmenu dev-libs/glib llvm-core/lldb media-libs/mesa[X(+)] sys-process/audit x11-libs/libX11 x11-libs/libXcomposite x11-libs/libXcursor x11-libs/libXdamage x11-libs/libXext x11-libs/libXfixes x11-libs/libXi x11-libs/libXrandr
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | rustrover-2026.1.1.tar.gz | 1198023832 bytes | https://download-cdn.jetbrains.com/rustrover/RustRover-2026.1.1.tar.gz |