diff options
author | David Seifert <soap@gentoo.org> | 2020-11-14 16:04:20 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-14 16:04:20 +0100 |
commit | ceff433a6feee7d2a361280adda13f6fbe455b96 (patch) | |
tree | 09d4f6fbee049c69bd001914ed90b9c225137ce2 /media-sound/volwheel/volwheel-0.2.8-r1.ebuild | |
parent | dev-util/diffball: Remove libtool archives (diff) | |
download | gentoo-ceff433a6feee7d2a361280adda13f6fbe455b96.tar.gz gentoo-ceff433a6feee7d2a361280adda13f6fbe455b96.tar.bz2 gentoo-ceff433a6feee7d2a361280adda13f6fbe455b96.zip |
media-sound/volwheel: Port to EAPI 7
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/volwheel/volwheel-0.2.8-r1.ebuild')
-rw-r--r-- | media-sound/volwheel/volwheel-0.2.8-r1.ebuild | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/media-sound/volwheel/volwheel-0.2.8-r1.ebuild b/media-sound/volwheel/volwheel-0.2.8-r1.ebuild index 51ff9c182eb0..49e02ece502f 100644 --- a/media-sound/volwheel/volwheel-0.2.8-r1.ebuild +++ b/media-sound/volwheel/volwheel-0.2.8-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils gnome2-utils +EAPI=7 + +inherit xdg DESCRIPTION="A volume control trayicon with mouse wheel support" HOMEPAGE="https://oliwer.net/b/volwheel.html" @@ -18,16 +19,12 @@ RDEPEND="${DEPEND} dev-perl/Gtk2 alsa? ( media-sound/alsa-utils )" -src_prepare() { - epatch "${FILESDIR}"/${P}-perl516.patch - sed -i -e '/^Encoding/d' ${PN}.desktop || die -} +PATCHES=( + "${FILESDIR}"/${P}-perl516.patch + "${FILESDIR}"/${P}-desktop-QA.patch +) src_install() { - ./install.pl prefix=/usr destdir="${D}" || die - dodoc ChangeLog README TODO + ./install.pl prefix="${EPREFIX}"/usr destdir="${D}" || die + einstalldocs } - -pkg_preinst() { gnome2_icon_savelist; } -pkg_postinst() { gnome2_icon_cache_update; } -pkg_postrm() { gnome2_icon_cache_update; } |