commit:     3e258d526934375498633950812e4cb1ab29b418
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 10 23:48:49 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Dec 10 23:48:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e258d52

media-sound/retrovol: Port to EAPI 7

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/retrovol/retrovol-0.13.ebuild | 20 +++++---------------
 1 file changed, 5 insertions(+), 15 deletions(-)

diff --git a/media-sound/retrovol/retrovol-0.13.ebuild 
b/media-sound/retrovol/retrovol-0.13.ebuild
index d42288adcdb..e1956bda5b8 100644
--- a/media-sound/retrovol/retrovol-0.13.ebuild
+++ b/media-sound/retrovol/retrovol-0.13.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-PLOCALES="de fr"
-inherit base l10n
+EAPI=7
 
 DESCRIPTION="Systemtray volume mixer applet from PuppyLinux"
 HOMEPAGE="http://puppylinux.org/wikka/Retrovol";
@@ -15,19 +13,11 @@ KEYWORDS="~amd64 ~x86"
 IUSE="nls"
 
 RDEPEND="x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
        virtual/pkgconfig
        nls? ( sys-devel/gettext )"
 
-DOCS="ChangeLog README TODO"
-
-src_prepare() {
-       # Check for locales added/removed from previous version
-       l10n_find_plocales_changes "po" "" '.po'
-
-       base_src_prepare
-}
-
 src_configure() {
        econf $(use_enable nls)
 }
@@ -35,7 +25,7 @@ src_configure() {
 pkg_postinst() {
        echo
        elog "You can find a sample configuration file at"
-       elog "   ${ROOT%/}/usr/share/retrovol/dot.retrovolrc"
+       elog "   ${EROOT}/usr/share/retrovol/dot.retrovolrc"
        elog "To customize, copy it to ~/.retrovolrc and edit it as you like"
        echo
 }

Reply via email to