1 |
commit: 2d4945307e18658bfbf37fd93fcd4082328265fe |
2 |
Author: Marco Scardovi <marco <AT> scardovi <DOT> com> |
3 |
AuthorDate: Fri Apr 16 18:07:42 2021 +0000 |
4 |
Commit: Marco Scardovi <marco <AT> scardovi <DOT> com> |
5 |
CommitDate: Fri Apr 16 18:08:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d494530 |
7 |
|
8 |
app-editors/atom-bin: makes everything mandatory |
9 |
|
10 |
Closes: https://bugs.gentoo.org/783186 |
11 |
Closes: https://bugs.gentoo.org/783183 |
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
13 |
Signed-off-by: Marco Scardovi <marco <AT> scardovi.com> |
14 |
|
15 |
...-1.56.0-r2.ebuild => atom-bin-1.56.0-r3.ebuild} | 57 ++++++++++------------ |
16 |
1 file changed, 25 insertions(+), 32 deletions(-) |
17 |
|
18 |
diff --git a/app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild b/app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild |
19 |
similarity index 69% |
20 |
rename from app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild |
21 |
rename to app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild |
22 |
index 37324372b..821471077 100644 |
23 |
--- a/app-editors/atom-bin/atom-bin-1.56.0-r2.ebuild |
24 |
+++ b/app-editors/atom-bin/atom-bin-1.56.0-r3.ebuild |
25 |
@@ -12,9 +12,7 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz |
26 |
LICENSE="MIT" |
27 |
SLOT="0" |
28 |
KEYWORDS="~amd64" |
29 |
- |
30 |
-IUSE="alsa cups ssl test X" |
31 |
-RESTRICT="!test? ( test )" |
32 |
+RESTRICT="test" |
33 |
|
34 |
S="${WORKDIR}/atom-${PV}-amd64" |
35 |
|
36 |
@@ -24,33 +22,29 @@ RDEPEND=" |
37 |
app-crypt/libsecret |
38 |
dev-libs/atk |
39 |
dev-libs/nss |
40 |
+ dev-libs/openssl |
41 |
+ dev-libs/openssl-compat |
42 |
dev-vcs/git |
43 |
- alsa? ( media-libs/alsa-lib ) |
44 |
- cups? ( net-print/cups ) |
45 |
- ssl? ( |
46 |
- dev-libs/openssl |
47 |
- dev-libs/openssl-compat |
48 |
- ) |
49 |
- X? ( |
50 |
- x11-libs/cairo |
51 |
- x11-libs/gdk-pixbuf |
52 |
- x11-libs/gtk+ |
53 |
- x11-libs/libnotify |
54 |
- x11-libs/libX11 |
55 |
- x11-libs/libxcb |
56 |
- x11-libs/libXcomposite |
57 |
- x11-libs/libXcursor |
58 |
- x11-libs/libXdamage |
59 |
- x11-libs/libXext |
60 |
- x11-libs/libXfixes |
61 |
- x11-libs/libXi |
62 |
- x11-libs/libxkbfile |
63 |
- x11-libs/libXrandr |
64 |
- x11-libs/libXrender |
65 |
- x11-libs/libXScrnSaver |
66 |
- x11-libs/libXtst |
67 |
- x11-libs/pango |
68 |
- ) |
69 |
+ media-libs/alsa-lib |
70 |
+ net-print/cups |
71 |
+ x11-libs/cairo |
72 |
+ x11-libs/gdk-pixbuf |
73 |
+ x11-libs/gtk+ |
74 |
+ x11-libs/libnotify |
75 |
+ x11-libs/libX11 |
76 |
+ x11-libs/libxcb |
77 |
+ x11-libs/libXcomposite |
78 |
+ x11-libs/libXcursor |
79 |
+ x11-libs/libXdamage |
80 |
+ x11-libs/libXext |
81 |
+ x11-libs/libXfixes |
82 |
+ x11-libs/libXi |
83 |
+ x11-libs/libxkbfile |
84 |
+ x11-libs/libXrandr |
85 |
+ x11-libs/libXrender |
86 |
+ x11-libs/libXScrnSaver |
87 |
+ x11-libs/libXtst |
88 |
+ x11-libs/pango |
89 |
" |
90 |
|
91 |
QA_PREBUILT="/opt/${PN}/*" |
92 |
@@ -70,9 +64,7 @@ src_install(){ |
93 |
|
94 |
# I will use only npm provided with package itself |
95 |
# as nodejs is not required to make it working (and it is really big). |
96 |
- fperms +x /opt/"${PN}"/resources/app/apm/bin/apm |
97 |
- fperms +x /opt/"${PN}"/resources/app/apm/bin/node |
98 |
- fperms +x /opt/"${PN}"/resources/app/apm/bin/npm |
99 |
+ fperms +x /opt/"${PN}"/resources/app/apm/bin/* |
100 |
|
101 |
doicon atom.png |
102 |
make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \ |
103 |
@@ -85,6 +77,7 @@ src_install(){ |
104 |
} |
105 |
|
106 |
pkg_postinst(){ |
107 |
+ xdg_desktop_database_update |
108 |
optfeature_header "If you want to use atom-beautify please install following packages:" |
109 |
optfeature "python code beautifier" dev-python/autopep8 |
110 |
optfeature "python code beautifier" dev-python/black |