Skip to content

Commit

Permalink
net-im/element-desktop: 27
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public committed Oct 14, 2023
1 parent 9dd815b commit 9f26ce2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions net-im/element-desktop/element-desktop-1.11.46.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ SRC_URI="!build-online? (
REPO="https://github.com/vector-im/element-desktop"
ELECTRON_SLOT_DEFAULT="26"
#ELEMENT_COMMIT_ID="ae245c9b1f06e79cec4829f8cd1555206b0ec8f2"
IUSE="electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-25 native-modules"
IUSE="electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-25 electron-27 native-modules"

if [[ ${PV} = *9999* ]]; then
inherit git-r3
Expand Down Expand Up @@ -1071,15 +1071,17 @@ COMMON_DEPEND="
electron-23? ( dev-util/electron:23 )
electron-24? ( dev-util/electron:24 )
electron-25? ( dev-util/electron:25 )
electron-27? ( dev-util/electron:27 )
!electron-19? (
!electron-20? (
!electron-21? (
!electron-22? (
!electron-23? (
!electron-24? (
!electron-25? (
!electron-27? (
dev-util/electron:${ELECTRON_SLOT_DEFAULT}
) ) ) ) ) ) )
) ) ) ) ) ) ) )
"

RDEPEND="${COMMON_DEPEND}
Expand Down Expand Up @@ -1111,6 +1113,8 @@ src_unpack() {
export ELECTRON_SLOT=24
elif use electron-25; then
export ELECTRON_SLOT=25
elif use electron-27; then
export ELECTRON_SLOT=27
else
export ELECTRON_SLOT=$ELECTRON_SLOT_DEFAULT
fi
Expand Down

0 comments on commit 9f26ce2

Please sign in to comment.