Skip to content

Commit

Permalink
app-editors/vscode: 27
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public committed Oct 14, 2023
1 parent a94a3fd commit 9dd815b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app-editors/vscode/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
<flag name="electron-23">Build against electron-23 instead of the default one. Use at your own risk!</flag>
<flag name="electron-24">Build against electron-24 instead of the default one. Use at your own risk!</flag>
<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-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="openvsx">Use Eclipse Open VSX instead of Visual Studio Marketplace</flag>
<flag name="reh">Build Remote Extension Host</flag>
<flag name="reh-web">Build Remote Extension Host for Web</flag>
Expand Down
8 changes: 6 additions & 2 deletions app-editors/vscode/vscode-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SRC_URI="
REPO="https://github.com/microsoft/vscode"
ELECTRON_SLOT_DEFAULT="25"
#CODE_COMMIT_ID="ae245c9b1f06e79cec4829f8cd1555206b0ec8f2"
IUSE="api-proposals badge-providers electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-26 openvsx reh reh-web substitute-urls +temp-fix"
IUSE="api-proposals badge-providers electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-26 electron-27 openvsx reh reh-web substitute-urls +temp-fix"

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

Expand Down Expand Up @@ -96,6 +98,8 @@ src_unpack() {
export ELECTRON_SLOT=24
elif use electron-26; then
export ELECTRON_SLOT=26
elif use electron-27; then
export ELECTRON_SLOT=27
else
export ELECTRON_SLOT=$ELECTRON_SLOT_DEFAULT
fi
Expand Down

0 comments on commit 9dd815b

Please sign in to comment.