Skip to content

Commit

Permalink
28
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public committed Jan 27, 2024
1 parent ecfe1c0 commit 012a087
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions net-im/element-desktop/element-desktop-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SRC_URI=""
REPO="https://github.com/vector-im/element-desktop"
ELECTRON_SLOT_DEFAULT="27"
#ELEMENT_COMMIT_ID="ae245c9b1f06e79cec4829f8cd1555206b0ec8f2"
IUSE="electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-25 electron-26 native-modules"
IUSE="electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-25 electron-26 electron-28 native-modules"

if [[ ${PV} = *9999* ]]; then
inherit git-r3
Expand Down Expand Up @@ -55,6 +55,7 @@ COMMON_DEPEND="
electron-24? ( dev-util/electron:24 )
electron-25? ( dev-util/electron:25 )
electron-26? ( dev-util/electron:26 )
electron-28? ( dev-util/electron:28 )
!electron-19? (
!electron-20? (
!electron-21? (
Expand All @@ -63,8 +64,9 @@ COMMON_DEPEND="
!electron-24? (
!electron-25? (
!electron-26? (
!electron-28? (
dev-util/electron:${ELECTRON_SLOT_DEFAULT}
) ) ) ) ) ) ) )
) ) ) ) ) ) ) ) )
"

RDEPEND="${COMMON_DEPEND}
Expand Down Expand Up @@ -98,6 +100,8 @@ src_unpack() {
export ELECTRON_SLOT=25
elif use electron-26; then
export ELECTRON_SLOT=26
elif use electron-28; then
export ELECTRON_SLOT=28
else
export ELECTRON_SLOT=$ELECTRON_SLOT_DEFAULT
fi
Expand Down
1 change: 1 addition & 0 deletions net-im/element-desktop/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<flag name="electron-25">Build against electron-25 instead of the default one. Use at your own risk!</flag>
<flag name="electron-26">Build against electron-26 instead of the default one. Use at your own risk!</flag>
<flag name="electron-27">Build against electron-27 instead of the default one. Use at your own risk!</flag>
<flag name="electron-28">Build against electron-28 instead of the default one. Use at your own risk!</flag>
<flag name="native-modules">Build native modules (for searching in encrypted rooms and secure storage)</flag>
</use>
</pkgmetadata>

0 comments on commit 012a087

Please sign in to comment.