summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-03-27 22:30:50 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-03-27 23:44:42 -0700
commited3ae2a477cf543dd1b32f2a73670cfa800b939f (patch)
treeed3edd19785c794a017f6b096e982143c04d2540 /app-editors
parentmedia-fonts/ibm-plex: Version bump (v1.3.1) (diff)
downloadgentoo-ed3ae2a477cf543dd1b32f2a73670cfa800b939f.tar.gz
gentoo-ed3ae2a477cf543dd1b32f2a73670cfa800b939f.tar.bz2
gentoo-ed3ae2a477cf543dd1b32f2a73670cfa800b939f.zip
app-editors/sublime-text: fix dep on gtk+
bump eapi to 7 migrate to xdg-utils install 16x16 icons Closes: https://bugs.gentoo.org/680332 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild (renamed from app-editors/sublime-text/sublime-text-3_p3200.ebuild)14
1 files changed, 7 insertions, 7 deletions
diff --git a/app-editors/sublime-text/sublime-text-3_p3200.ebuild b/app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild
index 5fd7944da800..d059f42e93d5 100644
--- a/app-editors/sublime-text/sublime-text-3_p3200.ebuild
+++ b/app-editors/sublime-text/sublime-text-3_p3200-r1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit desktop gnome2-utils
+inherit desktop xdg-utils
# get the major version from PV
MV=${PV:0:1}
@@ -23,7 +23,7 @@ RESTRICT="bindist mirror strip"
RDEPEND="
dev-libs/glib:2
- x11-libs/gtk+:2
+ x11-libs/gtk+:3
x11-libs/libX11
dbus? ( sys-apps/dbus )"
@@ -43,7 +43,7 @@ src_install() {
dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl
local size
- for size in 32 48 128 256; do
+ for size in 16 32 48 128 256; do
dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \
/usr/share/icons/hicolor/${size}x${size}/apps/subl.png
done
@@ -52,13 +52,13 @@ src_install() {
"TextEditor;IDE;Development" "StartupNotify=true"
# needed to get WM_CLASS lookup right
- mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die
+ mv "${ED}"/usr/share/applications/subl{-sublime-text,}.desktop || die
}
pkg_postrm() {
- gnome2_icon_cache_update
+ xdg_icon_cache_update
}
pkg_postinst() {
- gnome2_icon_cache_update
+ xdg_icon_cache_update
}