[gnome-commander] Update gentoo ebuild EAPI to version 7, minor other fixes



commit f4a5eaa66c719646254beb7e5d208d9c3abbf3d3
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Sun May 2 23:06:37 2021 +0200

    Update gentoo ebuild EAPI to version 7, minor other fixes

 data/gnome-commander.ebuild.in | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/data/gnome-commander.ebuild.in b/data/gnome-commander.ebuild.in
index 6848852d..b135079d 100644
--- a/data/gnome-commander.ebuild.in
+++ b/data/gnome-commander.ebuild.in
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 GNOME2_LA_PUNT="yes"
 
@@ -19,21 +19,24 @@ RESTRICT="!test? ( test )"
 RDEPEND="
        app-text/yelp-tools
        >=dev-libs/glib-@GLIB_REQ@:2
-       unique? ( >=dev-libs/libunique-@UNIQUE_REQ@:1 )
        >=gnome-base/gnome-vfs-@GNOMEVFS_REQ@
        >=x11-libs/gtk+-@GTK_REQ@:2
        chm? ( dev-libs/chmlib )
        exif? ( >=media-gfx/exiv2-@EXIV2_REQ@ )
        gsf? ( >=gnome-extra/libgsf-@LIBGSF_REQ@ )
-       samba? ( >=gnome-base/gnome-vfs-@GNOMEVFS_REQ@[samba] )
        pdf? ( >=app-text/poppler-@POPPLER_REQ@ )
+       samba? ( >=gnome-base/gnome-vfs-@GNOMEVFS_REQ@[samba] )
        taglib? ( >=media-libs/taglib-@TAGLIB_REQ@ )
+       unique? ( >=dev-libs/libunique-@UNIQUE_REQ@:1 )
 "
-DEPEND="
+BDEPEND="
        ${RDEPEND}
        dev-util/gtk-doc-am
        sys-devel/gettext
        virtual/pkgconfig
+"
+
+DEPEND="
        test? ( >=dev-cpp/gtest-@GTEST_REQ@ )
 "
 
@@ -58,6 +61,6 @@ pkg_pretend() {
 
 pkg_postinst() {
        gnome2_pkg_postinst
-       has_version dev-util/meld || elog "You need dev-util/meld to synchronize files and directories."
-       has_version gnome-extra/yelp || elog "You need gnome-extra/yelp to view the docs."
+       optfeature "You need dev-util/meld to synchronize files and directories." dev-util/meld
+       optfeature "You need gnome-extra/yelp to view the docs." gnome-extra/yelp
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]