1 |
commit: ed3ae2a477cf543dd1b32f2a73670cfa800b939f |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 28 05:30:50 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 28 06:44:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed3ae2a4 |
7 |
|
8 |
app-editors/sublime-text: fix dep on gtk+ |
9 |
|
10 |
bump eapi to 7 |
11 |
migrate to xdg-utils |
12 |
install 16x16 icons |
13 |
|
14 |
Closes: https://bugs.gentoo.org/680332 |
15 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
16 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
17 |
|
18 |
...-text-3_p3200.ebuild => sublime-text-3_p3200-r1.ebuild} | 14 +++++++------- |
19 |
1 file changed, 7 insertions(+), 7 deletions(-) |
20 |
|
21 |
diff --git a/app-editors/sublime-text/sublime-text-3_p3200.ebuild b/app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild |
22 |
similarity index 87% |
23 |
rename from app-editors/sublime-text/sublime-text-3_p3200.ebuild |
24 |
rename to app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild |
25 |
index 5fd7944da80..d059f42e93d 100644 |
26 |
--- a/app-editors/sublime-text/sublime-text-3_p3200.ebuild |
27 |
+++ b/app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild |
28 |
@@ -1,9 +1,9 @@ |
29 |
# Copyright 1999-2019 Gentoo Authors |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
|
32 |
-EAPI=6 |
33 |
+EAPI=7 |
34 |
|
35 |
-inherit desktop gnome2-utils |
36 |
+inherit desktop xdg-utils |
37 |
|
38 |
# get the major version from PV |
39 |
MV=${PV:0:1} |
40 |
@@ -23,7 +23,7 @@ RESTRICT="bindist mirror strip" |
41 |
|
42 |
RDEPEND=" |
43 |
dev-libs/glib:2 |
44 |
- x11-libs/gtk+:2 |
45 |
+ x11-libs/gtk+:3 |
46 |
x11-libs/libX11 |
47 |
dbus? ( sys-apps/dbus )" |
48 |
|
49 |
@@ -43,7 +43,7 @@ src_install() { |
50 |
dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl |
51 |
|
52 |
local size |
53 |
- for size in 32 48 128 256; do |
54 |
+ for size in 16 32 48 128 256; do |
55 |
dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \ |
56 |
/usr/share/icons/hicolor/${size}x${size}/apps/subl.png |
57 |
done |
58 |
@@ -52,13 +52,13 @@ src_install() { |
59 |
"TextEditor;IDE;Development" "StartupNotify=true" |
60 |
|
61 |
# needed to get WM_CLASS lookup right |
62 |
- mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die |
63 |
+ mv "${ED}"/usr/share/applications/subl{-sublime-text,}.desktop || die |
64 |
} |
65 |
|
66 |
pkg_postrm() { |
67 |
- gnome2_icon_cache_update |
68 |
+ xdg_icon_cache_update |
69 |
} |
70 |
|
71 |
pkg_postinst() { |
72 |
- gnome2_icon_cache_update |
73 |
+ xdg_icon_cache_update |
74 |
} |