public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikhail Pukhlikov" <cynede@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/dotnet:master commit in: app-editors/visual-studio-code/
Date: Wed,  7 Mar 2018 06:22:43 +0000 (UTC)	[thread overview]
Message-ID: <1520354827.f1d65aceb36f6ee6a4cf868dd5f9aa939b1eccef.cynede@gentoo> (raw)

commit:     f1d65aceb36f6ee6a4cf868dd5f9aa939b1eccef
Author:     kuzetsa <kuzetsa <AT> gmail <DOT> com>
AuthorDate: Tue Mar  6 14:35:34 2018 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 16:47:07 2018 +0000
URL:        https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=f1d65ace

app-editors/visual-studio-code: add ~x86 keyword

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../visual-studio-code/visual-studio-code-1.20.1.ebuild    | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/app-editors/visual-studio-code/visual-studio-code-1.20.1.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.20.1.ebuild
index d2c8a9c..d2c4065 100644
--- a/app-editors/visual-studio-code/visual-studio-code-1.20.1.ebuild
+++ b/app-editors/visual-studio-code/visual-studio-code-1.20.1.ebuild
@@ -8,12 +8,13 @@ inherit eutils
 DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
 HOMEPAGE="https://code.visualstudio.com"
 BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
-SRC_URI="${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz"
+SRC_URI="amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
+	x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )"
 RESTRICT="mirror strip bindist"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~x86 ~amd64"
 IUSE=""
 
 DEPEND=">=gnome-base/gconf-3.2.6-r4:2
@@ -32,7 +33,14 @@ QA_PRESTRIPPED="opt/${PN}/code"
 QA_PREBUILT="opt/${PN}/code"
 
 pkg_setup() {
-	S="${WORKDIR}/VSCode-linux-x64"
+	if use amd64; then
+		S="${WORKDIR}/VSCode-linux-x64"
+	elif use x86; then
+		S="${WORKDIR}/VSCode-linux-ia32"
+	else
+		# shouldn't be possible with -* special keyword
+		die
+	fi
 }
 
 src_install() {


             reply	other threads:[~2018-03-07  6:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-07  6:22 Mikhail Pukhlikov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-07  6:22 [gentoo-commits] proj/dotnet:master commit in: app-editors/visual-studio-code/ Mikhail Pukhlikov
2018-03-07  6:22 Mikhail Pukhlikov
2018-04-19 15:41 Mikhail Pukhlikov
2018-07-06  6:24 Mikhail Pukhlikov
2018-07-06  8:43 Mikhail Pukhlikov
2018-08-06 12:58 Mikhail Pukhlikov
2018-08-29  8:03 Mikhail Pukhlikov
2018-10-10 11:24 Mikhail Pukhlikov
2018-10-10 11:24 Mikhail Pukhlikov
2018-10-10 11:24 Mikhail Pukhlikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1520354827.f1d65aceb36f6ee6a4cf868dd5f9aa939b1eccef.cynede@gentoo \
    --to=cynede@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox