-
-
Save gyakovlev/c8c523b793aff3bdb420c5af8950f21f to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- sublime-text-3_p3176.ebuild 2018-06-16 17:34:31.846282310 -0700 | |
+++ sublime-text-3_p3200.ebuild 2019-03-15 21:13:00.895222969 -0700 | |
@@ -1,9 +1,9 @@ | |
-# Copyright 1999-2018 Gentoo Foundation | |
+# 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 @@ | |
RDEPEND=" | |
dev-libs/glib:2 | |
- x11-libs/gtk+:2 | |
+ x11-libs/gtk+:3 | |
x11-libs/libX11 | |
dbus? ( sys-apps/dbus )" | |
@@ -52,13 +52,13 @@ | |
"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 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment