commit:     fae224253d97d87aa38f3fcc900cfb348121affe
Author:     Paul Healy <lmiphay <AT> gmail <DOT> com>
AuthorDate: Thu Oct  4 18:09:32 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Oct  4 19:11:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae22425

media-sound/pasystray: cleanups following review

dropped pkg_preinst
sorted deps
replaced vcs-snapshot with S=
added space after EAPI

Signed-off-by: Paul Healy <lmiphay <AT> gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-sound/pasystray/pasystray-0.7.0.ebuild | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/media-sound/pasystray/pasystray-0.7.0.ebuild 
b/media-sound/pasystray/pasystray-0.7.0.ebuild
index 6da7af40f6a..2a40a2718dc 100644
--- a/media-sound/pasystray/pasystray-0.7.0.ebuild
+++ b/media-sound/pasystray/pasystray-0.7.0.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit gnome2-utils autotools vcs-snapshot xdg
+
+inherit gnome2-utils autotools xdg
 
 DESCRIPTION="PulseAudio system tray"
 HOMEPAGE="https://github.com/christophgysin/pasystray";
@@ -16,14 +17,16 @@ IUSE="libnotify zeroconf"
 RDEPEND="
        >=dev-libs/glib-2.48.2
        >=media-sound/pulseaudio-5.0-r3[glib,zeroconf?]
-       zeroconf? ( >=net-dns/avahi-0.6 )
        x11-libs/gtk+:3
        x11-libs/libX11
+       zeroconf? ( >=net-dns/avahi-0.6 )
        libnotify? ( >=x11-libs/libnotify-0.7 )
 "
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
+S=${WORKDIR}/${PN}-${P}
+
 src_prepare() {
        default
        eautoreconf
@@ -35,11 +38,6 @@ src_configure() {
                $(use_enable zeroconf avahi)
 }
 
-pkg_preinst() {
-       xdg_pkg_preinst
-       gnome2_icon_savelist
-}
-
 pkg_postinst() {
        xdg_desktop_database_update
        xdg_mimeinfo_database_update

Reply via email to