1 |
commit: 7c258fc117ad574961bfbc259f1b69c6121058cc |
2 |
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sun Dec 27 16:07:02 2020 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
5 |
CommitDate: Sun Dec 27 16:07:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c258fc1 |
7 |
|
8 |
www-apps/code-server-bin: add gnome-keyring USE flag |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> |
12 |
|
13 |
www-apps/code-server-bin/code-server-bin-3.4.1.ebuild | 8 ++++++++ |
14 |
www-apps/code-server-bin/code-server-bin-3.6.1.ebuild | 8 ++++++++ |
15 |
www-apps/code-server-bin/code-server-bin-3.8.0.ebuild | 8 ++++++++ |
16 |
3 files changed, 24 insertions(+) |
17 |
|
18 |
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 |
19 |
index 81ec629c..97405ffe 100644 |
20 |
--- a/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild |
21 |
+++ b/www-apps/code-server-bin/code-server-bin-3.4.1.ebuild |
22 |
@@ -20,6 +20,7 @@ RESTRICT="test" |
23 |
LICENSE="MIT" |
24 |
SLOT="0" |
25 |
KEYWORDS="-* ~amd64 ~arm64" |
26 |
+IUSE="gnome-keyring" |
27 |
|
28 |
# In case we ever make a non-"-binary" pkg |
29 |
DEPEND=" |
30 |
@@ -29,6 +30,9 @@ RDEPEND=" |
31 |
${DEPEND} |
32 |
>=net-libs/nodejs-12.16.1:0/12[ssl] |
33 |
sys-apps/ripgrep |
34 |
+ gnome-keyring? ( |
35 |
+ app-crypt/libsecret |
36 |
+ ) |
37 |
" |
38 |
|
39 |
S="${WORKDIR}/${MY_P}-linux-${ARCH}" |
40 |
@@ -58,6 +62,10 @@ src_prepare() { |
41 |
rm postinstall.sh || die |
42 |
# already in /usr/portage/licenses/MIT |
43 |
rm LICENSE.txt || die |
44 |
+ |
45 |
+ if ! use gnome-keyring; then |
46 |
+ rm -r ./lib/vscode/node_modules/keytar || die |
47 |
+ fi |
48 |
} |
49 |
|
50 |
src_install() { |
51 |
|
52 |
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 |
53 |
index 81ec629c..97405ffe 100644 |
54 |
--- a/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild |
55 |
+++ b/www-apps/code-server-bin/code-server-bin-3.6.1.ebuild |
56 |
@@ -20,6 +20,7 @@ RESTRICT="test" |
57 |
LICENSE="MIT" |
58 |
SLOT="0" |
59 |
KEYWORDS="-* ~amd64 ~arm64" |
60 |
+IUSE="gnome-keyring" |
61 |
|
62 |
# In case we ever make a non-"-binary" pkg |
63 |
DEPEND=" |
64 |
@@ -29,6 +30,9 @@ RDEPEND=" |
65 |
${DEPEND} |
66 |
>=net-libs/nodejs-12.16.1:0/12[ssl] |
67 |
sys-apps/ripgrep |
68 |
+ gnome-keyring? ( |
69 |
+ app-crypt/libsecret |
70 |
+ ) |
71 |
" |
72 |
|
73 |
S="${WORKDIR}/${MY_P}-linux-${ARCH}" |
74 |
@@ -58,6 +62,10 @@ src_prepare() { |
75 |
rm postinstall.sh || die |
76 |
# already in /usr/portage/licenses/MIT |
77 |
rm LICENSE.txt || die |
78 |
+ |
79 |
+ if ! use gnome-keyring; then |
80 |
+ rm -r ./lib/vscode/node_modules/keytar || die |
81 |
+ fi |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
|
86 |
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 |
87 |
index 81ec629c..97405ffe 100644 |
88 |
--- a/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild |
89 |
+++ b/www-apps/code-server-bin/code-server-bin-3.8.0.ebuild |
90 |
@@ -20,6 +20,7 @@ RESTRICT="test" |
91 |
LICENSE="MIT" |
92 |
SLOT="0" |
93 |
KEYWORDS="-* ~amd64 ~arm64" |
94 |
+IUSE="gnome-keyring" |
95 |
|
96 |
# In case we ever make a non-"-binary" pkg |
97 |
DEPEND=" |
98 |
@@ -29,6 +30,9 @@ RDEPEND=" |
99 |
${DEPEND} |
100 |
>=net-libs/nodejs-12.16.1:0/12[ssl] |
101 |
sys-apps/ripgrep |
102 |
+ gnome-keyring? ( |
103 |
+ app-crypt/libsecret |
104 |
+ ) |
105 |
" |
106 |
|
107 |
S="${WORKDIR}/${MY_P}-linux-${ARCH}" |
108 |
@@ -58,6 +62,10 @@ src_prepare() { |
109 |
rm postinstall.sh || die |
110 |
# already in /usr/portage/licenses/MIT |
111 |
rm LICENSE.txt || die |
112 |
+ |
113 |
+ if ! use gnome-keyring; then |
114 |
+ rm -r ./lib/vscode/node_modules/keytar || die |
115 |
+ fi |
116 |
} |
117 |
|
118 |
src_install() { |