media-gfx/cropgui: fix live ebuild
authorSergey Popov <pinkbyte@gentoo.org>
Wed, 31 May 2017 06:42:00 +0000 (09:42 +0300)
committerSergey Popov <pinkbyte@gentoo.org>
Wed, 31 May 2017 06:42:37 +0000 (09:42 +0300)
Remove redundant desktop file fixes,
they are already in upstream for a long time

Package-Manager: Portage-2.3.5, Repoman-2.3.1

media-gfx/cropgui/cropgui-9999.ebuild

index dcdfb3cc51523795d4104bc94a31acbba2273b60..1d83737474c9671e55a7b9365cd35d4b71e71348 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,16 +23,6 @@ RDEPEND="${PYTHON_DEPS}
        dev-python/pygtk:2[${PYTHON_USEDEP}]
 "
 
-src_prepare() {
-       sed -i  -e '/Encoding/d' \
-               -e '/Version/d' \
-               -e '/MimeType/s/$/&;/' \
-               -e '/Categories/s/Application;//' \
-               cropgui.desktop || die 'sed on cropgui.desktop failed'
-
-       eapply_user
-}
-
 install_cropgui_wrapper() {
        python_domodule cropgtk.py cropgui_common.py filechooser.py cropgui.glade
        make_wrapper "${PN}.tmp" "${PYTHON} $(python_get_sitedir)/${PN}/cropgtk.py"