commit:     870357c6363d13579639ec7d2c3ade8dd93eae1d
Author:     wqvi <137255931+wqvi <AT> users <DOT> noreply <DOT> github <DOT> 
com>
AuthorDate: Sun Dec  1 14:31:02 2024 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Mon Dec  2 17:39:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870357c6

dev-util/idea-community: Shortened line length

Signed-off-by: wqvi <137255931+wqvi <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/39373
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 dev-util/idea-community/idea-community-2024.3-r1.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/dev-util/idea-community/idea-community-2024.3-r1.ebuild 
b/dev-util/idea-community/idea-community-2024.3-r1.ebuild
index 58b39ee380b2..c03b88647d02 100644
--- a/dev-util/idea-community/idea-community-2024.3-r1.ebuild
+++ b/dev-util/idea-community/idea-community-2024.3-r1.ebuild
@@ -160,12 +160,15 @@ src_install() {
        local pngfile="$(find ${dst}/bin -maxdepth 1 -iname '*.png')"
        newicon $pngfile "${PN}.png" || die "we died"
 
-       if use wayland; then
-               make_desktop_entry "/opt/idea-community/bin/idea 
-Dawt.toolkit.name=WLToolkit" "IntelliJ Idea Community Edition" "${PN}" 
"Development;IDE;"
-               ewarn "You have enabled the wayland USE flag."
-               ewarn "This is a support preview. Expect instability."
+       if use experimental; then
+               make_desktop_entry "/opt/idea-community/bin/idea 
-Dawt.toolkit.name=WLToolkit"
+                       "IntelliJ Idea Community Edition" "${PN}" 
"Development;IDE;"
+
+               ewarn "You have enabled the experimental USE flag."
+               ewarn "This is a Wayland support preview. Expect instability."
        else
-               make_desktop_entry "/opt/idea-community/bin/idea" "IntelliJ 
Idea Community Edition" "${PN}" "Development;IDE;"
+               make_desktop_entry "/opt/idea-community/bin/idea"
+                       "IntelliJ Idea Community Edition" "${PN}" 
"Development;IDE;"
        fi
 
        # recommended by: 
https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit

Reply via email to