[gnome-commander/gcmd-1-4] Removed yelp and meld dependencies in ebuild, added postinst notes



commit cc35d695bac179e35bc3d7bdb258d79d378c788a
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Tue May 13 22:26:15 2014 +0200

    Removed yelp and meld dependencies in ebuild, added postinst notes

 data/gnome-commander.ebuild.in |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/data/gnome-commander.ebuild.in b/data/gnome-commander.ebuild.in
index 2cbba71..8db746a 100644
--- a/data/gnome-commander.ebuild.in
+++ b/data/gnome-commander.ebuild.in
@@ -19,15 +19,13 @@ IUSE="chm doc exif gsf pdf python taglib"
 RDEPEND="app-text/gnome-doc-utils
        >=dev-libs/glib- GLIB_REQ@:2
        >=dev-libs/libunique- UNIQUE_REQ@:1
-       dev-util/meld
        gnome-base/gnome-keyring
        >=gnome-base/gnome-vfs- GNOMEVFS_REQ@
        >=gnome-base/libgnome- GNOME_REQ@
        >=gnome-base/libgnomeui- GNOMEUI_REQ@
        >=x11-libs/gtk+- GTK_REQ@:2
        chm? ( dev-libs/chmlib )
-       doc? ( app-text/scrollkeeper
-               gnome-extra/yelp )
+       doc? ( app-text/scrollkeeper )
        exif? ( >=media-gfx/exiv2- EXIV2_REQ@ )
        gsf? ( >=gnome-extra/libgsf- LIBGSF_REQ@ )
        pdf? ( >=app-text/poppler- POPPLER_REQ@ )
@@ -50,3 +48,9 @@ src_configure() {
                $(use_with pdf poppler)"
        gnome2_src_configure
 }
+
+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."
+}


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