From 7c258fc117ad574961bfbc259f1b69c6121058cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sun, 27 Dec 2020 17:07:02 +0100 Subject: [PATCH] www-apps/code-server-bin: add gnome-keyring USE flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć --- www-apps/code-server-bin/code-server-bin-3.4.1.ebuild | 8 ++++++++ www-apps/code-server-bin/code-server-bin-3.6.1.ebuild | 8 ++++++++ www-apps/code-server-bin/code-server-bin-3.8.0.ebuild | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild index 81ec629c32..97405ffe16 100644 --- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild +++ b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild @@ -20,6 +20,7 @@ RESTRICT="test" LICENSE="MIT" SLOT="0" KEYWORDS="-* ~amd64 ~arm64" +IUSE="gnome-keyring" # In case we ever make a non-"-binary" pkg DEPEND=" @@ -29,6 +30,9 @@ RDEPEND=" ${DEPEND} >=net-libs/nodejs-12.16.1:0/12[ssl] sys-apps/ripgrep + gnome-keyring? ( + app-crypt/libsecret + ) " S="${WORKDIR}/${MY_P}-linux-${ARCH}" @@ -58,6 +62,10 @@ src_prepare() { rm postinstall.sh || die # already in /usr/portage/licenses/MIT rm LICENSE.txt || die + + if ! use gnome-keyring; then + rm -r ./lib/vscode/node_modules/keytar || die + fi } src_install() { diff --git a/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild b/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild index 81ec629c32..97405ffe16 100644 --- a/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild +++ b/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild @@ -20,6 +20,7 @@ RESTRICT="test" LICENSE="MIT" SLOT="0" KEYWORDS="-* ~amd64 ~arm64" +IUSE="gnome-keyring" # In case we ever make a non-"-binary" pkg DEPEND=" @@ -29,6 +30,9 @@ RDEPEND=" ${DEPEND} >=net-libs/nodejs-12.16.1:0/12[ssl] sys-apps/ripgrep + gnome-keyring? ( + app-crypt/libsecret + ) " S="${WORKDIR}/${MY_P}-linux-${ARCH}" @@ -58,6 +62,10 @@ src_prepare() { rm postinstall.sh || die # already in /usr/portage/licenses/MIT rm LICENSE.txt || die + + if ! use gnome-keyring; then + rm -r ./lib/vscode/node_modules/keytar || die + fi } src_install() { diff --git a/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild b/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild index 81ec629c32..97405ffe16 100644 --- a/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild +++ b/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild @@ -20,6 +20,7 @@ RESTRICT="test" LICENSE="MIT" SLOT="0" KEYWORDS="-* ~amd64 ~arm64" +IUSE="gnome-keyring" # In case we ever make a non-"-binary" pkg DEPEND=" @@ -29,6 +30,9 @@ RDEPEND=" ${DEPEND} >=net-libs/nodejs-12.16.1:0/12[ssl] sys-apps/ripgrep + gnome-keyring? ( + app-crypt/libsecret + ) " S="${WORKDIR}/${MY_P}-linux-${ARCH}" @@ -58,6 +62,10 @@ src_prepare() { rm postinstall.sh || die # already in /usr/portage/licenses/MIT rm LICENSE.txt || die + + if ! use gnome-keyring; then + rm -r ./lib/vscode/node_modules/keytar || die + fi } src_install() {