media-gfx/inkscape: Add missing dev-util/glib-utils DEPEND
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 27 Oct 2018 20:37:04 +0000 (22:37 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 27 Oct 2018 21:11:54 +0000 (23:11 +0200)
Closes: https://bugs.gentoo.org/667464
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

media-gfx/inkscape/inkscape-0.92.3-r1.ebuild

index 36a68a10d4e992d4717480cea41152bde95cf514..ed69409396c3fe07d1e565cee4ea3accca76d6e3 100644 (file)
@@ -1,15 +1,15 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
+
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE="xml"
-
 inherit autotools flag-o-matic gnome2-utils xdg toolchain-funcs python-single-r1
 
 MY_P="${P/_/}"
 
-DESCRIPTION="A SVG based generic vector-drawing program"
+DESCRIPTION="SVG based generic vector-drawing program"
 HOMEPAGE="https://inkscape.org/"
 SRC_URI="https://inkscape.global.ssl.fastly.net/media/resources/file/${P}.tar.bz2"
 
@@ -21,8 +21,7 @@ IUSE+=" lcms nls spell static-libs visio wpg"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-COMMON_DEPEND="
-       ${PYTHON_DEPS}
+COMMON_DEPEND="${PYTHON_DEPS}
        >=app-text/poppler-0.26.0:=[cairo]
        >=dev-cpp/glibmm-2.48
        >=dev-cpp/gtkmm-2.18.0:2.4
@@ -44,9 +43,9 @@ COMMON_DEPEND="
        >=x11-libs/gtk+-2.10.7:2
        >=x11-libs/pango-1.24
        cdr? (
-               media-libs/libcdr
                app-text/libwpg:0.3
                dev-libs/librevenge
+               media-libs/libcdr
        )
        dbus? ( dev-libs/dbus-glib )
        exif? ( media-libs/libexif )
@@ -68,7 +67,6 @@ COMMON_DEPEND="
                dev-libs/librevenge
        )
 "
-
 # These only use executables provided by these packages
 # See share/extensions for more details. inkscape can tell you to
 # install these so we could of course just not depend on those and rely
@@ -84,9 +82,9 @@ RDEPEND="${COMMON_DEPEND}
        )
        postscript? ( app-text/ghostscript-gpl )
 "
-
 DEPEND="${COMMON_DEPEND}
        >=dev-libs/boost-1.36
+       dev-util/glib-utils
        >=dev-util/intltool-0.40
        >=sys-devel/gettext-0.17
        virtual/pkgconfig
@@ -163,10 +161,6 @@ src_install() {
        python_optimize "${ED%/}"/usr/share/${PN}/extensions
 }
 
-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
 pkg_postinst() {
        gnome2_icon_cache_update
        xdg_mimeinfo_database_update